A kind of under the condition of rocking vibration open-air battlefield the arteriovenous pressure monitoring deviceTechnical field
The present invention relates to a kind of pressure monitoring device, especially a kind of under the condition of rocking vibration open-air battlefield the arteriovenous pressure monitoring device.
Background technology
Outer and by a kind of apparatus for purifying blood the blood samples of patients lead body, remove some morbid substance (toxin) wherein, reach and purify the blood, the purpose for the treatment of disease, this process is blood purification.
In apparatus for purifying blood, the arteriovenous pressure monitoring is important monitoring index, and health and the condense degree of blood in pipeline that can the direct reaction patient be when the patient abnormal, or when in pipeline, blood condenses, need in time give the treatment measure.Conventional blood cleaning equipment is installed on indoor environment, does not have the problem of rocking vibration, so the major influence factors that pressure changes comes from patient and blood clotting state.When patient body changes, change as patient posture, during cough, pressure is the arteries and veins formula and raises, and when blood clotting, pressure rises gradually.Have regularity greatly when pressure changes, and the probability of sudden changes in pressure is less, in therapeutic process, pressure changes more steadily and relaxes, so the collection of pressure signal selects the treating method of routine to satisfy the demands with filtering.And Portable blood purifying system need to use under the condition in the open-air battlefield of rocking vibration, the factor that affects out of doors the pressure variation under condition is a lot, as vibrations, rock the patient who causes and rock and can cause the pressure frequent variations, and present erratic behavior and sudden, therefore need to adopt effective signals collecting mechanism and filtering method under special environment, effectively mask the irrational signal fluctuation that extraneous factor causes.
Summary of the invention
The object of the present invention is to provide and a kind ofly waving, vibrating under the condition of open-air battlefield, the software monitoring method of arteriovenous pressure in Portable blood purifying system, when having solved the work of portable blood cleaning equipment lowered in field environment, pressure acquisition is received external shock factor interference problem.
The invention provides a kind of under the condition of rocking vibration open-air battlefield the arteriovenous pressure monitoring device, mainly by pressure transducer, data register, single order RC Filtering Processing module, result register and composition of the control system, it is characterized in that: the new sampled value that gathers by pressure transducer, after depositing through data register, enter single order RC Filtering Processing module, set the first-order filtering coefficient, single order RC Filtering Processing module is carried out following processing:
When new sampled value<filtering last time as a result the time;
Filtering result=filtering last time result-(filtering last time result-Xin sampled value) * first-order filtering coefficient ÷ 256
When new sampled value>filtering last time as a result the time:
Filtering result=filtering last time result+(new sampled value-filtering last time result) * first-order filtering coefficient ÷ 256
The filtering result that draws by single order RC Filtering Processing module enters the result register preservation, and control system is directly called related data from result register.
Preferred scheme is the primary voltage range of signal 0-100 millivolt of the new sampled value of pressure transducer collection, after amplifying through amplifier, voltage rises to the 0-5 volt, convert the digital quantity signal that scope is 0-4095 to through A/D, and be stored in data register and keep as initial data.
The formula of original first-order filtering algorithm
This filtering result=new sampled value * filter factor ÷ 256+ filtering last time result * (256-filter factor) ÷ 256
In the equation above, need to carry out altogether taking advantage of/division arithmetic for 4 times.We need to carry out computing optimization with formula for the arithmetic speed that improves the PLC controller.Through after following method, we only need to carry out taking advantage of for 2 times/and division arithmetic can complete, and efficient is doubled.
When new sampled value<filtering last time as a result the time:
Filtering result=filtering last time result-(filtering last time result-Xin sampled value) * first-order filtering coefficient ÷ 256
When new sampled value>filtering last time as a result the time:
Filtering result=filtering last time result+(new sampled value-filtering last time result) * first-order filtering coefficient ÷ 256
The present invention makes processing mode simple by introducing single order RC Filtering Processing module and having improved its algorithm, and when having solved the work of portable blood cleaning equipment lowered in field environment, pressure acquisition is received external shock factor interference problem.
Description of drawings
Fig. 1 is operation principle schematic diagram of the present invention;
Fig. 2 is effect contrast figure of the present invention.
The specific embodiment
Below in conjunction with the drawings and the specific embodiments, the present invention is further detailed explanation, but the protection domain that this specific embodiment is not intended to limit the present invention.
Embodiment 1:
The invention provides a kind of under the condition of rocking vibration open-air battlefield the arteriovenous pressure monitoring device, mainly by pressure transducer, data register, single order RC Filtering Processing module, result register and composition of the control system, it is characterized in that: the new sampled value that gathers by pressure transducer, after depositing through data register, enter single order RC Filtering Processing module, set the first-order filtering coefficient, single order RC Filtering Processing module is carried out following processing:
When new sampled value<filtering last time as a result the time;
Filtering result=filtering last time result-(filtering last time result-Xin sampled value) * first-order filtering coefficient ÷ 256
When new sampled value>filtering last time as a result the time:
Filtering result=filtering last time result+(new sampled value-filtering last time result) * first-order filtering coefficient ÷ 256
The filtering result that draws by single order RC Filtering Processing module enters the result register preservation, and control system is directly called related data from result register.
The primary voltage range of signal 0-100 millivolt of the new sampled value that pressure transducer gathers, after amplifying through amplifier, voltage rises to the 0-5 volt, converts through A/D the digital quantity signal that scope is 0-4095 to, and is stored in data register and keeps as initial data.
Embodiment 2 Contrast on effect of the present invention
Initial data pulsed interfering signal is obvious as shown in Figure 2, and lacks regularity, and data become steadily after treatment, and undulatory property obviously reduces, and has effectively reduced the irrational fluctuation of signal that extraneous factor causes.
Above content be in conjunction with structure of the present invention and work process to its further description of doing, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.