Background of the Invention
This invention relates to an H-switch circuit in use, for example, for driving a DC motor in a forward or reverse direction.
This type of H-switch for controlling the rotation of a DC motor is disclosed in Japanese Patent Disclosure (KOKAI) No. 56-66932, for example. The H-switch is comprised of two pairs of transistors with the emitter-collector paths connected in series between two power sources. Nodes between the emitter-collector paths of the paired transistors are used as output terminals of the switch circuit. The rotating direction of the DC motor is controlled according to the signals applied to the bases of the two pairs of transistors.
In the H-switch circuit, an overcurrent may accidentally flow through the output transistors. If the overcurrent flow continues for more than a given time, the circuit will overheat, leading to the breakdown of the H-switch. Short-circuiting, which is one of the causes of an overcurrent flow in the H-switch circuit, is typically found at some specific circuit locations. In the prior art, H-switch circuit shown in FIG. 1, for example, these locations are:
(1) A load 13 connected between the first and second output terminals 11 and 12.
(2) A path between the first or second output terminals 11 or 12, and a power source V.sub.EE.
(3) A path between the first or second output terminal and a power source V.sub.cc.
In the case of (1) above, the overcurrent flows from Q1 to Q4, or Q3 to Q2. In the case of (2) above, it flows through Q1 or Q3. In the case of (3), it flows through the transistor Q2 or Q4. So far as is known, there has never been an H-switch circuit capable of completely preventing the generation of an overcurrent at various nodes.
Summary of the Invention
Accordingly, an object of the present invention is to provide an H-switch circuit with an overcurrent protection circuit which can protect all the output transistors from an overcurrent and has a relatively simple circuit arrangement.
According to the present as embodied and broadly described herein invention, the H-switch circuit comprises first to fourth output transistors each with an emitter, base and collector, the emitter-collector paths of the first and second output transistors connected in series between first and second reference power sources, the emitter-collector paths of the third and fourth output transistors connected in series between said first and second reference power sources, a node between the emitter-collector paths of said first and second output transistors connected to a first output terminal and another node between the emitter-collector paths of said third and fourth output transistors connected to a second output terminal; control means for supplying switching control signals to the bases of said first to fourth output transistors in response to received input signals to control the conduction states of said first to fourth output transistors, and for turning-off said first to fourth output transistors upon a detected overcurrent condition; means for detecting an overcurrent flowing through at least one of said first to fourth output transistors and generating an output signal when detecting that an overcurrent is flowing through at least one of said first to fourth output transistors; means responsive to said output signal for supplying a control signal to said control means for a preset period of time to cause said control means to supply turn-off signals to said first to fourth output transistors for a preset period of time irrespective of the state of said input signals, said control means again supplying switching control signals in accordance with said input signals after said preset period of time has elapsed.
With such an arrangement, all the output transistors may be protected from the overcurrent. The overcurrent-protection period is much longer than the overcurrent-detecting period. This indicates that the heat generated from the switch circuit is small. Further, the output transistors are turned off while at the same time the operating state of the integrating circuit is automatically inverted. This feature implies that there is no need for a separate operation to restore the normal operation of the circuit.
Brief Description of the Drawings
Other objects and advantages of the invention will be apparent from the following description taken in connection with the accompanying drawings in which:
FIG. 1 is a circuit arrangement of a prior H-switch circuit;
FIG. 2 is a circuit arrangement of an H-switch circuit constructed according to the present invention;
FIG. 3 shows waveforms useful in explaining the operation of the circuit in FIG. 2; and
FIG. 4 is a circuit arrangement of another H-switch circuit according to the present invention.
Detailed Description of the Preferred Embodiments
An embodiment of this invention will be described referring to FIG. 2. In FIG. 2, V.sub.cc1, V.sub.cc2 and V.sub.EE are power sources. Q1 to Q4 are output transistors. Overcurrent-detecting resistor pairs (R11, R12), (R21, R22), (R31, R32) and (R41, R42) are respectively connected across the base-emitter paths of these output transistors, as shown. The transistors Q2 and Q2' and Q4 and Q4' are connected in a Darlington fashion. A collector output of a second transistor Q12 is applied to the base of the transistor Q2' to drive it. The transistor Q12 is connected at the base to a second voltage input terminal 2, by way of a resistor R23. The emitter of the transistor Q12 is connected to the power source V.sub.EE (ground terminal). The collector of the same is connected to the power source V.sub.cc1, through a transistor Q32 for a bias current source.
A first input transistor Q11 is connected at the base through a base resistor R13 to a first voltage input terminal 1. The same transistor is grounded at the emitter, and is connected at the collector to the power source V.sub.cc1, via a transistor Q31, for a bias current source. The collector output of the first input transistor Q11 is applied to the base of the output transistor Q1, through a Q1 drive circuit 50 composed of transistors (Q51, Q52, Q53) and (Q54, Q55, Q56) each forming a current mirror circuit, and resistors R51, R52 and R53.
A third input transistor Q13 is connected at the base through a resistor R33 to a third voltage input terminal 3. The same transistor is connected at the emitter to ground and at the collector to the power source V.sub.cc1, via a transistor Q33 for a bias current source. The collector output of the third input transistor Q13 is applied to the base of the output transistor Q3, through a Q3 drive circuit 60 composed of transistors (Q61, Q62, Q63) and (Q64, Q65, Q66) each forming a current mirror circuit, and resistors R61, R62 and R63.
A fourth input transistor Q14 is connected at the base through a resistor R43 to a fourth voltage input terminal 4. The same transistor is connected at the emitter to ground and at the collector to the power source V.sub.cc1, via a transistor Q34 for a bias current source. The collector output of the fourth input transistor Q14 is applied as a drive input to the base of the transistor Q4'.
In order to detect an overvoltage drop across the resistor R11, the base-emitter path of a transistor Q15 is connected across the resistor R11, and the collector of the transistor Q15 is grounded through the resistors R15 and R16 in this order. A first detecting transistor Q21 is connected at the base to a node between the resistors R15 and R16. The same transistor is connected at the emitter to ground and at the collector to an overcurrent detecting line 20.
In order to detect an overvoltage drop across the resistor R31, the base-emitter path of a transistor Q16 is connected across the resistor R31 and the collector of the transistor is grounded through the resistors R35 and R36 in this order. A third detecting transistor Q23 is connected at the base to a node between the resistors R35 and R36. The same transistor is connected at the emitter to ground and at the collector to the overcurrent detecting line 20.
In order to detect an overvoltage drop across the resistor R22, the second detecting transistor Q22 is connected at the base to a node between resistors R21 and R22, at the emitter to ground and at the collector to the overcurrent detecting line 20.
In order to detect an overvoltage drop across the resistor R42, a fourth detecting transistor Q24 is connected at the base to a node between resistors R41 and R42, at the emitter to ground and at the collector to the overcurrent detecting line 20.
In an integrating circuit 70, a transistor Q71 is connected at the base to the overcurrent detecting line 20 and to the power source V.sub.cc1 via a resistor R71. The collector of the same transistor is connected to the base of a transistor Q72 and to the collector of a transistor Q73 for a current source. The transistor Q72 is connected at the collector to the power source V.sub.cc1. The emitter of the same transistor is connected to the base of a transistor Q74 and to the collector of a transistor Q75 and to ground by the way of a capacitor C. The emitter and the base of the transistor Q75 are grounded together, and the emitter of the transistor Q74 is connected to the collector of a transistor Q76 for a current source. The transistor Q76 for the current source is connected at the emitter to ground through a resistor R72, and is connected at the base to a bias power source V.sub.B1 of 0.7 V, for example, together with the base of the transistor Q73 for the current source. The emitter of the transistor Q73 is grounded through a resistor R73. The collector of the transistor Q74 is connected to the collector of the transistor Q77 of which the emitter and base are connected to the power source V.sub.cc1.
In the bias current source circuit 80, the base of the transistor Q81 is connected to the collector of the transistor Q77. A transistor Q82 is provided so as to form an equivalent pnp transistor together with the transistor Q81. The transistor Q81 is connected at the emitter to the power source V.sub.cc1, and at the collector to the base of the transistor Q82. The transistor Q82 is connected at the collector to the power source V.sub.cc1, and has a resistor 81 between the base and emitter. The emitter of the transistor Q82 is connected to the emitter of the transistor Q82 and the collector of the transistor Q84. The base of the current source transistor Q84 is connected to the bias source V.sub.B2 of 1.2 V, for example, and its emitter is grounded by way of a resistor R82. The transistor Q83 has its base and collector connected together, and further connected to the base of the transistor Q85 and the collector of the transistor Q86. The transistor Q86 is connected at the emitter to the power source V.sub.cc1 via a resistor R83, and at the base to the node between resistors R84 and R85. The other end of the resistor R84 is connected to the power source V.sub.cc1 and the other end of the resistor R85 is connected to the emitter of the transistor Q85. The collector of the transistor Q85 is grounded. A node between the resistors R84 and R85 is connected to the bases of the transistors Q31 to Q34 as bias current sources.
The power source V.sub.cc1 is used for the logic circuit and the power source V.sub.cc2 for the output transistors. These are equivalent to the V.sub.cc in FIG. 1, and V.sub.cc2 is larger than V.sub.cc1. The H switch with an overcurrent-protection circuit is fabricated into an integrated circuit. The load 13 is connected between the output terminals 11 and 12.
The operation of the H switch, whose structure has been previously described, will now be described referring to FIG. 3. Assume now that the input voltages V.sub.in1 and V.sub.in4 at the first and fourth input terminals 1 and 4 are "L" (logical "0"), while the input voltages V.sub.in2 and V.sub.in3 at the second and third input terminals 2 and 3 are "H"(logical "1"). On this assumption, the first input transistor Q11 is turned off, the transistor Q56 in the Q1 drive circuit 50 is turned on, and the output transistor Q1 is turned on. Further, the fourth input transistor Q14 is turned off, and the output transistors Q4' and Q4 are turned on by the transistor Q34. At this time, the second input transistor Q12 is turned on and the output transistors Q2' and Q2 are turned off. Additionally, the third transistor Q13 is turned on and the transistor Q66 of the Q3 drive circuit 60 is turned off, so that the output transistor Q3 is turned off. Under this condition, current flows from the transistor Q1 to the transistor Q4 through the load circuit 13. Conversely, when the input voltages V.sub.in1 and V.sub.in4 are "H", but the input voltages V.sub.in2 and V.sub.in3 are "L", the output transistors Q1 and Q4 are turned off but the transistors Q2 and Q3 are turned on, through a process similar to the above. Accordingly, current flows from the transistor Q3 to the transistor Q2 through the load circuit 13.
Let us consider a specific example in which a short-circuit current of approximately 1 A flows through one of the output transistors Q1 to Q4. In this case, the base-emitter voltage V.sub.BE of this transistor is about 1 V (in the case of the integrated transistor) and is larger than the base-emitter voltage V.sub.BE (about 0.7 V) of a transistor through which the short-circuit current does not flow. Accordingly, any one of the resistors (R11, R12), (R21, R22), (R31, R32) and (R41, R42) may detect the large voltage V.sub.BE, and any of the transistors (Q15, Q21), Q22, (Q16, Q23) and Q24 may be turned on. In the integrating circuit 70, the transistor Q71 and the transistor Q72 are turned on in succession. The capacitor C is rapidly charged, so that the base voltage of the transistor Q74 rapidly rises to the voltage of the power source V.sub.cc1, as illustrated in FIG. 3. At this time, the transistor Q74 is driven by the transistor Q72 and turned on.
In the current source circuit 80, the transistors Q81 and Q82 are turned on, while the transistors Q85 and Q86 are turned off. The output voltage at the node between the resistors R84 and R85 rises. Therefore, the transistors Q31 to Q34 are in an off state. The output transistors Q1 to Q4 are turned or left OFF, that is, these transistors are in an overcurrent-prohibiting condition. The overcurrent-detecting transistors Q21 to Q24 are turned off, as are the transistors Q71 and Q72 in the integrating circuit 70. Then, the charge stored in the capacitor C is gradually discharged therefrom as the base current of the transistor Q74. If the current of the transistor Q76 is about 10 .mu.A and the common emitter current amplification factor .beta. of the transistor Q74 is about 100, the base current I.sub.B is about 0.1 .mu.A. A discharge time T of the integrated capacitor C, which represents the time until the voltage across the capacitor drops to 0 V, is
where C is a capacitance of the capacitor C and Vo is the charge voltage of the capacitor C and nearly equal to V.sub.cc1. If the capacitance C is 10 pF and the charge voltage Vo=10 V, the discharge time T is
During the time that the base voltage of the transistor Q74 slowly drops, as above, the transistor Q74 remains in the ON state. As previously stated, the output voltage of the current source circuit 80 is raised. The output transistors Q1 to Q4 are in an overcurrent-prohibiting condition.
When the discharge of the capacitor C terminates and the transistor Q74 is turned off, the transistors Q81 and Q82 are then turned off and the transistors Q85 and Q86 are in an active state in the current source circuit 80. The result is that the output voltage drops to a predetermined value and the current source transistors Q31 to Q34 are in an active state. At this time, if the cause of the overcurrent has been removed, the H-switch circuit is restored to its normal state and is ready for detecting another overcurrent problem. On the other hand, if the overcurrent problem continues, the overcurrent-detecting operation will be repeated intermittently.
In the circuit as mentioned above, the overcurrent-prohibiting period (discharge period of the capacitor C) is sufficiently longer than the overcurrent-detecting period (charge period of the capacitor C) T'. Because of this feature, the output transistors Q1 to Q4 are prevented from being damaged, and a lesser amount of power is consumed, resulting in negligible heating of the integrated circuit.
It is assumed that of the output transistors Q1 to Q4, the shorted transistor has a peak current Ip of 1 A, the charge period T' of the integrated capacitor is 10 .mu.s, and the discharge period T is 1 ms. An average current Ia, in this case, is
In order to attain the objective of the H-switch circuit, the output transistors Q1 to Q4 at least have to be set in an OFF state according to the operating state of the integrating circuit 70. In this case, the effect attained by turning off the overcurrent-detecting transistors Q21 to Q24 according to the operating state of the integrating circuit 70 may of course be attained by inverting the operating state of the integrating circuit 70.
As described above, in the H-switch circuit with an overcurrent-protection circuit according to the present invention, the base-emitter voltages of the output transistors are respectively detected by the corresponding overcurrent-detecting transistors. The outputs of the overcurrent-detecting transistors are logically summed. The logical sum obtained is then used to control the charge/discharge operation of the integrating circuit. The integrating circuit produces a control signal according to the charge/discharge operating state. With this control signal, the output transistors are turned off and at the same time the operating state of the integrating circuit is inverted. The H-switch thus arranged allows an overcurrent-detecting operation to be intermittently performed. The H-switch may be realized by a relatively simple circuit arrangement.
Turning now to FIG. 4, another embodiment of the invention is shown. The circuit arrangement of this second embodiment is basically the same as that of the first embodiment, although some portions of the circuit are more simplified. In FIG. 4, the same portions as those in FIG. 2 are designated by the same symbols and the equivalent portions by the same symbols primed. For example, reference number 50' designates a Q1 drive circuit; 60' a Q3 drive circuit; 70' an integrating circuit; and 80' a bias current source circuit. In the integrating circit 70', I1 and I2 represent bias current source circuits. In the current source circuit 80', I3 is a bias current source.
In short, in this simple H-switch circuit according to the invention, when any one of the output transistors is in an overcurrent state, its state is quickly detected to prohibit the overcurrent flow. The overcurrent-prohibiting state is continued over a much longer period than the detecting period. At the termination of the overcurrent-prohibiting state, the H-switch is restored to the normal operating state or the overcurrent-detecting state. Therefore, the heat generated from the circuit during its operation is small. No restoring operation is required, leading to easy operation of the circuit. This feature enables the H-switch circuit to be applied to motor drive circuits on a practical basis.