Background technology
As everyone knows, harmful gas is carbon monoxide for example, is colourless, tasteless and non-irritating gas, once human body suction is excessive, can cause acute poisoning.Anthracemia claims again gas poisoning, belongs to common choke damp poisoning.Anthracemia can be divided into liveliness proof and productivity clinically, the former is multiple be born in the smooth or gas-type water heater of coal stove smoke evacuation install and use improper, and the latter is because workplace exists due to high-concentration carbon monoxide, as we use rock gas at home, if improper ventilation, also likely causes carbon monoxide acute poisoning.
Industrial conventionally in the more environment of contact carbon monoxide as coal gas manufacture, coking, metallurgy, casting and chemical fertilizer manufacturing plant special carbonomonoxide concentration warning horn all can be installed, prevent poisoning generation.But for the control of the carbon monoxide in life, conventionally everybody can adopt a casual attitude, rarely carbonomonoxide concentration alarm can be installed by family, and current carbonomonoxide concentration warning horn carries inconvenience, do not accomplish to find in time dangerous situation, result is exactly that the frequent kinsfolk of generation does not freely cause poisoning owing to ventilating in family.
Summary of the invention
In view of above content, be necessary to provide a kind of gas monitoring system, harmful gas concentration that can monitor user ' environment of living in, instant alerts user carries out personal safe prevention.
In view of above content, be also necessary to provide a kind of gas monitoring method, harmful gas concentration that can monitor user ' environment of living in, instant alerts user carries out personal safe prevention.
Described gas monitoring system runs in electronic installation, this system comprises: acquisition module, the concentration value of the gas on-site gathering for the analog-digital commutator that reads described electronic installation, described analog-digital commutator is from the analog quantity of the gas sensor collection site gas concentration of this electronic installation and be translated into the digital quantity of gas concentration; Judge module, for the concentration value of obtained gas on-site and default gas concentration warning value are made comparisons, to judge whether gas on-site concentration exceeds standard; Control module, for when the gas on-site concentration over-standard, controls described electronic installation and sends alarm signal.
Described gas monitoring method is applied in electronic installation, the method comprises: obtaining step, read the concentration value of the gas on-site that the analog-digital commutator of described electronic installation gathers, described analog-digital commutator is from the analog quantity of the gas sensor collection site gas concentration of this electronic installation and be translated into the digital quantity of gas concentration; Determining step, makes comparisons the concentration value of obtained gas on-site and default gas concentration warning value, to judge whether gas on-site concentration exceeds standard; Control step, when gas on-site concentration over-standard, control described electronic installation and send alarm signal.
Compared to prior art, described gas monitoring system and method, harmful gas concentration that can monitor user ' environment of living in, instant alerts user carries out personal safe prevention.
Embodiment
As shown in Figure 1, be the running environment figure of gas monitoring system of the present invention (hereinafter to be referred as monitoring system).In the present embodiment, monitoring system 10 runs in electronic installation 1, and whether this monitoring system 10 exceeds standard for monitoring the gas concentration of described electronic installation 1 environment of living in.For example monitor indoor carbon monoxide or other gas for example the concentration of formaldehyde whether exceed standard.In the present embodiment, described electronic installation 1 can be the portable electric appts such as mobile phone.
In the present embodiment, whether the gas concentration that described monitoring system 10 is monitored environment of living in by the concentration value of the gas on-site that reads the analog-digital commutator 20 of described electronic installation 1 and gather exceeds standard.Described analog-digital commutator 20 is from the analog quantity of the gas sensor 30 collection site gas concentrations of described electronic installation 1 and be translated into the digital quantity of gas concentration.Described gas sensor 30 can be used for being sensed in the gas sensor that human body is harmful, for example formaldehyde sensor for carbon monoxide transducer or other.Described gas sensor 30 for example, for the analog quantity of Real-time Collection gas on-site concentration, the analog quantity of collection site carbonomonoxide concentration.
For the gas concentration of electronic installation 1 environment of living in described in better sensing, described gas sensor 30 can be arranged at front, side or other vantage points of described electronic installation 1.For example, consult shown in Fig. 4, described gas sensor 30 can be arranged at the positive left upper end of described electronic installation 1.
In the present embodiment, when the gas concentration that described monitoring system 10 monitors described electronic installation 1 environment of living in exceeds standard, control described electronic installation 1 and send alarm signal and exceed standard with the gas concentration of prompting user environment of living in.For example, described monitoring system 10 can be sent default caution sound and comes reminding user gas concentration to exceed standard by controlling the loudspeaker 40 of described electronic installation 1.
For carrying out further safety prompt function mechanism, the radio frequency module 50 that described monitoring system 10 can also be controlled described electronic installation 1 sends warning short message to default phone number, with the user who notifies the user of this phone number to remind described electronic installation 1 simultaneously, its gas on-site concentration over-standard.In the present embodiment, described radio frequency module 50 can be supported the mobile phone communication systems such as GSM, CDMA.
In the present embodiment, described monitoring system 10 can be divided into one or more modules, and described one or more modules are stored in described storer 60 and by processor 70 and carry out, to complete function provided by the invention.For example, consult shown in Fig. 2, described monitoring system 10 is divided into acquisition module 11, judge module 12 and control module 13.The alleged module of the present invention has been the program segment of a specific function, about the function of each module, will in the process flow diagram of Fig. 3, specifically describe.
As shown in Figure 3, be the process flow diagram of the preferred embodiment of gas monitoring method of the present invention.
Step S1, the concentration value of the gas on-site that the analog-digital commutator 20 of acquisition module 11 read electric devices 1 gathers.Described analog-digital commutator 20 is from the analog quantity of the gas sensor 30 collection site gas concentrations of this electronic installation 1 and be translated into the digital quantity of gas concentration.The analog quantity of described gas sensor 30 Real-time Collection gas on-site concentration.The present embodiment be take described gas sensor 30 and is illustrated as carbon monoxide transducer, for example the analog quantity of the on-the-spot carbonomonoxide concentration of Real-time Collection.
Step S2, judge module 12 is made comparisons the concentration value of obtained gas on-site and default gas concentration warning value, to judge whether gas on-site concentration exceeds standard.If gas on-site concentration over-standard performs step S3, otherwise process ends.
It should be noted that, described gas concentration warning value can arrange according to actual needs, for example, when user utilizes monitoring system of the present invention 10 monitoring indoor harmful gas concentration, can be by this gas concentration warning value setting lower to guarantee safety.
Step S3, control module 13 is controlled described electronic installation 1 and is sent alarm signal.
Particularly, described control module 13 can be sent default caution sound and points out user's gas on-site concentration over-standard by controlling the loudspeaker 40 of described electronic installation 1.
For carrying out further safety prompt function mechanism, the radio frequency module 50 that described monitoring system 10 can also be controlled described electronic installation 1 sends warning short message to default phone number, with the user who notifies the user of this phone number to remind described electronic installation 1 simultaneously, its gas on-site concentration over-standard.
Finally it should be noted that, 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 modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.