Combustible gas detecting alarm with data logger
Technical field
The present invention relates to the electronic equipment that gas detects, particularly have the combustible gas detecting warning device of electronical record unit.
Background technique
Known techniques, disclose a kind of portable intelligent gas detecting instrument as Chinese patent 03270719.3, this detector comprises I/V conversion amplification treatment circuit that one or more gas detection sensor is connected with described each gas detection sensor, temperature sensor circuit, has the microprocessor of multichannel analog signals input end, the external program memory and the liquid crystal display circuit of the calibration curve table data of zero point that has described sensor and temperature; Described gas detection sensor is connected with the corresponding input end of analog signal of microprocessor by I/V conversion amplification treatment circuit, and temperature transducer is connected with the corresponding input end of analog signal of described microprocessor; Described external program memory all is connected with microprocessor with liquid crystal display circuit, and the temperature value that the microprocessor utilization is gathered is found out corresponding correction value from external program memory, write down and store the Monitoring Data of set time section automatically.
And for example Chinese patent application 01251431.4 discloses the utility model a kind of gas detecting instrument is provided, and it comprises sensor, amplification circuit, A/D change-over circuit, single-chip microcomputer, display circuit, clock circuit, storage, communicating circuit, information button and information collection circuit and power circuit; Sensor output connects amplification circuit, amplification circuit and A/D change-over circuit join, A/D change-over circuit and single-chip microcomputer join, single-chip microcomputer links to each other with display circuit, simultaneously single-chip microcomputer also with clock circuit, storage, read the information button circuit and join, power circuit and all parts are joined, and power to entire circuit.
The combustion gas detection device of aforementioned known technology, in case the situation of catching fire or exploding occurs, it can not preserve the relevant reference record before and after the accident get off.Industry wishes that the combustion gas detection device can possess the function of " black box ", even if the record data in the tested house corrupted detection device also can intactly be preserved, provides analysis, avoids same in the future accident to take place, and takes safety measures better.
In addition, known technology can not write down mostly prober under the normal monitoring state and state of alarm under real-time running data, make such as sensor whether aging and must change, the engineering problem of existence has no way of having looked in many actual uses such as sensor mass is inferior, gas detecting alarm system false alarm or wrong report fault, after gas leakage accidents takes place, can't carry out accident analysis and responsibility and differentiate.
Have again, but existing memory time data prober, quote the elapsed time clock chip mostly, and use internal battery, the continuous operation of clock chip during with the outage of maintenance product, this constructions cost is higher, certainly will bring the cost of family expenses combustible gas detecting alarm integral product high, and the industry that influences is promoted.
Summary of the invention
Problem to be solved by this invention is, overcomes the above-mentioned defective that the technology of taking over exists, and a kind of cancellation elapsed time clock chip and internal battery structure are provided, still the accurate combustible gas detecting alarm with data logger of minute.
Technical solution problem of the present invention takes following technological scheme to realize, according to a kind of combustible gas detecting alarm provided by the invention with data logger, comprise the single-chip microcomputer with analog-digital converter and the detection unit, the alarm mechanism that are connected with this single-chip microcomputer respectively, and power supply, wherein
One single-chip microcomputer that can be connected with external data equipment, this single-chip microcomputer and storage are by the branch that can preset or second regularly write the datawire of voltage data and the port of clock line is connected to storage for time lag unit; Alarm threshold value internal storage location and the detection unit temperature compensation data table internal storage location that the data of providing are compared the default alarm threshold value internal storage location of processing, normal state data value internal storage location, detection unit short interruption fault is provided described single-chip microcomputer; Described single-chip microcomputer is connected by datawire respectively with detection unit;
The port of one storage is connected with datawire with the clock line of single-chip microcomputer respectively, receive and storage from single-chip microcomputer respectively organize data, described storage has by default sequence of addresses stores the storage unit of respectively organizing data respectively; This storage the data of providing is provided compares the detection unit voltage internal storage location under the clean air of handling, datarams unit, current data ground address pointer internal storage location and the alarm threshold internal storage location that detection unit detects in real time, export to relay, buzzer and status indicator lamp with the alarm signal that will meet default alert if, the position data with Alert data stores in the storage simultaneously.
This case technical solution problem can also adopt following technical measures further to realize:
Aforementioned combustible gas detecting alarm with data logger, wherein, described detection unit is made up of gas security, carbon monoxide transducer and temperature transducer, and the signal output part of this gas security, carbon monoxide transducer and temperature transducer is connected with corresponding port that can analog-to-digital single-chip microcomputer respectively.
Aforesaid combustible gas detecting alarm with data logger, wherein, described power supply, the output terminal of this power supply are connected respectively with after the power input of described gas security, carbon monoxide transducer is controlled via the single-chip processor i/o port, by default work schedule break-make to sensor; The output terminal of described power supply is connected with the power input of temperature transducer again; The output terminal of described power supply also links to each other with the power end of single-chip microcomputer and storage respectively.
Aforesaid combustible gas detecting alarm with data logger, wherein, described gas security and carbon monoxide transducer are semiconductor transducer, temperature transducer is a thermistor.
Aforesaid combustible gas detecting alarm with data logger, wherein, described single-chip microcomputer is the single-chip microcomputer of PIC16F73 model, described storage is the storage of 24C16 model.
Aforesaid combustible gas detecting alarm with data logger, wherein, described alarm mechanism is made of relay, buzzer and status indicator lamp, described relay is connected the corresponding end of this single machine output end coupled condition tutorial light with buzzer respectively through amplifier with single machine output end.
The present invention compared with prior art has significant advantage and beneficial effect.By above technological scheme as can be known, the present invention has following advantage at least under the structural arrangements of excellence:
The present invention has disposed gas security, carbon monoxide transducer and temperature transducer, thereby collection gas leakage detection alarm, carbon monoxide safety detecting alarm and fire constant temperature are reported to the police and are one, and can when reporting to the police, cut off gas source, to ensure user's personal safety effectively.
The present invention is with the single-chip microcomputer and the storage of more rational method configuration, when engineering problem appears or have an accident after need carry out the engineering problem analysis or carry out accident analysis, when responsibility is differentiated, software interface operation by the special-purpose computer that connects with single-chip microcomputer in can readout memory data and form four corresponding service data curves, after carrying out comprehensive analysis according to data and curves, can determine easily such as the scene of the accident whether gas leakage took place, when which kind of warning took place, accident is because the user forgets that the pass fire causes combustion gas poisoning or carbon monoxide poisoning or institute causes or the like because pipeline leaks gas.Can thus be carry out in the engineering practical application that gas leakage detect to be differentiated, relevant accident analysis, responsibility analysis, engineering problem is differentiated and determine that wounded's rescue scheme etc. provides reliable and effective data foundation.
The reasonable disposition of this case single-chip microcomputer and storage, can remove clock circuit or clock chip that known techniques can not reduce usually, abandon the absolute time notion, and adopt the notion of relative time that data storage cell is set, therefore only need the data space of a few K bytes, it is required just can to satisfy this alarm, can effectively reduce product cost, affine audient realizes that industry is promoted more widely.The present invention contrasts prior art significant contribution and progress, has realized its technical purpose fully, is really to have novelty, creativeness, practical good technology.
The specific embodiment of the present invention is provided in detail by following examples and accompanying drawing thereof.
Description of drawings
Fig. 1 is a structured flowchart of the present invention;
Fig. 2 is circuit theory diagrams of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, to according to embodiment provided by the invention, structure, feature and effect thereof, describe in detail as after.
Shown in Fig. 1-2, a kind of combustible gas detecting alarm with data logger comprises single-chip microcomputer U1 with analog-digital converter and the detection unit J that is connected with this single-chip microcomputer, wherein,
One power supply B connects and composes D.C. regulated power supply by the input end of DC electrical source B2 and the output terminal of rectification circuit B1; Power supply forms stable VCC voltage after rectification circuit B1 rectification and process DC/DC DC electrical source B2 voltage stabilizing, be whole alarm power supply; DC/DC DC electrical source B2 can be commercially available product model MC34063 and the related peripheral circuit constitutes, and it is MB6S that rectification circuit B1 can be the commercially available product model;
One output terminal of described power supply is connected after the break-make control of the BH of single-chip microcomputer U1, two I/O mouths of HEAT with the power input of described gas security S1, carbon monoxide transducer S2 respectively;
The another output terminal of described power supply is connected with the power input of temperature transducer Rt1; The output terminal of described power supply links to each other with the power end of storage U2 with single-chip microcomputer U1 respectively again; Two I/O mouths of the BH of described single-chip microcomputer, HEAT by the break-make of control triode V1, V2, reach the purpose of the working power of control sensor S1, S2 respectively according to default work schedule to each sensor;
Described detection unit J is made up of gas security S1, carbon monoxide transducer S2 and temperature transducer Rt1, signal output part AD0, AD1, the AD3 of this gas security S1, carbon monoxide transducer S2 and temperature transducer Rt1 are connected with the corresponding port of single-chip microcomputer respectively, form digital signal for the analog voltage signal of each sensor that single-chip microcomputer is collected in real time by AD0, AD1, AD3 port via the analog-to-digital conversion of single-chip microcomputer internal mode number converter; Described gas security and carbon monoxide transducer can be selected semiconductor transducer for use, and temperature transducer can be selected thermistor for use;
The optional model of one single-chip microcomputer U1 is the single-chip microcomputer of PIC16F73, and this single-chip microcomputer is connected with the serial data port U11 of external data equipment (as computer) by its serial data end TXD, RXD, provides analysis with the detection data that access this alarm internal memory; When receiving the communication instruction of external data equipment, single-chip microcomputer U1 interrupts work at present and reads the data of storage among the storage U2 successively by SCL clock line and SDA datawire, and sends to external data equipment successively by the baud rate of agreement;
Alarm mechanism is made of relay J 1, buzzer B3 and status indicator lamp HL1, described relay J 1 is connected the corresponding end of the L-GRN of this single-chip microcomputer and L-RED output terminal port communicating condition tutorial light HL1 with buzzer B3 respectively through amplifier with the BUZ output port with the DCF of single-chip microcomputer;
When gas alarm or temperature alarming take place when, single-chip microcomputer U1 amplifies 1 action of driving relay J by the DCF output port through triode V4, to the external transmission alarm signal, amplify driving buzzer B3 by the BUZ output port through triode V3 simultaneously and send alarm sound, send the warning optical signal by L-GRN and L-RED output port drive condition tutorial light HL1;
When the short circuit sensor open circuit fault took place, single-chip microcomputer U1 amplified driving buzzer B3 by the BUZ output port through triode V3 and sends the malfunction alarm sound equipment, sends the malfunction alarm optical signal by L-GRN and L-RED output port drive condition tutorial light HL1;
Described single-chip microcomputer is connected by data line ports SCL, SDA with storage U2; Described single-chip microcomputer has the alarm threshold value internal memory and the sensor temperature offset data table internal memory of default alarm threshold value internal memory, normal state data value internal memory, short circuit sensor open circuit fault; Collect, also pass through the signal of each sensor of digital filtering processing by single-chip microcomputer, through after carrying out the temperature correction computing with the temperature compensation table of single-chip microcomputer internal preset, respectively with single-chip microcomputer in data such as default alarm setting value and height malfunction alarm thresholding compare; With default branch or second be time lag unit, regularly write voltage data to storage U2;
The data line ports SCL of one storage U2, SDA are connected with datawire with the clock line of single-chip microcomputer respectively, described storage receives and storage is respectively organized data from single-chip microcomputer, every group of data are occupied separately independently storage space in storage, the data of respectively organizing in the storage are upgraded by sequence of addresses storage and circulation, and the alarm signal that will meet default alert if exports to relay J 1, buzzer B3 and status indicator lamp HL1, and the position data with Alert data stores among the storage U2 simultaneously; Sensor voltage value, alarm threshold value under the clean air prestore in this storage; This storage receives also storage sensor service data value, current data ground address pointer in real time; It is the storage of 24C16 that described storage can be selected commercially available model for use,
Under the normal operating condition, single-chip microcomputer is gathered the voltage data of gas security, carbon monoxide transducer and temperature transducer in real time by the internal mode number converter, through data processing and after carrying out the temperature correction computing by the temperature compensation table of single-chip microcomputer internal preset, by sequence of addresses data are stored in the storage at a certain time interval, and store the address pointer of current data storage operation into storage, a data bytes of memory space, every group of data occupancy 〉=4, the time lag is set to branch or second by actual demand.Every group of data are occupied separately independently storage space in storage, the data of respectively organizing in the storage are upgraded by sequence of addresses storage and circulation, can store in 2K bytes of memory space≤400 groups of data.When needs carry out data analysis, as long as the data that write down in the readout memory, can recognize the situation of change of interior gas concentration of finite time section and ambient temperature, can draw accident analysis and responsibility discrimination result by all data arrays being carried out comprehensive analysis, thereby realize need not the purpose that clock circuit or clock chip also can analyze the information in the relative time.
The time lag of supposing setting is 4 minutes, can store 400 groups of data in the storage altogether, can learn the position of preceding last group data of alarm outage by the inquire address pointer, concrete time value according to the alarm power-cut time, utilize the such external data equipment of computer to be easy to the time of retrodicting, obtain a certain group of data or report to the police concrete substantially accurately constantly time value, its time max value of error is the default time lag (as 4 minutes), conventional store 400 groups of memory of data, commercially available cheap, but can satisfy the family expenses needs of this alarm, such alarm can be stored the gas concentration within 26 hours and the data of variation of ambient temperature before the power-cut time, can satisfy the needs that the front and back process takes place the description accident fully, so this case can effectively reduce product cost.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, every foundation technical spirit of the present invention all still belongs in the scope of technical solution of the present invention any simple modification, equivalent variations and modification that above embodiment did.