CN102269804A - Method and device for detecting switching value detector - Google Patents
Method and device for detecting switching value detector Download PDFInfo
- Publication number
- CN102269804A CN102269804A CN2010106201684A CN201010620168A CN102269804A CN 102269804 A CN102269804 A CN 102269804A CN 2010106201684 A CN2010106201684 A CN 2010106201684A CN 201010620168 A CN201010620168 A CN 201010620168A CN 102269804 A CN102269804 A CN 102269804A
- Authority
- CN
- China
- Prior art keywords
- switching value
- value detector
- state
- signal
- described switching
- 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
Images
Landscapes
- Electronic Switches (AREA)
Abstract
The invention discloses a method and device for detecting a switching value detector, wherein the method for detecting the switching value detector comprises the following steps: outputting a first signal and a second signal when the normal working state of the switching value detector is detected, wherein the first signal and the second signal are used for indicating that the switching value detector is in a first state and a second state respectively and the normal working state comprises the first state and the second state; and outputting a third signal when the failure state of the switching value detector is detected, wherein the third signal is used for indicating that the switching value detector is in a failure state. By adopting the method and the device, the detection accuracy of the switching value detector can be improved.
Description
Technical field
The present invention relates to detection range, in particular to a kind of detection method and device of switching value detector.
Background technology
In the prior art, the switching value detector all is signal collecting device usually and converts the physical quantity of gathering to electric signal and transfer out.The switching value detector all is to have only two states: switch closure, switch opens, i.e. the conducting of electric signal, two kinds of signal types open circuit.If but to open circuit between switching value detector and the signal receive section, this opening circuit is not that the switching value detector is in the switch opens state, but opens circuit owing to connectivity faults such as cable fault cause.This fault can cause switching value to disconnect.This situation will cause the on off state of the electrical equipment false judgment switching value detector of receiving key amount signal, causes misoperation.
Not accurate enough problem is judged in detection at switching value detector in the correlation technique, does not propose effective solution at present as yet.
Summary of the invention
Judge not accurate enough problem and propose the present invention that at the detection of switching value detector in the correlation technique for this reason, fundamental purpose of the present invention is to provide a kind of detection method and device of switching value detector, to address the above problem.
To achieve these goals, according to an aspect of the present invention, provide a kind of detection method of switching value detector.The detection method of this switching value detector comprises: when detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state; When detecting described switching value detector and be in malfunction, export the 3rd signal, wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction.
Further, described switching value detector is in described first state and is: described switching value detector is in the switch opens state; Described switching value detector is in described second state: described switching value detector is in switch closed condition.
Further, described switching value detector is in described first state and is: the conducting of electric signal; Described switching value detector is in described second state: the short circuit of electric signal.
Further, export described first signal and described secondary signal and comprise: when described switching value detector is in described first state, produce first voltage; When described switching value detector is in described second state, produce second voltage.
Further, the R2/ (R1+R2) that described second voltage is described first voltage times, wherein, R1 is the resistance of first resistance in the described switching value detector, and R2 is the resistance of second resistance in the described switching value detector.
To achieve these goals, according to a further aspect in the invention, provide a kind of pick-up unit of switching value detector.The pick-up unit of this switching value detector comprises: first output module, be used for when detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state; Second output module is used for exporting the 3rd signal when detecting described switching value detector and be in malfunction, and wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction.
Further, described switching value detector is in described first state and is: described switching value detector is in the switch opens state; Described switching value detector is in described second state: described switching value detector is in switch closed condition.
To achieve these goals, according to a further aspect in the invention, provide a kind of pick-up unit of switching value detector.The pick-up unit of this switching value detector comprises: power supply; First resistance, first end is connected to first end of the described power supply and first switch respectively via first node, wherein, described first switch is the internal switch of described switching value detector, and second end is connected to second end and the microprocessor of described first switch respectively via Section Point; Second resistance, be connected in the 3rd node between described Section Point and the described microprocessor, first end is connected in the 3rd node between described Section Point and the described microprocessor, the second end ground connection, wherein, the first terminal of described switching value detector is connected between described first node and the described power supply, and second terminal of described switching value detector is connected between described Section Point and described the 3rd node.
By the present invention, employing is when detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state; When detecting described switching value detector and be in malfunction, export the 3rd signal, wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction, solve the not accurate enough problem of detection judgement of switching value detector in the correlation technique, and then reached the effect that improves the detection accuracy of switching value detector.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram according to the detection method of the switching value detector of the embodiment of the invention;
Fig. 2 is the synoptic diagram according to the pick-up unit of the switching value detector of first preferred embodiment of the invention; And
Fig. 3 is the synoptic diagram according to the pick-up unit of the switching value detector of second preferred embodiment of the invention.
Embodiment
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 is the process flow diagram according to the detection method of the switching value detector of the embodiment of the invention.
As shown in Figure 1, this method comprises following step:
Step S102, when detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state;
Step S104 when detecting described switching value detector and be in malfunction, exports the 3rd signal, and wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction.
The switching value detector can be changed into three semaphore outputs by the technical scheme that is suitable for present embodiment, whether the equipment that is received can be judged the switching value detector and connect normally, whether produce the fault that opens circuit.
Preferably, described switching value detector is in described first state and is: described switching value detector is in the switch opens state; Described switching value detector is in described second state: described switching value detector is in switch closed condition.
Preferably, described switching value detector is in described first state and is: the conducting of electric signal; Described switching value detector is in described second state: the short circuit of electric signal.
Preferably, export described first signal and described secondary signal and comprise: when described switching value detector is in described first state, produce first voltage; When described switching value detector is in described second state, produce second voltage.
Preferably, the R2/ (R1+R2) that described second voltage is described first voltage times, wherein, R1 is the resistance of first resistance in the described switching value detector, and R2 is the resistance of second resistance in the described switching value detector.
Need to prove, can in computer system, carry out in the step shown in the process flow diagram of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
The embodiment of the invention also provides a kind of pick-up unit of switching value detector.
Fig. 2 is the synoptic diagram according to the pick-up unit of the switching value detector of first preferred embodiment of the invention.
As shown in Figure 2, the pick-up unit of this switching value detector comprises: first output module, be used for when detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state; Second output module is used for exporting the 3rd signal when detecting described switching value detector and be in malfunction, and wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction.
Preferably, described switching value detector is in described first state and is: described switching value detector is in the switch opens state; Described switching value detector is in described second state: described switching value detector is in switch closed condition.
Alternatively, the embodiment of the invention also provides a kind of pick-up unit of switching value detector.
The pick-up unit of this switching value detector comprises: power supply; First resistance, first end is connected to first end of the described power supply and first switch respectively via first node, wherein, described first switch is the internal switch of described switching value detector, and second end is connected to second end and the microprocessor of described first switch respectively via Section Point; Second resistance, be connected in the 3rd node between described Section Point and the described microprocessor, wherein, the first terminal of described switching value detector is connected between described first node and the described power supply, and second terminal of described switching value detector is connected between described Section Point and described the 3rd node.
Be described below in conjunction with the preferred embodiment of accompanying drawing the pick-up unit of switching value detector of the present invention.
Fig. 3 is the synoptic diagram according to the pick-up unit of the switching value detector of second preferred embodiment of the invention.
R1 among the figure, R2 are resistance, and K1 is the switching value detector, and S1 is the internal switch of switching value detector, and A, B are the terminal of switching value detector, the signal of MCU receiving key two detectors.
Present embodiment is from circuit the switching value detector to be transformed, and can export two signal messages when making switching value detector operate as normal, produces a failure message when breaking down, thereby realizes that the switch amount detector connects the method that fault is advanced to detect.
Switching value detector K1 is produced the signal collecting device of switching value signal by internal switch for output.This kind equipment is gathered physical signalling, and judges that by internal mechanism the switch S 1 of switching value detector K1 self should still disconnect in conducting.The signal of output was the same with the signal that the connecting circuit open circuit fault takes place when switching value detector K1 internal switch disconnected.Therefore the switching value detector MCU that sends the receiving end of signal just can't judge whether to connect well.
Therefore, increasing R1 between switching value detector K1 and connection terminal A, B, is that R1, R2 constitute a loop.This loop is when switching value detector operate as normal, and electric current flows through from R1, R2, is that R1 produces the voltage dividing potential drop when switch S 1 disconnects.Make Vc voltage when switching value detector operate as normal, disconnect and closure state under produce Vcc respectively, (the voltage of R2 * Vcc)/(R1+R2).Produce the voltage of 0V when making Vc voltage between switching value detector and receiver, occur opening circuit.The circuit that does not have R1 is then when switching value detector operate as normal, produce Vcc respectively under disconnection and the closure state, the voltage of 0V, also can produce the voltage of 0V when occurring opening circuit between switching value detector and receiver, the circuit that does not therefore increase R1 can't judge whether the switching value detector is connected to the connection between the receiver.
The pressure switch that detection, the especially medical gas of the connection fault of the switching value detector of the various usefulness that are used to survey physical state that the technical scheme of the embodiment of the invention can be applied to all trades and professions switches the clack box observation circuit connects the detection of break-make to the circuit of single-chip microcomputer.
As can be seen from the above description, the present invention can improve the detection accuracy of switching value detector.Further, the present invention not only can remedy the switching value detector and only export two kinds of signal types, is connected whether correct shortcoming with the circuit of its signal receiving end and can't distinguish the switching value detector, and can avoids breaking and misoperation owing to the switching value detector causes the erroneous judgement of equipment when being connected fault with signal receiving end from electric signal.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. the detection method of a switching value detector is characterized in that, comprising:
When detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state; And
When detecting described switching value detector and be in malfunction, export the 3rd signal, wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction.
2. the detection method of switching value detector according to claim 1 is characterized in that,
Described switching value detector is in described first state: described switching value detector is in the switch opens state;
Described switching value detector is in described second state: described switching value detector is in switch closed condition.
3. the detection method of switching value detector according to claim 1 is characterized in that,
Described switching value detector is in described first state: the conducting of electric signal;
Described switching value detector is in described second state: the short circuit of electric signal.
4. the detection method of switching value detector according to claim 1 is characterized in that, exports described first signal and described secondary signal and comprises:
When described switching value detector is in described first state, produce first voltage;
When described switching value detector is in described second state, produce second voltage.
5. the detection method of switching value detector according to claim 4, it is characterized in that, the R2/ (R1+R2) that described second voltage is described first voltage times, wherein, R1 is the resistance of first resistance in the described switching value detector, and R2 is the resistance of second resistance in the described switching value detector.
6. the pick-up unit of a switching value detector is characterized in that, comprising:
First output module, be used for when detecting the switching value detector and be in normal operating conditions, export first signal and secondary signal, wherein, described first signal and described secondary signal are respectively applied for the described switching value detector of indication and are in first state and second state, and described normal operating conditions comprises described first state and described second state; And
Second output module is used for exporting the 3rd signal when detecting described switching value detector and be in malfunction, and wherein, described the 3rd signal is used to indicate described switching value detector to be in malfunction.
7. the pick-up unit of switching value detector according to claim 6 is characterized in that,
Described switching value detector is in described first state: described switching value detector is in the switch opens state;
Described switching value detector is in described second state: described switching value detector is in switch closed condition.
8. the pick-up unit of a switching value detector is characterized in that, comprising:
Power supply;
First resistance, first end is connected to first end of the described power supply and first switch respectively via first node, wherein, described first switch is the internal switch of described switching value detector, and second end is connected to second end and the microprocessor of described first switch respectively via Section Point; And
Second resistance, first end are connected in the 3rd node between described Section Point and the described microprocessor, the second end ground connection,
Wherein, the first terminal of described switching value detector is connected between described first node and the described power supply, and second terminal of described switching value detector is connected between described Section Point and described the 3rd node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106201684A CN102269804A (en) | 2010-12-31 | 2010-12-31 | Method and device for detecting switching value detector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106201684A CN102269804A (en) | 2010-12-31 | 2010-12-31 | Method and device for detecting switching value detector |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102269804A true CN102269804A (en) | 2011-12-07 |
Family
ID=45052162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106201684A Pending CN102269804A (en) | 2010-12-31 | 2010-12-31 | Method and device for detecting switching value detector |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102269804A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104502683A (en) * | 2014-12-31 | 2015-04-08 | 武汉华中数控股份有限公司 | Switch quantity signal detection method and detection circuit |
CN105067996A (en) * | 2015-07-27 | 2015-11-18 | 南京科远自动化集团股份有限公司 | Toggle switch detection method and detection system |
CN105203146A (en) * | 2015-09-23 | 2015-12-30 | 浪潮集团有限公司 | Sensor interconnection device and sensor detection system and method |
CN113390452A (en) * | 2021-06-16 | 2021-09-14 | 北京康斯特仪表科技股份有限公司 | Method and device for calibrating switch type instrument |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2543152Y (en) * | 2002-04-30 | 2003-04-02 | 黄世旺 | Automatic detector for state of alarm sensor cable |
CN1560997A (en) * | 2004-03-09 | 2005-01-05 | 国电南京自动化股份有限公司 | Module for judging D.C. voltage switching quantitative input state |
CN201028573Y (en) * | 2007-04-10 | 2008-02-27 | 上海神明控制工程有限公司 | Split type flame detecting device |
JP4056863B2 (en) * | 2002-11-26 | 2008-03-05 | 本田技研工業株式会社 | Fault detection device for voltage detection circuit |
CN201233253Y (en) * | 2008-07-31 | 2009-05-06 | 上海宝钢设备检修有限公司 | Switching value sensor operating status detection circuit for lifting apparatus |
-
2010
- 2010-12-31 CN CN2010106201684A patent/CN102269804A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2543152Y (en) * | 2002-04-30 | 2003-04-02 | 黄世旺 | Automatic detector for state of alarm sensor cable |
JP4056863B2 (en) * | 2002-11-26 | 2008-03-05 | 本田技研工業株式会社 | Fault detection device for voltage detection circuit |
CN1560997A (en) * | 2004-03-09 | 2005-01-05 | 国电南京自动化股份有限公司 | Module for judging D.C. voltage switching quantitative input state |
CN201028573Y (en) * | 2007-04-10 | 2008-02-27 | 上海神明控制工程有限公司 | Split type flame detecting device |
CN201233253Y (en) * | 2008-07-31 | 2009-05-06 | 上海宝钢设备检修有限公司 | Switching value sensor operating status detection circuit for lifting apparatus |
Non-Patent Citations (1)
Title |
---|
张恒毅等: "开关量传感器电气接口及与PLC模块的电气连接", 《制造业自动化》, vol. 31, no. 7, 31 July 2009 (2009-07-31) * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104502683A (en) * | 2014-12-31 | 2015-04-08 | 武汉华中数控股份有限公司 | Switch quantity signal detection method and detection circuit |
CN105067996A (en) * | 2015-07-27 | 2015-11-18 | 南京科远自动化集团股份有限公司 | Toggle switch detection method and detection system |
CN105067996B (en) * | 2015-07-27 | 2017-09-05 | 南京科远自动化集团股份有限公司 | The detection method and detecting system of a kind of toggle switch |
CN105203146A (en) * | 2015-09-23 | 2015-12-30 | 浪潮集团有限公司 | Sensor interconnection device and sensor detection system and method |
CN113390452A (en) * | 2021-06-16 | 2021-09-14 | 北京康斯特仪表科技股份有限公司 | Method and device for calibrating switch type instrument |
CN113390452B (en) * | 2021-06-16 | 2023-08-18 | 北京康斯特仪表科技股份有限公司 | Method and device for calibrating switch type instrument |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105429226B (en) | Large capacity charge-discharge battery manages system | |
CN102089667B (en) | Method and device for supervising secondary circuit of instrument transformer in power system | |
CN102970029A (en) | High-safety digital quantity signal acquisition circuit | |
CN201829385U (en) | Press switch with diagnosis function and press key switch device | |
CN102970012B (en) | On-off output module with diagnosing function | |
CN101738568A (en) | Distributed DC ground fault detector | |
CN207232324U (en) | A kind of fault diagnosis circuit of low side driving | |
CN100561814C (en) | Protecting circuit for electrical equipment | |
JP6612868B2 (en) | Load side voltage detection for utility meters | |
CN201528224U (en) | High-tension line electrified detecting and locking device | |
CN102269804A (en) | Method and device for detecting switching value detector | |
CN106655145A (en) | Battery bus voltage reverse connection protection circuit | |
CN104635102A (en) | Electronic component detection device and detection method thereof | |
CN104655907B (en) | Battery pack voltage check device | |
CN201302604Y (en) | Distributed direct current earthing failure testing device | |
CN101557094B (en) | Disconnection auto-action or alarm circuit of external residual current transformer | |
CN102788925B (en) | Fault detection system of communication circuit | |
CN212586508U (en) | Switch detection circuit and vehicle | |
CN108519541A (en) | A kind of detection circuit and detection device | |
CN110286317B (en) | Diagnostic circuit and method of battery system | |
CN201315471Y (en) | High-voltage live displaying and locking device | |
CN202502139U (en) | High-voltage charged display device | |
CN105187049B (en) | The dynamic acquisition circuit of fault-safety principle and the device of fault-safety principle | |
CN213181884U (en) | Fault detection device | |
CN211826422U (en) | Diagnostic circuit for ground wire fault of insulating equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20111207 |