CN108606793A - A kind of method and apparatus measuring breathing based on gyroscope - Google Patents
A kind of method and apparatus measuring breathing based on gyroscope Download PDFInfo
- Publication number
- CN108606793A CN108606793A CN201810122013.4A CN201810122013A CN108606793A CN 108606793 A CN108606793 A CN 108606793A CN 201810122013 A CN201810122013 A CN 201810122013A CN 108606793 A CN108606793 A CN 108606793A
- Authority
- CN
- China
- Prior art keywords
- axis
- value
- human body
- breathing
- moves
- 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
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/08—Detecting, measuring or recording devices for evaluating the respiratory organs
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
- A61B5/113—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb occurring during breathing
- A61B5/1135—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb occurring during breathing by monitoring thoracic expansion
Abstract
The invention discloses a kind of method and apparatus measuring breathing based on gyroscope, wherein this method includes:When the equipment for measuring breathing is placed on human body splanchnocoel, the body that human body in X-axis is acquired by gyroscope moves raw value gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz on Z axis;The body of human body in X-axis is moved into raw value gx, the body of human body moves raw value g in Y-axisyAnd the dynamic initial data gz of body of human body is transmitted to processor on Z axis;Raw value g is moved to the body of human body in X-axis by processorx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz processing on Z axis;Obtain the breathing value of human body.Through the invention, operand is significantly reduced so that the range of choice of processor becomes larger, and improves the precision of measured value.
Description
Technical field
It is the present invention relates to respiration measurement technical field, more particularly to a kind of that the method for breathing is measured based on gyroscope and is set
It is standby.
Background technology
Currently, in order to measure the breathing value of human body, people is generally acquired using optical profile type respiration transducer or piezoelectric transducer
Body breath data, processor are handled the human body respiration data being collected by comparing complicated computational methods to obtain again
Accurate measured value.But practice have shown that it is this measure breathing mode operand it is bigger, very fast processing capacity can only be used
Processor is handled, this has certain limitation, and the survey obtained by this measurement method for the selection of processor
Magnitude precision is relatively low.
Invention content
The present invention provides a kind of method and apparatus measuring breathing based on gyroscope, significantly reduces operand so that
The range of choice of processor becomes larger, and improves the precision of measured value.
According to an aspect of the invention, there is provided a kind of method measuring breathing based on gyroscope, includes the following steps:
When the equipment for measuring breathing is placed on human body splanchnocoel, the body that human body in X-axis is acquired by gyroscope moves raw value gx、Y
The body of human body moves raw value g on axisyAnd the body of human body moves initial data gz on Z axis;The body of human body in X-axis is moved into original number
Value gx, the body of human body moves raw value g in Y-axisyAnd the dynamic initial data gz of body of human body is transmitted to processor on Z axis;Pass through place
It manages device and raw value g is moved to the body of human body in X-axisx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves original on Z axis
The processing of beginning data gz;Obtain the breathing value of human body.
Preferably, when the equipment for measuring breathing is placed on human body splanchnocoel, the body of human body in X-axis is acquired by gyroscope
Dynamic raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis before the dynamic initial data gz of body of human body, this method
It is further comprising the steps of:The frequency acquisition of gyroscope is set.
Preferably, after the breathing value for obtaining human body, this method is further comprising the steps of:The breathing value of human body is sent to
The electronic equipment being wirelessly connected with the equipment for measuring breathing.
Preferably, raw value g is moved to the body of human body in X-axis by processorx, the body of human body moves raw value g in Y-axisy
And the body of human body moves initial data gz processing on Z axis, includes the following steps:By processor to the body of human body in X-axis
Dynamic raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis when the body of human body moves initial data gz and carries out default
Long definite integral obtains the integrated value ig of X-axisx, Y-axis integrated value igyAnd the integrated value igz of Z axis;To the integrated value of X-axis
igx, Y-axis integrated value igyAnd the integrated value igz of Z axis carries out RC high-pass filterings, obtains the filter value fg of X-axisx, Y-axis filter
Wave number fgyAnd the filter value fgz of Z axis;Calculate the filter value fg of X-axis in preset durationxAbsolute value average value mfgx, Y-axis
Filter value fgyAbsolute value average value mfgyAnd the average value mfgz of the absolute value of the filter value fgz of Z axis.
Preferably, the breathing value for obtaining human body, includes the following steps:Determine mfgx、mfgyAnd the maximum number in mfgz
Value, and calculate axis using the corresponding axis of greatest measure as target;The half of greatest measure is determined as processing target to calculate
The threshold value of the breathing envelope of axis, and search for breathing value of the effective breath data as human body.
According to another aspect of the present invention, a kind of equipment that breathing is measured based on gyroscope is additionally provided, including:Data
Collecting unit, for when the equipment for measuring breathing is placed on human body splanchnocoel, the body that human body in X-axis is acquired by gyroscope to be dynamic
Raw value gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz on Z axis;Data transmission list
Member, for the body of human body in X-axis to be moved raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis human body body
Dynamic initial data gz is transmitted to processor;Data processing unit, for moving raw value to the body of human body in X-axis by processor
gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz processing on Z axis;Acquiring unit is used
In the breathing value for obtaining human body.
Preferably, a kind of equipment measuring breathing based on gyroscope further includes:Set of frequency unit, for when measurement breathing
Equipment when being placed on human body splanchnocoel, data acquisition unit, which passes through gyroscope and acquires the body of human body in X-axis, moves raw value gx、
The body of human body moves raw value g in Y-axisyAnd the acquisition frequency of gyroscope is set before the dynamic initial data gz of body of human body on Z axis
Rate.
Preferably, a kind of equipment measuring breathing based on gyroscope further includes:Transmission unit, for being obtained in acquiring unit
After the breathing value of human body, the breathing value of human body is sent to the electronic equipment being wirelessly connected with the equipment for measuring breathing.
Preferably, data processing unit includes:Constant volume molecular cell, for dynamic to the body of human body in X-axis by processor
Raw value gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz progress preset durations on Z axis
Definite integral, obtain the integrated value ig of X-axisx, Y-axis integrated value igyAnd the integrated value igz of Z axis;High-pass filtering subelement is used
In the integrated value ig to X-axisx, Y-axis integrated value igyAnd the integrated value igz of Z axis carries out RC high-pass filterings, obtains the filter of X-axis
Wave number fgx, Y-axis filter value fgyAnd the filter value fgz of Z axis;Computation subunit, the filter for calculating X-axis in preset duration
Wave number fgxAbsolute value average value mfgx, Y-axis filter value fgyAbsolute value average value mfgyAnd the filter value of Z axis
The average value mfgz of the absolute value of fgz.
Preferably, acquiring unit includes:Determination subelement, for determining mfgx、mfgyAnd the greatest measure in mfgz,
And calculate axis using the corresponding axis of greatest measure as target;Subelement is searched for, for the half of greatest measure to be determined as
Processing target calculates the threshold value of the breathing envelope of axis, and searches for breathing value of the effective breath data as human body.
Compared with prior art, beneficial effects of the present invention are as follows:
Through the invention, the operand for measuring human body respiration value is significantly reduced, so that the selection model of processor
Expansion is enclosed, and the precision of the breathing value of the human body measured is improved.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair
Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In attached drawing:
Fig. 1 is a kind of flow chart of method measuring breathing based on gyroscope according to the ... of the embodiment of the present invention;
Fig. 2 is a kind of structure diagram of equipment measuring breathing based on gyroscope according to the ... of the embodiment of the present invention;
Fig. 3 is the flow chart of the according to embodiments of the present invention one another method that breathing is measured based on gyroscope;
Fig. 4 is the schematic diagram of the initial data of three axial directions acquired in the embodiment of the present invention;
Fig. 5 is the schematic diagram integrated to the initial data of three axial directions in the embodiment of the present invention;
Fig. 6 is the schematic diagram of the bandpass filtering value of three axial directions in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with attached drawing of the present invention, technical solution of the present invention is described, but described embodiment is only
A part of the embodiment of the present invention, based on the embodiments of the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under the premise of dynamic, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a kind of methods measuring breathing based on gyroscope, and Fig. 1 is according to embodiments of the present invention
It is a kind of based on gyroscope measure breathing method flow chart, as shown in Figure 1, including the following steps:
Step S101:When the equipment for measuring breathing is placed on human body splanchnocoel, human body in X-axis is acquired by gyroscope
Body moves raw value gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz on Z axis;
Step S102:The body of human body in X-axis is moved into raw value gx, the body of human body moves raw value g in Y-axisyAnd Z axis
The body of upper human body moves initial data gz and is transmitted to processor;
Step S103:Raw value g is moved to the body of human body in X-axis by processorx, the body of human body moves original number in Y-axis
Value gyAnd the body of human body moves initial data gz processing on Z axis;
Step S104:Obtain the breathing value of human body.
In implementation process, before step S101, the frequency acquisition that gyroscope is set is needed.
In step s 103, raw value g is moved to the body of human body in X-axis by processorx, the dynamic original of the body of human body in Y-axis
Beginning numerical value gyAnd the body of human body moves the definite integral that initial data gz carries out preset duration on Z axis, obtains the integrated value ig of X-axisx、Y
The integrated value ig of axisyAnd the integrated value igz of Z axis;To the integrated value ig of X-axisx, Y-axis integrated value igyAnd the integrated value of Z axis
Igz carries out RC high-pass filterings, obtains the filter value fg of X-axisx, Y-axis filter value fgyAnd the filter value fgz of Z axis;It calculates default
The filter value fg of X-axis in durationxAbsolute value average value mfgx, Y-axis filter value fgyAbsolute value average value mfgyWith
And the average value mfgz of the absolute value of the filter value fgz of Z axis.
In step S104, it is first determined mfgx、mfgyAnd the greatest measure in mfgz, and greatest measure is corresponding
Axis calculates axis as target;The half of greatest measure is determined as the threshold that processing target calculates the breathing envelope of axis again
Value, and search for breathing value of the effective breath data as human body.
After step s 104, can further the breathing value of human body be sent to and measures what the equipment breathed was wirelessly connected
Electronic equipment.
Through the above steps, the body for human body being acquired by gyroscope moves initial data, then by processor to collected
Body moves initial data and is handled, and to get accurate human body respiration value, can improve measure human body respiration value in this way
Precision, and processor to collected body move initial data handle the step of it is fairly simple, greatly reduce
Operand, and then expand the range of choice of processor so that measuring the cost of manufacture of the equipment of breathing reduces, and expanding makes
Use range.
The embodiment of the present invention additionally provides a kind of equipment 20 measuring breathing based on gyroscope, for realizing a kind of above-mentioned base
In the method that gyroscope measures breathing.
Fig. 2 is a kind of structure diagram of equipment 20 measuring breathing based on gyroscope according to the ... of the embodiment of the present invention, such as Fig. 2
Shown, which includes:Data acquisition unit 201, for when the equipment for measuring breathing is placed on human body splanchnocoel, passing through
The body that gyroscope acquires human body in X-axis moves raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis human body body
Dynamic initial data gz;Data transmission unit 202, for the body of human body in X-axis to be moved raw value gx, the body of human body is dynamic in Y-axis
Raw value gyAnd the dynamic initial data gz of body of human body is transmitted to processor on Z axis;Data processing unit 203, for passing through
Processor moves raw value g to the body of human body in X-axisx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves on Z axis
Initial data gz processing;Acquiring unit 204, the breathing value for obtaining human body.
For a kind of equipment 20 measuring breathing based on gyroscope, further include:Set of frequency unit 205, for when measurement
When the equipment of breathing is placed on human body splanchnocoel, data acquisition unit 201 is moved original by the body of human body in gyroscope acquisition X-axis
Numerical value gx, the body of human body moves raw value g in Y-axisyAnd gyroscope is set before the dynamic initial data gz of body of human body on Z axis
Frequency acquisition.
For a kind of equipment 20 measuring breathing based on gyroscope, further include:Transmission unit 206, in acquiring unit
After 204 obtain the breathing value of human body, the breathing value of human body is sent to the electronics being wirelessly connected with the equipment for measuring breathing and is set
It is standby.
For a kind of equipment 20 measuring breathing based on gyroscope, data processing unit 203 includes:Constant volume molecular cell
2031, for moving raw value g to the body of human body in X-axis by processorx, the body of human body moves raw value g in Y-axisyAnd Z
The body of human body moves the definite integral that initial data gz carries out preset duration on axis, obtains the integrated value ig of X-axisx, Y-axis integrated value igy
And the integrated value igz of Z axis;High-pass filtering subelement 2032, for the integrated value ig to X-axisx, Y-axis integrated value igyAnd Z
The integrated value igz of axis carries out RC high-pass filterings, obtains the filter value fg of X-axisx, Y-axis filter value fgyAnd the filter value of Z axis
fgz;Computation subunit 2033, the filter value fg for calculating X-axis in preset durationxAbsolute value average value mfgx, Y-axis
Filter value fgyAbsolute value average value mfgyAnd the average value mfgz of the absolute value of the filter value fgz of Z axis.
For a kind of equipment 20 measuring breathing based on gyroscope, acquiring unit 204 includes:Determination subelement 2041 is used
In determining mfgx、mfgyAnd the greatest measure in mfgz, and calculate axis using the corresponding axis of greatest measure as target;Search
Unit 2042 for the half of greatest measure to be determined as the threshold value that processing target calculates the breathing envelope of axis, and is searched
Breathing value of the effective breath data of rope as human body.
It should be noted that a kind of equipment breathed that measured based on gyroscope described in device embodiment is corresponding to above-mentioned
Embodiment of the method, concrete implementation process carried out detailed description in embodiment of the method, and details are not described herein.
In order to keep technical scheme of the present invention and implementation method clearer, below in conjunction with preferred embodiment in fact
Existing process is described in detail.
Embodiment one
The present embodiment provides the methods that another kind measures breathing based on gyroscope, that is, acquire human body by gyroscope
Body moves initial data, then moves initial data to body by processor and handled to obtain human body respiration value.
Fig. 3 is the process for using figure of the according to embodiments of the present invention one another method that breathing is measured based on gyroscope,
Include the following steps:
Step S301:Measure the frequency acquisition of the equipment setting gyroscope of breathing;
It in the embodiment of the present invention, measures in the equipment of breathing and is provided with gyroscope, the body for acquiring human body moves original number
According to, acceleration transducer can also be arranged by measuring in the equipment of breathing, the body that can also equally acquire human body moves initial data, this
Inventive embodiments do not limit, specifically, need that frequency acquisition is arranged for gyroscope before acquisition body moves initial data,
It can set the frequency acquisition of gyroscope to 10Hz;
Step S302:When the equipment for measuring breathing is placed on human body splanchnocoel, the equipment for measuring breathing passes through gyroscope
The body for acquiring human body in X-axis moves raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis the body of human body move it is original
Data gz;
In the embodiment of the present invention, the equipment for measuring breathing must be placed on the splanchnocoel of human body, in this way can basis
Collected body moves initial data and calculates accurate human body respiration value, and human body can keep the postures such as sitting, lie, stand, but
It is significantly to be acted, the equipment for measuring breathing can be fixed on by being positioned over the pocket of front on torso model,
Chest can also be sticked at, can also be fixed on torso model using bandage, the embodiment of the present invention does not limit;Measure breathing
Equipment can be adjacent to the skin surface of the splanchnocoel of human body, can also the non-contacting splanchnocoel that human body is fixed on across clothing
On, the sense of discomfort of human body can be reduced in this way and so that the use scope for measuring the equipment of breathing is extended;
As an alternative embodiment, the equipment for measuring breathing can be wearable, and measure breathing
Power supply in equipment can be internal battery, the equipment for opening measurement breathing when in use, the use of user more convenient in this way,
The small of the equipment of breathing is measured, it is easy to carry, and then expand the use scope for the equipment for measuring breathing;
As an alternative embodiment, breathing can all cause the bounce of body on splanchnocoel to human body every time, therefore
Initial data, i.e. angular acceleration values are moved to acquire the body of human body from three axial directions respectively by gyroscope, it in this way can be more
The comprehensive body for collecting human body moves initial data, is also capable of the breathing value of more accurate measurement human body, improves the essence of measurement
Degree;
Step S303:The body of human body in X-axis is moved raw value g by the equipment for measuring breathingx, the dynamic original of the body of human body in Y-axis
Beginning numerical value gyAnd the dynamic initial data gz of body of human body is transmitted to processor on Z axis;
In the embodiment of the present invention, the gyroscope and processor wired connection in the equipment of breathing are measured, when measurement breathing
Equipment just by original data transmissions to processor, then passes through after the body for collecting human body by gyroscope moves initial data
Processor is further processed initial data;
Step S304:The equipment for measuring breathing moves raw value g by processor to the body of human body in X-axisx, people in Y-axis
The body of body moves raw value gyAnd the body of human body moves the definite integral that initial data gz carries out preset duration on Z axis, obtains X-axis
Integrated value igx, Y-axis integrated value igyAnd the integrated value igz of Z axis;
In the embodiment of the present invention, processor needs first to carry out constant volume to the initial data acquired on X-axis, Y-axis, Z axis respectively
Point, in order to avoid the interference of instantaneous value, need the constant volume that preset duration is carried out to the initial data acquired on X-axis, Y-axis, Z axis
Point, preset duration can be set according to the duration of definite integral is carried out when the precision highest of the breathing value of measurement, wherein when default
Length can be 20 seconds, or 25 seconds, the embodiment of the present invention did not limited;
Step S305:Measure integrated value ig of the equipment to X-axis of breathingx, Y-axis integrated value igyAnd the integrated value of Z axis
Igz carries out RC high-pass filterings, obtains the filter value fg of X-axisx, Y-axis filter value fgyAnd the filter value fgz of Z axis;
As an alternative embodiment, above-mentioned RC high-pass filterings are imitative hardware RC high-pass filterings, numerical operation amount
It is minimum, reduce the integral operation amount of processor, wherein Filtering Formula is y [n]=a*x [n]+(1-a) * y [n-1], cutoff frequency
FL=a*f/ (2 π) can set weighting constant a to a=0.628 and a=6 for each axial direction, calculate filter value, then
Two filter values of calculating are subtracted each other to obtain bandpass filtering value;
Step S306:The equipment for measuring breathing calculates the filter value fg of X-axis in preset durationxAbsolute value average value
mfgx, Y-axis filter value fgyAbsolute value average value mfgyAnd the average value mfgz of the absolute value of the filter value fgz of Z axis;
Step S307:The equipment for measuring breathing determines mfgx、mfgyAnd the greatest measure in mfgz, and by greatest measure
Corresponding axis calculates axis as target;
As an alternative embodiment, mfgx、mfgyAnd the breathing in the corresponding axial direction of greatest measure in mfgz
Signal is most strong, thus using the corresponding axis of greatest measure as target calculating axis, the breathing value accuracy higher calculated in this way, together
When this calculation only need the data calculated in any of X-axis, Y-axis, Z axis axial direction that can be accurately obtained human body
Breathing value saves and calculates the time, further reduces operand so that the equipment for measuring breathing can be obtained fast and accurately
To the breathing value of human body;
Step S308:The half of greatest measure is determined as the breathing that processing target calculates axis by the equipment for measuring breathing
The threshold value of envelope, and search for breathing value of the effective breath data as human body;
In the embodiment of the present invention, the half of maximum value is determined as processing target calculating axis by the equipment for measuring breathing
The threshold value of envelope is breathed, the maximum value of envelope and the difference of minimum value in 0.1 second are calculated, if the difference is more than above-mentioned threshold
Value then proves that there are one effective breathing values in this 0.1 second;
Step S309:The breathing value of human body is sent to and measures what the equipment breathed was wirelessly connected by the equipment for measuring breathing
Electronic equipment.
It in the embodiment of the present invention, measures in the equipment of breathing and is additionally provided with wireless communication module, the equipment for measuring breathing exists
Just communication connection relationship is established with external electronic equipment, wherein external electronic equipment can before measuring human body respiration value
Can also be the electronic equipment used with the coordinative composition of equipments for measuring breathing, in this way when measurement breathing to be the mobile phone of user's carrying
Equipment the breathing value of human body is calculated by processor after human body respiration value can be sent to electronic equipment, facilitate use
The breathing value of family real time inspection itself.
In summary, by above-described embodiment, the body that human body is acquired by gyroscope moves initial data, then passes through processor
Initial data is moved to the body of collected human body to be handled to obtain accurate human body respiration value, can improve measurement human body respiration
The precision of value, and reduce the operand of processing data so that the equipment for measuring breathing can fast and accurately measure human body
Breathing value.
Claims (10)
1. a kind of method measuring breathing based on gyroscope, which is characterized in that include the following steps:
When the equipment for measuring breathing is placed on human body splanchnocoel, the body that human body in X-axis is acquired by gyroscope moves raw value
gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz on Z axis;
The body of human body in the X-axis is moved into raw value gx, the body of human body moves raw value g in the Y-axisyAnd on the Z axis
The body of human body moves initial data gz and is transmitted to processor;
Raw value g is moved to the body of human body in the X-axis by the processorx, the body of human body moves raw value in the Y-axis
gyAnd the body of human body moves initial data gz processing on the Z axis;
Obtain the breathing value of human body.
2. according to the method described in claim 1, it is characterized in that, described when the equipment for measuring breathing is placed on human body splanchnocoel
When, the body that human body in X-axis is acquired by gyroscope moves raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis
It is further comprising the steps of before the body of human body moves initial data gz:
The frequency acquisition of gyroscope is set.
Further include following 3. according to the method described in claim 2, it is characterized in that, after the breathing value for obtaining human body
Step:
The breathing value of human body is sent to the electronic equipment being wirelessly connected with the equipment for measuring breathing.
4. according to the method described in claim 3, it is characterized in that, it is described by the processor to human body in the X-axis
Body moves raw value gx, the body of human body moves raw value g in the Y-axisyAnd the body of human body moves initial data gz on the Z axis
It is handled, is included the following steps:
Raw value g is moved to the body of human body in the X-axis by the processorx, the body of human body moves raw value in the Y-axis
gyAnd the body of human body moves the definite integral that initial data gz carries out preset duration on the Z axis, obtains the integrated value of the X-axis
igx, the Y-axis integrated value igyAnd the integrated value igz of the Z axis;
To the integrated value ig of the X-axisx, the Y-axis integrated value igyAnd the integrated value igz of the Z axis carries out RC high pass filters
Wave obtains the filter value fg of the X-axisx, the Y-axis filter value fgyAnd the filter value fgz of the Z axis;
Calculate the filter value fg of the X-axis in the preset durationxAbsolute value average value mfgx, the Y-axis filter value
fgyAbsolute value average value mfgyAnd the average value mfgz of the absolute value of the filter value fgz of the Z axis.
5. according to the method described in claim 4, it is characterized in that, the breathing value for obtaining human body, includes the following steps:
Determine the mfgx, the mfgyAnd the greatest measure in the mfgz, and using the corresponding axis of the greatest measure as
Target calculates axis;
The half of the greatest measure is determined as to handle the threshold value for the breathing envelope that the target calculates axis, and is searched for
Effective breathing value of the breath data as human body.
6. a kind of equipment measuring breathing based on gyroscope, which is characterized in that including:
Data acquisition unit, for when the equipment for measuring breathing is placed on human body splanchnocoel, people in X-axis to be acquired by gyroscope
The body of body moves raw value gx, the body of human body moves raw value g in Y-axisyAnd the body of human body moves initial data gz on Z axis;
Data transmission unit, for the body of human body in the X-axis to be moved raw value gx, the body of human body moves original number in the Y-axis
Value gyAnd the dynamic initial data gz of body of human body is transmitted to processor on the Z axis;
Data processing unit, for moving raw value g to the body of human body in the X-axis by the processorx, people in the Y-axis
The body of body moves raw value gyAnd the body of human body moves initial data gz processing on the Z axis;
Acquiring unit, the breathing value for obtaining human body.
7. equipment according to claim 6, which is characterized in that further include:
Set of frequency unit, for when the equipment for measuring breathing is placed on human body splanchnocoel, the data acquisition unit to pass through
The body that gyroscope acquires human body in X-axis moves raw value gx, the body of human body moves raw value g in Y-axisyAnd on Z axis human body body
Before dynamic initial data gz, the frequency acquisition of gyroscope is set.
8. equipment according to claim 7, which is characterized in that further include:
Transmission unit, for after the breathing value that the acquiring unit obtains human body, the breathing value of human body to be sent to
The electronic equipment being wirelessly connected with the equipment for measuring breathing.
9. equipment according to claim 8, which is characterized in that the data processing unit includes:
Constant volume molecular cell, for moving raw value g to the body of human body in the X-axis by the processorx, people in the Y-axis
The body of body moves raw value gyAnd the body of human body moves the definite integral that initial data gz carries out preset duration on the Z axis, obtains
The integrated value ig of the X-axisx, the Y-axis integrated value igyAnd the integrated value igz of the Z axis;
High-pass filtering subelement, for the integrated value ig to the X-axisx, the Y-axis integrated value igyAnd the product of the Z axis
Score value igz carries out RC high-pass filterings, obtains the filter value fg of the X-axisx, the Y-axis filter value fgyAnd the filter of the Z axis
Wave number fgz;
Computation subunit, the filter value fg for calculating the X-axis in the preset durationxAbsolute value average value mfgx, institute
State the filter value fg of Y-axisyAbsolute value average value mfgyAnd the average value of the absolute value of the filter value fgz of the Z axis
mfgz。
10. equipment according to claim 9, which is characterized in that the acquiring unit includes:
Determination subelement, for determining the mfgx, the mfgyAnd the greatest measure in the mfgz, and by the maximum
The corresponding axis of numerical value calculates axis as target;
Subelement is searched for, the breathing envelope of the target calculating axis is handled for the half of the greatest measure to be determined as
The threshold value of line, and search for breathing value of the effective breath data as human body.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810122013.4A CN108606793B (en) | 2018-02-07 | 2018-02-07 | Method and device for measuring respiration based on gyroscope |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810122013.4A CN108606793B (en) | 2018-02-07 | 2018-02-07 | Method and device for measuring respiration based on gyroscope |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108606793A true CN108606793A (en) | 2018-10-02 |
CN108606793B CN108606793B (en) | 2021-02-26 |
Family
ID=63658460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810122013.4A Active CN108606793B (en) | 2018-02-07 | 2018-02-07 | Method and device for measuring respiration based on gyroscope |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108606793B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090062628A1 (en) * | 2005-05-18 | 2009-03-05 | Matsushita Electric Works, Ltd. | Sleep diagnosis device |
CN102946802A (en) * | 2010-06-04 | 2013-02-27 | 爱丁堡大学董事会 | Method, apparatus, computer program and system for measuring oscillatory motion |
CN105411617A (en) * | 2015-12-11 | 2016-03-23 | 沈阳东软医疗系统有限公司 | Respiratory gating equipment and method as well as MCU (Microcontroller Unit) |
CN106028916A (en) * | 2013-12-23 | 2016-10-12 | 美敦力公司 | Method and apparatus for selecting activity response vector |
CN107095659A (en) * | 2017-06-02 | 2017-08-29 | 苏州安莱光电科技有限公司 | A kind of portable non-intrusion type vital sign monitoring method based on smart machine |
-
2018
- 2018-02-07 CN CN201810122013.4A patent/CN108606793B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090062628A1 (en) * | 2005-05-18 | 2009-03-05 | Matsushita Electric Works, Ltd. | Sleep diagnosis device |
CN102946802A (en) * | 2010-06-04 | 2013-02-27 | 爱丁堡大学董事会 | Method, apparatus, computer program and system for measuring oscillatory motion |
CN106028916A (en) * | 2013-12-23 | 2016-10-12 | 美敦力公司 | Method and apparatus for selecting activity response vector |
CN105411617A (en) * | 2015-12-11 | 2016-03-23 | 沈阳东软医疗系统有限公司 | Respiratory gating equipment and method as well as MCU (Microcontroller Unit) |
CN107095659A (en) * | 2017-06-02 | 2017-08-29 | 苏州安莱光电科技有限公司 | A kind of portable non-intrusion type vital sign monitoring method based on smart machine |
Non-Patent Citations (1)
Title |
---|
赵君豪等: "基于角速度的人体呼吸信号研究", 《中国医学物理学杂志》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108606793B (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10001386B2 (en) | Automatic track selection for calibration of pedometer devices | |
CN109844460B (en) | Stride calibration method, related equipment and system | |
WO2014203433A1 (en) | Apparatus and system | |
CN208677399U (en) | Intelligent switch joint angle measurement unit and system | |
CN103308069A (en) | Falling-down detection device and method | |
CN103505219A (en) | System and method for human body gait evaluation | |
JP2015058167A (en) | Exercise supporting device, exercise supporting method, and exercise supporting program | |
CN108888247B (en) | Aerobic capacity testing method, device and system and data acquisition equipment | |
CN107469326B (en) | Swimming monitoring method and device for wearable equipment and wearable equipment | |
CN108784703B (en) | Wearable respiration monitoring method for middle-aged and elderly people | |
CN109480857A (en) | A kind of device and method for the detection of Parkinsonian's freezing of gait | |
WO2022193850A1 (en) | Exercise data processing method and exercise monitoring system | |
CN103604441A (en) | System and method for measuring number of paces and mobile terminal | |
CN105953794B (en) | A kind of meter step air navigation aid based on MEMS sensor | |
US20180214052A1 (en) | Index deriving device, wearable device, and mobile device | |
WO2016103609A1 (en) | Muscle area estimation system and instrument, and method for estimating muscle area | |
CN108606793A (en) | A kind of method and apparatus measuring breathing based on gyroscope | |
Allen et al. | Evaluation of fall risk for post-stroke patients using bluetooth low-energy wireless sensor | |
JP2017000240A (en) | Index derivation device, wearable apparatus and portable apparatus | |
KR101179997B1 (en) | Mobile body monitoring system | |
CN106500717B (en) | Method and device for realizing step counting | |
CN117137479A (en) | Portable knee joint postoperative rehabilitation training monitoring and evaluating device and method | |
CN103549959A (en) | Gait data analysis method of gait training rectification instrument measurement system | |
CN208822781U (en) | A kind of device of joint angles measurement | |
CN107588783A (en) | One kind meter step preprocess method, device and terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |