SUMMERY OF THE UTILITY MODEL
The present application aims to provide a driving circuit and an electronic device, and aims to solve the problem of poor stability of the conventional driving circuit.
A first aspect of the embodiments of the present application provides a driving circuit, configured to perform isolated driving on a second power supply by using a first power supply, so as to control an output of the second power supply, where the driving circuit includes: the isolation control circuit is used for being connected with the first power supply, and is used for isolating a control signal input by the first power supply and then outputting a driving signal; the output circuit is connected with the isolation control circuit and the second power supply and is used for controlling the output of the second power supply according to the driving signal; and the synchronous circuit is respectively connected with the output circuit and the isolation control circuit and is used for controlling the level of the driving signal and the level of the control signal to synchronously change.
In one embodiment, the isolation control circuit includes a first voltage-dividing resistor, a first switch tube, a first unidirectional conductor, a second unidirectional conductor, and a second switch tube, a first end of the first voltage-dividing resistor is connected to the second power supply, a second end of the first voltage-dividing resistor is connected to a first conducting end of the first switch tube, a controlled end of the first switch tube is connected to the first power supply, and a second conducting end of the first switch tube is connected to a first reference ground; the second conduction end of the first switch tube is also connected with the anode of the first one-way conduction device, the cathode of the first one-way conduction device is connected with a second reference ground, the anode of the second one-way conduction device is connected with the second end of the first divider resistor, the cathode of the second one-way conduction device is connected with the controlled end of the second switch tube, and the first conduction end of the second switch tube is connected with the output circuit; the second conducting end of the second switch tube is connected with the second reference ground.
In an embodiment, the isolation control circuit further includes a second voltage-dividing resistor and a third voltage-dividing resistor, the second voltage-dividing resistor is connected in series between the controlled terminal of the second switch tube and the second reference ground, and the third voltage-dividing resistor is connected in series between the negative electrode of the first unidirectional conductor and the second reference ground.
In one embodiment, the isolation control circuit further includes a third unidirectional conductor; the positive electrode of the third unidirectional conductor is connected with the second end of the first divider resistor, and the negative electrode of the third unidirectional conductor is connected with the first conducting end of the first switch tube.
In one embodiment, the output circuit includes a third switching tube and a fourth switching tube, a first conducting end of the third switching tube is connected with the second power supply, a second conducting end of the third switching tube is respectively connected with the output end of the driving circuit and the first conducting end of the fourth switching tube, and a second conducting end of the fourth switching tube is connected with the second reference ground; the controlled end of the third switching tube and the controlled end of the fourth switching tube are both connected with the controlled end of the output circuit; the controlled end of the output circuit is connected with the first conduction end of the second switching tube; the third switching tube and the fourth switching tube have opposite conduction types.
In an embodiment, the synchronization circuit includes a fourth voltage-dividing resistor, a fifth voltage-dividing resistor, and a fifth switch tube, a first end of the fourth voltage-dividing resistor is connected to the second power supply, a second end of the fourth voltage-dividing resistor is connected to a first conducting end of the fifth switch tube, a second conducting end of the fifth switch tube is connected to the controlled end of the output circuit, the controlled end of the fifth switch tube is connected to the first conducting end of the first switch tube, and the fifth voltage-dividing resistor is connected in series between the first conducting end of the fifth switch tube and the controlled end of the fifth switch tube.
In one embodiment, the synchronous circuit further includes a sixth voltage-dividing resistor, a seventh voltage-dividing resistor, a fourth unidirectional conductor, and a fifth unidirectional conductor; the first end of the sixth divider resistor is connected with the controlled end of the fifth switch tube, the second end of the sixth divider resistor is connected with the anode of the fourth one-way switch-on device, the cathode of the fourth one-way switch-on device is connected with the first conducting end of the first switch tube, the first end of the seventh divider resistor is connected with the second conducting end of the fifth switch tube, the second end of the seventh divider resistor is connected with the anode of the fifth one-way switch-on device, and the cathode of the fifth one-way switch-on device is connected with the controlled end of the output circuit.
In an embodiment, the output circuit further includes an output voltage dividing resistor, and the output voltage dividing resistor is connected in series between the second conducting terminal of the third switching tube and the output terminal of the driving circuit.
In one embodiment, the isolation control circuit further includes an eighth voltage-dividing resistor and a ninth voltage-dividing resistor; the eighth voltage-dividing resistor is connected in series between the first power supply and the controlled end of the first switching tube; the ninth voltage-dividing resistor is connected in series between the controlled end of the first switch tube and the first reference ground.
A second aspect of embodiments of the present application provides an electronic device, comprising a first power source and a second power source, and a driving circuit as described above connected to the first power source and the second power source.
Compared with the prior art, the embodiment of the application has the advantages that: the control signal output by the first power supply can enable the isolation control circuit to output a corresponding driving signal, and the driving signal can control the output circuit so as to be used for carrying out isolation driving on the second power supply. Meanwhile, the synchronous circuit can synchronously control the level of the driving signal according to the level of the control signal, so that when the isolation control circuit outputs the driving signal for switching off the output circuit according to the control signal, the synchronous circuit also controls the driving signal according to the control signal, the output of the output circuit can be ensured to be consistent with the control signal input by the first power supply, and the problem of unstable output caused by interference is avoided.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 shows a schematic block diagram of a driving circuit provided in a first embodiment of the present application, and for convenience of explanation, only the parts related to this embodiment are shown, and detailed descriptions are as follows:
as shown in fig. 1 and fig. 2, a driving circuit for performing isolated driving on a second power supply 50 by using a first power supply 40 to control an output of the second power supply 50 includes an isolation control circuit 100, an output circuit 200, and a synchronization circuit 300.
The isolation control circuit 100 may be connected to the first power source 40, and the isolation control circuit 100 may isolate the control signal input by the first power source 40 and then output the driving signal, so as to avoid mutual influence between the first power source 40 and the second power source 50. The output circuit 200 is connected to the isolation control circuit 100 and the second power supply 50, respectively, and the output circuit 200 can control the output of the second power supply 50 according to the driving signal. The present embodiment can control the output of the second power supply 50 by controlling the on/off of the output circuit 200, for example, when the output circuit 200 receives a driving signal for turning off the output circuit 200, the output circuit 200 is immediately turned off, so that the second power supply 50 stops outputting. The synchronization circuit 300 is connected to the output circuit 200 and the isolation control circuit 100, and the synchronization circuit 300 is used to control the level of the driving signal and the level of the control signal to change synchronously.
When the output driving signal of the isolation control circuit 100 is unstable due to unexpected interference, for example, when the second power supply 50 is controlled to turn off the output, other power supply circuits also stop supplying power to the second power supply 50, so that the second power supply 50 also gradually decreases, and in the process of decreasing the second power supply 50, if a synchronization circuit is not provided, the decreased second power supply 50 may flip the level signal of the controlled end of the output circuit 200, thereby causing the output voltage to flip. The synchronous circuit 300 can turn off the influence of the part, thereby ensuring that the output of the output circuit 200 can keep consistent with the control signal input by the first power supply 40 and avoiding the unstable output caused by interference.
As shown in fig. 2, in the present embodiment, the isolation control circuit 100 includes a first voltage dividing resistor R1, a first switch Q1, a first unidirectional conductor D1, a second unidirectional conductor D2, and a second switch Q2. A first end of the first voltage-dividing resistor R1 is connected to the second power supply 50, a second end of the first voltage-dividing resistor R1 is connected to a first conducting end of the first switch tube Q1, a controlled end of the first switch tube Q1 is connected to the first power supply 40, a second conducting end of the first switch tube Q1 is connected to the first ground GND1, a second conducting end of the first switch tube Q1 is further connected to an anode of the first unidirectional conductor D1, a cathode of the first unidirectional conductor D1 is connected to the second ground GND2, an anode of the second unidirectional conductor D2 is connected to a second end of the first voltage-dividing resistor R1, a cathode of the second unidirectional conductor D2 is connected to a controlled end of the second switch tube Q2, and a first conducting end of the second switch tube Q2 is connected to a controlled end of the output circuit 200; a second conducting terminal of the second switch Q2 is connected to a second ground reference GND 2. Wherein the second ground reference GND2 corresponds to the second power supply 50. The first and second one-way conductors D1 and D2 may be diodes. The first switch tube Q1 and the second switch tube Q2 may be MOS tubes, and specifically, the first switch tube Q1 and the second switch tube Q2 may be NMOS tubes, drains of the NMOS tubes may correspond to first conducting ends of the first switch tube Q1 and the second switch tube Q2, sources of the NMOS tubes may correspond to second conducting ends of the first switch tube Q1 and the second switch tube Q2, and gates of the NMOS tubes may correspond to controlled ends of the first switch tube Q1 and the second switch tube Q2.
It should be noted that, when the control signal is at a high level, the synchronous circuit 300 and the first switch Q1 are both turned on, the second switch Q2 is turned off, and at this time, the first conducting terminal of the second switch Q2 is connected to the second power supply 50 and becomes a high level, that is, the isolation control circuit 100 outputs a high-level driving signal, so that the output circuit 200 is turned on. When the control signal is at a low level, the synchronous circuit 300 and the first switch Q1 are both turned off, the second switch Q2 is turned on, and at this time, the first conducting terminal of the second switch Q2 is connected to the second reference ground GND2 and becomes at a low level, i.e., the isolation control circuit 100 outputs a low-level driving signal to turn off the output circuit 200.
The isolation control circuit 100 realizes circuit isolation through the first unidirectional conductor D1 and the second unidirectional conductor D2, and can realize isolation control of the first power supply 40 on the output circuit 200, that is, isolation driving of the first power supply 40 on the second power supply 50.
As shown in fig. 2, in the present embodiment, the isolation control circuit 100 further includes a second voltage-dividing resistor R2 and a third voltage-dividing resistor R3, the second voltage-dividing resistor R2 is connected in series between the controlled terminal of the second switch Q2 and the second ground GND2, and the third voltage-dividing resistor R3 is connected in series between the cathode of the first unidirectional conductor D1 and the second ground GND 2. The specific resistance values of the second voltage-dividing resistor R2 and the third voltage-dividing resistor R3 may be configured according to the first voltage-dividing resistor R1, so that when the first switch tube Q1 is turned off, the voltage across the second voltage-dividing resistor R2 is at a high level sufficient to turn on the second switch tube Q2; when the first switch tube Q1 is turned on and the third voltage-dividing resistor R3 is connected in parallel with the second voltage-dividing resistor R2, the voltage across the second voltage-dividing resistor R2 decreases, so that the second switch tube Q2 is turned off.
As shown in fig. 2, in the present embodiment, the isolation control circuit 100 further includes a third unidirectional conductor D3. The third unidirectional conductor D3 is connected in series between the second terminal of the first voltage-dividing resistor R1 and the first conducting terminal of the first switch Q1, specifically, the positive electrode of the third unidirectional conductor D3 is connected to the second terminal of the first voltage-dividing resistor R1, and the negative electrode of the third unidirectional conductor D3 is connected to the first conducting terminal of the first switch Q1. The third unidirectional conductor D3 may be a diode, and the third unidirectional conductor D3 is used to prevent the leakage current of the first switch Q1 from affecting the second power supply 50 and the output circuit 200.
As shown in fig. 2, in the present embodiment, the output circuit 200 includes a third switch transistor Q3 and a fourth switch transistor Q4. A first conducting end of the third switching tube Q3 is connected to the second power supply 50, a second conducting end of the third switching tube Q3 is connected to the output end OUT of the driving circuit and the first conducting end of the fourth switching tube Q4, respectively, and a second conducting end of the fourth switching tube Q4 is connected to the second ground reference GND 2; the controlled end of the third switching tube Q3 and the controlled end of the fourth switching tube Q4 are both connected to the controlled end of the output circuit 200, and the controlled end of the output circuit 200 is connected to the first conducting end of the second switching tube Q2; the third switch tube Q3 and the fourth switch tube Q4 have opposite conduction types. The third switching tube Q3 and the fourth switching tube Q4 may be triodes, specifically, the third switching tube Q3 may be an NPN triode, and the fourth switching tube Q4 may be a PNP triode. The collector of the NPN transistor corresponds to the first conducting terminal of the third switching transistor Q3, the emitter of the NPN transistor corresponds to the second conducting terminal of the third switching transistor Q3, and the base of the NPN transistor corresponds to the controlled terminal of the third switching transistor Q3. The emitter of the PNP triode corresponds to the first conducting end of the fourth switch tube Q4, the collector of the PNP triode corresponds to the second conducting end of the fourth switch tube Q4, and the base of the PNP triode corresponds to the controlled end of the fourth switch tube Q4. When the output circuit 200 receives a high-level driving signal, the third switching tube Q3 is turned on, and the fourth switching tube Q4 is turned off, so that the second power supply 50 is communicated with the output end OUT of the driving circuit, thereby realizing the output of the second power supply 50; when the output circuit 200 receives a low-level driving signal, the third switching tube Q3 is turned off, and the fourth switching tube Q4 is turned on, so that the second ground reference GND2 is communicated with the output terminal OUT of the driving circuit, thereby stopping the output of the second power supply 50.
As shown in fig. 2, in the present embodiment, the synchronous circuit 300 includes a fourth voltage-dividing resistor R4, a fifth voltage-dividing resistor R5, and a fifth switching transistor Q5. A first end of the fourth voltage-dividing resistor R4 is connected to the second power supply 50, a second end of the fourth voltage-dividing resistor R4 is connected to a first conducting end of the fifth switch Q5, a second conducting end of the fifth switch Q5 is connected to the controlled end of the output circuit 200, the controlled end of the fifth switch Q5 is connected to the first conducting end of the first switch Q1, and the fifth voltage-dividing resistor R5 is connected in series between the first conducting end of the fifth switch Q5 and the controlled end of the fifth switch Q5. The fifth switching tube Q5 may be a transistor, and specifically, the fifth switching tube Q5 may be a PNP transistor, an emitter of the PNP transistor corresponds to the first conducting terminal of the fifth switching tube Q5, a collector of the PNP transistor corresponds to the second conducting terminal of the fifth switching tube Q5, and a base of the PNP transistor corresponds to the controlled terminal of the fifth switching tube Q5.
When the control signal controls the first switch Q1 to be turned on, the first turn-on terminal of the first switch Q1 (the controlled terminal of the fifth switch Q5) is at a low level, and the fifth switch Q5 is turned on, i.e., the synchronous circuit 300 is turned on. When the control signal controls the first switch tube Q1 to turn off, the controlled terminal of the fifth switch tube Q5 and the isolation control circuit 100 are equally opened, so that the fifth switch tube Q5 is turned off, that is, the synchronous circuit 300 is turned off, and at the same time, the controlled terminal of the second switch tube Q2 is turned on by the high level signal generated by the second power supply 50, so as to pull the level of the controlled terminal of the output circuit low, and at this time, the third switch tube Q3 is turned off and the fourth switch tube Q4 is turned on, so as to ensure that the output terminal OUT outputs a low level signal, that is, the output of the second power supply 50 is turned off. In some circuits, after the output of the second power supply 50 is turned off, the second power supply 50 will stop outputting, that is, the second power supply 50 will gradually decrease from the original voltage, but due to the existence of the synchronization circuit 300, even if the voltage of the second switch Q2 decreases with the decrease of the voltage of the controlled terminal of the second power supply 50, which causes the second switch Q2 to change from the on state to the off state, the fifth switch Q5 in the synchronous circuit 300 will block the pulled-down second power supply 50 from flowing into the controlled terminal of the output circuit 200, and will not change the voltage of the controlled terminal of the output circuit 200, therefore, the voltage of the controlled end of the output circuit 200 can be ensured to be synchronous with the control signal output by the first power supply 40, the output voltage of the output circuit 200 is not disturbed by the second power supply 50 to generate unstable change, and the output stability of the output circuit 200 is improved.
As shown in fig. 2, in the present embodiment, the synchronous circuit 300 further includes a sixth voltage-dividing resistor R6, a seventh voltage-dividing resistor R7, a fourth unidirectional conductor D4, and a fifth unidirectional conductor D5. The first end of the sixth voltage-dividing resistor R6 is connected to the controlled end of the fifth switch Q5, the second end of the sixth voltage-dividing resistor R6 is connected to the anode of the fourth unidirectional conductor D4, the cathode of the fourth unidirectional conductor D4 is connected to the first conduction end of the first switch Q1, the first end of the seventh voltage-dividing resistor R7 is connected to the second conduction end of the fifth switch Q5, the second end of the seventh voltage-dividing resistor R7 is connected to the anode of the fifth unidirectional conductor D5, and the cathode of the fifth unidirectional conductor D5 is connected to the controlled end of the output circuit 200. The fourth one-way conductor D4 and the fifth one-way conductor D5 may be diodes for electrical isolation.
As shown in fig. 2, in the present embodiment, the output circuit 200 further includes an output voltage dividing resistor R10, and the output voltage dividing resistor R10 is connected in series between the second conducting terminal of the third switching transistor Q3 and the output terminal OUT of the driving circuit, so as to regulate the output voltage.
As shown in fig. 2, in the present embodiment, the isolation control circuit 100 further includes an eighth voltage dividing resistor R8 and a ninth voltage dividing resistor R9; the eighth voltage dividing resistor R8 is connected in series between the first power supply 40 and the controlled end of the first switch tube Q1; the ninth voltage-dividing resistor R9 is connected in series between the controlled terminal of the first switch tube Q1 and the first ground GND1, and the eighth voltage-dividing resistor R8 and the ninth voltage-dividing resistor R9 are used for adjusting the voltage output by the first power source 40 to the first switch tube Q1. The first ground reference GND1 corresponds to the first power supply 40.
The second embodiment of the present application provides an electronic device, which includes a first power source 40 and a second power source 50, and a driving circuit as in the above embodiments connected to the first power source 40 and the second power source 50. The electronic device of this embodiment may be a power supply device, an energy storage device, or an electrical device, and this embodiment does not limit the type of the electronic device.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.