1. Field of the Invention
The present invention pertains to a system for detecting;tracking, displaying, and identifying repetitive movement of the human body, and more particularly, to a method and apparatus for monitoring human performance, including identification of movements, displaying variation in movement patterns, and detecting breathing patterns.
2. Description of the Related Art
Numerous methodologies and related devices exist for tracking movement of the human body, especially in the context of sporting activities, with the goals of improving performance and reducing injuries. One technique uses an accelerometer mounted on the body to detect movement by sensing acceleration and deceleration of the body.
There are two components of acceleration, typically identified as “static acceleration” and “dynamic acceleration.” Static acceleration is prolonged acceleration, usually in one direction, such as the acceleration from gravity; whereas dynamic acceleration is created by rapid variations in velocity, such as caused by vibration and shock. Accelerometers will always detect both static and dynamic acceleration. In the absence of any motion, an accelerometer will always detect a static acceleration, which is the acceleration from gravity. Depending on the conditions under which an accelerometer is used, one of these two components of acceleration will prevail. The static acceleration will be generated from a change in position of the accelerometer with respect to a vertical axis used as a reference. For example, in the case of a swimmer, the motion of the body (rotation of the torso in crawl and backstroke and tilting of the torso in breaststroke and butterfly) will create a static acceleration that is much larger than the dynamic acceleration along the axis of motion resulting from the arm pull. On the other hand, an accelerometer used to measure acceleration and deceleration of a vehicle on a flat, straight road will generally only detect the dynamic acceleration (or deceleration). There will be no static acceleration relative to a vertical axis used as a reference because the position of the vehicle with respect to the vertical axis is unchanged.
One example of an accelerometer used in detecting human movement is described in U.S. Pat. No. 5,685,722 issued to Taba for electronic timing swimmer's goggles. Taba describes a three-axis accelerometer that is supposed to detect absolute variations in dynamic acceleration. The accelerometer is attached to the swimmer's goggles in a position to detect the swimmer's movement along an axis that is parallel to the direction of travel. Using a linear regression analysis method, Taba purports to count the swimmer's laps by determining when the swimmer starts, stops, and performs a turn. One disadvantage of this approach is the limited information it provides. Another disadvantage is poor performance due to the weak signals generated from the accelerometer because monitoring dynamic acceleration along the axis of motion produces very weak signals that tend to be lost or corrupted.
More particularly, Taba asserts that his device can detect the motion of a swimmer along the axis of motion from the dynamic acceleration. This would be true on a subject that moves without creating any static acceleration. An example would be a car or train on a flat, straight path. Because the body of a swimmer in Taba's application is constantly moving at any angle with respect to the vertical axis, a large static acceleration signal is generated that is superimposed on the weak dynamic acceleration signal. To remove this static component, it is necessary to have a fixed reference and have knowledge of the position of the swimmer with respect to the vertical axis at all times in order to subtract the static component from the global signal received by the sensor. Having the sensor attached to the swimmer as Taba teaches does not enable discrimination between the signal amplitude resulting from a change of angle with respect to the vertical axis and signal amplitude resulting from dynamic acceleration. Thus, the three-axis accelerometer as taught by Taba fails to get the swimmer's position from a fixed reference at all times, and when this condition is not met, the motion of the swimmer along the axis of motion cannot be known.
In addition, Taba teaches taking all the points of a received signal over one period and using a linear regression analysis method to characterize these points by two data defining a linear equation (m for slope and b for the linear equation y=m*x+b). Taba purports to repeat this process for a subsequent period and then compare the values of m and b, declaring the periods to be the same when these values are the same. However, Taba fails to teach how periodicity is determined. Without this fundamental teaching, Taba's invention cannot be practiced. In addition, Taba ignores the rupture of periodicity that occurs during starts and turn. Without detecting these ruptures and taking them into account, including extracting them mathematically, which Taba does not disclose, it is not possible to provide accurate and useful data.
Hence, there is a need for a device that produces valid and reliable information regarding continuous repetitive movement, including not just starting, stopping, and turning, but information regarding the type of movement, changes or variation in movement patterns, and other performance parameters, such as breathing patterns.
The disclosed and claimed embodiments of the invention are directed to a system for monitoring repetitive movement, and which can include the detection of breathing patterns, starts, stops, and turning movements, such as course reversals. In one embodiment, a device is provided for determining information about repetitive movement, ideally about repetitive movement of a human body. The device includes a sensor assembly mounted to the human body comprising at least one acceleration sensor generating at least one acceleration signal; and a processor coupled to the sensor assembly and configured to determine at least one from among movement identification, movement pattern, and breathing pattern.
In accordance with another embodiment of the invention, a device is provided for determining and providing information about the repetitive movement of a swimmer's body, the device including a sensor comprising first and second accelerometers configured to generate first and second signals, and a processing circuit configured to receive the first and second signals and to provide real-time, continuous signals of the swimmer's stroke pattern. Ideally, the system is also configured to provide real-time, continuous signals identifying the swimmer's breathing pattern, and in addition the swimmer's kicking pattern. Preferably, the processor also provides an identification of the swimmer's stroke.
In accordance with another aspect of the foregoing embodiment, a display device is provided for displaying a real-time, continuous signal of the swimmer's stroke pattern, and alternatively of the swimmer's breathing pattern, and in a further alternative of the swimmer's stroke identification, stroke pattern, kick identification, kick pattern, and breathing pattern. The information may also be provided audibly, such as through an earpiece or a speaker.
In accordance with another embodiment of the invention, a device for monitoring repetitive movement of a human body is provided. The device includes a sensor apparatus configured to be mounted to the human body and to generate signals corresponding to acceleration of the human body about a first axis and about a second axis, respectively; and a processor configured to receive the signals and to generate therefrom at least one movement signal corresponding to a movement pattern of the human body. In one embodiment, the first and second axes are orthogonal to each other and lie within a horizontal plane, and orientation with respect to a vertical axis is analyzed. Ideally, the processor is configured to generate a plurality of signals corresponding to one or more of movement identification, movement count, movement pattern, of a selected area of the human body, as well as the breathing pattern.
In accordance with a further embodiment of the invention, a method is provided for monitoring repetitive movement of a human body, the method including mounting first and second accelerometers to the human body, the first accelerometer mounted to detect movement about a first axis that is parallel to the direction of movement of the human body, the second accelerometer mounted to detect movement about a second axis that is perpendicular to the first axis, and to detect acceleration therefrom with respect to a vertical axis; receiving signals from the first and second accelerometers in response to movement of the human body about the first and second axes with respect to a vertical axis; and processing the signals to determine the identification of the movement of the human body about the first and second axes and the changes in the movement over time.
The features and advantages of the disclosed and claimed embodiments of the invention will be more readily appreciated as the same become better understood from the detailed description when taken in conjunction with the following drawings, wherein:
A representative embodiment of the invention will now be described as used by an athlete in the context of swimming. However, it is to be understood that the present invention will have application to other activities involving continuous repetitive movement, such as running, walking, cycling, rowing, and the like. It will also have application to the physical re-education of injured parts of the body, such as arms and legs, as well as to “virtual coaching” where the quantitative data can be analyzed and coaching feedback provided in real time, including over the Internet and the like.
While the use of accelerometers to detect acceleration of the swimmer's body in a direction parallel to the direction of travel may be sufficient for determining starting and stopping times, the signals generated therefrom tend to be non-specific for characteristics of stroke, kick, and breathing. Because human skeletal components cooperate by hinged movement about rotational axes, their motion tends to be rotational instead of linear. Referring to
The disclosed embodiments of the invention rely primarily on detecting and measuring static acceleration. In order to understand the principles of operation of the present invention, it is necessary to review the function of accelerometers in general.
All accelerometers can be modeled by a spring attached to a mass. When the spring is not subjected to any elongation or compression forces, the center of gravity of the mass attached to it defines a reference or zero scale. This is illustrated in
Therefore, proportionality between the elongation (dx) of the spring and the force of gravity (g) is established by the relation m*g=K*dx. The elongation of the spring caused by the force of gravity is also called the static acceleration.
From this explanation, it is important to note that accelerometers measure and report the amplitude of the force that is modeled by the elongations of the spring. In the particular condition of
Free Fall
Another situation is the free fall of the whole system along a vertical axis (see
Accelerometer Tilted at an Angle α from the Horizontal Plane
A more general situation is the case of the system tilted at an angle α from the horizontal axis (
Pb is related to P by cos(π/2−α)=Pb/P. This relation can also be written Pb=P*sin α. Since the sum of all forces applied to the mass m equal zero and Pa+S=0, we get Pb+R=0 or R=P*sin α (R and Pb have opposite signs). Since R=K*dx, we show that the elongation of the spring is proportional to sin α.
In conclusion, when an accelerometer is standing at an angle from the horizontal, it measures a value of the static acceleration proportional to the sine of this angle.
Note that the accelerometer is most sensitive to tilt when its sensitive axes are perpendicular to the force of gravity, i.e., parallel to the earth's surface.
Accelerometer Receiving a Dynamic Acceleration Along an Angle α from the Horizontal Plane
If a dynamic acceleration “a” is applied to the mass m along the slope, it creates a force F related to the acceleration by the relation F=m*a, and the system is moving upwards (see
From the law of dynamics, the vector equation is: F=P+S+R′, with F=m*a, P=Pa+Pb, and R′=K*dy.
Therefore: m*a=Pa+Pb+S+(K*dy). Since S=Pa and S and Pa are two vectors of opposite sign (see
However, the direct measure of the elongation provided by the accelerometer is dy. This value represents the sum of the elongation dx caused by the static acceleration due to gravity and the elongation dx′ caused by the dynamic acceleration dx′ due to movement.
In applying these principles to the present invention, and more particularly in the context of swimming, it has been shown above that an accelerometer will be most sensitive to tilt when its sensitive axes are perpendicular to the force of gravity, i.e., in a horizontal plane. Therefore, the device is mounted as much as possible in a horizontal plane, such as on the back of the swimmer or around the swimmer's head.
The amplitude of the dynamic acceleration resulting from the traction of the arms while swimming is far less than the amplitude of the static acceleration resulting from the motion of swimmer's body in the water. Because the motion of the body is caused by the arm stroke and breathing, the signals resulting from the static acceleration provide direct information of the stroke count and breathing pattern. The periodicity of the signal results directly from the periodicity of the arm stroke. In addition, since the position of the body changes dramatically when a turn is performed, a huge variation of the amplitude and a rupture of periodicity of the signal are observed.
The amplitude of the signal acquired by the accelerometer is the sum of the large amplitude of the static acceleration and the significantly smaller amplitude of the dynamic acceleration. This last component cannot be easily extracted from the signal, as it would require the knowledge of the variations of position of the accelerometer with the swimmer's body (angle α) at any time in order to subtract the static component of the acceleration.
Referring next to
The sensor assembly 22, the processor 24, and the display device 26 may be formed as a single unit, which would include the power supply 17 and display driver 21, or the sensor assembly 22 and the processor 24 may be formed in a single integrated chip along with driving circuitry for the display device 26. Such a chip may be an application specific integrated circuit (ASIC). Discrete components may be employed at separate locations. For example, the sensor assembly 22 may be mounted to the user's torso and the processor 24 and display unit 26, which would include the power supply 17 and display driver 21, may be mounted to the user's equipment as a separate unit, such as on goggles or a helmet, with communication performed via radio frequency (RF) transmission or via wire.
An electromagnetic compass 31 is shown in the block diagram as an optional component of the sensor assembly 22. The compass 31 will allow open water swimmers to maintain their heading while swimming. The benefit is that swimmers will not need to interrupt their swim or lift their head to assess their position and regularly correct their direction. A similar compass sensor as the one found in cars to indicates the heading while driving (N. NE, E, SE, S, SW, W, NW) can be used in this embodiment of the invention.
The device is initialized and calibrated by having the swimmer face the target (finish line at the opposite end of a lake for example) while wearing the goggles and before starting the swim, and to press a button in order to record the direction. While swimming, the athlete will see a cursor marking the set direction (reference) and a second one showing his/her position relative to the reference. Therefore, the swimmer will be able to monitor the relative position of both cursors (the reference cursor being fixed and the second one showing any drift) and correct any change of course immediately.
In a preferred embodiment, the sensor assembly 22 comprises a two-axis accelerometer 29 configured to sense acceleration about a first axis “Y” that is parallel to the direction of travel and about a second axis “X” that is perpendicular to the first axis. Thus, as the body tilts along the Y-axis, the torso rotates about the X-axis at the hips or waist, generating a static acceleration signal on the Y-axis. Similarly, as the user's body rolls or twists, the body rotates about the Y-axis, with the head, shoulders, and hips moving accordingly, generating a static acceleration signal on the X-axis.
As will be appreciated from the foregoing, the dynamic acceleration along the path of travel, which is parallel to the Y-axis, is not intended or necessary to be sensed. The static acceleration resulting from the change in the position of the accelerometer with respect to the vertical axis, produced by the rotational movement of the swimmer about the Y and X axes, is captured by the sensor assembly 22, which generates first and second acceleration signals.
The sensor assembly 22 may be formed of first and second accelerometers, or a two-axis accelerometer may be employed. Such devices are readily commercially available and will not be described in detail herein. Briefly, one such accelerometer is an ADXL202E sensor available from Analog Devices of Norwood, Mass. The accelerometer may be of the capacitive type, which is a superior detector of static acceleration. The accelerometer may be an integrated micro electro-mechanical system (MEMS), which is small and of a light weight.
The signals generated from the swimming action are immediately converted from continuous analog form into digital form by an A/D converter 25, and are received at the processor 24, where signals are generated in response thereto for output to the display unit 26.
The digital signals comprise digital samples that carry time values and amplitude values. The processor is configured to “process” the digital data to extract desired information, such as analysis of periodicity and peak detection for stroke count, stroke identification and breathing pattern, rupture of periodicity and change of waveform for starts, lap count, and stops.
A software processing application is configured to extract this information and communicate it to the swimmer, coaches, and spectators via the display module. In one embodiment, the peak values correspond to stroke count, with one peak per stroke, and peaks of higher amplitude in the crawl and butterfly stroke correspond to the time the swimmer was breathing. Each peak in the breaststroke will correspond to a breathing action, because of the fundamental nature of the stroke itself. Ruptures of periodicity are marked by starts and turns, where the dynamic acceleration is the prevailing signal.
The output may be displayed graphically, which can provide an easier interpretation than a mere table of data. Waveforms may be displayed, which are a representation in time of the signal sent by each axes of the accelerometer. While waveforms can be displayed to the swimmer, the representation of the information in this form is not easy to interpret while swimming. Ideally, the waveforms would be displayed offline, i.e., outside of real-time, or in a second display available to coaches, that will provide more details about the workout and the swimming pattern. The information can be communicated to the swimmer via a display module 26, which could be in the form of alphanumeric characters (to indicate the number of strokes for a pool length), color schemes to indicate if a swimmer is ahead, on schedule, or behind a pace, and audio signals as previously discussed. Thus, from these signals information can be obtained about the characteristics of the swimmer's movements, including detection of start, stop, and turns, stoke count, kick count, stroke signature, and breathing pattern.
The processor 24 utilizes conventional components and will not be described in detail herein. Briefly, it includes the A/D converter 25, a serial interface 23, and communicates with a display driver 21, in one embodiment. Power is supplied to the system 20 from a power supply 17, which may be a battery for portable applications.
Preferably, the sensor assembly 34 includes a two-axis accelerometer 50 mounted to have the first axis Y parallel to the direction of travel, shown by the arrow T, which corresponds to the longitudinal axis of the swimmer's body when in the water 52. The second axis X is perpendicular to the Y-axis, and both axes will be approximately parallel to the surface 54 of the water 52, which is more or less horizontal, i.e., parallel to the surface of the earth.
In this orientation, the accelerometer 50 will generate a first static acceleration signal when the swimmer's torso 38 pitches up and down, such as in the butterfly stroke or breaststroke. Rotational movement of the torso 38 about the X-axis characterizes this movement. The accelerometer 50 will generate a second acceleration signal when the swimmer's torso 38 rolls, such as when performing a crawl or backstroke stroke. This movement is characterized by rotational movement of the torso 38 about the Y-axis.
Because the axes of the accelerometer 50 are essentially parallel to the earth's surface, pitching up and down of the accelerometer 50 about the X-axis and rotating the same accelerometer 50 about the Y-axis will cause the generation of an oscillating output signal with respect to the vertical axis, and such signals will have sine-wave characteristics. In other words, moving the sensitive axes of the accelerometer a few degrees (α) from the horizontal will generate a static acceleration with respect to the vertical axis, mathematically proportional to g*(sine α), where g is the force of gravity (32.2 ft./sec.2 or 9.8 m/sec.2).
The placement of the sensor assembly 34 on the swimmer's body 32 has been found to be an important factor in capturing valid, reliable data. Studies conducted by the applicants found that placement of the sensor assembly 34 at one of three different locations on the swimmer's body 32 produced the most desirable results. These locations were the upper torso or back, the lower back, and to the head. Having the axes of the sensor assembly 34 as parallel as possible to the horizontal plane resulted in maximum sensitivity. When the entire system is integrated into a swimmer's goggles 46, the accelerometer will reside next to the processor 42, shown in
Automatic Detection of Start, Stop, and Turn Events
Regardless of which of the three positions the sensor assembly 34 was mounted, the execution of starts, stops, and turns is clearly detected on the first and second acceleration signals. The three events caused a sudden rupture in the periodicity of the signals and very high amplitudes.
Stroke Count
With the sensor assembly 34 attached to the swimmer's head, stroke count for the butterfly, crawl, and breaststroke was highly accurate. In addition, the swimmer's breathing pattern was clearly detectable. However, backstroke was not clearly detectable because the swimmer's head does not change pitch to the degree it does in the other three strokes.
Positioning of the sensor assembly 34 on the upper or lower back of the swimmer yielded strong periodic signals for all four strokes. The sensor assembly 34 was very sensitive to the rolling motion of the swimmer's body resulting from the arm pull in the crawl and backstroke, as well as to the pitching motion of the swimmer's body resulting from the arm pull in breaststroke and the butterfly stroke.
In addition, with the sensor assembly 34 positioned on the lower back, it is possible to detect the swimmer's kick pattern in the backstroke and crawl; and with the sensor assembly mounted on the lower extremities of the body, such as the thigh or calf, it is possible to detect the swimmer's kick pattern in all four strokes.
Breathing Pattern
The breathing pattern can readily be obtained from strokes that require the swimmer to raise and turn their head. The crawl, breaststroke, and butterfly are three examples us such patterns. In order the track the breathing pattern in these strokes, at least one accelerometer is mounted on the swimmer's head. Lifting of the head in the butterfly and breaststroke generates high-amplitude signals on the Y-axis (rotation about the X-axis), and rolling of the head for breathing in the crawl is manifested by high-amplitude signals on the X-axis (rotation about the Y-axis). Breathing patterns are not readily detectable with the sensor assembly mounted on the swimmer's back because it is difficult to detect head motion from that location.
Stroke Signature
Studies conducted on swimmer's stroke using the system of the present invention have found that each swimmer has a unique stroke signature for a given stroke. In other words, different swimmers performing the same stroke will each have a unique stroke signature. The stroke characteristics for each swimmer are distinguishable from each other by the combination of waveforms obtained from the X and Y-axes.
Because stroke signatures are swimmer dependent, calibration will be required. That is, a comparison of the signals to the “calibrated stroke signature” using known signal processing techniques, such as auto correlation, will enable automatic stroke identification.
Identification of the type of stroke is accomplished with the sensor assembly 34 mounted on either the swimmer's head or on the swimmer's back. In either location, the crawl and backstroke cause rolling of the body, generating high amplitude signals on the X-axis (rotation about the Y-axis). In contrast high amplitude signals on the Y-axis (rotation about the X-axis) are indicative of the breaststroke and the butterfly stroke. However, with the sensor assembly mounted on the swimmer's back, the distinction between the breaststroke and the butterfly stroke is subtler, yet still discernable by using the calibration technique described above. With the sensor assembly mounted on the swimmer's back, the same is true for the distinction between crawl and backstroke, and the calibration technique described above also solves the problem. However, when the sensor assembly is mounted around the head or on the upper torso, the distinction between crawl and backstroke is obvious. This is due to the fact that signals generated by rotation of the head for breathing will be registered on the longitudinal axis, whereas no signal will be recorded on the longitudinal axis in backstroke (the head does not need to rotate for breathing). The difference between breaststroke and butterfly remains subtler regardless of the position of the sensor on the swimmer's body. Generally, the period of the acceleration signals distinguishes the butterfly and breaststrokes, with the breaststroke characterized by a larger period, regardless of the swimmer's abilities in performing the strokes.
The processor 42 is configured to process the acceleration signals for extraction of the periodicity of the signal. Initially, the two acceleration signals are converted to digital form and are filtered using a time averaging technique to remove high frequency components.
One of two techniques is then used to extract the periodicity of the signals, peak detection, and auto-correlation. Peak detection is used to extract the stroke count from the signals. However, it can be combined with auto-correlation to determine the periodicity of the signal and thus the stroke count. In the second case, the auto-correlation method is used to validate peak detection.
Peak detection is also used for analysis of the breathing pattern. The motion of the head during breathing creates peaks of larger amplitude. A comparison of the amplitude of the peaks, as well as their sign, for the crawl stroke indicates when the swimmer is breathing and on which side of the body.
The auto-correlation method can be used to detect ruptures in the periodicity, which are indications of start, stop, and turn events. These events are also characterized by large amplitude spikes on one or both of the axes. The peak detection combined with signal slope analysis can be used to confirm the results of the auto-correlation analysis.
A correlation technique is also used to identify stroke signature. The received signal is correlated with a calibrated signal recorded for each of the swimmer's strokes. The correlation technique is based on the sum of the squared difference of amplitudes between the signal being analyzed and a reference signal. A simpler method to detect turns is a direct exploitation of the peak detection algorithm. For each peak detected the time reference is known (i.e., when the peak occurred in the time scale). Because turns are characterized by a rupture of periodicity of the signal, the interval of time between the two peaks is no longer the same, which is an indication that a turn has occurred. If necessary, this information can be confirmed by using an auto-correlation of the signal.
Optionally, another technique that can be used to produce a finer analysis comprises identifying secondary oscillations by comparing the raw signal to the envelop of that same signal around peak values. The frequency of such oscillations can be detected by well-known analysis techniques over large periods of time, validating breathing patterns for example or rotation of the body while swimming. Such analysis techniques include the Fast Fourier Transform (FFT).
Referring next to
In the description corresponding to
It is important to note that the peaks of the first and second waveforms 110, 112 correspond to the maximum angle between the position of the accelerometer and the horizontal plane, which is also the minimum angle between the position of the accelerometer and the vertical axis. Peaks on the waveform do not necessarily correspond to a particular position of the swimmer's arms. However, because undulation or pitches of the body about the X-axis and rotation of the body about the Y-axis result from the action of one arm, such as the crawl and backstroke, or of both arms together, such as during the butterfly and the backstroke, the number of peaks of static acceleration will equal the number of strokes.
It is also important to note that the sensitivity of the sensor to dynamic acceleration depends very much on the location of the sensor. If the accelerometer were placed at the fingertips of a swimmer, the dynamic acceleration would be more noticeable. Yet, regardless of the location of the sensor, angular variations from the vertical axis corresponding to static acceleration are always clearly detectable. The motion of the hand under water is such that a sensor positioned at the fingertips would create a very strong static acceleration as well as dynamic acceleration.
Referring first to
As can be seen from
In these figures, the breathing pattern is not clearly detected because of the location of the sensor on the body. However, each breath is marked by a signal of higher amplitude. For breathing pattern detection, the sensor can be ideally positioned on top of the swimmer's head.
Referring to
The backstroke is illustrated in
In
Starts and turns are also easily detectable from the waveform signals. For example, during a flip turn in crawl, the pitching of the body about the X-axis (along the Y-axis) generates a signal of large amplitude, as shown in FIG. 15A, where the reference line 114 is passing through a trough or negative peak 118 in the first waveform signal 110. In
Turning next to
Referring next to
The self-contained system 70 is designed for mounting to the swimmer's goggles such that the displayed image is viewable by the swimmer while swimming. In this case, the image projected through the objective lens 88 is received at an eyeglass lens 84 that is formed as part of the swimmer's goggles. With this system, the swimmer will have a real time, continuous visual display of their performance. An example display is shown in
The display may also be configured to use an LED display that projects a 45-degree lens. A portion of the light passes through the lens to a reflective surface at the bottom of the goggle structure. The light is reflected back to the lens and the 45-degree inclination directs the light to the retina of the swimmer.
An optional earpiece (not shown) can be used to provide an audible signal to the swimmer. In one embodiment, the swimmer can hear changes in the pitch of the waveform signal and determine their performance therefrom. A pitch can also be broadcast from a reference waveform, and the pitch corresponding to the action of the swimmer superimposed on the reference waveform. When both pitches match, the swimmer will hear a single tone, indicating the swimmer is in synch with the reference pattern. Information such as lap count, stroke count, elapsed time, etc., may also be provided through the earpiece in natural language using a voice synthesizer.
The described embodiments of the invention implement a unique method of detecting, tracking, processing, and displaying information about a swimmer's performance, and in a broader context, in monitoring repetitive movement of the human body in a variety of activities. This can include physical therapy where the amplitude of each movement can be monitored to determine if they are the same and whether they are increasing from one physiotherapy session to the next. The method can apply to sensing acceleration of specific areas of the body, preferably static acceleration about two perpendicular axes that are parallel to the earth's surface, and processing the acceleration signals generated therefrom to identify the movement, display the movement pattern, including the breathing pattern, and determining movement start, stop, directional change of travel, and movement count. The processed information is then displayed for the user to see or hear, as well as for coaches and spectators to monitor in real time. The sensor output may also be sent over the Internet for offline processing and analysis by coaches, physiotherapists, etc. The waveforms can then be more fully analyzed for a finer interpretation of the swimmer's performance.
What follows next is a brief description of the software component of the present invention. It is configured, in part, to deal with the important feature of detecting peaks (minimums and maximums) from the data received from both axes of the accelerometer. Such peaks are directly related to the repetitive motion, such as stroke count for the swimmer, and they also provide an excellent indicator of periodicity. This information can be compared to the results of an auto correlation method, which is the second technique used to detect periodicities in the signal. Ruptures of periodicity, as well as analysis of the amplitude of the signal are both used to detect turns, starts and stops.
Peak detection based on an interval of confidence will now be discussed. Regarding the interval of confidence, a simple observation over a very large sample of swimmers shows that the four types of strokes are swum at a frequency of 1 to 2 seconds per stroke (1 to 0.5 Hz). In addition, the results of trials conducted by the applicants show the wave-form representation of each stroke comparable to a sine wave in that it has periodicity with peaks and valleys. When the accelerometer is set to sample at 50 Hz (50 times per second or one sample every 20 ms), 50 to 100 samples would be necessary to represent the waveform associated to one stroke.
The peak detection method is based on the comparison of one sample value to its closest neighbors. The number of samples used for the comparison defines an interval of confidence from which we declare a sample as a peak (see
For simplicity and illustration purpose of this concept, the balance of the description will consider an interval of confidence of 100 ms represented by one sample compared to its two immediate neighbors on each side (see
In
Based on the foregoing, it can be understood that selecting an interval of confidence too small would lead to potentially detecting too many peaks; whereas choosing an interval of confidence too large would result in getting the opposite effect, i.e., detecting too few peaks.
Of course, the comparison of a sample to its closest neighbors to the right cannot occur until these data have been captured (2 dt=2*20 milliseconds later for this example, or ½ second to 1 second later in a real case).
The algorithm would propagate as illustrated in
As explained earlier, it is important to choose an interval of confidence slightly shorter than the stroke frequency of the swimmer. The system can automatically determine the optimal interval of confidence by testing different potential values for the interval that would be applied to the first samples sent by the accelerometer. From the series of peaks extracted by the algorithm for each interval of confidence, the system will identify the peaks showing the best periodicity and retain the associated interval of confidence.
A second solution would consist in using an auto-correlation method. The system would regularly perform an auto-correlation over a few cycles of the signal, in order to assess the periodicity of the signal and adjust the duration of the interval of confidence accordingly.
However, a direct implementation of such a peak detection algorithm would be impractical because the number of operations would quickly overload the microprocessor. This number is proportional to: (the total number of samples)×(the number of samples defining the interval of confidence). As a result, peak detection would not occur in real time and the power consumption of the microprocessor would become a serious issue.
Also, as shown in
A real time algorithm will now be described. Based on the theory presented in the previous section, it can be observed that two consecutive maxima or two consecutive minima are always separated by at least n/2 samples when considering an interval of confidence of n+1 samples (n/2 on each side of the sample being evaluated as a possible peak).
It can also be observed that a peak detected in an interval of confidence n, is also a peak for any interval of confidence smaller than n, in particular for an interval of 3 (i.e., a sample is compared to its left and right neighbors).
Therefore, a fast algorithm is provided that is based on the comparison of a sample to its immediate left and right neighbors and that considers the sample to be a peak candidate if it is the greatest of the three (when looking for a maximum). Then, this candidate is compared to all the other peak candidates found among the next n/2 samples. The greatest among them shall be retained as a peak for an interval of confidence n+1. With this approach, a sliding comparison of a sample to its two immediate neighbors is performed, involving two operations only each time, with a limited number of comparisons between the potential peak candidates within an interval n/2. Compared to the theory presented previously, the resulting number of operations is dramatically reduced, allowing a real time identification of the peaks resulting from an interval of confidence n.
An illustration of the fast algorithm using the same interval of confidence of 100 ms (involving 5 samples) is shown in
In
In
When comparing the results of the first algorithm (
Also, the signal chosen to illustrate the peak detection algorithms is closer to background noise than a periodic signal. This explains the detection of the second peak using the fast algorithm, because of the choice of an interval of confidence of 5 samples (2 on each side of the sample being evaluated as a possible peak), for the purpose of the example. If two peaks fall within the interval of confidence, the algorithm will detect only one. Conversely, if a signal is expected to have a frequency of F Hz and the interval of confidence is determined accordingly, but over time the frequency of that signal drops to less than F/2 Hz, then the algorithm will detect additional peaks other than the peaks for each period.
In the example illustrating the fast algorithm, if the interval of confidence had been extended to 7 samples, for example (3 on each side of the sample being evaluated as a possible peak), the second peak would have never been detected and only Val(7) and Val(16) would have been detected as peaks.
It should also be noted that when two samples of equal amplitude fall within the interval of confidence (ex: Val(7) and Val(8) see
The fast algorithm described above provided an automatic peak detection (maxima and minima) with 100% accuracy on all swimmers tested, when using an interval of confidence set around 2 s (1 s from each side of a sample to be tested as a peak). If necessary an optimal interval of confidence could even be automatically determined by the system by using an autocorrelation method from a few cycles of the signal, or a comparison of the results obtained with different intervals of confidence. This solution would cover a few extreme cases of swimmers showing huge variations of periodicity during their swim.
Compared to the first algorithm, the fast algorithm uses fewer number of CPU operations, which enables real time detection and identification of the peaks with minimal power processing power.
From the foregoing it will be appreciated that, although specific embodiments of the invention have been described herein for purposes of illustration, various modifications may be made without deviating from the spirit and scope of the invention. For example, an ECG module may be incorporated into the system to acquire and display the ECG of the swimmer in real time. The pulse will be taken from one temporal artery (right or left) by using a sensor, such as a piezoelectric sensor, and the output processed and displayed in the swimmer's field of view. Accordingly, the invention is not limited except as by the appended claims and the equivalents thereof.
All of the above U.S. patents, U.S. patent application publications, U.S. patent applications, foreign patents, foreign patent applications and non-patent publications referred to in this specification and/or listed in the Application Data Sheet are incorporated herein by reference, in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 10056304 | Jan 2002 | US |
Child | 11057348 | Feb 2005 | US |