CN112244820A - Method for measuring running gait by using three-axis accelerometer - Google Patents

Method for measuring running gait by using three-axis accelerometer Download PDF

Info

Publication number
CN112244820A
CN112244820A CN202011266523.2A CN202011266523A CN112244820A CN 112244820 A CN112244820 A CN 112244820A CN 202011266523 A CN202011266523 A CN 202011266523A CN 112244820 A CN112244820 A CN 112244820A
Authority
CN
China
Prior art keywords
acceleration
time
frequency
ith
data
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
CN202011266523.2A
Other languages
Chinese (zh)
Other versions
CN112244820B (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.)
Qingdao Magen Intelligent Technology Co ltd
Original Assignee
Qingdao Magen Intelligent 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 Qingdao Magen Intelligent Technology Co ltd filed Critical Qingdao Magen Intelligent Technology Co ltd
Priority to CN202011266523.2A priority Critical patent/CN112244820B/en
Publication of CN112244820A publication Critical patent/CN112244820A/en
Application granted granted Critical
Publication of CN112244820B publication Critical patent/CN112244820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/112Gait analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms
    • A61B5/7257Details of waveform analysis characterised by using transforms using Fourier transforms
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P15/00Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration
    • G01P15/18Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration in two or more dimensions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Surgery (AREA)
  • Public Health (AREA)
  • Signal Processing (AREA)
  • Physiology (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Theoretical Computer Science (AREA)
  • Psychiatry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Algebra (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Dentistry (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a method for measuring running gait by a triaxial accelerometer, which comprises the following steps: carrying out short time domain spectrum analysis on the acquired real-time acceleration data to obtain a frequency band with the strongest energy entropy; constructing a filter based on the frequency band with the strongest energy entropy, and denoising acceleration data; solving peak point data based on the denoised acceleration data; and calculating running gait based on the acceleration data and the peak point data. According to the method for measuring running gait by using the three-axis accelerometer, a relatively simple gait estimation model is constructed under the condition that the accelerometer is rigidly bound with a human body, the calculation of step frequency, step length, vertical amplitude and touchdown duration can be completed only by recording the data of the three-axis acceleration, the training process of the original complex algorithm of multiple sensors and a large amount of data is simplified, the resources occupied by the algorithm system are saved, the hardware configuration is reduced, the number of sensors of intelligent equipment is saved, the enterprise cost is reduced, and the method has great significance.

Description

Method for measuring running gait by using three-axis accelerometer
Technical Field
The invention belongs to the technical field of intelligent movement detection equipment, and particularly relates to a method for measuring running gait by a three-axis accelerometer.
Background
With the rapid development of mobile devices and internet technologies, motion detection based on intelligent devices has gradually become a research hotspot in the fields of location services, artificial intelligence and the like. The method for realizing motion state estimation at the present stage mainly adopts a multi-sensing fusion technology and a computer vision technology. The multi-sensor fusion technology collects signals of the advancing state of a user through an accelerometer, a gyroscope, a magnetometer and the like, and judges the state and gait parameters of a pedestrian according to the signals and the change characteristics of the signals; the computer vision carries out model training through the labeled data of each gait, and the uncalibrated data is substituted into the model to calculate the gait parameters of the user. Both methods are machine learning based modeling methods, both of which require a large amount of training data; meanwhile, the technology of gait recognition by using computer vision is established on video hardware equipment, so that the motion scene of a user has great limitation.
Accordingly, further developments and improvements are still needed in the art.
Disclosure of Invention
In order to solve the above problems, a method for measuring a running gait by using a three-axis accelerometer is proposed. The invention provides the following technical scheme:
a method of measuring a running gait with a tri-axial accelerometer, comprising:
s100, carrying out short time domain spectrum analysis on the acquired real-time acceleration data to obtain a frequency band with the strongest energy entropy;
s200, constructing a filter based on the frequency band with the strongest energy entropy, and denoising acceleration data;
s300, solving peak point data based on the denoised acceleration data;
and S400, calculating running gait based on the acceleration data and the peak point data.
Further, the short time domain spectrum analysis includes: after the real-time acceleration data are obtained, Fourier transform is carried out on the acceleration data in the running state, frequency domain analysis is achieved, and based on the frequency band with the strongest energy entropy, the selection of a filter, the passband cut-off frequency and the stopband cut-off frequency are determined.
Further, the process of denoising the acceleration data by the filter includes:
s210, constructing a filter to solve two coefficient vectors, a ═ a (1), a (2) …, a (n) and b ═ b (1), b (2), …, b (n);
s220, performing filtering processing on the acceleration data:
Figure BDA0002776249450000021
wherein a (i) represents the ith element of the a vector, b (i) represents the ith element of the b vector, x (i) is the original acceleration of the ith epoch of the input, and y (i) is the output corresponding to x (i).
Further, the process of solving peak point data includes:
s310, determining the length d of the sliding window based on the output frequency fre _ acc and the running step frequency fre _ step of the accelerometer:
Figure BDA0002776249450000031
s320, detecting and solving the maximum value of the ith acceleration value in the neighborhood region:
Acc_v(i)≥{Acc_v(k)|i-5<k<i+15} (3);
if not, detecting the next window, otherwise, judging the next step:
Acc_v(i)≥Accthr (4)
wherein AccthrA threshold value that is a peak minimum;
if the window meets the requirement (4), the next judgment is carried out, otherwise, the next window is detected:
time(i)-time(i-1)>0.2s (5)
wherein, time (i) refers to the time of the ith peak point.
Further, the running gait calculation process includes step frequency detection, where the step frequency is the reciprocal of the time difference between two peaks:
fre_step(i)=1/(time(i)-time(i-1)) (6)
here, fre _ step (i) indicates the step frequency at the ith time, and time (i) indicates the timestamp at the ith time.
Further, the running gait calculation process comprises step length estimation, regression fitting correction coefficients are made based on the acceleration of the chest and the feet, a linear estimation model is constructed, and then the step length is calculated:
Figure BDA0002776249450000032
acc in the formulanormIs the modulus of the acceleration; (a, b) represents a step interval; a (i) represents the acceleration pole difference in the ith step interval; step _ len (i) is the step size of the ith step interval.
Further, the running gait calculation process includes calculating the touchdown duration, collecting and constructing a mapping from the peak interval characteristic of the chest belt type equipment to the touchdown time characteristic of the foot binding equipment based on the peak interval characteristic of the chest belt type equipment and the touchdown time characteristic of the foot binding equipment:
Δt2=k*Δt1+bias (8)
wherein, t1A step interval, t, calculated for the detection of acceleration and peak values by precordial acquisition2For the stepping time obtained by the acceleration and feature extraction collected by the ankle, k and bias are the slope and bias of the linear function, respectively.
Further, the running gait calculation process includes calculating a vertical amplitude, constructing a trigonometric function curve based on an acceleration curve of a stepping interval, and calculating a maximum amplitude of the trigonometric function curve:
the acceleration waveform is approximated as a sin function:
Acc(t)=A*sinωt (9)
where A is the amplitude of the trigonometric function, ω is the angular velocity, t is the time between two peaks:
Figure BDA0002776249450000041
and performing double indefinite integration to obtain a displacement approximation function in the vertical direction:
Figure BDA0002776249450000051
calculate the vertical amplitude ver _ d (i) of the ith step period:
Figure BDA0002776249450000052
a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for a tri-axial accelerometer to measure running gait.
An electronic terminal, comprising: a processor and a memory;
the memory is configured to store a computer program and the processor is configured to execute the computer program stored by the memory to cause the terminal to perform a method for measuring a running gait with a tri-axial accelerometer.
Has the advantages that:
according to the method for measuring running gait by using the three-axis accelerometer, a relatively simple gait estimation model is constructed under the condition that the accelerometer is rigidly bound with a human body, the calculation of step frequency, step length, vertical amplitude and touchdown duration can be completed only by recording the data of the three-axis acceleration, the training process of the original complex algorithm of multiple sensors and a large amount of data is simplified, the resources occupied by the algorithm system are saved, the hardware configuration is reduced, the number of sensors of intelligent equipment is saved, the enterprise cost is reduced, and the method has great significance.
Drawings
FIG. 1 is a schematic flow chart of a method for measuring a running gait using a three-axis accelerometer according to an embodiment of the invention;
FIG. 2 is a schematic illustration of the noun explanation of gait in an embodiment of the invention;
FIG. 3 is a frequency spectrum analysis of acceleration data in an embodiment of the present invention;
FIG. 4 is a comparison of frequency domain filtering before and after an embodiment of the present invention;
FIG. 5 is a diagram of frequency domain filtering in an embodiment of the present invention;
FIG. 6 is a graphical illustration of filter processing acceleration in an embodiment of the present invention;
FIG. 7 is a graphical flow of peak detection in an embodiment of the present invention;
FIG. 8 is a flow chart of a solution for peak detection in an embodiment of the present invention;
FIG. 9 is a schematic diagram of step size resolution in an embodiment of the present invention;
FIG. 10 is an acceleration signature for two locations in an exemplary embodiment of the invention;
FIG. 11 is an analysis plot of touchdown duration versus one step cycle time in accordance with an embodiment of the present invention;
FIG. 12 is a vertical amplitude resolution graph in accordance with an embodiment of the present invention;
FIG. 13 is a trigonometric solution to vertical amplitude in an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the following description of the technical solutions of the present invention with reference to the accompanying drawings of the present invention is made clearly and completely, and other similar embodiments obtained by a person of ordinary skill in the art without any creative effort based on the embodiments in the present application shall fall within the protection scope of the present application. In addition, directional terms such as "upper", "lower", "left", "right", etc. in the following embodiments are directions with reference to the drawings only, and thus, the directional terms are used for illustrating the present invention and not for limiting the present invention.
As shown in fig. 1, a method of measuring a running gait with a tri-axial accelerometer includes:
s100, carrying out short time domain spectrum analysis on the acquired real-time acceleration data to obtain a frequency band with the strongest energy entropy; under the condition that the three-axis accelerometer is rigidly bound with the human body, real-time acceleration data of the motion state of the human body is obtained, and frequency spectrum analysis is carried out on the real-time acceleration data.
Further, the short time domain spectrum analysis includes: after the real-time acceleration data are obtained, Fourier transform is carried out on the acceleration data in the running state, frequency domain analysis is achieved, and based on the frequency band with the strongest energy entropy, the selection of a filter, the passband cut-off frequency and the stopband cut-off frequency are determined. After the frequency spectrum analysis of the acceleration is completed, the energy value of the acceleration on each frequency band can be obtained, the frequency band with the strongest energy entropy is intercepted, as shown in fig. 3, the walking state is strongest at 1-3 Hz, and the running state is strongest at 2-5 Hz, and the data is used as the basis for constructing low-pass/band-pass filtering. For example, the frequency band with the strongest energy entropy is (a, b), and when the filter is constructed, aHz can be set as the pass band cut-off frequency, and bHz can be set as the stop band cut-off frequency.
S200, constructing a filter based on the frequency band with the strongest energy entropy, and denoising acceleration data;
the purpose of constructing the filter is to extract the accelerations a to bHz to achieve the denoising effect. Before and after denoising, the acceleration pair is as shown in fig. 4.
Further, the process of denoising the acceleration data by the filter includes:
s210, constructing a filter to solve two coefficient vectors, a ═ a (1), a (2) …, a (n) and b ═ b (1), b (2), …, b (n);
the frequency domain filtering can enable acceleration data to be smoother, and is beneficial to subsequent related detection and gait estimation work. As shown in fig. 5, since the acceleration data is time domain data, a filter is required to be constructed to solve two coefficient vectors, a ═ a (1), a (2) …, a (n) ], and b ═ b (1), b (2), …, b (n) ].
S220, performing filtering processing on the acceleration data: the process of constructing the filter is an off-line process, aiming at obtaining a and b, so that the solution can be performed by using [ n, wn ] ═ button (wp, ws, ap, as) and [ b, a ] ═ button (n, wn) in Matlab. Wherein, the button is a design function of the Butterworth filter, the input wp and ws are respectively the normalized passband cut-off frequency and stopband cut-off frequency, and the ap and as are respectively the maximum attenuation of the passband and the stopband. n and wn are the lowest order of Butterworth and cut-off frequency, coefficient vectors b and a of the numerator and denominator polynomial of the system function of the Butterworth digital filter of order n. After b and a are obtained through settlement, filtering processing can be performed on the acceleration data, as shown in fig. 6, fig. 6 is formulated as:
Figure BDA0002776249450000081
wherein a (i) represents the ith element of the a vector, b (i) represents the ith element of the b vector, x (i) is the original acceleration of the ith epoch of the input, and y (i) is the output corresponding to x (i).
S300, solving peak point data based on the denoised acceleration data;
in the gait calculation process, the acceleration peak value is an important parameter, and the detection accuracy of the acceleration peak value directly influences the calculation accuracy of the step frequency, the stride, the vertical amplitude and the touchdown time. After the filtering smoothing is completed, acceleration data Acc with obvious peak characteristics and smooth waveform is obtained, where the Acc includes a time epoch time and a value Acc _ vertical (hereinafter abbreviated as Acc _ v) of the vertical acceleration, and then the peak detection operation can be performed.
Further, the process of solving peak point data includes:
s310, based on the output frequency fre _ acc and the running step frequency fre _ step of the accelerometer, the length d of the sliding window is determined, peak detection actually searches for the maximum value of the acceleration in a certain neighborhood region, and before detection, the length of the neighborhood region, namely the length d of the sliding window, needs to be determined. Since the output frequency of the accelerometer is fre _ acc: 50Hz, running stride frequency of about fre _ step: 2-5 Hz, and d is calculated by the following formula in order to accurately screen the peak point of the acceleration:
Figure BDA0002776249450000091
when fre _ acc is 50Hz, d is 10, that is, the window size is 10 acceleration epochs.
S320, detecting and solving the maximum value of the ith acceleration value in the neighborhood region:
Acc_v(i)≥{Acc_v(k)|i-5<k<i+5} (3);
if not, detecting the next window, otherwise, judging the next step:
Acc_v(i)≥Accthr (4)
wherein AccthrA threshold value that is a peak minimum;
if the window meets the requirement (4), the next judgment is carried out, otherwise, the next window is detected:
time(i)-time(i-1)>0.2s (5)
wherein, time (i) refers to the time of the ith peak point.
In the above process, equation (3) is the maximum value of the detection area interval, equation (4) is to determine whether the value of the previous step is greater than the threshold, equation (5) is whether the time interval between the current point and the previous peak point is greater than 0.2 seconds, the graphical flow and the calculation flow of the peak detection are shown in fig. 7 and 8, where T is used to store the time epoch of the peak point, and since the window length is 5 (open interval), the initial value of i is set to 5.
And S400, calculating running gait based on the acceleration data and the peak point data.
As shown in fig. 2, the running gait includes a touchdown time, a step frequency, a stride, and a vertical amplitude. The touchdown time refers to the duration from the heel landing of a single foot to the toe off; the step frequency refers to the number of steps in one second; stride refers to the distance within a stepping cycle; vertical amplitude refers to the height at which the body's center of gravity moves vertically during running. Mapping the running process to the acceleration profile can result in a step time and a step period.
Further, the running gait solution process includes step frequency detection, the acceleration of the user during the traveling process presents a distribution characteristic similar to sine waves, and we can use the interval between two peaks as a single step interval, and the step frequency of the time period is equal to the reciprocal of the time difference between two peaks:
fre_sfep(i)=1/(time(i)-time(i-1)) (6)
here, fre _ step (i) indicates the step frequency at the ith time, and time (i) indicates the timestamp at the ith time.
Furthermore, the running gait calculation process comprises step length estimation, according to a human body morphology model, the step length of the pedestrian can be approximately estimated by the quartic root of the extremely poor acceleration in the vertical direction, but the formula is only suitable for acceleration equipment bound to the feet. The method is based on the acceleration of the chest and the feet, regression fitting correction coefficients are made, a linear estimation model is constructed, and as shown in fig. 9, the step length is further solved:
Figure BDA0002776249450000101
acc in the formulanormIs the modulus of the acceleration; (a, b) represents a step interval; a (i) represents the acceleration pole difference in the ith step interval; step _ len (i) is the step size of the ith step interval.
Furthermore, the running gait calculation process comprises calculating the touchdown duration, and the characteristics of the touchdown duration cannot be acquired due to the difference of the characteristics acquired by the chest strap type equipment and the foot binding equipment, and only the characteristic t of the peak value interval can be acquired1(ii) a The latter can obtain the touchdown time characteristic t more accurately2. According to this feature, t is constructed1To t2The mapping of (2) can be used to calculate the touchdown time by only using the chest strap data, as shown in fig. 10.
Acquiring and constructing a mapping of peak interval characteristics of the chest strap apparatus to touchdown time characteristics of the foot binding apparatus based on the peak interval characteristics of the chest strap apparatus and the touchdown time characteristics of the foot binding apparatus, as shown in the figureShown by 11, t1And t2The relation of approximate linearity exists between the two stages, so that a linear model can be utilized to carry out regression fitting, an off-line stage and an on-line stage are set, the off-line stage works by collecting a large amount of sample standard data and serving as a test sample for a mapping function, and the coefficient and the offset of the mapping function are obtained by a regression fitting method to obtain the mapping function f (t); the online stage is the real-time settlement of the touchdown time length according to t1And f (t) resolving the touchdown time:
Δt2=k*Δt1+bias (8)
wherein, t1A step interval, t, calculated for the detection of acceleration and peak values by precordial acquisition2For the stepping time obtained by the acceleration and feature extraction collected by the ankle, k and bias are the slope and bias of the linear function, respectively.
Further, the running gait calculation process includes calculating a vertical amplitude, which is a displacement of the center of gravity in the vertical direction, and an approximate value can be obtained by double integrating the acceleration in the vertical direction, but due to the limited sampling frequency, the settlement accuracy is greatly limited, and the approximate diagram is shown in fig. 12.
According to the characteristic that the acceleration waveform is similar to the trigonometric function waveform, the acceleration curve of a stepping interval is approximated to be a trigonometric function curve, and the process of solving the vertical amplitude is changed into the process of solving the double integral of the trigonometric function. By the peak detection method, a trigonometric function curve can be constructed based on an acceleration curve of a stepping interval at a time interval t of one stepping period, a peak value A1 and a valley value A2 in the area, and the vertical amplitude is measured, that is, the maximum value of the displacement trigonometric function, that is, the maximum amplitude of the trigonometric function is measured:
the acceleration waveform is approximated as a sin function:
Acc(t)=A*sinωt (9)
where A is the amplitude of the trigonometric function, ω is the angular velocity, t is the time between two peaks:
Figure BDA0002776249450000121
and performing double indefinite integration to obtain a displacement approximation function in the vertical direction:
Figure BDA0002776249450000122
calculate the vertical amplitude ver _ d (i) of the ith step period:
Figure BDA0002776249450000123
a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for a tri-axial accelerometer to measure running gait.
An electronic terminal, comprising: a processor and a memory;
the memory is configured to store a computer program and the processor is configured to execute the computer program stored by the memory to cause the terminal to perform a method for measuring a running gait with a tri-axial accelerometer.
The present invention has been described in detail, and it should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.

Claims (10)

1. A method of measuring a running gait with a tri-axial accelerometer, comprising:
s100, carrying out short time domain spectrum analysis on the acquired real-time acceleration data to obtain a frequency band with the strongest energy entropy;
s200, constructing a filter based on the frequency band with the strongest energy entropy, and denoising acceleration data;
s300, solving peak point data based on the denoised acceleration data;
and S400, calculating running gait based on the acceleration data and the peak point data.
2. The method of claim 1, wherein the short time domain spectral analysis comprises: after the real-time acceleration data are obtained, Fourier transform is carried out on the acceleration data in the running state, frequency domain analysis is achieved, and based on the frequency band with the strongest energy entropy, the selection of a filter, the passband cut-off frequency and the stopband cut-off frequency are determined.
3. The method of claim 1, wherein the filter de-noising the acceleration data comprises:
s210, constructing a filter to solve two coefficient vectors, a ═ a (1), a (2) …, a (n) and b ═ b (1), b (2), …, b (n);
s220, performing filtering processing on the acceleration data:
Figure FDA0002776249440000011
wherein a (i) represents the ith element of the a vector, b (i) represents the ith element of the b vector, x (i) is the original acceleration of the ith epoch of the input, and y (i) is the output corresponding to x (i).
4. The method of claim 1, wherein solving for peak point data comprises:
s310, determining the length d of the sliding window based on the output frequency fre _ acc and the running step frequency fre _ step of the accelerometer:
Figure FDA0002776249440000021
s320, detecting and solving the maximum value of the ith acceleration value in the neighborhood region:
Acc_v(i)≥{Acc_v(k)|i-5<k<i+5} (3);
if not, detecting the next window, otherwise, judging the next step:
Acc_v(i)≥Accthr (4)
wherein AccthrA threshold value that is a peak minimum;
if the window meets the requirement (4), the next judgment is carried out, otherwise, the next window is detected:
time(i)-time(i-1)>0.2s (5)
wherein, time (i) refers to the time of the ith peak point.
5. The method of claim 1, wherein the running gait solution process comprises a step frequency detection, wherein the step frequency is an inverse of a two-peak time difference:
fre_step(i)=1/(time(i)-time(i-1)) (6)
here, fre _ step (i) indicates the step frequency at the ith time, and time (i) indicates the timestamp at the ith time.
6. The method of claim 1, wherein the running gait solution process comprises step length estimation, wherein regression fitting correction coefficients are made based on the acceleration of the chest and the foot, a linear estimation model is constructed, and then the step length is solved:
Figure FDA0002776249440000031
acc in the formulanormIs the modulus of the acceleration; (a, b) represents a step interval; a (i) represents the acceleration pole difference in the ith step interval; step _ len (i) is the step size of the ith step interval.
7. The method of claim 1, wherein the running gait calculation process comprises calculating a touchdown duration, collecting and constructing a mapping of a peak interval characteristic of the chest strap type device to a touchdown time characteristic of the foot binding device based on the peak interval characteristic of the chest strap type device and the touchdown time characteristic of the foot binding device:
Δt2=k*Δt1+bias (8)
wherein, t1A step interval, t, calculated for the detection of acceleration and peak values by precordial acquisition2For the stepping time obtained by the acceleration and feature extraction collected by the ankle, k and bias are the slope and bias of the linear function, respectively.
8. The method of claim 1, wherein the running gait solution process comprises calculating vertical amplitudes, constructing a trigonometric function curve based on the acceleration curve for one step interval, and solving for the maximum amplitude of the trigonometric function curve:
the acceleration waveform is approximated as a sin function:
Acc(t)=A*sinωt (9)
where A is the amplitude of the trigonometric function, ω is the angular velocity, t is the time between two peaks:
Figure FDA0002776249440000041
and performing double indefinite integration to obtain a displacement approximation function in the vertical direction:
Figure FDA0002776249440000042
calculate the vertical amplitude ver _ d (i) of the ith step period:
Figure FDA0002776249440000043
9. a computer-readable storage medium having stored thereon a computer program, characterized in that: the program when executed by a processor implements the method of any one of claims 1 to 8.
10. An electronic terminal, comprising: a processor and a memory;
the memory is for storing a computer program and the processor is for executing the computer program stored by the memory to cause the terminal to perform the method of any of claims 1 to 8.
CN202011266523.2A 2020-11-13 2020-11-13 Method for measuring running gait by triaxial accelerometer Active CN112244820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011266523.2A CN112244820B (en) 2020-11-13 2020-11-13 Method for measuring running gait by triaxial accelerometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011266523.2A CN112244820B (en) 2020-11-13 2020-11-13 Method for measuring running gait by triaxial accelerometer

Publications (2)

Publication Number Publication Date
CN112244820A true CN112244820A (en) 2021-01-22
CN112244820B CN112244820B (en) 2023-05-26

Family

ID=74266762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011266523.2A Active CN112244820B (en) 2020-11-13 2020-11-13 Method for measuring running gait by triaxial accelerometer

Country Status (1)

Country Link
CN (1) CN112244820B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113465733A (en) * 2021-08-13 2021-10-01 重庆大学 Vibration table structure displacement response prediction method and device based on EEMD-DNN
CN113659962A (en) * 2021-08-03 2021-11-16 青岛迈金智能科技有限公司 Disc claw stepping frequency meter and parameter optimization method for same

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1272926A (en) * 1997-10-02 2000-11-08 个人电子设备有限公司 Measuring foot contact time and foot loft time of person in locomotion
US20020060633A1 (en) * 2000-10-11 2002-05-23 Joseph J. Crisco System and method for measuring the linear and rotational acceleration of a body part
CN103983273A (en) * 2014-04-29 2014-08-13 华南理工大学 Real-time step length estimation method based on acceleration sensor
US20150099945A1 (en) * 2013-10-07 2015-04-09 Wahoo Fitness Llc Activity monitoring computing device and system
US20150112603A1 (en) * 2013-10-22 2015-04-23 Bae Systems Information And Electronic Systems Integration Inc. Mobile device based gait biometrics
CN106289309A (en) * 2016-10-26 2017-01-04 深圳大学 Step-recording method based on 3-axis acceleration sensor and device
CN108444473A (en) * 2018-03-20 2018-08-24 南京华苏科技有限公司 Track localization method in a kind of pedestrian room
US20180372500A1 (en) * 2017-06-23 2018-12-27 Beijing Fine Way Technology Co., Ltd. Method and device for detecting pedestrian stride length and walking path
CN109195104A (en) * 2018-08-27 2019-01-11 上海市计量测试技术研究院 A kind of indoor orientation method combined based on support vector regression and Kalman filtering
WO2019043601A1 (en) * 2017-08-29 2019-03-07 Myotest Sa A method and device for retrieving biomechanical parameters of a stride
CN109498027A (en) * 2018-12-19 2019-03-22 南京茂森电子技术有限公司 A kind of list accelerometer body gait detection system and method
CN109827577A (en) * 2019-03-26 2019-05-31 电子科技大学 High-precision inertial navigation location algorithm based on motion state detection
CN111536989A (en) * 2020-05-26 2020-08-14 江南大学 Adaptive time window step counting method based on peak detection
CN111854738A (en) * 2020-06-22 2020-10-30 厦门亿联网络技术股份有限公司 Human motion state detection method and device based on three-axis accelerometer
US20200355721A1 (en) * 2019-05-08 2020-11-12 Beflex Inc. Method and apparatus for detecting walking factor with portion acceleration sensor

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1272926A (en) * 1997-10-02 2000-11-08 个人电子设备有限公司 Measuring foot contact time and foot loft time of person in locomotion
US20020060633A1 (en) * 2000-10-11 2002-05-23 Joseph J. Crisco System and method for measuring the linear and rotational acceleration of a body part
US20150099945A1 (en) * 2013-10-07 2015-04-09 Wahoo Fitness Llc Activity monitoring computing device and system
US20150112603A1 (en) * 2013-10-22 2015-04-23 Bae Systems Information And Electronic Systems Integration Inc. Mobile device based gait biometrics
CN103983273A (en) * 2014-04-29 2014-08-13 华南理工大学 Real-time step length estimation method based on acceleration sensor
CN106289309A (en) * 2016-10-26 2017-01-04 深圳大学 Step-recording method based on 3-axis acceleration sensor and device
US20180372500A1 (en) * 2017-06-23 2018-12-27 Beijing Fine Way Technology Co., Ltd. Method and device for detecting pedestrian stride length and walking path
WO2019043601A1 (en) * 2017-08-29 2019-03-07 Myotest Sa A method and device for retrieving biomechanical parameters of a stride
CN108444473A (en) * 2018-03-20 2018-08-24 南京华苏科技有限公司 Track localization method in a kind of pedestrian room
CN109195104A (en) * 2018-08-27 2019-01-11 上海市计量测试技术研究院 A kind of indoor orientation method combined based on support vector regression and Kalman filtering
CN109498027A (en) * 2018-12-19 2019-03-22 南京茂森电子技术有限公司 A kind of list accelerometer body gait detection system and method
CN109827577A (en) * 2019-03-26 2019-05-31 电子科技大学 High-precision inertial navigation location algorithm based on motion state detection
US20200355721A1 (en) * 2019-05-08 2020-11-12 Beflex Inc. Method and apparatus for detecting walking factor with portion acceleration sensor
CN111536989A (en) * 2020-05-26 2020-08-14 江南大学 Adaptive time window step counting method based on peak detection
CN111854738A (en) * 2020-06-22 2020-10-30 厦门亿联网络技术股份有限公司 Human motion state detection method and device based on three-axis accelerometer

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
夏颖: "《面向移动终端用户的WLAN定位技术》", 30 July 2018 *
陈国良,李飞,张言哲: "一种基于自适应波峰检测的MEMS计步算法", 《中国惯性技术学报》 *
陈娇,陈玮,陆晓野: "基于GPSOne和航位推算的定位算法研究", 《计算机与数字工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113659962A (en) * 2021-08-03 2021-11-16 青岛迈金智能科技有限公司 Disc claw stepping frequency meter and parameter optimization method for same
CN113465733A (en) * 2021-08-13 2021-10-01 重庆大学 Vibration table structure displacement response prediction method and device based on EEMD-DNN

Also Published As

Publication number Publication date
CN112244820B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
CN102824177B (en) Three-dimensional human body gait quantitative analysis system and method
CN104757976A (en) Human gait analyzing method and system based on multi-sensor fusion
CN112244820B (en) Method for measuring running gait by triaxial accelerometer
CN103099611B (en) Interference suppression system for sphygmomanometer measurement and interference suppression method thereof
CN108903929B (en) Heart rate detection correction method, device, storage medium and system
CN107966161B (en) Walking detection method based on FFT
WO2016180653A1 (en) Pedometer and method for analyzing motion data
CN105664454B (en) The method and apparatus for realizing sports equipment tachometric survey
WO2017000563A1 (en) Real-time location method and system for intelligent device, and determination method for movement posture of mobile phone
EP3090685A1 (en) Pedometer and method for analyzing motion data
CN104408718A (en) Gait data processing method based on binocular vision measuring
CN108955719B (en) Step counting detection method and system based on wrist type device
CN107270931A (en) A kind of IOS and the general gait auto-correlation pedometer of Android platform
CN114469073B (en) Gait analysis and abnormality detection method based on wearable sensor
WO2023108315A1 (en) Gait analysis and anomaly detection method based on wearable step sensor
US20060268986A1 (en) Process for estimating the motion phase of an object
Alam et al. Gait speed estimation using Kalman Filtering on inertial measurement unit data
CN114440883B (en) Pedestrian positioning method based on foot and leg micro-inertia measurement unit
CN106214143A (en) Transient motion interference identification method and heart rate confidence calculations method
CN107811639A (en) A kind of method that gait midstance is determined based on kinematic data
CN113790722B (en) Pedestrian step length modeling method based on inertial data time-frequency domain feature extraction
CN210228151U (en) Single-accelerometer human body gait detection device and wearable equipment
Lin et al. Gait Parameters Analysis Based on Leg-and-shoe-mounted IMU and Deep Learning
Lai et al. Frequency analysis of inertial sensor data for measuring toe clearance
Boutaayamou et al. Extraction of Temporal Gait Parameters using a Reduced Number of Wearable Accelerometers.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266000 Room 302, building a 3, 328 Chengkang Road, Xiazhuang street, Chengyang District, Qingdao City, Shandong Province

Applicant after: Qingdao maijin Intelligent Technology Co.,Ltd.

Address before: 266000 room 207-1, building 2, 130 jiushui East Road, Fushan road street, Licang District, Qingdao City, Shandong Province

Applicant before: QINGDAO MAGENE INTELLIGENCE TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant