CN203617218U - Circuit for driving two delays through single I/O port - Google Patents
Circuit for driving two delays through single I/O port Download PDFInfo
- Publication number
- CN203617218U CN203617218U CN201320880011.4U CN201320880011U CN203617218U CN 203617218 U CN203617218 U CN 203617218U CN 201320880011 U CN201320880011 U CN 201320880011U CN 203617218 U CN203617218 U CN 203617218U
- Authority
- CN
- China
- Prior art keywords
- triode
- resistance
- relay
- circuit
- connects
- 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.)
- Expired - Lifetime
Links
- 230000001934 delay Effects 0.000 title abstract 5
- 230000000087 stabilizing effect Effects 0.000 claims description 24
- 230000000694 effects Effects 0.000 abstract description 2
- 101150037899 REL1 gene Proteins 0.000 description 4
- 101100099158 Xenopus laevis rela gene Proteins 0.000 description 4
- 239000000853 adhesive Substances 0.000 description 4
- 230000001070 adhesive effect Effects 0.000 description 4
- 101100153768 Oryza sativa subsp. japonica TPR2 gene Proteins 0.000 description 3
- 101150102021 REL2 gene Proteins 0.000 description 3
- 208000019901 Anxiety disease Diseases 0.000 description 1
- 230000036506 anxiety Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Landscapes
- Relay Circuits (AREA)
Abstract
The utility model relates to a circuit for driving two delays through a single I/O port. A single I/O port of a single-chip microcomputer is employed to drive a dual-relay. The circuit comprises a control input end, two relay output ends, a first driving circuit and a second driving circuit. The input end of the first driving circuit and the input end of the second driving circuit are both connected with the control input end. The output ends of the first driving circuit and the second driving circuit are connected with the output ends of the two relays respectively. The circuit for driving two delays through a single I/O port is employed, Effects of driving two delays through one I/O port are achieved, and the production cost is lowered. Because a new circuit design is employed, there are no phenomena of unreliable relay control and misoperations at a high temperature or at a low temperature because a triode P/N junction break-over voltage is influenced by temperature change in other circuit for driving two delays through a single I/O port. The number of the components is low and the circuit implementation is simple and reliable.
Description
Technical field
The utility model relates to relay Driving technique field, more specifically, relates to a kind of single I/O port driver double relay circuit.
Background technology
In at present a lot of products, driving Dou Shi No. mono-drive circuit of relay is driven to a road relay, but the function that at present a lot of product needed realizes is more and more.Cause the resource anxiety of single-chip microcomputer, I/O shortcoming.Common way is to change the single-chip microcomputer of aboundresources and many I/O in this case, and such way increases the cost that directly causes product.Or also there is a small amount of product to use a road drive circuit and drive two-way relay, but can in high temperature or low temperature environment, occur controlling the unreliable phenomenon that has misoperation.
Summary of the invention
In order to solve above-mentioned the deficiencies in the prior art, the utility model proposes a kind of single I/O port driver double relay circuit, can be in the situation that product function be more, do not increase product cost and reduce misoperation.
The purpose of this utility model can be by taking following technical scheme to reach:
A kind of single I/O port driver double relay circuit, is the single I/O port driver double relay that adopts single-chip microcomputer, comprises a control input end, two relay output ends and the first drive circuit and the second drive circuit; The input of the input of described the first drive circuit and the second drive circuit all connects control input end, and the output of first and second drive circuit connects respectively the output of two relays;
Described the first drive circuit comprises resistance R 1 ~ R4, triode Q1, triode Q3, voltage stabilizing didoe ZD1 and relay R EL1; One termination control input end of resistance R 3, the anode of another termination voltage stabilizing didoe ZD1; The negative electrode of voltage stabilizing didoe ZD1 meets power vd D by resistance R 1, the negative electrode of voltage stabilizing didoe ZD1 also connects the base stage of triode Q1, the emitter of triode Q1 meets power vd D, the collector electrode of triode Q1 connects the base stage of triode Q3 by resistance R 4, the collector electrode of triode Q1 also passes through one end of resistance R 4 connecting resistance R2, another termination GND of resistance R 2; The emitter of triode Q3 meets GND, and the collector electrode of triode Q3 connects the anode of diode D1, and the negative electrode of diode D1 meets power supply VCC, and relay R EL1 and diode D1 are connected in parallel;
Described the second drive circuit comprises resistance R 3, resistance R 5 ~ R7, triode Q2, triode Q4, voltage stabilizing didoe ZD2, diode D2 and relay R EL2; One termination control input end of resistance R 3, the negative electrode of another termination voltage stabilizing didoe ZD2, the anode of voltage stabilizing didoe ZD2 meets GND by resistance R 7, the anode of voltage stabilizing didoe ZD2 also connects the base stage of triode Q2, the emitter of triode Q2 meets GND, the collector electrode of triode Q2 connects the base stage of triode Q4 by resistance R 5, the base stage of triode Q4 meets power supply VCC by resistance R 6, the emitter of triode meets power supply VCC, the collector electrode of triode Q4 connects the negative electrode of diode D2, the anode of diode D2 meets GND, and relay R EL2 and diode D2 are connected in parallel.
Described power vd D is the supply power voltage of single-chip microcomputer, and power supply VCC is the supply power voltage of relay, and GND is power supply negative terminal common port.
Described triode Q1, Q4 are positive-negative-positive, and triode Q2, Q3 are NPN type.
Compared with prior art, the beneficial effects of the utility model: the utility model adopts two relay circuits of single I/O port driver, reach the effect that drives two-way relay with an I/O port, reduce product cost.Owing to having adopted new circuit design, do not have other two relay circuit triode P/N knot conducting voltage of single I/O port driver to be acted upon by temperature changes, cause the unreliable phenomenon with there being misoperation of Control occurring in the time of high temperature or low temperature.Number of elements is few, and circuit is realized simple and reliable.
Accompanying drawing explanation
Fig. 1 is the circuit theory diagrams of the utility model specific embodiment.
Embodiment
Specific embodiment:
With reference to Fig. 1, the present embodiment is to adopt the single I/O port driver double relay of single-chip microcomputer, comprises a control input end, two relay output ends and the first drive circuit and the second drive circuit; The input of the input of described the first drive circuit and the second drive circuit all connects control input end, and the output of first and second drive circuit connects respectively the output of two relays;
The first drive circuit comprises resistance R 1 ~ R4, positive-negative-positive triode Q1, NPN type triode Q3, voltage stabilizing didoe ZD1 and relay R EL1; Single-chip processor i/o, control input end (sharing with the second drive circuit) is connected with one end of resistance R 3, the anode of another termination voltage stabilizing didoe ZD1 of resistance R 3; The negative electrode of voltage stabilizing didoe ZD1 meets power vd D by resistance R 1, and the negative electrode of voltage stabilizing didoe ZD1 also connects the base stage of triode Q1, and the emitter of triode Q1 meets power vd D, and this power vd D is the supply power voltage of single-chip microcomputer, such as+5V; The collector electrode of triode Q1 connects the base stage of triode Q3 by resistance R 4, the collector electrode of triode Q1 also passes through one end of resistance R 4 connecting resistance R2, another termination GND of resistance R 2, and this GND is power supply negative terminal common port; The emitter of triode Q3 meets GND, and the collector electrode of triode Q3 connects the anode of diode D1, and the negative electrode of diode D1 meets power supply VCC, and this VCC is relay supply power voltage, such as+12V, relay R EL1 and diode D1 are connected in parallel;
The second drive circuit comprises resistance R 3, resistance R 5 ~ R7, NPN type triode Q2, positive-negative-positive triode Q4, voltage stabilizing didoe ZD2, diode D2 and relay R EL2, single-chip processor i/o, be that control input end (sharing with the first drive circuit) is connected with one end of resistance R 3, the negative electrode of the other end voltage stabilizing didoe ZD2 of resistance R 3, the anode of voltage stabilizing didoe ZD2 meets GND by resistance R 7, the anode of voltage stabilizing didoe ZD2 also connects the base stage of triode Q2, the emitter of triode Q2 meets GND, the collector electrode of triode Q2 connects the base stage of triode Q4 by resistance R 5, the base stage of triode Q4 meets power supply VCC by resistance R 6, the emitter of triode meets power supply VCC, the collector electrode of triode Q4 connects the negative electrode of diode D2, the anode of diode D2 meets GND, relay R EL2 and diode D2 are connected in parallel.
The operation principle of the present embodiment:
1) when attracting electric relay REL1: I/O port is set to output port output low level, has so just completed the adhesive of relay R EL1.
2) when attracting electric relay REL2: I/O port is set to output port and exports high level, has so just completed the adhesive of relay R EL1.
3) when attracting electric relay REL1 and relay R EL2: I/O port is set to output port and exports the square wave of certain frequency.But the high-low level time of square wave is determined according to the adhesive of relay R EL1 and REL2 release time; The high level time of output square wave is greater than the pickup time of REL2 and is less than release time of relay R EL1, and the low level time of output square wave is greater than the pickup time of REL1 and is less than release time of relay R EL2.So just complete the adhesive of relay R EL1 and relay R EL2.
4) when release relay REL1 and relay R EL2: I/O port is set to not be with the input drawing, and has so just completed the release of relay R EL1 and relay R EL2.
Above-described execution mode of the present utility model, does not form the restriction to the utility model protection range.Any modification of having done within spiritual principles of the present utility model, be equal to and replace and improvement etc., within all should being included in claim protection range of the present utility model.
Claims (3)
1. a single I/O port driver double relay circuit, is to adopt the single I/O port driver double relay of single-chip microcomputer, it is characterized in that, comprises a control input end, two relay output ends and the first drive circuit and the second drive circuit; The input of the input of described the first drive circuit and the second drive circuit all connects control input end, and the output of first and second drive circuit connects respectively the output of two relays;
Described the first drive circuit comprises resistance R 1 ~ R4, triode Q1, triode Q3, voltage stabilizing didoe ZD1 and relay R EL1; One termination control input end of resistance R 3, the anode of another termination voltage stabilizing didoe ZD1; The negative electrode of voltage stabilizing didoe ZD1 meets power vd D by resistance R 1, the negative electrode of voltage stabilizing didoe ZD1 also connects the base stage of triode Q1, the emitter of triode Q1 meets power vd D, the collector electrode of triode Q1 connects the base stage of triode Q3 by resistance R 4, the collector electrode of triode Q1 also passes through one end of resistance R 4 connecting resistance R2, another termination GND of resistance R 2; The emitter of triode Q3 meets GND, and the collector electrode of triode Q3 connects the anode of diode D1, and the negative electrode of diode D1 meets power supply VCC, and relay R EL1 and diode D1 are connected in parallel;
Described the second drive circuit comprises resistance R 3, resistance R 5 ~ R7, triode Q2, triode Q4, voltage stabilizing didoe ZD2, diode D2 and relay R EL2; One termination control input end of resistance R 3, the negative electrode of another termination voltage stabilizing didoe ZD2, the anode of voltage stabilizing didoe ZD2 meets GND by resistance R 7, the anode of voltage stabilizing didoe ZD2 also connects the base stage of triode Q2, the emitter of triode Q2 meets GND, the collector electrode of triode Q2 connects the base stage of triode Q4 by resistance R 5, the base stage of triode Q4 meets power supply VCC by resistance R 6, the emitter of triode meets power supply VCC, the collector electrode of triode Q4 connects the negative electrode of diode D2, the anode of diode D2 meets GND, and relay R EL2 and diode D2 are connected in parallel.
2. single I/O port driver double relay circuit according to claim 1, is characterized in that, described power vd D is the supply power voltage of single-chip microcomputer, and power supply VCC is the supply power voltage of relay, and GND is power supply negative terminal common port.
3. single I/O port driver double relay circuit according to claim 2, is characterized in that, described triode Q1, Q4 are positive-negative-positive, and triode Q2, Q3 are NPN type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320880011.4U CN203617218U (en) | 2013-12-30 | 2013-12-30 | Circuit for driving two delays through single I/O port |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201320880011.4U CN203617218U (en) | 2013-12-30 | 2013-12-30 | Circuit for driving two delays through single I/O port |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203617218U true CN203617218U (en) | 2014-05-28 |
Family
ID=50769845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201320880011.4U Expired - Lifetime CN203617218U (en) | 2013-12-30 | 2013-12-30 | Circuit for driving two delays through single I/O port |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203617218U (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090140A (en) * | 2014-06-30 | 2014-10-08 | 惠州中城电子科技有限公司 | Double-relay control circuit for one-phase meter |
WO2018099182A1 (en) * | 2016-11-29 | 2018-06-07 | 广州视源电子科技股份有限公司 | Unidirectional element control circuit based on io interfaces |
CN111030673A (en) * | 2019-12-26 | 2020-04-17 | 中国电子科技集团公司第五十八研究所 | High-side driving circuit of high-voltage relay |
CN111916310A (en) * | 2020-09-01 | 2020-11-10 | 珠海格力电器股份有限公司 | Relay control circuit and electric appliance |
-
2013
- 2013-12-30 CN CN201320880011.4U patent/CN203617218U/en not_active Expired - Lifetime
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090140A (en) * | 2014-06-30 | 2014-10-08 | 惠州中城电子科技有限公司 | Double-relay control circuit for one-phase meter |
WO2018099182A1 (en) * | 2016-11-29 | 2018-06-07 | 广州视源电子科技股份有限公司 | Unidirectional element control circuit based on io interfaces |
CN111030673A (en) * | 2019-12-26 | 2020-04-17 | 中国电子科技集团公司第五十八研究所 | High-side driving circuit of high-voltage relay |
CN111030673B (en) * | 2019-12-26 | 2022-08-02 | 中国电子科技集团公司第五十八研究所 | High-side driving circuit of high-voltage relay |
CN111916310A (en) * | 2020-09-01 | 2020-11-10 | 珠海格力电器股份有限公司 | Relay control circuit and electric appliance |
CN111916310B (en) * | 2020-09-01 | 2021-07-20 | 珠海格力电器股份有限公司 | Relay control circuit and electric appliance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203617218U (en) | Circuit for driving two delays through single I/O port | |
CN203352423U (en) | Switching tube driving amplifying circuit for switching power supply | |
CN103401209B (en) | LED-backlit short-circuit protection circuit | |
CN203734532U (en) | Chopper circuit used for LED driver | |
CN203858468U (en) | Air conditioner standby power consumption control circuit and air conditioner | |
CN202996717U (en) | Relay drive circuit in resistance-capacitance voltage drop-down circuit | |
CN203259915U (en) | Single-chip microcomputer high-power PWM output circuit | |
CN207502953U (en) | Power supply sequencing control circuit | |
CN204425317U (en) | A kind of buffer circuit of servo-driver | |
CN202914850U (en) | Modified proportional valve drive return circuit | |
CN205265649U (en) | Control circuit based on triode switching action | |
CN204009465U (en) | For the relay pwm control circuit of panel type electronic thermostat | |
CN106160713B (en) | Quick switching device for magnetic field of magneto-optical trap in cold atom interference type gravimeter | |
CN204031111U (en) | Relay double drive protective circuit | |
CN203261314U (en) | Modulator circuit based on NAND gate integrated circuit | |
CN203894665U (en) | Power supply temperature compensating circuit for portable main station | |
CN205160351U (en) | Practical power supply circuit | |
CN203378104U (en) | Light modulation circuit | |
CN202014091U (en) | Expanded flow current-limiting protection circuit for ecological house | |
CN204516684U (en) | A kind of low-power relay holding circuit | |
CN203465834U (en) | Computer switch remote controller circuit | |
CN203882887U (en) | Energy-saving single-coil magnetic latching relay device with differential driving circuit | |
CN203364986U (en) | Automotive internal and external environment temperature display device | |
CN202677796U (en) | Backlight control circuit of liquid crystal television | |
CN203180874U (en) | Multi-site control switch based on decade counter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20140528 |
|
CX01 | Expiry of patent term |