Summary of the invention
In view of this, a kind of Breathing Suppotion equipment traffic alignment method and device of the invention and system, this method pass throughCorresponding flow AD sampled value under specific several gas flows is acquired, is then calculated according to these dispersion values in certain flow ADFlow value under sampled value, by the flow value that can accurately obtain current ventilator after calibration.
A kind of Breathing Suppotion equipment traffic alignment method, method include:
S1. the flow value array F [n] and corresponding flow AD sampled value array V [n] data of dispersion are acquired;
S2. real-time flow AD sampled value V is obtained;
S3. flow AD sampled value V and flow AD sampled value array V [n] size order are arranged, V (i) < V < V (i-1);
S4. according to F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)), wherein F (i) is that V (i) is rightThe flow value answered, F (i-1) are V (i-1) corresponding flow value, calculate the corresponding flow value F of real-time traffic AD sampled value V.
It preferably, further include judging whether real-time flow AD sampled value V is less than preset AD value between the S2 and S3,If real-time flow AD sampled value V is less than preset AD value, and flow AD sampled value V and flow AD sampled value array V [n] is bigSmall sequence arrangement, V (i) < V < V (i-1).
Preferably, if flow AD sampled value V is not less than preset AD value in real time, show that flow value F is that Vmax (n) is rightThe Fmav (n) answered.
It preferably, further include by flow value array F [n] and corresponding flow AD sampled value array V between the S1 and S2[n] is stored.
A kind of Breathing Suppotion equipment flowrate calibrating device, device include acquisition unit, acquiring unit, sequencing unit and meterUnit is calculated, the acquisition unit, acquiring unit, sequencing unit and computing unit are sequentially connected, in which:
Acquisition unit, for acquiring the flow value array F [n] and corresponding flow AD sampled value array V [n] number of dispersionAccording to;
Acquiring unit, for obtaining real-time flow AD sampled value V;
Sequencing unit, for flow AD sampled value V and flow AD sampled value array V [n] size order to be arranged, V (i) <V < V (i-1);
Computing unit, for according to F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)), wherein FIt (i) is the corresponding flow value of V (i), F (i-1) is V (i-1) corresponding flow value, and it is corresponding to calculate real-time traffic AD sampled value VFlow value.
It preferably, further include judging unit, the judging unit is connected to acquiring unit and sequencing unit, describedJudging unit is for judging whether real-time flow AD sampled value V is less than preset AD value, when judging unit is judged in real timeFlow AD sampled value V is less than preset AD value, then sequencing unit is big by flow AD sampled value V and flow AD sampled value array V [n]Small sequence arrangement, V (i) < V < V (i-1).
It preferably, further include display unit, the display unit is connected to judging unit, when judging unit is judged in real timeFlow AD sampled value V be not less than preset AD value when, display unit show flow value F be the corresponding Fmav (n) of Vmax (n).
It preferably, further include storage unit, the storage unit is connected to acquisition unit and acquiring unit, describedStorage unit is for storing flow value array F [n] and corresponding flow AD sampled value array V [n].
A kind of Breathing Suppotion equipment flow calibration system, system include the above-mentioned calibrating installation of right, ventilator, flowmeterAnd flow control valve, the flow control valve are connect with flowmeter, the flowmeter be also respectively connected in calibrating installation andVentilator, the ventilator are connect with calibrating installation;The flow control valve control flow makes flow measurement obtain several dispersionsFlow value, the calibrating installation receives storage dispersion flow value and the corresponding ventilator AD sampled value of dispersion flow value.
Preferably, the flowmeter is connect by RS485 with calibrating installation, and the ventilator and calibrating installation pass through serial portsConnection, the ventilator, flowmeter and flow control valve pass sequentially through corrugated hose connection.
The beneficial effects of the present invention are a kind of: Breathing Suppotion equipment traffic alignment method and device of the invention and it isThen system, this method are calculated by acquiring corresponding flow AD sampled value under specific several gas flows according to these dispersion valuesFlow value under certain flow AD sampled values out, by can accurately obtain the flow value of current ventilator after calibration,So that it is guaranteed that the Stability and veracity of Breathing Suppotion device core algorithm, improves the quality and use of entire Breathing Suppotion equipmentImpression experience.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hairEmbodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative effortsExample, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instructionDescribed feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precludedBody, step, operation, the presence or addition of element, component and/or its set.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims isRefer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Fig. 1 is please referred to, system includes calibrating installation 11, ventilator 12, flowmeter 13 and flow control valve 14, flow controlValve 14 processed is connect by breathing pipeline with flowmeter 13, and flowmeter 13 carries out carrying out with calibrating installation 11 by way of RS485Communication, flowmeter 13 are also connect by corrugated hose with ventilator 12, and ventilator 12 is also connect by serial ports with calibrating installation 11,Wherein, calibrating installation 11 is generally computer installation or processor.System controls flow by flow control valve 14,Form flow array, the measurement of ventilator 12 corresponding flow AD sampled value under several gas flows, the flow AD sampling of formationIt is worth array, real-time flow AD sampled value is calibrated, by can accurately obtains current ventilator 12 after calibrationFlow value, so that it is guaranteed that the Stability and veracity of Breathing Suppotion device core algorithm, improves the matter of entire Breathing Suppotion equipmentAmount and use feeling experience.
In conjunction with Fig. 6, the control flow of system are as follows:
S61, calibrating installation are connect with ventilator by serial ports;Before system operation, calibrating installation is passed through serial ports and exhaledSuction machine connects, and carries out data transmission.In fact, at this time flowmeter and flow control valve has all connected.
The fixed air-blower control amount of ventilator is arranged by calibrating installation in S62;Calibrating installation is configured, control breathingThe air output of machine, when Boiler pressure control is provided, for convenience, air quantity is traditionally arranged to be integer, i.e., by flow control valve intoRow control, so that flow measurement obtains integer flow value, such as: by taking 700 air-blower control amount as an example, control flow control valve makes to flowThe flow value that meter is shown is respectively the flow of some dispersions such as (120,100,80,60,50,40,30,25,20,15,10,5)Numerical value.
S63, control flow control valve make flowmeter show the calibrational capacity value for reaching demand;It is controlled by flow control valveFlow, so that flow reaches the flow value of setting.
S64, flowmeter show whether reach calibrational capacity value;After flow control valve controls flow, flow can slowly be connectThe flow of requirement magnitude closely set, this is to carry out judging that flowmeter shows whether reach calibrational capacity value, when flow measurement obtainsFlow also not up to setting calibration value, then continue adjust flow control valve.
S65, calibrating installation send the order of acquisition flow sensor AD sampled value to ventilator;Reach when flowmeter is shownCalibrational capacity value, calibrating installation send the order of acquisition flow sensor AD sampled value to ventilator, that is, send and obtain breathingThe demand of machine flow sensor AD sampled value, wherein AD sampled value is the value that analog signal is converted into digital signal, i.e. ventilatorIn the analog quantity of flow sensor detection be converted into the value of digital quantity.
S66, ventilator acquire current flow value and send to calibrating installation;Ventilator is by the flow AD sampled value of acquisitionIt is sent to calibrating installation.Complete the acquisition of a pair of of data, i.e. flow value and corresponding AD sample values.
S67, if all acquisition finishes institute's AD sampled value in need;Since the flow value set is several number of dispersionValue, such as: the numerical value of some dispersions such as (120,100,80,60,50,40,30,25,20,15,10,5), so needing to eachThe acquisition that dispersion point value carries out corresponding AD sample values needs to continue to adopt when corresponding AD sampled value has not acquired alsoCollection, until the corresponding AD sampled value acquisition of the flow value of each dispersion finishes;By taking flow 60 as an example, when control flow control valve makesWhen flowmeter is shown as 60, flowmeter is connected by RS485 with calibrating installation, and real-time flow data size is passed to calibration cartridgeSet, when it is 60 that calibrating installation, which reads flow value, just to ventilator say the word reading flow sensor at this time AD sampled value it is bigIt is small, it, will after being sampled average treatment to the AD sampled value of flow sensor at this time after ventilator is connected to the request of calibrating installationAD sampled value is sent to calibrating installation.What is carried out to the flux scale definite value of 5-120 is similarly to operate, and can pass through ventilator blowerFlow set carries out which calibrational capacity value selected, and if normal selection flow 120 is started, flow set value can receivedAfter replying write-in to ventilator, successively switch over down.
This data group is sent to ventilator by S68, calibrating installation;Calibrating installation by the flow value array F [n] of setting withAnd the corresponding AD sampled value array V [n] of flow value is sent to ventilator.
Data group is write into memory and carries out calibration calculation processing to real-time traffic by S69, ventilator;What ventilator will acquireFlow value array and the corresponding AD sampled value array of flow value are stored, to real-time traffic according to the flow value array of acquisitionAnd the corresponding AD sampled value array of flow value carries out calibration calculation processing.
Such as 15 flows of setting, flow value array F [15]=(200,160,120,100,80,60,50,40,30,25,20,15,10,5,0), collected is [15] 15 AD sampled value number data of corresponding AD sampled value array V,
When calibrating installation completes the sampling of the corresponding flow sensor AD sampled value of 15 flux scale definite values of flow value arrayAfterwards, flow sensor AD sampled value is sequentially written in by flux scale definite value and is exhaled by the button for pressing the download parameters on calibrating installationIn suction machine V [15] array, carried out in ventilator program wherein being handled for the AD sampled value of calibrational capacity value 0,160,200,When flow value is 0L/min, Vi (14)=0, when flow value is 160L/min, V (1)=V (2)+6000, i.e. 120L flowAD sampled value add 6000, when flow value be 200L/min when, V (0)=V (1)+14000.And the value of array V [15] is storedTo in the middle of the memory of breathing machine equipment, when each power-up initializing, reads call from memory again.For programThe processing of middle real-time flow data uses, firstly, real-time flow sensor sampling AD sampled value V is obtained, if obtained samplingValue is greater than 65535, then it is assumed that sampled value V is problematic, returns to mistake.If V is not greater than 65535, by the value of V and array V[15] value in is compared, which value that real-time sampling value V is greater than or equal in V [15] numerical value is seen, it is assumed that V (i-1) >=V>=V (i), then real-time flow data at this time are as follows:
F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)).
Wherein F (i) is the corresponding flow value of V (i), and F (i-1) is V (i-1) corresponding flow value, calculates real-time trafficThe corresponding flow value F of AD value V.
When V is greater than (0) V, that is, it has been more than the AD sampled value of calibrational capacity value 200L, has then provided F=F (0), i.e., flow is super200L/Min is crossed, default is shown as 200L/Min, and flow does not have actual use meaning when being more than or equal to 200.
Fig. 2, a kind of Breathing Suppotion equipment traffic alignment method are please referred to, method includes:
S21. the flow value array F [n] and corresponding flow AD sampled value array V [n] data of dispersion are acquired;In convection currentWhen amount is set, generally by flow set at the integer value of dispersion, and dispersion is uniform as far as possible, and numerical value quantity can according to needPrecision carry out mostly with few setting, such as be set as 15 several flow array F [15]=(200,160,120,100,80,60,50,40,30,25,20,15,10,5,0), F (0)=200, F (1)=160, and so on, F (14)=0.And simultaneouslyThe flow AD sampled value detected to the Breathing Suppotion equipment flow sensor under different flow is measured, that is, corresponds to 15Several flow AD sampled value array V [15], i.e., F (i) corresponds to V (i).
S22. real-time flow AD sampled value V is obtained;Acquire flow value array F [n] and corresponding flow AD samplingFlow AD sampled value V after being worth array V [n], i.e., in acquisition Breathing Suppotion equipment.
S23. flow AD sampled value V and flow AD sampled value array V [n] size order are arranged, V (i) < V < V (i-1);The real-time traffic AD sampled value V that will acquire, which is placed in V [n] array, to be ranked up, that is, has V (i) < V < V (i-1).
S24. according to F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)), wherein F (i) is that V (i) is rightThe flow value answered, F (i-1) are V (i-1) corresponding flow value, i.e. F is equal to F (i) plus (V-V (i) falls multiplied by slope at this timeNumber, can calculate the corresponding flow value F of real-time traffic AD sampled value V.
Please refer to Fig. 3, a kind of Breathing Suppotion equipment flowrate calibrating device, device include acquisition unit 31, acquiring unit 32,Sequencing unit 33 and computing unit 34, acquisition unit 31, acquiring unit 32, sequencing unit 33 and computing unit 34 successively connectIt connects, in which:
Acquisition unit 31, for acquiring the flow value array F [n] dispersed and corresponding flow AD sampled value array V [n]Data;When setting to flow, generally by flow set at the integer value of dispersion, and disperse uniform as far as possible, numerical value quantityThe precision that can according to need carry out mostly with few setting, such as be set as 15 several flow array F [15]=(200,160,120,100,80,60,50,40,30,25,20,15,10,5,0), F (0)=200, F (1)=160, and so on, F(14)=0.And the flow AD sampled value detected simultaneously to the Breathing Suppotion equipment flow sensor under different flow is surveyedIt is fixed, that is, 15 several flow AD sampled value array V [15] are corresponded to, i.e., F (i) corresponds to V (i).
Acquiring unit 32, for obtaining real-time flow AD sampled value V;Acquire flow value array F [n] and correspondingFlow AD sampled value V after flow AD sampled value array V [n], i.e., in acquisition Breathing Suppotion equipment.
Sequencing unit 33, for flow AD sampled value V and flow AD sampled value array V [n] size order to be arranged, V (i)< V < V (i-1);The real-time traffic AD sampled value V that will acquire, which is placed in V [n] array, to be ranked up, that is, has V (i) < V < V (i-1)。
Computing unit 34, for according to F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)), wherein FIt (i) is the corresponding flow value of V (i), F (i-1) is V (i-1) corresponding flow value, i.e. F is equal to F (i) plus (V-V (i) is multiplied by thisWhen slope inverse, the corresponding flow value F of real-time traffic AD sampled value V can be calculated.
Fig. 4, a kind of Breathing Suppotion equipment traffic alignment method are please referred to, method includes:
S41 acquires the flow value array F [n] and corresponding flow AD sampled value array V [n] data of dispersion;In convection currentWhen amount is set, generally by flow set at the integer value of dispersion, and dispersion is uniform as far as possible, and numerical value quantity can according to needPrecision carry out mostly with few setting, such as be set as 15 several flow array F [15]=(200,160,120,100,80,60,50,40,30,25,20,15,10,5,0), F (0)=200, F (1)=160, and so on, F (14)=0.And simultaneouslyThe flow AD sampled value detected to the Breathing Suppotion equipment flow sensor under different flow is measured, that is, corresponds to 15Several flow AD sampled value array V [15], i.e., F (i) corresponds to V (i).
S42 stores flow value array F [n] and flow AD sampled value array V [n] data, when by flow value array F [n]And after the acquisition of flow AD sampled value array V [n] data, data are stored, when operation needs, by the flow value number of storageGroup F [n] and flow AD sampled value array V [n] data extract.
S43 obtains real-time traffic AD sampled value V;Obtain real-time flow AD sampled value V;Acquire flow value array FFlow AD sampled value V after [n] and corresponding flow AD sampled value array V [n], i.e., in acquisition Breathing Suppotion equipment.
S44, judges whether real-time traffic AD sampled value V is less than preset AD value, preset AD value, that is, V (0), i.e. V [n] numberMaximum value in group, the real-time traffic AD sampled value V that will acquire is compared with V (0) carries out judgement, result i.e. two kind, one are as follows:Real-time traffic AD sampled value V is less than preset AD value;The two are as follows: real-time traffic AD sampled value V is not less than preset AD value, i.e., greatlyIn equal to preset AD sampled value.
S45 arranges flow AD sampled value V and flow AD sampled value array V [n] size order, V (i) < V < V (i+1), when real-time traffic AD sampled value V is less than preset AD sampled value, then by flow AD sampled value V in flow AD sampled value numberIt is ranked up in group V [n], existing V (i) < V < V (i+1).
S46, according to F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)), wherein F (i) is that V (i) is rightThe flow value answered, F (i-1) are V (i-1) corresponding flow value, i.e. F is equal to F (i) plus (V-V (i) falls multiplied by slope at this timeNumber, can calculate the corresponding flow value F of real-time traffic AD sampled value V.
S47 shows that F is Vmax [n] corresponding Fmav [n], when real-time traffic AD sampled value V is not less than preset ADValue, that is, when being more than or equal to preset AD value, F is the corresponding Fmav [n] of corresponding display Vmax [n], and in embodiment, F is V(0) corresponding F (0) shows F=F (0), i.e. flow overruns, and default is shown as maximum value, is more than or equal to F(0), breathing apparatus flow does not have actual use meaning.
Please refer to Fig. 5, a kind of Breathing Suppotion equipment flowrate calibrating device, device include acquisition unit 51, storage unit 52,Acquiring unit 53, judging unit 54, sequencing unit 55, computing unit 56 and display unit 57, acquisition unit 51, storage unit52, acquiring unit 53, judging unit 54, sequencing unit 55 and computing unit 56 are sequentially connected, and judging unit 54 is also attached toDisplay unit 57, in which:
Acquisition unit 51, for acquiring the flow value array F [n] dispersed and corresponding flow AD sampled value array V [n]Data;When setting to flow, generally by flow set at the integer value of dispersion, and disperse uniform as far as possible, numerical value quantityThe precision that can according to need carry out mostly with few setting, such as be set as 15 several flow array F [15]=(200,160,120,100,80,60,50,40,30,25,20,15,10,5,0), F (0)=200, F (1)=160, and so on, F(14)=0.And the flow AD sampled value detected simultaneously to the Breathing Suppotion equipment flow sensor under different flow is surveyedIt is fixed, that is, 15 several flow AD sampled value array V [15] are corresponded to, i.e., F (i) corresponds to V (i).
Storage unit 52, for storing flow value array F [n] and flow AD sampled value array V [n] data, when will flowAfter magnitude array F [n] and flow AD sampled value array V [n] data acquire, data are stored, when operation needs, will be depositedThe flow value array F [n] and flow AD sampled value array V [n] data of storage are extracted.
Acquiring unit 53, for obtaining real-time traffic AD sampled value V;Obtain real-time flow AD sampled value V;Acquire streamFlow AD sampling after magnitude array F [n] and corresponding flow AD sampled value array V [n], i.e., in acquisition Breathing Suppotion equipmentValue V.
Judging unit 54, for judging whether real-time traffic AD sampled value V is less than preset AD value, preset AD value, that is, V(0), i.e. maximum value in V [n] array, compared with V (0) carries out judgement, result is the real-time traffic AD sampled value V that will acquireTwo kinds, one are as follows: real-time traffic AD sampled value V is less than preset AD value;The two are as follows: real-time traffic AD sampled value V is not less than pre-If AD value, that is, be more than or equal to preset AD value.
Sequencing unit 55, for flow AD sampled value V and flow AD sampled value array V [n] size order to be arranged, V (i)< V < V (i+1), when real-time traffic AD sampled value V is less than preset AD sampled value, then by flow AD sampled value V in flow ADIt is ranked up in sampled value array V [n], existing V (i) < V < V (i+1).
Computing unit 56, for according to F=F (i)+(V-V (i)) * (F (i-1)-F (i))/(V (i-1)-V (i)), wherein FIt (i) is the corresponding flow value of V (i), F (i-1) is V (i-1) corresponding flow value, i.e. F is equal to F (i) plus (V-V (i) is multiplied by thisWhen slope inverse, the corresponding flow value F of real-time traffic AD sampled value V can be calculated.
Display unit 57, for showing that F is Vmax [n] corresponding Fmav [n], when real-time traffic AD sampled value V is not smallIn preset AD value, that is, when being more than or equal to preset AD value, F is the corresponding Fmav [n] of corresponding display Vmax [n], in embodimentIn, F is the corresponding F (0) of V (0), that is, is shown F=F (0), i.e. flow overruns, and default is shown as maximum value, greatlyIn being equal to F (0), breathing apparatus flow does not have actual use meaning.
The embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.