With the rapid development of industry, there are more and more occasions where humans are exposed to harmful gases, which causes more and more harm to humans. In steel mills and iron mills, blast furnace gas (mainly CO), a byproduct of blast furnace production, is sent to the gas pipeline network or to the gas tank for storage after cooling, dust removal and pressurization. Workers in the workshops near the blast furnace or nearby and workers in the pressurization station often suffer from carbon monoxide poisoning, which is very harmful; and during the maintenance of gas pipelines and storage cabinets, leaked carbon monoxide gas often explodes when it encounters open flames. Therefore, the development of a carbon monoxide gas monitor has very important practical significance. This article uses AD's data acquisition chip ADuC834 as the main control chip, and introduces a carbon monoxide monitoring alarm with high sensitivity, reliable performance and simple operation.
1 System Hardware Composition
1.1 System Block Diagram
The hardware block diagram of the entire carbon monoxide monitoring alarm is shown in Figure 1.
The working principle of this system is as follows: first, the carbon monoxide data information on the scene is collected through the carbon monoxide sensor. The sensor selected is the electrochemical carbon monoxide gas sensor 7E/F from CityTechnology Ltd. in the UK; when the carbon monoxide gas diffuses through the pores on the sensor shell to the surface of the working electrode, a chemical change occurs, and the working electrode outputs a changing current, the current size of which is proportional to the gas concentration. The current signal then outputs a 0-2.5 V voltage signal through the operational amplifier circuit. This voltage signal is linearly related to the gas concentration. The ADuC834 microcontroller can obtain the carbon monoxide gas concentration value by collecting the voltage signal through its own integrated 24-bit A/D converter, and then use the LCD to display the current carbon monoxide concentration on the scene. In addition, the primary and secondary gas concentration alarm points of carbon monoxide can be set by pressing buttons. When the carbon monoxide concentration is greater than a certain alarm point, there are three alarm modes: sound, light, and vibration.
1.2 Introduction to ADuC834 MCU
The ADuC834 microcontroller integrates two independent ∑-△ ADCs, of which the main channel ADC is 24 bits and the auxiliary channel ADC is 16 bits. The main channel AD input range is ±20 mV to ±2.56 V, divided into 8 levels, and any level can be selected when used. Due to the use of ∑-△ conversion technology, up to 24 bits of no missing code performance can be achieved; in addition to the basic A/D conversion function, the auxiliary channel can also be used as the input interface of the internal temperature sensor.
The ADuC834 microcontroller uses a 32 kHz crystal to drive the on-chip phase-locked loop (PLL) and generates the required internal operating frequency through the setting of internal registers. Its microcontroller core is compatible with 8051. The on-chip peripherals include a serial port compatible with SPI and I2C, multiple digital input/output ports, watchdog timer, power monitor and time interval counter. The chip also provides 62 KB flash/electrically erasable program memory and 2 304 B on-chip RAM.
The ADuC834 microcontroller is provided with a boot program by the manufacturer, so the user program code can be easily loaded into the ADuC834 microcontroller through the standard UART serial interface, which is very convenient for program development and design.
2 Software Programming
2.1 Data Collection Procedure
When collecting data, the external reference voltage Vref of the ADuC834 microcontroller is set to 2.5 V, and different input ranges are set through the RN2, RN1, and RN0 bits of the AD0CON register to sample the input signal of the main channel.
2.2 Programming of User Flash/Electrically Erasable Data Registers
The ADuC834 microcontroller provides developers with a 4 KB EEPROM flash memory that can be used to save system configuration information when power is lost.
3 Instrument calibration and inspection
3.1 Instrument calibration
Since the linearity of the sensor itself is relatively good, the instrument is calibrated using a two-point calibration method. First, place the instrument in pure air. After the displayed data stabilizes, use this point as the first point, i.e., the zero point, and adjust the LCD indication to zero; then adjust the gas flow rate of the standard gas cylinder to 200 m1/min, and keep the gas flow steadily through the sensor for about 1 minute; after the display reading stabilizes, use the concentration of this point as the second point and adjust the LCD indication to be consistent with the gas concentration value of the standard gas cylinder, then close the gas cylinder, thus completing the entire calibration process.
3.2 Test results
3.2.1 Indication error
After various standard concentrations of gas pass through the sensor at a flow rate of 200 ml/min, the measurement results are recorded after a delay of 35 seconds, and the indication error is calculated according to the formula:
In the formula: △e is the repeatability error; A is the arithmetic mean of the readings; As is the standard gas concentration value; R is the range.
The indication errors at different concentrations were calculated and shown in Table 1.
Through the analysis of the above test data, it can be seen that the indication error of the carbon monoxide monitoring alarm is less than ±3% FS, which meets the requirements of the indication error verification regulations.
3.2.2 Repeatability error
After the same concentration standard gas passes through the sensor multiple times at a flow rate of 200 m1/min, the measurement results are recorded after a delay of 35 s, and the repeatability error is calculated according to the formula:
Where: Sr is the repeatability error; A is the arithmetic mean of the readings; Ai is the instrument reading value; n is the number of measurements, n=6.
The calculated repeatability error is shown in Table 2.
From the above test data, it can be seen that the repeatability error of the carbon monoxide monitoring alarm is less than ±2%, which meets the requirements of the repeatability error verification procedure.
4 Conclusion
The carbon monoxide monitoring alarm introduced in this article has the characteristics of simple hardware structure, small size, simple software programming and short development time. In addition, the carbon monoxide alarm designed by the author has been actually used in steel mills and iron mills, and has achieved good practical results.
Previous article:Development of mechanical equipment timer based on single chip microcomputer technology
Next article:Design of control system for power compensation device based on single chip microcomputer
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Understanding Electromagnetic Radiation
- [Me and Yatli] + When a door closes outside, a new door opens here!
- Technological innovation promotes outdoor diagnosis and treatment
- We see that body fat detection, high-frequency radio frequency circuits, or ultrasonic detection all use sine waves instead of triangle waves,...
- MY-R16-EK166 FAQ Reference Manual
- 【XMC4800 Relax EtherCAT Kit Review】+Detailed tutorial for new DAVE projects
- WiFi 6 and “CHIP” will promote the popularization of the Internet of Things
- Ask a question about impedance testing
- Solution to the failure of IAR programming MSP430
- [Evaluation of EC-01F-Kit, the NB-IoT development board of Essence] 03. Discussion: Frequent disconnection after the device is connected to the network