CN108606793B - Method and device for measuring respiration based on gyroscope - Google Patents

Method and device for measuring respiration based on gyroscope Download PDF

Info

Publication number
CN108606793B
CN108606793B CN201810122013.4A CN201810122013A CN108606793B CN 108606793 B CN108606793 B CN 108606793B CN 201810122013 A CN201810122013 A CN 201810122013A CN 108606793 B CN108606793 B CN 108606793B
Authority
CN
China
Prior art keywords
axis
value
human body
original
respiration
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.)
Active
Application number
CN201810122013.4A
Other languages
Chinese (zh)
Other versions
CN108606793A (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.)
Guangdong Zhongke Cihang Information Technology Co ltd
Original Assignee
Guangdong Zhongke Cihang Information 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 Guangdong Zhongke Cihang Information Technology Co ltd filed Critical Guangdong Zhongke Cihang Information Technology Co ltd
Priority to CN201810122013.4A priority Critical patent/CN108606793B/en
Publication of CN108606793A publication Critical patent/CN108606793A/en
Application granted granted Critical
Publication of CN108606793B publication Critical patent/CN108606793B/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/08Detecting, measuring or recording devices for evaluating the respiratory organs
    • 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/113Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb occurring during breathing
    • A61B5/1135Measuring 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 method and equipment for measuring respiration based on a gyroscope, wherein the method comprises the following steps: when the equipment for measuring respiration is arranged on the pleuroperitoneal cavity of a human body, the original body movement value g of the human body on the X axis is collected by the gyroscopexThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis; the original value g of the body movement of the human body on the X axisxThe original value g of the body movement of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to the processor; the original value g of the body movement of the human body on the X axis is processed by a processorxThe original value g of the body movement of the human body on the Y axisyProcessing the body motion original data gz of the human body on the Z axis; and acquiring the respiratory value of the human body. The invention greatly reduces the operation amount, enlarges the selection range of the processor and improves the precision of the measured value.

Description

Method and device for measuring respiration based on gyroscope
Technical Field
The invention relates to the technical field of respiration measurement, in particular to a method and equipment for measuring respiration based on a gyroscope.
Background
At present, in order to measure the respiratory value of a human body, an optical respiratory sensor or a piezoelectric sensor is generally adopted to collect the respiratory data of the human body, and a processor processes the collected respiratory data of the human body through a relatively complex calculation method to obtain an accurate measurement value. However, practice shows that the method for measuring respiration has a large amount of calculation, and can only be processed by a processor with a fast processing capacity, which has certain limitation on the selection of the processor, and the accuracy of the measurement value obtained by the measurement method is low.
Disclosure of Invention
The invention provides a method and equipment for measuring respiration based on a gyroscope, which greatly reduce the operation amount, enlarge the selection range of a processor and improve the precision of a measured value.
According to an aspect of the present invention, there is provided a method of gyroscope-based measurement of respiration, comprising the steps of: when the respiratory measuring device is placed on the human body pleuroperitoneal cavity, the device is openedThe gyroscope is used for acquiring the body motion original value g of the human body on the X axisxThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis; the original value g of the body movement of the human body on the X axisxThe original value g of the body movement of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to the processor; the original value g of the body movement of the human body on the X axis is processed by a processorxThe original value g of the body movement of the human body on the Y axisyProcessing the body motion original data gz of the human body on the Z axis; and acquiring the respiratory value of the human body.
Preferably, when the respiratory measuring device is placed on the thoracic and abdominal cavities of a human body, the original body movement value g of the human body on the X axis is acquired by the gyroscopexThe original value g of the body movement of the human body on the Y axisyAnd before the body motion original data gz of the human body on the Z axis, the method also comprises the following steps: and setting the acquisition frequency of the gyroscope.
Preferably, after acquiring the respiratory value of the human body, the method further comprises the following steps: and sending the respiratory value of the human body to electronic equipment which is in wireless connection with the equipment for measuring the respiration.
Preferably, the original value g of the body movement of the human body on the X axis is processed by the processorxThe original value g of the body movement of the human body on the Y axisyAnd processing the body motion original data gz of the human body on the Z axis, comprising the following steps: the original value g of the body movement of the human body on the X axis is processed by a processorxThe original value g of the body movement of the human body on the Y axisyAnd performing fixed integration on the body motion original data gz of the human body on the Z axis for a preset time length to obtain an integral value ig of the X axisxIntegral value ig of Y-axisyAnd an integrated value igz for the Z-axis; integral value ig to X axisxIntegral value ig of Y-axisyAnd the integral value igz of the Z axis is subjected to RC high-pass filtering to obtain a filtered value fg of the X axisxY-axis filter value fgyAnd a filtered value fgz for the Z-axis; calculating the X-axis filter value fg in a preset time lengthxAverage of absolute values of (1) mfgxY-axis filter value fgyAverage of absolute values of (1) mfgyAnd the average value mfgz of the absolute values of the filtered values fgz for the Z-axis.
Preferably, the method for acquiring the respiratory value of the human body comprises the following steps: determining mfgx、mfgyAnd the maximum value in mfgz, and taking the axis corresponding to the maximum value as a target calculation axis; and determining one half of the maximum value as a threshold value of the respiration envelope of the processing target calculation axis, and searching effective respiration data as the respiration value of the human body.
According to another aspect of the present invention, there is also provided a gyroscope-based apparatus for measuring respiration, comprising: a data acquisition unit for acquiring the body motion original value g of the human body on the X axis through a gyroscope when the respiratory measuring equipment is arranged on the thoracic cavity and abdominal cavity of the human bodyxThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis; a data transmission unit for transmitting the original value g of body motion of human body on X axisxThe original value g of the body movement of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to the processor; a data processing unit for processing the original value g of body movement of human body on X axis by the processorxThe original value g of the body movement of the human body on the Y axisyProcessing the body motion original data gz of the human body on the Z axis; the acquisition unit is used for acquiring the respiratory value of the human body.
Preferably, a gyroscope-based apparatus for measuring respiration further comprises: a frequency setting unit for collecting the body motion original value g of the human body on the X axis through a gyroscope by a data collecting unit when the respiratory measuring equipment is arranged on the thoracic cavity and abdominal cavity of the human bodyxThe original value g of the body movement of the human body on the Y axisyAnd before the body motion original data gz of the human body on the Z axis, setting the acquisition frequency of the gyroscope.
Preferably, a gyroscope-based apparatus for measuring respiration further comprises: and the sending unit is used for sending the respiratory value of the human body to the electronic equipment wirelessly connected with the equipment for measuring the respiration after the acquisition unit acquires the respiratory value of the human body.
Preferably, the data processing unit includes: a constant integrator unit for processing the original value g of the body motion of the human body on the X axis by a processorxThe original value g of the body movement of the human body on the Y axisyAnd of the human body in the Z-axisThe body movement original data gz is subjected to constant integration for a preset time length to obtain an integral value ig of an X axisxIntegral value ig of Y-axisyAnd an integrated value igz for the Z-axis; a high-pass filter subunit for integrating value ig on X axisxIntegral value ig of Y-axisyAnd the integral value igz of the Z axis is subjected to RC high-pass filtering to obtain a filtered value fg of the X axisxY-axis filter value fgyAnd a filtered value fgz for the Z-axis; a calculating subunit for calculating the X-axis filter value fg in a preset time periodxAverage of absolute values of (1) mfgxY-axis filter value fgyAverage of absolute values of (1) mfgyAnd the average value mfgz of the absolute values of the filtered values fgz for the Z-axis.
Preferably, the acquisition unit includes: a determination subunit for determining mfgx、mfgyAnd the maximum value in mfgz, and taking the axis corresponding to the maximum value as a target calculation axis; and the searching subunit is used for determining one half of the maximum value as a threshold value of the respiration envelope curve of the processing target calculation axis and searching effective respiration data as the respiration value of the human body.
Compared with the prior art, the invention has the following beneficial effects:
the invention greatly reduces the calculation amount of the measured human respiration value, thereby enlarging the selection range of the processor and improving the precision of the measured human respiration value.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of gyroscope-based measurement of respiration in accordance with an embodiment of the present invention;
FIG. 2 is a block diagram of a gyroscope-based device for measuring respiration, in accordance with an embodiment of the present invention;
FIG. 3 is a flow chart of another method for gyroscope-based measurement of respiration in accordance with a first embodiment of the present invention;
FIG. 4 is a schematic illustration of raw data collected in three axes in an embodiment of the present invention;
FIG. 5 is a schematic diagram of the integration of raw data in three axes according to an embodiment of the present invention;
fig. 6 is a schematic diagram of band-pass filtered values in three axes in an embodiment of the invention.
Detailed Description
The technical solution of the present invention will be described below with reference to the accompanying drawings, but the described embodiments are only a part of the embodiments of the present invention, and all other embodiments obtained by those skilled in the art without any inventive work belong to the scope of the present invention.
An embodiment of the present invention provides a method for measuring respiration based on a gyroscope, and fig. 1 is a flowchart of a method for measuring respiration based on a gyroscope according to an embodiment of the present invention, as shown in fig. 1, including the following steps:
step S101: when the equipment for measuring respiration is arranged on the pleuroperitoneal cavity of a human body, the original body movement value g of the human body on the X axis is collected by the gyroscopexThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis;
step S102: the original value g of the body movement of the human body on the X axisxThe original value g of the body movement of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to the processor;
step S103: the original value g of the body movement of the human body on the X axis is processed by a processorxThe original value g of the body movement of the human body on the Y axisyProcessing the body motion original data gz of the human body on the Z axis;
step S104: and acquiring the respiratory value of the human body.
In the implementation, before step S101, the acquisition frequency of the gyroscope needs to be set.
In step S103, the original value g of the body motion of the human body on the X axis is processed by the processorxThe original value g of the body movement of the human body on the Y axisyAnd body movement primitive of human body on Z axisThe data gz is subjected to constant integration for a preset time length to obtain an integral value ig of an X axisxIntegral value ig of Y-axisyAnd an integrated value igz for the Z-axis; integral value ig to X axisxIntegral value ig of Y-axisyAnd the integral value igz of the Z axis is subjected to RC high-pass filtering to obtain a filtered value fg of the X axisxY-axis filter value fgyAnd a filtered value fgz for the Z-axis; calculating the X-axis filter value fg in a preset time lengthxAverage of absolute values of (1) mfgxY-axis filter value fgyAverage of absolute values of (1) mfgyAnd the average value mfgz of the absolute values of the filtered values fgz for the Z-axis.
In step S104, mfg is first determinedx、mfgyAnd the maximum value in mfgz, and taking the axis corresponding to the maximum value as a target calculation axis; and determining one half of the maximum value as a threshold value of the respiration envelope of the processing target calculation axis, and searching effective respiration data as the respiration value of the human body.
After step S104, the respiration value of the human body may be further transmitted to an electronic device wirelessly connected to the device for measuring respiration.
Through the steps, the gyroscope is used for collecting the body movement original data of the human body, and the collected body movement original data of the human body is processed through the processor to obtain the accurate human body respiration value, so that the precision of measuring the human body respiration value can be improved, the step of processing the collected body movement original data of the human body by the processor is simpler, the operation amount is greatly reduced, the selection range of the processor is further expanded, the manufacturing cost of the equipment for measuring respiration is reduced, and the application range is expanded.
The embodiment of the invention also provides equipment 20 for measuring respiration based on the gyroscope, which is used for realizing the method for measuring respiration based on the gyroscope.
Fig. 2 is a block diagram of a structure of a gyro-based apparatus 20 for measuring respiration according to an embodiment of the present invention, as shown in fig. 2, the apparatus 20 including: a data acquisition unit 201 for acquiring the body motion original value of the human body on the X axis through a gyroscope when the respiratory measuring device is arranged on the thoracic cavity and abdominal cavity of the human bodygxThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis; a data transmission unit 202 for transmitting the original value g of the body motion of the human body on the X-axisxThe original value g of the body movement of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to the processor; a data processing unit 203 for processing the original value g of the body motion of the human body on the X axis by the processorxThe original value g of the body movement of the human body on the Y axisyProcessing the body motion original data gz of the human body on the Z axis; an obtaining unit 204 is configured to obtain a respiration value of the human body.
For a gyroscope-based device 20 for measuring respiration, further comprising: a frequency setting unit 205 for collecting the body motion original value g of the human body on the X axis by the data collection unit 201 through the gyroscope when the apparatus for measuring respiration is placed on the thoracic cavity and abdominal cavity of the human bodyxThe original value g of the body movement of the human body on the Y axisyAnd before the body motion original data gz of the human body on the Z axis, setting the acquisition frequency of the gyroscope.
For a gyroscope-based device 20 for measuring respiration, further comprising: a sending unit 206, configured to send the breathing value of the human body to an electronic device wirelessly connected to a device for measuring breathing after the obtaining unit 204 obtains the breathing value of the human body.
For a device 20 for measuring respiration based on a gyroscope, the data processing unit 203 comprises: a constant integral subunit 2031 for processing the original value g of the body motion of the human body on the X-axis by a processorxThe original value g of the body movement of the human body on the Y axisyAnd performing fixed integration on the body motion original data gz of the human body on the Z axis for a preset time length to obtain an integral value ig of the X axisxIntegral value ig of Y-axisyAnd an integrated value igz for the Z-axis; a high-pass filter subunit 2032 for integrating the value ig on the X-axisxIntegral value ig of Y-axisyAnd the integral value igz of the Z axis is subjected to RC high-pass filtering to obtain a filtered value fg of the X axisxY-axis filter value fgyAnd a filtered value fgz for the Z-axis; a calculating subunit 2033 for calculating the filter value fg of the X-axis within a preset time periodxAverage of absolute values of (1) mfgxY-axis filter value fgyAverage of absolute values of (1) mfgyAnd the average value mfgz of the absolute values of the filtered values fgz for the Z-axis.
For a gyroscope-based device 20 for measuring respiration, the acquisition unit 204 comprises: determining subunit 2041 for determining mfgx、mfgyAnd the maximum value in mfgz, and taking the axis corresponding to the maximum value as a target calculation axis; a searching subunit 2042, configured to determine one-half of the maximum value as a threshold of the respiration envelope of the processing target calculation axis, and search valid respiration data as the respiration value of the human body.
It should be noted that, an apparatus for measuring respiration based on a gyroscope described in the apparatus embodiment corresponds to the above method embodiment, and a specific implementation process thereof has been described in detail in the method embodiment, and is not described again here.
In order to make the technical solution and implementation method of the present invention clearer, the following describes the implementation process in detail with reference to the preferred embodiments.
Example one
The embodiment provides another method for measuring respiration based on a gyroscope, that is, the gyroscope is used for acquiring body motion original data of a human body, and then the body motion original data is processed by a processor to obtain a human body respiration value.
FIG. 3 is a flow chart of another method for measuring respiration based on a gyroscope according to an embodiment of the invention, comprising the following steps:
step S301: the equipment for measuring respiration sets the acquisition frequency of a gyroscope;
in the embodiment of the invention, a gyroscope is arranged in the equipment for measuring respiration and used for acquiring body movement original data of a human body, an acceleration sensor can also be arranged in the equipment for measuring respiration, and the body movement original data of the human body can also be acquired, and the embodiment of the invention is not limited, particularly, the acquisition frequency needs to be set for the gyroscope before the body movement original data of the human body is acquired, and the acquisition frequency of the gyroscope can be set to be 10 Hz;
step S302: when the respiratory measuring device is placed on the human pleuroperitoneal cavityThe equipment for measuring respiration collects the body motion original value g of the human body on the X axis through a gyroscopexThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis;
in the embodiment of the invention, the equipment for measuring the respiration is required to be placed on the pleuroperitoneal cavity of the human body, so that the accurate respiration value of the human body can be calculated according to the collected body movement original data of the human body, the human body can keep sitting, lying, standing and other postures, but can not perform large-amplitude movement, the equipment for measuring the respiration can be fixed on the chest cavity of the human body through a pocket placed in front of the chest, can also be adhered to the chest, and can also be fixed on the chest cavity of the human body through a bandage, and the embodiment of the invention is not; the equipment for measuring respiration can be tightly attached to the skin surface of the pleuroperitoneal cavity of a human body and also can be fixed on the pleuroperitoneal cavity of the human body through clothes in a non-contact way, so that the uncomfortable feeling of the human body can be reduced, and the application range of the equipment for measuring respiration is expanded;
as an optional implementation manner, the device for measuring respiration may be wearable, and the power supply in the device for measuring respiration may be a built-in battery, and the device for measuring respiration is turned on when in use, so that the device for measuring respiration is more convenient for a user to use, has a small volume, is convenient to carry, and further expands the use range of the device for measuring respiration;
as an optional implementation manner, the human body can cause the jumping of the body above the pleuroperitoneal cavity every time the human body breathes, so that the body motion original data of the human body, namely the angular acceleration value, are collected from three axial directions by the gyroscope respectively, so that the body motion original data of the human body can be collected more comprehensively, the breathing value of the human body can be measured more accurately, and the measurement precision is improved;
step S303: the respiratory measuring device measures the body movement original value g of the human body on the X axisxThe original value g of the body movement of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to the processor;
in the embodiment of the invention, a gyroscope in equipment for measuring respiration is in wired connection with a processor, when the equipment for measuring respiration acquires body movement original data of a human body through the gyroscope, the original data is transmitted to the processor, and then the original data is further processed through the processor;
step S304: the respiratory measuring equipment measures the body motion original value g of the human body on the X axis through a processorxThe original value g of the body movement of the human body on the Y axisyAnd performing fixed integration on the body motion original data gz of the human body on the Z axis for a preset time length to obtain an integral value ig of the X axisxIntegral value ig of Y-axisyAnd an integrated value igz for the Z-axis;
in the embodiment of the invention, the processor needs to perform fixed integration on the raw data acquired on the X axis, the Y axis and the Z axis respectively, in order to avoid interference of an instantaneous value, the raw data acquired on the X axis, the Y axis and the Z axis needs to be subjected to fixed integration for a preset time length, and the preset time length can be set according to the time length of the fixed integration when the precision of the measured respiratory value is highest, wherein the preset time length can be 20 seconds or 25 seconds, and the embodiment of the invention is not limited;
step S305: integral value ig of device for measuring respiration to X axisxIntegral value ig of Y-axisyAnd the integral value igz of the Z axis is subjected to RC high-pass filtering to obtain a filtered value fg of the X axisxY-axis filter value fgyAnd a filtered value fgz for the Z-axis;
as an optional implementation manner, the RC high-pass filtering is hardware-simulated RC high-pass filtering, which has a very small numerical computation amount and reduces the overall computation amount of the processor, where the filtering formula is y [ n ] ═ a × x [ n ] + (1-a) × y [ n-1], the cutoff frequency fL ═ a × f/(2 pi), the weighting constant a may be set to a ═ 0.628 and a ═ 6 for each axial direction, the filtered value is calculated, and then the two calculated filtered values are subtracted to obtain the bandpass filtered value;
step S306: device for measuring respiration calculates filter value fg of X axis in preset time lengthxAverage of absolute values of (1) mfgxY-axis filter value fgyAverage of absolute values of (1) mfgyAnd the average value mfgz of the absolute values of the filtered values fgz for the Z-axis;
step S307: device for measuring respiration for determining mfgx、mfgyAnd the maximum value in mfgz, and taking the axis corresponding to the maximum value as a target calculation axis;
as an alternative embodiment, mfgx、mfgyAnd the axial respiratory signal corresponding to the maximum numerical value in mfgz is strongest, so the axis corresponding to the maximum numerical value is taken as a target calculation axis, the accuracy of the calculated respiratory value is higher, meanwhile, the calculation mode only needs to calculate the data in any axial direction of the X axis, the Y axis and the Z axis to accurately obtain the respiratory value of the human body, the calculation time is saved, the calculation amount is further reduced, and the respiratory measuring equipment can quickly and accurately obtain the respiratory value of the human body;
step S308: the equipment for measuring the respiration determines one half of the maximum value as the threshold value of the respiration envelope curve of the processing target calculation axis, and searches effective respiration data as the respiration value of the human body;
in the embodiment of the invention, the equipment for measuring the respiration determines one half of the maximum value as the threshold value of the respiration envelope curve of the processing target calculation axis, calculates the difference value between the maximum value and the minimum value of the envelope curve within 0.1 second, and if the difference value is greater than the threshold value, proves that an effective respiration value exists within 0.1 second;
step S309: the equipment for measuring respiration sends the respiration value of the human body to the electronic equipment which is in wireless connection with the equipment for measuring respiration.
In the embodiment of the invention, the device for measuring the respiration is also provided with the wireless communication module, and the device for measuring the respiration establishes a communication connection relation with external electronic equipment before measuring the respiration value of the human body, wherein the external electronic equipment can be a mobile phone carried by a user or the electronic equipment matched with the device for measuring the respiration, so that the respiration value of the human body can be sent to the electronic equipment after the device for measuring the respiration calculates the respiration value of the human body through the processor, and the user can conveniently check the respiration value of the user in real time.
In summary, according to the above embodiments, the gyroscope is used to collect the body movement raw data of the human body, and the processor is used to process the collected body movement raw data of the human body to obtain the accurate respiratory value of the human body, so that the precision of measuring the respiratory value of the human body can be improved, the computation of processing data is reduced, and the respiratory measuring device can measure the respiratory value of the human body quickly and accurately.

Claims (6)

1. A method for measuring respiration based on a gyroscope, comprising the steps of:
when the equipment for measuring respiration is arranged on the pleuroperitoneal cavity of a human body, the original body movement value g of the human body on the X axis is collected by the gyroscopexThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis;
the original value g of the body movement of the human body on the X axis is measuredxThe original value g of the body motion of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to a processor;
the original value g of the body movement of the human body on the X axis is processed by the processorxThe original value g of the body motion of the human body on the Y axisyAnd performing fixed integration on the body motion original data gz of the human body on the Z axis for a preset time length to obtain an integral value ig of the X axisxThe integral value ig of the Y axisyAnd an integrated value igz of the Z-axis;
integral value ig to the X axisxThe integral value ig of the Y axisyAnd carrying out RC high-pass filtering on the integral value igz of the Z axis to obtain a filtered value fg of the X axisxThe filter value fg of the Y axisyAnd the filtered value fgz for the Z-axis;
calculating the filter value fg of the X axis in the preset time lengthxAverage of absolute values of (1) mfgxThe filter value fg of the Y axisyAverage of absolute values of (1) mfgyAnd an average value mfgz of absolute values of the filtered values fgz of the Z-axis;
determining the mfgxThe mfgyAnd the maximum value in the mfgz, and taking an axis corresponding to the maximum value as a target calculation axis;
and determining one half of the maximum value as a threshold for processing the respiration envelope of the target calculation axis, and searching effective respiration data as the respiration value of the human body.
2. The method of claim 1, wherein the raw value g of the body motion of the human body on the X-axis is collected by a gyroscope while the apparatus for measuring respiration is placed on the thoracic and abdominal cavities of the human bodyxThe original value g of the body movement of the human body on the Y axisyAnd before the body motion original data gz of the human body on the Z axis, the method also comprises the following steps:
and setting the acquisition frequency of the gyroscope.
3. The method of claim 2, wherein after obtaining the respiratory value of the human body, further comprising the steps of:
and sending the respiration value of the human body to electronic equipment which is in wireless connection with the equipment for measuring respiration.
4. An apparatus for measuring respiration based on a gyroscope, comprising:
a data acquisition unit for acquiring the body motion original value g of the human body on the X axis through a gyroscope when the respiratory measuring equipment is arranged on the thoracic cavity and abdominal cavity of the human bodyxThe original value g of the body movement of the human body on the Y axisyAnd the body movement original data gz of the human body on the Z axis;
a data transmission unit for transmitting the original value g of the body movement of the human body on the X axisxThe original value g of the body motion of the human body on the Y axisyAnd transmitting the body motion original data gz of the human body on the Z axis to a processor;
a data processing unit for processing the original value g of the body movement of the human body on the X axis by the processorxThe original value g of the body motion of the human body on the Y axisyProcessing the body motion original data gz of the human body on the Z axis;
the acquisition unit is used for acquiring the respiratory value of the human body;
wherein the data processing unit includes:
a constant integral subunit for coupling via the processorThe original value g of the body movement of the human body on the X axisxThe original value g of the body motion of the human body on the Y axisyAnd performing fixed integration on the body motion original data gz of the human body on the Z axis for a preset time length to obtain an integral value ig of the X axisxThe integral value ig of the Y axisyAnd an integrated value igz of the Z-axis;
a high-pass filter subunit for integrating value ig of the X axisxThe integral value ig of the Y axisyAnd carrying out RC high-pass filtering on the integral value igz of the Z axis to obtain a filtered value fg of the X axisxThe filter value fg of the Y axisyAnd the filtered value fgz for the Z-axis;
a calculating subunit, configured to calculate a filter value fg of the X axis within the preset time periodxAverage of absolute values of (1) mfgxThe filter value fg of the Y axisyAverage of absolute values of (1) mfgyAnd an average value mfgz of absolute values of the filtered values fgz of the Z-axis;
the acquisition unit includes:
a determining subunit for determining the mfgxThe mfgyAnd the maximum value in the mfgz, and taking an axis corresponding to the maximum value as a target calculation axis;
and the searching subunit is used for determining one half of the maximum value as a threshold value for processing the respiration envelope curve of the target calculation axis and searching effective respiration data as the respiration value of the human body.
5. The apparatus of claim 4, further comprising:
a frequency setting unit for collecting the body motion original value g of the human body on the X axis through a gyroscope by the data collection unit when the respiratory measuring equipment is arranged on the thoracic cavity and abdominal cavity of the human bodyxThe original value g of the body movement of the human body on the Y axisyAnd before the body motion original data gz of the human body on the Z axis, setting the acquisition frequency of the gyroscope.
6. The apparatus of claim 5, further comprising:
and the sending unit is used for sending the respiratory value of the human body to the electronic equipment which is in wireless connection with the equipment for measuring the respiration after the acquisition unit acquires the respiratory value of the human body.
CN201810122013.4A 2018-02-07 2018-02-07 Method and device for measuring respiration based on gyroscope Active CN108606793B (en)

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 CN108606793A (en) 2018-10-02
CN108606793B true 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
基于角速度的人体呼吸信号研究;赵君豪等;《中国医学物理学杂志》;20171231;第34卷(第12期);第1262-1266页) *

Also Published As

Publication number Publication date
CN108606793A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
JP6152763B2 (en) Exercise support device, exercise support method, and exercise support program
Sardini et al. Wireless wearable T-shirt for posture monitoring during rehabilitation exercises
US10001386B2 (en) Automatic track selection for calibration of pedometer devices
KR101751760B1 (en) Method for estimating gait parameter form low limb joint angles
CN109844460B (en) Stride calibration method, related equipment and system
US20080146968A1 (en) Gait analysis system
CN103505219A (en) System and method for human body gait evaluation
Williams et al. Real-time fall risk assessment using functional reach test
JP2015062654A (en) Gait estimation device, program thereof, stumble risk calculation device and program thereof
KR101307250B1 (en) Apparatus for Tremor measure of fingers
CN108836344B (en) Step length step frequency estimation method and device and gait detector
CN109893111B (en) Dynamic blood pressure measurement mode selection method and device
CN109480857A (en) A kind of device and method for the detection of Parkinsonian's freezing of gait
US20110264401A1 (en) Overall Motion Determination
US10561343B2 (en) Index deriving device, wearable device, and mobile device
CN108606793B (en) Method and device for measuring respiration based on gyroscope
CN110680335A (en) Step length measuring method and device, system and non-volatile computer storage medium thereof
JP6416722B2 (en) Step counting device, step counting method, and program
CN111895997A (en) Human body action acquisition method based on inertial sensor without standard posture correction
JP2017038631A (en) Number-of-steps measurement device, number-of-steps measurement method, and program
KR102039236B1 (en) Indicator Derivatives, Wearables, and Mobile Devices
Allen et al. Evaluation of fall risk for post-stroke patients using bluetooth low-energy wireless sensor
KR101179997B1 (en) Mobile body monitoring system
JP2018153240A5 (en)
CN114391831A (en) Hip-knee joint angle and dynamic force line resolving system

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