- Introduced by
- Andrew Campbell, Tanzeem Choudhury, and colleagues (early smartphone sensing research); broader field of ubiquitous computing
- Year
- Mid-2000s (smartphone-era formalization ~2006–2010)
- Type
- Passive and active quantitative data collection technique
- Family
- Data collection
What does it do?
Mobile sensor data collection uses the built-in sensors of smartphones, tablets, or wearable devices to capture behavioral, physiological, and environmental data in real-world settings.
Sensors such as accelerometers, GPS, heart rate monitors, ambient light detectors, and microphones record data passively or on demand, enabling researchers to study human behavior with high temporal resolution outside the laboratory.
The intuition behind the method
Instead of asking participants to recall what they did yesterday, mobile sensor collection records aspects of it directly. A smartphone carried in a participant's pocket can log movement through its accelerometer and location through GPS, and, where permitted, call and notification logs, without the participant reporting anything. The researcher later downloads these time-stamped streams and links them to outcomes of interest. The contrast is between a self-reported estimate of activity and a sensor record of movement over the same days.
History
Mobile phone sensing developed within ubiquitous computing research as smartphones came to include accelerometers, GPS receivers, microphones, and other sensors. Lane et al. (2010) surveyed existing mobile phone sensing algorithms, applications, and systems, and proposed an architectural framework for the open issues of the field. Harari et al. (2016) reviewed the use of smartphones to collect behavioral data in psychological science, setting out practical considerations and methodological and ethical challenges, and described the work to that point as a first wave of smartphone-sensing research.
When to use it
Choose mobile sensor data collection when the question concerns behavior or physiology that people cannot observe or report reliably, such as physical activity, mobility, sleep, or social contact, and when change must be tracked over time in everyday settings. It suits health behavior, clinical, social, and human-computer interaction research in which recall error is a concern. Do not use it when a substantial share of the target population cannot run the required app or wear the device, when consent or privacy requirements cannot be met for the sensors planned, or when the question depends on deliberate self-reflection, for which a diary is more suitable. It also requires a team able to build, deploy, and maintain the pipeline and to store large volumes of data.
Limitations and considerations
- Configuring sensing apps, managing data pipelines, and preprocessing raw streams require technical expertise that many social or clinical teams do not have in-house.
- Battery use and differences between phone models and operating system versions produce uneven data quality across participants.
- Passive location and communication logs are sensitive, so the method carries privacy and ethical obligations beyond those of most survey designs.
- App crashes, device restarts, and connectivity failures cause missing data that may not be random, for example when a device is switched off at particular times.
- Sensor signals are not psychological constructs. Converting accelerometer output into an estimate of exercise, or location traces into an estimate of social isolation, requires assumptions that must be validated.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Records behavior as it occurs, so estimates of activity or mobility do not depend on participants' recall.
- Fine-grained sampling reveals within-day and day-to-day variation that a survey administered once or twice a day would miss.
- Passive logging is unobtrusive: Harari et al. (2016) describe smartphone data as collected in situ and unobtrusively, so participants complete few additional tasks compared with repeated questionnaires.
- Continuous monitoring over weeks or months can be run without staff-supervised observation sessions.
- Can be paired with ecological momentary assessment prompts to link an objective sensor signal with the participant's reported state at the same time.
Applications
- Measuring daily physical activity and sleep in everyday settings (Harari et al., 2016).
- Recording social interactions, such as conversation, group size, calls, and text messages (Harari et al., 2016).
- Mapping mobility patterns, including how often and how long people spend at different locations (Harari et al., 2016).
- Health-related monitoring, one of the sectors that Lane et al. (2010) expect sensor-equipped phones to transform.
- Environmental monitoring, which Lane et al. (2010) also identify as an area of application for mobile phone sensing.
- Transportation research, a further application area identified by Lane et al. (2010).
How it works
How it works
The researcher decides which sensors to sample, at what rate, and for how long. Two sampling logics are central: passive continuous sampling, such as GPS logged at a fixed interval, and event-triggered sampling, such as a microphone activated only when motion exceeds a threshold. Deployment length and the burden placed on participants are set at this stage, and the consent and ethics framework for passive data must be settled before any data are collected.
A data collection application is configured or built and installed on participants' phones or wearables. Research sensing frameworks, the native health and sensor interfaces provided by the phone operating system, or custom software development kits (SDKs) are commonly used for this purpose, and the choice depends on the sensors required and on platform compatibility. The configuration fixes sensor parameters, local storage, encryption, and the schedule on which data are uploaded to a secure server.
Devices are loaned to participants, or the app is installed on their own phones. Participants need guidance on app permissions, battery use, and what the study involves. A pilot is advisable to confirm that sensors log correctly, that battery drain is tolerable, and that uploads are reliable, because problems discovered after fieldwork has begun are difficult to correct.
Sensors run in the background over the study period, capturing data continuously or at set intervals. Monitoring dashboards allow researchers to notice when a device has stopped logging so that they can contact the participant promptly. Active prompts, such as brief ecological momentary assessment surveys triggered by a sensor event, may be layered on top of passive collection.
Raw streams are downloaded, time-stamped, and cleaned. Implausible values are removed, gaps caused by device restarts or network outages are identified, streams are resampled to a common time grid, and they are segmented into analysis windows such as hourly or daily epochs. Feature extraction then converts raw signals into interpretable variables, for example daily step count, sleep duration, or time spent at home. Wear time and compliance should be reported for each participant. Gaps should be classified where possible: a device that was switched off or uninstalled differs from a device that was logging but produced no usable data, and missingness that clusters at particular times of day may not be random. The rules applied at this step should be documented because they determine the final variables.
Features are analyzed with methods suited to the research question, from descriptive statistics and multilevel models to activity recognition classifiers or time-series clustering. Sensor-derived variables are often merged with survey or ecological momentary assessment data for mixed-method analyses. Because sensor features are proxies for behavior, each proxy should be validated against a criterion measure of the construct it represents, for example by comparing a sensor-derived step count with direct observation or with a validated reference device, and the validation result should be reported. Results should then be interpreted in light of how well each feature represents the construct of interest.
Common pitfalls
- Skipping a pilot: misconfigured sensors, excessive battery drain, or failing uploads may only appear after weeks of fieldwork, leaving many participants' data unusable.
- Underestimating data volume: continuous high-frequency sensing produces large files per participant, so storage and processing plans must be made before collection begins.
- Ignoring device and operating system restrictions: background location or sensor access may be limited on some phones, so participants using those devices contribute systematically less complete data. Device coverage should be recorded and reported.
- Treating features as direct measures: step counts or accelerometer intensity are proxies for physical activity, and their construct validity should be checked and reported.
- Thin consent: if participants do not understand which passive data are collected, trust and retention suffer, and withdrawal or app removal becomes more likely.
Frequently asked questions
Is mobile sensor data collection passive or active?
It can be both. Passive sensing runs automatically in the background without participant action, collecting data from sensors such as GPS, accelerometer, or ambient light. Active sensing requires the participant to do something, such as tapping a button or responding to a prompt. Many studies combine passive background sensing with occasional active ecological momentary assessment prompts triggered by sensor events.
What platforms or tools exist for mobile sensor data collection?
Several kinds of tools are used in practice: research sensing frameworks, native health and sensor interfaces provided by the phone operating system, and commercial or clinical platforms. Each should be checked for sensor coverage, platform compatibility, and validation for the intended purpose. The choice depends on the sensors required and the technical resources available.
How do I handle participant privacy with continuous location and behavioral data?
Privacy calls for a multi-layer approach: informed consent that clearly describes what is collected and why; data minimization, collecting only the sensors the question needs; on-device anonymization or encryption before upload; secure server storage with access controls; and a data retention and destruction policy. Most institutions and many jurisdictions require ethics board review and data protection compliance, so check the rules that apply to your study. Participants should be able to pause or stop data collection at any time without penalty.
How many participants do I need for a mobile sensor study?
No fixed number applies. Intensive longitudinal designs with many observations per person can support within-person analyses with relatively few participants, whereas between-person comparisons generally need larger samples. Power should be estimated for the specific design. Because per-participant data management is costly, these studies often trade breadth for depth.
Can mobile sensor data replace self-report measures entirely?
Usually not. Sensor data capture behavioral signals but rarely measure psychological constructs directly. A GPS trace captures location, not loneliness, and an accelerometer counts steps, not exercise motivation. Self-report measures access subjective states and meanings that sensors cannot. The strongest designs combine passive sensor data with targeted self-reports to link objective signals to subjective experience.
Related methods
Sources
Lane, N. D., Miluzzo, E., Lu, H., Peebles, D., Choudhury, T., & Campbell, A. T. (2010). A survey of mobile phone sensing. IEEE Communications Magazine, 48(9), 140–150.
Open DOI referenceHarari, G. M., Lane, N. D., Wang, R., Crosier, B. S., Campbell, A. T., & Gosling, S. D. (2016). Using smartphones to collect behavioral data in psychological science: Opportunities, practical considerations, and challenges. Perspectives on Psychological Science, 11(6), 838–854.
Open DOI reference