Summary of the invention
The purpose of this utility model is to provide a kind of wireless portable three to lead electrocardio blood pressure blood oxygen on-line monitor device, and this device can be realized the monitoring function of electrocardio, blood pressure, blood oxygen simultaneously, has characteristics portable and easy to use.
This utility model provides wireless portable three leads electrocardio blood pressure blood oxygen on-line monitor device, and it is characterized in that: it comprises data processor, interface circuit, n data measuring unit and n wireless receiving circuit, wherein 1≤n≤8;
Each DATA REASONING unit is separately positioned on each berth place, includes blood pressure measurement module, Oximetry module, electrocardio measuring circuit, control circuit, insulating power supply circuit and radio transmitter; The insulating power supply circuit is connected with control circuit with the blood pressure measurement module, for it provides required voltage; The blood pressure measurement module is connected with control circuit, and the blood pressure that measures the patient is offered control circuit; Be connected between control circuit and the radio transmitter, send pretreated blood pressure data to radio transmitter;
The Oximetry module is connected with radio transmitter respectively with the electrocardio measuring circuit, sends to radio transmitter with measuring the blood oxygen and the electrocardiogram (ECG) data that obtain; Radio transmitter is given corresponding wireless receiving circuit with the patient data wireless transmit that obtains;
Each wireless receiving circuit offers data processor with the data that receive by interface circuit; Data processor carries out computing to received signal, real-time display process result, and disappear or data occur carrying out sound and light alarm automatically when unusual in data signal.
The utility model discloses a kind of wireless removable three lead electrocardio, blood pressure blood oxygen on-line monitor devices.This device is that a kind of many berths that integrate electrocardiogram automatic diagnostic function and blood pressure, the real-time measurement function of blood oxygen are concentrated monitor system, and this device main feature is a miniaturization, the design of portable band; A tractor serves several purposes, the design of total digitalization; Adopt wireless transmission method, the patient can finish real-time removable measurement under the activity condition.This device has real-time demonstration and automatic warning function.
The specific embodiment
As shown in Figure 1, this utility model system comprises DATA REASONING unit 1.1,1.2 ..., 1.n, corresponding wireless receiving circuit 2.1,2.2 ..., 2.n, interface circuit 3 and data processor 4, wherein, n represents the sequence number of DATA REASONING unit and wireless receiving circuit, its span is 1 to 8, for explaining conveniently, hereinafter with DATA REASONING unit 1.1,1.2, ..., 1.n is referred to as DATA REASONING unit 1, wireless receiving circuit 2.1,2.2 ..., 2.n is referred to as wireless receiving circuit 2.
DATA REASONING unit 1 is mainly used in gathers electrocardio, blood oxygen and blood pressure data, from the required data (as blood oxygen saturation, pulse wave amplitude, systolic pressure, diastolic pressure and mean pressure etc.) of extracting data of gathering, mode by wireless transmission sends wireless receiving circuit 2 to again, wireless receiving circuit 2 is sent to data processor 4 by interface circuit 3, the data of 4 pairs of receptions of data processor are done further to analyze and handle, show during with final measurements and calculations fructufy, and saving result is used for later analysis.With single berth is example, and concrete data signal transfer process as shown in Figure 2.
As shown in Figure 3, each DATA REASONING unit 1 includes blood pressure measurement module 11, Oximetry module 12, electrocardio measuring circuit 13, control circuit 14, insulating power supply circuit 15 and radio transmitter 16.
In DATA REASONING unit 1, radio transmitter 16 can be used for the collection of electrocardio and oximetry data.In our designed system, carry the restriction of enhancement mode 51 mcu resources owing to be subjected to radio transmitter 16, need an external again control circuit 14, be used to gather the data that blood pressure measurement module 11 sends, send to radio transmitter 16 by the parallel transmission mode.Insulating power supply circuit 15 mainly plays a protective role, and prevents outside 220V voltage injury human body, but and other components in the protection system.Insulating power supply circuit 15 provides two voltage outputs, and+5V exports to control circuit 14, and+12V exports to blood pressure measurement module 11.Radio transmitter 16 is encoded collected data and is transmitted into wireless receiving circuit 17 with the FSK modulating mode, and one of them sends packet and comprises 24 effective bytes (20 byte electrocardiogram (ECG) datas+2 byte oximetry datas+2 byte blood pressure datas).
Data processor 3 can be guarded the 1-8 berth simultaneously under windows platform; It utilizes the data of the DATA REASONING unit transmission of each berth, and electrocardiosignal is carried out analyzing and processing, and the data of display process result, and preservation in real time are so that the automatic playback analysis of electrocardiosignal.And disappear in data signal (as lead come off) or data occur carrying out sound and light alarm automatically when unusual.
Here use Visual C++6.0 as development platform, can be explained in the instance analysis below of concrete implementation procedure.Specify as an example with our one four designed berth monitor system below:
1. Oximetry module and blood pressure measurement module
What the Oximetry modular design adopted is Ke Ruikang LFC pulse blood oxygen monitoring modular.The communication modes of this Oximetry module is single worker's, promptly have only module to send data to main frame, and module does not receive any instruction that main frame is sent.The blood pressure measurement module is the automatic measurement module of superNIBP blood pressure that the company of company by Shenzhen U.S. provides, and this module is based on that the oscillographic method principle realizes.When measuring, the microprocessor in the module to the cuff pressurization, utilizes oscillographic method automatically, obtains systolic pressure, diastolic pressure, tremulous pulse mean pressure.Be characterized in that volume is little, detection is quick, accurate and be easy to use, and its communication modes is half-duplex.
2. insulating power supply circuit
The design isolated power circuit can reduce contact voltage and electrical network leakage current over the ground, can effectively control the direct electric leakage to inside of human body.Add this circuit mainly for two considerations, the one, in order to protect human body, stop the danger of contingent microshock malpractice, the 2nd, in order to protect other circuit elements devices.Physical circuit has specially added a light emitting diode D1 as shown in Figure 6 in circuit, whether purpose is to observe circuit and connects.
3. control circuit
Control circuit adopts single-chip microcomputer w77e058, and it has two serial ports, and this also is one of our main purpose of selecting this single-chip microcomputer at first.Though only used its serial ports at present, its sufficient resource is for later systemic-function expansion provides certain space.We have here selected the serial ports 0 reception data of blood pressure measurement module by w77e058, and are transferred to radio transmitter by parallel mode.
The blood pressure measurement module of w77e058 as shown in Figure 7.The RXD end of blood pressure measurement module and the TXD end of w77e058 are connected, and the RXD end of the TXD of blood pressure measurement module end and w77e058 is connected.
The Oximetry module of PTR5000 only need hold the TXD end of Oximetry module to be connected with the RXD of PTR5000 to get final product as shown in Figure 8.
The data that the blood pressure measurement module measures also need to be sent to earlier in the radio transmitter, and packing together with electrocardiogram (ECG) data sends to wireless receiving circuit again, therefore need use the parallel data transmission between the single-chip microcomputer.
Single-chip microcomputer double machine parallel telecommunication circuit is the parallel data transmission means between w77e058 and the PTR5000 as shown in Figure 9.Because the restriction of the mcu resource of the PTR5000 in the radio transmitter, we can only use four parallel-by-bit mouths to send data here, send with common 8 parallel-by-bits that some is different, need do a little processing in software.Except 4 parallel-by-bits transmission data wire, also need an INT0 line that causes single-chip microcomputer external interrupt in the radio transmitter, could receive the data of w77e058 like this.Also need an acknowledge lines P3.3 from the wireless transmitter module to w77e058 in addition, notice w77e058 continues to send data.Therefore need 6 lines altogether, wherein DIO5 is used for triggering INT0, and DIO6-9 is used as 4 bit data parallel transmissions, and DIO4 is as acknowledge signal line.
K1 sends the order of automatic measurement pattern by starting the external interrupt INT0 of w77e058 to blood pressure module.Whenever w77e058 sends one time 4 bit data to PTR5000, just trigger the INT0 interruption of PTR5000, allow radio transmitter receive data, and notice w77e058 continue to send data.
Data are measured and received to the serial ports that the DATA REASONING of blood oxygen then uses PTR5000 to provide, and only need use the RXD end.Wherein the working range of PTR5000 is+3V, and the working range of w77e058 is+5V, so need to use a level shifting circuit.
This example concentrates design in a bigger blood pressure blood oxygen watchdog box A in control circuit, Oximetry module, blood pressure measurement module and insulating power supply circuit, and its position is relatively fixing.And radio transmitter and electrocardio measuring circuit are to be integrated in separately among the very little cardiac monitoring box B, make things convenient for the patient to carry.Wherein, box A can link to each other or separate at any time with box B, to realize different measurement purposes, makes things convenient for patient's normal activity simultaneously.When the patient only carries box B, can arbitrarily walk about and the real-time monitoring ecg wave form, calculate EGC parameter and analyze the rhythm of the heart.When box A is linked to each other by interface with box B, then can realize the function of real-time monitoring electrocardio, blood pressure and blood oxygen simultaneously.
5. data processor
As shown in Figure 4, guarding simultaneously with four berths is the thread structure that example illustrates monitoring software.As seen from the figure, main thread is responsible for man machine interface, the orders such as " beginning monitoring " that the response user proposes.Each berth has all been opened up a data Buffer Pool, all has two worker thread synchronous workings to realize the monitoring function of this berth for each data buffering pond.
Two worker threads seem simultaneously and work, and in fact timesharing takies CPU.These two threads are shared a blocks of data Buffer Pool, so before new data covers legacy data, must finish the processing to legacy data.We have divided the space that is about 2.5MByte for it, and according to The Hardware Design, every 10ms produces the 26Byte data, and covering this space again approximately needs 1000s, and enough CPU finish date processing.
Be that example is analyzed the multithreading operation principle with single berth below.Electrocardiogram (ECG) data is buffered among the USB FIFO of wireless receiving circuit before importing PC into, and usb data reads thread and reads in wherein data by USB interface, deposits in the data buffer zone, and the date processing thread reads the data of data buffer zone and handles.
Because reading from USB interface of data integrity be the basis of follow-up all processing, be set to the highlyest so usb data reads the priority of thread, and that the priority of date processing thread is made as is common.Software reads the asynchronous mode of reading of USB device The data, can make full use of cpu resource.An asynchronous incident of reading is set, reads incident imperfect tense when asynchronous, USB device data read thread can initiatively be abandoned the CPU control and enter waiting state, this moment the date processing thread can handle the data in the relief area, show, work such as storage.
The main thread workflow diagram of single berth device as shown in Figure 5.Here only described the situation of guarding 1 berth for the sake of simplicity, other berth situations are similar with it.
The above is preferred embodiment of the present utility model, but this utility model should not be confined to the disclosed content of this embodiment and accompanying drawing.So everyly do not break away from the equivalence of finishing under the spirit disclosed in the utility model or revise, all fall into the scope of this utility model protection.