Surge protection circuit and semiconductor device

The semiconductor device integrates an active and direct-current clamp circuit to address the ESD design window challenges, ensuring effective surge protection by transiently activating the protection transistor and using a Zener diode to limit voltages, thereby safeguarding the functional circuit.

US20260379205A1Pending Publication Date: 2026-11-26ROHM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/682514
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-26
Filing Date
2026-05-20
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing surge protection circuits face challenges in balancing the ESD design window due to increased normal operation voltage and lowered withstand voltage, leading to issues such as non-negligible current flow during normal operation or insufficient protection during surge events.

Method used

A semiconductor device incorporating both an active clamp circuit and a direct-current clamp circuit, where the active clamp circuit uses a detection resistor and capacitor to transiently turn on a protection transistor, while the direct-current clamp circuit uses a Zener diode to provide additional protection, ensuring the functional circuit is protected without excessive power consumption or residual charge issues.

Benefits of technology

The combined circuit effectively limits surge voltages to a safe level, maintaining the functional circuit's integrity by ensuring the voltage remains below the absolute maximum rating, even with varying discharge times of capacitors, thus providing reliable protection against surge events.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260379205A1-D00000_ABST
    Figure US20260379205A1-D00000_ABST
Patent Text Reader

Abstract

A surge protection circuit includes: an active clamp circuit that includes a protection transistor provided between first wiring and second wiring and is configured to transiently turn on the protection transistor in response to application of a surge voltage between the first wiring and the second wiring so as to protect, from the surge voltage, a circuit to be protected that is connected to the first wiring and the second wiring; and a direct-current clamp circuit connected in parallel to the active clamp circuit. The direct-current clamp circuit provides electrical continuity between the first wiring and the second wiring when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied between the first wiring and the second wiring.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present invention claims priority under 35 U.S.C. §119 to Patent Application No. 2025-087392 filed in Japan on May 26, 2025, the entire contents of which are hereby incorporated by reference.TECHNICAL FIELD

[0002] The present disclosure relates to surge protection circuits and semiconductor devices.BACKGROUND ART

[0003] Surge protection circuits are widely used as circuits for protecting various types of circuits from surge voltages caused by static electricity and the like (see, for example, Patent Literature 1 below).Citation ListPatent Literature

[0004] Patent Literature 1: Japanese Unexamined Patent Application Publication No. 2024-81268DESCRIPTION OF THE DRAWINGS

[0005] FIG. 1 is a schematic configuration view of a reference semiconductor device for comparison with a semiconductor device according to the present disclosure;

[0006] FIG. 2 is an illustrative view of an ESD design window;

[0007] FIG. 3 is a schematic configuration view of the reference semiconductor device for comparison with the semiconductor device according to the present disclosure;

[0008] FIG. 4 is a diagram showing an equivalent circuit when a first ESD test is performed on the reference semiconductor device and the result of the first ESD test;

[0009] FIG. 5 is a diagram showing an equivalent circuit when a second ESD test is performed on the reference semiconductor device and the result of the second ESD test;

[0010] FIG. 6 is a schematic configuration view of the semiconductor device according to the present disclosure;

[0011] FIG. 7 is an external perspective view of the semiconductor device according to the present disclosure;

[0012] FIG. 8 is a schematic configuration view of a semiconductor device according to a first embodiment of the present disclosure;

[0013] FIG. 9 is a partial configuration view of the semiconductor device according to the first embodiment of the present disclosure;

[0014] FIG. 10 is an equivalent circuit diagram when an ESD test is performed on the semiconductor device in the first embodiment of the present disclosure;

[0015] FIG. 11 is a diagram showing the result of the ESD test in the first embodiment of the present disclosure;

[0016] FIG. 12 is a schematic configuration view of a semiconductor device according to a second embodiment of the present disclosure;

[0017] FIG. 13 is a partial configuration view of the semiconductor device according to the second embodiment of the present disclosure;

[0018] FIG. 14 is an equivalent circuit diagram when an ESD test is performed on the semiconductor device in the second embodiment of the present disclosure;

[0019] FIG. 15 is a diagram showing the result of the ESD test in the second embodiment of the present disclosure;

[0020] FIG. 16 is a schematic configuration view of a semiconductor device according to a third embodiment of the present disclosure;

[0021] FIG. 17 is a diagram showing an example of the configuration of a functional circuit in the third embodiment of the present disclosure;

[0022] FIG. 18 is a schematic configuration view of the semiconductor device according to the third embodiment of the present disclosure;

[0023] FIG. 19 is a diagram showing an example of the configuration of the functional circuit in the third embodiment of the present disclosure;

[0024] FIG. 20 is a diagram showing an example of a configuration related to surge protection in the third embodiment of the present disclosure;

[0025] FIG. 21 is an equivalent circuit diagram when an ESD test is performed on the semiconductor device according to the third embodiment of the present disclosure;

[0026] FIG. 22 is a diagram showing the result of the ESD test in the third embodiment of the present disclosure;

[0027] FIG. 23 is a schematic configuration view of a semiconductor device according to a fourth embodiment of the present disclosure;

[0028] FIG. 24 is a diagram showing an example of a configuration related to surge protection in the fourth embodiment of the present disclosure;

[0029] FIG. 25 is an equivalent circuit diagram when an ESD test is performed on the semiconductor device in the fourth embodiment of the present disclosure;

[0030] FIG. 26 is a diagram showing the result of the ESD test in the fourth embodiment of the present disclosure;

[0031] FIG. 27 is a diagram showing an example of an active clamp circuit in a fifth embodiment of the present disclosure;

[0032] FIG. 28 is a diagram showing an example of the active clamp circuit in the fifth embodiment of the present disclosure;

[0033] FIG. 29 is a diagram showing an example of the active clamp circuit in the fifth embodiment of the present disclosure;

[0034] FIG. 30 is a diagram showing an example of the active clamp circuit in the fifth embodiment of the present disclosure;

[0035] FIG. 31 is a diagram showing an example of a direct-current clamp circuit in the fifth embodiment of the present disclosure;

[0036] FIG. 32 is a diagram showing an example of the direct-current clamp circuit in the fifth embodiment of the present disclosure;

[0037] FIG. 33 is a diagram showing an example of the direct-current clamp circuit in the fifth embodiment of the present disclosure;

[0038] FIG. 34 is a diagram showing an example of the direct-current clamp circuit in the fifth embodiment of the present disclosure;

[0039] FIG. 35 is a diagram showing an example of the direct-current clamp circuit in the fifth embodiment of the present disclosure; and

[0040] FIG. 36 is a diagram showing an example of the direct-current clamp circuit in the fifth embodiment of the present disclosure.DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0041] Examples of embodiments of the present disclosure will be specifically described below with reference to drawings. In the drawings which are referenced, the same parts are identified with the same symbols, and the repeated description of the same parts is omitted in principle. In the present specification, for simplification of description, codes or symbols which refer to information, signals, physical quantities, functional units, circuits, elements, components and the like may be provided, and thus the names of the information, the signals, the physical quantities, the functional units, the circuits, the elements, the components and the like corresponding to the codes or symbols may be omitted or written in short. For example, although an active clamp circuit (see FIG. 9) referred to by “110” which will be described later may be written as an active clamp circuit 110 or may be written in short as a circuit 110, all of these refer to the same thing.

[0042] A description will first be given of some terms which are used in the description of the embodiments of the present disclosure. Ground indicates a reference conductor having a potential (electric potential) of 0 V (zero bolts) which serves as a reference or indicates a potential of 0 V itself. The reference conductor may be formed using a conductor such as metal. A potential of 0 V may be referred to as a ground potential. In the embodiments of the present disclosure, a voltage which is indicated without provision of a particular reference indicates a potential relative to the ground. A level indicates the level (height) of a potential, and for a signal or voltage which is arbitrarily noted, a high level has a potential higher than a low level.

[0043] For any transistor formed as an FET (field-effect transistor) such as a MOSFET, an on state indicates a state where electrical continuity is provided between the drain and source of the transistor, and an off state indicates a state (interrupted state) where electrical continuity is not provided between the drain and source of the transistor. The same is true for transistors which are not classified as FETs. Unless otherwise specified, a MOSFET is understood to be an enhancement-type MOSFET. The MOSFET is an abbreviation for “metal-oxide-semiconductor field-effect transistor”. Unless otherwise specified, it may be considered that the back gate of any MOSFET is short-circuited to the source.

[0044] In the following description, for any transistor, an on state and an off state may simply be referred to as on and off. For any transistor, a period during which the transistor is kept on is referred to as an on period, and a period during which the transistor is kept off is referred to as an off period.

[0045] Unless otherwise specified, connections between a plurality of parts, such as a circuit element, wiring, a terminal and a node, which form a circuit may be understood to refer to electrical connections.

[0046] When any two voltages to be compared are assumed to be voltages v1 and v2, “v1 > v2” indicates that the voltage v1 is higher than the voltage v2, “v1 < v2” indicates that the voltage v1 is lower than the voltage v2 and “v1 = v2” indicates that the value of the voltage v1 is equal to the value of the voltage v2. The same is true for other formulas which include physical quantities other than voltages.

[0047] FIG. 1 shows a schematic configuration of a reference semiconductor device 1100 for comparison with a semiconductor device according to the present disclosure. FIG. 1 also shows a state where a surge voltage is applied to the reference semiconductor device 1100. The reference semiconductor device 1100 includes a functional circuit 1110, a direct-current clamp circuit 1120 and terminals 1131 and 1132. Each of the functional circuit 1110 and the direct-current clamp circuit 1120 is connected between the terminals 1131 and 1132. The surge voltage can be applied between the terminals 1131 and 1132. The surge voltage is a short-duration and excessively large, pulsed voltage (ESD pulse) caused by static electricity or the like. In a state where the surge voltage is not applied between the terminals 1131 and 1132, the direct-current clamp circuit 1120 is in an interrupted state, and no current is generated which is passed through the direct-current clamp circuit 1120 between the terminals 1131 and 1132. When a voltage equal to or greater than a protection voltage is applied between the terminals 1131 and 1132 by the application of the surge voltage, the direct-current clamp circuit 1120 is brought into an electrically continuous state. When the direct-current clamp circuit 1120 is in the electrically continuous state, a voltage applied to the functional circuit 1110 is suppressed to the protection voltage or less, and thus the functional circuit 1110 is protected from the surge voltage.

[0048] As the direct-current clamp circuit 1120, for example, a Zener diode can be used. For example, a bipolar transistor with its base and emitter short-circuited, a MOSFET with its source and gate short-circuited or the like can also be used as the direct-current clamp circuit 1120.

[0049] The advantages of the direct-current clamp circuit 1120 include a low leakage current and a low capacitance during normal operation and a low risk of an erroneous operation (the same is true for any direct-current clamp circuit which will be described later). On the other hand, in the reference, semiconductor device 1100 which adopts the direct-current clamp circuit 1120, a relatively wide ESD design window is needed. For any direct-current clamp circuit and functional circuit, the ESD design window is a voltage window which is defined, as shown in FIG. 2, by the maximum value VddMAX of the normal operation voltage of the functional circuit and an absolute maximum rating VLIM corresponding to the withstand voltage of the functional circuit, and a boundary voltage between electrical continuity and interruption of the direct-current clamp circuit needs to fall within the ESD design window. In FIG. 2, a solid-line waveform 1140 represents a relationship between a voltage applied across the direct-current clamp circuit 1120 (for example, a Zener diode) and a current flowing through the direct-current clamp circuit 1120. Depending on the configuration and characteristics of the direct-current clamp circuit, latch-up may occur.

[0050] In recent years, while there has been a demand for increasing the normal operation voltage of a functional circuit, the withstand voltage of the functional circuit tends to be lowered due to the miniaturization of a semiconductor process. This leads to a reduction in the ESD design window, and in other words, this leads to an increase in the maximum value VddMAX and a decrease in the absolute maximum rating VLIM in FIG. 2. For example, when the maximum value VddMAX is appropriately increased with the state shown in FIG. 2 serving as a starting point, in the reference semiconductor device 1100, a non-negligible current may flow through the direct-current clamp circuit 1120 during normal operation, and thus the normal operation of the functional circuit 1110 is prevented or unnecessary power consumption is occurred. For example, when the absolute maximum rating VLIM is appropriately lowered with the state shown in FIG. 2 serving as a starting point, if a surge voltage is generated, and thus a relatively low current only flows through the direct-current clamp circuit 1120, a voltage across the functional circuit 1110 may reach the absolute maximum rating VLIM (in other words, the protection of the functional circuit 1110 may be insufficient).

[0051] There is an active clamp circuit which replaces the direct-current clamp circuit. FIG. 3 shows a schematic configuration of a reference semiconductor device 1200 which includes an active clamp circuit. FIG. 3 also shows a state where a surge voltage is applied to the reference semiconductor device 1200. The reference semiconductor device 1200 includes a functional circuit 1210, an active clamp circuit 1220 and terminals 1231 and 1232. Each of the functional circuit 1210 and the active clamp circuit 1220 is connected between the terminals 1131 and 1132. The surge voltage can be applied between the terminals 1231 and 1232. The active clamp circuit 1220 includes a protection transistor 1221 provided between the terminals 1231 and 1232. In a state where the surge voltage is not applied between the terminals 1231 and 1232, the active clamp circuit 1220 is in an interrupted state, and no current is generated which is passed through the active clamp circuit 1220 between the terminals 1231 and 1232. The active clamp circuit 1220 transiently turns on the protection transistor 1221 in response to the application of the surge voltage to protect the functional circuit 1210 from the surge voltage.

[0052] The active clamp circuit 1220 uses a series circuit of a resistor 1222 and a capacitor 1223 provided between the terminals 1231 and 1232 to detect the application of the surge voltage, and turns on the protection transistor 1221 in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor 1222 and the capacitor 1223.

[0053] FIG. 4 shows an equivalent circuit when a first ESD test is performed on the reference semiconductor device 1200 and the result of the first ESD test. FIG. 5 shows an equivalent circuit when a second ESD test is performed on the reference semiconductor device 1200 and the result of the second ESD test. The ESD tests respectively correspond to two types of ESD tests in ISO 10605. In each of the ESD tests, a capacitor Ctest which has accumulated a charge corresponding to a certain voltage is connected between the terminals 1231 and 1232 via a discharge resistor Rtest to discharge the accumulated charge in the capacitor Ctest. When the accumulated charge in the capacitor Ctest is discharged, a current Ix which flows via the terminal 1231 and a voltage Vx between the terminals 1231 and 1232 (here, a voltage at the terminal 1231 relative to the potential of the terminal 1232) are important. Here, a time constant determined by the capacitor Ctest and the discharge resistor Rtest is longer in the second ESD test than in the first ESD test. In other words, the discharge time of the capacitor Ctest is relatively short in the first ESD test and is relatively long in the second ESD test.

[0054] In FIG. 4, waveforms 1251 and 1252 are respectively the waveforms of the current Ix and the voltage Vx in the first ESD test. In FIG. 5, waveforms 1261 and 1262 are respectively the waveforms of the current Ix and the voltage Vx in the second ESD test. For the protection of the functional circuit 1210, it is ideal for the capacitor Ctest to complete discharge during the on period of the protection transistor 1221 (see FIG. 3). In the first ESD test where the discharge time of the capacitor Ctest is relatively short, during the on period of the protection transistor 1221, the discharge of the capacitor Ctest is completed, and the voltage Vx does not reach the absolute maximum rating VLIM of the functional circuit 1210. By contrast, in the second ESD test where the discharge time of the capacitor Ctest is relatively long, even when the protection transistor 1221 is returned from on to off, the discharge of the capacitor Ctest is continued. The charge accumulated in the capacitor Ctest when the protection transistor (in FIG. 3, the protection transistor 1221) is returned from on to off is referred to as a residual charge. The residual charge causes an increase in the voltage Vx, and depending on the amount of residual charge, as shown in FIG. 5, the voltage Vx is increased to exceed the absolute maximum rating VLIM.

[0055] In the active clamp circuit 1220 (see FIG. 3), the on time of the protection transistor 1221 can be adjusted through the adjustment of characteristics (the resistance value and the capacitance value) of the resistor 1222 and the capacitor 1223. The on time of the protection transistor 1221 is set sufficiently long, and thus it is possible to reliably complete the discharge of the capacitor Ctest during the on period of the protection transistor 1221. However, an increase in the on time of the protection transistor 1221 increases the risk of the erroneous operation of the active clamp circuit 1220. The erroneous operation of the active clamp circuit 1220 indicates that although the surge voltage is not generated, the protection transistor 1221 is turned on. For example, when the value of the resistor 1222 is sufficiently increased, though the on time of the protection transistor 1221 during the generation of the surge voltage is sufficiently long, a risk of the protection transistor 1221 being turned on occurs when the power is turned on normally (during the process in which the voltage at the terminal 1231 is relatively gently increased from 0 V to a power supply voltage). In other words, it is difficult to distinguish between the generation of the surge voltage and the normal turning on of the power supply voltage.

[0056] The semiconductor device according to the present disclosure with consideration given to these events is proposed. FIG. 6 is a schematic configuration view of the semiconductor device 1 according to the present disclosure. The semiconductor device 1 includes a surge protection circuit SP and a functional circuit FC. The surge protection circuit SP protects the functional circuit FC from a surge voltage which can be applied to the semiconductor device 1. The functional circuit FC is a circuit to be protected which needs to be protected from the surge voltage. The functional circuit FC is a circuit which realizes any function, and is, for example, a signal output circuit for outputting any signal to the outside of the semiconductor device 1 or a signal input circuit for receiving a signal supplied from the outside of the semiconductor device 1.

[0057] The semiconductor device 1 can be incorporated into any electronic device. A state where the semiconductor device 1 is incorporated in any electronic device is referred to as a device incorporation state. In the device incorporation state, when a power supply voltage Vdd is supplied to the semiconductor device 1, the functional circuit FC is operated based on the power supply voltage Vdd (the power supply voltage Vdd is not shown). In the following description, a normal operation state refers to a state where the power supply voltage Vdd is supplied to the semiconductor device 1, and thus the functional circuit FC is operated based on the power supply voltage Vdd. By contrast, a state where the power supply voltage Vdd is not supplied to the semiconductor device 1 is referred to as a power-free state. In the device incorporation state, the semiconductor device 1 is in the normal operation state or the power-free state. A state where the semiconductor device 1 is not incorporated into an electronic device and is singly present as a component is referred to as a component single state. The semiconductor device 1 in the component single state is in the power-free state. The surge voltage can be applied both to the semiconductor device 1 in the device incorporation state and to the semiconductor device 1 in the component single state. The peak value of the surge voltage (for example, several thousand volts) is significantly higher than the power supply voltage Vdd (for example, several tens of volts).

[0058] FIG. 7 is an external perspective view of the semiconductor device 1. The semiconductor device 1 is an electronic component which includes: a semiconductor chip including a semiconductor integrated circuit formed on a semiconductor substrate; a housing (package) containing the semiconductor chip; and a plurality of external terminals exposed from the housing to the outside of the semiconductor device 1. The semiconductor chip is sealed in the housing (package) formed of resin, and thus the semiconductor device 1 is formed. The surge protection circuit SP and the functional circuit FC are included in the semiconductor integrated circuit described above. The number of external terminals of the semiconductor device 1 and the type of housing of the semiconductor device 1 shown in FIG. 7 are merely illustrative and can be arbitrarily designed. Specific configurations, application techniques, variation techniques and the like related to the semiconductor device 1 in a plurality of embodiments will be described below.First Embodiment

[0059] A first embodiment will be described. FIG. 8 is a schematic configuration view of a semiconductor device1A which is a semiconductor device 1 according to the first embodiment. The semiconductor device 1A includes an active clamp circuit 100, a direct-current clamp circuit 200 and a functional circuit FC and also includes terminals TM1 and TM2 as two external terminals. In the semiconductor device 1A, the active clamp circuit 100 and the direct-current clamp circuit 200 form the surge protection circuit SP (see FIG. 6).

[0060] Wiring WR1 and wiring WR2 are internal wiring provided in the semiconductor device 1A. In the semiconductor device 1A, the wiring WR1 is connected to the terminal TM1, and the wiring WR2 is connected to the terminal TM2. In the semiconductor device 1A, each of the active clamp circuit 100, the direct-current clamp circuit 200 and the functional circuit FC is connected to the wiring WR1 and the wiring WR2 (hence, is connected to the terminals TM1 and TM2). The semiconductor device 1A is incorporated into any electronic device. In a state where the semiconductor device 1A is incorporated in any electronic device, the terminal TM2 is connected to ground. In the normal operation state, a predetermined positive direct-current voltage is supplied as the power supply voltage Vdd (not shown) to the terminal TM1, and thus the functional circuit FC is operated relative to the ground potential based on the power supply voltage Vdd. Hence, in the semiconductor device 1A, the terminal TM1 and the terminal TM2 function as a power supply terminal and a ground terminal, respectively, and the wiring WR1 and the wiring WR2 function as power supply wiring and ground wiring, respectively (the same is true in a second embodiment which will be described later).

[0061] FIG. 9 is a partial configuration view of the semiconductor device 1A which includes an active clamp circuit 110 and a direct-current clamp circuit 210. The active clamp circuit 110 and the direct-current clamp circuit 210 are examples of the active clamp circuit 100 and the direct-current clamp circuit 200 shown in FIG. 8.

[0062] The active clamp circuit 110 includes a protection transistor 111, a detection resistor 112, a detection capacitor 113, a transistor 114 and a transistor 115. The protection transistor 111 and the transistor 115 are N-channel MOSFETs, and the transistor 114 is a P-channel MOSFET. The detection resistor 112 and the detection capacitor 113 form a detection circuit DET1. The detection circuit DET1 detects the application of the surge voltage. The transistors 114 and 115 form an inverter. The protection transistor 111 is provided between the wiring WR1 and the wiring WR2 (hence, is provided between the terminals TM1 and TM2). Specifically, the drain of the protection transistor 111 is connected to the wiring WR1, and the source of the protection transistor 111 is connected to the wiring WR2. The gate of the protection transistor 111 is connected to a node ND12. The first end of the detection resistor 112 is connected to the wiring WR1, and the second end of the detection resistor 112 and the first end of the detection capacitor 113 are connected to a node ND11. The second end of the detection capacitor 113 is connected to the wiring WR2. The source of the transistor 114 is connected to the wiring WR1. The drains of the transistors 114 and 115 are connected to the node ND12. The source of the transistor 115 is connected to the wiring WR2. The gates of the transistors 114 and 115 are connected to the node ND11.

[0063] The direct-current clamp circuit 210 includes a Zener diode 211. The Zener diode 211 is provided between the wiring WR1 and the wiring WR2 (hence, is provided between the terminals TM1 and TM2). Specifically, the cathode of the Zener diode 211 is connected to the wiring WR1, and the anode of the Zener diode 211 is connected to the wiring WR2.

[0064] A state where the wiring WR1, the wiring WR2 and the node ND11 have the same potential is referred to as a state ST1. In the power-free state and the component single state, the state ST1 is realized. In the state ST1, the transistors 114 and 115 are off, and the protection transistor 111 is also off. In order to reliably secure the off state of the protection transistor 111 in the state ST1, in the active clamp circuit 110, a pull-down resistor may be connected between the gate and source of the protection transistor 111. A state where the power supply voltage Vdd is applied to the wiring WR1 and the node ND11 relative to the potential of the wiring WR2 is referred to as a state ST2. In the normal operation state, the state ST2 is realized. In the state ST2, the transistor 114 is off, the transistor 115 is on and a voltage between the gate and source of the protection transistor 111 is substantially 0 V, with the result that the protection transistor 111 is off.

[0065] The operation of the active clamp circuit 110 in the semiconductor device 1A when the surge voltage is generated will be described. The surge voltage described in the first embodiment refers to a positive pulsed voltage which is applied to the terminal TM1 relative to the potential of the terminal TM2 (the same is true in the second embodiment which will be described later). The state ST1 or the state ST2 described above is referred to as the initial state. A time point at which the application of the surge voltage to the terminal TM1 is started is referred to as time point t0 (also see FIG. 11). When the surge voltage is generated with the initial state (ST1, ST2) serving as a starting point, the potential of the wiring WR1 is rapidly increased to the potential of the surge voltage. On the other hand, the potential of the node ND11 is gently increased from the potential of the initial state with a slope corresponding to characteristics (the resistance value and the capacitance value) of the detection resistor 112 and the detection capacitor 113. Hence, the transistor 114 is switched from off to on at time point t0, and thus the potential of the node ND12 is increased, with the result that the protection transistor 111 is switched from off to on. Here, although the transistors 114 and 115 may be turned on at the same time, the active clamp circuit 110 is configured such that when the transistor 114 is turned on by the application of the surge voltage, the protection transistor 111 is also turned on. After time point t0, the potential of the node ND11 is increased, then a voltage drop generated in the detection resistor 112 is sufficiently decreased and thus the transistor 114 is turned off and the transistor 115 is turned on, with the result that the protection transistor 111 is switched from on to off. A time during which the protection transistor 111 is kept on in response to the application of the surge voltage is referred to as an on time Ton (also see FIG. 11).

[0066] As described above, in the active clamp circuit 110, the detection circuit DET1 formed with the detection resistor 112 and the detection capacitor 113 detects the application of the surge voltage. Then, the active clamp circuit 110 supplies a necessary voltage between the gate and source of the protection transistor 111 through the inverter formed with the transistors 114 and 115 in response to the application of the surge voltage, and thereby transiently turns on the protection transistor 111 (keeps on the protection transistor 111 for only the on time Ton).

[0067] It is assumed that after a state where no surge voltage is applied continues for a sufficiently long time, the surge voltage is applied to the terminal TM1 at time point t0. In order to reproduce this situation, the ESD test is used.

[0068] FIG. 10 is an equivalent circuit diagram when the ESD test is applied to the semiconductor device 1A. In the ESD test in the first embodiment, a test circuit 2000 shown in FIG. 10 is considered to be connected to the semiconductor device 1A. In the ESD test, a terminal to which the surge voltage needs to be applied is referred to as a surge application terminal. The surge application terminal in the ESD test shown in FIG. 10 is the terminal TM1. The test circuit 2000 includes a capacitor Ctest, a discharge resistor Rtest and a switch SW. In FIG. 10, the first end of the switch SW is connected to the surge application terminal (here, the terminal TM1), and the second end of the switch SW is connected to the first end of the capacitor Ctest via the discharge resistor Rtest. The second end of the capacitor Ctest and the terminal TM2 are connected to ground. In the ESD test, a charge is accumulated in the capacitor Ctest such that a positive constant voltage Vc is applied to the first end of the capacitor Ctest relative to the second end of the capacitor Ctest, then the switch SW is switched from off to on at time point t0 and thereafter the switch SW is kept on for a sufficiently long time. In the first embodiment, the current Ix refers to a current which flows through the surge application terminal (here, the terminal TM1) in the ESD test. In the configuration shown in FIG. 10, the current Ix flows from the surge application terminal (here, the terminal TM1) through the circuit 110 or 210 toward the terminal TM2. In the first embodiment, the voltage Vx refers to a voltage (specifically, a voltage at the surge application terminal relative to the terminal TM2) which is generated between the surge application terminal (here, the terminal TM1) and the terminal TM2 in the ESD test. In the ESD test, the current Ix and the voltage Vx are important.

[0069] In FIG. 11, waveforms 2111 and 2112 are respectively the waveforms of the current Ix and the voltage Vx in the ESD test in the first embodiment. Time point t1 is a time point which is the on time Ton later than time point t0. Time point t2 is a time point which is much later than time point t1. The switch SW is switched from off to on at time point t0, and thus the current Ix and the voltage Vx are rapidly increased from zero. However, the protection transistor 111 is substantially switched from off to on at time point t0, and thus all or most of the current Ix flows through the protection transistor 111 which has a high current capacity. Hence, at time point t0 and immediately after time point t0, the voltage Vx does not reach the absolute maximum rating VLIM (withstand voltage of the functional circuit FC). After time point t0, as the discharge of the capacitor Ctest proceeds, the current Ix and the voltage Vx are basically lowered (however, may be temporarily increased). As the potential of the node ND11 is increased after time point t0, the transistor 114 is switched from on to off, and the transistor 115 is switched from off to on, with the result that in conjunction with the switching described above, the protection transistor 111 is switched from on to off at time point t1. After time point t1, the protection transistor 111 is kept off. In FIG. 11, it is assumed that the accumulated charge in the capacitor Ctest is left even at time point t1, and in other words, the residual charge is present in the capacitor Ctest at time point t1. The residual charge causes an increase in the voltage Vx.

[0070] However, after time point t1, when the voltage Vx reaches a predetermined trigger voltage VTRG due to the residual charge, the direct-current clamp circuit 210 provides electrical continuity between the wiring WR1 and the wiring WR2, and thus the current Ix flows through the direct-current clamp circuit 210, with the result that an increase in the voltage Vx exceeding the trigger voltage VTRG is suppressed. The trigger voltage VTRG in the direct-current clamp circuit 210 shown in FIGS. 9 and 10 is the Zener voltage of the Zener diode 211. Time point t2 is a time point at which the voltage Vx in the process of being increased after time point t1 reaches the trigger voltage VTRG. Although after time point t2, the manner in which the current Ix and the voltage Vx are lowered varies depending on the configuration of the direct-current clamp circuit 210, in any case, the voltage Vx is restricted to the trigger voltage VTRG or the less and maintained. Here, the trigger voltage VTRG is lower than the absolute maximum rating VLIM (withstand voltage of the functional circuit FC). Hence, the functional circuit FC is appropriately protected when the surge voltage is generated.

[0071] The ESD test corresponding to the waveforms in FIG. 11 corresponds to that in FIG. 5, and the waveforms 2111 and 2112 are respectively the waveforms of the current Ix and the voltage Vx when the discharge time of the capacitor Ctest is appropriately long. If the discharge time of the capacitor Ctest is sufficiently short, since the discharge of the capacitor Ctest is completed during the on period of the protection transistor 111, “Vx< VLIM” is ensured without relying on the direct-current clamp circuit 210.

[0072] The direct-current clamp circuit 200 for which the direct-current clamp circuit 210 is described as an example provides electrical continuity between the wiring WR1 and the wiring WR2 when a voltage equal to or greater than the trigger voltage VTRG corresponding to characteristics of the direct-current clamp circuit 200 is applied between the wiring WR1 and the wiring WR2. The direct-current clamp circuit 200 provides electrical continuity between the wiring WR1 and the wiring WR2, and thus a current corresponding to the residual charge is passed from the wiring WR1 through the direct-current clamp circuit 200 to the wiring WR2, with the result that an increase in a voltage between the wiring WR1 and the wiring WR2 is suppressed (the voltage of the wiring WR1 relative to the potential of the wiring WR2 is restricted to the trigger voltage VTRG or less and maintained).

[0073] Here, the application of the voltage equal to or greater than the trigger voltage VTRG between the wiring WR1 and the wiring WR2 specifically refers to the application of the voltage equal to or greater than the trigger voltage VTRG relative to the potential of the wiring WR2 to the wiring WR1. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor 111, and thus the residual charge only needs to be passed through the direct-current clamp circuit 200. Hence, the direct-current clamp circuit 200 can be configured to be a considerably small size (in other words, for example, the mounting area of the Zener diode 211 in the semiconductor integrated circuit may be considerably small).

[0074] Unlike the active clamp circuit 100 for which the active clamp circuit 110 is described as an example, the direct-current clamp circuit 200 generates or interrupts, according to the direct-current component of the voltage between the wiring WR1 and the wiring WR2, a current which is passed through the direct-current clamp circuit 200 between the wiring WR1 and the wiring WR2. Here, the voltage between the wiring WR1 and the wiring WR2 refers to the voltage of the wiring WR1 relative to the potential of the wiring WR2.

[0075] The direct-current clamp circuit 200 is turned on (electrically continuous state) or off (interrupted state) according to the voltage between the wiring WR1 and the wiring WR2 (the direct-current component of the voltage). When the voltage between the wiring WR1 and the wiring WR2 (the direct-current component of the voltage) is equal to or greater than the trigger voltage VTRG, the direct-current clamp circuit 200 is turned on. When the voltage between the wiring WR1 and the wiring WR2 (the direct-current component of the voltage) is less than the trigger voltage VTRG, the direct-current clamp circuit 200 is turned off. The direct-current clamp circuit 200 which is on provides electrical continuity between the wiring WR1 and the wiring WR2 and thereby generates the current which is passed through the direct-current clamp circuit 200 between the wiring WR1 and the wiring WR2. The direct-current clamp circuit 200 which is off interrupts electrical continuity between the wiring WR1 and the wiring WR2 and thereby interrupts the current which is passed through the direct-current clamp circuit 200 between the wiring WR1 and the wiring WR2.

[0076] However, strictly speaking, even if the voltage between the wiring WR1 and the wiring WR2 (the direct-current component of the voltage) is less than the trigger voltage VTRG, some leakage current may flow between the wiring WR1 and the wiring WR2 through the direct-current clamp circuit 200. Hence, the current which flows through the direct-current clamp circuit 200 can be said to be increased nonlinearly in response to an increase in the voltage between the wiring WR1 and the wiring WR2. In other words, when the voltage between the wiring WR1 and the wiring WR2 is increased by only a unit amount, the amount of increase in the current flowing through the direct-current clamp circuit 200 is significantly greater in a case where the voltage between the wiring WR1 and the wiring WR2 is equal to or greater than the trigger voltage VTRG than in a case where the voltage between the wiring WR1 and the wiring WR2 is less than the trigger voltage VTRG.Second Embodiment

[0077] The second embodiment will be described. FIG. 12 is a schematic configuration view of a semiconductor device 1B which is a semiconductor device 1 according to the second embodiment. The semiconductor device 1B includes an active clamp circuit 100, a direct-current clamp circuit 300 and a functional circuit FC and also includes terminals TM1 and TM2 as two external terminals. In the semiconductor device 1B, the active clamp circuit 100 and the direct-current clamp circuit 300 form the surge protection circuit SP (see FIG. 6).

[0078] Wiring WR1 and wiring WR2 are internal wiring provided in the semiconductor device 1B. In the semiconductor device 1B, the wiring WR1 is connected to the terminal TM1, and the wiring WR2 is connected to the terminal TM2. In the semiconductor device 1B, each of the active clamp circuit 100 and the functional circuit FC is connected to the wiring WR1 and the wiring WR2 (hence, is connected to the terminals TM1 and TM2). In the semiconductor device 1B, the direct-current clamp circuit 300 is connected in parallel to a detection capacitor which is provided in the active clamp circuit 100 and is used for detecting the surge voltage. The second embodiment corresponds to a modified version of the first embodiment, and unless otherwise specified in the second embodiment, the description of the first embodiment is applied to the second embodiment as long as there is no contradiction. In this application, in the second embodiment, the symbols “1A”, “200”, “210" and “211” (see FIGS. 8 and 9) are replaced with symbols “1B”, “300”, “310” and “311” (see FIGS. 12 and 13), respectively.

[0079] FIG. 13 is a partial configuration view of the semiconductor device 1B which includes an active clamp circuit 110 and a direct-current clamp circuit 310. The active clamp circuit 110 and the direct-current clamp circuit 310 are examples of the active clamp circuit 100 and the direct-current clamp circuit 300, respectively. The configuration of the active clamp circuit 110 and the connection relationship of the active clamp circuit 110, the wiring WR1 and the wiring WR2 are the same as described in the first embodiment. The direct-current clamp circuit 310 includes a Zener diode 311. The Zener diode 311 is connected in parallel to a detection capacitor 113. Specifically, the anode of the Zener diode 311 is connected to the wiring WR2, and the cathode of the Zener diode 311 is connected to a node ND11.

[0080] The operation of the active clamp circuit 110 when the surge voltage is generated is the same as described in the first embodiment. In other words, in the active clamp circuit 110, a detection circuit DET1 formed with a detection resistor 112 and the detection capacitor 113 detects the application of the surge voltage. Then, the active clamp circuit 110 supplies a necessary voltage between the gate and source of a protection transistor 111 through an inverter formed with transistors 114 and 115 in response to the application of the surge voltage, and thereby transiently turns on the protection transistor 111 (keeps on the protection transistor 111 for only the on time Ton). However, since in the second embodiment, the direct-current clamp circuit 310 is connected not between the wiring WR1 and the wiring WR2 but across the detection capacitor 113 in the detection circuit DET1, the flow of the current based on the application of the surge voltage differs from the flow of the current in the first embodiment as will be described later.

[0081] FIG. 14 is an equivalent circuit diagram when an ESD test is applied to the semiconductor device 1B. In the ESD test in the second embodiment, a test circuit 2000 shown in FIG. 14 is considered to be connected to the semiconductor device 1B. The configuration of the test circuit 2000 and the details of the ESD test are the same as described in the first embodiment. In the second embodiment, a current Ix refers to a current which flows through the terminal TM1 in the ESD test. In the second embodiment, a voltage Vx refers to a voltage which is generated between the terminals TM1 and TM2 in the ESD test (specifically, a voltage at the terminal TM1 relative to the potential of the terminal TM2). In the configuration shown in FIG. 14, most of the current Ix flows from the terminal TM1 through the protection transistor 111 toward the terminal TM2. Of the current Ix, the current corresponding to the residual charge flows from the terminal TM1 through the detection resistor 112 and the Zener diode 311 toward the terminal TM2.

[0082] In FIG. 15, waveforms 2211 and 2212 are respectively the waveforms of the current Ix and the voltage Vx in the ESD test in the second embodiment. A switch SW is switched from off to on at time point t0, and thus the current Ix and the voltage Vx are rapidly increased from zero. However, the protection transistor 111 is substantially switched from off to on at time point t0, and thus all or most of the current Ix flows through the protection transistor 111 which has a high current capacity. Hence, at time point t0 and immediately after time point t0, the voltage Vx does not reach the absolute maximum rating VLIM (withstand voltage of the functional circuit FC). After time point t0, as the discharge of a capacitor Ctest proceeds, the current Ix and the voltage Vx are basically lowered (however, may be temporarily increased). As the potential of the node ND11 is increased after time point t0, the transistor 114 is switched from on to off, and the transistor 115 is switched from off to on, with the result that in conjunction with the switching described above, the protection transistor 111 is switched from on to off at time point t1. After time point t1, the protection transistor 111 is kept off. In FIG. 15, it is assumed that the accumulated charge in the capacitor Ctest is left even at time point t1, and in other words, the residual charge is present in the capacitor Ctest at time point t1. The residual charge causes an increase in the voltage Vx.

[0083] Here, since an increase in the voltage Vx at time point t1 and during the period subsequent thereto is caused by a residual charge which is significantly smaller than the initially accumulated charge in the capacitor Ctest, the rate of the increase is significantly slower than the rate of increase in the voltage Vx at time point t0 and immediately after time point t0. Hence, at time point t1 and during the period subsequent thereto, the potential of the wiring WR1 is substantially equal to the potential of the node ND11. Therefore, after time point t1, when the voltage Vx reaches a predetermined trigger voltage VTRG due to the residual charge, a voltage corresponding to the trigger voltage VTRG is substantially applied to the direct-current clamp circuit 310. The trigger voltage VTRG in the direct-current clamp circuit 310 shown in FIGS. 13 and 14 is the Zener voltage of the Zener diode 311. In a state where the voltage corresponding to the trigger voltage VTRG is applied to the direct-current clamp circuit 310, the current Ix flows from the wiring WR1 through the detection resistor 112 and the Zener diode 311 toward the wiring WR2, with the result that an increase in the voltage Vx exceeding the trigger voltage VTRG is suppressed. Time point t2 is a time point at which a voltage across the detection capacitor 113 in the process of being increased after time point t1 (voltage at the node ND11 relative to the potential of the wiring WR2) reaches the trigger voltage VTRG, and is substantially the same as a time point at which the voltage Vx in the process of being increased after time point t1 reaches the trigger voltage VTRG. Although after time point t2, the manner in which the current Ix and the voltage Vx are lowered varies depending on the configuration of the direct-current clamp circuit 310, in any case, the voltage Vx is restricted to the trigger voltage VTRG or the less and maintained. Here, the trigger voltage VTRG is lower than the absolute maximum rating VLIM (withstand voltage of the functional circuit FC). Hence, the functional circuit FC is appropriately protected when the surge voltage is generated. Strictly speaking, although after time point t1, the voltage Vx may be increased by only a voltage drop in the detection resistor 112 relative to the trigger voltage VTRG, the semiconductor device 1B is designed such that in such a case, the voltage Vx is also lowered below the absolute maximum rating VLIM (withstand voltage of the functional circuit FC).

[0084] The ESD test corresponding to FIG. 15 corresponds to that in FIG. 5, and the waveforms 2211 and 2212 are respectively the waveforms of the current Ix and the voltage Vx when the discharge time of the capacitor Ctest is appropriately long. If the discharge time of the capacitor Ctest is sufficiently short, since the discharge of the capacitor Ctest is completed during the on period of the protection transistor 111, “Vx< VLIM” is ensured without relying on the direct-current clamp circuit 310.

[0085] The direct-current clamp circuit 300 for which the direct-current clamp circuit 310 is described as an example provides electrical continuity across the detection capacitor (here, the detection capacitor 113) connected in parallel to the direct-current clamp circuit 300 when a voltage across the detection capacitor is equal to or greater than the trigger voltage VTRG corresponding to characteristics of the direct-current clamp circuit 300. The direct-current clamp circuit 300 provides electrical continuity across the detection capacitor, and thus a current corresponding to the residual charge is passed from the wiring WR1 through the detection resistor (here, the detection resistor 112) and the direct-current clamp circuit 300 to the wiring WR2, with the result that an increase in a voltage between the wiring WR1 and the wiring WR2 is suppressed. By this suppression, the voltage of the wiring WR1 relative to the potential of the wiring WR2 is restricted to the trigger voltage VTRG or less and maintained (here, the voltage drop in the detection resistor 112 is assumed to be negligibly small).

[0086] The voltage across the detection capacitor refers to a voltage at the high potential end of the detection capacitor relative to the potential of the low potential end of the detection capacitor. In the configuration shown in FIGS. 13 and 14, the low potential end of the detection capacitor is, of both ends of the detection capacitor 113, an end connected to the wiring WR2, and the high potential end of the detection capacitor is, of both ends of the detection capacitor 113, an end connected to the node ND11. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor 111, and thus the residual charge only needs to be passed through the direct-current clamp circuit 300. Hence, the direct-current clamp circuit 300 can be configured to have a considerably small size (in other words, for example, the mounting area of the Zener diode 311 in the semiconductor integrated circuit may be considerably small).

[0087] Unlike the active clamp circuit 100 for which the active clamp circuit 110 is described as an example, the direct-current clamp circuit 300 generates or interrupts, according to the direct-current component of the voltage across the detection capacitor, a current which is passed through the direct-current clamp circuit 300 between the wiring WR1 and the wiring WR2. In other words, the direct-current clamp circuit 300 is turned on (electrically continuous state) or off (interrupted state) according to the voltage across the detection capacitor (the direct-current component of the voltage). When the voltage across the detection capacitor (the direct-current component of the voltage) is equal to or greater than the trigger voltage VTRG, the direct-current clamp circuit 300 is turned on. When the voltage across the detection capacitor (the direct-current component of the voltage) is less than the trigger voltage VTRG, the direct-current clamp circuit 300 is turned off. The direct-current clamp circuit 300 which is on provides electrical continuity across the detection capacitor and thereby generates the current which is passed through the direct-current clamp circuit 300 between the wiring WR1 and the wiring WR2. The direct-current clamp circuit 300 which is off interrupts electrical continuity across the detection capacitor, and thereby interrupts the current which is passed through the direct-current clamp circuit 300 between the wiring WR1 and the wiring WR2.

[0088] However, strictly speaking, even if the voltage across the detection capacitor (the direct-current component of the voltage) is less than the trigger voltage VTRG, some leakage current may flow between the wiring WR1 and the wiring WR2 through the direct-current clamp circuit 300. Hence, the current which flows through the direct-current clamp circuit 300 can be said to be increased nonlinearly in response to an increase in the voltage across the detection capacitor. In other words, when the voltage across the detection capacitor is increased by only a unit amount, the amount of increase in the current flowing through the direct-current clamp circuit 300 is significantly greater in a case where the voltage across the detection capacitor is equal to or greater than the trigger voltage VTRG than in a case where the voltage across the detection capacitor is less than the trigger voltage VTRG.Third Embodiment

[0089] A third embodiment will be described. FIG. 16 is a schematic configuration view of a semiconductor device 1C which is a semiconductor device 1 according to the third embodiment. The semiconductor device 1C includes an active clamp circuit 100, a direct-current clamp circuit 200 and a control circuit CNT and also includes terminals TM1 and TM2 as two external terminals. The semiconductor device 1C includes functional circuits FC [1] to FC [n] as n functional circuits FC, and also includes n first diodes Da, n second diodes Db and n signal terminals CH which are n external terminals. Although “n = 1” may hold true, in the following description, n is assumed to represent any integer equal to or greater than 2 (the same is true in a fourth embodiment which will be described later).

[0090] Wiring WR1, wiring WR2 and n pieces of signal wiring WRs are internal wiring which is provided in the semiconductor device 1C. The n pieces of signal wiring WRs are pieces of signal wiring WRs [1] to WRs [n]. The n first diodes Da are first diodes Da [1] to Da [n]. The n second diodes Db are second diodes Db [1] to Db [n]. The n signal terminals CH are signal terminals CH [1] to CH [n]. The functional circuit FC [i], the signal wiring WRs [i], the first diode Da [i], the second diode Db [i] and the signal terminal CH [i] correspond to each other and form the i-th channel. Here, i represents any integer. In the semiconductor device 1C, the active clamp circuit 100, the direct-current clamp circuit 200, the first diodes Da [1] to Da [n] and the second diodes Db [1] to Db [n] form the surge protection circuit SP (see FIG. 6).

[0091] In the semiconductor device 1C, the wiring WR2 is connected to the terminal TM2. In the semiconductor device 1C, each of the active clamp circuit 100 and the direct-current clamp circuit 200 is connected to the wiring WR1 and the wiring WR2. The semiconductor device 1C is incorporated into any electronic device. In a state where the semiconductor device 1C is incorporated in any electronic device, the terminal TM2 is connected to ground. In the normal operation state, a predetermined positive direct-current voltage is supplied as the power supply voltage Vdd (not shown) to the terminal TM1, and thus the functional circuits FC (FC [1] to FC [n]) are operated relative to the ground potential based on the power supply voltage Vdd. Hence, in the semiconductor device 1C, the terminal TM1 and the terminal TM2 function as a power supply terminal and a ground terminal, respectively, and the wiring WR2 functions as ground wiring (the same is true in the fourth embodiment which will be described later).

[0092] Regarding any integer i which satisfies “1 ≤ i ≤ n”, the first diode Da [i] is a first rectifying element which is provided between the signal wiring WRs [i] and the wiring WR1, and has a forward direction from the signal wiring WRs [i] toward the wiring WR1, and the second diode Db [i] is a second rectifying element which is provided between the signal wiring WRs [i] and the wiring WR2, and has a forward direction from the wiring WR2 toward the signal wiring WRs [i]. More specifically, regarding any integer i which satisfies “1 ≤ i ≤ n”, the anode of the first diode Da [i] and the cathode of the second diode Db [i] are connected to the signal wiring WRs [i], the cathode of the first diode Da [i] is connected to the wiring WR1 and the anode of the second diode Db [i] is connected to the wiring WR2.

[0093] The functional circuits FC [1] to FC [n] are signal output circuits which have the same configuration. The functional circuits FC [1] to FC [n] are connected to the pieces of signal wiring WRs [1] to WRs [n], respectively. The functional circuit FC [i] outputs a necessary signal from the signal terminal CH [i] through the signal wiring WRs [i] to the outside of the semiconductor device 1C under control of the control circuit CNT. Here, as shown in FIG. 17, the functional circuit FC [i] is assumed to be a half-bridge circuit. Specifically, the functional circuit FC [i] includes a transistor 51 which functions as an upper arm, and a transistor 52 which functions as a lower arm. The functional circuits FC [1] to FC [n] have the same configuration, and thus each of the functional circuits FC [1] to FC [n] includes the transistors 51 and 52. The transistors 51 and 52 are N-channel MOSFETs. In each of the functional circuits FC [1] to FC [n], the drain of the transistor 51 is connected to the application node of the power supply voltage Vdd (node to which the power supply voltage Vdd is applied), and receives supply of the power supply voltage Vdd, the source of the transistor 52 is connected to the wiring WR2 and the source of the transistor 51 and the drain of the transistor 52 are connected to each other. In each of the functional circuits FC, the source of the transistor 51 and the drain of the transistor 52 are connected to the corresponding signal terminal via the corresponding signal wiring. In other words, the source of the transistor 51 and the drain of the transistor 52 in the functional circuit FC [i] are connected to the corresponding signal wiring WRs [i], and are connected to the corresponding signal terminal CH [i] via the signal wiring WRs [i]. A variation in which the transistor 51 is formed with a P-channel MOSFET can also be adopted.

[0094] The control circuit CNT controls the gate voltages of the transistors 51 and 52 in each of the functional circuits FC [1] to FC [n], and thereby sets the states of the transistors 51 and 52 in each of the functional circuits FC [1] to FC [n]. The setting of the state of the transistor 51 refers to the setting of the on state or the off state of the transistor 51, and the setting of the state of the transistor 52 refers to the setting of the on state or the off state of the transistor 52. The control circuit CNT can individually set the state of each of the functional circuits FC [1] to FC [n] to any one of an output high state, an output low state and a Hi_Z state. In the functional circuit FC [i], in the output high state, the transistor 51 is on, and the transistor 52 is off, in the output low state, the transistor 51 is off, and the transistor 52 is on and in the Hi_Z state, both the transistors 51 and 52 are off.

[0095] The control circuit CNT may set the state of each of the functional circuits FC [1] to FC [n] based on a command signal received from an upper-level device (not shown) which is connected to the semiconductor device 1C and is provided outside the semiconductor device 1C. The control circuit CNT may also set the state of each of the functional circuits FC [1] to FC [n] based on a control signal generated inside the semiconductor device 1C.

[0096] Outside the semiconductor device 1C, any load (such as an actuator which is not shown) can be connected to the signal terminal CH [i] which needs to be referred to as an output terminal or a load connection terminal, and the functional circuit FC [i] can drive the load connected to the signal terminal CH [i]. The functional circuit FC [i] in the output high state outputs a current from the signal terminal CH [i] toward the load connected to the signal terminal CH [i]. The functional circuit FC [i] in the output low state draws the current from the load connected to the signal terminal CH [i] through the signal terminal CH [i] to the functional circuit FC [i]. Two functional circuits FC are used to form a full-bridge circuit, and the load can be driven with the full-bridge circuit. For example, a direct-current motor (not shown) is connected between the signal terminal CH [i] and the signal terminal CH [i + 1], and thus the full-bridge circuit for driving the direct-current motor can be formed with the functional circuits FC [i] and FC [i + 1]. When the load is driven as described above using the functional circuit FC [i], the semiconductor device 1C can be referred to as a load drive device.

[0097] In the semiconductor device 1C, the wiring WR1 is dummy power supply wiring which is not connected to any of the external terminals. However, as shown in FIG. 18, in the semiconductor device 1C, the wiring WR1 may be power supply wiring which is connected to the terminal TM1 (the same is true in the fourth embodiment which will be described later). When the wiring WR1 is connected to the terminal TM1 in the semiconductor device 1C, as shown in FIG. 19, the drain of the transistor 51 in each of the functional circuits FC [1] to FC [n] is connected to the wiring WR1 to which the power supply voltage Vdd needs to be applied, and here, for each of the functional circuits FC [1] to FC [n], the parasitic diode of the transistor 51 in the functional circuit FC [i] can be used as the first diode Da [i], and the parasitic diode of the transistor 52 in the functional circuit FC [i] can be used as the second diode Db [i]. In this way, it is possible to omit the installation of a dedicated diode for surge protection (the same is true in the fourth embodiment which will be described later).

[0098] FIG. 20 is a configuration view of the semiconductor device 1C in which an active clamp circuit 110 and a direct-current clamp circuit 210 are provided as the active clamp circuit 100 and the direct-current clamp circuit 200. In the semiconductor device 1C shown in FIG. 20, each of the active clamp circuit 110 and the direct-current clamp circuit 210 is provided between the wiring WR1 and the wiring WR2. The internal configuration of the active clamp circuit 110 and the connection relationship of the active clamp circuit 110, the wiring WR1 and the wiring WR2 are the same as described in the first embodiment (see FIG. 9). In addition, the internal configuration of the direct-current clamp circuit 210 and the connection relationship of the direct-current clamp circuit 210, the wiring WR1 and the wiring WR2 are the same as described in the first embodiment (see FIG. 9). Hence, in the Zener diode 211 of the direct-current clamp circuit 210, its cathode is connected to the wiring WR1, and its anode is connected to the wiring WR2.

[0099] As in the first embodiment, a state where the wiring WR1, the wiring WR2 and a node ND11 have the same potential is referred to as the state ST1. In the power-free state and the component single state, the state ST1 is realized. In the state ST1, the transistors 114 and 115 are off, and the protection transistor 111 is also off. In order to reliably secure the off state of the protection transistor 111 in the state ST1, in the active clamp circuit 110, a pull-down resistor may be connected between the gate and source of the protection transistor 111. As shown in FIG. 18, when the wiring WR1 is connected to the terminal TM1, in the normal operation state, the state of the semiconductor device 1C is the state ST2, and in the state ST2, the power supply voltage Vdd is applied to the wiring WR1 and the node ND11 relative to the potential of the wiring WR2. In the state ST2, the transistor 114 is off, the transistor 115 is on and a voltage between the gate and source of the protection transistor 111 is substantially 0 V, and thus the protection transistor 111 is off.

[0100] The surge voltage may be applied to the signal terminal CH [i] which is any one of the signal terminals CH [1] to CH [n]. Here, the surge voltage applied to the signal terminal CH [i] refers to a positive pulsed voltage which is applied to the signal terminal CH [i] relative to the potential of the terminal TM2 (the same is true in the fourth embodiment which will be described later). The state ST1 or the state ST2 described above is referred to as the initial state. A time point t0 in the third embodiment and the fourth embodiment to be described later is assumed to be a time point at which the application of the surge voltage to the signal terminal CH [i] is started (also see FIG. 22). When the surge voltage is generated with the initial state (ST1, ST2) serving as a starting point, the potential of the signal wiring WRs [i] is rapidly increased to the potential of the surge voltage, and the potential of the wiring WR1 is substantially and rapidly increased to the potential of the surge voltage through the first diode Da [i]. On the other hand, the potential of the node ND11 is gently increased from the potential of the initial state with a slope corresponding to characteristics (the resistance value and the capacitance value) of the detection resistor 112 and the detection capacitor 113. Hence, the transistor 114 is substantially switched from off to on at time point t0, and thus the potential of the node ND12 is increased, with the result that the protection transistor 111 is switched from off to on. Here, although the transistors 114 and 115 may be turned on at the same time, the active clamp circuit 110 is configured such that when the transistor 114 is turned on by the application of the surge voltage, the protection transistor 111 is also turned on. The forward voltage of the first diode Da [i] is negligibly low relative to the peak value of the surge voltage. After time point t0, the potential of the node ND11 is increased, then a voltage drop generated in the detection resistor 112 is sufficiently decreased and thus the transistor 114 is turned off and the transistor 115 is turned on, with the result that the protection transistor 111 is switched from on to off. A time during which the protection transistor 111 is kept on in response to the application of the surge voltage is referred to as the on time Ton (also see FIG. 22).

[0101] As described above, in the active clamp circuit 110, a detection circuit DET1 formed with the detection resistor 112 and the detection capacitor 113 detects the application of the surge voltage. Then, the active clamp circuit 110 supplies a necessary voltage between the gate and source of the protection transistor 111 through an inverter formed with the transistors 114 and 115 in response to the application of the surge voltage, and thereby transiently turns on the protection transistor 111 (keeps on the protection transistor 111 for only the on time Ton).

[0102] It is assumed that after a state where no surge voltage is applied continues for a sufficiently long time, the surge voltage is applied to the signal terminal CH [i] at time point t0. In order to reproduce this situation, the ESD test is used. FIG. 21 is an equivalent circuit diagram when the ESD test is applied to the semiconductor device 1C. In the ESD test in the third embodiment, it is considered that any signal terminal CH [i] is set to a surge application terminal, and then the test circuit 2000 described in the first embodiment is connected to the semiconductor device 1C. In an example shown in FIG. 21, the signal terminal CH [1] is set to the surge application terminal. In the ESD test in the example shown in FIG. 21, the first end of a switch SW is connected to the surge application terminal (here, the signal terminal CH [1]), and the second end of the switch SW is connected to the first end of a capacitor Ctest via a discharge resistor Rtest. The terminal TM2 and the second end of the capacitor Ctest are connected to ground. In the ESD test, a charge is accumulated in the capacitor Ctest such that a positive constant voltage Vc is applied to the first end of the capacitor Ctest relative to the second end of the capacitor Ctest, then the switch SW is switched from off to on at time point t0 and thereafter the switch SW is kept on for a sufficiently long time. In the ESD test in the example shown in FIG. 21, the current Ix refers to a current which flows through the surge application terminal (here, the signal terminal CH [1]). The current Ix flows from the surge application terminal (here, the signal terminal CH [1]) through the first diode corresponding to the surge application terminal (here, the first diode Da [1]) and the circuit 110 or 210 toward the terminal TM2. In the ESD test in the example shown in FIG. 21, the voltage Vx refers to a voltage which is generated between the surge application terminal (here, the signal terminal CH [1]) and the terminal TM2, and specifically, the voltage Vx refers to a voltage at the surge application terminal relative to the potential of the terminal TM2. In the ESD test, the current Ix and the voltage Vx are important.

[0103] In FIG. 22, waveforms 2311 and 2312 are respectively the waveforms of the current Ix and the voltage Vx in the ESD test in the example shown in FIG. 21. As already described, time point t1 is a time point which is the on time Ton later than time point t0, and time point t2 is a time point which is much later than time point t1. The waveforms 2311 and 2312 in FIG, 22 are the same as the waveforms 2111 and 2112 in FIG. 11. Specifically, the switch SW is switched from off to on at time point t0, and thus the current Ix and the voltage Vx are rapidly increased from zero. However, the protection transistor 111 is substantially switched from off to on at time point t0, and thus all or most of the current Ix flows through the protection transistor 111 which has a high current capacity. Hence, at time point t0 and immediately after time point t0, the voltage Vx does not reach the absolute maximum rating VLIM (withstand voltage of each of the functional circuits FC [1] to FC [n]). After time point t0, as the discharge of the capacitor Ctest proceeds, the current Ix and the voltage Vx are basically lowered (however, may be temporarily increased). As the potential of the node ND11 is increased after time point t0, the transistor 114 is switched from on to off, and the transistor 115 is switched from off to on, with the result that in conjunction with the switching described above, the protection transistor 111 is switched from on to off at time point t1. After time point t1, the protection transistor 111 is kept off. In FIG. 22, it is assumed that the accumulated charge in the capacitor Ctest is left even at time point t1, and in other words, the residual charge is present in the capacitor Ctest at time point t1. The residual charge causes an increase in the voltage Vx.

[0104] However, after time point t1, when the voltage Vx reaches a voltage (VTRG + Vf) due to the residual charge, the voltage between the wiring WR1 and the wiring WR2 reaches a predetermined trigger voltage VTRG. Here, the voltage between the wiring WR1 and the wiring WR2 refers to the voltage of the wiring WR1 relative to the potential of the wiring WR2. When the voltage between the wiring WR1 and the wiring WR2 reaches the predetermined trigger voltage VTRG, the direct-current clamp circuit 210 provides electrical continuity between the wiring WR1 and the wiring WR2, and thus the current Ix flows through the direct-current clamp circuit 210. Consequently, an increase in the voltage between the wiring WR1 and the wiring WR2 exceeding the trigger voltage VTRG is suppressed, and thus an increase in the voltage Vx exceeding the voltage (VTRG + Vf) is suppressed. The trigger voltage VTRG in the direct-current clamp circuit 210 shown in FIG. 20 and FIG. 21 is the Zener voltage of the Zener diode 211. The voltage (VTRG + Vf) indicates the sum of the trigger voltage VTRG and the forward voltage Vf of the first diode Da. In the ESD test in the example shown in FIG. 21, the forward voltage Vf is the forward voltage of the first diode Da [1] when the current Ix flows in the forward direction of the first diode Da [1].

[0105] Time point t2 is a time point at which the voltage Vx in the process of being increased after time point t1 reaches the voltage (VTRG + Vf), and is also a time point at which the voltage between the wiring WR1 and the wiring WR2 in the process of being increased after time point t1 reaches the trigger voltage VTRG. Although after time point t2, the manner in which the current Ix and the voltage Vx are lowered varies depending on the configuration of the direct-current clamp circuit 210, in any case, the voltage Vx is restricted to the voltage (VTRG + Vf) or the less and maintained. Here, the voltage (VTRG + Vf) is lower than the absolute maximum rating VLIM (withstand voltage of each of the functional circuits FC [1] to FC [n]). Hence, the functional circuits FC are appropriately protected when the surge voltage is generated.

[0106] The ESD test corresponding to the waveforms in FIG. 22 corresponds to that in FIG. 5, and the waveforms 2311 and 2312 are respectively the waveforms of the current Ix and the voltage Vx when the discharge time of the capacitor Ctest is appropriately long. If the discharge time of the capacitor Ctest is sufficiently short, since the discharge of the capacitor Ctest is completed during the on period of the protection transistor 111, “Vx< VLIM” is ensured without relying on the direct-current clamp circuit 210.

[0107] The function and operation of the direct-current clamp circuit 200 for which the direct-current clamp circuit 210 is described as an example are the same as described in the first embodiment, and the description of the first embodiment for the direct-current clamp circuit 200 is applied to the third embodiment. In other words, the direct-current clamp circuit 200 provides electrical continuity between the wiring WR1 and the wiring WR2 when a voltage equal to or greater than the trigger voltage VTRG corresponding to characteristics of the direct-current clamp circuit 200 is applied between the wiring WR1 and the wiring WR2. The direct-current clamp circuit 200 provides electrical continuity between the wiring WR1 and the wiring WR2, and thus a current corresponding to the residual charge is passed from the wiring WR1 through the direct-current clamp circuit 200 to the wiring WR2, with the result that an increase in the voltage between the wiring WR1 and the wiring WR2 is suppressed. By this suppression, the voltage of the wiring WR1 relative to the potential of the wiring WR2 is restricted to the trigger voltage VTRG or less and maintained, and consequently, the voltage Vx is restricted to the voltage (VTRG + Vf) or less and maintained.

[0108] Here, the application of the voltage equal to or greater than the trigger voltage VTRG between the wiring WR1 and the wiring WR2 specifically refers to the application of the voltage equal to or greater than the trigger voltage VTRG relative to the potential of the wiring WR2 to the wiring WR1. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor 111, and thus the residual charge only needs to be passed through the direct-current clamp circuit 200. Hence, the direct-current clamp circuit 200 can be configured to be a considerably small size (in other words, for example, the mounting area of the Zener diode 211 in the semiconductor integrated circuit may be considerably small).

[0109] Unlike the active clamp circuit 100 for which the active clamp circuit 110 is described as an example, the direct-current clamp circuit 200 generates or interrupts, according to the direct-current component of the voltage between the wiring WR1 and the wiring WR2, a current which is passed through the direct-current clamp circuit 200 between the wiring WR1 and the wiring WR2.

[0110] When a negative pulsed voltage (negative surge voltage) is applied to the signal terminal CH [i] relative to the potential of the terminal TM2, a current based on the negative pulsed voltage flows from the supply source of the voltage through the terminal TM2, the second diode Db [i], the signal wiring WRs [i] and the signal terminal CH [i] to the supply source of the voltage, with the result that an excessive increase in the absolute value of the voltage applied to the functional circuit FC[i] is suppressed (the same is true in the fourth embodiment which will be described later).

[0111] In the semiconductor device 1C shown in FIG. 18, the surge voltage can also be applied to the terminal TM1. The operation of the active clamp circuit 110 and the direct-current clamp circuit 210 when the surge voltage (positive pulsed voltage) is applied to the terminal TM1 relative to the potential of the terminal TM2 is the same as in the semiconductor device 1A shown in FIG. 9 and in the semiconductor device 1C shown in FIG. 18.

[0112] In the semiconductor device 1C, n unit circuits each of which includes the signal wiring WRs, the first diode Da, the second diode Db and the functional circuit FC (circuit to be protected) are provided, and a single active clamp circuit 100 and a single direct-current clamp circuit 200 are shared by the n unit circuits (the signal terminal CH may be understood to be included in the constituent elements of the unit circuit). Hence, as compared with a case where the active clamp circuit 100 and the direct-current clamp circuit 200 are provided for each unit circuit, the size of the surge protection circuit SP is reduced.

[0113] However, in order to enhance a surge protection capability, in the semiconductor device 1C, a plurality of clamper sets each including the active clamp circuit 100 and the direct-current clamp circuit 200 may be provided. Here, a plurality of active clamp circuits 100 in the plurality of clamper sets are connected in parallel to each other, and a plurality of direct-current clamp circuits 200 in the plurality of clamper sets are connected in parallel to each other.

[0114] In a case where the wiring WR1 is dummy power supply wiring, when in a status where all the states of the functional circuits FC [1] to FC [n] are the output low states, the states of one or more functional circuits FC are switched to the output high states, the potential of the wiring WR1 is increased, but the rate of increase in the potential of the wiring WR1 at this time is sufficiently lower than that when the surge voltage is applied, with the result that the protection transistor 111 is prevented from being switched from off to on. Even if in the normal operation state, the functional circuit FC [1] is brought into the output high state, the potential of the signal wiring WRs [2] to WRs [n] is not affected by the state of the functional circuit FC [1] due to the presence of the first diodes Da [2] to Da [n] (the same is true for a case where another functional circuit FC is brought into the output high state). Since the power supply voltage Vdd is lower than the trigger voltage VTRG, no current flows through the direct-current clamp circuit 200 when no surge voltage is applied.

[0115] Although here, the half-bridge circuit is mentioned as an example of the functional circuit FC [i] (see FIG. 17), the functional circuit FC [i] may be any circuit to be protected which is connected to any external terminal through the signal wiring WRs [i]. For example, the functional circuit FC [i] may be formed with an N-channel MOSFET which has an open drain configuration. In other words, the functional circuit FC [i] may be an N-channel MOSFET which includes a drain connected to the signal wiring WRs [i] and a source connected to the wiring WR2. Here, for example, outside the semiconductor device 1C, for each of the signal terminals CH, a load (such as a light-emitting diode) can be connected between the application end of the power supply voltage Vdd or the application end of another power supply voltage and the signal terminal CH. Then, the control circuit CNT individually controls the turning on and off of the MOSFFT in each of the functional circuits FC [1] to FC [n] and thereby can individually drive the loads which are connected to the signal terminals CH [1] to CH [n].Fourth Embodiment

[0116] The fourth embodiment will be described. FIG. 23 is a schematic configuration view of a semiconductor device 1D which is a semiconductor device 1 according to the fourth embodiment. The semiconductor device 1D shown in FIG. 23 can be obtained by replacing, in the semiconductor device 1C shown in FIG. 16, the direct-current clamp circuit 200 with the direct-current clamp circuit 300. The configuration and operation of the semiconductor device 1D are the same as those of the semiconductor device 1C except the replacement described above. Hence, unless otherwise specified in the fourth embodiment, the description of the third embodiment is applied to the fourth embodiment as long as there is no contradiction. In this application, in the fourth embodiment, the symbols “1C”, “200”, “210" and “211” (see FIGS. 16 and 20) are replaced with symbols “1D”, “300”, “310” and “311” (see FIGS. 23 and 24), respectively. The same variation in which the first embodiment is changed to the second embodiment is applied to the third embodiment, and thus the fourth embodiment is obtained. Therefore, in the semiconductor device 1D, the direct-current clamp circuit 300 is connected in parallel to the capacitor which is provided in the active clamp circuit 100 and is used for detecting the surge voltage.

[0117] FIG. 24 is a configuration view of the semiconductor device 1D in which an active clamp circuit 110 and a direct-current clamp circuit 310 are provided as the active clamp circuit 100 and the direct-current clamp circuit 300. In the semiconductor device 1D shown in FIG. 24, the active clamp circuit 110 is provided between the wiring WR1 and the wiring WR2. The internal configuration of the active clamp circuit 110 and the connection relationship of the active clamp circuit 110, the wiring WR1 and the wiring WR2 are the same as described in the first embodiment (see FIG. 9). The internal configuration of the direct-current clamp circuit 310 is the same as described in the second embodiment (see FIG. 13). In the Zener diode 311 of the direct-current clamp circuit 310, its anode is connected to the wiring WR2, and its cathode is connected to a node ND11. In other words, the Zener diode 311 is connected in parallel to a detection capacitor 113.

[0118] The operation of the active clamp circuit 110 when the surge voltage is generated is the same as described in the third embodiment. In other words, in the active clamp circuit 110, a detection circuit DET1 formed with a detection resistor 112 and the detection capacitor 113 detects the application of the surge voltage. Then, the active clamp circuit 110 supplies a necessary voltage between the gate and source of a protection transistor 111 through an inverter formed with transistors 114 and 115 in response to the application of the surge voltage, and thereby transiently turns on the protection transistor 111 (keeps on the protection transistor 111 for only the on time Ton).

[0119] FIG. 25 is an equivalent circuit diagram when the ESD test is applied to the semiconductor device 1D. In the ESD test in the fourth embodiment, as shown in FIG. 25, it is considered that any signal terminal CH [i] is set to a surge application terminal, and then the test circuit 2000 described in the first embodiment is connected to the semiconductor device 1D. The configuration of the test circuit 2000 and the details of the ESD test are the same as already described. In FIG. 25, as an example, the signal terminal CH [1] is set to the surge application terminal. In the ESD test in the example shown in FIG. 25, the current Ix refers to a current which flows through the surge application terminal (here, the signal terminal CH [1]). The current Ix flows from the surge application terminal (here, the signal terminal CH [1]) through the first diode corresponding to the surge application terminal (here, the first diode Da [1]) and the circuit 110 or 310 toward the terminal TM2. In the ESD test in the example shown in FIG. 25, the voltage Vx refers to a voltage which is generated between the surge application terminal (here, the signal terminal CH [1]) and the terminal TM2, and specifically, the voltage Vx refers to a voltage at the surge application terminal relative to the potential of the terminal TM2. In the ESD test, the current Ix and the voltage Vx are important. In the configuration shown in FIG. 25, most of the current Ix flows from the surge application terminal (here, the signal terminal CH [1]) through the protection transistor 111 toward the terminal TM2, and a current corresponding to the residual charge of the current Ix flows from the surge application terminal through the detection resistor 112 and the Zener diode 311 toward the terminal TM2.

[0120] In FIG. 26, waveforms 2411 and 2412 are respectively the waveforms of the current Ix and the voltage Vx in the ESD test in the fourth embodiment. A switch SW is switched from off to on at time point t0, and thus the current Ix and the voltage Vx are rapidly increased from zero. However, the protection transistor 111 is substantially switched from off to on at time point t0, and thus all or most of the current Ix flows through the protection transistor 111 which has a high current capacity. Hence, at time point t0 and immediately after time point t0, the voltage Vx does not reach the absolute maximum rating VLIM (withstand voltage of each of functional circuits FC [1] to FC [n]). After time point t0, as the discharge of a capacitor Ctest proceeds, the current Ix and the voltage Vx are basically lowered (however, may be temporarily increased). As the potential of the node ND11 is increased after time point t0, the transistor 114 is switched from on to off, and the transistor 115 is switched from off to on, with the result that in conjunction with the switching described above, the protection transistor 111 is switched from on to off at time point t1. After time point t1, the protection transistor 111 is kept off. In FIG. 26, it is assumed that the accumulated charge in the capacitor Ctest is left even at time point t1, and in other words, the residual charge is present in the capacitor Ctest at time point t1. The residual charge causes an increase in the voltage Vx.

[0121] Here, since an increase in the voltage Vx at time point t1 and during the period subsequent thereto is caused by a residual charge which is significantly smaller than the initially accumulated charge in the capacitor Ctest, the rate of the increase is significantly slower than the rate of increase in the voltage Vx at time point t0 and immediately after time point t0. Hence, at time point t1 and during the period subsequent thereto, the potential of the wiring WR1 is substantially equal to the potential of the node ND11. Therefore, after time point t1, when the voltage Vx reaches a voltage (VTRG + Vf) due to the residual charge, a voltage between the node ND11 and the wiring WR2 reaches a predetermined trigger voltage VTRG, electrical continuity is provided through the Zener diode 311. Consequently, at time point t1 and during the period subsequent thereto, an increase in the voltage between the node ND11 and the wiring WR2 exceeding the trigger voltage VTRG is suppressed, and thus an increase in the voltage Vx exceeding the voltage (VTRG + Vf) is suppressed. The trigger voltage VTRG in the direct-current clamp circuit 310 shown in FIGS. 24 and 25 is the Zener voltage of the Zener diode 311. The voltage (VTRG + Vf) indicates the sum of the trigger voltage VTRG and the forward voltage Vf of the first diode Da. In the ESD test in the example shown in FIG. 25, the forward voltage Vf is the forward voltage of the first diode Da [1] when the current Ix flows in the forward direction of the first diode Da [1].

[0122] Time point t2 is a time point at which a voltage across the detection capacitor 113 in the process of being increased after time point t1 (voltage at the node ND11 relative to the potential of the wiring WR2) reaches the trigger voltage VTRG, and is substantially the same as a time point at which the voltage Vx in the process of being increased after time point t1 reaches the trigger voltage VTRG. Although after time point t2, the manner in which the current Ix and the voltage Vx are lowered varies depending on the configuration of the direct-current clamp circuit 310, in any case, the voltage Vx is restricted to the voltage (VTRG + Vf) or the less. Here, the voltage (VTRG + Vf) is lower than the absolute maximum rating VLIM (withstand voltage of each of the functional circuits FC [1] to FC [n]). Hence, the functional circuits FC are appropriately protected when the surge voltage is generated. Strictly speaking, although after time point t1, the voltage Vx may be increased by only a voltage drop in the detection resistor 112 relative to the voltage (VTRG + Vf), the semiconductor device 1D is designed such that in such a case, the voltage Vx is also lowered below the absolute maximum rating VLIM (withstand voltage of each of the functional circuits FC [1] to FC [n]).

[0123] The ESD test corresponding to the waveforms in FIG. 26 corresponds to that in FIG. 5, and the waveforms 2411 and 2412 are respectively the waveforms of the current Ix and the voltage Vx when the discharge time of the capacitor Ctest is appropriately long. If the discharge time of the capacitor Ctest is sufficiently short, since the discharge of the capacitor Ctest is completed during the on period of the protection transistor 111, “Vx< VLIM” is ensured without relying on the direct-current clamp circuit 310.

[0124] The function and operation of the direct-current clamp circuit 300 for which the direct-current clamp circuit 310 is described as an example are the same as described in the second embodiment, and the description in the second embodiment for the direct-current clamp circuit 300 is applied to the fourth embodiment. In other words, the direct-current clamp circuit 300 provides electrical continuity across the detection capacitor (here, the detection capacitor 113) connected in parallel to the direct-current clamp circuit 300 when a voltage across the detection capacitor is equal to or greater than the trigger voltage VTRG corresponding to characteristics of the direct-current clamp circuit 300. The direct-current clamp circuit 300 provides electrical continuity across the detection capacitor, and thus a current corresponding to the residual charge is passed from the surge application terminal through the first diode Da connected to the surge application terminal, the wiring WR1, the detection resistor (here, the detection resistor 112) and the direct-current clamp circuit 300 (here, the Zener diode 311) to the wiring WR2, with the result that an increase in a voltage between the wiring WR1 and the wiring WR2 is suppressed. By this suppression, the voltage of the wiring WR1 relative to the potential of the wiring WR2 is restricted to the trigger voltage VTRG or less and maintained (here, the voltage drop in the detection resistor 112 is assumed to be negligibly small), and consequently, the voltage Vx is restricted to the voltage (VTRG + Vf) or less and maintained.

[0125] Here, the voltage across the detection capacitor refers to a voltage at the high potential end of the detection capacitor relative to the potential of the low potential end of the detection capacitor. In the configuration shown in FIGS. 24 and 25, the low potential end of the detection capacitor is, of both ends of the detection capacitor 113, an end connected to the wiring WR2, and the high potential end of the detection capacitor is, of both ends of the detection capacitor 113, an end connected to the node ND11. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor 111, and thus the residual charge only needs to be passed through the direct-current clamp circuit 300. Hence, the direct-current clamp circuit 300 can be configured to have a considerably small size (in other words, for example, the mounting area of the Zener diode 311 in the semiconductor integrated circuit may be considerably small).

[0126] Unlike the active clamp circuit 100 for which the active clamp circuit 110 is described as an example, the direct-current clamp circuit 300 generates or interrupts, according to the direct-current component of the voltage across the detection capacitor, a current which is passed through the direct-current clamp circuit 300 between the wiring WR1 and the wiring WR2. The direct-current clamp circuit 300 is turned on (electrically continuous state) or off (interrupted state) according to the voltage across the detection capacitor (the direct-current component of the voltage). When the voltage across the detection capacitor (the direct-current component of the voltage) is equal to or greater than the trigger voltage VTRG, the direct-current clamp circuit 300 is turned on. When the voltage across the detection capacitor (the direct-current component of the voltage) is less than the trigger voltage VTRG, the direct-current clamp circuit 300 is turned off. The direct-current clamp circuit 300 which is on provides electrical continuity across the detection capacitor and thereby generates the current which is passed through the direct-current clamp circuit 300 between the wiring WR1 and the wiring WR2. The direct-current clamp circuit 300 which is off interrupts electrical continuity across the detection capacitor and thereby interrupts the current which is passed through the direct-current clamp circuit 300 between the wiring WR1 and the wiring WR2.

[0127] However, strictly speaking, even if the voltage across the detection capacitor (the direct-current component of the voltage) is less than the trigger voltage VTRG, some leakage current may flow between the wiring WR1 and the wiring WR2 through the direct-current clamp circuit 300. Hence, the current which flows through the direct-current clamp circuit 300 can be said to be increased nonlinearly in response to an increase in the voltage across the detection capacitor. In other words, when the voltage across the detection capacitor is increased by only a unit amount, the amount of increase in the current flowing through the direct-current clamp circuit 300 is significantly greater in a case where the voltage across the detection capacitor is equal to or greater than the trigger voltage VTRG than in a case where the voltage across the detection capacitor is less than the trigger voltage VTRG.

[0128] In the semiconductor device 1D, n unit circuits each of which includes the signal wiring WRs, the first diode Da, the second diode Db and the functional circuit FC (circuit to be protected) are provided, and a single active clamp circuit 100 and a single direct-current clamp circuit 300 are shared by the n unit circuits (the signal terminal CH may be understood to be included in the constituent elements of the unit circuit). Hence, as compared with a case where the active clamp circuit 100 and the direct-current clamp circuit 300 are provided for each unit circuit, the size of the surge protection circuit SP is reduced.

[0129] However, in order to enhance a surge protection capability, in the semiconductor device 1D, a plurality of clamper sets each including the active clamp circuit 100 and the direct-current clamp circuit 300 may be provided. Here, a plurality of active clamp circuits 100 in the plurality of clamper sets are connected in parallel to each other, and a plurality of direct-current clamp circuits 300 in the plurality of clamper sets are connected in parallel to each other.Fifth Embodiment

[0130] A fifth embodiment will be described. In the fifth embodiment, a technique in which the first to fourth embodiments can be combined will be described. Any active clamp circuit 100 is adopted as long as the active clamp circuit 100 includes a protection transistor provided between wiring WR1 and wiring WR2 and a detection circuit for detecting the application of the surge voltage, and transiently turns on the protection transistor in response to the application of the surge voltage (keeps on the protection transistor for only the on time Ton). In the first and second embodiments (see FIGS. 10 and 14 and the like), the surge voltage described here refers to a positive pulsed voltage which is applied to the terminal TM1 and the wiring WR1 relative to the potential of the terminal TM2 and the wiring WR2, and in the third and fourth embodiments (see FIGS. 21 and 25 and the like), the surge voltage described here refers to a positive pulsed voltage which is applied to the signal terminal CH [i] relative to the potential of the terminal TM2 and the wiring WR2. However, in the third and fourth embodiments, when the surge voltage is applied to the signal terminal CH [i], substantially the same surge voltage is applied to the wiring WR1, and thus the surge voltage in the third and fourth embodiments can be understood to be a positive pulsed voltage which is applied to the wiring WR1 relative to the potential of the wiring WR2.

[0131] For example, the active clamp circuit 100 may be an active clamp circuit 120 shown in FIG. 27. The active clamp circuit 120 includes a protection transistor 121, a detection resistor 122, a detection capacitor 123, a transistor 124, a resistor 125 and a capacitor 126. The protection transistor 121 is an N-channel MOSFET, and the transistor 124 is a P-channel MOSFET. The detection resistor 122 and the detection capacitor 123 form a detection circuit DET2 which detects the application of the surge voltage.

[0132] The connection relationship of the elements in the active clamp circuit 120 will be described. In the protection transistor 121, its drain is connected to the wiring WR1, its source is connected to the wiring WR2 and its gate is connected to a node ND22. The first end of the detection resistor 122 is connected to the wiring WR1. The second end of the detection resistor 122 and the first end of the detection capacitor 123 are connected together to a node ND21. The second end of the detection capacitor 123 is connected to the wiring WR2. In the transistor 124, its source is connected to the wiring WR1, its drain is connected to the node ND22 and its gate is connected to the node ND21. The first ends of the resistor 125 and the capacitor 126 are connected to the node ND22, and the second ends of the resistor 125 and the capacitor 126 are connected to the wiring WR2.

[0133] The operation of the active clamp circuit 120 in response to the application of the surge voltage will be described. It is assumed that the surge voltage is applied with a state where no potential difference is present between the wiring WR1 and the node ND21 and the protection transistor 121 is off serving as a starting point. When the potential of the wiring WR1 is rapidly increased by the application of the surge voltage, the transistor 124 is switched from off to on, and thus the protection transistor 121 is turned on, with the result that a current based on the surge voltage flows through the protection transistor 121. During the on period of the transistor 124, a charge is accumulated in the capacitor 126 through the transistor 124. When a time corresponding to characteristics of the detection resistor 122 and the detection capacitor 123 has elapsed since a time point at which the application of the surge voltage is started, the transistor 124 is switched from on to off. However, thereafter, for a while, the protection transistor 121 is kept on by the accumulated charge in the capacitor 126, and when a voltage across the capacitor 126 is lowered below the gate threshold voltage of the protection transistor 121 by the discharge of the capacitor 126, the protection transistor 121 is switched from on to off.

[0134] For example, the active clamp circuit 100 may be an active clamp circuit 130 shown in FIG. 28. The active clamp circuit 130 includes a protection transistor 131, a detection resistor 132, a detection capacitor 133, inverters 134 to 136, a resistor 137 and a transistor 138. The protection transistor 131 is an N-channel MOSFET, and the transistor 138 is a P-channel MOSFET. The detection resistor 132 and the detection capacitor 133 form a detection circuit DET3 which detects the application of the surge voltage. The inverters 134 to 136 are driven by using the voltage of the wiring WR1 as a power supply voltage on a high potential side and the voltage of the wiring WR2 as a power supply voltage on a low potential side. Any of the inverters outputs a low-level signal from the output end of the inverter when the level of a signal at the input end of the inverter is high, and outputs a high-level signal from the output end of the inverter when the level of the signal at the input end of the inverter is low. In any of the inverters, the high level of the output signal has the potential of the power supply voltage on the high potential side, and the low level of the output signal has the potential of the power supply voltage on the low potential side.

[0135] The connection relationship of the elements in the active clamp circuit 130 will be described. In the protection transistor 131, its drain is connected to the wiring WR1, its source is connected to the wiring WR2 and its gate is connected to a node ND32. The first end of the detection resistor 132 is connected to the wiring WR1. The second end of the detection resistor 132 and the first end of the detection capacitor 133 are connected together to a node ND31. The second end of the detection capacitor 133 is connected to the wiring WR2. The input end of the inverter 134 is connected to the node ND31. The output end of the inverter 134 is connected to the input end of the inverter 135. The output end of the inverter 135 is connected to the input end of the inverter 136. The output end of the inverter 136 is connected to the node ND32. The first end of the resistor 137 is connected to the node ND32, and the second end of the resistor 137 is connected to the wiring WR2. In the transistor 138, its source is connected to the wiring WR1, its drain is connected to the node ND31 and its gate is connected to the output end of the inverter 134.

[0136] The operation of the active clamp circuit 130 in response to the application of the surge voltage will be described. It is assumed that the surge voltage is applied with a state where no potential difference is present between the wiring WR1 and the node ND31 and the protection transistor 131 is off serving as a starting point. When the potential of the wiring WR1 is rapidly increased by the application of the surge voltage, the signal level of the node ND31 is low for the inverter 134 until a certain amount of charge is accumulated in the capacitor 133, and thus the signal level of the node ND32 is high by the inverters 134 to 136, with the result that the protection transistor 131 is on. When a time corresponding to characteristics of the detection resistor 132 and the detection capacitor 133 has elapsed since a time point at which the application of the surge voltage is started, the signal level of the node ND31 is switched from low to high for the inverter 134. Therefore, the signal level of the node ND32 is switched from high to low by the inverters 134 to 136, and thus the protection transistor 131 is switched from on to off. The transistor 138 is provided so that in the normal operation state, the signa level of the node ND31 is stably kept high (on the assumption that the wiring WR1 is not dummy power supply wiring, and the power supply voltage Vdd is applied to the wiring WR1 in the normal operation state).

[0137] For example, the active clamp circuit 100 may be an active clamp circuit 140 shown in FIG. 29. The active clamp circuit 140 includes a protection transistor 141, a detection resistor 142, a detection capacitor 143, a transistor 144, an inverter 145, a resistor 146 and a transistor 147. The protection transistors 141 and 144 are N-channel MOSFETs, and the transistor 147 is a P-channel MOSFET. The detection resistor 142 and the detection capacitor 143 form a detection circuit DET4 which detects the application of the surge voltage. The inverter 145 is driven by using the voltage of the wiring WR1 as a power supply voltage on a high potential side and the voltage of the wiring WR2 as a power supply voltage on a low potential side.

[0138] The connection relationship of the elements in the active clamp circuit 140 will be described. In the protection transistor 141, its drain is connected to the wiring WR1, its source is connected to the wiring WR2 and its gate is connected to a node ND42. The first end of the detection capacitor 143 is connected to the wiring WR1. The second end of the detection capacitor 143 and the first end of the detection resistor 142 are connected together to a node ND41. The second end of the detection resistor 142 is connected to the wiring WR2. The gate of the transistor 144 is connected to the node ND41, and the source of the transistor 144 is connected to the wiring WR2. The drain of the transistor 144, the input end of the inverter 145 and the drain of the transistor 147 are connected to each other. The output end of the inverter 145, the gate of the transistor 147 and the first end of the resistor 146 are connected to the node ND42. The second end of the resistor 146 is connected to the wiring WR2. The source of the transistor 147 is connected to the wiring WR1.

[0139] The operation of the active clamp circuit 140 in response to the application of the surge voltage will be described. It is assumed that the surge voltage is applied with a state where no potential difference is present between the wiring WR2 and the node ND41 and the protection transistor 141 is off serving as a starting point. When the potential of the wiring WR1 is rapidly increased by the application of the surge voltage, the potential of the node ND41 is also rapidly increased to the same level by the function of the detection capacitor 143, and thus the transistor 144 is turned on. When the transistor 144 is turned on, the signal level of the input end of the inverter 145 is switched low for the inverter 145. Therefore, the signa level of the node ND42 is switched from low to high by the inverter 145, and thus the protection transistor 141 is switched from off to on. Thereafter, when a time corresponding to characteristics of the detection resistor 142 and the detection capacitor 143 has elapsed, a voltage drop in the detection resistor 142 is decreased below the gate threshold voltage of the transistor 144, and thus the transistor 144 is switched to an off state. When the transistor 144 is switched to an off state, the signal level of the node ND42 transitions from high to low by collaboration between the inverter 145, the resistor 146 and the transistor 147, and thus the protection transistor 141 is switched from on to off. The transistor 147 also has the function of stably keeping the signal level of the input end of the inverter 145 high in the normal operation state (on the assumption that the wiring WR1 is not dummy power supply wiring, and the power supply voltage Vdd is applied to the wiring WR1 in the normal operation state).

[0140] An active clamp circuit 150 in FIG. 30 obtained by simplifying the active clamp circuit 140 may also be used as the active clamp circuit 100. The active clamp circuit 150 includes a protection transistor 151, a detection resistor 152 and a detection capacitor 153. The protection transistor 151 is an N-channel MOSFET. The detection resistor 152 and the detection capacitor 153 form a detection circuit DET5 which detects the application of the surge voltage. In the protection transistor 151, its drain is connected to the wiring WR1, its source is connected to the wiring WR2 and its gate is connected to a node ND51. The first end of the detection capacitor 153 is connected to the wiring WR1, and the second end of the detection capacitor 153 and the first end of the detection resistor 152 are connected together to the node ND51. The second end of the detection resistor 152 is connected to the wiring WR2. When the potential of the wiring WR1 is rapidly increased by the application of the surge voltage with a state where no voltage drop in the detection resistor 152 is generated serving as a starting point, the gate potential of the protection transistor 151 is also rapidly increased to the same level by the function of the detection capacitor 153, and thus the protection transistor 151 is turned on. Thereafter, when a time corresponding to characteristics of the detection resistor 152 and the detection capacitor 153 has elapsed, a voltage drop in the detection resistor 152 is decreased below the gate threshold voltage of the protection transistor 151, and thus the protection transistor 151 is switched to an off state.

[0141] In addition, any known active clamp circuit (for example, any active clamp circuit disclosed in Japanese Unexamined Patent Application Publication No. 2024-81268 or Japanese Patent No. 5726583) can be adopted as the active clamp circuit 100.Sixth Embodiment

[0142] A sixth embodiment will be described. In the sixth embodiment, a technique in which the first to fifth embodiments can be combined will be described. Each of the direct-current clamp circuits 200 and 300 includes an upper end and a lower end. The upper end of the direct-current clamp circuit 200 is connected to the wiring WR1, and the lower end of the direct-current clamp circuit 200 is connected to the wiring WR2 (see FIGS. 8 and 9 and the like). By contrast, the upper end of the direct-current clamp circuit 300 is connected to the first end of the detection capacitor, and the lower end of the direct-current clamp circuit 300 is connected to the second end of the detection capacitor (see FIGS. 12 and 13 and the like). The detection capacitor described here corresponds to the detection capacitor 113, 123, 133, 143 or 153 described previously (see FIGS. 9 and 27-30). In the detection capacitor, the first end corresponds to a high potential end, and the second end corresponds to a low potential end. When the surge voltage is applied, a high voltage is applied to the high potential end of the detection capacitor relative to the low potential end of the detection capacitor. The first ends of the detection capacitors 113, 123 and 133 are connected to the nodes ND11, ND21 and ND31, respectively, and the first ends of the detection capacitors 143 and 153 are connected to the wiring WR1 (see FIGS. 9 and 27-30). The second ends of the detection capacitors 113, 123 and 133 are connected to the wiring WR2, and the second ends of the detection capacitors 143 and 153 are connected to the nodes ND41 and ND51, respectively (see FIGS. 9 and 27-30).

[0143] The direct-current clamp circuits 210 and 310 described previously (see FIGS. 9 and 13 and the like) correspond to a direct-current clamp circuit 410 shown in FIG. 31. The direct-current clamp circuit 410 includes a Zener diode 411. The Zener diode 411 corresponds to the Zener diode 211 or 311 (see FIGS. 9 and 13 and the like). The cathode of the Zener diode 411 is connected to an upper end A1, and the anode of the Zener diode 411 is connected to a lower end B1. When the direct-current clamp circuit 410 is used as the direct-current clamp circuit 200, the upper end A1 is connected to the wiring WR1, and the lower end B1 is connected to the wiring WR2 (see FIG. 8 and the like). When the direct-current clamp circuit 410 is used as the direct-current clamp circuit 300, the upper end A1 is connected to the first end of the detection capacitor, and the lower end B1 is connected to the second end of the detection capacitor (see FIG. 23 and the like). The direct-current clamp circuits 200 and 300 are not limited to the direct-current clamp circuits 210 and 310 described above. As long as the operation of the direct-current clamp circuit 200 described in the first or third embodiment is realized, the configuration of the direct-current clamp circuit 200 is not limited, and as long as the operation of the direct-current clamp circuit 300 described in the second or fourth embodiment is realized, the configuration of the direct-current clamp circuit 300 is not limited.

[0144] For example, the direct-current clamp circuit 200 or 300 may be a direct-current clamp circuit 420 shown in FIG. 32. The direct-current clamp circuit 420 includes a transistor 421 which is an N-channel MOSFET and a resistor 422. The drain of the transistor 421 is connected to an upper end A2, and the source of the transistor 421 is connected to a lower end B2. The gate and source of the transistor 421 are connected to each other via the resistor 422. However, the resistor 422 may be omitted (in other words, the gate and source of the transistor 421 may be short-circuited). When the direct-current clamp circuit 420 is used as the direct-current clamp circuit 200, the upper end A2 is connected to the wiring WR1, and the lower end B2 is connected to the wiring WR2 (see FIG. 8 and the like). When the direct-current clamp circuit 420 is used as the direct-current clamp circuit 300, the upper end A2 is connected to the first end of the detection capacitor, and the lower end B2 is connected to the second end of the detection capacitor (see FIG. 23 and the like). A plurality of transistors 421 described above may be provided in the direct-current clamp circuit 420, and the series circuit of the plurality of transistors 421 may be connected between the upper end A2 and the lower end B2.

[0145] For example, the direct-current clamp circuit 200 or 300 may be a direct-current clamp circuit 430 shown in FIG. 33. The direct-current clamp circuit 430 includes a transistor 431 which is a P-channel MOSFET and a resistor 432. The source of the transistor 431 is connected to an upper end A3, and the drain of the transistor 431 is connected to a lower end B3. The gate and source of the transistor 431 are connected to each other via the resistor 432. However, the resistor 432 may be omitted (in other words, the gate and source of the transistor 431 may be short-circuited). When the direct-current clamp circuit 430 is used as the direct-current clamp circuit 200, the upper end A3 is connected to the wiring WR1, and the lower end B3 is connected to the wiring WR2 (see FIG. 8 and the like). When the direct-current clamp circuit 430 is used as the direct-current clamp circuit 300, the upper end A3 is connected to the first end of the detection capacitor, and the lower end B3 is connected to the second end of the detection capacitor (see FIG. 23 and the like). A plurality of transistors 431 described above may be provided in the direct-current clamp circuit 430, and the series circuit of the plurality of transistors 431 may be connected between the upper end A3 and the lower end B3.

[0146] For example, the direct-current clamp circuit 200 or 300 may be a direct-current clamp circuit 440 shown in FIG. 34. The direct-current clamp circuit 440 includes a transistor 441 which is an NPN bipolar transistor. The collector of the transistor 441 is connected to an upper end A4, and the base and emitter of the transistor 441 are short-circuited to each other and are connected to a lower end B4. When the direct-current clamp circuit 440 is used as the direct-current clamp circuit 200, the upper end A4 is connected to the wiring WR1, and the lower end B4 is connected to the wiring WR2 (see FIG. 8 and the like). When the direct-current clamp circuit 440 is used as the direct-current clamp circuit 300, the upper end A4 is connected to the first end of the detection capacitor, and the lower end B4 is connected to the second end of the detection capacitor (see FIG. 23 and the like). A plurality of transistors 441 described above may be provided in the direct-current clamp circuit 440, and the series circuit of the plurality of transistors 441 may be connected between the upper end A4 and the lower end B4.

[0147] For example, the direct-current clamp circuit 200 or 300 may be a direct-current clamp circuit 450 shown in FIG. 35. The direct-current clamp circuit 450 includes a transistor 451 which is a PNP bipolar transistor. The base and emitter of the transistor 451 are short-circuited to each other and are connected to an upper end A5, and the collector of the transistor 451 is connected to a lower end B5. When the direct-current clamp circuit 450 is used as the direct-current clamp circuit 200, the upper end A5 is connected to the wiring WR1, and the lower end B5 is connected to the wiring WR2 (see FIG. 8 and the like). When the direct-current clamp circuit 450 is used as the direct-current clamp circuit 300, the upper end A5 is connected to the first end of the detection capacitor, and the lower end B5 is connected to the second end of the detection capacitor (see FIG. 23 and the like). A plurality of transistors 451 described above may be provided in the direct-current clamp circuit 450, and the series circuit of the plurality of transistors 451 may be connected between the upper end A5 and the lower end B5.

[0148] For example, the direct-current clamp circuit 200 or 300 may be a direct-current clamp circuit 460 shown in FIG. 36. The direct-current clamp circuit 460 includes a transistor 461 which is an NPN bipolar transistor, a transistor 462 which is a PNP bipolar transistor and resistors 463 and 464 to realize an operation which approximates the operation of a thyristor. The emitter of the transistor 462 is connected to an upper end A6 and is also connected to the first end of the resistor 463. The second end of the resistor 463 is connected to the base of the transistor 462 and the collector of the transistor 461. The collector of the transistor 462 is connected to the base of the transistor 461 and is also connected to the first end of the resistor 464. The second end of the resistor 464 and the emitter of the transistor 461 are connected to a lower end B6. When the direct-current clamp circuit 460 is used as the direct-current clamp circuit 200, the upper end A6 is connected to the wiring WR1, and the lower end B6 is connected to the wiring WR2 (see FIG. 8 and the like). When the direct-current clamp circuit 460 is used as the direct-current clamp circuit 300, the upper end A6 is connected to the first end of the detection capacitor, and the lower end B6 is connected to the second end of the detection capacitor (see FIG. 23 and the like).

[0149] In addition, the direct-current clamp circuit 200 or 300 may be formed with a diode which includes a cathode connected to the first end of the detection capacitor and an anode connected to the second end of the detection capacitor.Variations and Like

[0150] Variation techniques, application techniques, supplementary information and the like which can be applied to the above embodiments will be described.

[0151] The semiconductor device 1 according to the present disclosure may be a semiconductor device for any application, and examples thereof may include a load drive device which drives any load (such as an actuator or a light-emitting element), a power supply control device (so-called power supply IC) which forms a power supply device, a sensor which detects any physical quantity (such as current, voltage or distance), an AD converter, a DA converter, a memory, a high-side switch, a low-side switch and the like.

[0152] The types of channels of the FETs (field-effect transistor) described in the above embodiments are illustrative. Without departing from the spirit described above, the type of channel of any FET may be changed between the P channel and the N channel.

[0153] As long as no problem occurs, any of the transistors described above may be any type of transistor. For example, any of the transistors described above as the MOSFET can be replaced with a junction FET, an IGBT (Insulated Gate Bipolar Transistor) or a bipolar transistor as long as no problem occurs. Any of the transistors include a first electrode, a second electrode and a control electrode. In the FET, one of the first and second electrodes is its drain, the other is its source and the control electrode is its gate. In the IGBT, one of the first and second electrodes is its collector, the other is its emitter and the control electrode is its gate. In the bipolar transistor which does not belong to the IGBT, one of the first and second electrodes is its collector, the other is its emitter and the control electrode is its base.

[0154] The embodiments of the present disclosure can be variously changed as necessary without departing from the technical spirit indicated in the scope of claims. The embodiments described above are merely examples of the embodiment of the present disclosure, and the meanings of terms in the present disclosure or the constituent elements are not limited to those described in the above embodiments. The specific numerical values indicated in the above description are merely examples and can be naturally changed to various numerical values.Additional Remarks

[0155] Additional remarks will be provided to the present disclosure in which specific configuration examples are shown in the embodiments described above.

[0156] A surge protection circuit (first embodiment; see FIG. 9 and the like) according to an aspect of the present disclosure includes: an active clamp circuit (for example, 110) that includes a protection transistor (for example, 111) provided between first wiring (WR1) and second wiring (WR2) and is configured to transiently turn on the protection transistor in response to application of a surge voltage between the first wiring and the second wiring so as to protect, from the surge voltage, a circuit to be protected (FC) that is connected to the first wiring and the second wiring; and a direct-current clamp circuit (for example, 210) connected in parallel to the active clamp circuit, and the direct-current clamp circuit provides electrical continuity between the first wiring and the second wiring when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied between the first wiring and the second wiring (first configuration).

[0157] The protection transistor is transiently turned on in response to the application of the surge voltage, and thus a current based on the surge voltage is passed through the protection transistor, with the result that it is possible to appropriately protect the circuit to be protected from the surge voltage. However, after the protection transistor is turned off following a transient on period of the protection transistor, a voltage between the first wiring and the second wiring may be increased by a residual charge caused by static electricity or the like. In the surge protection circuit, even when a residual charge is present, the magnitude of an increase in the voltage is restricted by the direct-current clamp circuit, and thus damage in the circuit to be protected caused by the increase in the voltage is prevented. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor, and thus the residual charge only needs to be passed through the direct-current clamp circuit. Hence, the direct-current clamp circuit only needs to be configured to have a considerably small size (in other words, an increase in the size caused by the addition of the direct-current clamp circuit is small).

[0158] In the surge protection circuit in the first configuration, after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage between the first wiring and the second wiring is increased to the trigger voltage, the direct-current clamp circuit may generate a current between the first wiring and the second wiring to suppress an increase in the voltage between the first wiring and the second wiring (second configuration).

[0159] In the surge protection circuit in the first or second configuration, the direct-current clamp circuit may generate or interrupt, according to a direct-current component of a voltage between the first wiring and the second wiring, a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring (third configuration).

[0160] In the surge protection circuit in any one of the first to third configurations, the active clamp circuit may include a detection circuit (for example, DET1) that is provided between the first wiring and the second wiring and includes a resistor (for example, 112) and a capacitor (for example, 113) connected in series to each other, and the active clamp circuit may detect the application of the surge voltage using the detection circuit to transiently turn on the protection transistor in response to the application of the surge voltage (fourth configuration).

[0161] In the surge protection circuit in the fourth configuration, the active clamp circuit may turn on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor (fifth configuration).

[0162] A semiconductor device according to an aspect of the present disclosure includes: the surge protection circuit in any one of the first to fifth configurations; and the circuit to be protected (sixth configuration).

[0163] A surge protection circuit (second embodiment; see FIG. 13 and the like) according to an aspect of the present disclosure includes: an active clamp circuit (for example, 110) that includes a protection transistor (for example, 111) provided between first wiring (WR1) and second wiring (WR2) and is configured to transiently turn on the protection transistor in response to application of a surge voltage between the first wiring and the second wiring so as to protect, from the surge voltage, a circuit to be protected (FC) that is connected to the first wiring and the second wiring; and a direct-current clamp circuit (for example, 310), the active clamp circuit includes a detection circuit (for example, DET1) that is provided between the first wiring and the second wiring and includes a resistor (for example, 112) and a capacitor (for example, 113) connected in series to each other, the active clamp circuit detects the application of the surge voltage using the detection circuit to transiently turn on the protection transistor in response to the application of the surge voltage and the direct-current clamp circuit is connected in parallel to the capacitor, and provides electrical continuity across the capacitor when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied across the capacitor (seventh configuration).

[0164] The protection transistor is transiently turned on in response to the application of the surge voltage, and thus a current based on the surge voltage is passed through the protection transistor, with the result that it is possible to appropriately protect the circuit to be protected from the surge voltage. However, after the protection transistor is turned off following a transient on period of the protection transistor, a voltage between the first wiring and the second wiring may be increased by a residual charge caused by static electricity or the like. In the surge protection circuit, even when a residual charge is present, the magnitude of an increase in the voltage is restricted by the direct-current clamp circuit, and thus damage in the circuit to be protected caused by the increase in the voltage is prevented. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor, and thus the residual charge only needs to be passed through the direct-current clamp circuit. Hence, the direct-current clamp circuit only needs to be configured to have a considerably small size (in other words, an increase in the size caused by the addition of the direct-current clamp circuit is small).

[0165] In the surge protection circuit in the seventh configuration, after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage across the capacitor is increased to the trigger voltage, the direct-current clamp circuit may generate a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring by providing electrical continuity across the capacitor to suppress an increase in a voltage between the first wiring and the second wiring (eighth configuration).

[0166] In the surge protection circuit in the seventh or eighth configuration, the direct-current clamp circuit may generate or interrupt, according to a direct-current component of a voltage across the capacitor, the current that is passed through the direct-current clamp circuit between the first wiring and the second wiring (ninth configuration).

[0167] In the surge protection circuit in any one of the seventh to ninth configurations, the active clamp circuit may turn on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor (tenth configuration).

[0168] A semiconductor device according to an aspect of the present disclosure includes: the surge protection circuit in any one of the seventh to tenth configurations; and the circuit to be protected (eleventh configuration).

[0169] A surge protection circuit (third embodiment; see FIG. 20 and the like) according to an aspect of the present disclosure includes: an active clamp circuit (for example, 110) that includes a protection transistor (for example, 111) provided between first wiring (WR1) and second wiring (WR2); a direct-current clamp circuit (for example, 210) connected in parallel to the active clamp circuit; a first rectifying element (Da [i]) that is provided between signal wiring (WRs [i]) and the first wiring and has a forward direction from the signal wiring toward the first wiring; and a second rectifying element (Db [i]) that is provided between the signal wiring and the second wiring and has a forward direction from the second wiring toward the signal wiring, the active clamp circuit generates a current that is passed through the first rectifying element and the protection transistor by transiently turning on the protection transistor in response to application of a positive surge voltage to the signal wiring relative to a potential of the second wiring so as to protect, from the surge voltage, a circuit to be protected (FC [i]) that is connected to the signal wiring, and the direct-current clamp circuit provides electrical continuity between the first wiring and the second wiring when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied between the first wiring and the second wiring (twelfth configuration).

[0170] The protection transistor is transiently turned on in response to the application of the surge voltage, and thus a current based on the surge voltage is passed through the protection transistor, with the result that it is possible to appropriately protect the circuit to be protected from the surge voltage. However, after the protection transistor is turned off following a transient on period of the protection transistor, the voltage of the signal wiring may be increased by a residual charge caused by static electricity or the like. In the surge protection circuit, even when a residual charge is present, the magnitude of an increase in the voltage is restricted by the direct-current clamp circuit, and thus damage in the circuit to be protected caused by the increase in the voltage is prevented. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor, and thus the residual charge only needs to be passed through the direct-current clamp circuit. Hence, the direct-current clamp circuit only needs to be configured to have a considerably small size (in other words, an increase in the size caused by the addition of the direct-current clamp circuit is small).

[0171] In the surge protection circuit in the twelfth configuration, after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage between the first wiring and the second wiring is increased to the trigger voltage, the direct-current clamp circuit may generate a current between the first wiring and the second wiring to suppress an increase in the voltage between the first wiring and the second wiring (thirteenth configuration).

[0172] In the surge protection circuit in the twelfth or thirteenth configuration, the direct-current clamp circuit may generate or interrupt, according to a direct-current component of a voltage between the first wiring and the second wiring, a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring (fourteenth configuration).

[0173] In the surge protection circuit in any one of the twelfth to fourteenth configurations, the active clamp circuit may include a detection circuit (for example, DET1) that is provided between the first wiring and the second wiring and includes a resistor (for example, 112) and a capacitor (for example, 113) connected in series to each other, and the active clamp circuit may detect the application of the surge voltage using the detection circuit to transiently turn on the protection transistor in response to the application of the surge voltage (fifteenth configuration).

[0174] In the surge protection circuit in the fifteenth configuration, the active clamp circuit may turn on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor (sixteenth configuration).

[0175] A semiconductor device according to an aspect of the present disclosure includes: the surge protection circuit in any one of the twelfth to sixteenth configurations; and the circuit to be protected (seventeenth configuration).

[0176] The semiconductor device in the seventeenth configuration may further include: a plurality of unit circuits each including the signal wiring, the first rectifying element, the second rectifying element and the circuit to be protected, and the active clamp circuit and the direct-current clamp circuit may be shared by the plurality of unit circuits (eighteenth configuration).

[0177] In this way, the size of the surge protection circuit is reduced as compared with a case where the active clamp circuit and the direct-current clamp circuit are provided in each of the unit circuits.

[0178] In the semiconductor device in the seventeenth configuration, the circuit to be protected may include a first field-effect transistor (51) provided between the first wiring and the signal wiring and a second field-effect transistor (52) provided between the signal wiring and the second wiring, and a parasitic diode of the first field-effect transistor and a parasitic diode of the second field-effect transistor may be used as the first rectifying element and the second rectifying element, respectively (nineteenth configuration).

[0179] In this way, it is possible to omit the installation of a dedicated diode for surge protection, and thus the size of the surge protection circuit is reduced.

[0180] A surge protection circuit (fourth embodiment; see FIG. 24 and the like) according to an aspect of the present disclosure includes: an active clamp circuit (for example, 110) that includes a protection transistor (for example, 111) provided between first wiring (WR1) and second wiring (WR2); a direct-current clamp circuit (for example, 310); a first rectifying element (Da [i]) that is provided between signal wiring (WRs [i]) and the first wiring and has a forward direction from the signal wiring toward the first wiring; and a second rectifying element (Db [i]) that is provided between the signal wiring and the second wiring and has a forward direction from the second wiring toward the signal wiring, the active clamp circuit includes a detection circuit (for example, DET1) that is provided between the first wiring and the second wiring and includes a resistor (for example, 112) and a capacitor (for example, 113) connected in series to each other, the active clamp circuit detects application of a positive surge voltage to the signal wiring relative to a potential of the second wiring using the detection circuit, and generates a current that is passed through the first rectifying element and the protection transistor by transiently turning on the protection transistor in response to the application of the surge voltage so as to protect, from the surge voltage, a circuit to be protected (FC [i]) that is connected to the signal wiring and the direct-current clamp circuit is connected in parallel to the capacitor, and provides electrical continuity across the capacitor when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied across the capacitor (twentieth configuration).

[0181] The protection transistor is transiently turned on in response to the application of the surge voltage, and thus a current based on the surge voltage is passed through the protection transistor, with the result that it is possible to appropriately protect the circuit to be protected from the surge voltage. However, after the protection transistor is turned off following a transient on period of the protection transistor, the voltage of the signal wiring may be increased by a residual charge caused by static electricity or the like. In the surge protection circuit, even when a residual charge is present, the magnitude of an increase in the voltage is restricted by the direct-current clamp circuit, and thus damage in the circuit to be protected caused by the increase in the voltage is prevented. Most of the charge caused by the generation of the surge voltage is passed through the protection transistor, and thus the residual charge only needs to be passed through the direct-current clamp circuit. Hence, the direct-current clamp circuit only needs to be configured to have a considerably small size (in other words, an increase in the size caused by the addition of the direct-current clamp circuit is small).

[0182] In the surge protection circuit in the twentieth configuration, after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage across the capacitor is increased to the trigger voltage, the direct-current clamp circuit may generate a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring by providing electrical continuity across the capacitor to suppress an increase in a voltage between the first wiring and the second wiring (twenty-first configuration).

[0183] In the surge protection circuit in the twentieth or twenty-first configuration, the direct-current clamp circuit may generate or interrupt, according to a direct-current component of a voltage across the capacitor, the current that is passed through the direct-current clamp circuit between the first wiring and the second wiring (twenty-second configuration).

[0184] In the surge protection circuit in any one of the twentieth to twenty-second configurations, the active clamp circuit may turn on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor (twenty-third configuration).

[0185] A semiconductor device according to an aspect of the present disclosure includes: the surge protection circuit in any one of the twentieth to twenty-third configurations; and the circuit to be protected (twenty-fourth configuration).

[0186] The semiconductor device in the twenty-fourth configuration may further include: a plurality of unit circuits each including the signal wiring, the first rectifying element, the second rectifying element and the circuit to be protected, and the active clamp circuit and the direct-current clamp circuit may be shared by the plurality of unit circuits (twenty-fifth configuration).

[0187] In this way, the size of the surge protection circuit is reduced as compared with a case where the active clamp circuit and the direct-current clamp circuit are provided in each of the unit circuits.

[0188] In the semiconductor device in the twenty-fourth configuration, the circuit to be protected may include a first field-effect transistor provided between the first wiring and the signal wiring and a second field-effect transistor provided between the signal wiring and the second wiring, and a parasitic diode of the first field-effect transistor and a parasitic diode of the second field-effect transistor may be used as the first rectifying element and the second rectifying element, respectively (twenty-sixth configuration).

[0189] In this way, it is possible to omit the installation of a dedicated diode for surge protection, and thus the size of the surge protection circuit is reduced.

Claims

1. A surge protection circuit comprising:an active clamp circuit thatincludes a protection transistor provided between first wiring and second wiring andis configured to transiently turn on the protection transistor in response to application of a surge voltage between the first wiring and the second wiring so as to protect, from the surge voltage, a circuit to be protected that is connected to the first wiring and the second wiring; anda direct-current clamp circuit connected in parallel to the active clamp circuit,wherein the direct-current clamp circuit provides electrical continuity between the first wiring and the second wiring when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied between the first wiring and the second wiring.

2. The surge protection circuit according to claim 1,wherein after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage between the first wiring and the second wiring is increased to the trigger voltage, the direct-current clamp circuit generates a current between the first wiring and the second wiring to suppress an increase in the voltage between the first wiring and the second wiring.

3. The surge protection circuit according to claim 1,wherein the direct-current clamp circuit generates or interrupts, according to a direct-current component of a voltage between the first wiring and the second wiring, a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring.

4. The surge protection circuit according to claim 1,wherein the active clamp circuit includes a detection circuit thatis provided between the first wiring and the second wiring andincludes a resistor and a capacitor connected in series to each other, andthe active clamp circuit detects the application of the surge voltage using the detection circuit to transiently turn on the protection transistor in response to the application of the surge voltage.

5. The surge protection circuit according to claim 4,wherein the active clamp circuit turns on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor.

6. A semiconductor device comprising:the surge protection circuit according to claim 1; andthe circuit to be protected.

7. A surge protection circuit comprising:an active clamp circuit thatincludes a protection transistor provided between first wiring and second wiring andis configured to transiently turn on the protection transistor in response to application of a surge voltage between the first wiring and the second wiring so as to protect, from the surge voltage, a circuit to be protected that is connected to the first wiring and the second wiring; anda direct-current clamp circuit,wherein the active clamp circuit includes a detection circuit thatis provided between the first wiring and the second wiring andincludes a resistor and a capacitor connected in series to each other,the active clamp circuit detects the application of the surge voltage using the detection circuit to transiently turn on the protection transistor in response to the application of the surge voltage andthe direct-current clamp circuit is connected in parallel to the capacitor, and provides electrical continuity across the capacitor when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied across the capacitor.

8. The surge protection circuit according to claim 7,wherein after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage across the capacitor is increased to the trigger voltage, the direct-current clamp circuit generates a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring by providing electrical continuity across the capacitor to suppress an increase in a voltage between the first wiring and the second wiring.

9. The surge protection circuit according to claim 7,wherein the direct-current clamp circuit generates or interrupts, according to a direct-current component of a voltage across the capacitor, a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring.

10. The surge protection circuit according to claim 7,wherein the active clamp circuit turns on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor.

11. A semiconductor device comprising:the surge protection circuit according to claim 7; andthe circuit to be protected.

12. A surge protection circuit comprising:an active clamp circuit that includes a protection transistor provided between first wiring and second wiring;a direct-current clamp circuit connected in parallel to the active clamp circuit;a first rectifying element thatis provided between signal wiring and the first wiring andhas a forward direction from the signal wiring toward the first wiring; anda second rectifying element thatis provided between the signal wiring and the second wiring andhas a forward direction from the second wiring toward the signal wiring,wherein the active clamp circuit generates a current that is passed through the first rectifying element and the protection transistor by transiently turning on the protection transistor in response to application of a positive surge voltage to the signal wiring relative to a potential of the second wiring so as to protect, from the surge voltage, a circuit to be protected that is connected to the signal wiring, andthe direct-current clamp circuit provides electrical continuity between the first wiring and the second wiring when a voltage equal to or greater than a trigger voltage corresponding to a characteristic of the direct-current clamp circuit is applied between the first wiring and the second wiring.

13. The surge protection circuit according to claim 12,wherein after the protection transistor is switched from off to on in response to the application of the surge voltage and is then returned to an off state, when a voltage between the first wiring and the second wiring is increased to the trigger voltage, the direct-current clamp circuit generates a current between the first wiring and the second wiring to suppress an increase in the voltage between the first wiring and the second wiring.

14. The surge protection circuit according to claim 12,wherein the direct-current clamp circuit generates or interrupts, according to a direct-current component of a voltage between the first wiring and the second wiring, a current that is passed through the direct-current clamp circuit between the first wiring and the second wiring.

15. The surge protection circuit according to claim 12,wherein the active clamp circuit includes a detection circuit thatis provided between the first wiring and the second wiring andincludes a resistor and a capacitor connected in series to each other, andthe active clamp circuit detects the application of the surge voltage using the detection circuit to transiently turn on the protection transistor in response to the application of the surge voltage.

16. The surge protection circuit according to claim 15,wherein the active clamp circuit turns on the protection transistor in response to the application of the surge voltage for only a time corresponding to characteristics of the resistor and the capacitor.

17. A semiconductor device comprising:the surge protection circuit according to claim 12; andthe circuit to be protected.

18. The semiconductor device according to claim 17 further comprising:a plurality of unit circuits each including the signal wiring, the first rectifying element, the second rectifying element and the circuit to be protected,wherein the active clamp circuit and the direct-current clamp circuit are shared by the plurality of unit circuits.

19. The semiconductor device according to claim 17,wherein the circuit to be protected includesa first field-effect transistor provided between the first wiring and the signal wiring anda second field-effect transistor provided between the signal wiring and the second wiring, anda parasitic diode of the first field-effect transistor and a parasitic diode of the second field-effect transistor are used as the first rectifying element and the second rectifying element, respectively.