CN103675246A - Process control system of blood gas analyzer based on one master and multiple slaves - Google Patents

Process control system of blood gas analyzer based on one master and multiple slaves Download PDF

Info

Publication number
CN103675246A
CN103675246A CN201310680360.6A CN201310680360A CN103675246A CN 103675246 A CN103675246 A CN 103675246A CN 201310680360 A CN201310680360 A CN 201310680360A CN 103675246 A CN103675246 A CN 103675246A
Authority
CN
China
Prior art keywords
mainboard
control panel
signal
gas analyzer
blood gas
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.)
Granted
Application number
CN201310680360.6A
Other languages
Chinese (zh)
Other versions
CN103675246B (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.)
Hohai University HHU
Original Assignee
Hohai University HHU
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 Hohai University HHU filed Critical Hohai University HHU
Priority to CN201310680360.6A priority Critical patent/CN103675246B/en
Publication of CN103675246A publication Critical patent/CN103675246A/en
Application granted granted Critical
Publication of CN103675246B publication Critical patent/CN103675246B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a process control system of a blood gas analyzer based on one master and multiple slaves. The process control system comprises a main board and a sample injecting needle control board, a turnplate control board, a suction pump control board, a printing control board, a keyboard control board and a signal conditioning and converting board which are connected with the main board, wherein the signal conditioning and converting board is connected with an output end of a signal acquiring electrode on a sample tank; the signal conditioning and converting board receives an output signal of the signal acquiring electrode, processes and converts the signals, and sends the signal to the main board; and the main board calculates a PO2 (oxygen partial pressure) value according to the received signal. According to specific subtasks in the system, microcontrollers with different performance are selected as the slaves to manage individual components, and a high-performance microcontroller is selected as a master to manage the multiple slaves so as to form the one-master and multi-slave system, thereby playing the performance of the microcontrollers, improving the performance and the flexibility of the blood gas analyzer and reducing the cost.

Description

A kind of based on much more main from blood gas analyzer process control system
Technical field
The invention belongs to electronic measurement and control field, particularly a kind of based on much more main from blood gas analyzer process control system.
Background technology
Blood gas analyzer is the medical supply for blood testing, can not only detect the content of gas and the variations of blood pH and index of correlation such as oxygen in patient blood, carbon dioxide, the content that can also reflect fast potassium in blood, sodium, calcium, for detecting favourable guarantee be provided fast and accurately in Rescuing Critical Patients.
Development along with computer technology, computer technology is widely used in blood gas analysis field, make modern blood gas analyzer have super data processing, maintenance, storage and expert diagnosis function, blood gas analyzer is just towards portable, non-maintaining, easy-operating future development.
At present, generally adopt the microcomputer such as PC104 design blood gas analyzer, such instrument can make full use of the performance of computing machine, but exist, malfunction, cost are high, the defect of poor reliability; Also there are the microcontrollers such as 89C51, the MSP430 of employing to design, owing to adopting the one-of-a-kind system of single microcontroller, although can greatly reduce costs, improve the dirigibility of operation, the defect that exists system performance to reduce.
Summary of the invention
The technical matters existing in order to solve above-mentioned background technology, the present invention be intended to propose a kind of based on main many from blood gas analyzer process control system, thereby solve the problem that existing blood gas analyzer performance, dirigibility and cost can not be taken into account.
In order to realize above-mentioned technical purpose, technical scheme of the present invention is:
A kind of based on much more main from blood gas analyzer process control system, the sample introduction needle control panel that comprises mainboard and be attached thereto respectively, rotating disk control panel, suction pump control panel, printing control panel, Keyboard Control plate and signal condition and change-over panel, described signal condition and change-over panel are connected with the output terminal of electrode signal acquisition on sales kit (SK), signal condition and change-over panel receive the output signal of electrode signal acquisition, and give mainboard after this signal is processed and changed, mainboard goes out PO according to the calculated signals receiving 2value.
Wherein, above-mentioned sample introduction needle control panel, rotating disk control panel and suction pump control panel pass through I 2c interface is connected with mainboard, prints control panel and is connected with mainboard by SPI interface, and Keyboard Control plate is connected with mainboard by I/O mouth with change-over panel with signal condition, and an I/O mouth of Keyboard Control plate is connected with the external interrupt input pin of mainboard.
Wherein, above-mentioned signal condition and change-over panel also comprise 4 tunnel enlargement factors and are respectively 1,2,4,8 amplifying circuit and a multi-channel a/d converter, the input end of described No. 4 amplifying circuits connects sales kit (SK) output signal, the output terminal of No. 4 amplifying circuits is four input ends of connecting multi-channel A/D converter respectively, and four output terminals of corresponding multi-channel a/d converter connect mainboard; Mainboard calculates respectively the PO of four passages 2the slope of value, then calculates average gradient, then calculates PO according to average gradient 2value.
Wherein, Keyboard Control plate is given mainboard by key assignments after keyboard obtains effective button, and mainboard adopts the special interruption processing method processing capacity key of revising return address, realizes the transfer of sophisticated functions key, the switching of completion status.
Wherein, mainboard adopts C8051F360 microcontroller, and sample pin control panel, rotating disk control panel, suction pump control panel and printing control panel adopt respectively 4 C8051F912 microcontrollers, Keyboard Control plate to adopt C8051F012 microcontroller.
The beneficial effect that adopts technique scheme to bring is:
(1) master that the present invention adopts is many from structure, and a complicated task is divided into several relatively simple subtask parallel processings, has improved dirigibility and the real-time of system;
(2) the present invention adopts a plurality of amplifiers to PO 2the millivolt signal of electrode output amplifies, and selects as the case may be different amounts to calculate its value, has improved measuring accuracy;
(3) the present invention adopts the special interruption processing method of revising return address, realizes the transfer of sophisticated functions key, and the switching of completion status has improved fault-tolerance and dirigibility that system operates.
Accompanying drawing explanation
Fig. 1 is structured flowchart of the present invention.
Fig. 2 is state transition graph of the present invention.
Fig. 3 is keyboard interrupt processing flow chart of the present invention.
Embodiment
Below with reference to accompanying drawing, technical scheme of the present invention is elaborated.
Structured flowchart of the present invention as shown in Figure 1, the sample introduction needle control panel that comprises mainboard and be attached thereto respectively, rotating disk control panel, suction pump control panel, printing control panel, Keyboard Control plate and signal condition and change-over panel, described signal condition and change-over panel are connected with the output terminal of electrode signal acquisition on sales kit (SK), signal condition and change-over panel receive the output signal of electrode signal acquisition, and give mainboard after this signal is processed and changed, mainboard goes out PO according to the calculated signals receiving 2value.
In the present embodiment, relatively single, simple because printing is controlled, sample introduction needle is controlled, rotating disk is controlled, these 4 functions of modules are controlled in suction pump, therefore select respectively the C8051F912 microcontroller of a slice high-performance, low price; The I/O line that Keyboard Control need to be used is more, selects the C8051F012 microcontroller that internal resource is relatively many to complete keyboard detection.Mainboard completes most work, needs jumbo program storage and data-carrier store, selects the high performance C8051F360 microcontroller of a slice to bear, and consists of main many from system these 6 microcontrollers.C8051F912 microcontroller in sample introduction needle control panel, rotating disk control panel, suction pump control panel carries out communication with the C8051F360 microcontroller of I2C serial mode and mainboard, realizes data transmission; In Keyboard Control plate, C8051F012 microcontroller is with the C8051F360 microcontroller transmission key assignments of parallel mode and mainboard, and C8051F012 wherein I/O line is connected to the external interrupt input pin of C8051F360, and C8051F360 processes keyboard with interrupt mode; C8051F912 microcontroller in printing control panel carries out communication with the C8051F360 microcontroller of SPI serial mode and mainboard, realizes data transmission, and the concrete C8051F912 microcontroller of controlling by printing in control panel of printing completes.Sampling output electrode output millivolt signal on sales kit (SK), this signal is given mainboard after the signal amplification in signal condition and change-over panel, A/D conversion.
The present invention adopts multichannel method when calculating oxygen level value.When collection signal, employing 4 tunnel enlargement factors are respectively 1,2,4,8 amplifying circuit, adopt the relatively large passage of enlargement factor, to improve the acquisition precision of signal for little sampled signal.Calculate the PO of each passage 2the slope of value, then calculates
Average gradient, then collect signal value according to average gradient with while measuring, apply different formula and calculate PO 2value.Concrete computing method are as follows:
1) point calibration gathers millivolt value a 31, a 32, a 34, a 38
By the millivolt value mv collecting 3, mv 4, mv 5, mv 6directly be assigned to some corrected values,
a 31=mv 3
a 32=mv 4
a 34=mv 5
a 38 =mv 6
Wherein, a 31: some timing PO 2millivolt value when G=1;
A 32: some timing PO 2millivolt value when G=2;
A 34: some timing PO 2millivolt value when G=4;
A 38: some timing PO 2millivolt value when G=8;
G: the enlargement factor of operational amplifier.
2) two point calibrations gather millivolt value ba 31, b 32, b 34, b 38
By the millivolt value mv collecting 3, mv 4, mv 5, mv 6, consider the factors such as temperature, by following formula, count two point calibration millivolt values:
b 31 = mv 3 - 142.6 - PO 2 II M 31
b 32 = mv 4 - 142.6 - PO 2 II M 32
b 34 = mv 5 - 142.6 - PO 2 II M 34
b 38 = mv 6 - 142.6 - PO 2 II M 38
Wherein, b 31: PO during two point calibrations 2millivolt value when G=1;
B 32: PO during two point calibrations 2millivolt value when G=2;
B 34: PO during two point calibrations 2millivolt value when G=4;
B 38: PO during two point calibrations 2millivolt value when G=8;
M 31: PO 2slope when G=1, initial value is made as 60;
M 32: PO 2slope when G=2, initial value is made as 60;
M 34: PO 2slope when G=4, initial value is made as 60;
M 38: PO 2slope when G=8, initial value is made as 60;
PO 2iI:PO 2the oxygen content of two point calibration titers, initial value is made as 0.
3) measure
According to a point calibration and two point calibration values, calculate the slope of each passage:
M 31 = PO 2 I - PO 2 II a 31 - b 31
M 32 = PO 2 I - PO 2 II a 32 - b 32
M 34 = PO 2 I - PO 2 II a 34 - b 34
M 38 = PO 2 I - PO 2 II a 38 - b 38
Calculate average gradient
Figure BDA0000436160330000055
M ‾ 3 = ( M 31 + M 31 + M 31 + M 31 ) / 4
According to average gradient
Figure BDA0000436160330000057
and mv 5, mv 6the scope of value, calculates PO 2
If M &OverBar; 3 < 0.2 mv 6 < 4000 PO 2 = ( mv 6 - b 38 ) M &OverBar; 3 + PO 2 II
mv 6 < 4000 PO 2 = ( mv 4 - b 32 ) M &OverBar; 3 + PO 2 II
If M &OverBar; 3 &GreaterEqual; 0.2 mv 5 < 4000 PO 2 = ( mv 5 - b 34 ) M &OverBar; 3 + PO 2 II
mv 5 < 4000 PO 2 = ( mv 3 - b 31 ) M &OverBar; 3 + PO 2 II
Wherein, PO 2i: PO 2the oxygen content of some calibration standard liquid, initial value is made as 20.
State transition graph of the present invention as shown in Figure 2, system of the present invention mainly contains preparation, ready a, point calibration, two point calibrations and measures 5 states and forms, and the function that wherein a point calibration and two point calibrations are carried out is very complicated.Instrument enters readiness after start, enters two point calibration states by button or after 2 hours, after two point calibration states finish, enters ready state.Under ready state, just can measure.
Because the fluidic component of instrument is more, execution time is grown (as two point calibration states need a few minutes to dozens of minutes), if Design of Monitor adopts conventional keyboard scan--the monitor mode of execute key function, when carrying out these function keys, can not interrupt, even maloperation, also must wait this function key to be finished, this is that user institute is unacceptable.The present invention adopts special interrupt method when design watchdog routine, has realized the transfer of program in interruption; Can revise easily order.
Figure 3 shows that keyboard interrupt processing flow chart of the present invention, this has no progeny main plate response keyboard interrupt outward, first keep the scene intact, then read I/O mouth and obtain key assignments, then judge whether it is special function keys, numerical key and non-special function keys in this way, because this two generic key is simple, just in interrupt service routine, process, then interrupt returning; Special function keys in this way, restoring scene, ejects interrupt return address and abandons from stack top, then by the entry address pop down of special function keys handling procedure, then interrupts returning; Special function keys handling procedure completes in master routine.
Above embodiment only, for explanation technological thought of the present invention, can not limit protection scope of the present invention with this, every technological thought proposing according to the present invention, and any change of doing on technical scheme basis, within all falling into protection scope of the present invention.

Claims (5)

  1. One kind based on much more main from blood gas analyzer process control system, it is characterized in that: the sample introduction needle control panel that comprises mainboard and be attached thereto respectively, rotating disk control panel, suction pump control panel, printing control panel, Keyboard Control plate and signal condition and change-over panel, described signal condition and change-over panel are connected with the output terminal of electrode signal acquisition on sales kit (SK), signal condition and change-over panel receive the output signal of electrode signal acquisition, and give mainboard after this signal is processed and changed, mainboard goes out PO according to the calculated signals receiving 2value.
  2. According to described in claim 1 a kind of based on much more main from blood gas analyzer process control system, it is characterized in that: described sample introduction needle control panel, rotating disk control panel and suction pump control panel pass through I 2c interface is connected with mainboard, prints control panel and is connected with mainboard by SPI interface, and Keyboard Control plate is connected with mainboard by I/O mouth with change-over panel with signal condition, and an I/O mouth of Keyboard Control plate is connected with the external interrupt input pin of mainboard.
  3. According to described in claim 1 a kind of based on much more main from blood gas analyzer process control system, it is characterized in that: described signal condition and change-over panel also comprise 4 tunnel enlargement factors and be respectively 1,2,4,8 amplifying circuit and a multi-channel a/d converter, the input end of described No. 4 amplifying circuits connects sales kit (SK) output signal, the output terminal of No. 4 amplifying circuits is four input ends of connecting multi-channel A/D converter respectively, and four output terminals of corresponding multi-channel a/d converter connect mainboard; Mainboard calculates respectively the PO of four passages 2the slope of value, then calculates average gradient, according to average gradient, calculates PO 2value.
  4. According to described in claim 1 a kind of based on much more main from blood gas analyzer process control system, it is characterized in that: Keyboard Control plate is given mainboard by key assignments after keyboard obtains effective button, mainboard adopts the interruption processing method processing capacity key of revising return address, the transfer of practical function key, the switching of completion status.
  5. According to described in claim 1 a kind of based on much more main from blood gas analyzer process control system, it is characterized in that: described mainboard adopts C8051F360 microcontroller, sample pin control panel, rotating disk control panel, suction pump control panel and printing control panel adopt respectively 4 C8051F912 microcontrollers, Keyboard Control plate to adopt C8051F012 microcontroller.
CN201310680360.6A 2013-12-12 2013-12-12 A kind of based on much more main from blood gas analyzer process control system Active CN103675246B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310680360.6A CN103675246B (en) 2013-12-12 2013-12-12 A kind of based on much more main from blood gas analyzer process control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310680360.6A CN103675246B (en) 2013-12-12 2013-12-12 A kind of based on much more main from blood gas analyzer process control system

Publications (2)

Publication Number Publication Date
CN103675246A true CN103675246A (en) 2014-03-26
CN103675246B CN103675246B (en) 2015-09-16

Family

ID=50313434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310680360.6A Active CN103675246B (en) 2013-12-12 2013-12-12 A kind of based on much more main from blood gas analyzer process control system

Country Status (1)

Country Link
CN (1) CN103675246B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2699366C1 (en) * 2018-12-07 2019-09-05 Общество с ограниченной ответственностью "Научно-производственное объединение "АМБ" Compact device of "electronic nose" type

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0246451B1 (en) * 1986-05-13 1990-10-03 Fresenius AG Apparatus for determining the partial gas pressures in the blood
US20080030317A1 (en) * 2004-01-23 2008-02-07 Bryant Terry K Method of Improving Medical Apparatus in Order to Replace Ancillary Medical Assistance by Employing Audible Verbal Human Sounding Voices to Prompt Therapeutic Usage and Provide Guidance, Measurements, Encouragement and Response, As Needed, to the Patient, By Using Electronic Technology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0246451B1 (en) * 1986-05-13 1990-10-03 Fresenius AG Apparatus for determining the partial gas pressures in the blood
US20080030317A1 (en) * 2004-01-23 2008-02-07 Bryant Terry K Method of Improving Medical Apparatus in Order to Replace Ancillary Medical Assistance by Employing Audible Verbal Human Sounding Voices to Prompt Therapeutic Usage and Provide Guidance, Measurements, Encouragement and Response, As Needed, to the Patient, By Using Electronic Technology

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
严锡君等: "DH-1332血气分析仪的设计与实现", 《微型电脑应用》, vol. 19, no. 7, 31 December 2003 (2003-12-31) *
徐国良: "ABL5全自动血气分析仪结构原理和维护", 《医疗装备》, vol. 22, no. 4, 31 December 2009 (2009-12-31), pages 78 - 79 *
王振涛: "检验设备的负压故障维修2例", 《医疗设备信息》, no. 4, 31 December 2002 (2002-12-31), pages 53 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2699366C1 (en) * 2018-12-07 2019-09-05 Общество с ограниченной ответственностью "Научно-производственное объединение "АМБ" Compact device of "electronic nose" type

Also Published As

Publication number Publication date
CN103675246B (en) 2015-09-16

Similar Documents

Publication Publication Date Title
CN105067806A (en) Full-automatic immunofluorescence detection device
CN101930025B (en) Power dissipation testing device
CN103235202B (en) A kind of multichannel analog signals acquisition system with automatic compensation function
CN105629052B (en) Chip power-consumption real-time detection method
CN202471642U (en) Alcohol tester
CN103675022A (en) TDS (total dissolved solids) detection method, device and system
CN104813307A (en) Data processing device, data processing method, and program
CN201269738Y (en) Intelligent converter of LVDT displacement transducer
CN104407127A (en) Dry-type body fluid analyzer and analysis method thereof
CN202329850U (en) Temperature rise detecting system of switch apparatus
CN103675246B (en) A kind of based on much more main from blood gas analyzer process control system
CN202236532U (en) Hemodialysis machine detector
CN105629072A (en) System for measuring multiplex resistance
CN207216012U (en) A kind of voltage fluctuation and flicker detection means
CN202133609U (en) Dry blood and urine biochemical analyzer capable of measuring a plurality of blood biochemical indexes once
CN201043970Y (en) Blood, urine measuring biochemical analyzer
CN103235203B (en) There is the acquisition method of the multichannel analog signals acquisition system of automatic compensation function
CN104614015A (en) Portable comprehensive acquisition analysis system for field environment data
CN200990158Y (en) Intelligent digital experimental apparatus
CN104155680B (en) Multi channel spectrum analysis instrument data acquisition unit based on ADS1605
CN200986437Y (en) Digitalized experiment system
CN202126306U (en) Automatic reading and data commutation device of electronic balance
CN203195700U (en) Fast blood uric acid measuring instrument
CN202928594U (en) U disk sensor, detector, U disk blood glucose detector, and U disk blood detector
CN205210008U (en) Blood tester

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant