A kind of embedded harmful gas detection system
Technical field
The present invention relates to a kind of gas detecting system, particularly relate to a kind of based on Embedded portable poisonous and harmful volatile organic gas detection system.
Background technology
Industrial development brings increasing of poisonous and harmful volatile organic gas (VOCs), house fitting causes increasing the weight of of room air pollution (volatile organic gas such as benzene,toluene,xylene, ethylbenzene, formaldehyde, propionic aldehyde), harm to the mankind is also more and more outstanding, easily cause headache, dizzy, symptom such as be slow in action, be losing one's memory, when concentration delimits above one, can directly cause serious harm to life.So the detection to poisonous and harmful VOCs gas seems particularly important.
At present, the main method of volatile organic matter gas detection has vapor-phase chromatography (GC), chromatogram-mass spectrometric hyphenated technique, titration or colourimetry, and the direct detection technique of single-sensor etc., improving a lot aspect the gas sensing detection technique, but there is certain weak point, as vapor-phase chromatography (GC) instrument costliness, detection of complex, chromatogram-mass spectrometric hyphenated technique is difficult for promoting, error is bigger, it is relatively poor etc. that titration or colourimetry complicated operating process, consuming time longer, single-sensor directly detect selectivity.
Summary of the invention
At weak point of the prior art, the invention provides a kind of have cheap, simple to operate, highly sensitive, real-time is good, the embedded harmful gas detection system of good stability and characteristics such as portable.
A kind of embedded harmful gas detection system provided by the invention comprises the cylinder, air pump, lighting device, reaction air chamber, porphyrin array sensor, image capture instrument, touch-screen, embedded-type ARM 9 chips, slave computer PIC16F877, temperature sensor, humidity sensor, flow sensor and the controllable heater that are used to store gas to be detected;
Described reaction air chamber is the transparent body, and an end is provided with air intake opening, and the other end is provided with the gas outlet; Described porphyrin array sensor is arranged on the middle part of reaction air chamber; Described reaction gas is indoor and by being provided with the gas buffer baffle plate through air intake opening; The reaction air chamber xsect on, between gas buffer baffle plate and porphyrin array sensor, be provided with the double-layer clapboard I, between porphyrin array sensor and gas outlet, be provided with the dividing plate II, uniform several pores on described double-layer clapboard I and the dividing plate II;
The outlet of described cylinder is communicated with by the air intake opening of air pump with the reaction air chamber, and air pump is controlled by slave computer PIC16F877; Described flow sensor is arranged on air pump and the pipeline that is connected of reaction air chamber, the defeated slave computer PIC16F877 that imports after A/D converter transforms of the signal of flow sensor;
It is indoor that described temperature sensor, humidity sensor and controllable heater all are arranged on reaction gas, and controllable heater is arranged between air intake opening and the porphyrin array sensor, and the signal output part of described temperature sensor, humidity sensor and controllable heater is connected with slave computer PIC16F877;
Described lighting device is arranged on the bottom of reaction air chamber, described image capture instrument is arranged on the top of reaction air chamber, the camera of image capture instrument is corresponding with the porphyrin unit of porphyrin array sensor, described lighting device is by slave computer PIC16F877 control, and the signal of described image capture instrument is imported embedded-type ARM 9 chips;
Described slave computer PIC16F877 is connected with embedded-type ARM 9 chips by the RS232 serial ports; Described touch-screen is connected on embedded-type ARM 9 chips.
Further, also comprise exhaust gas processing device and two three-way electromagnetic valves, described exhaust gas processing device is connected with the gas outlet of reaction air chamber, and described two three-way electromagnetic valves are serially connected on exhaust gas processing device and the pipeline that the gas outlet of reacting air chamber is connected, and described two three-way electromagnetic valves are controlled by slave computer PIC16F877.
Further, also comprise the nitrogen branch road that is used to purge whole gas circuit, the nitrogen branch road is connected on the pipeline between cylinder and the air pump by air valve.
Further, comprise also being used for and reacting the SD card that front and back image, error image and database file are stored that described SD cartoon is crossed the SD card interface circuit and linked to each other with embedded-type ARM 9 chips.
Further, also comprise the FLASH chip that is used to store boot files, (SuSE) Linux OS, application program, described FLASH chip links to each other with embedded-type ARM 9 chips by the EMIF bus.
Further, also comprise and be used for temporary operating system and application program and as the SDRAM chip of data buffer, described SDRAM chip links to each other with embedded-type ARM 9 chips by the EMIF bus.
Further again, also comprise the alarm module that is provided with the concentration safety limit, described alarm module is installed on the slave computer PIC16F877, and embedded-type ARM 9 chips are handled the concentration value signal input alarm module that obtains.
Compared with prior art, a kind of embedded harmful gas detection system of the present invention has following advantage:
1, detection system of the present invention adopts the volatility toxic and harmful concentration of porphyrin array sensor can reach the ppb level, realizes that low concentration detects, and is fit to high request and measures occasion; Equally, can realize that ppm level high concentration detects, sensing range is big;
2, detection system of the present invention has realized the online environmental baseline monitoring of airtight detection reaction air chamber, reaction gas is indoor simultaneously forms by the dividing plate that is provided with for what buffer area, thereby a steady air current, the uniform environment of gas concentration branch have been formed, reduced the influence of kinetic factor, improved stability of instrument and accuracy of detection detecting;
2, the porphyrin unit of porphyrin array sensor employing array dot structure is as front end sensors, and the porphyrin unit is many, has increased the information content of response signal, has not only guaranteed the accuracy that system detects, and also can realize the detection of multiple class gas;
3, adopt embedded-type ARM 9 chip hardware frameworks, reduce volume, strengthened the processing power of system; Adopt Linux as development environment, open source code, be easy to transplant, reduced cost; Use MiniGUI as program development software (PDS), improved the interactivity of man-machine interface; Total system has adopted embedded-type ARM 9 chips-slave computer PIC16F877 pattern, has increased the extensibility of hardware and the portability of software, is convenient to the upgrading of system;
4, little (volume can reach 25 * 10 * 6cm) to detection system volume of the present invention, accuracy of detection height, response time are fast; the volatile organic gas that can be applicable to numerous areas such as environmental protection, food, chemical industry, medicine, interior decoration, safety detects; can realize field quick detection, can play a positive role for environmental protection and human health safety.
Description of drawings
Fig. 1 is the structural representation of embedded harmful gas detection system;
Fig. 2 is the hardware block diagram of embedded harmful gas detection system;
Fig. 3 is the structural representation of reaction air chamber illustraton of model;
Fig. 4 is the illustraton of model of porphyrin array sensor;
Fig. 5 is the synoptic diagram of withdrawing spectral information process;
Fig. 6 is a system software master interface block diagram;
Fig. 7 is the system software main flow chart.
In the accompanying drawing, 21-nitrogen branch road; 22-air pump; 23-cylinder; 24-porphyrin array sensor; 25-touch-screen; 26-lighting device; 27-camera; 29-two three-way electromagnetic valves; 210-slave computer PIC16F877; 4A-air intake opening; 41-cushioning fender; 42-first-level buffer district; 43-dividing plate; 44-level 2 buffering district; 45-dividing plate; 46-reaction chamber; 48-dividing plate; 49-the surge chamber of giving vent to anger; 4B-gas outlet.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is done explanation in further detail.
Fig. 1 is the structural representation of embedded harmful gas detection system, and Fig. 2 is the hardware block diagram of embedded harmful gas detection system, as shown in the figure.A kind of embedded harmful gas detection system comprises the cylinder 23 that is used to store gas to be detected, air pump 22, lighting device 26, the reaction air chamber, porphyrin array sensor 24, image capture instrument, touch-screen 25, embedded-type ARM 9 chips, slave computer PIC16F877, temperature sensor, humidity sensor, flow sensor, controllable heater, two three-way electromagnetic valves, exhaust gas processing device, be used to purge the nitrogen branch road 21 of whole gas circuit, be used to store boot files, (SuSE) Linux OS, the FLASH chip of application program, SD card and be used for temporary operating system and application program, and SDRAM chip as the data buffer.
Fig. 3 is the structural representation of reaction air chamber illustraton of model, as shown in the figure.The reaction air chamber is the transparent body, and an end is provided with air intake opening 4A, and the other end is provided with gas outlet 4B.Described porphyrin array sensor 24 is arranged on the middle part of reaction air chamber.Described reaction gas is indoor and by being provided with gas buffer baffle plate 41 through air intake opening 4A side; On the xsect of reaction air chamber, between gas buffer baffle plate 41 and porphyrin array sensor 24, be provided with double-layer clapboard I (being dividing plate 43 and dividing plate 45), between porphyrin array sensor 24 and gas outlet 4B, be provided with dividing plate II 48, uniform several pores on described dividing plate 43, dividing plate 45 and the dividing plate II 48.Described exhaust gas processing device is connected with the gas outlet 4B of reaction air chamber, and described two three-way electromagnetic valves are serially connected on exhaust gas processing device and the pipeline that the gas outlet 4B that reacts air chamber is connected, and described two three-way electromagnetic valves are controlled by slave computer PIC16F877.
The outlet of described cylinder 23 is communicated with the air intake opening 4A of reaction air chamber by air valve S3 and air pump 22, and the power supply of air pump is controlled by slave computer PIC16F877; Described flow sensor is arranged on air pump 22 and the pipeline that is connected of reaction air chamber, and slave computer PIC16F877 is connected with flow sensor with A/D converter by RB0-RB4.Nitrogen branch road 21 is connected on the pipeline between cylinder 23 and the air pump 22 by air valve.
It is indoor that described temperature sensor, humidity sensor and controllable heater all are arranged on reaction gas, and controllable heater is arranged between air intake opening 4A and the porphyrin array sensor 24.Slave computer PIC16F877 is by being connected with temperature sensor by RB5; Slave computer PIC16F877 is connected with humidity sensor with A/D converter by RD0-RD7; Slave computer PIC16F877 is connected with controllable heater by RC3.
Described lighting device 26 is arranged on the bottom of reaction air chamber, in the present embodiment, lighting device 26 adopts white light (spectral information to porphyrin array can not exert an influence) LED lamp that required light source is provided, make light source evenly soft be distributed in porphyrin array sensor 24 parts, guaranteed obtaining of picture rich in detail information.Described image capture instrument is arranged on the top of reaction air chamber, the camera of image capture instrument is corresponding with the porphyrin unit of porphyrin array sensor 24, the power supply of described lighting device 26 is by slave computer PIC16F877 control, and the signal of described image capture instrument is imported embedded-type ARM 9 chips.Image capture instrument is realized obtaining of image spectrum information, and passes to embedded-type ARM 9 chips and handle, and adopts the USB2.0 camera to realize obtaining of high quality graphic data.
Described slave computer PIC16F877 is connected with embedded-type ARM 9 chips (S3C2440) by the RS232 serial ports, realize communication, embedded-type ARM 9 chips (S3C2440) are as system CPU, frequency of operation 400MHZ, be responsible for all computings, coordinate and the work of management other parts.Touch-screen 25 is the LCD touch-screen, described embedded-type ARM 9 chips are connected with touch-screen 25 by 40 line interfaces, human-computer interaction interface, (comprise image acquisition, Flame Image Process, storage interface as the display graphics user interface, the monitoring parameter interface, command terminal interface etc.), accept user's touch operation.
Described SD cartoon is crossed the SD card interface circuit and is linked to each other with embedded-type ARM 9 chips, in the system work process, with image, error image before and after 24 reactions of porphyrin array sensor, and database file is stored in the SD card, can by operation to the image information of SD the inside delete, unloading or handle operation.
Described embedded-type ARM 9 chips are connected with the SDRAM chip with the FLASH chip respectively by the EMIF bus, and the FLASH chip is used to store boot files, (SuSE) Linux OS, application program etc.; Temporary operating system of described SDRAM chip and application program are as the buffer zone of Various types of data.Embedded-type ARM 9 chips are by being connected with network connection by the RJ45 interface.
Shown in alarm module be installed on the slave computer PIC16F877 plate, embedded-type ARM 9 chips are handled the concentration value input alarm module obtain and are carried out concentration ratio, when surpassing safety limit, alarm module carries out the buzzing early warning.
When using this embedded harmful gas detection system, as shown in Figure 1, at first open air valve S4, feed mental disorders, clear up whole gas circuit to mental disorder branch road 21; Close S4, open S3, air pump 22 is with gas suction gas circuit to be measured; Porphyrin array sensor 24 is put into the reaction air chamber, enter touch-screen 25 interfaces, turn on light source, unlatching camera 27 and the condition monitoring (temperature sensor, humidity sensor, flow sensor and controllable heater) of LED lamp 26, open two three-way electromagnetic valves 29.Gas to be measured enters first-level buffer district 42 from air intake opening 4A, by the buffer board 41 of ellipsoidal structure air-flow is separated along periphery, and 42 form preliminary unhurried current and even situation in the first-level buffer district; Dividing plate 43 from the first-level buffer district through uniform several pores enters level 2 buffering district 44, realizes further at the uniform velocity regulating of gas, in this zone, has realized gas flow rate buffering and concentration homogeneity substantially; Dividing plate 45 through uniform several pores enters reaction chamber 46 again, and the entire reaction chamber is a rectangular region, and the inside gas concentration and speed all reach the reaction requirement, and gas to be measured and porphyrin array sensor 47 fully react, to realize the detection of information; After gas to be measured and porphyrin sensor array were fully reacted, the dividing plate II 48 of uniform several pores of process entered the surge chamber 49 of giving vent to anger, and has guaranteed the smoothness of air-flow, can not influence the prime reaction chamber; Flow out from port 4B at last, and enter exhaust gas processing device through two three-way electromagnetic valves 29 and carry out vent gas treatment.Gather porphyrin array sensor 24 reaction front and back image informations by image capture instrument, input embedded-type ARM 9 chips finish Flame Image Process, by touch-screen 25 display result, SD card canned data, alarm module is when surpassing safety limit, and alarm module carries out the buzzing early warning; During this period, the cooperative embedded ARM9 chip of slave computer PIC16F877 is finished the monitoring of environmental parameter and the control of equipment etc.
Fig. 4 is the illustraton of model of porphyrin array sensor, and array point adopts 6 * 6 equidistant layout type, and each point uses a kind of metalloporphyrin, represents a porphyrin unit.The porphyrin unit presents different change color with the gas reaction meeting, every kind of change color can be expressed with three color base information (RGB), can realize that finally 6 * 6 * 3 combined information of detected gas is represented mode, the characteristic information of sign gas that can be detailed, carry out effective recognition, the accuracy rate height.
Fig. 5 is the synoptic diagram of withdrawing spectral information process, and A is each porphyrin unit information before the reaction of porphyrin sensor array chip, and B is each porphyrin unit information of reaction back; Image before and after the reaction is carried out grid dividing, information extraction, coding, demonstration, finally obtain template figure separately, make difference then and obtain difference spectrum information figure C, i.e. gas reaction characteristic information collection of illustrative plates.
Fig. 6 is a system software master interface block diagram, comprises system operation, system's control, image manipulation, help plate.Described operation module comprises the closing of system, reboot operation, the soft operation of feasible system; Described system controls, and comprises air pump control and illumination control, realizes artificial control to testing process; Described image manipulation, comprise image acquisition, Flame Image Process, picture browsing and image storage, wherein, the image acquisition interface is except the collection that realizes spectral information, display environment monitoring information (temperature, humidity, flow) in real time, the Flame Image Process interface comprises Image Information Processing, and picture browsing and image storage are existing image information to be carried out operations such as artificial image viewing and unloading; Help plate, comprised explanation of detection system version necessary information and operation steps introduction.
Fig. 7 is the system software main flow chart, after system powers on, loads boot, initialization peripherals, and decompressing files system and application program, startup enters human-computer interaction interface (touch-screen).Open air pump, feed mental disorder by operation, the cleaning air-channel system; Set (duration of ventilation 30s) through software systems, reach the primary standard state; Gas to be measured is fed air-channel system, open enviromental monitoring equipment, detected gas environmental parameter (temperature, humidity, flow) is also carried out micro-control and is reached proper state, reaches standard state; Place the porphyrin array sensor in the reaction chamber, open image capture instrument, obtain each time period image information; Gather and finish, preserve image information, close peripheral hardware (motor, light source etc.), slave computer enters low-power consumption mode; Host computer carries out Flame Image Process, characteristic information extracts, mates identification, and the result shows and early warning in time; Gas circuit exhaust-gas treatment: feed mental disorder and toxic and harmful residual in the gas circuit is removed (time 30s); Proceed experiment, otherwise finish.
Explanation is at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.