CN112039501A - Pulse mode IO drive circuit - Google Patents
Pulse mode IO drive circuit Download PDFInfo
- Publication number
- CN112039501A CN112039501A CN202010881745.9A CN202010881745A CN112039501A CN 112039501 A CN112039501 A CN 112039501A CN 202010881745 A CN202010881745 A CN 202010881745A CN 112039501 A CN112039501 A CN 112039501A
- Authority
- CN
- China
- Prior art keywords
- capacitor
- diode
- input
- triode
- load
- 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
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K3/00—Circuits for generating electric pulses; Monostable, bistable or multistable circuits
- H03K3/02—Generators characterised by the type of circuit or by the means used for producing pulses
- H03K3/021—Generators characterised by the type of circuit or by the means used for producing pulses by the use, as active elements, of more than one type of element or means, e.g. BIMOS, composite devices such as IGBT
Landscapes
- Electronic Switches (AREA)
Abstract
The invention relates to an IO driving circuit in a pulse mode, and belongs to the technical field of controllers. The circuit comprises an INPUT port INPUT, a capacitor C1, a capacitor C2, a diode D1, a diode D2, a resistor R1, a triode Q, a load RL and an OUTPUT port OUTPUT; the INPUT port INPUT is connected with a capacitor C1, the capacitor C1 is connected with the cathode of a diode D1 and the anode of a diode D2, the cathode of the diode D2 is connected with a resistor R1 and a capacitor C2, the other section of the resistor R1 is connected with the base of a triode Q, the collector of the triode Q is connected with a load RL and an OUTPUT port OUTPUT, the emitter of the triode Q, the other end of the capacitor C2 and the anode of the diode D1 are grounded, and the other end of the load RL is connected with a power supply voltage VCC. The invention has the beneficial effects that: the load is driven by converting the direct-current pulse voltage into the alternating-current pulse voltage and then outputting the alternating-current pulse voltage through rectification, and the circuit only has an effect on pulse signals and does not have an effect on fixed level signals, so that the error output caused by the dead halt of the controller is effectively prevented.
Description
Technical Field
The invention relates to an IO driving circuit in a pulse mode, and belongs to the technical field of controllers.
Background
At present, in conventional industry or automotive environment, generally all regard as system input and output with the GPIO mouth, simple high-efficient, for example, relay drive circuit, electrothermal tube heating circuit, at present, market product output circuit generally uses simple drive circuit relatively, and this drive circuit utilizes IO mouth high-low level state directly to accomplish control, and the structure is fairly simple, can satisfy conventional demand, but relatively poor in the aspect of the reliability, in the higher trade to the reliability requirement, can not satisfy the demand.
Because the current IO driving circuit uses the level state (high level or low level) of the IO port for control, when the controller is abnormal, the IO port still can be in a certain state of high and low levels, and the level state is uncontrollable due to the error of the controller, so that the subsequent actuating mechanism executes incorrect action.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides the pulse mode IO drive circuit, which solves the problem of actuator misoperation caused by the dead halt of a controller in an industrial environment and eliminates potential safety hazards caused by the misoperation.
The invention is realized by the following technical scheme: an IO drive circuit of a pulse mode, characterized in that: the circuit comprises an INPUT port INPUT, a capacitor C1, a capacitor C2, a diode D1, a diode D2, a resistor R1, a triode Q, a load RL and an OUTPUT port OUTPUT; the INPUT port INPUT is connected with a capacitor C1, the capacitor C1 is connected with the cathode of a diode D1 and the anode of a diode D2, the cathode of the diode D2 is connected with a resistor R1 and a capacitor C2, the other section of the resistor R1 is connected with the base of a triode Q, the collector of the triode Q is connected with a load RL and an OUTPUT port OUTPUT, the emitter of the triode Q, the other end of the capacitor C2 and the anode of the diode D1 are grounded, and the other end of the load RL is connected with a power supply voltage VCC.
The load RL is a light-emitting diode, a relay or any electronic device.
The capacitor C1 has a DC blocking function, converts a pulse signal into an alternating current signal, shields a direct current level, charges the capacitor C2 to 1/2| V _ INPUT | through the capacitor C1 by a pulse with a duty ratio of 50% in a positive pulse period, and has a cathode voltage of-1/2 | V _ INPUT | of the diode D1 and a cathode voltage of 1/2| V _ INPUT | of the diode D2 in a negative pulse period.
The diode D2 prevents current from flowing backwards to the capacitor C1 when the capacitor C2 discharges, the cathode of the diode D2 forms a voltage-multiplying circuit through the capacitor C2 and the diode D1, the diode D1 is a freewheeling diode, the voltage at two ends of the capacitor C2 is stabilized at the pulsating voltage of V _ INPUT-V _ D1, the triode Q is conducted, the OUTPUT port OUTPUT OUTPUTs a low level, otherwise, the OUTPUT port OUTPUT is a high level, if the INPUT port INPUT is stabilized at a high level or a low level, the capacitor C2 cannot be charged due to the blocking effect of the capacitor C1, the triode Q is not conducted, and the load RL does not act.
The invention has the beneficial effects that: the load is driven by converting the direct-current pulse voltage into the alternating-current pulse voltage and then outputting the alternating-current pulse voltage through rectification, and the circuit only has an effect on pulse signals and does not have an effect on fixed level signals, so that the error output caused by the dead halt of the controller is effectively prevented.
Drawings
The invention is further illustrated below with reference to the figures and examples.
Fig. 1 is a circuit schematic of the present invention.
Detailed Description
The pulse mode IO driving circuit shown in fig. 1 is characterized in that: the circuit comprises an INPUT port INPUT, a capacitor C1, a capacitor C2, a diode D1, a diode D2, a resistor R1, a triode Q, a load RL and an OUTPUT port OUTPUT; the INPUT port INPUT is connected with a capacitor C1, the capacitor C1 is connected with the cathode of a diode D1 and the anode of a diode D2, the cathode of the diode D2 is connected with a resistor R1 and a capacitor C2, the other section of the resistor R1 is connected with the base of a triode Q, the collector of the triode Q is connected with a load RL and an OUTPUT port OUTPUT, the emitter of the triode Q, the other end of the capacitor C2 and the anode of the diode D1 are grounded, and the other end of the load RL is connected with a power supply voltage VCC.
The load RL is a light-emitting diode, a relay or any electronic device.
The capacitor C1 has a DC blocking function, converts a pulse signal into an alternating current signal, shields a direct current level, charges the capacitor C2 to 1/2| V _ INPUT | through the capacitor C1 by a pulse with a duty ratio of 50% in a positive pulse period, and has a cathode voltage of-1/2 | V _ INPUT | of the diode D1 and a cathode voltage of 1/2| V _ INPUT | of the diode D2 in a negative pulse period.
The diode D2 prevents current from flowing backwards to the capacitor C1 when the capacitor C2 discharges, the cathode of the diode D2 forms a voltage-multiplying circuit through the capacitor C2 and the diode D1, the diode D1 is a freewheeling diode, the voltage at two ends of the capacitor C2 is stabilized at the pulsating voltage of V _ INPUT-V _ D1, the triode Q is conducted, the OUTPUT port OUTPUT OUTPUTs a low level, otherwise, the OUTPUT port OUTPUT is a high level, if the INPUT port INPUT is stabilized at a high level or a low level, the capacitor C2 cannot be charged due to the blocking effect of the capacitor C1, the triode Q is not conducted, and the load RL does not act.
The GPIO port of the software control system outputs square waves with the duty ratio of about 50%, when the square waves are output, the switching circuit works normally, and when the controller crashes or programs run away and the like, the IO port cannot output normal square waves.
The duty ratio of the pulse input voltage is adjustable, and when the duty ratio is reduced or increased, the capacitance of the C2 can be correspondingly adjusted by increasing or decreasing.
Claims (4)
1. An IO drive circuit of a pulse mode, characterized in that: the circuit comprises an INPUT port INPUT, a capacitor C1, a capacitor C2, a diode D1, a diode D2, a resistor R1, a triode Q, a load RL and an OUTPUT port OUTPUT; the INPUT port INPUT is connected with a capacitor C1, the capacitor C1 is connected with the cathode of a diode D1 and the anode of a diode D2, the cathode of the diode D2 is connected with a resistor R1 and a capacitor C2, the other section of the resistor R1 is connected with the base of a triode Q, the collector of the triode Q is connected with a load RL and an OUTPUT port OUTPUT, the emitter of the triode Q, the other end of the capacitor C2 and the anode of the diode D1 are grounded, and the other end of the load RL is connected with a power supply voltage VCC.
2. The pulsed IO driver circuit according to claim 1, wherein: the load RL is a light-emitting diode, a relay or any electronic device.
3. The pulsed IO driver circuit according to claim 1, wherein: the capacitor C1 has a DC blocking function, converts a pulse signal into an alternating current signal, shields a direct current level, charges the capacitor C2 to 1/2| V _ INPUT | through the capacitor C1 by a pulse with a duty ratio of 50% in a positive pulse period, and has a cathode voltage of-1/2 | V _ INPUT | of the diode D1 and a cathode voltage of 1/2| V _ INPUT | of the diode D2 in a negative pulse period.
4. The pulsed IO driver circuit according to claim 1, wherein: the diode D2 prevents current from flowing backwards to the capacitor C1 when the capacitor C2 discharges, the cathode of the diode D2 forms a voltage-multiplying circuit through the capacitor C2 and the diode D1, the diode D1 is a freewheeling diode, the voltage at two ends of the capacitor C2 is stabilized at the pulsating voltage of V _ INPUT-V _ D1, the triode Q is conducted, the OUTPUT port OUTPUT OUTPUTs a low level, otherwise, the OUTPUT port OUTPUT is a high level, if the INPUT port INPUT is stabilized at a high level or a low level, the capacitor C2 cannot be charged due to the blocking effect of the capacitor C1, the triode Q is not conducted, and the load RL does not act.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010881745.9A CN112039501A (en) | 2020-08-28 | 2020-08-28 | Pulse mode IO drive circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010881745.9A CN112039501A (en) | 2020-08-28 | 2020-08-28 | Pulse mode IO drive circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112039501A true CN112039501A (en) | 2020-12-04 |
Family
ID=73586063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010881745.9A Pending CN112039501A (en) | 2020-08-28 | 2020-08-28 | Pulse mode IO drive circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112039501A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201840290U (en) * | 2010-06-18 | 2011-05-25 | 浙江盈科电子有限公司 | Safe electric cooker and electric pressure cooker |
CN202126969U (en) * | 2011-06-23 | 2012-01-25 | 杭州和而泰智能控制技术有限公司 | Relay driving circuit and device with same |
CN206432968U (en) * | 2016-12-30 | 2017-08-22 | 深圳飞安瑞科技股份有限公司 | A anti-single chip microcomputer halt circuit |
CN207780631U (en) * | 2017-12-28 | 2018-08-28 | 浙江苏泊尔家电制造有限公司 | Heating device and baking machine including the device |
CN109398475A (en) * | 2018-12-04 | 2019-03-01 | 厦门嘉裕德汽车电子科技有限公司 | A kind of anti-crash protection circuit |
CN110750066A (en) * | 2019-11-03 | 2020-02-04 | 苏州时智电子科技有限公司 | Novel alternating current driving output circuit of grating |
-
2020
- 2020-08-28 CN CN202010881745.9A patent/CN112039501A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201840290U (en) * | 2010-06-18 | 2011-05-25 | 浙江盈科电子有限公司 | Safe electric cooker and electric pressure cooker |
CN202126969U (en) * | 2011-06-23 | 2012-01-25 | 杭州和而泰智能控制技术有限公司 | Relay driving circuit and device with same |
CN206432968U (en) * | 2016-12-30 | 2017-08-22 | 深圳飞安瑞科技股份有限公司 | A anti-single chip microcomputer halt circuit |
CN207780631U (en) * | 2017-12-28 | 2018-08-28 | 浙江苏泊尔家电制造有限公司 | Heating device and baking machine including the device |
CN109398475A (en) * | 2018-12-04 | 2019-03-01 | 厦门嘉裕德汽车电子科技有限公司 | A kind of anti-crash protection circuit |
CN110750066A (en) * | 2019-11-03 | 2020-02-04 | 苏州时智电子科技有限公司 | Novel alternating current driving output circuit of grating |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204013200U (en) | One is applicable to three-level current transformer IGBT drive circuit | |
CN111682811A (en) | Direct current motor control circuit and direct current motor control system | |
CN112039501A (en) | Pulse mode IO drive circuit | |
CN107193314B (en) | A kind of constant-current circuit of amplifier output voltage clamper in driving tube threshold voltage | |
CN103430436B (en) | Power circuit | |
CN212012500U (en) | Safe torque shutoff circuit | |
CN101674044A (en) | Voltage protection device | |
CN101033750A (en) | Fan system and detecting device thereof | |
CN109217856B (en) | Power electronic switch | |
US11777399B2 (en) | Power drive circuit and method of controlling the same | |
CN213783267U (en) | PWM drive control circuit | |
CN213185489U (en) | Photovoltaic inverter | |
CN205283887U (en) | LED dimmer circuit and LED drive circuit | |
CN209805787U (en) | IGBT protection circuit based on numerical control lathe servo driver | |
US11056302B2 (en) | Coil control device of electronic magnetic contactor | |
US20130162185A1 (en) | Motor driving system and motor system | |
CN203596742U (en) | Built-in brake unit circuit applied in single quadrant frequency converter | |
CN203233299U (en) | IGBT drive circuit for braking of urban rail vehicle traction converter | |
CN112290519A (en) | High-reliability ground wire live detection protection circuit | |
CN215576196U (en) | Intelligent power supply controller | |
CN217238313U (en) | Storage battery voltage detection control device | |
CN213072482U (en) | POE inverter | |
CN217720810U (en) | Elevator rescue system and elevator | |
CN213367630U (en) | Power supply slow-start circuit and electronic equipment | |
CN219477870U (en) | Motor controller input/output system based on functional safety design |
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 |