A cardiopulmonary resuscitation system based on single chip microcomputer

Publisher:科技探险者Latest update time:2014-11-23 Source: 互联网 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

  1 Introduction

  众所周知,在几分钟内及时抢救危重急症、意外伤害导致的突发濒死病人,具有重要意义。采用传统的人工呼吸和胸外按压方法,常常由于按压部位不准、用力方法不对、按压深度掌握不好、按压频率不规律等因素,难以达到理想的效果,甚至造成骨折、气胸、血胸等严重的并发症,同时口对口进行人工呼吸也有可能在病人与救护者间传染疾病。因此,有必要研制抢救迅速、定位准确、按压适度的便携式智能型心肺复苏机。其及时性和准确性可以显著提高救治效果,较好地解决徒手心肺复苏存在的问题。目前国内应用最为广泛的是美国Michigan Instruments 公司的“萨勃”心肺复苏机,国内市场仍然没有国产的便携式心肺复苏机。本文介绍的就是一种以Cygnal单片机为控制核心的便携式智能心肺复苏系统。[1-4]

  2. Composition of single-chip cardiopulmonary resuscitation system

  The structure diagram of the system is:

  

 

  In the figure, 1 is a ventilation catheter, 2 is an opening valve, 3 is a gas storage cylinder, 4 is a pressure regulating valve, 5 is a solenoid valve, 6 is a pressure sensor, 7 is a single-chip controller, 8 is a solenoid valve, 9 is a cylinder, 10 is a piston, 11 is a spring, 12 is a pressure head, 13 is a solenoid valve, and 14 is a solenoid valve.

  The system workflow is as follows:

  1. Set the microcontroller parameters through the touch screen: pressing pressure, pressing frequency;

  2. Open valve 2 and inflate gas cylinder 3;

  3. The pressure regulating valve 4 and the solenoid valve 5 are opened, and the cylinder 9 starts to inflate and press;

  4. Does the pressure sensor 6 detect whether the cylinder pressure is reached? If not, continue to inflate;

  5. When the pressure sensor 6 detects that the cylinder pressure reaches a preset value, the solenoid valve 5 is closed and the solenoid valve 8 is opened;

  6. Exhaust cylinder 9, and then go to step 3 cycle;

  In order to achieve the purpose of portability, the system uses high-pressure oxygen as power. It uses a double cylinder, one is a gas cylinder, and the other cylinder is equipped with a piston. The piston is pushed by gas to press the chest. Because there is a spring under the piston, the pressing depth and pressing pressure are adapted to each other. The deeper the depth, the greater the pressure. When the pressure in the cylinder reaches the preset value, the solenoid valve is opened to exhaust, thereby controlling the pressing pressure. The pressure regulating valve is controlled by a stepper motor to adjust the gas pressure of the cylinder. After the pressure regulating valve reduces the pressure, the gas pressure is high, and the cylinder with the piston is inflated quickly, otherwise it is slow. In this way, the frequency of pressing can be controlled. The cylinder has a baffle at the displacement of 50mm to prevent the piston from moving down, so that the cylinder wall shares part of the force. The maximum pressing depth is 50mm, which can effectively prevent the pressing depth from being too deep and causing rib fractures.

  The oxygen discharged through the solenoid valve 8 is controlled by the opening and closing time of the solenoid valve 13 and the solenoid valve 14 according to the compression-to-breathing ratio of 5:1 [5]. When the solenoid valve 13 is opened and the solenoid valve 14 is closed, the trachea is ventilated, and the tidal volume can be controlled by an external air bag. When the solenoid valve 13 is closed and the solenoid valve 14 is opened, the oxygen is discharged into the atmosphere.

  3 Hardware Design of Single Chip Microcomputer Control System

  This system intends to use the C8051F020 microcontroller from the American CYGNAL company.

  

  

 

  Figure 3. Circuit diagram of the microcontroller system structure

  4 system power supply

  The entire system is powered by a 12V battery pack, which is boosted to 24V to power the pressure sensor. After stepping down, the 5V voltage is used to power each driver chip. The microcontroller is powered by an AS1117 3.3V/800mA power supply. The pressure sensor outputs a 4-20mA current and cannot be directly connected to the microcontroller. It must be input into the microcontroller after passing through a conversion circuit. The solenoid valve only needs to provide a very short pulse level and is controlled by a ULN2803 driver chip powered by 12V DC. [9]

  5. Software Design

  The system program is written in C51 and assembly language, with a modular structure, including the main program, interrupt service program and subroutine. The main program flow chart is shown in Figure 4. During the system initialization process, the watchdog timer is first allowed so that the program can enter the reset state in time when a "flight" occurs. Secondly, the external clock oscillator is initialized. In this system, considering the need for serial communication with the computer, an external PCF8563 clock chip is connected, and the clock source can be switched between the external clock source and the C8051F020 internal clock source. Then, by setting the cross switch control register, the counter/timer, serial bus, hardware interrupt, ADC conversion start input and other digital resources inside the microcontroller are configured to the port I/O pins. For detailed configuration methods, see references [06] and [07]. Then, C8051F020 opens the pressure regulating valve according to the input parameters, starts the stepper motor, queries the parameter table, determines the number of rotation steps, and starts pressurizing the cylinder. During the pressurization process, the pressure sensor is detected and the table is checked to determine whether the predetermined pressure is reached. Once reached, the opening and closing of the relevant solenoid valves are controlled, and the cycle is repeated. The interrupt service program mainly includes touch screen input interrupt and pressure sensor input interrupt. The subprograms include: stepper motor control program, solenoid valve switch program, data access program. The main program flow of the system is shown in Figure 4.

  

 

  Figure 4 Main program flow chart

  6 Conclusion

  The test process shows that the system can meet the following technical requirements: a. Compression frequency: 60-100 times/min, adjustable; b. Compression pressure: 35-45kg, adjustable; c. Compression depth: 2-6cm, adjustable. It can basically meet the actual use requirements.

Reference address:A cardiopulmonary resuscitation system based on single chip microcomputer

Previous article:Using the inverter PSPICE simulation model to simulate transient dynamic response
Next article:Embedded fingerprint recognition system with comprehensive evaluation of image acquisition

Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号