CN105404198A - On-off input loop self-checking circuit based on pulse injection method - Google Patents
On-off input loop self-checking circuit based on pulse injection method Download PDFInfo
- Publication number
- CN105404198A CN105404198A CN201510731627.9A CN201510731627A CN105404198A CN 105404198 A CN105404198 A CN 105404198A CN 201510731627 A CN201510731627 A CN 201510731627A CN 105404198 A CN105404198 A CN 105404198A
- Authority
- CN
- China
- Prior art keywords
- self
- resistance
- optocoupler
- signal
- loop
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
- G05B19/0425—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2612—Data acquisition interface
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Testing Electric Properties And Detecting Electric Faults (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
Disclosed is an on-off input loop self-checking circuit based on a pulse injection method. A spike self-checking pulse is generated through control of an IO pin of a CPU and is injected to an on-off input loop, and, after the spike self-checking pulse goes through an optical coupler, the spike self-checking pulse is acquired by an ADC analog-to-digital conversion pin of the CPU and is judged; the IO pin of the CPU is connected with an input end of the optical coupler, an output end of the optical coupler is connected with an input end of an optical MOS tube, a source electrode of the optical MOS tube is connected with a common anode of a power supply, a drain electrode of the optical MOS tube is connected with one end of a safety capacitor, and the other end of the safety capacitor is accessed into the on-off input loop. After a spike self-checking pulse signal generated due to drive of the IO pin of the CPU is injected to the on-off input loop, the ADC analog-to-digital conversion pin of the CPU acquires a waveform of a secondary side of the optical coupler, processing, analyses and comparison are performed, and then a self-checking judgment for integrity of the on-off input loop is achieved; and a self-checking mode can be applied no matter an on-off signal is in any state, and the self-checking loop has the extremely high isolation capability and reliability.
Description
Technical field
The invention belongs to technical field of power systems; relate to based on impulses injection method On-off signal loop self-checking circuit and use the device of the method, be particularly useful in power system transformer substation robotization and industrial control automation field, need On-off signal collection and input circuit self-inspection protecting control and automation equipment.
Background technology
In power system transformer substation robotization and industrial control automation device, On-off signal acquisition circuit is set usually to obtain the state of some important numbers semaphore, for follow-up protecting control operation provides necessary foundation.For the realization of opening entry loop, normally utilize the former limit of the electrical energy drive input circuit optocoupler opened into signal, by pull-up resistor, the state change of opening into signal is converted to voltage signal in optical coupling secondary edges, carried out the differentiation of voltage signal again by the relevant interface of CPU, thus pick out external digital amount signal condition.The accurate recognition split into signal condition is the important prerequisite realizing protection system controlling functions; simultaneously; the mistake of splitting into state differentiates it is also one of major reason that protection misoperation occurs; wanting to guarantee correct decision opens into signal condition; whether normally opening entry loop itself is a primary prerequisite, is also just necessary constantly to carry out self-inspection judgement to it.
Conventional open into acquisition circuit self checking method as shown in Figure 1, form self-inspection input circuit by D1 and R2 and self-inspection is carried out to the On-off signal loop that R1, R3, R4, C1, D2 and O1 form, conventional method is all directly with an electrical connection form self-inspection input circuit in parallel in input circuit, controlled to provide a self-inspection square-wave pulse signal by the I/O port of CPU, and then via the cpu data collection port opening entry loop, this self-test signal is identified.
The above-mentioned device opened into acquisition circuit self checking method is adopted to there are two typical problems:
● self-inspection input circuit does not have effective electrical isolation into acquisition circuit with opening, and is easy to cause self-inspection loop to be damaged, and then causes normally to realize self-checking function by opening the undesired signal that entry loop introduces.
● the self-test signal exported by CPUIO mouth is a kind of square-wave signal, easily and normally opens and causes self-inspection judge by accident or open into misoperation into blurring.
Summary of the invention
The object of the invention is: gather normally and under the prerequisite that judges, split entry loop and carry out online self-inspection in real time not affecting On-off signal signal, and height isolation and the high reliability in self-inspection loop will be ensured.
The technical solution used in the present invention is:
Based on an On-off signal loop self-checking circuit for impulses injection method, comprise self-test signal infusion circuit and On-off signal loop; It is characterized in that:
The I/O pin of CPU exports a spike self-inspection pulse signal, and by the input end of described self-test signal infusion circuit by described spike self-inspection pulse signal insertion switch amount input circuit, this spike self-inspection pulse signal after the optocoupler output terminal in On-off signal loop, by produce spike self-inspection pulse signal same CPU the pin collection of ADC analog to digital conversion and this spike self-inspection pulse signal is identified thus judges that whether On-off signal loop normal.
Wherein, described self-test signal infusion circuit comprises the first optocoupler O1, light metal-oxide-semiconductor T1, safety electric capacity C1; The I/O pin of CPU connects the input end of the first optocoupler O1, the output terminal of the first optocoupler O1 connects the input end of light metal-oxide-semiconductor T1, the public positive pole of the source electrode connection power supply of light metal-oxide-semiconductor T1 is opened into power supply, the drain electrode of light metal-oxide-semiconductor connects one end of high-voltage safety electric capacity C1, the other end access On-off signal loop of safety electric capacity C1.
Self-test signal injection circuit also comprises resistance R1, R2, R3, and wherein, resistance R1 is connected to the first optocoupler O1 and inputs between anode and power supply 3.3V, and the described first optocoupler O1 of spike self-inspection pulse signal access that the I/O pin of described CPU produces inputs negative terminal; Between the input negative terminal that resistance R2 is connected to light metal-oxide-semiconductor T1 and-24V, the output terminal of the O1 of first optocoupler is connected with the input anode of light metal-oxide-semiconductor T1; Resistance R3 is connected to the output negative terminal of light metal-oxide-semiconductor and opens between power supply ground, and the output plus terminal of light metal-oxide-semiconductor T1 is connected into power supply with opening.
On-off signal loop comprises the second optocoupler O2, resistance R4, resistance R5, resistance R6, resistance R7; Open and be connected with the input anode of the second optocoupler O2 into signal resistance R4, R5 through being connected in series, between spike self-inspection pulse signal access resistance R4 and resistance R5 from self-test signal infusion circuit, resistance R6 be connected with one end after the series connection of resistance R7 open into power supply ground, the other end connects the input negative terminal of the second optocoupler O2; The output plus terminal of the second optocoupler O2 connects power supply 3.3V, and the output negative terminal of the second optocoupler O2 connects the ADC analog to digital conversion pin of CPU.
Described On-off signal loop also comprises resistance R8, electric capacity C2, electric capacity C4, diode D1; Electric capacity C2, diode D1 between the input positive and negative terminal being connected in the second optocoupler O2; Parallel resistance R8 and electric capacity C4 between the output terminal of the second optocoupler O2 and acquisition system power supply ground.
Realized the injection of self-inspection pulse signal by high-voltage safety electric capacity, for normal switch acquisition loop, be only equivalent to a pulse burr, be easy to distinguish with normal on-off model; Even if self-checking circuit breaks down, the impact of CPU on normal on-off model collection and judgement also can be reduced to greatest extent.
The self-inspection waveform that the On-off signal loop optical coupling secondary edges at every turn collected exports is stored and contrasts judgement, thus judges the integrity in On-off signal loop.
Beneficial effect of the present invention: when the present invention can be implemented in and do not affect the collection of normal on-off model, splits entry loop and carries out online self-inspection in real time; Self-inspection loop can also be ensured and open the high isolation between entry loop simultaneously, make can not produce mutual interference therebetween, especially can also ensure the normal use not affecting out entry loop when self-inspection loop is damaged.
Accompanying drawing explanation
Fig. 1 is the self-inspection of usual manner and opens the schematic diagram of entry loop;
Fig. 2 is the self-test signal infusion circuit in the self-checking circuit of On-off signal loop of the present invention;
Fig. 3 is the On-off signal loop of On-off signal loop of the present invention self-checking circuit.
Embodiment
Below in conjunction with accompanying drawing 2,3 and embodiment, technical scheme of the present invention is described in further detail.
Be different from the self-test signal that routine opens into self-inspection loop and open the mode of entry loop to be electrically connected directly access, self-test signal infusion circuit in the On-off signal loop self-checking circuit of the inventive method as shown in Figure 2, the input end of optocoupler O1 is connected by the I/O pin of CPU, the output terminal of optocoupler O1 connects the input end of light metal-oxide-semiconductor T1, the public positive pole of the source electrode connection power supply of light metal-oxide-semiconductor T1 is opened into power supply, the drain electrode of light metal-oxide-semiconductor T1 connects one end of safety electric capacity C1, self-test signal infusion circuit is formed between the resistance R4 in the other end access On-off signal loop of safety electric capacity C1 and resistance R5, and form driving circuit by optocoupler O1 and metal-oxide-semiconductor T1, produce square wave by the I/O port of CPU and control the conducting of light metal-oxide-semiconductor and closing control is opened into power supply thus produces a conducting square wave wave mode, the negative edge of the rising edge that this waveform is initial and termination produces one by safety electric capacity C1 at the incoming end opening entry loop certain hour width spike self-test signal, finally gathered by the ADC analog to digital conversion pin of CPU via opening entry loop and identify again.Self-test signal injection circuit also comprises resistance R1, R2, R3, and wherein, resistance R1 is connected to the first optocoupler O1 and inputs between anode and power supply 3.3V, and the described first optocoupler O1 of spike self-inspection pulse signal access that the I/O pin of described CPU produces inputs negative terminal; Between the input negative terminal that resistance R2 is connected to light metal-oxide-semiconductor T1 and-24V, the output terminal of the O1 of first optocoupler is connected with the input anode of light metal-oxide-semiconductor T1; Resistance R3 is connected to the output negative terminal of light metal-oxide-semiconductor and opens between power supply ground, and the output plus terminal of light metal-oxide-semiconductor T1 is connected into power supply with opening.
The On-off signal loop of On-off signal loop of the present invention self-checking circuit as shown in Figure 3, the one end into signal contact resistance R4 is opened in On-off signal loop, one end of the other end contact resistance R5 of resistance R4, the other end and the optocoupler O2 of resistance R5 input anode and are connected, the input negative terminal of optocoupler O2 is connected with one end of resistance R7, the other end of resistance R7 is connected with one end of resistance R6, the other end of resistance R6 connects to be opened into power supply ground, the output plus terminal of optocoupler O2 connects acquisition system power supply 3.3V, the output negative terminal of optocoupler O2 connects the analog acquisition passage of CPU, in order to ensure that On-off signal loop has certain antijamming capability to add electric capacity C2 and the diode D1 of the parallel connection of optocoupler O2 input end, the stable electric capacity C3 adding parallel connection between acquisition system power supply 3.3V and system power supply simultaneously in order to ensure that optical coupling secondary edges outputs signal, the annexation of optocoupler connection CPU analog acquisition passage adds anti-interference capacitor C4 and pull down resistor R8.
The spike produced by self-test signal infusion circuit injects On-off signal loop by safety electric capacity C1 between resistance R4 and resistance R5; safety electric capacity C1 serves the signal of isolating lower frequency can only by the effect of higher frequency signals; can effectively reduce influencing each other between impulses injection loop and on-off model input circuit like this, be conducive to the respective circuit of protection and make it not easily damaged.
The pulse of injecting passes through optocoupler O2 linear transform to secondary output terminal.The optical coupling secondary edges output terminal opening entry loop receives the ADC analog to digital conversion pin of CPU, CPU can gather via the output waveform after optocoupler spike self-inspection waveform during each self-inspection, the spike self-inspection waveform collected, the level signal waveform continued with normal switching value has very large difference, be easy to distinguish with normal on-off model, CPU can judge to have received spike self-inspection waveform accurately, by comparing to the spike self-inspection waveform received and the waveform stored before, if similarity is in scope, represent that peripheral electrical circuit does not have device function abnormal, thus realize the integrality of switch amount input circuit and the self-inspection arbitration functions of correctness.On-line self-diagnosis can be carried out to the on-off model input circuit on device veneer regularly in real time by this kind of method, the normal operation of device itself can not be affected on the one hand, self-inspection loop can also be avoided on the other hand to be made normally to carry out self-inspection because opening entry loop undesired signal and causing damage.
The above is only a kind of embodiment of invention; be noted that for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvement and adjustment, these improve and adjustment all should be considered as protection scope of the present invention.
Claims (5)
1., based on an On-off signal loop self-checking circuit for impulses injection method, comprise self-test signal infusion circuit and On-off signal loop; It is characterized in that:
The I/O pin of CPU exports a spike self-inspection pulse signal, and by the input end of described self-test signal infusion circuit by described spike self-inspection pulse signal insertion switch amount input circuit, this spike self-inspection pulse signal after the optocoupler output terminal in On-off signal loop, by produce spike self-inspection pulse signal described CPU the pin collection of ADC analog to digital conversion and this spike self-inspection pulse signal is identified thus judges that whether On-off signal loop normal.
2. On-off signal loop according to claim 1 self-checking circuit, is characterized in that:
Described self-test signal infusion circuit comprises the first optocoupler O1, light metal-oxide-semiconductor T1, safety electric capacity C1; The I/O pin of CPU connects the input end of the first optocoupler O1, the output terminal of the first optocoupler O1 connects the input end of light metal-oxide-semiconductor T1, the public positive pole of the source electrode connection power supply of light metal-oxide-semiconductor T1 is opened into power supply, the drain electrode of light metal-oxide-semiconductor connects one end of safety electric capacity C1, the other end access On-off signal loop of safety electric capacity C1.
3. On-off signal loop according to claim 2 self-checking circuit, is characterized in that:
Self-test signal injection circuit also comprises resistance R1, resistance R2, resistance R3, wherein, resistance R1 is connected to the first optocoupler O1 and inputs between anode and power supply 3.3V, and the described first optocoupler O1 of spike self-inspection pulse signal access that the I/O pin of described CPU produces inputs negative terminal; Between the input negative terminal that resistance R2 is connected to light metal-oxide-semiconductor T1 and-24V, the output terminal of the O1 of first optocoupler is connected with the input anode of light metal-oxide-semiconductor T1; Resistance R3 is connected to the output negative terminal of light metal-oxide-semiconductor and opens between power supply ground, and the output plus terminal of light metal-oxide-semiconductor T1 is connected into power supply with opening.
4. the On-off signal loop self-checking circuit according to the arbitrary claim of claim 1-3, is characterized in that:
On-off signal loop comprises the second optocoupler O2, resistance R4, resistance R5, resistance R6, resistance R7; Open and be connected with the input anode of the second optocoupler O2 into signal resistance R4, R5 through being connected in series, between spike self-inspection pulse signal access resistance R4 and resistance R5 from self-test signal infusion circuit, resistance R6 be connected with one end after the series connection of resistance R7 open into power supply ground, the other end connects the input negative terminal of the second optocoupler O2; The output plus terminal of the second optocoupler O2 connects power supply 3.3V, and the output negative terminal of the second optocoupler O2 connects the ADC analog to digital conversion pin of CPU.
5. the On-off signal loop self-checking circuit according to the arbitrary claim of claim 1-4, is characterized in that:
Described On-off signal loop also comprises resistance R8, electric capacity C2, electric capacity C4, diode D1; Electric capacity C2, diode D1 between the input positive and negative terminal being connected in the second optocoupler O2; Parallel resistance R8 and electric capacity C4 between the output terminal of the second optocoupler O2 and acquisition system power supply ground.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510731627.9A CN105404198B (en) | 2015-11-02 | 2015-11-02 | On-off signal loop self-checking circuit based on impulses injection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510731627.9A CN105404198B (en) | 2015-11-02 | 2015-11-02 | On-off signal loop self-checking circuit based on impulses injection method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105404198A true CN105404198A (en) | 2016-03-16 |
CN105404198B CN105404198B (en) | 2018-01-23 |
Family
ID=55469746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510731627.9A Active CN105404198B (en) | 2015-11-02 | 2015-11-02 | On-off signal loop self-checking circuit based on impulses injection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105404198B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105404199A (en) * | 2015-11-12 | 2016-03-16 | 中国南方电网有限责任公司 | Self-detection circuit for implementing digital input circuit based on pulse injection method |
CN109541343A (en) * | 2018-11-16 | 2019-03-29 | 陕西千山航空电子有限责任公司 | A kind of self-sensing method of discrete magnitude output interface |
CN113742124A (en) * | 2021-08-25 | 2021-12-03 | 许继集团有限公司 | Intelligent IO (input/output) outlet self-checking method and system based on CAN (controller area network) bus |
CN116754931A (en) * | 2023-08-16 | 2023-09-15 | 新誉集团有限公司 | Self-checking method and self-checking circuit for digital input loop |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101964653A (en) * | 2009-07-24 | 2011-02-02 | 南京南瑞继保电气有限公司 | Switching value input circuit |
CN101963951A (en) * | 2009-07-24 | 2011-02-02 | 南京南瑞继保电气有限公司 | Switching value signal processing method |
CN202002968U (en) * | 2010-11-25 | 2011-10-05 | 湖州电力局 | Electronic lightning stroke times collecting system of lightning arrester |
JP4848096B2 (en) * | 2001-05-29 | 2011-12-28 | 日本高圧電気株式会社 | Fault location method and apparatus for high voltage distribution lines |
WO2014146680A1 (en) * | 2013-03-18 | 2014-09-25 | Aktiebolaget Skf | Sensor self-test |
-
2015
- 2015-11-02 CN CN201510731627.9A patent/CN105404198B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4848096B2 (en) * | 2001-05-29 | 2011-12-28 | 日本高圧電気株式会社 | Fault location method and apparatus for high voltage distribution lines |
CN101964653A (en) * | 2009-07-24 | 2011-02-02 | 南京南瑞继保电气有限公司 | Switching value input circuit |
CN101963951A (en) * | 2009-07-24 | 2011-02-02 | 南京南瑞继保电气有限公司 | Switching value signal processing method |
CN202002968U (en) * | 2010-11-25 | 2011-10-05 | 湖州电力局 | Electronic lightning stroke times collecting system of lightning arrester |
WO2014146680A1 (en) * | 2013-03-18 | 2014-09-25 | Aktiebolaget Skf | Sensor self-test |
Non-Patent Citations (2)
Title |
---|
叶远波 等: "继电保护相关二次回路的在线状态检测技术", 《电力***自动化》 * |
聊方伦: "直流***接地对保护控制及开关量输入回路的影响分析", 《浙江电力》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105404199A (en) * | 2015-11-12 | 2016-03-16 | 中国南方电网有限责任公司 | Self-detection circuit for implementing digital input circuit based on pulse injection method |
CN109541343A (en) * | 2018-11-16 | 2019-03-29 | 陕西千山航空电子有限责任公司 | A kind of self-sensing method of discrete magnitude output interface |
CN113742124A (en) * | 2021-08-25 | 2021-12-03 | 许继集团有限公司 | Intelligent IO (input/output) outlet self-checking method and system based on CAN (controller area network) bus |
CN113742124B (en) * | 2021-08-25 | 2024-02-13 | 河南源网荷储电气研究院有限公司 | Intelligent IO (input/output) self-checking method and system based on CAN (controller area network) bus |
CN116754931A (en) * | 2023-08-16 | 2023-09-15 | 新誉集团有限公司 | Self-checking method and self-checking circuit for digital input loop |
Also Published As
Publication number | Publication date |
---|---|
CN105404198B (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105404198A (en) | On-off input loop self-checking circuit based on pulse injection method | |
CN101752845B (en) | Voltage and current surge protection method for electromagnetic oven and circuit thereof | |
CN203481783U (en) | Short circuit and overcurrent protection circuit and mass production test equipment | |
CN204462763U (en) | A kind of drive and protection device of high-power IGBT | |
CN105404199A (en) | Self-detection circuit for implementing digital input circuit based on pulse injection method | |
CN107204760A (en) | A kind of IGBT drive devices and system | |
CN103941181A (en) | Test device for acquiring on-off state of thyristor impulse power switch assembly | |
CN106685196B (en) | IGBT parallel drive and Drive Protecting Circuit in a kind of high-power high voltage frequency converter | |
CN103439649A (en) | Monitoring system for having control over connection state of switch of loop | |
CN104049166A (en) | Rapid fault detection circuit based on pulse feedback | |
CN104767506A (en) | Fault feedback and processing circuit and method for IGBT | |
CN104166042A (en) | Measuring range self-adaptive current detection fiber transmission system and detection method | |
CN103795029A (en) | Leakage current detection protection circuit of direct-current remote supply power system | |
CN203904725U (en) | Door opening protecting circuit of washing machine | |
CN205450144U (en) | Test auxiliary circuit discharges | |
CN101777747A (en) | Power grid state detection method of leakage protector with light coupling isolation | |
CN103414152A (en) | Overcurrent protection device for klystron of low-hybrid wave heating system | |
WO2021088259A1 (en) | Control system and method for power backup system | |
CN115877200B (en) | Broken wire detecting system | |
CN204928095U (en) | Protection circuit of intelligence power module | |
CN209150704U (en) | A kind of controller hardware protection circuit based on rest-set flip-flop | |
CN204836107U (en) | Machine carries incident signal acquisition circuit | |
CN208158100U (en) | A kind of output overvoltage protection circuit and the power supply comprising the circuit | |
CN203377584U (en) | Three-phase non-midline phase-lack, undervoltage and overvoltage protection circuit | |
CN203415942U (en) | Fault signal processing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20190321 Address after: 100085 9, four street, Shang Di information industry base, Haidian District, Beijing. Co-patentee after: Beijing Sifang Jibao Engineering Technology Co., Ltd. Patentee after: Beijing Sifang Jibao Automation Co., Ltd. Address before: 100085 9, four street, Shang Di information industry base, Haidian District, Beijing. Patentee before: Beijing Sifang Jibao Automation Co., Ltd. |
|
TR01 | Transfer of patent right |