CN105496413B - A kind of spirometer lung capacity acquisition methods - Google Patents
A kind of spirometer lung capacity acquisition methods Download PDFInfo
- Publication number
- CN105496413B CN105496413B CN201510929480.4A CN201510929480A CN105496413B CN 105496413 B CN105496413 B CN 105496413B CN 201510929480 A CN201510929480 A CN 201510929480A CN 105496413 B CN105496413 B CN 105496413B
- Authority
- CN
- China
- Prior art keywords
- waveform
- spirometer
- air blowing
- lung capacity
- voltage
- 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
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
- A61B5/091—Measuring volume of inspired or expired gases, e.g. to determine lung capacity
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Pulmonology (AREA)
- Biomedical Technology (AREA)
- Medical Informatics (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Physiology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physics & Mathematics (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The invention discloses a kind of spirometer lung capacity acquisition methods, include with the air blowing signal for directly reading spirometer with the microprocessor that A/D is converted, with the frequency acquisition of spirometer revolving wormgear rated speed 2 times or more integral multiple, acquire the continuous wave in a gassing time period, feature of the waveform maximum amplitude point close to waveform initiating terminal in voltage a cycle when benchmark value line and blade rotate forward, with the number of maximum value inflection point, the impulse wave number M in an air blowing effective period of time is obtained, lung capacity is obtained by waveform analysis;The impulse waveform converted through turbine module is directly accessed microprocessor microcontroller by the present invention, saves intermediate analog signal processing circuit, saves circuit design cost, reduces hardware circuit risk, reduces the interference that component frequency limit and environment introduce.Using high-frequency high-speed ADC conversion processings, digital filtering and subsequent algorithm processing, accurate and easy care can read the blowing speeds of any time by this method.
Description
Technical field
The invention belongs to field of medical device, more particularly to a kind of spirometer lung capacity acquisition methods.
Background technology
In general, spirometer test measures the air for entering and leaving lung and air flue, and often act on assessment patient's
The preliminary test of the health status of lung and air flue and means for regularly tracking disease treatment process and medication effect.Lung
The parameter of flowmeter measurement living mainly has respiratory capacity test and respiration rate test, respectively by rise and rise/as unit of the second.
When carrying out lung capacity tests measurement, the method for prior art generally use analog circuitry processes, by the arteries and veins of acquisition
It rushes that signal is filtered respectively, amplifies, compares, then carries out lung capacity relevant parameter further according to filtering, amplification, result of the comparison
Calculating.However, using the method for analog circuitry processes, need to be arranged filter circuit, amplifying circuit, comparison circuit it is each discrete
Component, which not only adds circuit design costs, increase hardware and debug risk, and analog signal is during the treatment
It is easy to be influenced by electronic component frequency limit itself, while being also vulnerable to the interference of external environment, acquisition waveform also can
Decaying or deformation occurs, causes to judge by accident.
Invention content
The purpose of the present invention is to propose to a kind of spirometer and lung capacity computational methods, are connect received pipe by this method
The impulse waveform of receipts is directly accessed microprocessor microcontroller, saves intermediate analog signal processing circuit, save circuit design at
This, reduces the interference that component and environment introduce, and directly carries out high-frequency high-speed ADC conversion processings, digital filtering, and later programmed is calculated
Method processing, accurate and easy care obtain accurately spirometric parameters, can especially obtain the blowing speeds of any time.
To achieve the goals above, the technical scheme is that:
A kind of spirometer lung capacity acquisition methods include directly reading lung capacity with the microprocessor that A/D is converted
The air blowing signal of meter, the air blowing signal are rotated from spirometer air impeller rotating vane by infrared emission receiving sensor
The voltage pulse waveforms signal that angle change obtains, blade rotates forward when air blowing, and waveform is most in voltage a cycle when blade rotates forward
Amplitude point is close to waveform initiating terminal, and blade inverts when air-breathing, waveform maximum amplitude point in voltage a cycle when blade inverts
Close to waveform extremities;Wherein, the lung capacity acquisition methods are:
A acquires a gassing time with the frequency acquisition of spirometer revolving wormgear rated speed 2 times or more integral multiple
Continuous impulse waveform in period;
B obtains in continuous impulse waveform each pulse wave period wave-average filtering value as continuous wave a reference value line;
Waveform maximum amplitude point is originated close to waveform in voltage a cycle when c, benchmark value line and blade rotate forward
The feature at end, statistics blade rotate forward the number of continuous impulse waveform maximum value inflection point, and the number of inflection point is exactly one and blows effectively
Blade in period rotates forward impulse wave number M;
D, according to formula:Sampling number/sample frequency in T=mono- pulse wave period, obtains the cycle duration of each pulse
T1、T2.。。。。Tn;By formula:L=M × α obtains lung capacity, and factor alpha is every turn of nominal corresponding capacity of spirometer;By public affairs
Formula:Obtain the blowing speeds and the average speed in an air blowing period of n-th of pulse wave period.
Scheme is further:One air blowing effective period of time is:From first air blowing effective impulse wave for " 0 " when
It carves in the period stopped to the last one effective impulse wave time.
Scheme is further:The determination method of the last one effective impulse wave is:When the voltage value of acquisition is at one
In the time set continuous constant or change rate be less than maximum value a setting value when previous impulse wave as the last one
Effective impulse wave.
Scheme is further:It is 0.5 second to 1 second in the time of one setting, one setting value is 1%.
Scheme is further:The continuous impulse waveform be continuous meet blade rotate forward when voltage a cycle in waveform
Maximum amplitude point close to the feature of waveform initiating terminal waveform, when the waveform for occurring being not belonging to this category feature in waveform and
When such waveform frequency is more than the permissible value of setting, it will remove such waveform, or think acquisition failure, send out and resurvey
Order.
Scheme is further:When the waveform of this category feature continuously occurs, it is believed that acquisition failure sends out the life resurveyed
It enables.
A kind of spirometer for realizing the above method includes blowing to sense with the A/D microprocessors converted and turbine type
Device, around microprocessor be connected with display module, communication module, clock module, memory module, buzzer module and by
Key module, wherein the voltage analog signal of the turbine type air blowing sensor is connected directly to the A/D conversion inputs of microprocessor
Mouthful.
The beneficial effects of the invention are as follows:
The impulse waveform converted through turbine module is directly accessed microprocessor microcontroller by the present invention, saves intermediate simulation
Signal processing circuit saves circuit design cost, reduces hardware circuit risk, what reduction component frequency limit and environment introduced
Interference.
The present invention uses high-frequency high-speed ADC conversion processings, digital filtering and subsequent algorithm processing, ties up precisely and easily
Shield, the blowing speeds of any time can be read by this method.
The present invention is described in detail with reference to the accompanying drawings and examples.
Description of the drawings
Fig. 1 is turbine air blowing sensor operating principles schematic diagram;
Fig. 2 is that turbine air blowing sensor blade inverts schematic diagram;
Fig. 3 is that turbine air blowing sensor blade rotates forward schematic diagram;
Fig. 4 is the blade reversal voltage waveform diagram of corresponding diagram 2;
Fig. 5 is that the blade of corresponding diagram 3 rotates forward voltage waveform view;
Fig. 6 is actual air blowing voltage waveform view;
Fig. 7 is spirometer control circuit schematic diagram.
Specific implementation mode
Embodiment 1:
A kind of spirometer lung capacity acquisition methods include directly reading lung capacity with the microprocessor that A/D is converted
The air blowing signal of meter, as shown in Figure 1:It is far infrared transceiver, including transmitting tube 5 and reception pipe 6 on the right side of figure, which can
With transmitting and receiving infrared-ray signal.When being tested, the leaf 7 of turbine rotates.As shown in Fig. 2, when reversely rotating, blade position
It sets from 1 → 2 direction, blade cuts infrared facility region, and blade continues to rotate, and infrared receiver initially receives not
With the infrared ray of intensity, voltage signal is converted to.Blade passes sequentially through B, C, D, E and eventually passes back to the positions L.Signal waveform description is shown in
Corresponding location point in Fig. 4.Signal herein is a continuous voltage signal, and size is electric by the periphery of far infrared transceiver
Road controls, and infrared receiver initially receives the infrared ray of varying strength, and is converted into continuous voltage signal, root
It is arranged according to the angle of infrared transmitting device, after signal strength reaches maximum, continues to rotate with turbine, signal strength meeting
It reduces rapidly, therefore infrared receiver will produce out analog signal waveform as shown in Figure 4, voltage value size is in microcontroller
Within tolerance interval.The continuous voltage signal of infrared receiver output passes through the AD samples storages of microcontroller to microcontroller
It is interior, it is further processed;When rotating in the forward direction, as shown in figure 3, when blade is rotated according to 3 → 4 direction, such as
Fig. 3 arrows indicate direction, are moved to location A by the positions L, start a cut through infrared spectral range, blade continues to rotate, pass sequentially through
B, C, D, E eventually pass back to the positions L.Corresponding location point in Fig. 5 is shown in signal waveform description.After signal strength reaches maximum, with
It turbine to continue to rotate, signal strength reduces relatively slow, and infrared receiver receives analog waveform as shown in Figure 5;
Therefore, the judgement in turbine rotation direction is summarized as:Within a pulse period, according to maximum of points apart from the pulse period
Starting point and terminal distance, the positive and negative of turbine rotation direction is judged, if maximum of points is closer apart from starting point(Adopt
Number of samples is less than the sampling number apart from terminal), then turbine is judged to rotate forward, on the contrary, if maximum of points distance rises
Initial point is distant(I.e. sampling number is more than the sampling number apart from terminal), then turbine is judged to rotate backward.As shown in fig. 6,
Its actual waveform is irregular.According to above-mentioned principle, therefore:The air blowing signal be by infrared emission receiving sensor from
The voltage pulse waveforms signal that the variation of spirometer air impeller rotating vane rotational angle obtains, blade rotates forward when air blowing, leaf
Waveform maximum amplitude point is close to waveform initiating terminal in voltage a cycle when piece rotates forward, and blade inverts when air-breathing, when blade inverts
Waveform maximum amplitude point plays end close to waveform in voltage a cycle;Wherein, the lung capacity acquisition methods are:
A acquires a gassing time with the frequency acquisition of spirometer revolving wormgear rated speed 2 times or more integral multiple
Continuous impulse waveform in period, continuous impulse waveform are formed by multiple collection points;
B obtains in continuous impulse waveform each pulse wave period wave-average filtering value as continuous wave a reference value line, institute
State the average value that average value is maximum value and minimum value;
Waveform maximum amplitude point is originated close to waveform in voltage a cycle when c, benchmark value line and blade rotate forward
The feature at end obtains the impulse wave number M in an air blowing effective period of time, is to rotate forward continuous impulse waveform by counting blade
The quantity of maximum value inflection point obtains;
D, according to formula:Sampling number/sample frequency in T=mono- pulse wave period, obtains the cycle duration of each pulse
T1、T2.。。。。Tn;By formula:L=M × α obtains lung capacity, and factor alpha is every turn of nominal corresponding capacity of spirometer(It is one
A datum);By formula:Obtain the blowing speeds and the average speed in an air blowing period of n-th of pulse wave period
Degree(By obtaining the speed in each period, average acquisition is then taken).
In embodiment:One air blowing effective period of time is:From first air blowing effective impulse wave extremely for " 0 " moment
In the period that the last one effective impulse wave time stops.
In embodiment:The determination method of the last one effective impulse wave is:When the voltage value of acquisition is set at one
Time in previous impulse wave of continuous constant or change rate when being less than a setting value of maximum value be the last one effectively
Impulse wave.Wherein:It is 0.5 second to 1 second in the time of one setting, one setting value is 1%.
In embodiment:It is maximum that the continuous impulse waveform is continuous when meeting blade main story waveform in voltage a cycle
Amplitude point close to the feature of waveform initiating terminal waveform, when the waveform for occurring being not belonging to this category feature in waveform(Such as:It adopts
Data frequency than sample frequency limitation multiple it is taller when waveform)And such waveform frequency is more than the permission of setting
When value, it will remove such waveform, or think acquisition failure, send out the order resurveyed.
In embodiment:When the waveform for being not belonging to this category feature continuously occurs, it is believed that acquisition failure sends out and adopts again
The order of collection.
Embodiment 2:
The present embodiment is a kind of spirometer for realizing 1 the method for embodiment, as shown in fig. 7, comprises carrying A/D
(ADC)The microprocessor microcontroller and turbine type air blowing sensor of conversion are connected with display module around microprocessor, lead to
Believe module, clock module, memory module, buzzer module and key-press module, the voltage-mode of the turbine type air blowing sensor
Quasi- signal is connected directly to the A/D conversions input port of microprocessor.
Claims (7)
1. a kind of spirometer lung capacity acquisition methods include directly reading spirometer with the microprocessor that A/D is converted
Air blowing signal, the air blowing signal is by infrared emission receiving sensor from spirometer air impeller rotating vane angle of rotation
The voltage pulse waveforms signal that degree variation obtains, blade rotates forward when air blowing, and waveform is maximum in voltage a cycle when blade rotates forward
Amplitude point is close to waveform initiating terminal, and blade inverts when air-breathing, and waveform maximum amplitude point connects in voltage a cycle when blade inverts
Nearly waveform extremities;It is characterized in that, the lung capacity acquisition methods are:
A acquires a gassing time period with the frequency acquisition of spirometer revolving wormgear rated speed 2 times or more integral multiple
Interior continuous impulse waveform;
B obtains wave-average filtering value in continuous impulse waveform each pulse wave period, as continuous wave a reference value line;
C, when benchmark value line and blade rotate forward in voltage a cycle waveform maximum amplitude point close to waveform initiating terminal
Feature, statistics blade rotate forward the number of continuous impulse waveform maximum value inflection point, and the number of inflection point is exactly an air blowing effective time
Blade in section rotates forward impulse wave number M;
D, according to formula:Sampling number/sample frequency in T=mono- pulse wave period obtains the cycle duration T of each pulse1、
T2…… Tn;By formula:L=M × α obtains lung capacity, and factor alpha is every turn of nominal corresponding capacity of spirometer;By formula:Obtain the blowing speeds and the average speed in an air blowing period of n-th of pulse wave period.
2. lung capacity acquisition methods according to claim 1, which is characterized in that one air blowing effective period of time is:
In the period stopped for " 0 " moment to the last one effective impulse wave time from first air blowing effective impulse wave.
3. lung capacity acquisition methods according to claim 2, which is characterized in that the last one effective impulse wave is sentenced
The method of determining is:When continuous constant or change rate is less than a setting of maximum value in the time that the voltage value of acquisition is set at one
Previous impulse wave when value is the last one effective impulse wave.
4. lung capacity acquisition methods according to claim 3, which is characterized in that be 0.5 in the time of one setting
Second, one setting value was 1% to 1 second.
5. lung capacity acquisition methods according to claim 1, which is characterized in that the continuous impulse waveform is continuous symbol
When hing straps rotate forward in voltage a cycle waveform maximum amplitude point close to the feature of waveform initiating terminal waveform, when going out in waveform
When being now not belonging to the waveform of this category feature and when such waveform frequency is more than the permissible value of setting, it will such waveform is removed,
Or think acquisition failure, send out the order resurveyed.
6. lung capacity acquisition methods according to claim 5, which is characterized in that when the waveform for being not belonging to this category feature is continuous
When appearance, it is believed that acquisition failure sends out the order resurveyed.
7. a kind of spirometer for realizing claim 1 the method includes being blown with the A/D microprocessors converted and turbine type
Gas sensor is connected with display module, communication module, clock module, memory module, buzzer module around microprocessor
And key-press module, which is characterized in that as in the far infrared transceiver of the turbine type air blowing sensor transmitting tube with
Wheel rotating vane rotation axis radial center is concordantly arranged, and the reception pipe in far infrared transceiver turns in air impeller rotating vane
Setting, the voltage analog signal of the turbine type air blowing sensor are connected directly to the A/ of microprocessor on the downside of moving axis radial center
D converts input port.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510929480.4A CN105496413B (en) | 2015-12-15 | 2015-12-15 | A kind of spirometer lung capacity acquisition methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510929480.4A CN105496413B (en) | 2015-12-15 | 2015-12-15 | A kind of spirometer lung capacity acquisition methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105496413A CN105496413A (en) | 2016-04-20 |
CN105496413B true CN105496413B (en) | 2018-10-09 |
Family
ID=55704985
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510929480.4A Active CN105496413B (en) | 2015-12-15 | 2015-12-15 | A kind of spirometer lung capacity acquisition methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105496413B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109549648A (en) * | 2018-11-06 | 2019-04-02 | 深圳市龙华区中心医院 | A kind of intelligent breathing internal medicine lung function Training Control system and method |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3680378A (en) * | 1970-09-11 | 1972-08-01 | Fibre Optics Ind Inc | Fluid flow rate meter |
US3922525A (en) * | 1974-05-13 | 1975-11-25 | Kozak Zdenek | Bidirectional spirometer |
US4282883A (en) * | 1978-07-03 | 1981-08-11 | Scitec Corporation Ltd. | Spirometers |
US6126613A (en) * | 1999-02-08 | 2000-10-03 | Edwards; Raymond A. | Device and method to measure inhalation and exhalation air flows |
US6155985A (en) * | 1997-08-25 | 2000-12-05 | Taema | Process for determining the image of the nasal and/or buccal respiratory flow of a user |
CN101073683A (en) * | 2007-06-25 | 2007-11-21 | 朱伟 | Intermittent air-blowing appliance for treating sleep-respiratory disorder and its control |
CN202619654U (en) * | 2012-06-11 | 2012-12-26 | 成都恒瑞制药有限公司 | Small-size pneumatometer |
CN103987315A (en) * | 2011-10-17 | 2014-08-13 | 科斯梅德有限公司 | Antibacterial filter and turbine flowmeter for tests on respiratory functionality |
CN203971098U (en) * | 2014-04-09 | 2014-12-03 | 北京超思电子技术股份有限公司 | A kind of respirator |
CN104363830A (en) * | 2012-06-08 | 2015-02-18 | 庞德卫生保健创新公司 | Device, method and software for measuring exhalation capacity |
CN104605857A (en) * | 2015-02-12 | 2015-05-13 | 上海朔茂网络科技有限公司 | Lung function measuring method |
CN204562163U (en) * | 2015-03-27 | 2015-08-19 | 常州信息职业技术学院 | A kind of electronics lung vital capacity meter |
-
2015
- 2015-12-15 CN CN201510929480.4A patent/CN105496413B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3680378A (en) * | 1970-09-11 | 1972-08-01 | Fibre Optics Ind Inc | Fluid flow rate meter |
US3922525A (en) * | 1974-05-13 | 1975-11-25 | Kozak Zdenek | Bidirectional spirometer |
US4282883A (en) * | 1978-07-03 | 1981-08-11 | Scitec Corporation Ltd. | Spirometers |
US6155985A (en) * | 1997-08-25 | 2000-12-05 | Taema | Process for determining the image of the nasal and/or buccal respiratory flow of a user |
US6126613A (en) * | 1999-02-08 | 2000-10-03 | Edwards; Raymond A. | Device and method to measure inhalation and exhalation air flows |
CN101073683A (en) * | 2007-06-25 | 2007-11-21 | 朱伟 | Intermittent air-blowing appliance for treating sleep-respiratory disorder and its control |
CN103987315A (en) * | 2011-10-17 | 2014-08-13 | 科斯梅德有限公司 | Antibacterial filter and turbine flowmeter for tests on respiratory functionality |
CN104363830A (en) * | 2012-06-08 | 2015-02-18 | 庞德卫生保健创新公司 | Device, method and software for measuring exhalation capacity |
CN202619654U (en) * | 2012-06-11 | 2012-12-26 | 成都恒瑞制药有限公司 | Small-size pneumatometer |
CN203971098U (en) * | 2014-04-09 | 2014-12-03 | 北京超思电子技术股份有限公司 | A kind of respirator |
CN104605857A (en) * | 2015-02-12 | 2015-05-13 | 上海朔茂网络科技有限公司 | Lung function measuring method |
CN204562163U (en) * | 2015-03-27 | 2015-08-19 | 常州信息职业技术学院 | A kind of electronics lung vital capacity meter |
Also Published As
Publication number | Publication date |
---|---|
CN105496413A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104841117B (en) | The method of counting and system of times of exercise based on mobile terminal acceleration transducer | |
CN103750820B (en) | A kind of sleep quality monitoring method and device | |
US10563879B2 (en) | Air conditioner, sensor unit, and control system | |
US10357163B1 (en) | Respiratory rate detection using decomposition of ECG | |
CN104257353A (en) | Sleep apnea syndrome detecting system | |
CN106841086A (en) | A kind of method for improving Atmospheric Survey Fourier spectrometer signal to noise ratio | |
CN111147079A (en) | Data acquisition method and device with adaptive and adjustable sampling frequency | |
CN106037743B (en) | A kind of method and apparatus extracting respiratory rate | |
CN105588577B (en) | A kind of detection method and device of the abnormal step counting for sport monitoring device | |
CN105496413B (en) | A kind of spirometer lung capacity acquisition methods | |
JP2007105117A (en) | Automatic apneustic and infrequent respiration detecting apparatus, method, program and recording medium | |
WO2014176819A2 (en) | Non-invasive blood pressure detection method | |
JP2023099037A (en) | Low power receiver for in vivo channel sensing and ingestible sensor detection with wandering frequency | |
CN111121894B (en) | Flow calibration method for ultrasonic gas meter | |
CN111528821A (en) | Method for identifying characteristic points of counterpulsation waves in pulse waves | |
US11317859B2 (en) | System for determining sound source | |
CN205280114U (en) | Electric automobile electrical resolver decoding circuit output signal accuracy testing system | |
TWI411426B (en) | Sleep analyzing method, sleep analyzing watch and sleep analyzing system | |
CN113317773A (en) | Method and device for measuring respiratory rate and HFNC (high frequency channel network controller) equipment | |
CN203414563U (en) | Partial discharge AE position detection system | |
Liao et al. | An effective photoplethysmography signal processing system based on EEMD method | |
JPS5995061A (en) | Pace maker programmer equipped with remote control function | |
CN101886636A (en) | Fan combination | |
CN111568419B (en) | Detection method, detector and terminal equipment | |
CN114614825A (en) | Low-cost high-speed pulse signal data sampling and peak value detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |