This relates generally to electronic devices and, more particularly, to electronic devices with motion sensor circuitry for detecting and characterizing a user's movement.
Electronic devices are sometimes provided with motion sensors such as accelerometers that are configured to detect a user's movement. Applications that run on an electronic device may use motion sensor information to track a user's physical activity. For example, a fitness application running on an electronic device may use motion sensor data to log or record how long or far a user runs, walks, cycles, or performs other activities.
Conventional electronic devices determine what type of physical activity is being performed (e.g., walking, cycling, running, etc.) based solely on the output from an accelerometer. Relying exclusively on accelerometer signals to determine what type of activity is being performed by a user can lead to inaccuracies. For example, accelerometer signals that are collected while a user is walking may sometimes look similar to accelerometer signals that are collected while a user is cycling.
It would therefore be desirable to be able to provide improved ways of using an electronic device to characterize the movement of a user.
An electronic device may include a motion sensor such as one or more accelerometers, gyroscopes, and/or compasses for detecting movement of the electronic device. Applications that run on the electronic device such as fitness applications or activity logging applications may use motion sensor data to track a user's physical activity.
To avoid mischaracterizing a user's movement, motion sensor circuitry in the electronic device may supplement motion sensor data with additional information in instances where motion sensor data may be insufficient to distinguish between different types of physical activity.
For example, information on a user's speed may be synthesized with motion sensor data to help characterize a user's movement. Information on a user's speed may be determined based on location information. The location information may, for example, be gathered using IEEE 802.11 (WiFi®) transceiver circuitry or, in more rural areas, may be gathered using Global Positioning System circuitry.
In WiFi®-assisted positioning, wireless transceiver circuitry in the electronic device may gather information on local wireless access points in a vicinity of the electronic device. This information may be transmitted to a server, which may respond with a set of geographic coordinates indicating where the electronic device is geographically located. This geographic location information may be used to estimate a user's average speed as he or she travels from one location to another. The user's average speed may be used in combination with motion sensor data to determine what activity is being performed by the user (e.g., running, walking, cycling, etc.).
Further features of the invention, its nature and various advantages will be more apparent from the accompanying drawings and the following detailed description of the preferred embodiments.
An illustrative electronic device that may be provided with motion characterization circuitry is shown in
In the example of
Display 14 may be a touch screen display that incorporates a layer of conductive capacitive touch sensor electrodes or other touch sensor components (e.g., resistive touch sensor components, acoustic touch sensor components, force-based touch sensor components, light-based touch sensor components, etc.) or may be a display that is not touch-sensitive. Capacitive touch screen electrodes may be formed from an array of indium tin oxide pads or other transparent conductive structures.
Display 14 may include an array of display pixels formed from liquid crystal display (LCD) components, an array of electrophoretic display pixels, an array of plasma display pixels, an array of organic light-emitting diode display pixels, an array of electrowetting display pixels, or display pixels based on other display technologies. The brightness of display 14 may be adjustable. For example, display 14 may include a backlight unit formed from a light source such as a lamp or light-emitting diodes that can be used to increase or decrease display backlight levels and thereby adjust display brightness. Display 14 may also include organic light-emitting diode pixels or other pixels with adjustable intensities. In this type of display, display brightness can be adjusted by adjusting the intensities of drive signals used to control individual display pixels.
Display 14 may be protected using a display cover layer such as a layer of transparent glass or clear plastic. Openings may be formed in the display cover layer. For example, an opening may be formed in the display cover layer to accommodate a button such as button 16. An opening may also be formed in the display cover layer to accommodate ports such as speaker port 18.
In the center of display 14, display 14 may contain an array of active display pixels. This region is sometimes referred to as the active area of the display. A rectangular ring-shaped region surrounding the periphery of the active display region may not contain any active display pixels and may therefore sometimes be referred to as the inactive area of the display. The display cover layer or other display layers in display 14 may be provided with an opaque masking layer in the inactive region to hide internal components from view by a user.
A schematic diagram of device 10 is shown in
With one suitable arrangement, storage and processing circuitry 40 may be used to run software on device 10 such as internet browsing applications, email applications, media playback applications, activity logging applications, fitness applications, operating system functions, software for capturing and processing images, software implementing functions associated with gathering and processing sensor data, software that makes adjustments to display brightness and touch sensor functionality, etc.
To support interactions with external equipment, storage and processing circuitry 40 may be used in implementing communications protocols. Communications protocols that may be implemented using storage and processing circuitry 40 include internet protocols, wireless local area network protocols (e.g., IEEE 802.11 protocols—sometimes referred to as WiFi®), protocols for other short-range wireless communications links such as the Bluetooth® protocol, etc.
Input-output circuitry 32 may be used to allow input to be supplied to device 10 from a user or external devices and to allow output to be provided from device 10 to the user or external devices.
Input-output circuitry 32 may include wired and wireless communications circuitry 34. Communications circuitry 34 may include radio-frequency (RF) transceiver circuitry formed from one or more integrated circuits, power amplifier circuitry, low-noise input amplifiers, passive RF components, one or more antennas, and other circuitry for handling RF wireless signals. Wireless signals can also be sent using light (e.g., using infrared communications). As shown in
Input-output circuitry 32 may include input-output devices 36 such as buttons, joysticks, click wheels, scrolling wheels, touch screens, other components with touch sensors such as track pads or touch-sensor-based buttons, vibrators, audio components such as microphones and speakers, image capture devices such as a camera module having an image sensor and a corresponding lens system, keyboards, status-indicator lights, tone generators, key pads, keyboards and other equipment for gathering input from a user or other external source and/or generating output for a user.
Sensor circuitry such as sensors 38 of
Sensors 38 may include motion sensor circuitry 50 (sometimes referred to as motion characterization circuitry). Motion sensor circuitry 50 may include one or more motion sensors for detecting movement of device 10. Motion sensors that may be used in motion sensor circuitry 50 include accelerometers (e.g., accelerometers that measure acceleration along one, two, or three axes), gyroscopes, compasses, pressure sensors, other suitable types of motion sensors, etc. Motion sensor circuitry 50 may use storage and processing circuitry (e.g., storage and processing circuitry 40) to store and process motion sensor data gathered using motion sensor circuitry 50. If desired, the motion sensors, processing circuitry, and storage that form motion sensor circuitry 50 may form part of a system-on-chip integrated circuit (as an example).
Motion sensor circuitry 50 may be used to continuously or periodically track movement of device 10. In cases where device 10 is handheld, wearable, or otherwise portable, movement of device 10 may be indicative of the movement of a user of device 10. For example, when a user is holding, wearing, or otherwise carrying device 10 on his or her person, motion sensor circuitry 50 may be used to track the user's movement based on sensor data gathered from one or more motion sensors in motion sensor circuitry 50.
User movement information gathered by motion sensor circuitry 50 may be used in various ways. For example, applications that run on device 10 such as fitness applications, activity logging applications, mapping applications, journaling applications, and other applications may use motion sensor circuitry 50 to track, log, and/or record a user's physical activity.
In many of these applications, motion sensor circuitry 50 may be used not only to detect a user's movement but to determine what type of activity is being performed based on the detected motion. For example, as shown in
The examples of
Motion sensor circuitry 50 may determine which type of activity is being performed based at least partly on motion sensor data (e.g., from an accelerometer or other motion sensor). For example, motion sensor circuitry 50 may determine a user's cadence based on motion sensor output. Based on the user's cadence, motion sensor circuitry 50 may determine which type of activity is being performed by the user. For example, motion sensor circuitry may determine that cadences below a given threshold correspond to walking, whereas cadences above the given threshold correspond to running.
Conventional electronic devices classify motion based solely on accelerometer output. Relying exclusively on accelerometer output to determine what type of activity is being performed can lead to inaccuracies. For example, accelerometer signals that are collected while a user is walking may look similar to accelerometer signals that are collected when a user is cycling. As another example, accelerometer signals that are collected when a user is cycling may look similar to accelerometer signals that are collected while a user is riding in a car experiencing low vibrations.
To avoid misclassification of a user's activity, motion sensor circuitry 50 may use additional information to further characterize a user's movement when needed. For example, motion sensor circuitry 50 may gather additional information such as information about a user's speed and may synthesize this information with motion sensor output to determine what type of activity is being performed by the user.
In these instances, motion sensor circuitry 50 may determine a user's speed or relative speed and may use this information to supplement motion sensor data to identify what type of activity is being performed. As shown in graph 62, a user's speed may differ significantly as the type of activity changes.
A user's speed may be determined in various ways. For example, a user's speed may be determined using Global Position System (GPS) circuitry such as satellite navigation receiver circuitry 48 of
If desired, a user's approximate speed may be determined without using GPS circuitry. For example, circuitry in device 10 may be configured to determine the geographic location of device 10 using information about nearby wireless access points (e.g., local WiFi® hotspots). This location information may in turn be used to determine an approximate distance traveled over a given period of time. Motion sensor circuitry 50 may synthesize this information with motion sensor output to determine what type of activity is being performed by the user. For example, for a given cadence detected by the motion sensor, speeds over a given threshold may correspond to one activity (e.g., cycling) while speeds under the given threshold may correspond to a different activity (e.g., walking).
Electronic device 10 may use wireless communications circuitry (e.g., wireless transceiver circuitry 44 of
In the example of
At step 80, motion sensor circuitry 50 may gather sensor data from one or more motion sensors (e.g., from one or more accelerometers, gyroscopes, compasses, pressure sensors, etc.) and may monitor for user movement. In configurations where motion sensor circuitry is set to continuously track a user's activity (e.g., for a fitness application running on device 10 or other suitable application), step 80 may be repeated until the user's movement is detected.
In some instances, motion sensor output may be unambiguously indicative of a particular type of activity. For example, motion sensor signals collected while a user is running may be uniquely associated with running. As another example, motion sensor signals collected while a user is cycling at 100 RPM may be uniquely associated with cycling. When motion sensor signals are indicative of only one particular type of activity, processing may proceed to step 84.
At step 84, motion sensor circuitry 50 may determine what type of activity is being performed by the user (e.g., running, cycling, walking, riding in a car, etc.) based on the gathered motion sensor data.
In instances where motion sensor data gathered in step 80 is not uniquely associated with a particular type of user activity (e.g., where motion sensor signals are associated with more than one type of activity), processing may proceed from step 80 to step 82.
At step 82, motion sensor circuitry 50 may gather additional information such as information about the user's location and speed to assist in accurately identifying the type of activity associated with the gathered motion sensor data. For example, wireless transceiver circuitry 44 may be used to take one or more snapshots of local wireless access points within a vicinity of electronic device 10. This information may be used to determine the approximate location of device 10 and how the user's location changes over time. In locations where local wireless access points are few and far between (e.g., in rural areas), motion sensor circuitry 50 may gather location information from other sources such as Global Positioning System receiver circuitry 48.
By supplementing motion sensor data with additional information (e.g., location information) only when motion sensor data alone is insufficient for classifying motion, power savings may be achieved. Additional power savings may be achieved by relying on Global Positioning System receiver circuitry to obtain location information only when local wireless access points are not available.
At step 86, motion sensor circuitry 50 may associate the gathered motion sensor data with a single type of activity using the additional information gathered in step 82 (e.g., based on the user's average speed as determined through WiFi®-assisted positioning). For example, for a given cadence detected by the motion sensor, speeds over a given threshold may correspond to one activity (e.g., cycling) while speeds under the given threshold may correspond to a different activity (e.g., walking).
At step 88, device 10 may take appropriate action. For example, processing circuitry 40 may launch an application on device 10 based on the type of activity detected (e.g., a cycling application may be launched upon detection of a user cycling), the user's activity may be recorded or entered into an activity journaling application, user interface elements bay be adjusted or controlled based on the type of activity detected, etc. Processing may then optionally loop back to step 80 to continue tracking and/or monitoring for user activity.
The foregoing is merely illustrative of the principles of this invention and various modifications can be made by those skilled in the art without departing from the scope and spirit of the invention.
This application claims the benefit of provisional patent application No. 62/004,707, filed May 29, 2014, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
62004707 | May 2014 | US |