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 themselves. 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 or near the blast furnace 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 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 the British City Technology Ltd.; 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 passes through the operational amplifier circuit to output a 0-2.5V voltage signal. 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 ADuC834 MCU Introduction
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 ±20mV to ±2.56V, 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 32kHz crystal oscillator 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 62KB flash/electrically erasable program memory and 2304B 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.5V, 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 4KB of flash/electrically erasable data memory, which can be used to save system configuration information when power is off.
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, and after the displayed data is stable, 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 200m1/min, and keep the gas flow stable through the sensor for about 1 minute; after the display reading is stable, 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, and 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 200ml/min, the measurement results are recorded after a delay of 35s, 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 200m1/min, the measurement results are recorded after a delay of 35s, 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:Solution to Eliminating Electromagnetic Interference of MCU System
Next article:Dynamic encryption measures for microcontroller programs
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
- 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
- Problems with installing PingPingTouGe CDK under Win10 system
- Year-end feedback: EEWorld's 2018 Most Influential Netizens' Choice
- [Qinheng RISC-V core CH582] 1- Unboxing and use
- Single-chip microcomputer example of single light flashing
- [NUCLEO-L552ZE Review] + ADC-based fluorescence value reading
- TI Live: Detailed talk on "Bidirectional CLLLC Resonant, Dual Active Bridge (DAB) Reference Design", watch and win gifts (64 in total)
- How does AD software collect company information?
- [GD32L233C-START Review] 11. GD32 ISP software does not support GD32L233 yet
- Last day! Answer questions to win prizes! Practical sharing | Design a reliable switching power supply from scratch
- How to detect whether the switching power supply transformer is good or bad?