CN102445474B - Gas detector, identification method of sensor thereof, and sensor connection detection method - Google Patents
Gas detector, identification method of sensor thereof, and sensor connection detection method Download PDFInfo
- Publication number
- CN102445474B CN102445474B CN201110372863.8A CN201110372863A CN102445474B CN 102445474 B CN102445474 B CN 102445474B CN 201110372863 A CN201110372863 A CN 201110372863A CN 102445474 B CN102445474 B CN 102445474B
- Authority
- CN
- China
- Prior art keywords
- circuit board
- sensor
- voltage
- contacts
- sampling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention provides a gas detector, an identification method of a sensor thereof, and a sensor connection detection method. The detector comprises a main circuit board, a sensor and a sampling circuit board forming one-to-one correspondence with the sensor. One sampling resistor and two sampling contacts are arranged on the sampling circuit board. The main circuit board is provided with a voltage dividing resistor, two contacts, a microprocessor circuit, and a voltage acquiring circuit, wherein voltage acquiring terminals of the voltage acquiring circuit are respectively connected to the two contacts, and the voltage acquiring circuit board is connected to the microprocessor circuit. With the connection of the contacts, the voltage dividing resistor and the sampling resistor form a sampling circuit. The identification method and the connection detection method comprise steps that: according to the voltage values acquired by the voltage acquiring circuit board, the microprocessor circuit board searches pre-stored data for a sensor type corresponding to the pre-stored data; it is determined that whether the voltage value is in a preset voltage threshold; if the voltage value is in a preset voltage threshold, the sensor and the main circuit board are successfully connected. The detector and the method are advantaged in scientific design. With the method, a sensor can be rapidly replaced.
Description
Technical field
The present invention relates to a kind of gas detecting instrument, specifically, related to a kind of gas detector and identification method of sensor thereof and sensor connection detection method.
Background technology
At poisonous gas detection field, tend to occur different poisonous gas in an environment, or there is different poisonous gas in zones of different, and galvanochemistry poisonous gas sensor can only detect one or certain several poisonous gas, in the time detecting gas with various, often need to change detector and realize.
If only just can realize the detection of gas with various by emat sensor more, will greatly promote the performance of detector; At present, also there is certain methods to realize the quick-replaceable of sensor, and make detector can detect different gas, its method is by single-chip microcomputer or relevant memory circuit are independently set, by main equipment with the sensor information of PORT COM read sensor module, and then identification sensor type, this method implements complex structure, need independent power supply and transmission line, easily cause system unstable, also greatly increased manufacture, maintenance cost and sensor assembly volume.
In order to solve the problem of above existence, people are seeking a kind of desirable technical solution always.
Summary of the invention
The object of the invention is for the deficiencies in the prior art, thereby a kind of design science is provided, easy to use, cost is low, stability is high, be easy to safeguard, can automatic identification sensor type, can realize connecting and detect, be convenient to the more gas detector of emat sensor of main circuit board, a kind of identification method of sensor of gas detector and a kind of sensor connection detection method of gas detector are also provided.
To achieve these goals, the technical solution adopted in the present invention is: a kind of gas detector, it comprises main circuit board, be plugged on sensor on described main circuit board and be the sampling circuit board of unique corresponding relation with described sensor, on described sampling circuit board, be provided with a sampling resistor and two sampling contacts, the two ends of described sampling resistor connect respectively two described sampling contacts; On described main circuit board, be provided with two contacts, divider resistance, microcontroller circuit and a voltage collection circuit, wherein, the voltage acquisition end of described voltage collection circuit connects respectively two described contacts, the voltage output end of described voltage collection circuit connects the voltage acquisition end of described microcontroller circuit, described divider resistance one end is used for connecting direct supply, the described divider resistance other end connects one of them contact, wherein another contact ground connection; Two described sampling contacts and two described contacts connect one to one.
Based on above-mentioned, grafting surface of contact one side of described sensor is provided with groove, and the pin of described sensor is positioned at described groove; On described sampling circuit board, be provided with the pin jack corresponding with described pin, described sampling circuit board is fixed in described groove, and described pin is through described pin jack setting; The outside surface of described sampling circuit board is concordant with the grafting surface of contact of described sensor; Grafting surface of contact one side of described main circuit board is provided with the pin spliced eye corresponding with described pin, and described sensor is plugged on by described pin in the pin spliced eye of described main circuit board; Two described sampling contacts are arranged on the outside surface of described sampling circuit board, and two described contacts are arranged on the grafting surface of contact of described main circuit board, two described sampling contacts and the corresponding setting one by one of two described contacts.
An identification method of sensor for gas detector, is:
Step 1, described sampling circuit board and described sensor are connected on described main circuit board;
Step 2, described voltage collection circuit gather the magnitude of voltage at two ends, two described contacts, and this magnitude of voltage are exported to described microcontroller circuit;
Step 3, described microcontroller circuit, according to the described magnitude of voltage collecting, in the data of the magnitude of voltage certainly prestoring and sensor type unique corresponding relation, find out the sensor type corresponding with this magnitude of voltage.
A sensor connection detection method for gas detector, is:
Step 1, described sampling circuit board is arranged on described sensor, then by described installation of sensors on described main circuit board;
Step 2, described voltage collection circuit gather the magnitude of voltage at two ends, two described contacts, and this magnitude of voltage are exported to described microcontroller circuit;
Step 3, described microcontroller circuit are according to the described magnitude of voltage collecting, judge that this magnitude of voltage is whether within the scope of default threshold voltage, if so, described sensor and described main circuit board successful connection, otherwise described sensor and described main circuit board are failed successful connection.
The relative prior art of the present invention has outstanding substantive distinguishing features and marked improvement, specifically, this gas detector utilizes sampling circuit board, represent the type of different sensors by different resistances, build sampling circuit, realize the identification of sensor type, simultaneously, it makes full use of the design feature of sensor, do not change the size of sensor and with the prerequisite of main circuit board grafting relation under, realize the whether detection of successful connection of sensor and main circuit board, it has design science, easy to use, cost is low, stability is high, be easy to safeguard, can automatic identification sensor type, can realize connecting and detect, be convenient to the more advantage of emat sensor of main circuit board, that the identification method of sensor of this gas detector and the sensor connection detection method of gas detector all have advantages of is simple and practical, be easy to realize, safe and reliable.
Brief description of the drawings
Fig. 1 is structural representation of the present invention.
Fig. 2 is the structural representation of described sampling circuit board.
Fig. 3 is the electrical block diagram of described main circuit board.
Embodiment
Below by embodiment, technical scheme of the present invention is described in further detail.
As shown in Figure 1, Figure 2 and Figure 3, a kind of gas detector, it comprises main circuit board 3, be plugged on sensor 2 on described main circuit board 3 and be the sampling circuit board 1 of unique corresponding relation with described sensor 2; Wherein, be provided with a sampling resistor R2 and two sampling contacts 11 on described sampling circuit board 1, the two ends of described sampling resistor R2 connect respectively two described sampling contacts 11; On described main circuit board 3, be provided with two contacts 31, divider resistance R1, microcontroller circuit and a voltage collection circuit, wherein, the voltage acquisition end of described voltage collection circuit connects respectively two described contacts 31, the voltage output end of described voltage collection circuit connects the voltage acquisition end of described microcontroller circuit, described divider resistance R1 one end is used for connecting direct supply VCC, the described divider resistance R1 other end connects one of them contact 31, wherein another contact 31 ground connection GND; Two described sampling contacts 11 and two described contacts 31 connect one to one;
Said structure, has mainly provided the sampling circuit of a main circuit board identification sensor type; In practical application, described sensor 2 uses as a sensor assembly with described sampling circuit board 1, for different detection of gas environment, as need are changed detector, only needs to change sensor assembly; A sampling circuit board 1 and a sensor 2 are unique corresponding relation, that resistance and a sensor 2 of a sampling resistor R2 on sampling circuit board 1 is unique corresponding relation, furtherly in fact,, identify the resistance of sampling resistor R2, can find corresponding with it sensor type.
An identification method of sensor for gas detector, is:
Step 1, described sampling circuit board and described sensor are connected on described main circuit board, two described sampling contacts 11 and two described contacts 31 are connected one to one, form sampling circuit;
Step 2, described voltage collection circuit gather the magnitude of voltage at two ends, two described contacts, and this magnitude of voltage are exported to described microcontroller circuit;
Step 3, described microcontroller circuit, according to the described magnitude of voltage collecting, in the data of the magnitude of voltage certainly prestoring and sensor type unique corresponding relation, find out the sensor type corresponding with this magnitude of voltage; Now, if described microcontroller circuit can detect described sensor, can be the described sensor configuration initialization information corresponding with it, so far, described sensor assembly and described main circuit board form the gas detector that can work.
Based on above-mentioned, grafting surface of contact one side of described sensor 2 is provided with groove, and the pin two 2 of described sensor 2 is positioned at described groove, and conventionally, the electrochemical sensor of standard all has this groove; On described sampling circuit board 1, be provided with the pin jack 12 corresponding with described pin two 2, described sampling circuit board 1 is fixed in described groove, and described pin two 2 arranges through described pin jack 12; The outside surface of described sampling circuit board 1 is concordant with the grafting surface of contact of described sensor 2; Grafting surface of contact one side of described main circuit board 3 is provided with the pin spliced eye corresponding with described pin two 2, and described sensor 2 is plugged on by described pin two 2 in the pin spliced eye of described main circuit board 3; Two described sampling contacts 11 are arranged on the outside surface of described sampling circuit board 1, and two described contacts 31 are arranged on the grafting surface of contact of described main circuit board 3, two described sampling contacts 11 and the corresponding setting one by one of two described contacts 31.
Described sensor 2 is plugged on described main circuit board 3, it is implicit: after described sensor 2 and described main circuit board 3 only have and contact, just can there is described sensor 2 and the relation that described main circuit board 3 establishes a communications link, form a gas detector that annexation is complete; In other words, in the time that the grafting surface of contact of described sensor 2 and the grafting surface of contact of described main circuit board 3 normally contact, the relation that described sensor 2 and described main circuit board 3 should establish a communications link.
Two described sampling contacts 11 are arranged on the outside surface of described sampling circuit board 1, two described contacts 31 are arranged on the grafting surface of contact of described main circuit board 3, two described sampling contacts 11 and the corresponding setting one by one of two described contacts 31, the outside surface of described sampling circuit board 1 is concordant with the grafting surface of contact of described sensor 2, in conjunction with foregoing description, it is implicit: when the grafting surface of contact of described sensor 2 is when the grafting surface of contact of described main circuit board 3 normally contacts, and two described sampling contacts 11 and the corresponding also connection one by one of two described contacts 31.
The present invention defines the grafting relation of described sensor 2 and described main circuit board 3 from physical arrangement, that is, two described sampling contacts 11 and two described contacts 31 are corresponding and while connecting one by one, the successful connection of described sensor 2 and described main circuit board 3; But, artificial described sensor 2 is plugged on described main circuit board 3 after, described main circuit board 3 can not determine whether to have connected the above sensor 2; In other words, can whether successfully be connected to detect by two described sampling contacts 11 and two described contacts 31 the whether successful connection of described sensor 2 and described main circuit board 3.
Based on above-mentioned sampling circuit and above-mentioned physical arrangement, provide a kind of microcontroller circuit and differentiate the whether detection method of successful connection of described sensor 2 and described main circuit board 3, that is, a kind of sensor connection detection method of gas detector, is mainly:
Step 1, described sampling circuit board is arranged on described sensor, again by described installation of sensors on described main circuit board, two described sampling contacts 11 and two described contacts 31 are connected one to one, form sampling circuit, meanwhile, meet the installation relation between described sampling circuit board, described sensor, described main circuit board;
Step 2, described voltage collection circuit gather the magnitude of voltage at two ends, two described contacts, and this magnitude of voltage are exported to described microcontroller circuit;
Step 3, described microcontroller circuit are according to the described magnitude of voltage collecting, judge that this magnitude of voltage is whether within the scope of default threshold voltage, if so, described sensor and described main circuit board successful connection, otherwise described sensor and described main circuit board are failed successful connection;
Now, according to the sensor type recognizing, then be the described sensor configuration initialization information corresponding with it, so far, described sensor assembly and described main circuit board form the gas detector that can work.
Finally should be noted that: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the field are to be understood that: still can modify or part technical characterictic is equal to replacement the specific embodiment of the present invention; And not departing from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope of request protection of the present invention.
Claims (3)
1. a gas detector, comprise main circuit board and be plugged on the sensor on described main circuit board, it is characterized in that: it also comprises the sampling circuit board that is unique corresponding relation with described sensor, on described sampling circuit board, be provided with a sampling resistor and two sampling contacts, the two ends of described sampling resistor connect respectively two described sampling contacts; On described main circuit board, be provided with two contacts, divider resistance, microcontroller circuit and a voltage collection circuit, wherein, the voltage acquisition end of described voltage collection circuit connects respectively two described contacts, the voltage output end of described voltage collection circuit connects the voltage acquisition end of described microcontroller circuit, described divider resistance one end is used for connecting direct supply, the described divider resistance other end connects one of them contact, wherein another contact ground connection; Two described sampling contacts and two described contacts connect one to one; Grafting surface of contact one side of described sensor is provided with groove, and the pin of described sensor is positioned at described groove; On described sampling circuit board, be provided with the pin jack corresponding with described pin, described sampling circuit board is fixed in described groove, and described pin is through described pin jack setting; The outside surface of described sampling circuit board is concordant with the grafting surface of contact of described sensor; Grafting surface of contact one side of described main circuit board is provided with the pin spliced eye corresponding with described pin, and described sensor is plugged on by described pin in the pin spliced eye of described main circuit board; Two described sampling contacts are arranged on the outside surface of described sampling circuit board, and two described contacts are arranged on the grafting surface of contact of described main circuit board, two described sampling contacts and the corresponding setting one by one of two described contacts.
2. the identification method of sensor of gas detector described in claim 1, is characterized in that:
Step 1, described sampling circuit board and described sensor are connected on described main circuit board;
Step 2, described voltage collection circuit gather the magnitude of voltage at two ends, two described contacts, and this magnitude of voltage are exported to described microcontroller circuit;
Step 3, described microcontroller circuit, according to the described magnitude of voltage collecting, in the data of the magnitude of voltage certainly prestoring and sensor type unique corresponding relation, find out the sensor type corresponding with this magnitude of voltage.
3. the sensor connection detection method of gas detector described in claim 1, is characterized in that:
Step 1, described sampling circuit board is arranged on described sensor, then by described installation of sensors on described main circuit board;
Step 2, described voltage collection circuit gather the magnitude of voltage at two ends, two described contacts, and this magnitude of voltage are exported to described microcontroller circuit;
Step 3, described microcontroller circuit are according to the described magnitude of voltage collecting, judge that this magnitude of voltage is whether within the scope of default threshold voltage, if so, described sensor and described main circuit board successful connection, otherwise described sensor and described main circuit board are failed successful connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110372863.8A CN102445474B (en) | 2011-11-22 | 2011-11-22 | Gas detector, identification method of sensor thereof, and sensor connection detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110372863.8A CN102445474B (en) | 2011-11-22 | 2011-11-22 | Gas detector, identification method of sensor thereof, and sensor connection detection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102445474A CN102445474A (en) | 2012-05-09 |
CN102445474B true CN102445474B (en) | 2014-07-30 |
Family
ID=46008179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110372863.8A Active CN102445474B (en) | 2011-11-22 | 2011-11-22 | Gas detector, identification method of sensor thereof, and sensor connection detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102445474B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090074A (en) * | 2014-07-08 | 2014-10-08 | 河南汉威电子股份有限公司 | Calibration gas circuit board and gas sensor module calibration device |
CN110455869B (en) * | 2018-05-07 | 2023-07-25 | 中国石油化工股份有限公司 | Gas-sensitive sensing monitoring probe with sampling resistor and application thereof |
CN110530402A (en) * | 2019-07-31 | 2019-12-03 | 张晓卫 | A kind of sensor based on wireless transmission |
CN110618238B (en) * | 2019-09-29 | 2022-11-22 | 欧勒姆电气(珠海)有限公司 | Self-adaptive driving circuit of gas sensor |
CN113509221A (en) * | 2021-07-05 | 2021-10-19 | 江西医为特科技有限公司 | Endoscopic surgery system with automatic hydraulic monitoring function |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101813618A (en) * | 2010-01-07 | 2010-08-25 | 中国科学院半导体研究所 | Device and method for simultaneously detecting plurality of gases based on optoacoustic effect |
CN201653956U (en) * | 2010-01-21 | 2010-11-24 | 彭兴跃 | Household USB plug and play gas detector |
CN101949887A (en) * | 2010-08-20 | 2011-01-19 | 郑州炜盛电子科技有限公司 | Semiconductor gas sensor and various gas detection method thereof |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5257897B2 (en) * | 2009-06-01 | 2013-08-07 | フリースケール セミコンダクター インコーポレイテッド | Output circuit |
CN202362268U (en) * | 2011-11-22 | 2012-08-01 | 河南汉威电子股份有限公司 | Gas detector |
-
2011
- 2011-11-22 CN CN201110372863.8A patent/CN102445474B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101813618A (en) * | 2010-01-07 | 2010-08-25 | 中国科学院半导体研究所 | Device and method for simultaneously detecting plurality of gases based on optoacoustic effect |
CN201653956U (en) * | 2010-01-21 | 2010-11-24 | 彭兴跃 | Household USB plug and play gas detector |
CN101949887A (en) * | 2010-08-20 | 2011-01-19 | 郑州炜盛电子科技有限公司 | Semiconductor gas sensor and various gas detection method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102445474A (en) | 2012-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102445474B (en) | Gas detector, identification method of sensor thereof, and sensor connection detection method | |
CN106445862B (en) | A kind of plug-in module identification circuit and method | |
CN104965147B (en) | Low-voltage customer electric energy meter is visited one house after another detecting system and detection method | |
CN107688521A (en) | A kind of server power supply detects circuit and detection method in place | |
CN204244219U (en) | A kind of telecommunication circuit detecting RS485 interface voltage | |
CN106598895A (en) | Small function board recognition system and method | |
CN101042413B (en) | Alternating current recognition device | |
CN103220370B (en) | Method and device for achieving single wire protocol (SWP) interface and SWP system | |
CN204116527U (en) | Polarity testing device of current transformer | |
CN102404679B (en) | Headset detection circuit and electronic equipment | |
CN104568227A (en) | Circuit, method and device for detecting temperature sensing bulb | |
CN202362268U (en) | Gas detector | |
CN103546138B (en) | Touch key-press control circuit | |
CN203084823U (en) | Card reader capable of automatically identifying polarity of mobile audio interface | |
CN205120803U (en) | Air conditioner load current detection device and system | |
CN205754934U (en) | A kind of LED lamp with USB interface string control system | |
CN108173544A (en) | A kind of compatible input or the I/O port circuit of output control | |
CN211402533U (en) | Automatic module and system of patrolling and examining of multichannel voltage | |
CN104950240A (en) | Working voltage segment testing system and testing method for smart card | |
CN203167375U (en) | A distributed fire-fighting emergency lamp control device | |
CN207965013U (en) | A kind of CAN bus terminal impedance failure detector | |
CN204286490U (en) | Embedded integrated temperature-humidity monitoring circuit | |
CN218584971U (en) | Electric leakage detection circuit of Micro SD card | |
CN104931813A (en) | Method and system for detecting states of machine room server LED lamps | |
CN207529216U (en) | Sensor access infrastructure in a kind of intelligent remote terminal control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 450001 Zhengzhou high tech Development Zone, Henan, Cedar Road, No. 169 Patentee after: Hanwei Technology Group Limited by Share Ltd Address before: 450001 Zhengzhou high tech Development Zone, Henan, Cedar Road, No. 169 Patentee before: Henan Hanwei Electronics Co., Ltd. |