Matching System for Correlating Accelerometer Data to Known Movements
The present invention extends to methods, systems, and computer program products for providing a matching system for correlating accelerometer data to known movements. Data representing known movements can be obtained and stored in a database such as by processing and storing accelerometer data obtained from one or more accelerometers worn by a user while performing a particular movement. The accelerometer data obtained from a particular movement can be processed to generate a feature set descriptive of the accelerations associated with a particular movement or series of movements.
This application is a divisional application claiming priority to U.S. patent application Ser. No. 13/846,662 filed Mar. 18, 2013, which claims priority to U.S. Provisional Patent Application No. 61/761,626 filed Feb. 6, 2013, titled “Matching System for Correlating Accelerometer Data to Known Movements.” This application also claims priority to U.S. Provisional Patent Application No. 61/635,827 filed Apr. 19, 2012, titled “Wireless Exercise Tracking.”
BACKGROUNDMany devices have been developed for use during exercise to track various parameters of a user's workout. For example, GPS watches can track the total distance traveled by the user, pedometers can count a number of steps a user takes, heart rate monitors can track a user's heart rate, etc.
Although such devices provide beneficial information about the workout, they are unable to distinguish between different types of exercise. For example, a GPS watch, because it only tracks changes in the user's GPS coordinates, cannot determine whether the user is walking, running, biking, or driving in a car. Similarly, a pedometer can detect the occurrence of a step using an accelerometer due to the sudden change in acceleration when the user's foot hits the ground, but cannot determine the specific motion the user's foot is making before hitting the ground.
BRIEF SUMMARYThe present invention extends to methods, systems, and computer program products for providing a matching system for correlating accelerometer data to known movements. Data representing known movements can be obtained and stored in a database such as by processing and storing accelerometer data obtained from one or more accelerometers worn by a user while performing a particular movement. The accelerometer data obtained from a particular movement can be processed to generate a feature set descriptive of the accelerations associated with a particular movement or series of movements.
Once stored, this accelerometer data can be used to analyze current data received from one or more accelerometers worn by a user to identify what movement is currently being performed by the user. In this way, a database of accelerometer data representing virtually any type of movement can be provided.
In some embodiments, the database can be stored on a mobile phone or other mobile device carried by a user during a workout. Accelerometer data being generated by one or more accelerometers worn by the user can be received by the mobile device and compared to the stored accelerometer data in the database to identify the specific movement the user is making during the workout. For example, using the database, it can be determined whether the user is running, biking, doing jumping jacks, bicep curls, push-ups, or virtually any other specific movement. Additionally, accelerometer data representing user defined custom movements can also be obtained and stored.
In one embodiment, the present invention is implemented as a method for identifying a particular movement from accelerometer data by comparing an identified sequence in the accelerometer data to known sequences. A plurality of entries in a database is stored on a portable computing device. Each entry represents one or more known sequences of accelerometer data that are generated when a particular movement is performed. Accelerometer data is received from one or more accelerometers worn by a user while performing a first movement. The database is accessed to determine that the accelerometer data received from the one or more accelerometers includes the one or more known sequences of a first entry. It is then determined that the first entry is associated with a first particular movement.
In another embodiment, the present invention is implemented as a method for creating a custom entry in a database that represents a custom movement performed by a user wearing one or more accelerometers. User input is received that requests that a custom entry be created in a database that stores a plurality of entries. Each entry represents one or more known sequences of accelerometer data that are generated when a particular movement is performed. Accelerometer data is received from one or more accelerometers worn by a user while performing a custom movement. One or more sequences in the accelerometer data that represent the custom movement are identified. The custom entry is then stored in the database. The custom entry includes the one or more identified sequences and an identifier of the custom movement.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The features and advantages of the invention may be realized and obtained by means of the instruments and combinations particularly pointed out in the appended claims. These and other features of the present invention will become more fully apparent from the following description and appended claims, or may be learned by the practice of the invention as set forth hereinafter.
In order to describe the manner in which the above-recited and other advantages and features of the invention can be obtained, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:
The present invention extends to methods, systems, and computer program products for providing a matching system for correlating accelerometer data to known movements. Data representing known movements can be obtained and stored in a database such as by processing and storing accelerometer data obtained from one or more accelerometers worn by a user while performing a particular movement. The accelerometer data obtained from a particular movement can be processed to generate a feature set descriptive of the accelerations associated with a particular movement or series of movements.
Once stored, this accelerometer data can be used to analyze current data received from one or more accelerometers worn by a user to identify what movement is currently being performed by the user. In this way, a database of accelerometer data representing virtually any type of movement can be provided.
In some embodiments, the database can be stored on a mobile phone or other mobile device carried by a user during a workout. Accelerometer data being generated by one or more accelerometers worn by the user can be received by the mobile device and compared to the stored accelerometer data in the database to identify the specific movement the user is making during the workout. For example, using the database, it can be determined whether the user is running, biking, doing jumping jacks, bicep curls, push-ups, or virtually any other specific movement. Additionally, accelerometer data representing user defined custom movements can also be obtained and stored.
In one embodiment, the present invention is implemented as a method for identifying a particular movement from accelerometer data by comparing an identified sequence in the accelerometer data to known sequences. A plurality of entries in a database is stored on a portable computing device. Each entry represents one or more known sequences of accelerometer data that are generated when a particular movement is performed. Accelerometer data is received from one or more accelerometers worn by a user while performing a first movement. The database is accessed to determine that the accelerometer data received from the one or more accelerometers includes the one or more known sequences of a first entry. It is then determined that the first entry is associated with a first particular movement.
In another embodiment, the present invention is implemented as a method for creating a custom entry in a database that represents a custom movement performed by a user wearing one or more accelerometers. User input is received that requests that a custom entry be created in a database that stores a plurality of entries. Each entry represents one or more known sequences of accelerometer data that are generated when a particular movement is performed. Accelerometer data is received from one or more accelerometers worn by a user while performing a custom movement. One or more sequences in the accelerometer data that represent the custom movement are identified. The custom entry is then stored in the database. The custom entry includes the one or more identified sequences and an identifier of the custom movement.
Embodiments of the present invention may comprise or utilize special purpose or general-purpose computers including computer hardware, such as, for example, one or more processors and system memory, as discussed in greater detail below. Embodiments within the scope of the present invention also include physical and other computer-readable media for carrying or storing computer-executable instructions and/or data structures. Such computer-readable media can be any available media that can be accessed by a general purpose or special purpose computer system.
Computer-readable media is categorized into two disjoint categories: computer storage media and transmission media. Computer storage media (devices) include RAM, ROM, EEPROM, CD-ROM, solid state drives (“SSDs”) (e.g., based on RAM), Flash memory, phase-change memory (“PCM”), other types of memory, other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other similarly storage medium which can be used to store desired program code means in the form of computer-executable instructions or data structures and which can be accessed by a general purpose or special purpose computer. Transmission media include signals and carrier waves.
Computer-executable instructions comprise, for example, instructions and data which, when executed by a processor, cause a general purpose computer, special purpose computer, or special purpose processing device to perform a certain function or group of functions. The computer executable instructions may be, for example, binaries, intermediate format instructions such as assembly language or P-Code, or even source code.
Those skilled in the art will appreciate that the invention may be practiced in network computing environments with many types of computer system configurations, including, personal computers, desktop computers, laptop computers, message processors, hand-held devices, multi-processor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile telephones, PDAs, tablets, pagers, routers, switches, and the like.
The invention may also be practiced in distributed system environments where local and remote computer systems, which are linked (either by hardwired data links, wireless data links, or by a combination of hardwired and wireless data links) through a network, both perform tasks. In a distributed system environment, program modules may be located in both local and remote memory storage devices. An example of a distributed system environment is a cloud of networked servers or server resources. Accordingly, the present invention can be hosted in a cloud environment.
Accelerometer 102a is shown as being worn around the user's wrist (e.g. as a bracelet), while accelerometer 102b is shown as being worn on or around the user's ankle or foot (e.g. as an anklet, shoe clip, etc.). However, accelerometers 102a, 102b can be worn at any other position of the user's body. In some cases, the specific location of an accelerometer can be based on which body part is performing the movement that the user desires to be identified (e.g. when performing pushups, accelerometer 102a may be placed elsewhere since the wrist remains substantially stationary).
As mentioned, the depicted sequences in database 200 are simplified to better illustrate the process by which the matching occurs. However, in many cases, rather than a single sequence, a range of sequences or even logic that identifies whether a received sequence matches a particular movement can be used. One specific example of how the data can be stored in database 200 is provided below with respect to
When processor 201 receives or identifies a sequence in the accelerometer data from accelerometer 102a (which in this example is 1BC459FF230BBB), processor 201 can perform a look-up to identify whether the received sequence matches any stored sequence in database 200. Because the received sequence matches the stored sequence corresponding to Curl, processor 201 can know that the user has performed a curl. Once it is determined that the user has performed a curl, processor 201 can perform various actions such as updating a count of the number of curls performed, updating a display, generating a notification, etc.
As in
It is noted that, although only two sequences are shown, it is possible to use more than two sequences for some movements (e.g. when an exercise involves distinct movement of more than two body parts). Also, for some exercises, accelerometer data from only one accelerometer may be required to identify the exercise even if the user is wearing multiple accelerometers. For example, because the user's foot generally remains stationary during a curl (and because it may not be necessary or desirable to identify leg movement during a curl), only one sequence may be stored that represents accelerometer data from an accelerometer on the user's wrist, hand, or arm.
Whether processor 201 receives data from one, two, or more accelerometers, processor 201 can perform a look-up using any or all of the received data. In
In some embodiments, the particular movements identified in database 200 can be highly granular. For example, database 200 can include an entry identifying Running and an entry identifying Running While Pushing A Jogging Stroller. In this example, the entries may contain the same or similar sequence representing the motion of the user's leg while running (e.g. identifying a step), and a sequence representing the motion of the user's arm in each case (e.g. swinging in the case of Running, and stationary in the case of Running While Pushing A Jogging Stroller). Similar distinctions can be made with other types of exercises (e.g. a standard pull-up versus a cross-fit type swinging pull-up).
In some embodiments, once a user has created a custom entry in database 200, the custom entry can be shared with other users. For example, if a user has performed a custom cross-fit movement and desires to challenge his friends to perform the same movement, a custom entry created for the movement can be sent to the friends' portable computing devices (either directly or via a central server).
In this manner, database 200 can store entries for virtually any movement. For example, database 200 can initially be supplied with a number of common movements and can later be updated either by receiving user created custom entries or by receiving new entries received from a central server or other users' devices.
The first step of the depicted process is to divide data 501 into various chunks. The division of data 501 into chunks can be based on many factors. In the example shown in
Step 2 involves extracting the magnitude of various frequencies in the data of each time series. In some embodiments, this can be accomplished by applying a Fourier transform to the data, although other techniques could also be used. In
Once the magnitudes of the various frequencies are determined, step 3 involves summing groups of the magnitudes into bins. In
Bins covering different combinations of frequencies can also be used. Also, in some embodiments, no bins (or a bin containing the magnitude of a single frequency) can be used. One benefit of using bins is that the larger the number of frequencies whose magnitudes are summed into a bin, the simpler the processing. However, simplifying the processing by using larger bins reduces the accuracy of the process. Therefore, depending on a particular embodiment, the bin size can be selected to maximize processing efficiency without unreasonably affecting accuracy.
Finally, at step 4, the sums from the bins are aggregated to form feature set 501b. The feature set includes the sums from the bins generated for each time series (i.e. for the y and z time series as well as the x time series) as indicated by the dashed lines from the y and z time series. Accordingly, after this process, feature set 501b is in a format that enables the comparison of accelerometer data to the known feature sets stored in the database.
where i is an index to the bin total, featureSet is the feature set generated from the current received accelerometer data, and referenceSet is the feature set of a known activity. In some embodiments, this function can include a frequency-specific weighting factor such as:
Once the inverse Euclidean metric has been generated for each combination of the feature set and the known feature sets, the inverse Euclidean metric having the greatest value is selected, and the activity associated with the known feature set used to generate the greatest value is output as the matched activity.
In some embodiments, to ensure that a particular activity can be matched independent of the speed at which the user is performing the particular activity, multiple feature sets can be generated for the particular activity.
In this example, database 200 can store all four feature sets thereby allowing portable computing device 101 to identify not only the specific activity being performed, but the speed at which the activity is being performed. Specifically, because the numbers (i.e. bin totals) in each feature set corresponding to a particular activity will vary (as shown in
Although not shown, when more than one accelerometer is being used, more than one feature set can be used in the comparison step. Using the jumping jack example, accelerometer data from an accelerometer on the user's wrist and from an accelerometer on the user's foot may be required to appropriate detect that a jumping jack (or a specific type of jumping jack) is being performed. In such cases, the process depicted in
For example, a known feature set for jumping jacks may actually contain two feature sets (one for the wrist data and one for the foot data). Comparing module 503 can determine whether the input feature sets match both feature sets in the known feature set.
Alternatively, this process of matching multiple feature sets can be performed independently. For example, comparing module 503 can determine which known feature set matches the feature set representing the wrist data, and independently determine which known feature set matches the feature set representing the foot data. Once two match feature sets have been found, a lookup can be performed to determine whether a known activity exists that includes both identified known feature sets (e.g. a known activity for jumping jacks may contain both identified known feature sets). In other words, in this scenario, the movement of the arm is identified separately from the movement of the foot, and then the two identified movements are used to determine whether a known activity exists that includes both movements.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims
1. One or more computer storage media storing computer executable instructions which when executed by one or more processors on a portable computing device perform a method for identifying a particular movement from accelerometer data by comparing an identified sequence in the accelerometer data to known sequences, the method comprising:
- storing a plurality of entries in a database on a portable computing device, each entry representing one or more known sequences of accelerometer data that are generated when a particular movement is performed;
- receiving accelerometer data from one or more accelerometers worn by a user while performing a first movement;
- accessing the database to determine that the accelerometer data received from the one or more accelerometers includes the one or more known sequences of a first entry; and
- determining that the first entry is associated with a first particular movement.
2. The computer storage media of claim 18, wherein the portable computing device is a smart phone.
3. The computer storage media of claim 18, further comprising:
- creating a new entry in the database, the new entry containing sequences of accelerometer data received from one or more accelerometers while the user is performing a custom movement.
Type: Application
Filed: Jan 6, 2016
Publication Date: Apr 28, 2016
Inventors: Abraham Carter (Palo Alto, CA), David Scott (North Salt Lake City, UT), Maxwell Mann (Fairmouth, MA)
Application Number: 14/989,685