The utility model content
The purpose of this utility model is in order to solve problem that prior art exists, rationally efficiently to utilize limited resources of chip, a kind of Dual-relay drive circuit is provided,
The purpose of this utility model can reach by taking following technical scheme:
A kind of Dual-relay drive circuit, its design feature is: comprise the first relay drive circuit, the second relay drive circuit and control circuit; Control circuit is provided with a public input end C and two control loops, the output terminal of one of control loop connect the first relay drive circuit input end, form the first relay drive circuit, two output terminal of control loop connects the input end of the second relay drive circuit, forms the second relay drive circuit; Described public input end is switched on or switched off by the relay in described two relay drive circuits of external one road I/O signal driver.
The purpose of this utility model can also reach by taking following technical scheme:
A kind of Technological improvement plan of the present utility model is: relay R LY1 and RLY2, switching diode D1 and D2, triode Q1~Q4, resistance R 1~R10, capacitor C 1, C2 and stabilivolt ZD1; Described the first relay drive circuit is connected to form by relay R LY1, diode D1, triode Q1, capacitor C 1 and resistance R 1, R2, described the first relay drive circuit is connected to form by relay R LY2, diode D2, triode Q3, capacitor C 2 and resistance R 6, R7, and described control circuit is connected and composed by triode Q2, Q4, resistance R 3~R5, R8~R10 and stabilivolt ZD1; Wherein, triode Q2, resistance R 3~R5 connect and compose one of control loop, and the current collection of triode Q2 is the output terminal of one of control loop very; Triode Q4, R8~R10 and stabilivolt ZD1 connect and compose two of control loop, and the current collection of triode Q2 is two output terminal of control loop very.
A kind of Technological improvement plan of the present utility model is: in described the first relay drive circuit, the collector of triode Q1 is connected the 12V power supply by relay R LY1 with switching diode D1 and joint group, the grounded emitter of triode Q1, triode Q1 base stage is by the output terminal of resistance R 2 connecting triode Q2, and the two ends of resistance R 2 are respectively by resistance R 1, capacitor C 1 ground connection.
A kind of Technological improvement plan of the present utility model is: in described the second relay drive circuit, the collector of triode Q3 is connected the 12V power supply by relay R LY2 with switching diode D2 and joint group, the grounded emitter of triode Q3, triode Q3 base stage is by the output terminal of resistance R 7 connecting triode Q4, and the two ends of resistance R 7 are respectively by resistance R 6, capacitor C 2 ground connection.
A kind of Technological improvement plan of the present utility model is: in the described control circuit, the output terminal of triode Q2 connects the input end of the first relay drive circuit, and the input end of triode Q2 connects public input end C by resistance R 3, R5, consists of one of control loop; The output terminal of triode Q4 connects the input end of the second relay drive circuit, and the input end of triode Q4 connects public input end C by resistance R 9, stabilivolt ZD1, consists of two of control loop.
A kind of Technological improvement plan of the present utility model is: described triode Q1, Q3 and Q4 are NPN type triode.
A kind of Technological improvement plan of the present utility model is: described triode Q2 is the positive-negative-positive triode
The beneficial effects of the utility model are:
1, the utility model forms two road control loops with an I/O mouth as signal input part, thereby controls two relays, to reach the purpose of efficiently utilizing I/O mouth resource.Have simple and reliable, the easy realization of circuit, lower-cost characteristics.This Dual-relay drive circuit is made of simple three modular circuits, with an I/O mouth input control signal, processes the rear control that realizes two relays by control circuit, efficiently utilizes the purpose of the resource of chip I/O mouth with lower cost realization.
2, the utility model circuit-line is simple, uses components and parts few, and cost is lower, comes the switch on and off of pilot relay by an I/O mouth input control signal, realizes efficiently utilizing the purpose of chip I/O mouth resource.
Embodiment
Below in conjunction with drawings and Examples the utility model is described in further detail:
Specific embodiment 1:
With reference to Fig. 1, present embodiment comprises the first relay drive circuit 1, the second relay drive circuit 2 and control circuit 3; Control circuit 3 is provided with a public input end C and two control loops, the output terminal of one of control loop connect the first relay drive circuit 1 input end, form the first relay drive circuit, two output terminal of control loop connects the input end of the second relay drive circuit 2, forms the second relay drive circuit; Described public input end is switched on or switched off by the relay in described two relay drive circuits of external one road I/O signal driver.
In the present embodiment,
Relay R LY1 and RLY2, switching diode D1 and D2, triode Q1~Q4, resistance R 1~R10, capacitor C 1, C2 and stabilivolt ZD1; Described the first relay drive circuit 1 is connected to form by relay R LY1, diode D1, triode Q1, capacitor C 1 and resistance R 1, R2, described the first relay drive circuit 1 is connected to form by relay R LY2, diode D2, triode Q3, capacitor C 2 and resistance R 6, R7, and described control circuit 3 is connected and composed by triode Q2, Q4, resistance R 3~R5, R8~R10 and stabilivolt ZD1; Wherein, triode Q2, resistance R 3~R5 connect and compose one of control loop, and the current collection of triode Q2 is the output terminal of one of control loop very; Triode Q4, R8~R10 and stabilivolt ZD1 connect and compose two of control loop, and the current collection of triode Q2 is two output terminal of control loop very.
In described the first relay drive circuit 1, the collector of triode Q1 is connected the 12V power supply by relay R LY1 with switching diode D1 and joint group, the grounded emitter of triode Q1, triode Q1 base stage is by the output terminal of resistance R 2 connecting triode Q2, and the two ends of resistance R 2 are respectively by resistance R 1, capacitor C 1 ground connection.In described the second relay drive circuit 2, the collector of triode Q3 is connected the 12V power supply by relay R LY2 with switching diode D2 and joint group, the grounded emitter of triode Q3, triode Q3 base stage is by the output terminal of resistance R 7 connecting triode Q4, and the two ends of resistance R 7 are respectively by resistance R 6, capacitor C 2 ground connection.In the described control circuit 3, the output terminal of triode Q2 connects the input end of the first relay drive circuit 1, and the input end of triode Q2 connects public input end C by resistance R 3, R5, consists of one of control loop; The output terminal of triode Q4 connects the input end of the second relay drive circuit 2, and the input end of triode Q4 connects public input end C by resistance R 9, stabilivolt ZD1, consists of two of control loop.
Described triode Q1, Q3, Q4 are common NPN type triode.The model of described Q2 is common positive-negative-positive triode.Pipe D1 and pipe D2 are the regular tap diode.
The principle of work of present embodiment:
With reference to Fig. 1, resistance R 4, R5, R10 forms bleeder circuit, and its common node meets respectively voltage stabilizing diode ZD1 mouth and R3.The base stage b of R3 connecting triode Q2, the collector of Q2 connects the 5V power supply, and emitter e connects the resistance R 2 of relay drive circuit 1, and capacitor C 1 is connected between the emitter e and ground of Q2.Voltage stabilizing diode ZD1 is connected an end and is connected with R9, R9 and R8 receive triode Q4 base stage b, the collector of Q4 connects the 5V power supply, emitter e connects the resistance R 7 of relay drive circuit 2, capacitor C 2 is connected between the emitter e and ground of Q4.The resistance R 1 of relay drive circuit 1 and R2 meet the base stage b of triode Q1, and the emitter e ground connection of Q1 is connected between the collector c of 12V power supply and Q1 after relay R LY1 and the switching diode D1 parallel connection again.The resistance R 6 of relay drive circuit 2 and R7 meet the base stage b of triode Q3, and the emitter e ground connection of Q3 is connected between the collector c of 12V power supply and Q3 after relay R LY2 and the switching diode D2 parallel connection.
Component parameters explanation: R4: R5: R10=1: 2: 14, R9: R10=1: 2, the dead band voltage of triode is 0.7V, voltage stabilizing diode voltage stabilizing value V=3.3V, IO mouth circuit working state under different conditions has 3 kinds.
With reference to Fig. 1, the IO mouth is made as difference and inputs or outputs, and circuit has 3 kinds of different duties:
1, IO mouth is made as input: this moment, the B point voltage was 5V* (2+14)/(1+2+14)=4.7V, thus the Q2 cut-off, the Q1 cut-off, relay R LY1 disconnects; Because the IO mouth is input, no matter it is high or low level, and the A point voltage is 0, thus the Q4 cut-off, the Q3 cut-off, relay R LY2 disconnects.
2, IO mouth output high level: this moment B point voltage 5V, so the Q2 cut-off, the Q1 cut-off, relay R LY2 disconnects; Because the IO mouth is the output high level, the A point voltage is (5V-3.3V) * 2/ (1+2)=1.1V, thus the Q4 conducting, Q3 conducting, relay R LY2 adhesive.
3, IO mouth output low level: this moment B point voltage 5V*2/ (1+2)=3.3V, so the Q2 conducting, Q1 conducting, relay R LY1 adhesive; Since IO mouth output low level, so the A point voltage is 0V, the Q4 cut-off, the Q3 cut-off, relay R LY2 disconnects.
The utility model is to export control signal with an IO mouth, realizes the control to two relays after processing by control circuit, efficiently utilizes the purpose of the resource of chip I/O mouth with lower cost realization.
The above; it only is the better specific embodiment of the utility model; but protection domain of the present utility model is not limited to this; anyly be familiar with those skilled in the art in the scope that the utility model discloses; be equal to replacement or change according to the technical solution of the utility model and utility model design thereof, all belonged to protection domain of the present utility model.