Summary of the invention
The purpose of this utility model is to provide pernicious gas control setup in a kind of SCM Based car, and this device is air quality and open the vehicle window ventilating air when pernicious gas exceeds standard automatically in the inspection vehicle effectively, thereby reaches the purpose that purifies air in the car.
In order to realize above-mentioned task, the utility model adopts following technical solution to be achieved:
Pernicious gas control setup in a kind of car, comprise that micro controller system, gas concentration sensor, pyroelectricity human-body infrared sensing device, alarm unit, telltale driving, light-emitting diode display, vehicle window drive and vehicle window controller, wherein, gas concentration sensor and pyroelectricity human-body infrared sensing device are connected the input end of micro controller system respectively, the mouth of micro controller system connects alarm unit respectively, telltale drives and vehicle window drives, the mouth that telltale drives connects light-emitting diode display, and the vehicle window drive output connects vehicle window controller.
Other technologies characteristics of the present utility model:
Described micro controller system adopts STC12C2052AD type micro controller system.
Described gas concentration sensor adopts MQ-7 type gas concentration sensor.
Described telltale drives and adopts the MAX7219 actuator.
Described pyroelectricity human-body infrared sensing device adopts HC-SR501 model sensor.
Described alarm unit comprises buzzer phone and LED lamp.
Described vehicle window drives and adopts the ULN2003 chip for driving.
Described vehicle window controller adopts motor.
This device utilizes sensor acquisition information, comprehensively judges the concentration information whether people and Che Nei are arranged in the car through micro controller system, takes different warning measures for different situations, to guarantee that the people is arranged in car, all can reach the purpose of early warning under the unmanned situation.This apparatus structure is simple, and cost is low, and Installation and Debugging are convenient, and all kinds of self-propelled vehiclees suit to be applied to.
The specific embodiment
Defer to technique scheme, as shown in Figure 1, pernicious gas control setup in a kind of car, comprise that micro controller system, gas concentration sensor, pyroelectricity human-body infrared sensing device, alarm unit, telltale driving, light-emitting diode display, vehicle window drive and vehicle window controller, wherein, gas concentration sensor and pyroelectricity human-body infrared sensing device are connected the input end of micro controller system respectively, the mouth of micro controller system connects alarm unit respectively, telltale drives and vehicle window drives, the mouth that telltale drives connects light-emitting diode display, and the mouth that vehicle window drives connects vehicle window controller.
In the utility model, micro controller system adopts the STC12C2052AD micro controller system, and this micro controller system is the micro controller system of compatible 8051RISC type CPU core of the single clock/machine cycle of 20 pin encapsulation, and its speed is than common 8051 fast 12 times; The RAM of integrated 256 bytes on the sheet; 15 general programmable I/O mouths have the EEPROM function in the sheet; Have 2 16 bit timing device/counting machines; Inner also integrated RC oscillator, P1.7-P1.0 is totally 8 tunnel 8 imported A/D converters of high-precision high speed voltage, and speed can reach 100KHz.Micro controller system is mainly used in processes sensor signal, control output and warning etc.
Described gas concentration sensor adopts MQ-7 model gas concentration sensor, the employed gas sensitive of this sensor is a tin ash, can detect the multiple gas that contains carbonic oxide, sensor is installed in the vehicle drive chamber interior, is used to detect the particularly concentration of CO gas of airborne pernicious gas.
Described pyroelectricity human-body infrared sensing device adopts HC-SR501 model sensor, and this sensor is installed in the seat both sides, is used to detect whether the people is arranged in the automobile; This pyroelectricity human infrared sensor adapted Fei Nier filter, an infrared radiation sensitivity when making its work to human body.
Described telltale drives and adopts MAX7219 to drive, and is that a kind of integrated serial I/O common cathode shows that telltale drives, and its connects the 7 piece of digital LED demonstration of microprocessor and 8 bit digital, also can connecting strap line chart telltale or 64 LED independently.
Described alarm unit comprises buzzer phone and LED lamp.
Described vehicle window drives and adopts the ULN2003 chip, and this chip is a kind of high withstand voltage, big electric current darlington array, and characteristics such as have current gain height, operating voltage height, range of temperatures is wide, carrying load ability is strong are used to drive vehicle window controller.
Vehicle window controller adopts motor, by the upper and lower motion of rotation may command vehicle window of motor, thereby opens, closes vehicle window.
During use, the concentration of pernicious gas such as carbonic oxide in the air in the gas concentration sensor inspection vehicle, this information is passed to micro controller system, micro controller system shows the concentration of pernicious gas in the car on the one hand in real time by light-emitting diode display, on the other hand this information and the value of setting are in advance compared, judge whether the concentration of pernicious gas in the car exceeds standard.If judge not exceed standard that then micro controller system does not react; If judge that when exceeding standard, micro controller system is by the signal of pyroelectricity human-body infrared sensing device, whether car in have people, and carry out following operation if judging:
1. if unmanned in the car, the Single-chip Controlling alarm unit carries out sound and light alarm, notices that to remind chaufeur the vehicle interior pernicious gas exceeds standard, and takes treatment measures before driving;
2. if detected the people, when carrying out sound and light alarm, the Single-chip Controlling alarm unit makes vehicle window controller work by the vehicle window driving, and open vehicle window pernicious gas in the car is discharged; When the harmful gas concentration value reached standard in the car, the Single-chip Controlling vehicle window drives closed vehicle window.
The electronic devices and components that the utility model adopts are known product, and those skilled in the art are according to the i.e. concrete connection mode of electronic devices and components as can be known of the technical solution of the utility model.