Switching circuit

DE102016121854B4Active Publication Date: 2024-10-31TOYOTA JIDOSHA KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
DE102016121854
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2015-11-20
Filing Date
2016-11-15
Publication Date
2024-10-31
Estimated Expiration
2036-11-15

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Switching circuit (16) comprising: a first IGBT (18); a second IGBT (20); a wiring (13) in which a parallel connection of the first IGBT and the second IGBT is inserted; and a control circuit (40) configured to switch the first IGBT and the second IGBT by controlling gate currents of the first IGBT and the second IGBT, wherein the control circuit comprises: a first switching element (51) with a first main electrode and a second main electrode, wherein the first switching element controls a current between the first main electrode and the second main electrode, the first main electrode being connected to a reference potential, and wherein the first switching element is configured to control the gate current of the first IGBT according to a potential of the second main electrode; a second switching element (52) with a third main electrode and a fourth main electrode.wherein the second switching element controls a current between the third main electrode and the fourth main electrode, the third main electrode being connected to the reference potential, and wherein the second switching element is configured to control the gate current of the second IGBT according to a potential of the fourth main electrode, and a third switching element (53, 54) connected between the second main electrode and the fourth main electrode, and the control circuit being configured to turn on both the first IGBT and the second IGBT at a turn-on time, and to turn off both the first IGBT and the second IGBT at a turn-off time when a current flowing through the wiring is greater than a threshold, turning on a first target IGBT as one of the first IGBT and the second IGBT at the turn-on time, turning off the first target IGBT at the turn-off time,and switching off a second target IGBT than the other by the first IGBT and the second IGBT before the switch-off time if the current flowing through the wiring is less than the threshold; switching on the first switching element and the second switching element while the third switching element is ON if it causes the gate currents to flow simultaneously through the first IGBT and the second IGBT; and switching on the one of the first switching element and the second switching element that controls the first target IGBT while the third switching element is OFF if it causes the gate current to flow through the first target IGBT, and does not cause the gate current to flow through the second target IGBT.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND OF THE INVENTION1. field of the inventionThe invention relates to a switching circuit.2. Description of the related technologyA switching circuit using a plurality of IGBTs is disclosed in Japanese Patent Application Laid-Open No. JP 2004-112916 A. The IGBTs can switch a large current.Furthermore, the published patent application DE 10 2012 207 222 A1 discloses a power semiconductor device with a plurality of switching elements connected in parallel. According to the summary of the published patent application DE 10 2012 207 222 A1, the power semiconductor device of the published patent application DE 10 2012 207 222 A1 contains a first and a second power semiconductor element (Q1, Q2) that are connected in parallel to one another, and a driver control unit (100). The driver control unit (100) switches the first and the second power semiconductor element (Q1, Q2) on and off in response to a switch-on command and a switch-off command that are repeatedly received from the outside.SUMMARY OF THE INVENTIONIn a switching circuit using an IGBT, a turn-off loss caused in the IGBT is a problem. Conventionally, it is known that the switching speed of the IGBT is increased by reducing the gate resistance, and the turn-off loss decreases as the switching speed is increased (i.e., as the gate resistance is reduced). However, the inventors have proved that the aforementioned relationship between the switching speed and the turn-off loss does not exist in the case where the current flowing through the IGBT is small. That is, the inventors have proved that it is difficult to reduce the turn-off loss of the IGBT at the time of flowing a small current by reducing the gate resistance. Accordingly, the present document provides a novel technique for reducing the turn-off loss of the IGBT at the time of flowing a small current.The inventors have proved that while there is such a relationship that the turn-off loss decreases as the size of the IGBT decreases if the current flowing through the IGBT is small, the relationship between the size of the IGBT and the turn-off loss disappears when the current flowing through the IGBT becomes large. The invention reduces the turn-off loss of the IGBT by using this phenomenon.A first aspect of the invention is a switching circuit comprising: a first IGBT; a second IGBT; a wiring in which a parallel connection of the first IGBT and the second IGBT is inserted; and a control circuit configured to switch the first IGBT and the second IGBT by controlling gate currents of the first IGBT and the second IGBT, the control circuit comprising: a first switching element having a first main electrode and a second main electrode, the first switching element controlling a current between the first main electrode and the second main electrode, the first main electrode being connected to a reference potential, and the first switching element being configured to control the gate current of the first IGBT according to a potential of the second main electrode, a second switching element having a third main electrode and a fourth main electrode, the second switching element controlling a current between the third main electrode and the fourth main electrode, the third main electrode being connected to the reference potential, the second switching element being configured to control the gate current of the second IGBT according to a potential of the fourth main electrode, and a third switching element connected between the second main electrode and the fourth main electrode, and the control circuit being configured to turn on both the first IGBT and the second IGBT. a turn-on time and turning off both the first IGBT and the second IGBT at a turn-off time when a current flowing through the wiring is greater than a threshold value, turning on a first target IGBT as one of the first IGBT and the second IGBT at the turn-on time, turning off the first target IGBT at the turn-off time and turning off a second target IGBT as the other of the first IGBT and the second IGBT before the turn-off time when the current flowing through the wiring is less than the threshold value, turning on the first switching element and the second switching element, the third switching element being ON when the gate currents are caused to flow through the first IGBT and the second IGBT at the same time, and turning on the one of the first switching element and the second switching element that controls the first target IGBT, the third switching element being OFF when the gate current is caused to flow through the first target IGBT and the gate current is not caused to flow through the second target IGBT flows.sMeanwhile, the control circuit may be a circuit that turns on the first IGBT and the second IGBT, or a circuit that turns off the first IGBT and the second IGBT. In the case where the control circuit is a circuit that turns on the first IGBT and the second IGBT, the gate current controlled by the control circuit is a current that charges the gate of the first IGBT and the gate of the second IGBT. In the case where the control circuit is a circuit that turns off the first IGBT and the second IGBT, the gate current controlled by the control circuit is a current that discharges the gate of the first IGBT and the gate of the second IGBT.In addition, the second main electrode of the first switching element may be electrically conductive to the gate of the first IGBT, or may be connected to the gate of the first IGBT via another element (e.g., a bipolar transistor or the like). That is, the second main electrode may be connected to the gate of the first IGBT in any manner as long as the gate current of the first IGBT can be controlled according to the potential of the second main electrode. Moreover, the fourth main electrode of the second switching element may be electrically conductive to the gate of the second IGBT, or may be connected to the gate of the second IGBT via another element (e.g., a bipolar transistor or the like). That is, the fourth main electrode may be connected to the gate of the second IGBT in any manner as long as the gate current of the second IGBT can be controlled according to the potential of the fourth main electrode.In addition, with respect to turning off the second target IGBT before the turn-off time, there may be an operation mode in which the second target IGBT is not turned on during the second control operation, and there may also be an operation mode in which the second target IGBT is turned off before the first target IGBT after both the second target IGBT and the first target IGBT are turned on. Moreover, it is also possible to adopt an operation mode in which one of the first IGBT and the second IGBT is set as the second target IGBT and the other is set as the first target IGBT, or to adopt an operation mode in which a period in which the first IGBT is the second target IGBT and a period in which the second IGBT is the second target IGBT alternately occur.In addition, the control circuit may determine whether to perform the first control operation or the second control operation based on the current flowing through the wiring at the time of determination or at a time before the time of determination. Moreover, this determination may be made depending on whether the current flowing through the wiring itself is larger than a threshold value or not, or may be made depending on whether a predetermined value calculated based on the current flowing through the wiring is larger than a threshold value or not. For example, a predicted value of the current flowing through the wiring may be calculated from the current flowing through the wiring at a time before the time of determination, and the determination may be made depending on whether the predicted value is larger than a threshold value or not.In the switching circuit according to the invention, the parallel circuit in which the first IGBT and the second IGBT are connected in parallel switches the current flowing through the wiring. Moreover, the switching circuit according to the invention carries out the first control operation and the second control operation based on the current flowing through the wiring.When the current flowing through the wiring is large, the first control operation is performed. In the first control operation, the first IGBT and the second IGBT are ON from the on-time to the off-time. Therefore, a current flows through both the first IGBT and the second IGBT. In the case where the current flowing through the wiring is large, a current can be caused to flow through the first IGBT and the second IGBT in a dispersed manner by performing the first control operation. Thereby, the loads applied to the first IGBT and the second IGBT can be reduced. Moreover, the first IGBT and the second IGBT turn off at the off-time. In this case, the size of the IGBTs that turn off is equal to the sum of the size of the first IGBT and the size of the second IGBT. Therefore, the size of the IGBTs that turn off is large. However, in the first control operation, the current flowing through the wiring (i.e., the first IGBT and the second IGBT) is large, so there is little correlation between the size of the IGBTs that turn off and the turn-off loss. Accordingly, even if the first IGBT and the second IGBT are turned off in this way, the turn-off loss that is caused is not so large.When the current flowing through the wiring is small, the second control operation is performed. In the second control operation, the second target IGBT turns off before the turn-off time. Accordingly, at the turn-off time, the first target IGBT turns off with the second target IGBT already OFF. In this case, the size of the IGBT that turns off is the size of the first target IGBT. Therefore, the size of the IGBT that turns off is smaller than in the first control operation. In the second control operation, the current flowing through the wiring is small, and therefore the turn-off loss can be reduced by turning off the first target IGBT while the second target IGBT is OFF (i.e., reducing the size of the IGBT that turns off). Moreover, in the second control operation, the second target IGBT is OFF and the first target IGBT is ON at least immediately before the turn-off time. Therefore, a current flows through the first target IGBT without flowing through the second target IGBT. However, the current flowing through the wiring is small. Therefore, even if a current flows through the first target IGBT in a biased manner in this way, an excessive load is not applied to the first target IGBT.As described so far, according to the switching circuit of the invention, the turn-off loss at the time of flowing a small current can be reduced while the loads applied to the respective IGBTs at the time of flowing a large current are reduced.Furthermore, in the first control operation, gate currents are caused to flow through the first IGBT and the second IGBT, and the first IGBT and the second IGBT are turned on (or off). At this time, when the timing for switching the first IGBT and the timing for switching the second IGBT differ from each other, a large current flows through one of the IGBTs in a biased manner, and therefore a large load is applied to the IGBT. The gate current of the first IGBT is controlled according to the potential of the second main electrode of the first switching element, and the gate current of the second IGBT is controlled according to the potential of the fourth main electrode of the second switching element. Therefore, when a difference occurs between the potential of the second main electrode and the potential of the fourth main electrode, a difference occurs between the gate current of the first IGBT and the gate current of the second IGBT, and the timing at which the first IGBT switches and the timing at which the second IGBT switches differ from each other. In contrast, according to the switching circuit disclosed in the present specification, when gate currents are caused to flow through the first IGBT and the second IGBT, the first switching element and the second switching element are turned on while the third switching element is ON. When the third switching element is ON, the second main electrode and the fourth main electrode are connected to each other and reach substantially the same potential. Therefore, a difference is unlikely to occur between the gate current of the first IGBT and the gate current of the second IGBT, and the timing at which the first IGBT switches and the timing at which the second IGBT switches are unlikely to differ from each other. Accordingly, in the switching circuit according to the invention, a large current can be prevented from flowing through one of the first IGBT and the second IGBT in a biased manner.In addition, in the case where the current flowing through the wiring is smaller than a threshold value, the second control operation is performed. In the second control operation, there is a case where a gate current is caused to flow through the first target IGBT without causing a gate current to flow through the second target IGBT (i.e., a case where the first target IGBT is switched without the second target IGBT being switched). In this case, the switching element that switches the first target IGBT is turned on while the third switching element is OFF. Incidentally, at this time, the switching element that controls the second target IGBT may be OFF or ON. According to this configuration, the third switching element is OFF, and therefore the potential of the second main electrode and the potential of the fourth main electrode are independent of each other. Accordingly, the first target IGBT can be switched alone by turning on the switching element that controls the first target IGBT.A second aspect of the invention is a switching circuit comprising: a first IGBT; a second IGBT; a wiring in which a parallel connection of the first IGBT and the second IGBT is inserted; and a control circuit including a first gate voltage control circuit connected to a gate electrode of the first IGBT and configured to control a gate voltage of the first IGBT, a second gate voltage control circuit connected to a gate electrode of the second IGBT and configured to control a gate voltage of the second IGBT, and a short-circuit control circuit configured to establish or disconnect a connection between the gate electrode of the first IGBT and the gate electrode of the second IGBT, wherein the control circuit is configured to turn on both the first IGBT and the second IGBT at a turn-on time and turn off both the first IGBT and the second IGBT at a turn-off time when a current flowing through the wiring is greater than a threshold value, and turn on the first IGBT without turning on the second IGBT at the turn-on time and turn off the first IGBT at the turn-off time when the current flowing through the wiring is less than the threshold value, wherein the short-circuit control circuit ensures connection between the first gate voltage control circuit and the second gate voltage control circuit when both the first IGBT and the second IGBT are turned on, and the short-circuit control circuit ensures disconnection between the first gate voltage control circuit and the second gate voltage control circuit when the first IGBT is turned on without the second IGBT being turned on.SHORT DESCRIPTION OF THE DRAWINGSFeatures, advantages and technical and industrial significance of exemplary embodiments of the invention are described below with reference to the accompanying drawings, in which like reference numerals designate like elements, and in which: Fig. 1 is a circuit diagram of an inverter circuit 10; Fig. 2 is a circuit diagram of each of switching circuits 16 according to the first embodiment of the invention; Fig. 3 is a plan view of a semiconductor substrate 10 equipped with IGBTs 18 and 20; Fig. 4 is a graph showing changes of respective values with time in a one-sided control operation and a two-sided control operation according to the first embodiment of the invention; Fig. 5 is a graph showing changes of respective values with time in a one-way control operation according to the second embodiment of the invention; Fig. 6 is a graph showing changes of respective values with time in a one-sided control operation and a two-sided control operation according to the third embodiment of the invention; Fig. 7 is a graph showing changes of respective values with time in a one-way control operation in the fourth embodiment according to the invention; Fig. 8 is a circuit diagram of a switching circuit according to the fifth embodiment of the invention; Fig. 9 is a circuit diagram of a switching circuit according to the sixth embodiment of the invention; Fig. 10 is a circuit diagram of a switching circuit according to the seventh embodiment of the invention; and Fig. 11 is a circuit diagram of a switching circuit according to the eighth embodiment of the invention.DETAILED DESCRIPTION OF EMBODIMENTSThe inverter circuit 10 in the first embodiment of the invention shown in Fig. 1 supplies an alternating current to a running motor 98 of a vehicle. The inverter circuit 10 has a high potential wiring 12 and a low potential wiring 14. The high potential wiring 12 and the low potential wiring 14 are connected to a direct current power supply (not shown). A high potential VH is applied to the high potential wiring 12, and a low potential VL is applied to the low potential wiring 14. Between the high potential wiring 12 and the low potential wiring 14, three series circuits 15 are connected in parallel. Each of the series circuits 15 has a connecting wiring 13 connected between the high-potential wiring 12 and the low-potential wiring 14, and two of the switching circuits 16 interposed in the connecting wiring 13. The two switching circuits are connected in series between the high-potential wiring 12 and the low-potential wiring 14. Output wirings 22a to 22c are connected between the two switching circuits 16 connected in series with each other. The other ends of the output wirings 22a to 22c are connected to the motor 98. The inverter circuit 10 supplies three-phase alternating current to the motor 98 by switching the respective switching circuits 16.Fig. 2 shows an internal circuit of one of the switching circuits 16. Meanwhile, the respective switching circuits 16 are similar to each other in configuration. As shown in Fig. 2, the switching circuit 16 has an IGBT 18 and an IGBT 20. The IGBT 18 and the IGBT 20 are connected in parallel to each other. That is, a collector of the IGBT 18 is connected to a collector of the IGBT 20, and an emitter of the IGBT 18 is connected to an emitter of the IGBT 20. A parallel circuit of the IGBT 18 and the IGBT 20 is interposed in the connection wiring 13. Moreover, a diode 22 is connected in antiparallel to the IGBT 18. That is, an anode of the diode 22 is connected to the emitter of the IGBT 18. A cathode of the diode 22 is connected to the collector of the IGBT 18. Moreover, a diode 24 is connected in antiparallel manner to the IGBT 20. An anode of the diode 24 is connected to the emitter of the IGBT 20. A cathode of the diode 24 is connected to the collector of the IGBT 20.The IGBT 18 and the IGBT 20 may be formed either on separate semiconductor substrates or the same semiconductor substrate. In the case where the IGBT 18 and the IGBT 20 are formed on the same semiconductor substrate, a configuration shown in FIG. 3 may be adopted. According to FIG. 3, when an upper surface of the semiconductor substrate 100 is viewed in plan view, the IGBT 20 is formed in a region including a center 100a of the semiconductor substrate 100, and the IGBT 18 is formed around the IGBT 20. The emitter of the IGBT 18 and the emitter of the IGBT 20 are connected to a common emitter electrode. The collector of the IGBT 18 and the collector of the IGBT 20 are connected to a common collector electrode. A gate electrode of the IGBT 18 and a gate electrode of the IGBT 20 are separated from each other. Accordingly, the gate potential of the IGBT 18 can be controlled to a potential different from the gate potential of the IGBT 20. That is, the gate potential of the IGBT 18 and the gate potential of the IGBT 20 can be individually controlled. Incidentally, Fig. 3 shows an example. In the case where the IGBT 18 and the IGBT 20 are formed on the same semiconductor substrate, a configuration different from that of Fig. 3 can be adopted.The switching circuit 16 has gate resistors 32, 34, 62, and 64, and a gate control IC 40. The gate resistor 32 is connected at one end thereof to a gate of the IGBT 18, and is connected at the other end thereof to a terminal 40a of the gate control IC 40. The gate resistor 34 is connected at one end thereof to a gate of the IGBT 20, and is connected at the other end thereof to a terminal 40b of the gate control IC 40. The gate resistor 62 is connected at one end thereof to the gate of the IGBT 18 via the gate resistor 32, and is connected at the other end thereof to a terminal 40c of the gate control IC 40. The gate resistor 64 is connected at one end thereof to the gate of the IGBT 20 via the gate resistor 34, and is connected at the other end thereof to a terminal 40d of the gate control IC 40.The gate control IC 40 controls a gate potential Vg18 of the IGBT 18 and a gate potential Vg20 of the IGBT 20. The gate control IC 40 has a logic circuit 90, a control amplifier 92, a gate ON circuit 50, and a gate OFF circuit 70.A PWM signal VP0 is input from the outside to the logic circuit 90. As shown in Fig. 4, the PWM signal VP0 is a pulse signal which changes between a high potential Von1 and a low potential Voff1. The duty ratio of the PWM signal VP0 changes according to the operating state of the motor 98. A signal VPa which is the same in waveform as the PWM signal VP0 is transmitted from the logic circuit 90 to the control amplifier 92.Moreover, the value of a current Ic flowing through the connection wiring 13 is input to the logic circuit 90. A collector current of the IGBT 18 can be measured from a potential of a detection electrode (an electrode for detecting the collector current) (not shown) of the IGBT 18. Moreover, a collector current of the IGBT 20 can be measured from a potential of a detection electrode (not shown) of the IGBT 20. By summing the collector current of the IGBT 18 and the collector current of the IGBT 20, the current Ic flowing through the connection wiring 13 is measured. Incidentally, the current Ic can be measured according to another method. The logic circuit 90 transmits a signal according to the current Ic flowing through the connection wiring 13 to the gate ON circuit 50 and the gate OFF circuit 70.The signal VPa, which is equal in waveform to the PWM signal VP0, is input from the logic circuit 90 to the control amplifier 92. Moreover, although not shown in the drawing, the switching circuit 60 is provided with a circuit that measures a gate potential and a gate current of the IGBT 18 and a circuit that measures a gate potential and a gate current of the IGBT 20. The values of the gate potential and the gate current of the IGBT 18 and the values of the gate potential and the gate current of the IGBT 20 are input to the control amplifier 92. The control amplifier 92 outputs a drive signal VP1 based on the signal VPa, the gate potential and the gate current. As shown in Fig. 4, the drive signal VP1 is a pulse signal that changes between a low potential Von2 and a high potential Voff2. The drive signal VP1 is a pulse signal obtained by inverting the PWM signal VP0 (i.e., the signal VPa). Moreover, the control amplifier 92 controls the magnitude of the low potential Von2 of the drive signal VP1 based on the gate potentials and the gate currents of the IGBTs 18 and 20.The gate ON circuit 50 includes PMOSs 51 to 54 and switches S1 to S4.A source of the PMOS 51 is connected to a wiring 56 to which a reference potential Vcc is applied. The reference potential Vcc is a potential higher than gate thresholds of the IGBTs 18 and 20. A drain of the PMOS 51 is connected to the terminal 40a. That is, the drain of the PMOS 51 is connected to the gate of the IGBT 18 via the gate resistor 32. A wiring connecting the drain of the PMOS 51 and the gate of the IGBT 18 to each other is hereinafter referred to as a gate-ON wiring 58. A gate of the PMOS 51 is connected to the control amplifier 92 via a switch S1. While the switch S1 is ON, the drive signal VP1 output by the control amplifier 92 is input to the gate of the PMOS 51. A switch S3 is connected between the gate and the source of the PMOS 51. When switch S3 is ON, PMOS 51 is kept OFF.A source of the PMOS 52 is connected to a wiring 57 to which the reference potential Vcc is applied. A drain of the PMOS 52 is connected to the terminal 40b. That is, the drain of the PMOS 52 is connected to the gate of the IGBT 20 via the gate resistor 34. A wiring connecting the drain of the PMOS 52 and the gate of the IGBT 20 to each other is hereinafter referred to as a gate-ON wiring 59. A gate of the PMOS 52 is connected to the control amplifier 92 via a switch S2. While the switch S2 is ON, the drive signal VP1 output by the control amplifier 92 is input to the gate of the PMOS 52. A switch S4 is connected between the gate and the source of the PMOS 52. When the switch S4 is ON, the PMOS 52 is kept OFF.The switches S1 to S4 are controlled by the logic circuit 90.The PMOS 53 and the PMOS 54 are connected in series between the drain of the PMOS 51 and the drain of the PMOS 52 (i.e., between the gate-ON wiring 58 and the gate-ON wiring 59). That is, a drain of the PMOS 53 is connected to the drain of the PMOS 51, a source of the PMOS 53 is connected to a source of the PMOS 54, and a drain of the PMOS 54 is connected to the drain of the PMOS 52. A body of the PMOS 53 is connected to the source (a source electrode) of the PMOS 53. Accordingly, a parasitic diode 53a of the PMOS 53 prevents a current from flowing from the source of the PMOS 53 to the drain of the PMOS 53, and allows a current from the drain of the PMOS 53 to pass to the source of the PMOS 53. A body of the PMOS 54 is connected to the source (a source electrode) of the PMOS 54. Accordingly, a parasitic diode 54a of the PMOS 54 prevents a current from flowing from the source of the PMOS 54 to the drain of the PMOS 54, and allows a current from the drain of the PMOS 54 to pass to the source of the PMOS 54. A gate of the PMOS 53 and a gate of the PMOS 54 are connected to each other. Gate potentials of the PMOSs 53 and 54 are controlled by the logic circuit 90.The gate-OFF circuit 70 has NMOSs 71 to 74.A source of the NMOS 71 is connected to a wiring 76 to which a reference potential Vee is applied. The reference potential Vee is a potential approximately equal to emitter potentials of the IGBTs 18 and 20. A drain of the NMOS 71 is connected to the terminal 40c. That is, the drain of the NMOS 71 is connected to the gate of the IGBT 18 via the gate resistors 62 and 32. A wiring connecting the drain of the NMOS 71 and the gate of the IGBT 18 to each other is hereinafter referred to as a gate-OFF wiring 78. A gate of the NMOS 71 is connected to the logic circuit 90.A source of the NMOS 72 is connected to a wiring 77 to which the reference potential Vee is applied. A drain of the NMOS 72 is connected to the terminal 40d. That is, the drain of the NMOS 72 is connected to the gate of the IGBT 18 via the gate resistors 64 and 34. A wiring connecting the drain of the NMOS 72 and the gate of the IGBT 20 to each other is hereinafter referred to as a gate-OFF wiring 79. A gate of the NMOS 72 is connected to the logic circuit 90.The NMOS 73 and the NMOS 74 are connected in series between the drain of the NMOS 71 and the drain of the NMOS 72 (i.e., between the gate-OUT wiring 78 and the gate-OUT wiring 79). That is, a source of the NMOS 73 is connected to the drain of the NMOS 71, a drain of the NMOS 73 is connected to a drain of the NMOS 74, and a source of the NMOS 74 is connected to the drain of the NMOS 72. A body of the NMOS 73 is connected to the source (a source electrode) of the NMOS 73. Accordingly, a parasitic diode 73a of the NMOS 73 prevents a current from flowing from the drain of the NMOS 73 to the source of the NMOS 73, and allows a current from the source of the NMOS 73 to the drain of the NMOS 73. A body of the NMOS 74 is connected to the source (a source electrode) of the NMOS 74. Accordingly, a parasitic diode 74a of the NMOS 74 prevents a current from flowing from the drain of the NMOS 74 to the source of the NMOS 74, and allows a current from the source of the NMOS 74 to the drain of the NMOS 74. A gate of the NMOS 73 and a gate of the NMOS 74 are connected to each other. The gates of the NMOSs 73 and 74 are connected to the logic circuit 90. Gate electrodes of the NMOSs 73 and 74 are controlled by the logic circuit 90.Next, the operation of the switching circuit 16 will be described. As shown in Fig. 4, the PWM signal VP0 input to the logic circuit 90 makes a change between the high potential Von1 and the low potential Voff1. The high potential Von1 is a signal that means that the switching circuit 16 is turned on, and the low potential Voff1 is a signal that means that the switching circuit 16 is turned off. Accordingly, a time at which the PWM signal VP0 makes a change from the low potential Voff1 to the high potential Von1 is an on-time tn for turning on the switching circuit 16. In addition, a time at which the PWM signal VP0 makes a change from the high potential Von1 to the low potential Voff1 is an off-time tf for turning off the switching circuit 16. Moreover, a period in which the PWM signal VP0 is at the high potential Von1 is hereinafter referred to as an ON period Ton, and a period in which the PWM signal VP0 is at the low potential Voff1 is hereinafter referred to as an OFF period Toff.The logic circuit 90 performs a one-sided control operation for turning on only the IGBT 18 and a two-sided control operation for turning on both the IGBT 18 and the IGBT 20 according to the current Ic. In a period before an off-time tf2 in FIG. 4, the current Ic is small, so the logic circuit 90 performs the one-sided control operation. In a period after the off-time tf2, the current Ic is large, so the logic circuit 90 performs the two-sided control operation. The details of the one-sided control operation and the two-sided control operation will be described hereinafter.In the one-way control process, the logic circuit 90 controls respective components as follows.Switch S1: ONSwitch S2: OFFSwitch S3: OFFSwitch S4: ONPMOSs 53 and 54: OFFNMOSs 73 and 74: OFFNMOS 72: ONThe switch S2 is OFF and the switch S4 is ON, so during the one-sided control operation, the PMOS 52 is kept OFF. Moreover, the NMOSs 73 and 74 are OFF and the NMOS 72 is ON, so during the one-sided control operation, the potential Vee (a potential lower than the gate threshold) is applied to the gate of the IGBT 20. Accordingly, the IGBT 20 is kept OFF. Moreover, the switch S1 is ON, so during the one-sided control operation, the drive signal VP1 of the control amplifier is input to the gate of the PMOS 51. Moreover, the switch S3 is OFF, so during the one-sided control operation, the PMOS 51 is switched according to the drive signal VP1. Moreover, the logic circuit 90 applies a signal VP2 obtained by inverting the PWM signal VP0 to the gate of the NMOS 71.When the respective components are controlled as described above, at a first on-time tn1 shown in Fig. 4, the PMOS 51 turns on and the NMOS 71 turns off. Then, a gate current flows from the wiring 56 through the PMOS 51 and the gate-ON wiring 58 to the gate of the IGBT 18. Therefore, the gate of the IGBT 18 is charged, and the gate potential Vg18 rises from the potential Vee to a potential Von. Incidentally, the potential Von is a potential lower than the potential Vcc and higher than the gate threshold of the IGBT 18. The gate potential of the PMOS 51 is controlled by feedback control, and the gate potential of the IGBT 18 is thereby accurately controlled to the potential Von. The potential Von is higher than the gate threshold of the IGBT 18, and therefore the IGBT 18 turns on. Accordingly, the current Ic flows during the ON period Ton1. The current Ic gradually increases during the ON period Ton1.Incidentally, in the ON period Ton1, the potential of the gate ON wiring 58 (i.e., the potential Von) is higher than the potential of the gate ON wiring 59 (i.e., the potential Vee). However, the PMOSs 53 and 54 are OFF, and the parasitic diode 54a of the PMOS 54 prevents a current from flowing from the gate ON wiring 58 to the gate ON wiring 59, and therefore no current flows from the gate ON wiring 58 to the gate ON wiring 59.Moreover, in the ON period Ton1, the potential of the gate-OFF wiring 78 (i.e., the potential Von) is higher than the potential of the gate-OFF wiring 79 (i.e., the potential Vee). However, the NMOSs 73 and 74 are OFF, and the parasitic diode 74a of the NMOS 74 prevents a current from flowing from the gate-OFF wiring 78 to the gate-OFF wiring 79, and therefore no current flows from the gate-OFF wiring 78 to the gate-OFF wiring 79.Thereafter, with the occurrence of an off time tf1, the PMOS 51 turns OFF and the NMOS 71 turns ON. Then, a gate current flows from the gate of the IGBT 18 to the wiring 76 via the gate OFF wiring 78 and the NMOS 71. Therefore, the gate of the IGBT 18 is discharged and the gate potential Vg18 drops from the potential Von to the potential Vee. The potential Vee is lower than the gate threshold of the IGBT 18, so the IGBT 18 turns OFF. Accordingly, during an OFF period Toff1, the current Ic does not flow.In the one-sided control process, the IGBT 18 repeats turning on and off by repeating the ON period Ton and the OFF period Toff. That is, in the one-sided control process, the IGBT 18 repeats turning on and off while the IGBT 20 is kept OFF.The logic circuit 90 continuously monitors the current Ic. When the current Ic exceeds a threshold value Ith during a period Ton2 in which the one-side control operation is carried out, the logic circuit 90 switches the operation from the one-side control operation to the two-side control operation during the immediately following OFF period Toff. Incidentally, it is also possible to give the threshold value Ith a hysteresis characteristic.In the bilateral control process, the logic circuit 90 controls respective components as follows.Switch S1: ONSwitch S2: ONSwitch S3: OFFSwitch S4: OFFPMOSs 53 and 54: ONNMOSs 73 and 74: ONThe switches S1 and S2 are ON, and therefore, during the two-sided control operation, the drive signal VP1 of the control amplifier 92 is input to the gate of the PMOS 51 and the gate of the PMOS 52. Moreover, the switches S3 and S4 are OFF, and therefore, during the two-sided control operation, the PMOSs 51 and 52 switch according to the drive signal Vp1. Moreover, the PMOSs 53 and 54 are ON, and therefore, during the two-sided control operation, the gate-ON wiring 58 and the gate-ON wiring 59 are short-circuited. Moreover, the NMOSs 73 and 74 are ON, and therefore, during the two-sided control operation, the gate-OFF wiring 78 and the gate-OFF wiring 79 are short-circuited. Moreover, the logic circuit 90 applies the signal VP2 obtained by inverting the PWM signal VP0 to the gate of the NMOS 71 and the gate of the NMOS 72.Even if the respective components are controlled as described above, during an OFF period Toff2, the current Ic does not flow. That is, during the OFF period Toff2, the PMOSs 51 and 52 are OFF and the NMOSs 71 and 72 are ON, therefore both the gate potential Vg18 of the IGBT 18 and the gate potential Vg20 of the IGBT 20 are kept equal to the potential Vee. Accordingly, during the OFF period Toff, both the IGBTs 18 and 20 are kept OFF and the current Ic does not flow.When the drive signal VP1 is lowered from Voff2 to Von2 at an on-time tn3 immediately following the OFF period Toff2, both PMOSs 51 and 52 turn on. Moreover, the gate potentials of the NMOSs 71 and 72 are lowered at the on-time tn3, so the NMOSs 71 and 72 turn off. When the PMOS 51 turns on and the NMOS 71 turns off, a gate current flows from the wiring 56 to the gate of the IGBT 18 via the PMOS 51 and the gate-ON wiring 58. Therefore, the gate of the IGBT 18 is charged and the gate potential Vg18 rises from the potential Vee to the potential Von. That is, the IGBT 18 turns on. Moreover, when the PMOS 52 turns on and the NMOS 72 turns off, a gate current flows from the wiring 57 to the gate of the IGBT 20 via the PMOS 52 and the gate ON wiring 59. Therefore, the gate of the IGBT 20 is charged and the gate potential Vg20 rises from the potential Vee to the potential Von. That is, the IGBT 20 turns on. As described so far, in an ON period Ton3 of the two-sided control operation, both the IGBTs 18 and 20 turn on. Accordingly, during the ON period Ton3, the current Ic flows.Thereafter, with the occurrence of an off time tf3, the PMOSs 51 and 52 turn OFF and the NMOSs 71 and 72 turn ON. When the PMOS 51 turns OFF and the NMOS 71 turns ON, a gate current flows from the gate of the IGBT 18 to the wiring 76 via the gate OFF wiring 78 and the NMOS 71. Therefore, the gate of the IGBT 18 is discharged and the gate potential Vg18 drops from the potential Von to the potential Vee. That is, the IGBT 18 turns OFF. Moreover, when the PMOS 52 turns off and the NMOS 72 turns on, a gate current flows from the gate of the IGBT 20 to the wiring 77 via the gate OFF wiring 79 and the NMOS 72. Therefore, the gate of the IGBT 20 is discharged and the gate potential Vg20 drops from the potential Von to the potential Vee. That is, the IGBT 20 turns off. As described so far, in an OFF period Toff3, both the IGBTs 18 and 20 are OFF. Accordingly, during the OFF period Toff3, the current Ic does not flow.In the two-way control process, the IGBT 18 and the IGBT 20 essentially simultaneously repeat turning on and off by repeating the ON period Ton and the OFF period Toff.Hereinafter, an effect of suppressing a turn-off loss of the switching circuit 16 will be described. When the IGBTs 18 and 20 turn off, a turn-off loss is caused. In the case where the current Ic is small, a correlation occurs between the turn-off loss and the size of the IGBT that turns off. That is, the turn-off loss decreases as the size of the IGBT that turns off decreases. In the case where the current Ic is large, such a correlation hardly occurs. It is considered that the reason why the aforementioned correlation changes according to the current Ic in this way is as follows. The turn-off loss is caused by the discharge of carriers (electrons and holes) present in the semiconductor substrate of the IGBT immediately before turn-off from the semiconductor substrate at the time of turn-off. The number of electrons present in the semiconductor substrate during the flow of the current Ic increases as the current Ic increases. On the other hand, the interior of the semiconductor substrate is saturated with holes as long as the current Ic flows, regardless of whether the current Ic is large or small. That is, the number of holes present in the semiconductor substrate at the time of the flow of the current Ic is substantially constant regardless of the current Ic. Accordingly, in the case where the current Ic is small, the turn-off loss is caused mainly due to the influence of holes. As described above, a region of the semiconductor substrate through which the current Ic flows is saturated with holes, and therefore the number of holes at that time is substantially proportional to the size of the IGBT (i.e., the area of the region of the semiconductor substrate through which the current Ic flows). Accordingly, in the case where the current Ic is small, a correlation occurs between the turn-off loss and the size of the IGBT that turns off. On the other hand, in the case where the current Ic is large, the number of electrons present in the semiconductor substrate is large, and therefore the turn-off loss is mainly caused due to the influence of electrons. Therefore, in the case where the current Ic is large, there is hardly any correlation between the turn-off loss and the size of the IGBT that turns off.As described above, in the case where the current Ic is small, the switching circuit 16 turns on only the IGBT 18 without turning on the IGBT 20 in the ON period Ton. That is, the switching circuit 16 turns off the IGBT 20 before the turn-off time tf and turns off the IGBT 18 at the turn-off time tf. Accordingly, the IGBT 18 turns off alone at the turn-off time tf (e.g., at the turn-off time tf1 in FIG. 4). In the case where the IGBT 18 turns off alone, the size of the region of the semiconductor substrate 100 that turns off (i.e., the area of the region of the IGBT 18 in FIG. 3) is small, and therefore the turn-off loss is small. Moreover, in the case where the current Ic is small, even if the current Ic flows only through the IGBT 18 in the ON period Ton, the load applied to the IGBT 18 is not so high. As described so far, if the current Ic is small, the IGBT 18 turns off alone at the turn-off time tf. Thus, the turn-off loss can be reduced while preventing an excessive load from being applied to the IGBT 18.Moreover, as described above, in the ON period Ton, the switching circuit 16 turns on both the IGBT 18 and the IGBT 20 if the current Ic is large. That is, the switching circuit 16 turns on both the IGBT 18 and the IGBT 20 at the on time tn, and turns off both the IGBT 18 and the IGBT 20 at the off time. Accordingly, the current Ic flowing through the connection wiring 13 flows through the IGBT 18 and the IGBT 20 in a scattered manner. As described so far, the current Ic is caused to flow through the IGBT 18 and the IGBT 20 in a scattered manner if the current Ic is large. Thus, a large load can be prevented from being applied to the IGBT 18 and the IGBT 20. Moreover, at the turn-off time tf (e.g., at the turn-off time tf3 in FIG. 4 ), both the IGBT 18 and the IGBT 20 turn off. In this case, the size of the region of the semiconductor substrate 100 that turns off is equal to a sum of the area of the IGBT 18 in FIG. 3 and the area of the IGBT 20 in FIG. 3 . That is, in this case, the size of the region that turns off is large. However, in the case where the current Ic is large, there is hardly any correlation between the size of the IGBT that turns off and the turn-off loss. Accordingly, even if the IGBT 18 and the IGBT 20 are turned off at the same time, the turn-off loss does not become larger than in the case where only one of the IGBTs is turned off. As described so far, in the case where the current Ic is large, both the IGBTs 18 and 20 are turned on in the ON period Ton. Therefore, the loads applied to the IGBTs 18 and 20 can be reduced without increasing the turn-off loss.Moreover, as is apparent from the above description, the energization time of the IGBT 18 (i.e., the time when the IGBT 18 is ON) is longer than the energization time of the IGBT 20. Moreover, as shown in Fig. 3, the IGBT 20 is formed in a central portion of the semiconductor substrate 100, and the IGBT 18 is formed around it. The IGBT 18 formed on an outer peripheral side has higher heat dissipation performance than the IGBT 20 formed in the central portion. As described so far, the temperature of the semiconductor substrate 100 can be advantageously prevented from rising by lengthening the energization time of the IGBT 18 having higher heat dissipation performance.Moreover, in the switching circuit 16 according to the first embodiment of the invention, when both the IGBTs 18 and 20 are turned on in the two-side control operation, the PMOSs 51 and 52 are turned on while the PMOSs 53 and 54 are already ON. That is, the PMOSs 51 and 52 are turned on while the gate ON wiring 58 and the gate ON wiring 59 are short-circuited. By short-circuiting the gate ON wirings 58 and 59 in this way, the time for turning on the IGBT 18 and the time for turning on the IGBT 20 can be made to substantially coincide with each other, and the current density of the current Ic flowing through the IGBT 18 and the current density of the current Ic flowing through the IGBT 20 during the ON period Ton can be made to be approximately equal to each other. Thus, the effect of dispersing the loads applied to the IGBTs 18 and 20 can be achieved. The details will be described hereinafter.First, a problem in the case where the gate ON wiring 58 and the gate ON wiring 59 are short-circuited will be described. The PMOS 51 and the PMOS 52 have a dispersion of characteristics based on manufacturing errors and the like. For example, the gate threshold and the ON resistance differ between the PMOS 51 and the PMOS 52 in some cases. In general, the errors in the gate threshold and the ON resistance of one MOS are large. In the case where there is a difference in the gate threshold, even if an attempt is made to turn on the PMOSs 51 and 52 simultaneously, a deviation occurs between the times of turning on these PMOSs. Accordingly, a difference occurs between the time at which a gate current starts to flow through the IGBT 18 and the time at which a gate current starts to flow through the IGBT 20. Moreover, when there is a difference between the ON resistance of the PMOS 51 and the ON resistance of the PMOS 52, a difference occurs between the magnitude of the current of the PMOS 51 and the magnitude of the current of the PMOS 52. That is, a difference occurs between the magnitude of the gate current of the IGBT 18 and the magnitude of the gate current of the IGBT 20. As described so far, a difference occurs between the speed of charging from the gate of the IGBT 18 and the speed of charging from the gate of the IGBT 20 when there is a difference between the time at which the gate current starts to flow through the IGBT 18 and the time at which the gate current starts to flow through the IGBT 20, or there is a difference between the magnitude of the gate current of the IGBT 18 and the magnitude of the gate current of the IGBT 20. As a result, a difference occurs between the time at which the IGBT 18 turns on and the time at which the IGBT 20 turns on. If one of the IGBTs turns on before the other IGBT, a large current momentarily flows through the IGBT that turned on first, and a large load is applied to the IGBT that turned on first. Moreover, in the case where the gate potentials Vg18 and Vg20 are controlled in a feedback manner as in the first embodiment of the invention, a difference also occurs between the gate potentials Vg18 and Vg20 (i.e., Von in FIG. 4 ) controlled to a constant value during the ON period Ton based on the difference between the characteristics of the PMOS 51 and the characteristics of the PMOS 52. Therefore, a difference occurs between the current density of the current Ic flowing through the IGBT 18 during the ON period Ton and the current density of the current Ic flowing through the IGBT 20 during the ON period Ton. Also in this case, a high load is applied to one of the IGBTs.In contrast, with the switching circuit 16 according to the first embodiment of the invention, the PMOSs 51 and 52 are turned on after the gate-ON wiring 58 and the gate-ON wiring 59 are short-circuited. In the case where the gate ON wiring 58 and the gate ON wiring 59 are short-circuited, currents flow through the gate ON wiring 58 and the gate ON wiring 59 in such a manner as to compensate each other via the PMOSs 53 and 54 even if a difference occurs between the time at which the PMOS 51 turns on and the time at which the PMOS 52 turns on, or a difference occurs between the current from the PMOS 51 and the current from the PMOS 52. Therefore, no difference occurs between the time at which the IGBT 18 turns on and the time at which the IGBT 20 turns on. For example, in the case where the PMOS 51 turns on before the PMOS 52, a portion of the current flowing through the PMOS 51 charges the gate of the IGBT 18, and the remainder of the gate current charges the gate of the IGBT 20 via the PMOSs 53 and 54. Moreover, in the case where the current flowing through the PMOS 51 is larger than the current flowing through the PMOS 52, a portion of the current flowing through the PMOS 51 charges the gate of the IGBT 18, and the remainder of the gate current charges the gate of the IGBT 20 via the PMOSs 53 and 54. As described so far, the currents flowing through the PMOSs 51 and 52 compensate each other, and therefore the gate potential Vg18 of the IGBT 18 and the gate potential Vg20 of the IGBT 20 can be increased substantially equally. Accordingly, the IGBTs 18 and 20 can be turned on substantially simultaneously. Moreover, the gate potentials Vg18 and Vg20 can be made approximately equal to each other during the ON period, and therefore a difference is unlikely to occur between the current density of the IGBT 18 and the current density of the IGBT 20. Consequently, according to the configuration of the first embodiment of the invention, the load can be prevented from being biased toward one of the IGBTs, and the effect of spreading the load can be achieved.Moreover, even in the case where the IGBTs 18 and 20 are turned off substantially simultaneously in the two-time control operation, the effect of distributing the load can be achieved by turning on the NMOSs 73 and 74 to short-circuit the gate-OFF wiring 78 and the gate-OFF wiring 79. That is, due to a difference between the characteristics of the NMOS 71 and the characteristics of the NMOS 72, a difference occurs between the time at which the IGBT 18 turns off and the time at which the IGBT 20 turns off when the IGBTs 18 and 20 are turned off if the gate-OFF wiring 78 and the gate-OFF wiring 79 are not short-circuited. When one of the IGBTs turns off first, a current flows in a biased manner through the other IGBT which has not yet turned off, and the load applied to that IGBT becomes high. In contrast, with the switching circuit 16 according to the first embodiment of the invention, the IGBTs 18 and 20 can be turned off substantially simultaneously by turning on the NMOSs 71 and 72 while the gate-OFF wiring 78 and the gate-OFF wiring 79 are short-circuited. Accordingly, even in the case where the IGBTs 18 and 20 are turned off simultaneously, the effect of distributing the load can be achieved.A switching circuit according to the second embodiment of the invention has a configuration similar to that of the switching circuit according to the first embodiment of the invention shown in Fig. 2. In the case where the current Ic is large, the switching circuit according to the second embodiment of the invention performs the bilateral control operation in the same manner as the first embodiment of the invention. That is, in the case where the current Ic is large, both the IGBT 18 and the IGBT 20 are turned on in the ON period Ton, and both the IGBT 18 and the IGBT 20 are turned off in the OFF period Toff. In the switching circuit according to the second embodiment of the invention, the control method is different from that of the first embodiment of the invention in the case where the current Ic is small.In the case where the current Ic is small, the switching circuit according to the second embodiment of the invention performs the one-sided control operation shown in Fig. 5. That is, in the case where the current Ic is small, the logic circuit 90 controls the IGBTs 18 and 20 such that an ON period Ton18 in which only the IGBT 18 turns on and an ON period Ton20 in which only the IGBT 20 turns on occur alternately. Specifically, the logic circuit 90 performs control such that the ON period Ton18, the OFF period Toff, the ON period Ton20, and the OFF period Toff occur repeatedly in this order. In the OFF period Toff, both the IGBT 18 and the IGBT 20 are OFF. For example, at a time t1 in FIG. 5, the logic circuit 90 determines that the current Ic is less than the threshold Ith in the immediately preceding ON period Ton20. Then, in the following ON period Ton18, the logic circuit 90 turns the IGBT 18 ON and keeps the IGBT 20 OFF. Since the current Ic has not risen to the threshold Ith in this ON period Ton18, the logic circuit 90 determines at a time t2 that the current Ic is less than the threshold Ith in the immediately preceding ON period Ton18. Then, in the following ON period Ton20, the logic circuit 90 turns the IGBT 20 ON and keeps the IGBT 18 OFF. As described so far, the logic circuit 90 turns on the one of the IGBTs 18 and 20 that was not turned on in the previous ON period Ton in the following ON period Ton. Therefore, while the current Ic is small, the IGBT 18 and the IGBT 20 turn on alternately. The heat generated in the semiconductor substrate 100 can be dissipated by turning on the IGBT 18 and the IGBT 20 alternately in this way. Thus, the temperature of the semiconductor substrate 100 can be prevented from rising. Moreover, even with this configuration, in the case where the current Ic is small, the IGBT 18 or the IGBT 20 turns off alone at the turn-off time tf, and therefore the turn-off loss can be reduced.Incidentally, in the one-side control process of Fig. 5, processes of turning on and off the IGBT 18 alone are carried out in the same manner as in the first embodiment of the invention. In the one-side control process of Fig. 5, the process of turning on the IGBT 20 alone is carried out by turning on the PMOS 52 while the PMOSs 51, 53 and 54 are OFF. In the one-side control process of Fig. 5, the process of turning off the IGBT 20 alone is carried out by turning on the NMOS 72 while the NMOS 71 is ON and the NMOSs 73 and 74 are OFF.Incidentally, as is apparent from Fig. 5, in the second embodiment of the invention, the gate potential Vg20 is higher than the gate potential Vg18 in the ON period Ton20. That is, the potential of the gate ON wiring 59 is higher than the potential of the gate ON wiring 58. However, the PMOSs 53 and 54 are OFF, and the parasitic diode 53a of the PMOS 53 prevents a current from flowing from the gate ON wiring 59 to the gate ON wiring 58, and therefore no current flows from the gate ON wiring 59 to the gate ON wiring 58. As described so far, the PMOSs 53 and 54 are connected such that the parasitic diodes 53a and 54a are connected in series with each other in opposite directions. Thus, in the case where the potential of the gate-ON wiring 59 is high, as well as in the case where the potential of the gate-ON wiring 58 is high, the leakage of current can be prevented.Moreover, when the gate potential Vg20 becomes higher than the gate potential Vg18 in the ON period Ton20, the potential of the gate-OFF wiring 79 becomes higher than the potential of the gate-OFF wiring 78. However, the NMOSs 73 and 74 are OFF, and the parasitic diode 73a of the NMOS 73 prevents a current from flowing from the gate-OFF wiring 79 to the gate-OFF wiring 78, and therefore no current flows from the gate-OFF wiring 79 to the gate-OFF wiring 78. As described so far, the NMOSs 73 and 74 are connected such that the parasitic diodes 73a and 74a are connected in series with each other in opposite directions. Thus, in the case where the potential of the gate-OUT wiring 79 is high, as well as in the case where the potential of the gate-OUT wiring 78 is high, the leakage of current can be prevented.A switching circuit according to the third embodiment of the invention has a configuration similar to that of the switching circuit according to the first embodiment of the invention shown in Fig. 2. In the case where the current Ic is large, the switching circuit according to the third embodiment of the invention carries out the two-sided control operation in the same manner as in the first embodiment of the invention. In the switching circuit according to the third embodiment of the invention, the control method is different from that of the first embodiment of the invention in the case where the current Ic is small.In the case where the current Ic is small, the switching circuit according to the third embodiment of the invention performs the one-sided control operation shown in Fig. 6. Even in the case where the current Ic is small, the logic circuit 90 turns on both the IGBT 18 and the IGBT 20 at the on-time tn. Then, the logic circuit 90 turns off the IGBT 20 at a time tc immediately before the off-time tf. Thereafter, the logic circuit 90 keeps the IGBT 20 OFF until the following on-time tn (i.e., until the elapse of the on-time tf). Accordingly, the IGBT 18 turns off alone at the off-time tf. For example, the logic circuit 90 determines at a time t3 in Fig. 6 that in the immediately preceding ON period Ton, the current Ic is smaller than the threshold Ith. Then, the logic circuit 90 turns on both the IGBT 18 and the IGBT 20 at the following on-time tn. Then, the logic circuit 90 turns off the IGBT 20 at the time tc before the off-time tf. The IGBT 20 is kept OFF until the off-time tf elapses. At the time tc, the IGBT 18 is kept ON without being turned off. Thereafter, the IGBT 18 is turned off at the off-time tf. Accordingly, the IGBT 18 turns off alone at the off-time tf. As described so far, according to the third embodiment of the invention, in the case where the current Ic is small, both the IGBTs 18 and 20 are turned on in a part of the ON period Ton, but the IGBT 20 is turned off before the IGBT 18.Incidentally, a process of simultaneously turning on the IGBTs 18 and 20 at the on-time tn in the one-side control operation of Fig. 6 is carried out in the same manner as at the on-time tn in the two-side control operation. A process of turning off the IGBT 18 alone at the off-time tf in the one-side control operation of Fig. 6 is carried out in the same manner as in the one-side control operation of the first embodiment of the invention. Moreover, a process of turning off the IGBT 20 alone at the time tc in the one-side control operation of Fig. 6 is carried out by turning on the NMOS 72 while the NMOSs 71, 73 and 74 are OFF.In the control set forth above, the IGBT 18 is kept ON while the IGBT 20 turns off at the time tc. Even when the IGBT 20 turns off, the IGBT 18 is ON, and therefore the voltage between the collector and the emitter of the IGBT 20 is kept equal to a low voltage. Accordingly, when the IGBT 20 turns off, no turn-off loss is caused. Moreover, when the IGBT 18 turns off at the turn-off time tf, the voltage between the collector and the emitter of the IGBT 18 increases due to the turn-off of the IGBT 18. Accordingly, the turn-off loss is caused at the turn-off time tf. However, the IGBT 18 turns off alone at the turn-off time tf, and therefore the turn-off loss is small. Accordingly, the switching circuit according to the third embodiment of the invention also makes it possible to reduce the turn-off loss. Moreover, even in the case where the current Ic is small as described so far, the loads applied to the IGBTs 18 and 20 can be further reduced by distributing the current Ic to the IGBTs 18 and 20 in a part of the ON period Ton. Thus, the temperature of the semiconductor substrate 100 can be prevented from rising.Incidentally, in the third embodiment of the invention set forth above, the logic circuit 90 makes a determination regarding the current Ic at a time during the OFF period Toff (e.g., at the time t3). However, in the third embodiment of the invention, the determination regarding the current Ic may be made at a time during the ON period Ton (e.g., at a time t4 (i.e., at a time before the time tc for turning off the IGBT 20)). In this case, the determination may be made based on the current Ic at the time t4.Moreover, in the third embodiment of the invention set forth above, a delay time from the time tc at which the IGBT 20 turns off to the turn-off time tf at which the IGBT 18 turns off is preferably equal to a time sufficient for the carriers in the area of the IGBT 20 of the semiconductor substrate 100 to disappear. On the other hand, the aforementioned delay time is equal to or shorter than 10% of the ON period Ton in order to minimize the influence on the control.Moreover, in the third embodiment of the invention set forth above, the IGBT 18 and the IGBT 20 are turned on simultaneously at the turn-on time tn. However, the time at which the IGBT 20 turns on may be later than the turn-on time tn.A switching circuit according to the fourth embodiment of the invention has a configuration similar to that of the switching circuit according to the first embodiment of the invention shown in Fig. 2. In the case where the current Ic is large, the switching circuit according to the fourth embodiment of the invention carries out the two-sided control operation in the same manner as in the first embodiment of the invention. In the switching circuit according to the fourth embodiment of the invention, the control method is different from that of the first embodiment of the invention in the case where the current Ic is small.The control method of the fourth embodiment of the invention in the case where the current Ic is small is a method obtained by combining the control method of the second embodiment of the invention and the control method of the third embodiment of the invention. In the fourth embodiment of the invention, a one-sided control operation shown in Fig. 7 is carried out in the case where the current Ic is small. According to Fig. 7, the control is performed such that the ON period Ton18, the OFF period Toff, the ON period Ton20, and the OFF period Toff repeatedly occur in this order. At the on-time tn, both the IGBT 18 and the IGBT 20 turn on. The IGBT 18 and the IGBT 20 are ON in the earlier half of the ON period Ton18. The IGBT 20 turns off at a time tc1 during the ON period Ton18. The IGBT 18 turns off at the following off time tf. In the OFF period Toff, the IGBT 18 and the IGBT 20 are OFF. Both the IGBT 18 and the IGBT 20 turn on at the following on time tn. The IGBT 18 and the IGBT 20 are ON in the earlier half of the ON period Ton20. The IGBT 18 turns off at a time tc2 during the ON period Ton20. The IGBT 20 turns off at the following off time tf. According to this configuration, the ON period Ton18 in which the energization of the IGBT 18 is long and the ON period Ton20 in which the energization of the IGBT 20 is long alternately turn on, and therefore the heat generated in the semiconductor substrate 100 can be dissipated.In each of the above-mentioned first to fourth embodiments of the invention, the gate-ON wiring 58 and the gate-ON wiring 59 are short-circuited by the PMOSs 53 and 54 when the IGBT 18 and the IGBT 20 are turned on simultaneously. Therefore, the IGBT 18 and the IGBT 20 can be turned on substantially simultaneously. Moreover, in each of the above-mentioned first to fourth embodiments of the invention, the gate-OFF wiring 78 and the gate-OFF wiring 79 are short-circuited by the NMOSs 73 and 74 when the IGBT 18 and the IGBT 20 are turned off simultaneously. Therefore, the IGBT 18 and the IGBT 20 can be turned off substantially simultaneously. Accordingly, the effect of distributing the load can be achieved. Moreover, in each of the above-mentioned first to fourth embodiments of the invention, the PMOSs 53 and 54 turn off when one of the IGBT 18 and the IGBT 20 is turned on. Therefore, a leakage current can be prevented from flowing between the gate ON wiring 58 and the gate ON wiring 59. Moreover, in each of the above-mentioned third and fourth embodiments of the invention, the PMOSs 53 and 54 turn off when one of the IGBT 18 and the IGBT 20 is turned off from a state where both the IGBT 18 and the IGBT 20 are ON. Therefore, a leakage current is prevented from flowing between the gate OFF wiring 78 and the gate OFF wiring 79.A switching circuit according to the fifth embodiment of the invention shown in Fig. 8 differs in the configuration of the gate-OFF circuit 70 from the switching circuit shown in Fig. 2. The other configuration details of the switching circuit according to the fifth embodiment of the invention are the same as those shown in Fig. 2.In the fifth embodiment of the invention, the gate-OFF circuit 70 is constructed by a single NMOS 102. A source of the NMOS 102 is connected to a wiring 104 to which the reference potential Vee is applied. A drain of the NMOS 102 is connected to a terminal 40e. The terminal 40e is connected to the gate of the IGBT 18 via a diode 106, the gate resistor 62, and the gate resistor 32. A cathode of the diode 106 is connected to the terminal 40e, and an anode of the diode 106 is connected to the gate resistor 62. Moreover, the terminal 40e is connected to the gate of the IGBT 20 via a diode 108, the gate resistor 64, and the gate resistor 34. A cathode of the diode 108 is connected to the terminal 40e, and an anode of the diode 108 is connected to the gate resistor 64. In the fifth embodiment of the invention, a wiring connecting the drain of the NMOS 102 and the gate of the IGBT 18 is referred to as the gate-OFF wiring 78, and a wiring connecting the drain of the NMOS 102 and the gate of the IGBT 20 is referred to as the gate-OFF wiring 79. A gate of the NMOS 102 is connected to the logic circuit 90. The signal VP2 obtained by inverting the PWM signal is input from the logic circuit 90 to the gate of the NMOS 102.The switching circuit according to the fifth embodiment of the invention can perform the above-mentioned operations shown in Fig. 4 and Fig. 5 (operations similar to those of the first and second embodiments of the invention). The switching circuit according to the fifth embodiment of the invention operates as follows. The NMOS 102 is kept OFF in the ON period Ton of the bilateral control operation. Therefore, the gates of the IGBTs 18 and 20 are separated from the potential Vee. The gates of the IGBTs 18 and 20 are charged by the gate ON circuit 50 in the same manner as in the above-mentioned first to fourth embodiments of the invention. Accordingly, both the IGBTs 18 and 20 turn on. In the OFF period Toff of the bilateral control operation, the NMOS 102 is turned on, and the PMOSs 51 and 52 are turned off. Accordingly, the gates of the IGBTs 18 and 20 are connected to the potential Vee, and the gates of the IGBTs 18 and 20 are discharged. Accordingly, both the IGBTs 18 and 20 turn off. In the one-sided control operation, the PMOSs 53 and 54 are kept OFF. Moreover, in the ON period Ton of the one-sided control operation, the NMOS 102 is kept OFF. Moreover, in the ON period Ton of the one-sided control operation, one of the PMOSs 51 and 52 is turned on and the other is turned off. For example, in the case where the IGBT 18 is turned on, the PMOS 51 is turned on and the PMOS 52 is turned off. In this case, the gate of the IGBT 18 is disconnected from the potential Vee due to the turn-off of the NMOS 102 and is charged due to the turn-on of the PMOS 51. That is, the IGBT 18 turns on. Moreover, in this case, the gate of the IGBT 20 is disconnected from the potential Vee due to the turn-off of the NMOS 102, but it is also disconnected from the potential Vcc due to the turn-off of the PMOSs 52, 53, and 54. Accordingly, the gate of the IGBT 20 is kept at the potential Vee in the immediately preceding OFF period. Therefore, the IGBT 18 is kept OFF in the ON period Ton. In the OFF period Toff of the unilateral control operation, the NMOS 102 is turned on, and the PMOSs 51 and 52 are turned off. Accordingly, the gates of the IGBTs 18 and 20 are connected to the potential Vee, and both the IGBTs 18 and 20 are turned off. As described so far, the switching circuit according to the fifth embodiment of the invention also makes it possible to switch both of the IGBTs 18 and 20 in the two-sided control operation, and to switch one of the IGBTs 18 and 20 in the one-sided control operation.Moreover, the switching circuit according to the fifth embodiment of the invention also makes it possible to prevent the loads applied to the IGBTs 18 and 20 from being biased at the ON time by short-circuiting the gate ON wiring 58 and the gate ON wiring 59 by means of the PMOSs 53 and 54. Moreover, in the switching circuit according to the fifth embodiment of the invention, the IGBTs 18 and 20 are turned off by the single NMOS 102, and therefore the timings for turning off the IGBTs 18 and 20 can be prevented from differing from each other. That is, the loads applied to the IGBTs 18 and 20 can be prevented from being biased at the OFF time. Accordingly, the switching circuit according to the fifth embodiment of the invention also makes it possible to achieve the effect of distributing the load.In a switching circuit according to the sixth embodiment of the invention shown in Fig. 9, the gate-ON wiring 58 and the gate-ON wiring 59 are connected to each other by the single PMOS 54. Moreover, in the switching circuit according to the sixth embodiment of the invention, the gate-OFF wiring 78 and the gate-OFF wiring 79 are connected to each other by the single NMOS 74. The other configuration details of the switching circuit according to the sixth embodiment of the invention are the same as those shown in Fig. 2.The switching circuit according to the sixth embodiment of the invention can perform the control shown in Fig. 4 and Fig. 6. As is clear from Fig. 4 and Fig. 6, the gate potential Vg18 does not become lower than the gate potential Vg20 in the one-side control operation shown in Fig. 4 and Fig. 6. That is, the potential of the gate-ON wiring 58 does not become lower than the potential of the gate-ON wiring 59. Accordingly, as shown in Fig. 9, the leakage of a current between the gate-ON wiring 58 and the gate-ON wiring 59 can be suppressed by the single PMOS 54 provided with the parasitic diode 54a that prevents a current from flowing from the gate-ON wiring 58 to the gate-ON wiring 59.Moreover, the gate potential Vg18 does not become lower than the gate potential Vg20 as described above, and therefore the potential of the gate-OUT wiring 78 does not become lower than the potential of the gate-OUT wiring 79. Accordingly, as shown in Fig. 9, the leakage of a current between the gate-OUT wiring 78 and the gate-OUT wiring 79 can be suppressed by the single NMOS 74 provided with the parasitic diode 74a that prevents a current from flowing from the gate-OUT wiring 78 to the gate-OUT wiring 79.As described above, if the IGBT to which a high load is applied in the one-sided control operation is not replaced, the circuit configuration can be simplified.A switching circuit according to the seventh embodiment of the invention shown in Fig. 10 has npn bipolar transistors 112 and 114. The other configuration details of the switching circuit according to the seventh embodiment of the invention are the same as those shown in Fig. 2.In the switching circuit according to the seventh embodiment of the invention, the drain of the PMOS 51 is connected to the gate of the IGBT 18 via the bipolar transistor 112. Specifically, the drain of the PMOS 51 is connected to a base of the bipolar transistor 112. A collector of the bipolar transistor 112 is connected to a wiring 116 to which the potential Vcc is applied. An emitter of the bipolar transistor 112 is connected to the gate of the IGBT 18 via the gate resistor 32. The base and the emitter of the bipolar transistor 112 are connected to each other by a resistor 120. Incidentally, the bipolar transistor 112 is a discrete device installed outside of the gate control IC 40.In the switching circuit according to the seventh embodiment of the invention, the drain of the PMOS 52 is connected to the gate of the IGBT 20 via the bipolar transistor 114. Specifically, the drain of the PMOS 52 is connected to a base of the bipolar transistor 114. A collector of the bipolar transistor 114 is connected to a wiring 118 to which the potential Vcc is applied. An emitter of the bipolar transistor 114 is connected to the gate of the IGBT 20 via the gate resistor 34. The base and the emitter of the bipolar transistor 114 are connected to each other by a resistor 122. Incidentally, the bipolar transistor 114 is a discrete device installed outside of the gate control IC 40.In the switching circuit according to the seventh embodiment of the invention, when the PMOS 51 turns on, the base potential of the bipolar transistor 112 rises and the bipolar transistor 112 turns on. As a result, a gate current flows from the wiring 116 via the bipolar transistor 112 and the gate resistor 32 to the gate of the IGBT 18. Thus, the IGBT 18 turns on.In the switching circuit according to the seventh embodiment of the invention, when the PMOS 52 turns on, the base potential of the bipolar transistor 114 rises and the bipolar transistor 114 turns on. As a result, a gate current flows from the wiring 118 via the bipolar transistor 114 and the gate resistor 34 to the gate of the IGBT 20. Thus, the IGBT 20 turns on.As described above, in the seventh embodiment of the invention, the PMOSs 51 and 52 turn on, and thus the bipolar transistors 112 and 114 turn on. Thus, the IGBTs 18 and 20 turn on. The bipolar transistors 112 and 114 are discrete devices, and therefore a large current can be caused to flow through them. Accordingly, even in the case where the gate capacitances of the IGBTs 18 and 20 are large, the gates of the IGBTs 18 and 20 can be charged at a high speed. That is, the gates of the IGBTs 18 and 20 having large gate capacitances can be charged at a high speed by using the PMOSs 51 and 52 having small current capacitances formed in the gate control IC 40. That is, the gates of the IGBTs 18 and 20 can be charged either directly by the gate control IC 40 as a general-purpose product or indirectly via the bipolar transistors. According to this circuit configuration, the general-purpose characteristics of the gate control IC 40 are further developed. Moreover, for the same reason as the first embodiment of the invention set forth above, when the PMOS 51 and the PMOS 52 are turned on in the two-sided control operation, there hardly occurs a difference between the drain potential of the PMOS 51 and the drain potential of the PMOS 52. That is, there hardly occurs a difference between the base potential of the bipolar transistor 112 and the base potential of the bipolar transistor 114. In addition, there hardly occurs a dispersion of the voltage between the base and the emitter when the bipolar transistors are energized. That is, in the ON period of the two-sided control operation, the voltage between the base and the emitter of the bipolar transistor 112 is approximately equal to the voltage between the base and the emitter of the bipolar transistor 114. Accordingly, when the PMOS 51 and the PMOS 52 are turned on in the two-sided control operation, there is hardly any difference between the gate potential of the IGBT 18 and the gate potential of the IGBT 20. Accordingly, the switching circuit according to the seventh embodiment of the invention also makes it possible to turn on the IGBT 18 and the IGBT 20 substantially simultaneously. Therefore, the switching circuit according to the seventh embodiment of the invention also makes it possible to achieve the effect of distributing the load.Moreover, according to each of the above-mentioned first to seventh embodiments of the invention, the switching circuit switches between the second control operation and the first control operation depending on whether the current Ic in the immediately preceding ON period Ton is larger than the threshold value Ith or not. However, the switching circuit may calculate a predicted value of the current Ic in the subsequent ON period Ton based on the current Ic in the immediately preceding ON period Ton, and switches between the second control operation and the first control operation based on the predicted value.Moreover, in each of the above-mentioned first to seventh embodiments of the invention, the PMOSs 51 to 54 and the NMOSs 71 to 74 are formed in the gate control IC 40. However, one, some or all of these PMOSs or NMOSs may be a device or devices installed outside the gate control IC 40. In this case, a large current may be caused to flow through the device or devices installed outside.Moreover, in each of the above-mentioned first to seventh embodiments of the invention, the single control amplifier 92 applies the signal VP1 to the PMOS 51 and the PMOS 52. However, a control amplifier for the PMOS 51 and a control amplifier for the PMOS 52 may be provided independently of each other. In this case, when the PMOSs 51 and 52 are turned on, a deviation may occur between the signal VP1 for the PMOS 51 and the signal VP1 for the PMOS 52, and the timing at which the PMOS 51 turns on and the timing at which the PMOS 52 turns on may differ from each other. However, even in this case, the timing at which the IGBT 18 turns on and the timing at which the IGBT 20 turns on can be prevented from differing from each other due to the turning on of the PMOSs 53 and 54.Moreover, in each of the above-mentioned first to seventh embodiments of the invention, the single control amplifier 92 controls the two PMOSs 51 and 52. However, as shown in Fig. 11, a control amplifier 92a for controlling the PMOS 51 and a control amplifier 92b for controlling the PMOS 52 may be provided separately from each other.Moreover, in each of the above-mentioned first to seventh embodiments of the invention, the control amplifier 92 measures both the gate potential and the gate current of each of the IGBTs. However, the control amplifier 92 may measure only the gate potential or the gate current.Hereinafter, a relationship between the component elements in the respective embodiments of the invention and the component elements according to the claims will be described. The gate ON circuit 50 in Figs. 2 and 8 to 10 is an example of the control circuit according to the claims. In this case, the PMOS 51 is an example of the first switching element according to the claims, the PMOS 52 is an example of the second switching element according to the claims, the potential Vcc is an example of the reference potential according to the claims, and each of the PMOSs 53 and 54 is an example of the third switching element according to the claims. Moreover, in this case, the drain of the PMOS 51 is an example of the first main electrode according to the claims, the source of the PMOS 51 is an example of the second main electrode according to the claims, the drain of the PMOS 52 is an example of the third main electrode according to the claims, and the source of the PMOS 52 is an example of the fourth main electrode according to the claims. Furthermore, in this case, the on-time tn in the two-sided control operation is an example of “when the gate currents are caused to flow through the first IGBT and the second IGBT at the same time” according to the claims, and the on-time tn in the one-sided control operation is an example of “when the gate current is caused to flow through the first target IGBT and the gate current is not caused to flow through the second target IGBT” according to the claims. Moreover, the gate-OFF circuit 70 in Fig. 2, Fig. 9 and Fig. 10 is also an example of the control circuit according to the claims. In this case, the NMOS 71 is an example of the first switching element according to the claims, the NMOS 72 is an example of the second switching element according to the claims, the potential Vee is an example of the reference potential according to the claims, and each of the NMOSs 73 and 74 is an example of the third switching element according to the claims. Moreover, in this case, the source of the NMOS 71 is an example of the first main electrode according to the claims, the drain of the NMOS 71 is an example of the second main electrode according to the claims, the source of the NMOS 72 is an example of the third main electrode according to the claims, and the drain of the NMOS 72 is an example of the fourth main electrode according to the claims. Furthermore, in this case, the turn-off time tf in the two-sided control operation is an example of "when the gate currents are caused to flow through the first IGBT and the second IGBT at the same time" according to the claims, and the turn-off time tf in the one-sided control operation is an example of "when the gate current is caused to flow through the first target IGBT and the gate current is not caused to flow through the second target IGBT" according to the claims. Each of the signals VP0, VP1, and VP2 in the embodiments of the invention is an example of the signal indicating the on-time and the off-time according to the claims. The two-sided control operation in the embodiments of the invention is an example of the first control operation according to the claims. The one-sided control operation in the embodiments of the invention is an example of the second control operation according to the claims. The one-sided control operation shown in FIGS. 4 and 6 is an example of the configuration in which the second IGBT is always the second target IGBT. The one-sided control operation shown in FIGS. 5 and 7 is an example of the configuration in which the first IGBT and the second IGBT alternately become the second target IGBT. Moreover, in FIG. 10, the bipolar transistor 112 is an example of the first bipolar transistor according to the claims, and the bipolar transistor 114 is an example of the second bipolar transistor according to the claims. In this case, the collector of the bipolar transistor 112 is an example of the fifth main electrode according to the claims, the emitter of the bipolar transistor 112 is an example of the sixth main electrode according to the claims, the collector of the bipolar transistor 114 is an example of the seventh main electrode according to the claims, and the emitter of the bipolar transistor 114 is an example of the eighth main electrode according to the claims.The technical elements disclosed by the present specification are set forth hereinafter. Moreover, the respective technical elements set forth hereinafter are independently useful.In one of the exemplary configurations disclosed by the present specification, the control circuit is a circuit that charges the gate of the first IGBT and the gate of the second IGBT. The control circuit controls the gate potential of the first IGBT while performing detection thereof, upon charging the gate of the first IGBT, and controls the gate potential of the second IGBT while performing detection thereof, upon charging the gate of the second IGBT.In this configuration, when the first IGBT and the second IGBT are turned on, the potentials of the gates of the respective IGBTs are controlled while being detected. In such a configuration, due to the difference between the characteristics of the first switching element and the characteristics of the second switching element, a difference may occur between the gate potential of the first IGBT and the gate potential of the second IGBT when the first IGBT and the second IGBT are ON. In this way, when the difference between the potentials of the gates occurs, the current flowing through the first IGBT and the current flowing through the second IGBT are unbalanced, and the load applied to one of the IGBTs becomes high. In contrast, the difference between the gate potential of the first IGBT and the gate potential of the second IGBT can be reduced by connecting the second main electrode of the first switching element and the fourth main electrode of the second switching element to each other through the third switching element. This can prevent the current flowing through the first IGBT and the current flowing through the second IGBT from being unbalanced.In one of the exemplary configurations disclosed by the present specification, the switching circuit further includes the first bipolar transistor and the second bipolar transistor. The first bipolar transistor is equipped with the base connected to the second main electrode, the fifth main electrode connected to the reference potential, and the sixth main electrode connected to the gate of the first IGBT. The second bipolar transistor is equipped with the base connected to the fourth main electrode, the seventh main electrode connected to the reference potential, and the eighth main electrode connected to the gate of the second IGBT. The first switching element, the second switching element, and the third switching element are integrated in the IC. The first bipolar transistor and the second bipolar transistor are installed outside of the IC.In this configuration, the second main electrode is connected to the gate of the first IGBT via the first bipolar transistor. Moreover, the fourth main electrode is connected to the gate of the second IGBT via the second bipolar transistor. There is hardly any dispersion in the voltage drop caused between the bases of the bipolar transistors and the main electrodes. Moreover, the third switching element turns on in the case where the gate of the first IGBT and the gate of the second IGBT are charged simultaneously, and therefore there is hardly any difference between the potential of the second main electrode and the potential of the fourth main electrode. Accordingly, in the case where the gate of the first IGBT and the gate of the second IGBT are charged simultaneously, there is hardly any difference between the gate potential of the first IGBT and the gate potential of the second IGBT. Therefore, according to this configuration, the timing for switching the first IGBT and the timing for switching the second IGBT can be prevented from deviating from each other. Moreover, the first switching element, the second switching element, and the third switching element are preferably integrated in the IC so as to be given general-purpose properties. However, when these switching elements are integrated in the IC, the sizes of these elements become small and a large current cannot be caused to flow through them. Therefore, when the capacitances of the gates of the IGBTs are large, it is difficult to directly charge the gates of the IGBTs from the IC. In contrast, as described above, when the switching elements integrated in the IC are connected to the gates of the IGBTs via the bipolar transistors, the first IGBT and the second IGBT can be advantageously controlled.In one of the exemplary configurations disclosed by the present specification, the first IGBT and the second IGBT alternately become the second target IGBT. The third switching element is structured such that the switching element having the parasitic diode that prevents a current from flowing from the second main electrode to the fourth main electrode and the switching element having the parasitic diode that prevents a current from flowing from the fourth main electrode to the second main electrode are connected in series with each other.According to this structure, both in the case where the first IGBT is turned on and the second IGBT is turned off and in the case where the first IGBT is turned off and the second IGBT is turned on, a leakage current can be prevented from flowing through the parasitic diode of the third switching element.In one of the exemplary configurations disclosed by the present specification, the second IGBT is the second target IGBT. The third switching element is the switching element having the parasitic diode that prevents a current from flowing from the second main electrode to the fourth main electrode.In this configuration, the second IGBT is always the second target IGBT. Therefore, there is no state in which the second IGBT is ON and the first IGBT is OFF. That is, in a normal use state, the potential of the fourth main electrode of the second switching element does not become higher than the potential of the second main electrode of the first switching element. Accordingly, there is no problem even if the third switching element does not have a parasitic diode that prevents a current from flowing from the fourth main electrode to the second main electrode. Moreover, according to this configuration, the third switching element can be simplified.Although the embodiments of the invention have been described in detail above, they are merely exemplary illustrations and do not limit the claims. The teachings set forth in the claims include various modifications and changes to the specific examples exemplified above. The technical elements described in the present specification or the drawings bring about technical utility alone or in various combinations, and are not intended to be limited to the combinations set forth in the claims at the time of filing the application. Moreover, the teachings exemplified in the present specification or the drawings achieve a plurality of objects simultaneously, and are technically useful by achieving any one of the objects alone.A switching circuit (16) switches a first IGBT (18) and a second IGBT (20). A control circuit (40) is equipped with a first switching element (51) configured to be able to control a gate current of the first IGBT, a second switching element (52) configured to be able to control a gate current of the second IGBT, and a third switching element (53, 54) connected between an electrode of the first IGBT and an electrode of the second IGBT. The control circuit controls a turn-on time and a turn-off time.

Claims

A switching circuit (16) comprising: a first IGBT (18); a second IGBT (20); a wiring (13) in which a parallel connection of the first IGBT and the second IGBT is inserted; and a control circuit (40) configured to switch the first IGBT and the second IGBT by controlling gate currents of the first IGBT and the second IGBT, the control circuit comprising: a first switching element (51) having a first main electrode and a second main electrode, the first switching element controlling a current between the first main electrode and the second main electrode, the first main electrode being connected to a reference potential, and the first switching element being configured to control the gate current of the first IGBT according to a potential of the second main electrode, a second switching element (52) having a third main electrode and a fourth main electrode, the second switching element controlling a current between the third main electrode and the fourth main electrode, the third main electrode being connected to the reference potential, and the second switching element being configured to control the gate current of the second IGBT according to a potential of the fourth main electrode, and a third switching element (53, 54) connected between the second main electrode and the fourth main electrode, and the control circuit is configured to Turning on both the first IGBT and the second IGBT at an on-time, and turning off both the first IGBT and the second IGBT at an off-time when a current flowing through the wiring is larger than a threshold value, turning on a first target IGBT as one of the first IGBT and the second IGBT at the on-time, turning off the first target IGBT at the off-time, and turning off a second target IGBT as the other of the first IGBT and the second IGBT before the off-time when the current flowing through the wiring is smaller than the threshold value, turning on the first switching element and the second switching element while the third switching element is ON when the gate currents are caused to flow through the first IGBT and the second IGBT simultaneously, and turning on the one of the first switching element and the second switching element that controls the first target IGBT while the third switching element is OFF when the gate current is caused to flow through the first target IGBT and does not cause the gate current to flow through the second target IGBT.The switching circuit according to claim 1, wherein the control circuit is configured to charge gates of the first IGBT and the second IGBT, charge the gate of the first IGBT while detecting a gate potential of the first IGBT, and charge the gate of the second IGBT while detecting a gate potential of the second IGBT.A switching circuit according to claim 1 or 2, additionally comprising: a first bipolar transistor (112) having a base connected to the second main electrode, a fifth main electrode connected to the reference potential, and a sixth main electrode connected to the gate of the first IGBT; and a second bipolar transistor (114) having a base connected to the fourth main electrode, a seventh main electrode connected to the reference potential, and an eighth main electrode connected to the gate of the second IGBT, wherein the first switching element, the second switching element, and the third switching element are integrated in the control circuit, and the first bipolar transistor and the second bipolar transistor are arranged outside the control circuit.A switching circuit according to any one of claims 1 to 3, wherein the control circuit is configured to perform control so that the first IGBT and the second IGBT alternately become the second target IGBT, and the third switching element comprises: a fourth switching element (54) having a first parasitic diode (54a) that prevents a current from flowing from the second main electrode toward the fourth main electrode, and a fifth switching element (53) having a second parasitic diode (53b) that prevents a current from flowing from the fourth main electrode toward the second main electrode, wherein the fourth switching element and the fifth switching element are connected in series to each other.A switching circuit according to any one of claims 1 to 3, wherein the control circuit is configured to perform control so that the second IGBT becomes the second target IGBT, and the third switching element is a fourth switching element (54) having a first parasitic diode (54a) that prevents the current from flowing from the second main electrode toward the fourth main electrode.A switching circuit (16) comprising: a first IGBT (18); a second IGBT (20); a wiring (13) in which a parallel connection of the first IGBT and the second IGBT is inserted; and a control circuit (40) having a first gate voltage control circuit (51) connected to a gate electrode of the first IGBT and configured to control a gate voltage of the first IGBT, a second gate voltage control circuit (52) connected to a gate electrode of the second IGBT and configured to control a gate voltage of the second IGBT, and a short-circuit control circuit (53, 54) configured to establish or disconnect a connection between the gate electrode of the first IGBT and the gate electrode of the second IGBT, the control circuit being configured to turn on both the first IGBT and the second IGBT at a turn-on time, and turn off both the first IGBT and the second IGBT at a turn-off time when a current flowing through the wiring is greater than a threshold value, and turn on the first IGBT without turning on the second IGBT at the turn-on time, and turn off the first IGBT at the turn-off time, when the current flowing through the wiring is less than the threshold value, the short-circuit control circuit ensures connection between the first gate voltage control circuit and the second gate voltage control circuit when both the first IGBT and the second IGBT are turned on, and the short-circuit control circuit ensures disconnection between the first gate voltage control circuit and the second gate voltage control circuit when the first IGBT is turned on without the second IGBT being turned on.

Citation Information

Patent Citations

  • Gate drive unit for voltage-driven semiconductor element

    JP2004112916A

  • Power semiconductor device with a plurality of parallel-connected switching elements

    DE102012207222A1