1. Technical Field
The present invention relates to a speed estimation method using an acceleration sensor, and the like.
2. Related Art
A portable electronic apparatus (hereinafter, referred to as “portable apparatus”) which has a positioning function using a global positioning system (GPS) or the like is known, and a portable apparatus, called “running watch”, “training watch”, “runner's watch”, or the like mounted on one of the four limbs, such as an arm or a leg of a user is known (for example, JP-A-2013-140158).
In this portable apparatus, if the user performs an operation to start a measurement, positional information including latitude, longitude, or the like, speed information, moving distance information, or the like is measured and displayed periodically. In general, of the measurement information, speed information is speed information which is output as one function of the GPS, or speed information which is obtained by time-integrating a detected acceleration of an acceleration sensor incorporated in the portable apparatus.
However, since speed information calculated as one function of the GPS uses a Doppler frequency when receiving a GPS satellite signal, when the reception environment of the GPS satellite signal is poor, such as in an area of buildings or a forest, an error is large, and consequently, the speed information tends to be far from accurate speed. When time-integrating the detected acceleration of the acceleration sensor, since it is assumed that there is little or no user body motion, for example, it is difficult to calculate accurate speed during walking or running accompanied with a body motion by landing. When the portable apparatus is mounted on one of the four limbs accompanied with arm swinging or a back-and-forth motion of a leg, it is more difficult to calculate accurate speed.
An advantage of some aspects of the invention is to provide a technique which overcomes the above-described difficulty and enables calculation of an accurate speed even though a portable apparatus having an acceleration sensor is mounted on a body of a user (in the related art example, “one of the four limbs”).
A first aspect of the invention is directed to a speed estimation method including deriving, using results data in which a characteristic value based on a distribution coordinate of a detected acceleration by an acceleration sensor attached to a body of a user is associated with a moving speed of the user, a relational expression for finding an estimated speed from the characteristic value, and finding an estimated speed from the current characteristic value using the relational expression.
As another aspect of the invention, the invention may be configured as a speed estimation device including a derivation unit which derives, using results data in which a characteristic value based on a distribution coordinate of a detected acceleration by an acceleration sensor attached to a body of a user is associated with a moving speed of the user, a relational expression for finding an estimated speed from the characteristic value, and a speed estimation unit which finds an estimated speed from the current characteristic value using the relational expression (twelfth aspect of the invention).
According to the first aspect (or the twelfth aspect), using the results data in which the characteristic value based on the distribution coordinate of the detected acceleration by the acceleration sensor attached to the body of the user (for example, one of the four limbs of the user) is associated with the moving speed of the user, the relational expression for finding the estimated speed from the characteristic value is derived. Here, the term “distribution coordinate” means a coordinate system which has directions along the tendency of the distribution as coordinate axes. For example, during the moving exercise of the user, the acceleration changes largely at the time of landing during the moving exercise of the user, and the body (for example, four limbs) of the user moves back and forth during the moving exercise of the user to cause periodic change in acceleration. Accordingly, since the distribution coordinate of the detected acceleration becomes a coordinate in which the up-down direction of the body of the user and the direction relating to the back-and-forth motion of the body (for example, four limbs) are reflected, the correlation between the characteristic value based on the distribution coordinate and the moving speed becomes significant. As a result, the relational expression having the correlation is derived, whereby it is possible to subsequently find the estimated speed from the current characteristic value using the relational expression with high precision.
A second aspect of the invention is directed to the speed estimation method according to the first aspect, which further includes analyzing a scattering direction of the distribution of the detected acceleration in a detected coordinate of the acceleration sensor to find the distribution coordinate.
According to the second aspect, it is possible to analyze the scattering direction of the distribution of the detected acceleration to find the distribution coordinate.
A third aspect of the invention is directed to the speed estimation method according to the first or second aspect, which further includes calculating the characteristic value with at least a variation cycle of the value of the detected acceleration along a coordinate axis direction of the distribution coordinate included in the characteristic value.
According to the third aspect, the characteristic value includes at least the variation cycle of the value of the detected acceleration along the coordinate axis direction of the distribution coordinate. The variation cycle is, for example, a period or a frequency. If the user performs a moving exercise, such as walking or running, the acceleration along the coordinate axis direction of the distribution coordinate tends to vary periodically. The variation cycle may be set as the characteristic value.
A fourth aspect of the invention is directed to the speed estimation method according to the third aspect, wherein the characteristic value is calculated with the intensity of the variation cycle further included in the characteristic value.
According to the fourth aspect, the characteristic value includes the intensity of the variation cycle. Periodic variation in acceleration at the time of a moving exercise, such as walking or running, includes a plurality of frequency components. For this reason, it is possible to determine the degree of inclusion of each frequency component by the intensity of the variation cycle corresponding to the frequency component included in the characteristic value.
A fifth aspect of the invention is directed to the speed estimation method according to the third or fourth aspect, wherein the calculation of the characteristic value includes autocorrelating a plurality of values of the detected acceleration varying along a longitudinal direction of the distribution of the detected acceleration while deviating time to calculate the variation cycle.
According to the fifth aspect, when calculating the variation cycle, a plurality of values of the detected acceleration varying along the longitudinal direction of the distribution of the detected acceleration are autocorrelated while deviating time. For this reason, it is possible to reduce the possibility of erroneous calculation of the variation cycle and to calculate an accurate variation cycle.
A sixth aspect of the invention is directed to the speed estimation method according to the third or fourth aspect, wherein the speed estimation method further includes calculating a first variation cycle of the value of the detected acceleration along a first coordinate axis direction in the distribution coordinate and a second variation cycle of the value of the detected acceleration along a second coordinate axis direction in the distribution coordinate, and the calculation of the characteristic value includes calculating the variation cycle of the value of the detected acceleration from the first variation cycle and the second variation cycle using a maximum likelihood estimation method.
According to the sixth aspect, the first variation cycle of the value of the detected acceleration along the first coordinate axis direction in the distribution coordinate and the second variation cycle of the value of the detected acceleration along the second coordinate axis direction in the distribution coordinate are calculated. Then, the variation cycle of the value of the detected acceleration is calculated from the first variation cycle and the second variation cycle using the maximum likelihood estimation method. The acceleration sensor may not distinguish between an up-and-down motion of the body of the user and a back-and-forth motion of a part (for example, four limbs) of the body attached with the acceleration sensor as the direction of the detected acceleration. According to the above-described configuration, the maximum likelihood estimation method is used, whereby it is possible to distinguish between an up-and-down motion of the body of the user and a back-and-forth motion of a part of the body and to calculate a more accurate variation cycle.
A seventh aspect of the invention is directed to the speed estimation method according to any of the first to sixth aspects, wherein the speed estimation method further includes calculating a first variation cycle of the value of the detected acceleration along a first coordinate axis direction in the distribution coordinate and a second variation cycle of the value of the detected acceleration along a second coordinate axis direction in the distribution coordinate, and determining a moving exercise state of the user using the first variation cycle and the second variation cycle, the derivation of the relational expression includes deriving a relational expression corresponding to the moving exercise state, and the finding of the estimated speed includes finding the estimated speed using the relational expression corresponding to the moving exercise state.
According to the seventh aspect, the first variation cycle of the value of the detected acceleration along the first coordinate axis direction in the distribution coordinate and the second variation cycle of the value of the detected acceleration along the second coordinate axis direction in the distribution coordinate are calculated. Then, the moving exercise state of the user is determined using the first variation cycle and the second variation cycle. The moving exercise state is used to switch a relational expression for finding the estimated speed from the characteristic value. That is, since there is a relational expression suitable for the moving exercise state, it is possible to derive a relational expression suitable for the determined current moving exercise state, to find the estimated speed using the relational expression suitable for the current moving exercise state, and to find the estimated speed with high precision.
An eighth aspect of the invention is directed to the speed estimation method according to any of the first to seventh aspects, wherein the speed estimation method further includes measuring the moving speed of the user based on a satellite signal for positioning, and associating the characteristic value with the measured moving speed to update the results data.
According to the eighth aspect, it is possible to set the moving speed of the results data for use in calculating the relational expression to the moving speed measured based on the satellite signal for positioning.
A ninth aspect of the invention is directed to the speed estimation method according to the eighth aspect, which further includes, based on a reception signal of the satellite signal for positioning, determining the reliability of the signal, and inhibiting the update of the results data when the reliability satisfies a predetermined low reliability condition.
According to the ninth aspect, when the reliability of the signal satisfies the predetermined low reliability condition, for example, when the signal intensity of the reception signal of the satellite signal for positioning is weak, it is possible to inhibit the use of the moving speed based on the satellite signal for positioning in the results data.
A tenth aspect of the invention is directed to the speed estimation method according to any of the first to ninth aspects, which further includes detecting the displacement of a coordinate system of the distribution coordinate satisfying a predetermined displacement condition, and inhibiting the update of the results data when the detection is made.
According to the tenth aspect, it is possible to detect the displacement satisfying the predetermined displacement condition, for example, large change of the coordinate system of the distribution coordinate. The change of the coordinate system of the distribution coordinate is considered to be change of the distribution of the detected acceleration, that is, it is considered that a part (for example, four limbs) of the body attached with the acceleration sensor is aligned in a direction which does not occur in a previous moving exercise state. For example, when the acceleration sensor is attached to an arm, there is a case where an operation other than arm swinging is performed. In this case, it is not appropriate to update the results data based on the detected acceleration of the acceleration sensor. Accordingly, in this case, it is possible to inhibit the update of the results data.
An eleventh aspect of the invention is directed to the speed estimation method according to any of the first to tenth aspects, which further includes measuring the moving speed of the user based on a satellite signal for positioning, detecting a non-exercise state of the user out of a predetermined moving exercise state using the variation cycle of the value of the detected acceleration along the coordinate axis direction of the distribution coordinate, and performing control for outputting the measured moving speed instead of the estimated speed when the non-exercise state is detected.
According to the eleventh aspect, it is possible to detect the non-exercise state of the user out of the predetermined moving exercise state using the variation cycle of the value of the detected acceleration along the coordinate axis direction of the distribution coordinate. Then, when the non-exercise state is detected, it is possible to output the moving speed measured based on the satellite signal for positioning, instead of the estimated speed found using the relational expression.
A thirteenth aspect of the invention is directed to the speed estimation device according to the twelfth aspect, wherein the acceleration sensor is attached to one of the four limbs of the user.
According to the thirteenth aspect, using the results data in which the characteristic value based on the distribution coordinate of the detected acceleration by the acceleration sensor attached to one of the four limbs of the user is associated with the moving speed of the user, the relational expression for finding the estimated speed from the characteristic value is derived. During the moving exercise of the user, the acceleration changes largely at the time of landing during the moving exercise of the user, and the four limbs of the user move back and forth during the moving exercise of the user to cause periodic change in acceleration. Accordingly, since the distribution coordinate of the detected acceleration becomes a coordinate in which the up-and-down direction of the body of the user and the direction relating to the back-and-forth motion of the four limbs are reflected, the correlation between the characteristic value based on the distribution coordinate and the moving speed is significant. As a result, it is possible to provide a speed estimation device in which the relational expression having the correlation is derived, whereby it is possible to subsequently find the estimated speed from the current characteristic value using the relational expression with high precision.
A fourteenth aspect of the invention is directed to a portable apparatus including the speed estimation device according to the twelfth or thirteenth aspect.
According to the fourteenth aspect, since the portable apparatus includes the speed estimation device according to the above-described aspects, when the portable apparatus is mounted on one of the four limbs or another part of the body to carry out speed estimation, it is possible to perform speed estimation of the user while preventing the influence of the attachment method of the portable apparatus or the influence of an individual difference, such as the movement of the four limbs of the user or the form of the operation, or an abnormal operation.
Accordingly, it is possible to provide a portable apparatus capable of measuring the moving speed of the user with the portable apparatus with high precision.
The invention will be described with reference to the accompanying drawings, wherein like numbers reference like elements.
Hereinafter, a mode for carrying out a speed estimation method and a speed estimation device of the invention will be described referring to the drawings. In the following description, a running watch is illustrated as a portable apparatus including a speed estimation device. The running watch is used in a state of being mounted on a wrist of a user, and periodically measures and displays positional information or speed information of the user, distance information, or the like. It should be noted that the invention is not limited to the following embodiment, and a mode to which the invention is applicable is not limited to the following embodiment. In the drawings, the same portions are represented by the same reference numerals.
The GPS module 11 receives a GPS satellite signal transmitted from a GPS satellite as a positioning satellite through a GPS antenna 111, measures the position and moving speed of the user based on the received GPS satellite signal, and outputs the position and moving speed to the processing unit 18 arbitrarily. Hereinafter, the moving speed measured by the GPS module 11 is referred to as “GPS moving speed”. A method of measuring the position or moving speed using the GPS is known in the related art, and thus detailed description thereof will be omitted.
The acceleration sensor 12 detects an acceleration vector of the user. As the acceleration sensor 12, for example, a micro electro mechanical systems (MEMS) sensor is used. The acceleration vector detected by the acceleration sensor 12 is output to the processing unit 18 as a detected acceleration.
The operating unit 13 is realized by various switches, such as a button switch, a lever switch, and a dial switch, or an input device, such as a touch panel, and outputs an operation signal according to an operation input to the processing unit 18.
The display unit 14 is realized by a display device, such as a liquid crystal display (LCD) or an electroluminescence (EL) display, and displays various screens based on a display signal input from the processing unit 18.
The sound output unit 15 is realized by a sound output device, such as a speaker, and outputs various kinds of sound based on a sound signal input from the processing unit 18.
The communication unit 16 is a communication device which performs transmission and reception of information for use inside the apparatus with respect to an external information processing apparatus under the control of the processing unit 18. As a communication method of the communication unit 16, various methods, such as a form in which wired connection is established through a cable based on a predetermined communication standard, a form in which connection is established through an intermediate device, called a cradle and serving also as a charger, and a form in which wireless connection is established using wireless communication, may be applied. For example, the positional information or speed information of the user, the distance information, or the like measured by the running watch 1 is transmitted to a personal computer (PC) through the communication unit 16, and the PC appropriately performs reading or data management.
The timepiece unit 17 is an internal timepiece of the running watch 1, and is constituted by a quartz oscillator having a quartz vibrator and an oscillation circuit, or the like. The measured time of the timepiece unit 17 is output to the processing unit 18 arbitrarily.
The processing unit 18 is realized by a control device and an arithmetic device, for example, a microprocessor, such as a central processing unit (CPU) or a digital signal processor (DSP), or an application specific integrated circuit (ASIC), and performs overall control of the respective units of the running watch 1. As shown in
The acceleration distribution analysis processing unit 181 performs acceleration distribution analysis processing described below (see
The variation cycle calculation unit 182 performs processing for obtaining, for example, a frequency as a variation cycle of a step operation corresponding to the number of steps (pitch) of the user per unit time. In this embodiment, there are several types of “frequency” as the variation cycle depending on the difference in the calculation method, and for example, a method which calculates the frequency using frequency analysis, such as FFT or autocorrelation, is known. A method which calculates the frequency using maximum likelihood estimation is used, whereby it is possible to calculate the frequency with higher precision.
The variation cycle calculation unit 182 includes a frequency analysis processing unit 184. The frequency analysis processing unit 184 performs, for example, autocorrelation processing described below as frequency analysis processing (see
The state determination unit 185 performs state determination processing described below (see
The learnability determination unit 186 performs learnability determination processing described below and determines the learnability based on the signal intensity of the GPS satellite signal and the state of the user.
When the learnability determination unit 186 determines that the state of the user is learnable, the learning processing unit 187 performs learning processing (see
The moving speed estimation unit 188 calculates the moving speed of the user as “estimated moving speed” using the moving speed relational expression for running when the state of the user is “running” and the moving speed relational expression for walking when the state of the user is “walking”.
The vehicle determination unit 189 performs vehicle determination processing described below and performs determination of whether or not the user is in a vehicle, such as an automobile or a train, based on the GPS moving speed or the frequency (variation cycle) of at least one of the first principal component direction and the second principal component direction of the user.
The moving speed output control unit 190 outputs the estimated moving speed as the moving speed of the user if the user is not in the vehicle and outputs the GPS moving speed as the moving speed of the user if the user is in the vehicle.
The storage unit 20 is realized by a storage medium, such as various integrated circuit (IC) memories including a read only memory (ROM), a flash ROM, and a random access memory (RAM), or a hard disk. The storage unit 20 stores a program which operates the running watch 1 and realizes various functions of the running watch 1, and data for use during the execution of the program, and the like in advance, or temporarily stores data each time processing is performed.
The storage unit 20 stores a speed estimation program 21 which causes the processing unit 18 to function as the acceleration distribution analysis processing unit 181, the variation cycle calculation unit 182, the state determination unit 185, the learnability determination unit 186, the learning processing unit 187, the moving speed estimation unit 188, the vehicle determination unit 189, and the moving speed output control unit 190, and performs speed estimation processing (see
The storage unit 20 stores analysis result data 22, a state determination result 23, histogram data 24, learning data 26, relational expression data 27, and moving speed data 28.
The analysis result data 22 includes previous data 221 and present data 223. As described below, the speed estimation processing is repeatedly performed every second. The previous data 221 stores the first principal component data (PCA1), the second principal component data (PCA2), the eigenvector, and the like acquired by the acceleration distribution analysis processing unit 181 the previous time (in the preceding one second). Then, the present data 223 stores the first principal component data (PCA1), the second principal component data (PCA2), the eigenvector, and the like acquired by the acceleration distribution analysis processing unit 181 this time.
The state determination result 23 stores the state (“running”, “walking”, or “out of moving exercise state”) of the user determined by the state determination unit 185 this time.
The histogram data 24 stores the histogram of the frequency (first variation cycle) of PCA1 and the frequency (second variation cycle) of PCA2 collected in the course of the repetitive speed estimation processing.
The learning data 26 is collected in the course of the repetitive speed estimation processing. Then, the learning data 26 is referred to when the learning processing unit 187 learns and updates a moving speed relational expression. A specific data configuration of the learning data 26 will be described below (see
The relational expression data 27 stores the latest moving speed relational expression data 273 derived by the learning processing unit 187.
The moving speed data 28 stores the moving speed (estimated moving speed or GPS moving speed) of the user output from the moving speed output control unit 190 for each speed estimation processing in time series.
The speed estimation processing shown in
In the speed estimation processing, first, the acceleration in each axis direction of the three axes (x, y, z) is acquired by the acceleration sensor 12 (Step a1).
Subsequently, the acceleration distribution analysis processing unit 181 performs acceleration distribution analysis processing. Specifically, the distribution of the detected acceleration in a coordinate (sensor coordinate) space corresponding to the respective axis directions (x, y, z) of the acceleration sensor 12 is analyzed, and principal component analysis for extracting the direction of the distribution of a primary component (principal component) is performed (Step a3). For example, in regard to the direction of the principal component, when focusing on the top two principal components, a maximum scattering direction having the largest spread of the distribution can be extracted as a first principal component, and a scattering direction having the second largest spread of the distribution crossing (for example, orthogonal to) the first principal component can be extracted as a second principal component. In this way, the first principal component data (PCA1) and the second principal component data (PCA2) which are principal component data of the respective scattering directions are obtained. Instead of the principal component analysis, acceleration distribution analysis processing may be performed using independent component analysis which is a calculation method for separating into a plurality of additive components.
Then, the acceleration distribution analysis processing unit 181 sets a distribution coordinate with the direction of the first principal component as a first coordinate axis, the direction of the second principal component as a second coordinate axis, and the direction of the third principal component as a third coordinate axis by the principal component analysis (Step b3), converts each value of the detected acceleration to the distribution coordinate (Step b5), and acquires each value of the first coordinate axis of the detected acceleration in the distribution coordinate as first principal component data (PCA1) and each value of the second coordinate axis as the second principal component data (PCA2) (Step b7).
Thereafter, as processing of Step b9, the acceleration distribution analysis processing unit 181 updates the analysis result data 22 with data including at least the first principal component data (PCA1), the second principal component data (PCA2), and the eigenvector as the present data 223. In the second or subsequent speed estimation processing, the acceleration distribution analysis processing unit 181 updates the analysis result data 22 with the present data 223 before update as the previous data 221.
According to the acceleration distribution analysis processing described above, it is possible to separate and extract the up-and-down motion direction component and the arm swinging direction component of the body from the detected acceleration. With this, after an exceptional component (third principal component) not correlated with the method to run, walk, swing an arm, or the like included in the value of the detected acceleration is excluded, the principal components can be used in subsequent processing. In this way, in the subsequent processing, it is not necessary to be conscious of the respective axis directions (x, y, z) of the acceleration sensor 12. With this, the calculation of the estimated moving speed can be performed without being influenced by a mounting state, such as the mounting direction of the running watch 1.
Returning to
In order to reduce the erroneous detection, although a method which extends the time length of the first principal component data (PCA1) or the second principal component data (PCA2) for peak detection is considered, followability to change over time of the pitch or the like is damaged, and it is not possible to specify power of the first principal component direction or the second principal component direction from the periodically varying waveform itself of the first principal component data (PCA1) or the like. Accordingly, the frequency analysis processing unit 184 performs the frequency analysis processing to acquire the frequency and power from the first principal component data (PCA1) and the second principal component data (PCA2) for the last two seconds. The frequency analysis processing may be performed using, for example, autocorrelation processing.
The autocorrelation processing can be replaced with processing using predetermined frequency analysis and predetermined inverse frequency analysis, for example, processing using FFT (Fast Fourier Transform) processing and inverse FFT processing. It is possible to acquire the power (FFT maximum power of PCA1) of the up-and-down motion direction and the power (FFT maximum power of PCA2) of the arm swinging direction from the FFT processing result. The FFT processing and the inverse FFT processing are used, whereby it is possible to reduce the amount of calculation and to achieve high-speed processing.
As shown in
Subsequently, the frequency analysis processing unit (autocorrelation processing unit) 184 performs FFT processing for the first principal component data (PCA1) for the last two seconds set as a processing target (Step c3).
Subsequently, the frequency analysis processing unit (autocorrelation processing unit) 184 performs inverse FFT processing for the FFT processing result of Step c3 (Step c7). Then, the frequency analysis processing unit (autocorrelation processing unit) 184 performs peak detection for the inverse FFT processing result and acquires the frequency (first variation cycle) of PCA1 and the power (first variation intensity) of autocorrelation (Step c9).
Thereafter, the frequency analysis processing unit (autocorrelation processing unit) 184 reads the second principal component data (PCA2) from the previous data 221 and the present data 223 referring to the analysis result data 22 and sets the second principal component data (PCA2) for the last two seconds as a processing target (Step c11). Then, similarly to Steps c3 to c7, the frequency analysis processing unit (autocorrelation processing unit) 184 performs FFT processing for the second principal component data (PCA2) for the last two seconds set as a processing target (Step c13) and performs inverse FFT processing for the FFT processing result of Step c13 (Step c17). Then, the frequency analysis processing unit (autocorrelation processing unit) 184 performs peak detection for the inverse FFT processing result and acquires the frequency (variation cycle) of PCA2 (Step c19).
Prior to the inverse FFT processing of Steps c7 and c17, a frequency out of a frequency region assumed to be the first principal component direction component or the second principal component direction component may be cut, whereby it is possible to improve the precision of the autocorrelation processing.
According to the frequency analysis processing (autocorrelation processing) described above, it is possible to acquire the frequency (first variation cycle) of PCA1 and the frequency (second variation cycle) of PCA2 without erroneous calculation. As a result, the improvement of calculation precision of the estimated moving speed described below is achieved. The correlation value can be acquired as the power (first and second variation intensities) of PCA1 and PCA2.
Returning to
Subsequently, the state determination unit 185 performs state determination processing for determining the exercise state of the user (Step a9). In the state determination processing, the state determination unit 185 performs determination of whether the state of the user is “running” or “walking” which is a moving exercise state, or “out of moving exercise state”.
A determination principle of whether the state of the user is “running” or “walking” will be described referring to
First,
The illustrated moving exercise state condition and state determination condition are based on the typical example shown in
On the other hand, the user may view the display of the running watch 1 during running or walking, or may perform an operation (abnormal operation) to wipe the sweat no occurring during the normal arm swinging operation, and in this case, the direction of the principal component of the detected acceleration, that is, the scattering direction is displaced. In learning processing described below, after a characteristic value is collected in the course of the speed estimation processing, the moving speed relational expression for estimating the moving speed of the user is updated. For this reason, if a characteristic value obtained when the abnormal operation is performed is used in the learning processing, there is a problem in that the calculation precision of the estimated moving speed is degraded. Even when the user temporarily stops running or walking, or completely stops running or walking, the same problem occurs.
Accordingly, the state determination unit 185 first performs determination of whether or not an abnormal operation as the state of the user is performed. The abnormal operation may be determined by an eigenvector inner product (inner product value) of a present eigenvector and a previous eigenvector, or when it is confirmed that the relationship between the frequency (second variation cycle) of PCA2 and the frequency (first variation cycle) of PCA1 is largely deviated with large change of the eigenvector inner product, this may be used to determine “abnormal operation”.
As shown in
Next, the state determination unit 185 sets a threshold value (for example, 1.5 Hz) of a predetermined frequency to be applied to the frequency of the first variation cycle (the frequency of PCA1) and the frequency of the second variation cycle (the frequency of PCA2) for state determination in the acquired first variation cycle and second variation cycle (Step d3).
Subsequently, the state determination unit 185 determines the state of the user based on the values of the frequency of PCA1 and the frequency of PCA2 to the threshold value of the frequency set in Step d3. For example, as shown in
In Step d5, when both the frequency of PCA1 and the frequency of PCA2 are in a state different from the state of exceeding the threshold value (Step d5: No), the state determination unit 185 progresses to subsequent Step d9.
Subsequently, as shown in
In Step d9 of
Returning to
When the reliability of the GPS satellite signal does not satisfy the low reliability condition or when the state of the user set in the state determination result 23 is not “out of moving exercise state”, the learnability determination unit 186 determines that learning is performed.
When learning is not performed, this means that the update of the learning data 26 in the latter learning processing is not performed. According to the above-described learnability determination processing, it is possible to inhibit the update of the learning data 26 when the reliability of the GPS satellite signal satisfies the low reliability condition or when the user is not in the moving exercise state, and to inhibit the use of the learning data 26 to learn or update the moving speed relational expression using the learning data 26. With this, it is possible to reduce a situation in which the calculation precision of the estimated moving speed is degraded.
Then, as a result of the learnability determination processing of Step a11, when it is determined that learning is performed (Step a13: Yes), the learning processing unit 187 performs learning processing (Step a15) and thereafter, progresses to Step a17. When it is determined that learning is not performed (Step a13: No), the learning processing of Step a15 is not performed and the process progresses to Step a19.
As shown in
Returning to
Here, the variation cycle corresponding to the number of steps (pitch) of the user per unit time is highly correlated with the moving speed of the user. It is also considered that the intensity (variation intensity) of the variation cycle is correlated with the moving speed of the user. Accordingly, in this embodiment, in
In the derivation of the moving speed relational expression, a sequential statistical method other than the above-described least squares method may be used.
Thereafter, the learning processing unit 187 sets the newly determined probability variable wj with the moving speed relational expression derived by the least squares method using the learning data 26 as the moving speed relational expression for walking to update the moving speed relational expression data 273 (f5).
According to the above-described learning processing, it is possible to derive the moving speed relational expression for walking or running using the characteristic value, such as the variation cycle or variation intensity correlated with the moving speed of the user. When deriving the moving speed relational expression for walking or running, the GPS moving speed can be used. The GPS moving speed is the value when it is determined that the reliability of the GPS satellite signal does not satisfy the low reliability condition in the former learnability determination processing.
Returning to
As described above, after the estimated moving speed is calculated, subsequently, the vehicle determination unit 189 performs vehicle determination processing (Step a19). For example, when the value of the frequency of the variation cycle corresponding to the number of steps (pitch) of the user per unit time is sufficiently small and the user is in a non-exercise state other than the moving exercise state of “running” or “walking”, and when the GPS moving speed is sufficiently fast, the vehicle determination unit 189 determines that the user is in a vehicle, such as a bicycle, a motorcycle, an automobile, or a train. The threshold value of the frequency of at least one of the first variation cycle and the second variation cycle for the determination of whether or not the user is in the non-exercise state and the threshold value for the determination of the GPS moving speed may be set in advance.
As another example, even though the frequency of the variation cycle is equal to or greater than a predetermined threshold value and the user is in the moving exercise state, when the GPS moving speed is sufficiently fast, it is considered that the user is in the vehicle and “running” or “walking” (for example, walking in a train). Accordingly, the threshold value of the frequency of the variation cycle for the determination of whether or not the user is in the moving exercise state and the threshold value for the determination of the GPS moving speed may be set in advance, and the above-described case may be determined to be in the vehicle.
Then, when the user is not in the vehicle based on the result of the vehicle determination processing of Step a19 (Step a21: No), the moving speed output control unit 190 outputs the estimated moving speed as the moving speed of the user (Step a25). When it is determined to be in the vehicle (Step a21: Yes), the moving speed output control unit 190 outputs the GPS moving speed as the moving speed of the user (Step a23). Thereafter, single speed estimation processing ends.
With this processing, when the user is in the vehicle, it is possible to output the GPS moving speed as the moving speed of the user, instead of the estimated moving speed. When the user is not in the vehicle, it is possible to output the estimated moving speed as the moving speed of the user.
As described above, according to this embodiment, the scattering direction of the distribution of the acquired three-axis detected acceleration is analyzed by the principal component analysis, for example, the direction of the distribution of the top two principal components is separated and extracted, and the values, such as the variation cycle or variation intensity of the principal component direction, which has an influence on the moving speed can be acquired as the characteristic value in the distribution coordinate. Then, it is possible to estimate the moving speed of the user selectively using the moving speed relational expression for running or the moving speed relational expression for walking according to whether the state of the user is “running” or “walking” while learning and updating the moving speed relational expressions arbitrarily using the acquired characteristic value. Accordingly, it is possible to calculate the estimated moving speed as the moving speed specific to the state of the user, who is running, walking, or the like, with high precision.
In the above-described embodiment, the estimated moving speed is calculated using the moving speed relational expression for running and the moving speed relational expression for walking while learning and updating the moving speed relational expression for running and the moving speed relational expression for walking arbitrarily using the variation cycle and the variation intensity as the characteristic value. However, the characteristic value for use in the learning of the moving speed relational expression for running and the moving speed relational expression for walking is not limited to the two values. For example, a configuration in which at least one of the two values is used as the characteristic value may be made. Furthermore, other values correlated with the moving speed of the user may be further used, or a plurality of the values may be used as the characteristic value in combination.
In the above-described embodiment, although the wrist mounting running watch 1 has been illustrated as the portable apparatus including the speed estimation device, the invention is not limited thereto, and for example, the invention may be realized as a portable apparatus which is used in a state of being mounted on another part of the four limbs of the user, for example, an ankle or an upper arm. The mounting part of the portable apparatus is not limited to the four limbs of the user, and may be an arbitrary position of the body. For example, the portable apparatus may be mounted on a waist through a belt.
The satellite signal for positioning is not limited to the GPS satellite signal, and a configuration in which a satellite signal for positioning of a wide area augmentation system (WAAS), a quasi zenith satellite system (QZSS), a global navigation satellite system (GLONASS), GALILEO, or the like is used may be made.
The entire disclosure of Japanese Patent Application Nos. 2013-229328, filed Nov. 5, 2013 and 2014-160179, filed Aug. 6, 2014 are expressly incorporated by reference herein.
Number | Date | Country | Kind |
---|---|---|---|
2013-229328 | Nov 2013 | JP | national |
2014-160179 | Aug 2014 | JP | national |