CN208861895U - A kind of relay safe driving circuit on microprocessor - Google Patents
A kind of relay safe driving circuit on microprocessor Download PDFInfo
- Publication number
- CN208861895U CN208861895U CN201821663739.0U CN201821663739U CN208861895U CN 208861895 U CN208861895 U CN 208861895U CN 201821663739 U CN201821663739 U CN 201821663739U CN 208861895 U CN208861895 U CN 208861895U
- Authority
- CN
- China
- Prior art keywords
- port
- relay
- capacitor
- microprocessor
- charge
- 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
Landscapes
- Relay Circuits (AREA)
- Electronic Switches (AREA)
Abstract
The relay safe driving circuit that the utility model discloses a kind of on microprocessor, using P1 and P2 dual-port mode of oscillation to capacitor C1 charge and discharge, periodically alternating on-off is carried out to the port P1 and the port P2 by microprocessor, capacitor C1 is set to be in periodic charge and discharge process, relay is closed during discharge, i.e., is driven using the discharge process of capacitor C1 to relay;After microprocessor occurs to crash or related elements damage, the port P1 and the port P2 stop alternate oscillation output, and the charge and discharge process of capacitor C1 last cycle property, capacitor C1 is in always under the stationary state of charge or discharge, relay safe release.The utility model has the following beneficial effects: using safe driving circuit the oscillatory process of capacitor charging/discharging can not be become, to make actuating of relay safe release after crash or related elements damage occur for microprocessor.Relay driving is avoided by the way of traditional low and high level on-off, when control being gone to be related to the very high controlled plant of security level, once the problem of huge personal injury accident will be will cause out of control.
Description
Technical field
The utility model relates to relay drive circuit, mainly a kind of relay on microprocessor is driven safely
Circuit.
Background technique
It can not be applied to the control (safety interlocking of high safety grade conventionally used for the relay drive circuit on microprocessor
Mechanism, means of transport, Medical Devices, fuel conveying).Any microprocessor has crash, the damage of processor port, driving crystal
The possibility of tube device damage.Relay driving goes control to be related to security level very by the way of traditional low and high level on-off
When high controlled plant, once out of control will will cause huge personal injury accident.
Utility model content
The purpose of the utility model is to overcome the shortcomings of the prior art, and provide a kind of on microprocessor
Relay safe driving circuit.
The purpose of this utility model is completed by following technical solution.This relay on microprocessor
Safe driving circuit, using P1 and P2 dual-port mode of oscillation to capacitor C1 charge and discharge, by microprocessor to the port P1 and P2
Port carries out periodically alternating on-off, so that capacitor C1 is in periodic charge and discharge process, relay closes during discharge
It closes, i.e., relay is driven using the discharge process of capacitor C1;After microprocessor occurs to crash or related elements damage,
The port P1 and the port P2 stop alternate oscillation output, and the charge and discharge process of capacitor C1 last cycle property, capacitor C1 is in always to be filled
Under electricity or the stationary state of electric discharge, relay safe release.
Further, P1 the and P2 dual-port mode of oscillation is to capacitor C1 charge and discharge process are as follows: as port P1=
When 1, port P2=0, triode Q1 and the conducting of the circuit triode Q2 cause triode Q3 to turn off, capacitor C1 passes through relay line
Circle, diode D2, triode Q1, triode Q2 constitute the discharge loop of a capacitor C1, and relay is attracted;As port P1=0,
Port P2=1 or port P1=0, port P2=0 or port P1=1, when the P2=1 of port, triode Q1 and the circuit triode Q2
Shutdown causes triode Q3 to be connected, and capacitor C1 is made up of the charge circuit of a capacitor C1, relay release diode D3.
Preferably, the microprocessor is in each safe self-test, the port P3 carries out relay contact by optocoupler
State feedback, does security actions confirmation for microprocessor.
The microprocessor includes processor 1 and processor 2, and processor 1 controls the port P1, and processor 2 controls the end P2
Mouthful.
The utility model has the following beneficial effects: utilizing capacitor C1's to capacitor C1 charge and discharge using dual-port mode of oscillation
Discharge process drives relay.After microprocessor occurs to crash or related elements damage, does not become capacitor and fill
The oscillatory process of electric discharge, to make actuating of relay safe release.Microprocessor carries out relay in each safe self-test simultaneously
The safety verification of device contacts status.
Detailed description of the invention
Fig. 1 is the circuit theory schematic diagram of the utility model.
Specific embodiment
Detailed introduction is done to the utility model below in conjunction with attached drawing:
As shown in Figure 1, this relay safe driving circuit on microprocessor, including triode Q1, triode
Q2 and triode Q3, wherein triode Q1 and triode Q3 uses NPN structure, and triode Q2 uses positive-negative-positive structure, relay JK1
It is concatenated after coil and diode D3 are in parallel with diode D2, capacitor C1.The circuit is using P1 and P2 dual-port mode of oscillation to electricity
Hold C1 charge and discharge, the base stage of port P1 connecting triode Q1, the base stage of port P2 connecting triode Q2, to capacitor C1 charge and discharge
Journey are as follows: as port P1=1, port P2=0, triode Q1 and the conducting of the circuit triode Q2 cause triode Q3 to turn off, capacitor
C1 is made up of the discharge loop of a capacitor C1 relay coil, diode D2, triode Q1, triode Q2, and relay is inhaled
It closes;As port P1=0, port P2=1 or port P1=0, port P2=0 or port P1=1, when the P2=1 of port, triode Q1
It is turned off with the circuit triode Q2, triode Q3 is caused to be connected, capacitor C1 is returned by the charging that diode D3 constitutes a capacitor C1
Road, relay release.
Relay closed action: (P1.P2 mouthfuls of formation alternate oscillation output): by microprocessor to the port P1 and the port P2
It carries out periodically alternately on-off (> 1KHZ), making capacitor C1 be in periodic charge and discharge process, during discharge relay
Closure, i.e., drive relay using the discharge process of capacitor C1.
Relay release movement: after microprocessor occurs to crash or related elements damage, the port P1 and the port P2 stop
Alternate oscillation output, the charge and discharge process of capacitor C1 last cycle property, capacitor C1 are in the stationary state of charge or discharge always
Under, relay safe release.
For the microprocessor in each safe self-test, the port P3 carries out relay contact state feedback by optocoupler,
Security actions confirmation is done for microprocessor.
The mode of the output of the applicable dual processor redundancy of the utility model, the microprocessor include 1 He of processor
Processor 2, processor 1 control the port P1, and processor 2 controls the port P2.
It should be understood that the key point of the utility model is to be driven using the charge and discharge process of capacitor C1 to relay
Dynamic or safe release, also belongs to equivalent replacement using one way ports or multiple ports.
It is understood that it will be understood by those skilled in the art that the technical solution of the utility model and utility model structure
Think of is subject to equivalent substitution or change all and should belong to the protection scope of the utility model the attached claims.
Claims (4)
1. a kind of relay safe driving circuit on microprocessor, it is characterised in that: vibrated using P1 and P2 dual-port
Mode carries out periodically alternating on-off to the port P1 and the port P2 to capacitor C1 charge and discharge, by microprocessor, makes capacitor C1
In periodic charge and discharge process, relay is closed during discharge, i.e., using the discharge process of capacitor C1 to relay
It is driven;After microprocessor occurs to crash or related elements damage, the port P1 and the port P2 stop alternate oscillation output, electricity
Hold the charge and discharge process of C1 last cycle property, capacitor C1 is in always under the stationary state of charge or discharge, and relay is released safely
It puts.
2. the relay safe driving circuit according to claim 1 on microprocessor, it is characterised in that: described
P1 and P2 dual-port mode of oscillation is to capacitor C1 charge and discharge process are as follows: as port P1=1, port P2=0, triode Q1 and three
The conducting of the circuit pole pipe Q2, causes triode Q3 to turn off, and capacitor C1 passes through relay coil, diode D2, triode Q1, triode
Q2 constitutes the discharge loop of a capacitor C1, and relay is attracted;As port P1=0, port P2=1 or port P1=0, port P2
When=0 or port P1=1, port P2=1, triode Q1 and the shutdown of the circuit triode Q2 cause triode Q3 to be connected, capacitor C1
The charge circuit of a capacitor C1, relay release are made up of diode D3.
3. the relay safe driving circuit according to claim 1 on microprocessor, it is characterised in that: described
For microprocessor in each safe self-test, the port P3 carries out relay contact state feedback by optocoupler, does and pacifies for microprocessor
Full property confirming operation.
4. the relay safe driving circuit according to claim 1 on microprocessor, it is characterised in that: described
Microprocessor includes processor 1 and processor 2, and processor 1 controls the port P1, and processor 2 controls the port P2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821663739.0U CN208861895U (en) | 2018-10-12 | 2018-10-12 | A kind of relay safe driving circuit on microprocessor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821663739.0U CN208861895U (en) | 2018-10-12 | 2018-10-12 | A kind of relay safe driving circuit on microprocessor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208861895U true CN208861895U (en) | 2019-05-14 |
Family
ID=66420781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821663739.0U Active CN208861895U (en) | 2018-10-12 | 2018-10-12 | A kind of relay safe driving circuit on microprocessor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208861895U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113871252A (en) * | 2021-09-13 | 2021-12-31 | 深圳英飞源技术有限公司 | Relay drive circuit |
-
2018
- 2018-10-12 CN CN201821663739.0U patent/CN208861895U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113871252A (en) * | 2021-09-13 | 2021-12-31 | 深圳英飞源技术有限公司 | Relay drive circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104820378B (en) | A kind of train activation control circuit and system | |
CN208861895U (en) | A kind of relay safe driving circuit on microprocessor | |
CN207127896U (en) | A kind of mobile robot and its emergency stop device and jerk remote control | |
CN102219175A (en) | Electrified oil filler for isolating switch | |
CN208530301U (en) | A kind of control device of high-voltage relay | |
CN205198588U (en) | Full -automatic portable transfer pump | |
CN107733406A (en) | A kind of signal fixed ampllitude bistable state triggering soft-touch control based on constant-current source | |
CN204256454U (en) | Electrical equipment shuts down anticreep system | |
CN204153911U (en) | A kind of medical wastes incineration feed system | |
CN202272647U (en) | Control circuit and crane using control circuit | |
CN207133921U (en) | A kind of child intelligence Engineering wireless remote control recreation facility console | |
CN201180431Y (en) | Electric motor micro-motion locking device of disinfection cabinet | |
CN206542243U (en) | It is mobile to mend the road alternating current-direct current switching circuit of electric system threeway two | |
CN204189704U (en) | A kind of energy storage travel switch | |
CN104362694B (en) | The electric automobile charging pile that non-charged state is thoroughly powered off | |
CN209486879U (en) | A kind of high energy electric pulse generation device based on blue tooth wireless technology | |
CN202474708U (en) | Remote control and reception device for insulating bionic operation device | |
CN203350318U (en) | Magnetic card meter control box | |
CN204442010U (en) | The control system in parallel operation power station | |
CN208904751U (en) | A kind of multiple-protection system control ink screen e-book charging system | |
CN107658973A (en) | The standby dual power supply generator emergency starting system of voltage regulation type | |
CN203554076U (en) | Dual power source supply electric load control management terminal | |
CN202513664U (en) | Emergency power supply | |
CN105845520A (en) | Circuit breaker and control device thereof | |
CN203879671U (en) | Start control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |