CN108254009A - A kind of detection circuit and judgment method for being adapted to different sensors - Google Patents
A kind of detection circuit and judgment method for being adapted to different sensors Download PDFInfo
- Publication number
- CN108254009A CN108254009A CN201711462690.2A CN201711462690A CN108254009A CN 108254009 A CN108254009 A CN 108254009A CN 201711462690 A CN201711462690 A CN 201711462690A CN 108254009 A CN108254009 A CN 108254009A
- Authority
- CN
- China
- Prior art keywords
- module
- detection circuit
- signal
- different sensors
- sensor
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D18/00—Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The present invention provides a kind of detection circuit and judgment method for being adapted to different sensors, including being sequentially connected sensor assembly, channel selecting module, signal processing module, processor module and communication module;Channel selecting module connects voltage source module and current source module respectively;Processor module is connect with power supply module.A kind of detection circuit and judgment method for being adapted to different sensors of the present invention, it can realize through a sensor module interface, it can be according to the difference of input signal, corresponding waveform is converted into the acceptable signal of processor, to judge short circuit, open circuit, temperature sensor and the Status Type of electricity leakage sensor.There is small detection circuit, applicable multiple sensors and dependable performance.
Description
Technical field
The invention belongs to digital processing fields, more particularly, to a kind of detection circuit for being adapted to different sensors and sentence
Disconnected method.
Background technology
With the development of modern social economy, the emergence of various high-rise buildings and electrical equipment power are increasingly
Greatly, the risk of electrical fire also increases therewith, and the detection system of electrical fire is widely used.
In electrical fire-detector system, traditional hygrosensor and earth detector belong to measurement resistance due to one
It is worth the sensor of variable quantity, needs passive input voltage and input current parameter.Another belongs to active output voltage signal, and detector is only
It needs passively to receive semaphore.Therefore cause different sensors that can not share same sniffing interface, if necessary
A plurality of types of detectors will be continuously increased various peripheral interfaces, and the volume of such detector will become very big, cause
Bad installation inside distribution box.
Invention content
In view of this, the present invention is directed to propose a kind of detection circuit and judgment method for being adapted to different sensors, cooperation make
With sensor assembly, channel selecting module, signal processing module, processor module and communication module, can realize by one
Corresponding waveform can be converted into the acceptable signal of processor by sensor module interface according to the difference of input signal,
To judge short circuit, open circuit, temperature sensor and the type of electricity leakage sensor.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
A kind of detection circuit for being adapted to different sensors, including being sequentially connected sensor assembly, channel selecting module, signal
Processing module, processor module and communication module;Channel selecting module connects voltage source module and current source module respectively;Processing
Device module is connect with power supply module.
Voltage source module main function is the signal for receiving electricity leakage sensor, since electricity leakage sensor can be adopted itself
The signal of collection is converted into electric parameter, so needing electric parameter being transformed into the parameter that signal processing module can handle.
Current source module main function is the signal for receiving temperature sensor, since temperature sensor can be adopted itself
The signal of collection is converted into resistance value parameter, so detection circuit is needed to provide a constant-current source to measure the variation of resistance value, thus will
Temperature signal is converted into voltage signal parameter and is supplied to signal processing module to handle.
Channel selecting module main function is different for the type according to institute's belt sensor, and then different voltage is configured to it
Source or current source, to ensure that it can be worked normally.
Signal processing module, main function, can for the measurement parameter for the sensor assembly being collected into is handled
It is enough to be acquired and handled by processor module.
Power supply module, main function be by power conversion chip will exchange or high voltage direct current flat turn change place into
The level that reason device module uses, so as to which whole system be made to be able to maintain that normal work.
Communication module, main function are the processor die when parameter that detection circuit measures is higher than default value
Block can send out alarm signal, and host computer is transmitted to by communication module.
Further, processor module is connect with human-computer interaction module.
Human-computer interaction module, main function is can help user to formulate corresponding decision logic by this module.
Further, sensor assembly includes:Temperature sensor or electricity leakage sensor.
Further, communication module connection host computer.
Further, power supply module output 3.3V level.
A kind of judgment method for being adapted to different sensors, including:
Use a kind of detection circuit of above-mentioned adaptation different sensors:
Sensor assembly can be four kinds of possible equipment states:Off state, short-circuit condition, electricity leakage sensor state and temperature
Spend sensor states.Different types of signal during by above-mentioned four kinds of states is converted into unified standard signal and is transferred to processing
In device module, to obtain corresponding judging result, specific judgment method is as follows:
Step 1:Start to initialize:Processor module carries out power-up initializing and correlation to the hardware of this detection circuit first
Hardware check, the selection position of channel selecting module, which is in, at this time selects on voltage source module;
Step 2:Receive signal processing module data, processor module carries out the analyzing and processing of data;
Step 3:Judge whether voltage source module signal is effective;Judge whether the signal that signal processing module is sent is default
Particular value, if not pre-set value, then judge sensor assembly for temperature sensor;If pre-set value enters step 4;
Step 4:Channel selecting module change in location;The selection position of channel selecting module is made to be in current source module;
Step 5:Voltage source module signal judges;Judge whether the signal that signal processing module is sent is zero, if measuring shape
State is not zero, then sensor assembly is in short-circuit condition;If measuring state is zero, 6 are entered step;
Step 6:Judge whether the signal that signal processing module is sent is just infinite, if measuring state is not just infinite,
Sensor assembly is off state;If measuring state is just infinite, sensor assembly is electricity leakage sensor.
Relative to the prior art, a kind of detection circuit and judgment method for being adapted to different sensors of the present invention has following
Advantage:
A kind of detection circuit and judgment method for being adapted to different sensors of the present invention, with the use of sensor assembly, channel
Selecting module, signal processing module, processor module and communication module can be realized through a sensor module interface, energy
Corresponding waveform is converted into the acceptable signal of processor by enough differences according to input signal, short-circuit, disconnected to judge
The Status Type on road, temperature sensor and electricity leakage sensor.With detection circuit is small, applicable multiple sensors and performance
The characteristics of reliable.
Description of the drawings
The attached drawing for forming the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.
In the accompanying drawings:
Fig. 1 is a kind of detection circuit principle schematic for being adapted to different sensors of the embodiment of the present invention;
Fig. 2 is a kind of judgment method flow diagram for being adapted to different sensors of the embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
In the description of the present invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " on ", " under ",
The orientation or position relationship of the instructions such as "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer " are
Based on orientation shown in the drawings or position relationship, it is for only for ease of the description present invention and simplifies description rather than instruction or dark
Show that signified device or element there must be specific orientation, with specific azimuth configuration and operation, therefore it is not intended that right
The limitation of the present invention.In addition, term " first ", " second " etc. are only used for description purpose, and it is not intended that instruction or hint phase
To importance or the implicit quantity for indicating indicated technical characteristic.The feature for defining " first ", " second " etc. as a result, can
To express or implicitly include one or more this feature.In the description of the present invention, unless otherwise indicated, " multiple "
It is meant that two or more.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or be integrally connected;It can
To be mechanical connection or be electrically connected;It can be directly connected, can also be indirectly connected by intermediary, Ke Yishi
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood by concrete condition
Concrete meaning in the present invention.
The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in Figure 1, a kind of detection circuit for being adapted to different sensors, including being sequentially connected sensor assembly, channel choosing
Select module, signal processing module, processor module and communication module;Channel selecting module connects voltage source module and electric current respectively
Source module;Processor module is connect with power supply module.
Voltage source module main function is the signal for receiving electricity leakage sensor, since electricity leakage sensor can be adopted itself
The signal of collection is converted into electric parameter, so needing electric parameter being transformed into the parameter that signal processing module can handle.
Current source module main function is the signal for receiving temperature sensor, since temperature sensor can be adopted itself
The signal of collection is converted into resistance value parameter, so detection circuit is needed to provide a constant-current source to measure the variation of resistance value, thus will
Temperature signal is converted into voltage signal parameter and is supplied to signal processing module to handle.
Channel selecting module main function is different for the type according to institute's belt sensor, and then different voltage is configured to it
Source or current source, to ensure that it can be worked normally.
Signal processing module, main function, can for the measurement parameter for the sensor assembly being collected into is handled
It is enough to be acquired and handled by processor module.
Power supply module, main function be by power conversion chip will exchange or high voltage direct current flat turn change place into
The level that reason device module uses, so as to which whole system be made to be able to maintain that normal work.
Communication module, main function are the processor die when parameter that detection circuit measures is higher than default value
Block can send out alarm signal, and host computer is transmitted to by communication module.
As shown in Figure 1, processor module is connect with human-computer interaction module.
Human-computer interaction module, main function is can help user to formulate corresponding decision logic by this module.
As shown in Figure 1, sensor assembly includes:Temperature sensor or electricity leakage sensor.
As shown in Figure 1, communication module connects host computer.
As shown in Figure 1, power supply module exports 3.3V level.
As shown in Fig. 2, a kind of judgment method for being adapted to different sensors, including:
Use a kind of detection circuit of above-mentioned adaptation different sensors:
Sensor assembly can be four kinds of possible equipment states:Off state, short-circuit condition, electricity leakage sensor state and temperature
Spend sensor states.Different types of signal during by above-mentioned four kinds of states is converted into unified standard signal and is transferred to processing
In device module, to obtain corresponding judging result, specific judgment method is as follows:
Step 1:Start to initialize:Processor module carries out power-up initializing and correlation to the hardware of this detection circuit first
Hardware check, the selection position of channel selecting module, which is in, at this time selects on voltage source module;
Step 2:Receive signal processing module data, processor module carries out the analyzing and processing of data;
Step 3:Judge whether voltage source module signal is effective;Judge whether the signal that signal processing module is sent is default
Particular value, if not pre-set value, then judge sensor assembly for temperature sensor;If pre-set value enters step 4;
Step 4:Channel selecting module change in location;The selection position of channel selecting module is made to be in current source module;
Step 5:Voltage source module signal judges;Judge whether the signal that signal processing module is sent is zero, if measuring shape
State is not zero, then sensor assembly is in short-circuit condition;If measuring state is zero, 6 are entered step;
Step 6:Judge whether the signal that signal processing module is sent is just infinite, if measuring state is not just infinite,
Sensor assembly is off state;If measuring state is just infinite, sensor assembly is electricity leakage sensor.
The foregoing is merely a prefered embodiment of the invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (6)
1. a kind of detection circuit for being adapted to different sensors, it is characterised in that:Including being sequentially connected sensor assembly, channel selecting
Module, signal processing module, processor module and communication module;The channel selecting module connects voltage source module and electricity respectively
Flow source module;The processor module is connect with power supply module.
2. a kind of detection circuit for being adapted to different sensors according to claim 1, it is characterised in that:The processor die
Block is connect with human-computer interaction module.
3. a kind of detection circuit for being adapted to different sensors according to claim 2, it is characterised in that:The sensor die
Block includes:Temperature sensor or electricity leakage sensor.
4. a kind of detection circuit for being adapted to different sensors according to claim 3, it is characterised in that:The communication module
Connect host computer.
5. a kind of detection circuit for being adapted to different sensors according to claim 4, it is characterised in that:The power supply
Module exports 3.3V level.
6. a kind of judgment method for being adapted to different sensors, it is characterised in that:Including:
Use a kind of detection circuit for being adapted to different sensors as claimed in claim 5:
Step 1:Start to initialize:Processor module carries out power-up initializing and related hardware to the hardware of this detection circuit first
Self-test, the selection position of channel selecting module, which is in, at this time selects on voltage source module;
Step 2:Receive signal processing module data, processor module carries out the analyzing and processing of data;
Step 3:Judge whether voltage source module signal is effective;Judge whether the signal that signal processing module is sent is default specific
Value, if not pre-set value, then judge sensor assembly for temperature sensor;If pre-set value enters step 4;
Step 4:Channel selecting module change in location;The selection position of channel selecting module is made to be in current source module;
Step 5:Voltage source module signal judges;Judge whether the signal that signal processing module is sent is zero, if measuring state is not
It is zero, then sensor assembly is in short-circuit condition;If measuring state is zero, 6 are entered step;
Step 6:Judge whether the signal that signal processing module is sent is just infinite, if measuring state is not just infinite, is sensed
Device module is off state;If measuring state is just infinite, sensor assembly is electricity leakage sensor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711462690.2A CN108254009A (en) | 2017-12-28 | 2017-12-28 | A kind of detection circuit and judgment method for being adapted to different sensors |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711462690.2A CN108254009A (en) | 2017-12-28 | 2017-12-28 | A kind of detection circuit and judgment method for being adapted to different sensors |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108254009A true CN108254009A (en) | 2018-07-06 |
Family
ID=62723293
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711462690.2A Pending CN108254009A (en) | 2017-12-28 | 2017-12-28 | A kind of detection circuit and judgment method for being adapted to different sensors |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108254009A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110660188A (en) * | 2019-09-30 | 2020-01-07 | 四川赛科安全技术有限公司 | Temperature and residual current mixed detection and identification method for electrical fire detector |
| CN112179953A (en) * | 2020-09-26 | 2021-01-05 | 国网山东省电力公司电力科学研究院 | Multi-mode online monitoring device and method for insulator dirt accumulation amount |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB221454A (en) * | 1923-03-12 | 1924-09-12 | Charles Adams Simpson | Improvements in fire alarms |
| CN201707753U (en) * | 2010-06-18 | 2011-01-12 | 上海安科瑞电气股份有限公司 | Combined-type electrical fire monitoring detector of residual current and temperature |
| CN103413394A (en) * | 2013-02-06 | 2013-11-27 | 陕西富集电力科技股份有限公司 | Fire protection detection device |
| CN103791944A (en) * | 2012-11-02 | 2014-05-14 | 上海微电子装备有限公司 | High-precision general measurement device |
| CN105244841A (en) * | 2015-11-12 | 2016-01-13 | 杭州电子科技大学 | CAN-based electric fire monitoring device |
-
2017
- 2017-12-28 CN CN201711462690.2A patent/CN108254009A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB221454A (en) * | 1923-03-12 | 1924-09-12 | Charles Adams Simpson | Improvements in fire alarms |
| CN201707753U (en) * | 2010-06-18 | 2011-01-12 | 上海安科瑞电气股份有限公司 | Combined-type electrical fire monitoring detector of residual current and temperature |
| CN103791944A (en) * | 2012-11-02 | 2014-05-14 | 上海微电子装备有限公司 | High-precision general measurement device |
| CN103413394A (en) * | 2013-02-06 | 2013-11-27 | 陕西富集电力科技股份有限公司 | Fire protection detection device |
| CN105244841A (en) * | 2015-11-12 | 2016-01-13 | 杭州电子科技大学 | CAN-based electric fire monitoring device |
Non-Patent Citations (1)
| Title |
|---|
| 肖菊: "基于dsPIC30F3014的漏电火灾报警监测器设计", 《建材技术与应用》 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110660188A (en) * | 2019-09-30 | 2020-01-07 | 四川赛科安全技术有限公司 | Temperature and residual current mixed detection and identification method for electrical fire detector |
| CN110660188B (en) * | 2019-09-30 | 2021-07-23 | 四川赛科安全技术有限公司 | Temperature and residual current mixed detection and identification method for electrical fire detector |
| CN112179953A (en) * | 2020-09-26 | 2021-01-05 | 国网山东省电力公司电力科学研究院 | Multi-mode online monitoring device and method for insulator dirt accumulation amount |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102970051B (en) | Anti-interference wireless communication system | |
| CN206573680U (en) | A kind of multi-channel circuit test device | |
| CN109066888A (en) | A kind of charging control circuit and electronic product with temperature protection | |
| CN204156226U (en) | A kind of smart jack | |
| CN107064682A (en) | Assembly detection apparatus | |
| CN208921322U (en) | A kind of charging pins multiplex circuit and wearable device | |
| WO2016058443A1 (en) | Secure smart socket | |
| CN106774239B (en) | A kind of Portable engineering vehicle vehicle-mounted ECU detection device | |
| CN107797076A (en) | A kind of automobile batteries Current Voltage detection device based on isolation coupling device | |
| CN105172612A (en) | Detection apparatus for battery charging outfit connection status and electric automobile | |
| CN207557390U (en) | MBUS bus short circuit detection circuits | |
| CN105182270A (en) | Device and method of electric energy meter voltage-withstand test | |
| CN208421767U (en) | Electronic equipment and its self-consumption control circuit | |
| CN215375738U (en) | Wire harness detection device and wire harness detection system | |
| CN205829654U (en) | Power equipment communication test instrument | |
| CN203984098U (en) | A kind of device for quick testing of powerline network | |
| CN203673037U (en) | Automatic circuit board detection tool of intelligent electric energy meter | |
| CN203519712U (en) | Battery voltage acquisition system | |
| CN207623443U (en) | A kind of ICP sensor states detection circuit | |
| CN207588428U (en) | A kind of power-off automatic protection circuit | |
| CN206303789U (en) | A kind of multi-functional food processor | |
| CN214041607U (en) | Detection circuit and device | |
| CN205059304U (en) | Detection apparatus for battery charging outfit connection status and electric automobile | |
| CN212905409U (en) | A kind of electric power automatic calibration device and its system | |
| CN104482966B (en) | Modularized building energy consumption detector |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180706 |