CN105043410A - Pedometer - Google Patents

Pedometer Download PDF

Info

Publication number
CN105043410A
CN105043410A CN201510385607.0A CN201510385607A CN105043410A CN 105043410 A CN105043410 A CN 105043410A CN 201510385607 A CN201510385607 A CN 201510385607A CN 105043410 A CN105043410 A CN 105043410A
Authority
CN
China
Prior art keywords
acceleration
duration
module
time window
peak
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510385607.0A
Other languages
Chinese (zh)
Other versions
CN105043410B (en
Inventor
刘均
张小艳
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201510385607.0A priority Critical patent/CN105043410B/en
Publication of CN105043410A publication Critical patent/CN105043410A/en
Application granted granted Critical
Publication of CN105043410B publication Critical patent/CN105043410B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a pedometer. The pedometer comprises: a gathering module for gathering the triaxial acceleration of swinging of an arm according to a preset sampling frequency; a processing module for carrying out smoothing processing on the reference acceleration of the triaxial acceleration within a preset acquisition duration to obtain a processed acceleration; a first acquisition module for acquiring an effective characteristic acceleration from the processed acceleration; a recording module for recording the time position of the effective characteristic acceleration; a determination module for determining a first time window adopting the time position of a target characteristic acceleration as a center; a calculating module for calculating the similarity of processed acceleration wave shapes in the first time window and a second time window; a first judging module for judging whether the acceleration is periodic or not according to the similarity; and a step counting module for determining the duration of the first time window as a gait period when the acceleration is periodic and carrying out step counting on the processed acceleration according to the gait period in order to obtain effective steps. The pedometer can reduce the false counting or miss counting in the step counting process, and improves the step counting accuracy.

Description

A kind of passometer
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of passometer.
Background technology
Along with the development of modern science and technology and the raising of people's living standard, Intelligent worn device progressively develops in China and starts to extend to every field.At present, most Intelligent worn device is all configured with passometer, can walk the carrying out meter of the walking states of people or running state.Existing passometer detects the acceleration signal of wearer's wrist mostly by acceleration transducer, then utilize the peak-to-valley value of acceleration signal to carry out meter step to wearer.Due in the daily walking process of wearer, swinging arm is complicated and changeable, and different wearer also also exists the difference of swinging arm, in addition the interference of noise, and as a rule, a complete gait cycle segmentation can be not obvious.Therefore, the peak-to-valley value entered by means of resultant acceleration signal carries out meter step, easily occurs error count or leaks situation about counting.Visible, existing passometer also exists larger error.
Summary of the invention
The invention discloses a kind of passometer, when can improve user's walking or run, carry out counting the accuracy of step.
The invention discloses a kind of passometer, comprising:
Acquisition module, for gathering the 3-axis acceleration of arms swing according to default sample frequency;
Processing module, for obtaining the reference acceleration preset and gather described 3-axis acceleration in duration, and obtains processing acceleration to the smoothing process of described reference acceleration;
First acquisition module, validity feature acceleration is obtained in the described process acceleration that obtains from described processing module, wherein, described validity feature acceleration is the effective value of characteristic acceleration in described process acceleration, and described characteristic acceleration comprises peak accelerator and valley acceleration;
Logging modle, for recording the time location of described validity feature acceleration in described default collection duration that described first acquisition module gets;
Determination module, for determining the very first time window centered by the time location of target signature acceleration, wherein, described target signature acceleration is any one in described validity feature acceleration;
Computing module, for calculating the similarity of the process Acceleration pulse in described very first time window and the process Acceleration pulse in the second time window, described very first time window is adjacent with described second time window position, and duration is equal;
First judge module, for the described similarity calculated according to described computing module, judges whether described process acceleration has periodically;
Pedometer module, when process acceleration for judging in described default collection duration at described first judge module has periodically, the duration of described very first time window is defined as gait cycle, and according to described gait cycle, meter step is carried out to obtain multiple effective step to described process acceleration.
Implement the present invention, there is following beneficial effect:
In the present invention, the acquisition module in passometer, for gathering the 3-axis acceleration of arms swing according to default sample frequency; Processing module, for obtaining the reference acceleration preset and gather 3-axis acceleration in duration, and obtains processing acceleration to the smoothing process of this reference acceleration; First acquisition module, for obtaining validity feature acceleration from this process acceleration; Logging modle, for recording the time location of described validity feature acceleration in described default collection duration; Determination module, for determining the very first time window centered by the time location of target signature acceleration; Computing module, for calculating the similarity of the process Acceleration pulse in this very first time window and the process Acceleration pulse in the second time window; First judge module, for according to this similarity, judges that this is preset the process acceleration gathered in duration and whether has periodically; Pedometer module, for when the judged result of this first judge module is for being, is defined as gait cycle by the duration of this very first time window, and carries out meter step according to this gait cycle to this process acceleration.Pass through the present invention, passometer can screen process acceleration, reject invalid characteristic acceleration, and then the gait cycle processing acceleration in this preset duration is searched by laddering lookup method, according to gait cycle, meter step is carried out to user movement, the error count that when can reduce user's walking like this or run, meter walks or leakage meter situation, improve the accuracy of meter step.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of passometer disclosed by the invention;
Fig. 2 is the structural representation of another kind of passometer disclosed by the invention;
Waveform schematic diagram when Fig. 3 is a kind of passometer meter step disclosed by the invention.
Embodiment
Below in conjunction with the drawings and Examples in the present invention, be clearly and completely described the technical scheme in the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The invention discloses a kind of passometer, when can improve user's walking or run, carry out counting the accuracy of step.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the structural representation of a kind of passometer disclosed by the invention.As shown in Figure 1, this passometer 100 can comprise with lower module:
Acquisition module 101, for gathering the 3-axis acceleration of arms swing according to default sample frequency.
In the embodiment of the present invention, first acquisition module 101 can detect the 3-axis acceleration of user's arms swing by 3-axis acceleration sensor.Wherein, passometer can be applied to the intelligent terminals such as Intelligent bracelet, intelligent watch, smart mobile phone, and the embodiment of the present invention does not limit.Default sample frequency can be 40Hz, 50Hz, even 100Hz, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, 3-axis acceleration sensor goes to realize work based on the ultimate principle of acceleration, because acceleration is a space vector, accurately will understand the motion state of object, the component (i.e. x-axis, y-axis and z-axis) in its three coordinate axis must be recorded.Further, under the occasion of not knowing movement direction of object in advance, application 3-axis acceleration sensor is only had to carry out sense acceleration signal.Because 3-axis acceleration sensor is also based on gravity principle, therefore the inclination angle of twin shaft positive and negative 90 degree or twin shaft 0 ~ 360 degree can be realized with 3-axis acceleration sensor, after correcting, its precision is higher than double-axel acceleration sensor and is greater than that to take measurement of an angle be the situation of 60 degree.Therefore, 3-axis acceleration is the component of acceleration in x-axis in 3 d space coordinate, y-axis and z-axis.
It should be noted that, what the 3-axis acceleration be mentioned in the embodiment of the present invention, reference acceleration, process acceleration, characteristic acceleration, validity feature acceleration and target effective characteristic acceleration etc. represented is acceleration information signal, and the embodiment of the present invention repeats no more.
For example, suppose that presetting sample frequency is 50Hz, so, within the 1S time, acquisition module 101 just can collect 50 3-axis acceleration data.
Processing module 102, for obtaining the reference acceleration preset and gather this 3-axis acceleration in duration, and obtains processing acceleration to the smoothing process of this reference acceleration.
In the embodiment of the present invention, after acquisition module 101 collects 3-axis acceleration, processing module 102 can obtain the reference acceleration value preset and gather each group 3-axis acceleration in duration, and then to the smoothing process of reference acceleration obtained in default collection duration, obtain processing acceleration.It should be noted that, processing module 102 pairs of smoothing process of reference acceleration can eliminate the noise preset and gather in duration.Wherein, it is comparatively level and smooth that smoothing processing mainly uses the mode of neighborhood weighting smothing filtering to make to preset the waveform that in collection duration, reference acceleration signal is formed, that is:
ACC[i]=ACC[i-2]/9+2*ACC[i-1]/9+ACC[i]/3+2*ACC[i+1]/9+ACC[i+2]/9。
In the embodiment of the present invention, presetting and gather duration can be 1s, and also can be 2s, can also be 5s, the embodiment of the present invention limit.
In specific implementation, processing module 102 obtains the concrete mode of the reference acceleration presetting this 3-axis acceleration in collection duration mainly:
Calculate the square root presetting the quadratic sum that three axles gathered in duration accelerate, to obtain the reference acceleration of this 3-axis acceleration.
Concrete, reference acceleration is the resultant acceleration of each group 3-axis acceleration.Therefore, passometer can calculate the square root of its quadratic sum respectively to each the group 3-axis acceleration in default collection duration, thus can obtain reference acceleration corresponding to each group 3-axis acceleration.Namely wherein, ACC_X, ACC_Y, ACC_Z are respectively the X that passometer gathers, Y, the acceleration of Z axis.
For example, suppose at a time, the data of the 3-axis acceleration that acquisition module 101 collects are respectively (1,2,2), and so processing module 102 just can calculate the reference acceleration in this moment and is 1 2 + 2 2 + 2 2 = 3.
First acquisition module 103, obtains validity feature acceleration in this process acceleration of obtaining from above-mentioned processing module 102.
In the embodiment of the present invention, validity feature acceleration is the effective value presetting characteristic acceleration in the process acceleration in collection duration.Wherein, characteristic acceleration comprises peak accelerator and valley acceleration.Therefore, validity feature acceleration can be understood as the effective value preset and gather peak-to-valley value acceleration in process acceleration in duration.It should be noted that, in this process acceleration, validity feature acceleration not only, occurs often in pairs, i.e. the inevitable corresponding effective valley acceleration of effective peak acceleration.
Logging modle 104, for recording the time location of validity feature acceleration in default collection duration that above-mentioned first acquisition module 103 gets.
In the embodiment of the present invention, after the first acquisition module 103 obtains validity feature acceleration from this process acceleration, logging modle 104 can improve and record the time location of each validity feature acceleration.Wherein, logging modle 104 records the time location of effective characteristic acceleration in default collection duration and can be understood as: each time of effective peak-to-valley value acceleration in default collection duration corresponding to present position.
For example, suppose that presetting collection duration 2s gets 200 process acceleration, so the first acquisition module 103 can get peak accelerator and valley acceleration from these 200 process acceleration, after peak accelerator and valley acceleration are screened, obtain effective peak acceleration and effective valley acceleration.Suppose that the position of these effective peak accelerations in these 200 process acceleration is respectively:
The position of effective peak acceleration in these 200 process acceleration has: 10,30,52,72,88,130,154,174 and 195;
The position of effective valley acceleration in these 200 process acceleration has: 24,43,67,81,116,147,163 and 191.
So logging modle 104 just can record these effective peak accelerations and effectively valley acceleration in the default collection duration of 2S in, relative to the time corresponding to 200 process acceleration present positions.
Determination module 105, for determining the very first time window centered by the time location of target signature acceleration.
In the embodiment of the present invention, target signature acceleration is any one in validity feature acceleration, and the embodiment of the present invention does not limit.Therefore, after the first acquisition module 103 gets validity feature acceleration from this process acceleration, logging modle 104 can record this validity feature acceleration and preset at this time location gathered in duration, then determination module 105 can determine the very first time window centered by any one validity feature acceleration (i.e. target signature acceleration) in this validity feature acceleration time point corresponding to position on a timeline further, this very first time window is the time window minimum value preset, and the duration of this very first time window is less than default collection duration, can be 1s, also can be 2s, it can also be minimum single step duration etc., the embodiment of the present invention does not limit.
In the embodiment of the present invention, target signature acceleration can be the peak accelerator in validity feature acceleration, and also can be the valley acceleration in validity feature acceleration, the embodiment of the present invention limit.
Computing module 106, for calculating the similarity of the process Acceleration pulse in this very first time window and the process Acceleration pulse in the second time window.
In the embodiment of the present invention, very first time window is adjacent with the second time window present position, and the duration of this very first time window is equal with the duration of this second time window.Therefore, this passometer 100 can centered by the time point of this target signature acceleration present position, with the half of very first time window for time radius, obtain the waveform of process acceleration in very first time window, then slide very first time window (namely obtaining the second time window), and obtain the waveform of process acceleration in the second time window, the then similarity of both computing module 106 calculating waveform.
Concrete, the similarity that computing module 106 calculates the process Acceleration pulse in this very first time window and the process Acceleration pulse in the second time window can be understood as: computing module 106 is centered by the time point of this target signature acceleration present position, with the half of very first time window for time radius, calculate the similarity between the process acceleration wavelength preset and gather in duration from left to right successively according to the duration of very first time window.
First judge module 107, for according to this similarity, judges whether this process acceleration has periodically.
In the embodiment of the present invention, after above-mentioned computing module 106 calculates similarity, according to this similarity, the first judge module 107 can judge whether preset the process acceleration gathered in duration has periodically.That is, when similarity-rough set is high time, the first judge module 107 just can determine that this process acceleration has periodically, and wherein, periodicity here can refer to reliable double periodicity; When similarity-rough set is low time, the first judge module 107 just can determine that this very first time window duration is not the gait cycle of this process acceleration.
In the embodiment of the present invention, the first judge module 107 calculates similarity and judges that the periodic mode of this process acceleration can be understood as according to similarity:
First judge module 107 is chosen arbitrarily two adjacent waveform segments and is calculated its related coefficient in process acceleration, ascendingly strengthen waveform length (i.e. time window duration) gradually, waveform position is converted gradually by left and the right side, when related coefficient and waveform length reach the parameter and standard of setting, namely stop search, waveform length now corresponds to gait cycle.For the cycle erroneous judgement that the property once in a while or false peak valley point of avoiding cycle capture cause, cycle checking need be carried out further.
In this process acceleration, utilize the gait cycle that gets statistical testing of business cycles successively from left to right, if statistics reaches specified value.Cycle Length is now just as the parameter foundation of next step cycle meter step.
In specific implementation, (1) determines the effective range of gait cycle.
The average natural cadence of normal person is 95 ~ 125 steps/min, and when sample frequency is 50Hz, the average single step sampling length of normal person is [24 ~ 32], in natural cadence situation, and the existence form in cycle:
Monocycle: T1,2 × T1 ..., N1 × T1, the minimum period comprises step number 1;
Binary cycle: T2,2 × T2 ..., N2 × T2, the minimum period comprises step number 2;
Multicycle: T3,2 × T3 ..., N3 × T3, the minimum period comprises step number and fails to understand; Wherein T1, T2, T3 are respectively the minimum positive period of three kinds of situations.
Monocycle be present in wearer's arms swing very standard when or running situation under.In fact, under natural cadence, mostly the state of wearer's walking is to loosen formula, and its swinging arm mostly is the pendulum model in non-critical meaning, and each wearer has its independently swing arm custom substantially, and walking rule now exists mainly with binary cycle form; Multicycle is then periodic abnormal gait, and situation is rare, there will not be when default collection duration is less, judges to be got rid of by Cycle Length in the later stage.Monocycle situation also can list binary cycle or multicycle situation in, by controlling minimum search length from binary cycle, therefore being later stage convenience of calculation and take into account most cases, in calculating process, only judging binary cycle situation.
According to the average single step sampling length of normal person, the shared sampling length [48 ~ 64] of the average two step of normal person can be defined, also the i.e. double-periodic effective range of walking correspondingly; Find in statistical test, the regularity of running is stronger than walking, normal person on average running cadence is naturally 150 ~ 190 steps/min, the shared sampling length of two steps of same its correspondence of sample frequency be [32 ~ 40], so double-periodic effective range suitably can be relaxed according to two sampling lengths that walk of the average running cadence naturally of normal person.
(2) double-periodic very first time window is determined.
Binary cycle search length CYCLE_WINDOW should be positioned at certain interval range [minimum value, maximal value], minimum value should be greater than the maximum sampling length under nature cadence shared by the average single step of normal person and be less than the minimum sampling length shared by the average two step of normal person, and namely minimum value should be positioned at (32 ~ 48).Maximal value should be greater than maximum sampling length shared by the average two step of normal person and the minimum sampling length be less than shared by average three steps of normal person, and namely maximal value should be positioned at (64 ~ 72), and concrete bound can define with reference to double-periodic effective range.
(3) by the similarity of very first time window calculation process Acceleration pulse.
First the starting point PEAK [k] of very first time length of window statistics is determined, laddering acquisition very first time window W (k)=[W1 (k), W2 (k) ... Wn (k)].For obtaining double-periodic Cycle Length, minimum very first time window is from the spacing of two peak accelerators, and namely W1 (k) is corresponding to the average headway of three peak-to-peak value acceleration spacing of peak accelerator sequence after starting point.Wn (k) incrementally adds up the average headway of n+2 peak-to-peak value acceleration of peak accelerator sequence after starting point gradually.
After each acquisition Wn (k), find inside adjacent waveforms section ACC1 and ACC2 corresponding with it, then calculate its similarity:
ACC1←(ACC[i]-DataMeani←VALLEY[k+n]-Wn(k)toVALLEY[k+n])
ACC2←(ACC[i]-DataMeani←VALLEY[k+n]toVALLEY[k+n]+Wn(k))
for(inti=VALLEY[k+n]-Wn(k);i<VALLEY[k+n];i++)
{
A+=ACC1[i]×ACC2[i+Wn(k)];
B+=ACC1[i]×ACC1[i];
C+=ACC2[i+Wn(k)]×ACC2[i+Wn(k)];
}
Rn (k)=A/ (sqrt (B × C)); // calculate related coefficient.
Base=abs((ACC12_MAX+ACC12_MIN)/(ACC12_MAX-ACC12_MIN));
Wherein, PEAK [k] and VALLEY [k] sequence are respectively the peak valley position of resultant acceleration, and DataMean is the average of parent signal section ACC, and ACC12_MAX-ACC12_MIN is the maximin of two subsignal section ACC1, ACC2; Base is the departure degrees of two subsignal sections relative to baseline.
After completing the calculating of process acceleration similarity of laddering time window sequence, find out the time window that similarity is maximum, that is:
R(k)=[R1(k),R2(k),……Rn(k)];
Rmax=max(R(k));
If the Base of Rmax and with it correspondence meets certain threshold accuracy condition and Wn (k) is positioned at double-periodic effective range, then terminate to search, Wn (k) corresponding is with it gait cycle length.
The judgment condition of gait cycle is:
IfRmax>0.9 & & BaseMark<1then judges Wn (k) length
ElseifRmax>0.8 & & BaseMark<0.8then judges Wn (k) length
ElseifRmax>0.7 & & BaseMark<0.6then judges Wn (k) length
The Wn (k) satisfied condition if do not find, then get back to the position starting mobile starting point PEAK [k] and continue to search, until PEAK [k] or ACC1, ACC2 overflow the interval of parent signal section.Parameter in above-mentioned judgment condition is that the present invention constantly adjusts according to actual count test and defines, because its resolution of different acceleration transducer and sample frequency can be not quite similar, therefore actual threshold parameter should do corresponding adjustment according to actual conditions, and the embodiment of the present invention does not limit.
(4) cycle checking
If the gait cycle that previous step obtains exists, and there is consistance in gait cycle and signal amplitude, this gait cycle is then needed to move as moving window the statistical testing of business cycles that starting point carries out the cycle successively, if statistics great majority can reach very high similarity, Cycle Length now just can be used as the cycle meter step that gait cycle enters next step.
In example of the present invention, cadence of naturally walking is obvious to the signal amplitude change of the process acceleration of natural running cadence, and the effective breadth distribution statistics cloth according to process acceleration defines the effective breadth threshold value of cadence to natural running cadence of naturally walking.
If the effective breadth of process acceleration corresponding under current gait cycle meets above-mentioned effective breadth threshold condition, then carry out cycle checking.
The cycle specific implementation process of checking is as follows:
ACC1 starting point: Begin1=0; Signal length: Length1=Gait_Cycle;
ACC2 starting point: Begin2=Gait_Cycle; Signal length: Length2=Gait_Cycle;
Calculate the degree of correlation of ACC1 and ACC2 subsignal, then move the position of Begin1 and Begin2, moving step length can free setting, and such as, moving step length can be decided to be 1/4th of Gait_Cycle.After calculating from left to right, if meet the number of verification condition and always verify that the ratio of number meets the threshold value of setting, Gait_Cycle now can be used as reliable binary cycle length and carries out cycle meter step.
Pedometer module 108, during for judging that at the first judge module 107 this process acceleration has periodically, is defined as gait cycle by the duration of this very first time window, and carries out meter step to obtain multiple effective step according to this gait cycle to this process acceleration.
In the embodiment of the present invention, when the first judge module 107 judges that this process acceleration has periodically, pedometer module 108 will in the duration of this very first time window for gait cycle carries out gait step to this process acceleration.It should be noted that, pedometer module 108 is when the cycle of carrying out meter step, and the meter step number amount in the middle of a gait cycle is 2, and that is, suppose to preset gathering in duration, the gait cycle of process acceleration has 3, and counting step number amount so accordingly should be 6.When carrying out gait cycle meter step, presetting the step number gathered in duration and being all considered as effective step.
In the embodiment of the present invention, passometer is after the 3-axis acceleration collecting arms swing, can obtain processing acceleration to the smoothing process of reference acceleration of 3-axis acceleration in default collection duration, validity feature acceleration is obtained from this process acceleration, and record the time location of this validity feature acceleration in default collection duration, very first time window centered by the time location determining the target signature acceleration in this validity feature acceleration, according to the similarity of the process Acceleration pulse in very first time window and the process Acceleration pulse in the second time window, judge whether this process acceleration has reliable double periodicity, if, the duration of this very first time window is defined as gait cycle, and according to this gait cycle, gait meter step is carried out to this process acceleration.Pass through the embodiment of the present invention, passometer can screen process acceleration, reject invalid characteristic acceleration, and then the gait cycle processing acceleration in this preset duration is searched by laddering lookup method, according to gait cycle, meter step is carried out to user movement, the error count that when can reduce user's walking like this or run, meter walks or leakage meter situation, improve the accuracy of meter step.
Refer to Fig. 2, Fig. 2 is the structural representation of another kind of passometer disclosed by the invention.Wherein, the passometer 100 shown in Fig. 2 optimizes to obtain on the basis of the passometer 100 shown in Fig. 1.As shown in Figure 2, this passometer can also comprise:
In the embodiment of the present invention, the first acquisition module 103 can comprise the first acquiring unit 1031 and screening unit 1032, wherein:
First acquiring unit 1031, for according to Preset Time window, obtains characteristic acceleration from this process acceleration.
Screening unit 1032, for screening this characteristic acceleration according to presetting screening rule, obtains the validity feature acceleration in this characteristic acceleration.
Concrete, the concrete mode that first acquiring unit 1031 obtains characteristic acceleration from this process acceleration can be: first the first acquiring unit 1031 asks for the peak valley acceleration in process acceleration respectively according to 5 methods of searching, such as, if ACC [i+2] is the maximum value satisfied condition in { ACC [i] ACC [i+1] ACC [i+2] ACC [i+3] ACC [i+4] }, can ACC [i+2] be tentatively really then the local peaking's acceleration in process acceleration, i.e. characteristic acceleration.After determining local peak valley acceleration (characteristic acceleration), the first acquiring unit 1031 can carry out neighborhood to local peak valley acceleration successively and be worth most checking, if some peak accelerators are at left and right neighborhood-N 0+ ~ N 0in and the most value of non-process acceleration, then deleted, if so, then retained.Wherein, neighborhood is worth the radius length N of checking most 0needing the length according to effectively walking time window (i.e. Preset Time window) to determine, showing that the length of effectively step time window is generally 0.2s ~ 2s according to lot of experiments.When sample frequency is 50Hz, effectively the sampling length of step time window is just [10 ~ 100], and radius of neighbourhood N 0=WINDOW_MIN/2, namely effectively walks the half of the minimum length of time window.In fact, because step number detects easily by the interference of noise, effectively the setting of step time window can suitably be loosened, and according to repeatedly test analysis, effectively step time window scope can be [15 ~ 100], and the embodiment of the present invention does not limit.
Concrete, after the first acquiring unit 1031 gets the characteristic acceleration in process acceleration, screening unit 1032 can screen these characteristic acceleration according to presetting screening rule, to obtain validity feature acceleration.Screening unit 1032 according to default screening rule to the concrete mode that characteristic acceleration is screened can be:
For two peak accelerators of arbitrary neighborhood in this characteristic acceleration, judge whether the first interval duration between these adjacent two peak accelerators is less than default minimum single step duration;
If this first interval duration is less than this preset minimum single step duration, then retain the peak accelerator that in these adjacent two peak accelerators, numerical value is maximum;
If this first interval duration is more than or equal to this preset minimum single step duration, then judge whether there is a valley acceleration between these adjacent two peak accelerators;
If there is valley acceleration between these adjacent two peak accelerators, then these adjacent two peak accelerators and this valley acceleration are defined as validity feature acceleration;
If there is not valley acceleration between these adjacent two peak accelerators, then retain the peak accelerator that in these adjacent two peak accelerators, numerical value is maximum;
Valley acceleration between the peak accelerator of reservation and the peak accelerator of this reservation is defined as validity feature acceleration.
In specific implementation, presetting minimum single step duration is according to testing the minimum single step duration drawn in a large number.Therefore, screen unit 1032 can repeatedly screen this characteristic acceleration successively.First screening unit 1032 screens characteristic acceleration, judge whether the first interval duration between arbitrary neighborhood two peak accelerators is less than default minimum single step duration successively, if this first interval duration is less than default minimum single step duration, just retain the peak accelerator that in these adjacent two peak accelerators, numerical value is maximum, reject the peak accelerator that in these adjacent two peak accelerators, numerical value is minimum, and then repeatedly compare screening with other adjacent peak acceleration, until this first interval duration is greater than default minimum single step duration; If this first interval duration is greater than default minimum single step duration, screening unit 1032 just screens again to remaining characteristic acceleration after screening, judge whether there is a valley acceleration between these adjacent two peak accelerators, if have between these adjacent two peak accelerators and only have a valley acceleration, just these adjacent two peak accelerators and the valley acceleration between it are defined as validity feature acceleration; If there is no valley acceleration between these adjacent two peak accelerators, just retain the peak accelerator that in these adjacent two peak accelerators, numerical value is maximum, reject the peak accelerator that in these adjacent two peak accelerators, numerical value is minimum, and then screen, until have between these adjacent two peak accelerators and only have a valley acceleration long.
In specific implementation, the method that the valley acceleration in screening unit 1032 pairs of characteristic acceleration screens is identical with the screening technique of peak accelerator, and the embodiment of the present invention does not repeat them here.Screening unit 1032 is when screening peak accelerator and valley acceleration, and can carry out simultaneously, also first can screen peak accelerator, then screen valley acceleration, the embodiment of the present invention does not limit.
In the embodiment of the present invention, this passometer can comprise:
Second judge module 109, for judging whether the effective breadth that computing module 106 calculates is greater than default effective breadth.
Wherein, computing module 106, after also getting characteristic acceleration for the first acquiring unit 1031 in the first acquisition module 103 from this process acceleration, according to this characteristic acceleration, calculates the effective breadth of this process acceleration.
Concrete, when the first acquiring unit 1031 gets after this presets and gather in duration and process the characteristic acceleration of acceleration, computing module 106 can calculate the amplitude of this process acceleration by characteristic acceleration (i.e. peak-to-valley value acceleration), then get the effective breadth of this process acceleration amplitude, the amplitude as some characteristic acceleration presets as this effective breadth gathering this process acceleration in duration.
Concrete, why computing module 106 calculates the effective breadth of this process acceleration, if be because this process acceleration is the acceleration signal that user produces under motion state, so may there is noise or undesired signal in this process acceleration, so, the characteristic information major part that it comprises all can concentrate within the scope of this certain amplitude presetting process acceleration in collection duration, and the data exceeding this amplitude range may for the acceleration signal under noise signal or other non-athletic states.
In the embodiment of the present invention, after computing module 106 calculates the effective breadth of this process acceleration, the second judge module 109 will judge whether this effective breadth is greater than default effective breadth.This default effective breadth is through the minimum effective breadth tested in a large number and draw.If this effective breadth is greater than default effective breadth.This passometer 100 just can determine that this process acceleration information signal is valid data signal, and the acceleration signal of not noise signal or non-athletic generation, therefore, obtain the time location of target signature acceleration the time location of the validity feature acceleration that determination module 105 will record from logging modle 104 in default collection duration, then determine the very first time window centered by the time location of this target signature acceleration; If this effective breadth is less than default effective breadth, so just show the characteristic information not comprising motion state elder generation in this process acceleration, therefore invalid data-signal can be considered as, then processing module 102 can obtain the reference acceleration preset and gather this 3-axis acceleration in duration again, and obtains processing acceleration to the smoothing process of this reference acceleration.
As a kind of feasible embodiment, after the second judging unit 109 judges that this effective breadth is greater than default effective breadth, this passometer 100 can also perform following operation:
A) according to the validity feature acceleration that screening unit 1032 filters out, calculate the series of features parameter of this process acceleration, according to characteristic parameter, quality evaluation is carried out to this process acceleration.
In specific implementation, passometer 100 to the concrete mode that this process acceleration carries out quality evaluation can be:
A) obtain the amplitude criteria difference of validity feature acceleration respectively according to the amplitude of validity feature acceleration and the position of validity feature acceleration and the separation criteria of validity feature acceleration poor.
Concrete, the amplitude criteria mode that is poor and separation criteria difference that passometer 100 obtains this validity feature acceleration is as follows:
First obtain the amplitude sequence corresponding with it and pitch sequence according to validity feature acceleration, then obtain corresponding standard deviation by criterion calculation formula.
Amplitude sequence: RANGE [k] ← ACC [PEAK [k]]-ACC [VALLEY [k]]
Pitch sequence:
INTERVAL [k] ← PEAK [k+1]-PEAK [k] and VALLEY [k+1]-VALLEY [k]
Wherein PEAK [k] and VALLEY [k] is respectively the time location of validity feature acceleration, and ACC [PEAK [k]] and ACC [VALLEY [k]] is respectively the amplitude size of validity feature acceleration;
B) according to amplitude criteria difference and separation criteria difference, this process acceleration is marked.
DATA_SCORE=100(1-RANGE_STD/RANGE_MEAN)×(1-INTERVAL_STD/INTERVAL_MEAN)
Wherein RANGE_STD and RANGE_MEAN is respectively amplitude criteria difference and the amplitude equalizing value of validity feature acceleration, INTERVAL_STD and INTERVAL_MEAN is respectively separation criteria difference and the spacing average of validity feature acceleration.
Aforesaid operations is for process acceleration carries out ranking, judges the central tendency of this process acceleration and good and bad degree.
B) judge whether this series of features parameter meets the condition threshold preset, and if so, determination module 105 performs the very first time window determined centered by the time location of this target signature acceleration; If not, this passometer 100 does not do any operation.
The setting of score threshold defines according to effectively processing the fractional statistics of acceleration, and the embodiment of the present invention does not limit.
As a kind of feasible embodiment, the first judge module 107 can comprise judging unit 1071, first determining unit 1072 and increase unit 1073, wherein:
Judging unit 1071, for judging whether the similarity that computing module 106 calculates exceedes default similarity threshold.
First determining unit 1072, for when above-mentioned judging unit 1071 judges that this similarity exceedes default similarity threshold, determines that this process acceleration has periodically.
Above-mentioned judging unit 1071, also for when judging that this similarity does not exceed default similarity threshold, judges the duration whether overtime window duration threshold value of this very first time window.
Increase unit 1073, during for judging the non-overtime window duration threshold value of the duration of this very first time window at above-mentioned judging unit 1071, the duration of this very first time window increases target duration, and triggers the operation that computing module 106 performs the similarity calculating the process Acceleration pulse in this very first time window and the process Acceleration pulse in the second time window.
Above-mentioned first determining unit 1072, time also for judging the duration overtime window duration threshold value of this very first time window at above-mentioned judging unit 1071, determines that this process acceleration does not have periodically.
In specific implementation, after the similarity that computing module 106 calculates the process Acceleration pulse in this very first time window and the process Acceleration pulse in the second time window, judging unit 1071 can judge whether this similarity exceedes default similarity threshold.If this similarity exceedes this default similarity, judging unit 1071 just can be verified with this very first time window cycle to this process acceleration successively, if similarity great majority all exceed default similarity, so the first determining unit 1072 just can determine that this process acceleration has reliable double periodicity, thus pedometer module 108 can determine that the gait cycle of this process acceleration is the duration of this very first time window; If this similarity does not exceed this default similarity, so increasing unit 1073 just can by the duration of this very first time window increase target duration, and then triggers computing module 106 with the very first time window after increasing target duration to calculate in each time period the similarity processed between Acceleration pulse.
Optionally, when judging unit 1071 judges that this similarity does not exceed default similarity, judging unit 1071 can judge further the duration whether overtime window duration threshold value of this very first time window, wherein, this time window duration threshold value can refer to double-periodic seek scope, this double-periodic seek scope extrapolates in strict accordance with effective single step step-length of natural cadence, be limited to as follows (32 ~ 48), the upper limit is (64 ~ 72) etc., and the embodiment of the present invention does not limit.Judging unit 1071 also can judge whether the waveform terminal that the second time window is corresponding exceedes default collection duration.If the duration of this very first time window exceedes double-periodic seek scope or waveform terminal corresponding to the second time window and exceedes and preset sampling duration, just show that this process acceleration does not have reliable double periodicity, so pedometer module 108 will according to the time of each validity feature acceleration (i.e. peak-to-valley value acceleration) present position in default collection duration, peak valley meter step is carried out to this process acceleration, a step can be defined as between two peak accelerators corresponding to two time points as adjacent in position on a timeline, therefore, the meter step number amount of user in default collection duration can add 1, if the duration of this very first time window does not exceed this double-periodic seek scope or waveform terminal corresponding to the second time window and does not exceed and preset sampling duration, increase unit 1073 and the duration of this very first time window will be increased target duration, then judging unit 1071 checks by left and right the similarity processed between Acceleration pulse to the very first time window after increase again, until the twice of the duration of this very first time window is more than or equal to preset gather duration, if similarity degree is all less than default similarity always, so the first determining unit 1072 just can determine that this process acceleration does not have reliable double periodicity, if after the duration of this very first time window is increased target duration, the process Acceleration pulse of this very first time window and the process Acceleration pulse similarity of the second time window and default similarity compare by judging unit 1071 again, obtain this similarity when exceeding or equal default similarity, the first determining unit 1072 will determine that this process acceleration has periodically.
In specific implementation, mainly in laddering mode of searching, target duration is increased to the duration of very first time window, thus judge this process acceleration whether there is stronger regularity.
For example, suppose in the default collection duration of 5s, processing module 102 is through the disposal of gentle filter to 3-axis acceleration, 500 process acceleration are got, in these 500 process acceleration, first acquisition module 103 gets validity feature acceleration and comprises effective peak acceleration and effective valley acceleration, have 100, then logging modle 104 can record the position of these 100 validity feature acceleration residing in 500 process acceleration, and according to its present position, obtain time point on a timeline.When the first judge module 107 judges that the process acceleration obtained in this 5s does not have proper periodicity or do not have periodically within binary cycle seek scope, pedometer module 108 will carry out peak valley step in the position residing for these 100 validity feature acceleration.Specifically by the time interval judged between validity feature acceleration whether consistent with the amplitude of variation of validity feature acceleration and determine whether meter step, if the time interval between validity feature acceleration is consistent with the amplitude of variation of validity feature acceleration, just show between this validity feature acceleration, to meet meter step condition.The amplitude of variation of every a pair effective peak-to-valley value represents the variable quantity of each step acceleration, for same wearer, along with its acceleration of change of each step time window also can change, the amplitude of variation of single step time window its effective peak-to-valley value less is larger, otherwise less.In pedometer module, each group single step time interval [WINDOW ~ WINDOW+DELTA] has its corresponding single step amplitude threshold PEAK_VALLEY_RANGE.Wherein, the upsample length DELTA in each group single step time interval can be 3, also can be 5, corresponding adjustment can be done according to actual conditions, the concrete defining method of single step amplitude threshold is Changing Pattern according to acceleration under movement velocitys different in wearer's motion process and sets, and the embodiment of the present invention does not limit.
Such as, if the amplitude of two its effective peak-to-valley values of validity feature acceleration that position is adjacent meets the single step amplitude threshold under the corresponding time interval, then be designated as a step between these two adjacent effective peak-to-peak values or paddy valley, the time being spaced apart a step between its present position, otherwise less that of validity feature acceleration amplitude does not enter meter step.
In the embodiment of the present invention, pedometer module 108, for when the first judge module 107 judges that this process acceleration does not have reliable double periodicity, carries out meter step according to the time location of validity feature acceleration in default collection duration to this process acceleration.
As a kind of feasible embodiment, this pedometer module 108 can comprise the concrete mode that this process acceleration carries out counting step according to the time location of validity feature acceleration in default collection duration:
Judge whether the second interval duration in validity feature acceleration between arbitrary neighborhood two peak accelerators is less than or equal to default maximum single step duration; When this second interval duration is less than or equal to this default maximum single step duration, judge that whether the time interval between two effective peak-to-peak values is consistent with the amplitude of variation of effective peak-to-valley value, if consistent, determine to be an effectively step between these adjacent two peak accelerators, otherwise, a pair peak-to-valley value that amplitude is less does not enter meter step, need find another effective peak-to-valley value be adjacent and larger that of amplitude judges effective peak-to-valley value; When this second interval duration is greater than this default maximum single step duration, determine that between these adjacent two peak accelerators be an invalid step.
Concrete, pedometer module 108 is when carrying out peak valley meter step, the time interval often between adjacent two peak accelerators can be judged, if this time interval has exceeded the maximum single step duration preset, so just determine that the meter step between these adjacent two peak accelerators is an invalid step.Contrary, if this time interval does not exceed default maximum single step duration, so just judge whether the amplitude of variation of time interval between these adjacent two peak accelerators and effective peak-to-valley value is consistent and determine whether the meter step between these adjacent two peak accelerators to be considered as an effectively step.
In the embodiment of the present invention, this passometer 100 can also comprise:
Step number determination module 111, for obtaining the meter step data of pedometer module 108, when in this meter step data, effectively step number reaches the first quantity, is added in meter step number amount by fixed effective step; When step number invalid in this meter step data reaches the second quantity or effectively step number does not reach the first quantity, do not carry out step number and add up, continue to find effectively step and invalid step.
In the embodiment of the present invention, the first quantity is greater than the second quantity, and this first quantity can be 5 also can be the 4, second quantity can be 2, and the embodiment of the present invention does not limit.Therefore, when pedometer module 108 determines that effectively after step and invalid step, this step number determination module 111 can obtain the meter step data of pedometer module 108, obtain total counting step number amount to add up this step data.
For example, step number determination module 111 carries out step number when determining, when counting that in step data, effectively step number reaches 5, this step number determination module 111 can by these 5 effectively step count in step number amount, and enter deterministic model.After step number determination module 111 enters deterministic model, often there is one or 2 effectively step, meter step number amount will be added 1 or add 2.When counting invalid step number in step data and reaching 2 or when effectively step number is less than 5, this step number determination module 111 will enter search pattern, therefore, under search pattern, this step number determination module 111 can not carry out meter step to effectively walking, and therefore, the meter step number amount under search pattern can remain unchanged.In this way, this step number determination module 111 can obtain one and amount to step number amount, and namely this total step number amount can be considered as the meter step number amount of user under actual motion state.
In the embodiment of the present invention, after step number determination module 111 determines total step number amount, this passometer 100 can obtain according to the height of the user of default storage the length that strides that user runs under state or ambulatory status, thus the speed of user movement can be calculated, the product namely striden between long and the step number of unit interval.When getting the T.T. of user movement, the distance of user movement just can be obtained according to the speed of motion and the product between T.T..
Further, this passometer 100 can also determine the calorie total flow in user movement process according to the calorie consumed under the distance of user movement and various motion state.As under user's running state, caloric consumption=1.25* velocity in the unit interval.The mode embodiment of the present invention calculating calorie total flow does not limit.Last after passometer 100 obtains these data such as motion state, move distance, movement velocity, calorie consumption amount of user, these data can be uploaded to user terminal by the wireless network such as bluetooth, NFC or cloud server backs up.
Again for example, refer to Fig. 3, waveform schematic diagram when Fig. 3 is a kind of passometer meter step disclosed by the invention.As shown in Figure 3, acquisition module 101 collect preset gather duration as the 3-axis acceleration in 5s after, 3-axis acceleration can carry out calculating reference acceleration by processing module 102, waveform between each reference acceleration is as schemed the reference acceleration waveform of (a) and figure (b) in Fig. 3, and then to the smoothing filtering process of these reference acceleration waveforms, obtain respective process acceleration.First acquisition module 103 can find out characteristic acceleration in the mode of neighborhood checking in process acceleration, namely the peak-to-valley value in oscillogram, and then screening is carried out to the peak-to-valley value found obtain effective peak-to-valley value, logging modle 104 also records the time location of effective peak-to-valley value in default collection duration, as A, B, C, M, N point in Fig. 3 is effective valley point, i.e. valley acceleration.Suppose that user is in motion process, swing arm is had to disturb, and the first acquisition module 103 is when screening the peak-to-valley value in default collection duration, as the D point in figure (a), E point and F point, swing arm is supposed to disturb and the F point peak value of generation does not filter out, therefore after passometer finds the gait cycle of this default process acceleration gathered in duration by very first time window, in the process of the cycle of carrying out meter step, the peak interference of F point can not affect meter step result, therefore, the disturbing acceleration omitted can be avoided the impact of meter step by cycle meter step, making to succeed in one's scheme, it is more accurate to walk.After the checking layer by layer to gait cycle, when first judge module 107 determines that this process acceleration does not have reliable double periodicity, pedometer module 108 will carry out peak valley step in the peak-to-valley value (i.e. validity feature acceleration) processed in acceleration, and between the effective peak that namely effective peak is adjacent, (or between effective valley of being adjacent of effective valley) is defined as a meter step duration.Wherein, count walk duration as between M point and N point being one in figure (b), P point and Q point are due to when carrying out effective peak-to-valley value screening, and its time interval is less than minimum single step duration, just only remain P point, and are defined as effective peak acceleration.If the screening that interference peak value Q point has escaped effective peak enters into peak valley meter step link, in meter step processing procedure, the intervention of Q point can cause when single step duration in pre-treatment acceleration obviously shortens, now, need the relation judging duration and acceleration amplitude, when duration obviously shortens, the acceleration amplitude corresponding because of Q point is inconsistent with single step duration, can not carry out meter walk lower than single step amplitude threshold corresponding under corresponding duration as effective peak acceleration.
In the embodiment of the present invention, this passometer 100 can also comprise:
Second acquisition module 110, for obtaining motion state respective in adjacent m this default collection duration.
In the embodiment of the present invention, when pedometer module 108 is to after in default collection duration, this process acceleration carries out gait meter step, the second acquisition module 110 can obtain further adjacent m this preset and gather motion state respective in duration.
As a kind of embodiments possible, second acquisition module 110 comprises second acquisition unit 1101, computing unit 1102 and the second determining unit 1103, and mode that so the second acquisition module 110 is obtaining the motion state that each is preset in collection duration can be just:
Second acquisition unit 1101, for obtaining adjacent m this default effective step number amount gathered in duration.
Computing unit 1102, for this presets collection duration for each, calculates this according to this effective step number gauge and presets the cadence gathered in duration, and obtains this default amplitude gathering described process acceleration in duration.
Second determining unit 1103, for being greater than the first cadence threshold value when this cadence, and when this amplitude is greater than the first amplitude threshold, presetting this motion state gathered in duration and being defined as the first motion state; Be less than this first cadence threshold value when this cadence and be greater than the second cadence threshold value, when this amplitude is less than this first amplitude threshold and is greater than the second amplitude threshold, this being preset the motion state gathered in duration and is defined as the second motion state.
In specific implementation, when second acquisition module 110 determines the motion state in a default collection duration, first second acquisition unit 1101 can obtain adjacent m this default duration interior process acceleration that gathers carries out counting the meter step number amount walked, then computing unit 1102 is preset for each and is gathered duration, calculate this according to this meter step number amount and preset the cadence gathered in duration, namely this meter step number amount obtains cadence divided by this default duration that gathers, and obtain the amplitude that this presets this process acceleration in collection duration, then successively the amplitude of the cadence in this default collection duration and process acceleration is judged.When judging that this cadence is greater than the first cadence threshold value, and when this amplitude is greater than the first amplitude threshold, it is the first motion state that the second determining unit 1103 determines that this presets the motion state gathered in duration; When judging that this cadence is less than the first cadence threshold value and is greater than the second cadence threshold value, when this amplitude is less than the first amplitude threshold and is greater than the second amplitude threshold, it is the second motion state that the second determining unit 1103 determines that this presets the motion state gathered in duration.
In specific implementation, when judge this preset the cadence gathered in duration be more than or equal to normal running state under minimum cadence, amplitude is also more than or equal to the minimum radius under normal running state, and so the second determining unit 1103 just can determine that this presets the motion state gathered in duration is running state; And when judge this preset the cadence gathered in duration be less than normal running state under minimum cadence, and the minimum cadence under being greater than the state of jogging, amplitude is less than the minimum radius under normal running state, and the minimum radius under being greater than the state of jogging, so the second determining unit 1103 just can determine that this presets the motion state gathered in duration is the state of jogging.Cadence under ambulatory status and other motion states and the judgement of acceleration amplitude, the embodiment of the present invention does not repeat them here.
In the embodiment of the present invention, the motion state of user can be divided into the state of hurrying up, state of jogging, fast ambulatory status and stroll state etc., and the embodiment of the present invention does not limit.
In the embodiment of the present invention, determination module 105, time also for getting motion state respective in adjacent m this default collection duration at the second acquisition module 110, by under same kind motion state, comprise this motion state presetting collection duration quantity maximum and be defined as user movement state.
Concrete, after the second acquisition module 110 gets the motion state of each default collection duration in m adjacent default collection duration, determination module 105 can be added up the motion state of each type, and select to wrap to preset and gather duration quantity the most eurypalynous motion state, this motion state is defined as user movement state.Wherein, m can be 20,30,50 etc., and the embodiment of the present invention does not limit.
In the embodiment of the present invention, passometer is screening the characteristic acceleration in process acceleration, after obtaining validity feature acceleration, the effective breadth of this process acceleration is determined by validity feature acceleration, again verified by the reliability of effective breadth to this processing signals, can avoid like this carrying out meter step to unnecessary acceleration signal, when improving user's walking or run, carry out counting the accuracy of step.And passometer can carry out cycle meter step when judging that in default collection duration, this process acceleration has reliable double periodicity, judging can carry out peak valley meter step when this process acceleration does not have reliable double periodicity, this adaptometer one step process can improve meter step efficiency to user and accuracy.Passometer can be determined its motion state, then be stored in the database of this passometer after carrying out meter step to each process acceleration preset in collection duration.Passometer is when determining user movement state, the motion state in multiple default collection duration can be added up, only have when in the motion state in multiple default collection duration, when the motion state quantity of same type reaches predetermined number, just can determine that the motion state of the type is user movement state.By the embodiment of the present invention, passometer can determine the motion state of user by the motion state in multiple default collection duration, reducing the contingency of motion state when determining, improving the accuracy to user movement condition adjudgement.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a passometer, is characterized in that, comprising:
Acquisition module, for gathering the 3-axis acceleration of arms swing according to default sample frequency;
Processing module, for obtaining the reference acceleration preset and gather described 3-axis acceleration in duration, and obtains processing acceleration to the smoothing process of described reference acceleration;
First acquisition module, validity feature acceleration is obtained in the described process acceleration that obtains from described processing module, wherein, described validity feature acceleration is the effective value of characteristic acceleration in described process acceleration, and described characteristic acceleration comprises peak accelerator and valley acceleration;
Logging modle, for recording the time location of described validity feature acceleration in described default collection duration that described first acquisition module gets;
Determination module, for determining the very first time window centered by the time location of target signature acceleration, wherein, described target signature acceleration is any one in described validity feature acceleration;
Computing module, for calculating the similarity of the process Acceleration pulse in described very first time window and the process Acceleration pulse in the second time window, described very first time window is adjacent with described second time window position, and duration is equal;
First judge module, for the described similarity calculated according to described computing module, judges whether described process acceleration has periodically;
Pedometer module, when process acceleration for judging in described default collection duration at described first judge module has periodically, the duration of described very first time window is defined as gait cycle, and according to described gait cycle, meter step is carried out to obtain multiple effective step to described process acceleration.
2. passometer according to claim 1, is characterized in that, described first acquisition module comprises the first acquiring unit and screening unit, wherein:
Described first acquiring unit, for according to Preset Time window, obtains characteristic acceleration from described process acceleration;
Described screening unit, for screening described characteristic acceleration according to presetting screening rule, obtains the validity feature acceleration in described characteristic acceleration.
3. passometer according to claim 2, is characterized in that, described screening unit screens described characteristic acceleration according to default screening rule, and the concrete mode obtaining the validity feature acceleration in described characteristic acceleration is:
For two peak accelerators of arbitrary neighborhood in described characteristic acceleration, judge whether the first interval duration between described adjacent two peak accelerators is less than default minimum single step duration;
If described first interval duration is less than described default minimum single step duration, then retain the peak accelerator that in described adjacent two peak accelerators, numerical value is maximum;
If described first interval duration is more than or equal to described default minimum single step duration, then judge whether there is a valley acceleration between described adjacent two peak accelerators;
If there is valley acceleration between described adjacent two peak accelerators, then described adjacent two peak accelerators and described valley acceleration are defined as validity feature acceleration;
If there is not valley acceleration between described adjacent two peak accelerators, then retain the peak accelerator that in described adjacent two peak accelerators, numerical value is maximum;
Valley acceleration between the peak accelerator of the peak accelerator of reservation and described reservation is defined as validity feature acceleration.
4. passometer according to claim 2, is characterized in that,
Described computing module, the described characteristic acceleration also for getting according to described first acquiring unit, calculates the effective breadth of described process acceleration;
Described passometer also comprises:
Second judge module, for judging whether the described effective breadth that described computing module calculates is greater than default effective breadth, if described effective breadth is greater than described default effective breadth, then trigger the operation of the very first time window of determination centered by the time location of target signature acceleration described in the execution of described determination module.
5. the passometer according to any one of Claims 1 to 4, is characterized in that, described first judge module comprises judging unit, the first determining unit and increases unit, wherein:
Described judging unit, for judging whether described similarity exceedes default similarity threshold;
Described first determining unit, for when described judging unit judges that described similarity exceedes described default similarity threshold, determines that described process acceleration has periodically;
Described judging unit, also for when judging that described similarity does not exceed described default similarity threshold, judges the duration whether overtime window duration threshold value of described very first time window;
Described increase unit, during for judging that the duration of described very first time window does not exceed described time window duration threshold value at described judging unit, the duration of described very first time window is increased target duration, and the operation of the similarity of the process Acceleration pulse of the described very first time window of calculating triggered described in the execution of described computing module and the process Acceleration pulse of the second time window.
6. passometer according to claim 5, is characterized in that,
Described first determining unit, time also for judging the duration overtime window duration threshold value of described very first time window at described judging unit, determines that described process acceleration does not have periodically;
Described pedometer module, time also for determining that in described determining unit described process acceleration does not have periodically, carries out meter step according to the time location of described validity feature acceleration in described default collection duration to described process acceleration.
7. passometer according to claim 6, is characterized in that, described pedometer module according to the time location of described validity feature acceleration in described default collection duration to the concrete mode that described process acceleration carries out counting step is:
Judge whether the second interval duration met in described validity feature acceleration between two peak accelerators of meter step condition is less than or equal to default maximum single step duration; If described second interval duration is less than or equal to described default maximum single step duration, then determine to be an effectively step between described adjacent two peak accelerators;
If described second interval duration is greater than described default maximum single step duration, then determine that between described adjacent two peak accelerators be an invalid step.
8. the passometer according to claim 1 or 7, is characterized in that, described passometer also comprises:
Step number determination module, for obtaining the meter step data of described pedometer module, when in described meter step data, effectively step number reaches the first quantity, is added in meter step number amount by fixed effective step; When step number invalid in described meter step data reaches the second quantity or effectively step number does not reach the first quantity, do not carry out step number and add up, continue to find effectively step and invalid step.
9. the passometer according to claim 1 or 7, is characterized in that, described passometer also comprises:
Second acquisition module, for obtaining motion state respective in adjacent m described default collection duration;
Wherein, described determination module, motion state respective in the individual described default collection duration of described adjacent m also for getting according to described second acquisition module, by under same kind motion state, the motion state comprising described default collection duration quantity maximum is defined as user movement state.
10. passometer according to claim 9, is characterized in that, described second acquisition module comprises second acquisition unit, computing unit and the second determining unit, wherein:
Described second acquisition unit, for obtaining the effective step number amount in adjacent m described default collection duration;
Described computing unit, for gathering duration for presetting described in each, calculating the cadence in described default collection duration, and obtaining the amplitude of described process acceleration in described default collection duration according to described effective step number gauge;
Described second determining unit, for being greater than the first cadence threshold value when described cadence, and when described amplitude is greater than the first amplitude threshold, is defined as the first motion state by the motion state in described default collection duration; Or when described cadence is less than described first cadence threshold value and is greater than the second cadence threshold value, when described amplitude is less than described first amplitude threshold and is greater than the second amplitude threshold, the motion state in described default collection duration is defined as the second motion state.
CN201510385607.0A 2015-06-30 2015-06-30 A kind of pedometer Active CN105043410B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510385607.0A CN105043410B (en) 2015-06-30 2015-06-30 A kind of pedometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510385607.0A CN105043410B (en) 2015-06-30 2015-06-30 A kind of pedometer

Publications (2)

Publication Number Publication Date
CN105043410A true CN105043410A (en) 2015-11-11
CN105043410B CN105043410B (en) 2018-07-13

Family

ID=54450143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510385607.0A Active CN105043410B (en) 2015-06-30 2015-06-30 A kind of pedometer

Country Status (1)

Country Link
CN (1) CN105043410B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105342583A (en) * 2015-12-17 2016-02-24 重庆邮电大学 Intelligent monitoring device with high-precision step counting function for old people
CN106197470A (en) * 2016-06-29 2016-12-07 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN107091650A (en) * 2017-04-27 2017-08-25 重庆邮电大学 A kind of software step-recording method based on mobile phone acceleration and range sensor
CN107270931A (en) * 2016-12-23 2017-10-20 浙江从泰网络科技有限公司 A kind of IOS and the general gait auto-correlation pedometer of Android platform
CN107515010A (en) * 2017-08-28 2017-12-26 五邑大学 The data processing method and pedometer device of a kind of pedometer
CN108197082A (en) * 2017-12-05 2018-06-22 东南大学 A kind of step-recording method according to paces Reliability estimation
CN109561854A (en) * 2016-08-02 2019-04-02 美敦力公司 It is detected using the paces of accelerometer axis
CN110263871A (en) * 2019-06-26 2019-09-20 深圳市悦动天下科技有限公司 Step counting cheat detection method, device, intelligent terminal and storage medium
CN110495892A (en) * 2019-08-28 2019-11-26 歌尔科技有限公司 A kind of exercise data detection method and intelligent wearable device
CN111824300A (en) * 2019-07-04 2020-10-27 北京骑胜科技有限公司 Vehicle control method and device, vehicle and storage medium
CN112484747A (en) * 2020-12-08 2021-03-12 北京小米松果电子有限公司 Step counting method, step counting device and storage medium
CN113008242A (en) * 2021-03-19 2021-06-22 深圳市慧鲤科技有限公司 User behavior data processing method, device, equipment and storage medium
WO2021237659A1 (en) * 2020-05-29 2021-12-02 Beijing Didi Infinity Technology And Development Co., Ltd. Indoor navigation
CN117553822A (en) * 2024-01-12 2024-02-13 深圳三基同创电子有限公司 Step number counting method and system based on intelligent watch

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101750096A (en) * 2008-11-28 2010-06-23 佛山市顺德区顺达电脑厂有限公司 Step-counting processing system and method
CN102551735A (en) * 2011-12-31 2012-07-11 北京超思电子技术有限责任公司 Blood oxygen measuring instrument and step counting method
CN102572637A (en) * 2011-12-17 2012-07-11 无敌科技(西安)有限公司 Computing system and method for audio signal
JP2012137904A (en) * 2010-12-27 2012-07-19 Nec Casio Mobile Communications Ltd Step counting device, step counting method and program
CN102654405A (en) * 2011-03-04 2012-09-05 美新半导体(无锡)有限公司 Gait counting method and device based on acceleration sensor
US20140188431A1 (en) * 2012-11-01 2014-07-03 Hti Ip, Llc Method and system for determining whether steps have occurred
CN103954295A (en) * 2014-05-04 2014-07-30 中国科学院计算技术研究所 Step-counting method based on acceleration sensor
CN103997572A (en) * 2014-06-03 2014-08-20 深圳市爱康伟达智能医疗科技有限公司 Step counting method and device based on data of acceleration sensor of mobile phone

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101750096A (en) * 2008-11-28 2010-06-23 佛山市顺德区顺达电脑厂有限公司 Step-counting processing system and method
JP2012137904A (en) * 2010-12-27 2012-07-19 Nec Casio Mobile Communications Ltd Step counting device, step counting method and program
CN102654405A (en) * 2011-03-04 2012-09-05 美新半导体(无锡)有限公司 Gait counting method and device based on acceleration sensor
CN102572637A (en) * 2011-12-17 2012-07-11 无敌科技(西安)有限公司 Computing system and method for audio signal
CN102551735A (en) * 2011-12-31 2012-07-11 北京超思电子技术有限责任公司 Blood oxygen measuring instrument and step counting method
US20140188431A1 (en) * 2012-11-01 2014-07-03 Hti Ip, Llc Method and system for determining whether steps have occurred
CN103954295A (en) * 2014-05-04 2014-07-30 中国科学院计算技术研究所 Step-counting method based on acceleration sensor
CN103997572A (en) * 2014-06-03 2014-08-20 深圳市爱康伟达智能医疗科技有限公司 Step counting method and device based on data of acceleration sensor of mobile phone

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105342583A (en) * 2015-12-17 2016-02-24 重庆邮电大学 Intelligent monitoring device with high-precision step counting function for old people
CN105342583B (en) * 2015-12-17 2019-01-25 重庆邮电大学 A kind of the elderly's intelligent monitoring device of high-precision step counting
CN106197470B (en) * 2016-06-29 2019-11-26 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN106197470A (en) * 2016-06-29 2016-12-07 联想(北京)有限公司 A kind of data processing method and electronic equipment
CN109561854A (en) * 2016-08-02 2019-04-02 美敦力公司 It is detected using the paces of accelerometer axis
CN109561854B (en) * 2016-08-02 2022-01-04 美敦力公司 Step detection using accelerometer axes
CN107270931A (en) * 2016-12-23 2017-10-20 浙江从泰网络科技有限公司 A kind of IOS and the general gait auto-correlation pedometer of Android platform
CN107091650A (en) * 2017-04-27 2017-08-25 重庆邮电大学 A kind of software step-recording method based on mobile phone acceleration and range sensor
CN107515010A (en) * 2017-08-28 2017-12-26 五邑大学 The data processing method and pedometer device of a kind of pedometer
CN108197082A (en) * 2017-12-05 2018-06-22 东南大学 A kind of step-recording method according to paces Reliability estimation
CN108197082B (en) * 2017-12-05 2021-06-11 东南大学 Step counting method based on step reliability estimation
CN110263871A (en) * 2019-06-26 2019-09-20 深圳市悦动天下科技有限公司 Step counting cheat detection method, device, intelligent terminal and storage medium
CN110263871B (en) * 2019-06-26 2023-04-18 深圳市悦动天下科技有限公司 Step-counting cheating detection method and device, intelligent terminal and storage medium
CN111824300A (en) * 2019-07-04 2020-10-27 北京骑胜科技有限公司 Vehicle control method and device, vehicle and storage medium
CN111824300B (en) * 2019-07-04 2022-07-22 北京骑胜科技有限公司 Vehicle control method and device, vehicle and storage medium
CN110495892A (en) * 2019-08-28 2019-11-26 歌尔科技有限公司 A kind of exercise data detection method and intelligent wearable device
CN110495892B (en) * 2019-08-28 2022-03-01 歌尔科技有限公司 Motion data detection method and intelligent wearable device
WO2021237659A1 (en) * 2020-05-29 2021-12-02 Beijing Didi Infinity Technology And Development Co., Ltd. Indoor navigation
CN112484747A (en) * 2020-12-08 2021-03-12 北京小米松果电子有限公司 Step counting method, step counting device and storage medium
CN113008242A (en) * 2021-03-19 2021-06-22 深圳市慧鲤科技有限公司 User behavior data processing method, device, equipment and storage medium
CN113008242B (en) * 2021-03-19 2024-06-07 深圳市慧鲤科技有限公司 User behavior data processing method, device, equipment and storage medium
CN117553822A (en) * 2024-01-12 2024-02-13 深圳三基同创电子有限公司 Step number counting method and system based on intelligent watch
CN117553822B (en) * 2024-01-12 2024-04-19 深圳三基同创电子有限公司 Step number counting method and system based on intelligent watch

Also Published As

Publication number Publication date
CN105043410B (en) 2018-07-13

Similar Documents

Publication Publication Date Title
CN105043410A (en) Pedometer
CN105004349A (en) Step calculation method
CN103997572B (en) A kind of step-recording method based on mobile phone acceleration sensor data and device
CN103954295B (en) A kind of step-recording method based on acceleration transducer
CN107016384A (en) Step-recording method, mobile terminal and the storage medium of recognizable type of sports
CN103727959B (en) Step-recording method and device
CN105096611B (en) A kind of road vehicle detection system and method
CN107479094B (en) A method of realizing earthquake pre-warning
CN103674025B (en) A kind of intelligent terminal&#39;s displacement calculates method and apparatus
CN104567912B (en) Method for realizing pedometer on Android mobile phone
CN104713568A (en) Gait recognition method and corresponding pedometer
CN105758404A (en) Real-time positioning method and system of intelligent equipment
CN105629198B (en) The indoor multi-target tracking method of fast search clustering algorithm based on density
CN103616034A (en) Network pedometer based on Bluetooth and step calculation method
CN105664454B (en) The method and apparatus for realizing sports equipment tachometric survey
CN109938740A (en) A kind of gait cycle detecting method, device and computer readable storage medium
CN104457781B (en) A kind of adaptive step number detection method based on single-axis accelerometer
CN105022055A (en) IMU indoor positioning method
CN105469546A (en) Tumbling alarm system and method
CN104316162A (en) Method and system for intelligently measuring and analyzing multilevel vibrational frequency of large-scale electro-optical telescope
CN103344249A (en) Step counting method based on short-time spectral analysis of inertial sensor
CN107727110A (en) The statistical method and device of a kind of step number
US20150241243A1 (en) Method for counting steps and electronic apparatus using the same
CN108195395A (en) Mobile terminal and its step-recording method, storage device
CN107976559A (en) Acceleration of gravity method is filtered out based on rest point detection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160129

Address after: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A (located in Shenzhen Qianhai business secretary Co. Ltd.)

Applicant after: HESVIT HEALTH TECH CO., LTD.

Address before: Bantian Longgang District of Shenzhen City, Guangdong province 518000 yuan and five Avenue sign Industrial Park building A building 7 floor

Applicant before: Yuanzheng Science and Technology Co., Ltd., Shenzhen City

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190513

Address after: 518000 Yuanzheng Industrial Park, North of Fifth Avenue, Bantian Street, Longgang District, Shenzhen City, Guangdong Province

Patentee after: Yuanzheng Science and Technology Co., Ltd., Shenzhen City

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee before: HESVIT HEALTH TECH CO., LTD.

TR01 Transfer of patent right