Semiconductor device
Patent Information
- Application Number
- DE112020005270
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-09-07
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2040-09-07
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
TECHNICAL FIELD The present disclosure relates to a semiconductor device. TECHNICAL BACKGROUND A semiconductor device used in an inverter circuit or the like includes an island serving as a conductive member, a transistor whose drain electrode is connected to the island, a plurality of terminals electrically connected to the transistor, and a resin member encapsulating the transistor and portions of the terminals (see, for example, Patent Document 1). STATE OF THE ART DOCUMENT PATENT DOCUMENT Patent Document 1: Japanese Patent Laid-Open Publication JP 2014-93373 A . Further semiconductor devices are known from the documents US 2015 / 0 171 764 A1 , US 2015 / 0 043 228 A1 and US 2016 / 0 358 848 A1 . SUMMARY OF THE INVENTION Problems that the invention is intended to solve When a semiconductor device is used in an inverter circuit, an overvoltage or a disturbance caused by the inverter circuit may affect the semiconductor device. Thus, a control board on which the inverter circuit is formed and the semiconductor device is mounted includes an overvoltage reduction circuit that reduces an overvoltage at the gate electrode of the transistor, or a short-circuit protection circuit that protects circuits containing transistors. However, arranging the overvoltage reduction circuit on the control board increases the distance between the overvoltage reduction circuit and the semiconductor device. This increases the inductance of the conductor (wire) connecting the overvoltage reduction circuit and the transistor.Furthermore, the arrangement of the short-circuit protection circuit on the control board requires that the short-circuit protection circuit be spaced apart from the signal terminals of the semiconductor devices to provide isolation. This places limitations on the degree of design freedom of the short-circuit protection circuit's peripherals. Accordingly, the semiconductor device can incorporate sections of the overvoltage reduction circuit and the short-circuit protection circuit. This reduces the distance between the overvoltage reduction circuit and the transistor compared to when the overvoltage reduction circuit and the short-circuit protection circuit are formed externally of the semiconductor device. Thus, the length of the conductor connecting the overvoltage reduction circuit and the transistor is shortened. In addition, there is no need for the short-circuit protection circuit to be spaced apart to isolate the signal terminals. This simplifies the layout of the control board. However, when sections of the overvoltage reduction circuit and the short-circuit protection circuit are incorporated into the semiconductor device, the electrical characteristics of the overvoltage reduction circuit and the electrical characteristics of the short-circuit protection circuit cannot be matched after the resin element is formed. This negatively affects the usability of the semiconductor device. The same problem occurs when a semiconductor device incorporates an electrical circuit other than the overvoltage reduction circuit and the short-circuit protection circuit that is electrically connected to a transistor. An object of the present disclosure is to provide a semiconductor device that reduces inductance, simplifies the layout of a control board, and is easy to use. Means of solving the problem The above object is achieved by a semiconductor device according to claim 1. Advantageous embodiments are specified in the subclaims. The semiconductor device includes a semiconductor element, a support substrate supporting the semiconductor element, a conductor electrically connected to the semiconductor element, and a resin member encapsulating the semiconductor element. The conductor has a mounting region in which an electronic component is mounted, and the resin member has a resin opening exposing the mounting region. With this configuration, the semiconductor device incorporates the conductor, which is connected to electronic components of a surge suppression circuit, for example. This reduces the length of the conductor compared to when the conductor is arranged outside the semiconductor device. Accordingly, the inductance of the conductor is reduced. Furthermore, the semiconductor device incorporates portions of an electronic component that forms an electrical circuit such as a short-circuit protection circuit. This simplifies the layout of a control board compared to when the electrical circuit of a short-circuit protection circuit or the like is arranged outside the semiconductor device. Electronic components of an electrical circuit, which are electrically connected to semiconductor elements of, for example, an overvoltage reduction circuit, a short-circuit protection circuit, or the like, are attached through a resin opening in the attachment region of the conductor. This allows the electrical characteristics of the electrical circuit to be adjusted after the resin element is formed. Accordingly, after attaching the semiconductor device to, for example, a control board, the electrical characteristics of the semiconductor device can be adjusted such that the electrical characteristics are suitable for the electrical circuits to be mounted on the semiconductor device. Effects of the invention The semiconductor device reduces inductance, simplifies the layout of the control board and is easy to use. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a plan view of a semiconductor device according to a first embodiment. Fig. 2 is a perspective view of the semiconductor device according to the first embodiment. Fig. 3 is a bottom view of the semiconductor device shown in Fig. 1. Fig. 4 is a side view of the semiconductor device shown in Fig. 1. Fig. 5 is a circuit diagram of the semiconductor device shown in Fig. 1. Fig. 6 is a perspective view of the semiconductor device shown in Fig. 1 without a resin member. Fig. 7A is a plan view of the semiconductor device indicating the resin member with double-dashed lines. Fig. 7B is an enlarged view of a semiconductor element shown in Fig. 7A. Fig. 8 is an enlarged view of a first wiring region in the semiconductor device shown in Fig. 7A. Fig.9 is an enlarged view of a third wiring region in the semiconductor device shown in Fig. 7A. Fig. 10 is an enlarged view of a second wiring region in the semiconductor device shown in Fig. 7A. Fig. 11A is a cross-sectional diagram of the semiconductor device. Fig. 11B is an enlarged view of a first semiconductor element shown in Fig. 11A. Fig. 12 is a cross-sectional diagram of a conductive substrate of the semiconductor device shown in Fig. 7A. Fig. 13 is a flowchart illustrating a method of manufacturing the semiconductor device according to the first embodiment. Fig. 14 is a diagram illustrating a substrate bonding step in the method of manufacturing the semiconductor device. Fig. 15 is a plan view of a semiconductor device according to a second embodiment.16 is a plan view showing the semiconductor device according to the second embodiment in a state where a resin member is removed from the semiconductor device. FIG. 17 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 16. FIG. 18 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 16. FIG. 19 is a flowchart illustrating a method of manufacturing the semiconductor device according to the second embodiment. FIG. 20 is a plan view of a semiconductor device according to a third embodiment. FIG. 21 is a plan view of the semiconductor device shown in FIG. 20 without a resin member. FIG. 22 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 21.23 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 21. FIG. 24 is a circuit diagram of a semiconductor device according to the third embodiment. FIG. 25 is a plan view of a semiconductor device according to a fourth embodiment. FIG. 26A is a plan view showing the semiconductor device according to the fourth embodiment in a state where a resin member is removed from the semiconductor device. FIG. 26B is an enlarged view of a semiconductor element shown in FIG. 26A. FIG. 27 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 26A. FIG. 28 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 26A. FIG. 29 is a circuit diagram of the semiconductor device shown in FIG. 26A.30 is a plan view of a semiconductor device according to a fifth embodiment. FIG. 31 is a plan view showing the semiconductor device according to the fifth embodiment in a state where a resin member is removed from the semiconductor device. FIG. 32 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 31. FIG. 33 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 32. FIG. 34 is a circuit diagram of the semiconductor device shown in FIG. 30. FIG. 35 is a plan view of a semiconductor device according to a sixth embodiment. FIG. 36 is a plan view showing the semiconductor device according to the sixth embodiment in a state where a resin member is removed from the semiconductor device.37 is a cross-sectional view taken along line 37-37 in FIG. 36. FIG. 38 is a plan view showing a conductive substrate in a state without electronic components. FIG. 39 is an enlarged view of a first semiconductor element shown in FIG. 36. FIG. 40 is an enlarged view of a second semiconductor element shown in FIG. 36. FIG. 41 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 36. FIG. 42 is an enlarged view of a third wiring region in the semiconductor device shown in FIG. 36. FIG. 43 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 36. FIG. 44 is a plan view of a semiconductor device according to a seventh embodiment.45 is a plan view showing the semiconductor device according to the seventh embodiment in a state where a resin member is removed from the semiconductor device. 46 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 45. 47 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 45. 48 is a plan view of a semiconductor device according to an eighth embodiment. 49 is a plan view showing the semiconductor device according to the eighth embodiment in a state where a resin member is removed from the semiconductor device. 50 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 49.51 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 49. FIG. 52 is a plan view of a semiconductor device according to a ninth embodiment. FIG. 53 is a plan view showing the semiconductor device according to the ninth embodiment in a state where a resin member is removed from the semiconductor device. FIG. 54 is an enlarged view of a first semiconductor element in the semiconductor device shown in FIG. 53. FIG. 55 is an enlarged view of a second semiconductor element in the semiconductor device shown in FIG. 53. FIG. 56 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 53. FIG. 57 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 53.58 is a plan view of a semiconductor device according to a tenth embodiment. FIG. 59 is a plan view showing the semiconductor device according to the tenth embodiment in a state where a resin member is removed from the semiconductor device. FIG. 60 is an enlarged view of a first wiring region in the semiconductor device shown in FIG. 59. FIG. 61 is an enlarged view of a second wiring region in the semiconductor device shown in FIG. 59. FIG. 62 is an enlarged view of a first wiring region in a semiconductor device of a modified example. FIG. 63 is a plan view of a semiconductor device in a modified example. FIG. 64 is a plan view of a semiconductor device in a modified example. FIG. 65 is a plan view of a semiconductor device in a modified example. MODE FOR CARRYING OUT THE INVENTION Embodiments of a semiconductor device will now be described with reference to the drawings. The embodiments described below illustrate configurations and methods for embodying a technical concept, without any intention of limiting the material, shape, structure, arrangement, dimensions, and the like of each component. The embodiments described below are subject to various changes. First embodiment A semiconductor device according to a first embodiment will now be described with reference to FIGS. 1 to 14. Hatching lines indicating the cross-section of semiconductor elements are not used in the cross-sectional views of FIGS. 11A and 11B showing the semiconductor device. General configuration of the semiconductor device As shown in Fig. 1, a semiconductor device 1A includes first semiconductor elements 10A and second semiconductor elements 10B, each serving as a semiconductor element, a support substrate 40 supporting the semiconductor elements 10A and 10B, a resin member 50 encapsulating the support substrate 40 and the semiconductor elements 10A and 10B, and leads 80 protruding from the resin member 50. The resin member 50 has resin openings 50X that allow mounting of electronic components. The semiconductor device 1A is operated by electronic components 30X mounted in the resin openings 50X. Now, an example of a circuit configuration of the semiconductor device 1A will be described. Circuit configuration of the semiconductor device As shown in Fig. 5, the semiconductor device 1A includes a half-bridge type switching circuit 2 in which a first semiconductor element 10A and a second semiconductor element 10B are connected in series, and terminals 20. The semiconductor device 1A is a power converter (a power module) used in, for example, a drive source for a motor, an inverter for various types of electronic devices, a DC-DC converter for various types of electronic devices, or the like. The semiconductor elements 10A and 10B are used as switching elements. The semiconductor elements 10A and 10B use, for example, transistors formed by silicon (Si) or silicon carbide (SiC), transistors formed by gallium nitride (GaN) or gallium arsenide (GaAs), transistors formed by gallium oxide (Ga2O3), or the like. The semiconductor elements 10A and 10B formed of SiC are suitable for high-speed operations. In the present embodiment, the semiconductor elements 10A and 10B use n-type metal oxide semiconductor field-effect transistors (MOSFETs) formed of SiC. Each of the semiconductor elements 10A and 10B is not limited to a MOSFET and may be a field-effect transistor such as a metal-insulation material semiconductor FET (MISFET) or a bipolar transistor such as a bipolar transistor. B. be an insulated gate bipolar transistor (IGBT).The semiconductor elements 10A and 10B may be n-channel MOSFETs or p-channel MOSFETs. Each of the semiconductor elements 10A and 10B includes a drain electrode 11, which is an example of a first drive electrode, a source electrode 12, which is an example of a second drive electrode, and a gate electrode 13, which is an example of a control electrode. The gate electrode 13 of the first semiconductor element 10A controls the voltage supplied to the first semiconductor element 10A. The gate electrode 13 of the second semiconductor element 10B controls the voltage supplied to the second semiconductor element 10B. As shown in Fig. 5, in the present embodiment, the source electrode 12 of the first semiconductor element 10A is connected to the drain electrode 11 of the second semiconductor element 10B to form the switching circuit 2. Specifically, the first semiconductor element 10A forms the upper arm of the switching circuit 2, and the second semiconductor element 10B forms the lower arm of the switching circuit 2. The semiconductor device 1A includes a first short-circuit detection circuit 3A that detects short-circuiting of the first semiconductor element 10A, and a second short-circuit detection circuit 3B that detects short-circuiting of the second semiconductor element 10B. The first short-circuit detection circuit 3A and the second short-circuit detection circuit 3B each form part of a short-circuit protection circuit (not shown) in a later stage. The short-circuit protection circuit is a circuit that provides protection against short-circuiting of each of the semiconductor elements 10A and 10B, and is arranged outside the semiconductor device 1A, except for the circuit portion of the short-circuit detection circuits 3A and 3B. In more detail, the semiconductor device 1A includes first high-voltage diodes 30A and 30B, which are examples of electronic components that protect the first semiconductor element 10A, and second high-voltage diodes 31A and 31B, which are examples of electronic components that protect the second semiconductor element 10B. The high-voltage diodes 30A, 30B, 31A, and 31B each correspond to one of the electronic components 30X mounted in the resin openings 50X. The first high-voltage diodes 30A and 30B are connected in series. The cathode electrode of the first high-voltage diode 30A is electrically connected to the anode electrode of the first high-voltage diode 30B, and the cathode electrode of the first high-voltage diode 30B is electrically connected to the drain electrode 11 of the first semiconductor element 10A. This forms the first short-circuit detection circuit 3A. The second high-voltage diodes 31A and 31B are connected in series with each other, the cathode electrode of the second high-voltage diode 31A is electrically connected to the anode electrode of the second high-voltage diode 31B, and the cathode electrode of the second high-voltage diode 31B is electrically connected to the drain electrode 11 of the second semiconductor element 10B. This forms the second short-circuit detection circuit 3B. Further, the semiconductor device 1A includes a first overvoltage reducing circuit 4A that reduces an overvoltage in the voltage Vgs at the gate electrode 13 of the first semiconductor element 10A, and a second overvoltage reducing circuit 4B that reduces an overvoltage in the voltage Vgs at the gate electrode 13 of the second semiconductor element 10B. In more detail, the semiconductor device 1A includes first low-voltage diodes 32A and 32B and first capacitors 33A and 33B, which are examples of electronic components that reduce an overvoltage in the voltage Vgs applied to the gate electrode 13 of the first semiconductor element 10A, and second low-voltage diodes 34A and 34B and second capacitors 35A and 35B, which are examples of electronic components that reduce an overvoltage in the voltage Vgs applied to the gate electrode 13 of the second semiconductor element 10B.In the present embodiment, Schottky barrier diodes are used as the low-voltage diodes 32A, 32B, 34A, and 34B. The low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B each correspond to one of the electronic components 30X mounted in the resin holes 50X. The first low-voltage diodes 32A and 32B are connected in series. The cathode electrode of the first low-voltage diode 32B is electrically connected to the anode electrode of the first low-voltage diode 32A. A node N2 between the anode electrode of the first low-voltage diode 32A and the cathode electrode of the first low-voltage diode 32B is connected to the gate electrode 13 of the first semiconductor element 10A. The first capacitors 33A and 33B are connected in series with each other and in parallel with the first low-voltage diodes 32A and 32B. A first terminal of the first capacitor 33A is electrically connected to the cathode electrode of the first low-voltage diode 32A, and a second terminal of the first capacitor 33A is connected to a first terminal of the first capacitor 33B. A second terminal of the first capacitor 33B is connected to the anode electrode of the first low-voltage diode 32B. A node N3 between the second terminal of the first capacitor 33A and the first terminal of the first capacitor 33B is electrically connected to the source electrode 12 of the first semiconductor element 10A. The first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B are thus connected to form the first overvoltage reduction circuit 4A. The second low-voltage diodes 34A and 34B are connected in series with each other. The cathode electrode of the second low-voltage diode 34B is electrically connected to the anode electrode of the second low-voltage diode 34A, and a node N4 between the anode electrode of the second low-voltage diode 34A and the cathode electrode of the second low-voltage diode 34B is connected to the gate electrode 13 of the second semiconductor element 10B. The second capacitors 35A and 35B are connected in series with each other and in parallel with the second low-voltage diodes 34A and 34B. A first terminal of the second capacitor 35A is connected to the cathode electrode of the second low-voltage diode 34A, and a second terminal of the second capacitor 35A is connected to a first terminal of the second capacitor 35B. A second terminal of the second capacitor 35B is connected to the anode electrode of the second low-voltage diode 34B. A node N5 between the second terminal of the second capacitor 35A and the first terminal of the second capacitor 35B is connected to the source electrode 12 of the second semiconductor element 10B. The second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B are thus connected to form the second overvoltage reduction circuit 4B. The terminals 20 include a first power terminal 21A, a second power terminal 21B, an output terminal 22, a first control terminal 23A, a second control terminal 23B, a first source terminal 24A, a second source terminal 24B, a first control power terminal 25A, a first control power terminal 25B, a second control power terminal 25C, a second control power terminal 25D, a first short-circuit detection terminal 26A, and a second short-circuit detection terminal 26B. The first short-circuit detection terminal 26A and the second short-circuit detection terminal 26B are DESAT control power terminals that detect a short circuit in a load. The first power terminal 21A is electrically connected to the drain electrode 11 of the first semiconductor element 10A. The second power terminal 21B is electrically connected to the source electrode 12 of the second semiconductor element 10B. The output terminal 22 is electrically connected to a node N1 between the source electrode 12 of the first semiconductor element 10A and the drain electrode 11 of the second semiconductor element 10B. The first control terminal 23A is electrically connected to the node N2 between the anode electrode of the first low-voltage diode 32A and the cathode electrode of the first low-voltage diode 32B and is electrically connected to the gate electrode 13 of the first semiconductor element 10A via the node N2. The first source terminal 24A is electrically connected to the node N3 between the second terminal of the first capacitor 33A and the first terminal of the first capacitor 33B and is electrically connected to the source electrode 12 of the first semiconductor element 10A via the node N3. The first control power terminal 25A is electrically connected to the cathode electrode of the first low-voltage diode 32A and the first terminal of the first capacitor 33A. The first control power terminal 25B is electrically connected to the anode electrode of the first low-voltage diode 32B and the second terminal of the first capacitor 33B. In this way, the first overvoltage reduction circuit 4A is electrically connected to the first control power terminal 25A and the first control power terminal 25B. The second control power terminal 25C is electrically connected to the cathode electrode of the second low-voltage diode 34A and the first terminal of the second capacitor 35A. The second control power terminal 25D is electrically connected to the anode electrode of the second low-voltage diode 34B and the second terminal of the second capacitor 35B. In this way, the second overvoltage reduction circuit 4B is electrically connected to the second control power terminal 25C and the second control power terminal 25D. The first short-circuit detection terminal 26A is electrically connected to the anode electrode of the first high-voltage diode 30A. Thus, the first short-circuit detection terminal 26A is connected to the drain electrode 11 of the first semiconductor element 10A via the first short-circuit detection circuit 3A. The second short-circuit detection terminal 26B is electrically connected to the anode electrode of the second high-voltage diode 31A. Thus, the second short-circuit detection terminal 26B is electrically connected to the drain electrode 11 of the second semiconductor element 10B via the second short-circuit detection circuit 3B. Semiconductor device configuration The high-voltage diodes 30A, 30B, 31A, and 31B, the low-voltage diodes 32A, 32B, 34A, and 34B, and the capacitors 33A, 33B, 35A, and 35B are attached to the semiconductor device 1A as the electronic components 30X. All of the electronic components described above may be attached to the semiconductor device 1A from the beginning. The configuration of the semiconductor device 1A will now be described in detail. In Fig. 1, Fig. 2, Fig. 6, and Fig. 7A, electronic components are initially mounted on the semiconductor device 1A. As shown in Fig. 1 to Fig. 4, Fig. 6 and Fig. 7A, the semiconductor device 1A includes the support substrate 40 supporting the semiconductor elements 10A and 10B, and the resin member 50 encapsulating the semiconductor elements 10A and 10B. In the present embodiment, the support substrate 40 and the resin member 50 constitute an assembly. In the following description, perpendicular sectional directions are defined as the width direction X, the length direction Y, and the thickness direction Z. The thickness direction Z is the thickness direction of the support substrate 40 and the direction in which the support substrate 40 and the resin member 50 are aligned. The width direction X is, for example, the direction in which a first input line 81, a second input line 82, and an output line 83, which will be described later, are aligned in the semiconductor device 1A.The longitudinal direction Y is a direction perpendicular to the width direction X in a view of the semiconductor device 1A taken in the thickness direction Z (hereinafter referred to as a plan view). As shown in Fig. 1 to Fig. 4, the resin member 50 has the shape of a substantially flat plate. As shown in Fig. 1, the resin member 50 has a rectangular shape in a plan view. In the present embodiment, the shape of the resin member 50 in a plan view is rectangular such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The resin member 50 may have any shape in a plan view. For example, the shape of the resin member 50 in a plan view may be square. The resin member 50 is formed of a thermosetting resin. In the present embodiment, the material constituting the resin member 50 is an epoxy resin having a black color. The resin member 50 has an upper resin surface 55 and a rear resin surface 56 that face away from each other in the thickness direction Z, and a first resin side surface 51, a second resin side surface 52, a third resin side surface 53, and a fourth resin side surface 54 that are formed between the upper resin surface 55 and the rear resin surface 56 in the thickness direction Z and intersect the upper resin surface 55 and the rear resin surface 56. In the present embodiment, the first resin side surface 51 and the second resin side surface 52 face away from each other in the width direction X. In a plan view, the first resin side surface 51 and the second resin side surface 52 each extend in the longitudinal direction Y. The third resin side surface 53 and the fourth resin side surface 54 face in opposite directions in the longitudinal direction Y.In a plan view, the third resin side surface 53 and the fourth resin side surface 54 each extend in the width direction X. In the present embodiment, in a plan view, the first resin side surface 51 and the second resin side surface 52 are the short sides of the resin member 50, and the third resin side surface 53 and the fourth resin side surface 54 are the long sides of the resin member 50. As shown in Fig. 3 and Fig. 4, a portion of the resin member 50 located toward the rear resin surface 56 has grooves 57A and 57B recessed from the rear resin surface 56 in the thickness direction Z. The grooves 57A are located at the end of the resin member 50 in the width direction X near the first resin side surface 51. A plurality of grooves 57A (three in the present embodiment) are spaced apart from each other in the width direction X. The grooves 57B are located at the end of the resin member 50 in the width direction X near the second resin side surface 52. A plurality of grooves 57B (three in the present embodiment) are spaced apart from each other in the width direction X. The grooves 57A and 57B each extend in the longitudinal direction Y. In one example, the grooves 57A and 57B in the resin member 50 extend from the third resin side surface 53 to the fourth resin side surface 54.The number of grooves 57A and 57B can be freely changed. Furthermore, either the grooves 57A or the grooves 57B can be omitted from the resin member 50. The support substrate 40 forms a conductive pattern electrically connected to the semiconductor elements 10A and 10B, and supports the semiconductor elements 10A and 10B. The support substrate 40 includes a first insulating substrate 41A, a second insulating substrate 41B, a first conductive member 42A, and a second conductive member 42B. The support substrate 40 is formed by stacking the insulating substrates 41A and 41B and the conductive members 42A and 42B in this order in the thickness direction Z. The insulating substrates 41A and 41B are each electrically insulating. The insulating substrates 41A and 41B are formed, for example, from a ceramic having excellent thermal conductivity. Examples of such a ceramic include aluminum nitride (AlN), silicon nitride (SiN), alumina (Al2O3), and the like. In the present embodiment, the shape of each of the insulating substrates 41A and 41B in a plan view is rectangular such that the longitudinal direction Y is the long side direction and the width direction X is the short side direction. The length of the first insulating substrate 41A in the width direction X is smaller than the length of the second insulating substrate 41B in the width direction X. The length of the first insulating substrate 41A in the longitudinal direction Y is equal to the length of the second insulating substrate 41B in the longitudinal direction Y.The thickness of the first insulating substrate 41A (the extent of the first insulating substrate 41A in the thickness direction Z) is equal to the thickness of the second insulating substrate 41B (the extent of the second insulating substrate 41B in the thickness direction Z). As shown in Fig. 11A, the first insulating substrate 41A has a substrate main surface 41sa and a substrate back surface 41ra that face away from each other in the thickness direction Z. The second insulating substrate 41B has a substrate main surface 41sb and a substrate back surface 41rb that face away from each other in the thickness direction Z. The first insulating substrate 41A and the second insulating substrate 41B are spaced apart in the width direction X. The first conductive element 42A is arranged on the substrate main surface 41sa of the first insulating substrate 41A. The second conductive element 42B is arranged on the substrate main surface 41sb of the second insulating substrate 41B.The first conductive member 42A and the second conductive member 42B are arranged in a state where they are spaced apart in a first direction perpendicular to the thickness direction Z. In the present embodiment, the first conductive member 42A and the second conductive member 42B are spaced apart in the longitudinal direction Y. The substrate main surfaces 41sa and 41sb of the insulating substrates 41A and 41B are encapsulated together with the conductive members 42A and 42B by the resin member 50. As shown in Fig. 3, the substrate back surfaces 41ra and 41rb of the insulating substrates 41A and 41B are exposed from the resin member 50. The substrate back surfaces 41ra and 41rb of the insulating substrates 41A and 41B are connected to, for example, a heat sink (not shown). The substrate back surfaces 41ra and 41rb of the insulating substrates 41A and 41B are located between the grooves 57A and the grooves 57B of the resin member 50 in the width direction X. Each of the first conductive member 42A and the second conductive member 42B is a metal plate. The material of the metal plate is copper (Cu) or a copper alloy. The conductive members 42A and 42B form conductive paths with the semiconductor elements 10A and 10B. The conductive members 42A and 42B are bonded to the substrate main surfaces 41sa and 41sb of the insulating substrates 41A and 41B by a bonding material such as silver paste or solder, for example. The bonding material may be a conductive material such as silver paste or solder, or an electrically insulating material. The thickness (the dimension in the thickness direction Z) of each of the conductive members 42A and 42B is greater than the thickness (the dimension in the thickness direction Z) of each of the insulating substrates 41A and 41B, for example, in the range of 0.4 mm to 3.0 mm. The surfaces of the conductive elements 42A and 42B may be coated by silver plating. In a plan view, the shape of the first conductive element 42A and the shape of the second conductive element 42B may be rectangular such that the longitudinal direction Y is the long side direction and the width direction X is the short side direction. In a plan view, the shape of the first conductive element 42A is different from the shape of the second conductive element 42B. Specifically, the length of the first conductive element 42A in the width direction X is smaller than the length of the second conductive element 42B in the width direction X. The length of the first conductive element 42A in the longitudinal direction Y is equal to the length of the second conductive element 42B in the longitudinal direction Y. As shown in Fig. 11A, the first conductive member 42A is located from the second conductive member 42B in the width direction X to the first resin side surface 51 of the resin member 50. The first conductive member 42A has a main surface 42sa and a back surface 42ra that face away from each other in the thickness direction Z. The main surface 42sa faces the same direction in the thickness direction Z as the substrate main surface 41sa of the first insulating substrate 41A. The back surface 42ra faces the same direction in the thickness direction Z as the substrate back surface 41ra of the first insulating substrate 41A. The back surface 42ra is bonded to the substrate main surface 41sa of the first insulating substrate 41A by a bonding material. In the present embodiment, as shown in Figs. 6 and 7A, three first semiconductor elements 10A are attached to the main surface 42sa.The three first semiconductor elements 10A are arranged in the central portion of the first conductive element 42A in the width direction X. The three first semiconductor elements 10A are aligned with each other in the width direction X and spaced apart in the longitudinal direction Y. As shown in Fig. 11A, the second conductive member 42B is located from the first conductive member 42A in the width direction X to the second resin side surface 52 of the resin member 50. The second conductive member 42B has a main surface 42sb and a back surface 42rb that face away from each other in the thickness direction Z. The main surface 42sb faces the same direction in the thickness direction Z as the substrate main surface 41sb of the second insulating substrate 41B. The back surface 42rb faces the same direction in the thickness direction Z as the substrate back surface 41rb of the second insulating substrate 41B. The back surface 42rb is bonded to the substrate main surface 41sb of the second insulating substrate 41B by a bonding material. In the present embodiment, as shown in Fig. 6 and Fig. 7A, three second semiconductor elements 10B are attached to the main surface 42sb.The three second semiconductor elements 10B are arranged in the central portion of the second conductive element 42B in the width direction X. The three second semiconductor elements 10B are arranged such that they are aligned with each other in the width direction X and spaced apart in the longitudinal direction Y. Viewed in the width direction X, the three second semiconductor elements 10B are arranged such that they do not overlap with the three first semiconductor elements 10A. The three second semiconductor elements 10B and the first semiconductor elements 10A are arranged alternately in the longitudinal direction Y. The first semiconductor elements 10A have the same configuration as the second semiconductor elements 10B. The configuration of the first semiconductor element 10A will now be described. The same reference numerals are given to the elements of the second semiconductor element 10B that are the same as the corresponding elements of the first semiconductor element 10A. Such elements will not be described in detail. The first semiconductor element 10A has a plate shape. As shown in Fig. 7A, the first semiconductor element 10A has a square shape in a plan view. The semiconductor elements 10A and 10B can have any shape in a plan view. For example, in a plan view, the shape of each of the semiconductor elements 10A and 10B can be rectangular such that one of the width direction X and the length direction Y is the long side direction, and the other of the width direction X and the length direction Y is the short side direction. As shown in Fig. 11B, the first semiconductor element 10A has an element main surface 10s and an element back surface 10r that face away from each other in the thickness direction Z. As shown in Figs. 7B and 11B, the source electrode 12 and the gate electrode 13 are disposed on the element main surface 10s, and the drain electrode 11 is disposed on the element back surface 10r. A gate voltage for driving the first semiconductor element 10A is applied to the gate electrode 13. In the first semiconductor elements 10A, when the gate voltage is greater than or equal to a preset threshold, a drain current flows to the drain electrode 11 and a source current flows to the source electrode 12. As shown in Fig. 7B, in a plan view, the area where the source electrode 12 is formed is larger than the area where the gate electrode 13 is formed. The source electrode 12 is formed over a majority of the element main surface 10s. The gate electrode 13 is arranged in a recess 12a formed in the source electrode 12. As shown in Fig. 11B, the drain electrode 11 is formed over the entire element back surface 10r. As shown in Fig. 7B, a thin insulating layer 16 is deposited on the source electrode 12 and the gate electrode 13. The thin insulating layer 16 is electrically insulating. In a plan view, the thin insulating layer 16 surrounds the source electrode 12 and the gate electrode 13. The thin insulating layer 16 is formed, for example, by a silicon dioxide (SiO2) layer, a silicon nitride (SiN4) layer, and a polybenzoxazole layer stacked in this order from the element main surface 10s. In the thin insulating layer 16, the polybenzoxazole layer may be replaced by a polyimide layer. As shown in Fig. 1 to Fig. 4 , Fig. 6 , Fig. 7A , Fig. 8 and Fig. 10, the semiconductor device 1A has the lines 80 forming the terminals 20 of Fig. 5. The lines 80 are electrically connected to the semiconductor elements 10A and 10B, the high-voltage diodes 30A, 30B, 31A and 31B, the low-voltage diodes 32A, 32B, 34A and 34B and the capacitors 33A, 33B, 35A and 35B. The lines 80 include the first input line 81, the second input line 82, the output line 83, first control lines 84A and 85A, second control lines 84B and 85B, first control power lines 86A and 86B, second control power lines 86C and 86D, a first short-circuit detection line 87A and a second short-circuit detection line 87B. The first power terminal 21A is formed by the first input line 81, and the second power terminal 21B is formed by the second input line 82. The output terminal 22 is formed by the output line 83. The first control terminal 23A is formed by the first control line 84A, and the second control terminal 23B is formed by the second control line 84B. The first source terminal 24A is formed by the first control line 85A, and the second source terminal 24B is formed by the second control line 85B. The first control power terminal 25A is formed by the first control power line 86A, the first control power terminal 25B is formed by the first control power line 86B, the second control power terminal 25C is formed by the second control power line 86C, and the second control power terminal 25D is formed by the second control power line 86D.The first short-circuit detection terminal 26A is formed by the first short-circuit detection line 87A and the second short-circuit detection terminal 26B is formed by the second short-circuit detection line 87B. The first semiconductor elements 10A are electrically connected to the first input line 81, the output line 83, the first control lines 84A and 85A, the first control power line 86A, the first control power line 86B, and the first short-circuit detection line 87A. The second semiconductor elements 10B are electrically connected to the second input line 82, the output line 83, the second control lines 84B and 85B, the second control power line 86C, the second control power line 86D, and the second short-circuit detection line 87B. The input lines 81 and 82 are supported by the first conductive element 42A, and the output line 83 is supported by the second conductive element 42B. In contrast, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are arranged outside the conductive elements 42A and 42B and are thus not supported by the conductive elements 42A and 42B. As shown in Fig. 1 to Fig. 4, the input lines 81 and 82 protrude from the first resin side surface 51 of the resin member 50. The output line 83 protrudes from the second resin side surface 52 of the resin member 50. The input lines 81 and 82 are each formed by a metal plate. The material of the metal plate is, for example, copper (Cu) or a Cu alloy. In the present embodiment, the input lines 81 and 82 have a thickness (an extension in the thickness direction Z) of 0.8 mm. There is no limitation on the thickness. The input lines 81 and 82 are each arranged near the first resin side surface 51 of the resin member 50. For example, a power supply voltage is applied to the input lines 81 and 82. In the present embodiment, a first power supply voltage is applied to the first input line 81, and a second power supply voltage lower than the first power supply voltage is applied to the second input line 82. The first input line 81 and the second input line 82 are arranged to overlap each other in the thickness direction Z.Furthermore, the first input line 81 and the second input line 82 are spaced apart in the thickness direction Z. The output line 83 is a metal plate. The material of the metal plate is, for example, Cu or a Cu alloy. The output line 83 is arranged near the second resin side surface 52 of the resin element 50. The semiconductor elements 10A and 10B convert power into AC power (AC voltage) output from the output line 83. In the present embodiment, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A, 86B, 86C, and 86D, and the short-circuit detection lines 87A and 87B each protrude from the third resin side surface 53 of the resin member 50. The control lines 84A, 84B, 85A, and 85B, the control power lines 86A, 86B, 86C, and 86D, and the short-circuit detection lines 87A and 87B may each protrude from any position on a resin side surface of the resin member 50. For example, among the control lines 84A, 84B, 85A and 85B, the control power lines 86A, 86B, 86C and 86D, and the short-circuit detection lines 87A and 87B, some may protrude from the third resin side surface 53 of the resin member 50, while the others may protrude from the fourth resin side surface 54. The control lines 84A, 84B, 85A and 85B, the control power lines 86A, 86B, 86C and 86D and the short circuit detection lines 87A and 87B are arranged in the width direction X. In more detail, the first control lines 84A and 85A, the first control power lines 86A and 86B, and the first short-circuit detection line 87A are located in the longitudinal direction Y adjacent to the first conductive element 42A of the carrier substrate 40. The second control lines 84B and 85B, the second control power lines 86C and 86D, and the second short-circuit detection line 87B are located in the longitudinal direction Y adjacent to the second conductive element 42B of the carrier substrate 40. A first conductor group including the first control lines 84A and 85A, the first control power lines 86A and 86B, and the first short-circuit detection line 87A, and a second conductor group including the second control lines 84B and 85B,the second control power lines 86C and 86D and the second short-circuit detection line 87B are spaced apart in the width direction X by a distance that is greater than the distance in the width direction X between adjacent lines in the first conductor group of the first control lines 84A and 85A, the first control power lines 86A and 86B, and the first short-circuit detection line 87A and the distance in the width direction X between adjacent lines in the second conductor group of the second control lines 84B and 85B, the second control power lines 86C and 86D, and the second short-circuit detection line 87B. Furthermore, in the present embodiment, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A, 86B, 86C, and 86D, and the short-circuit detection lines 87A and 87B are formed from the same lead frame. The material forming the lead frameis copper (Cu) or aluminum (Al). In the present embodiment, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A, 86B, 86C, and 86D, and the short-circuit detection lines 87A and 87B have the same shape. In a plan view of the first conductor group, the first control power line 86A, the first control line 85A, the first control power line 86B, the first control line 84A, and the first short-circuit detection line 87A are arranged sequentially from the input lines 81 and 82 to the output line 83 in the width direction X. In a plan view of the second conductor group, the second short-circuit detection line 87B, the second control line 84B, the second control power line 86C, the second control line 85B, and the second control power line 86C are arranged sequentially from the input lines 81 and 82 to the output line 83 in the width direction X. Now, the lines in the first conductor group and the second conductor group will be described. A gate voltage is applied to the first control line 84A to drive the first semiconductor elements 10A. A gate voltage is applied to the second control line 84B to drive the second semiconductor elements 10B. The first control line 85A is electrically connected to the source electrodes 12 of the first semiconductor elements 10A. The first control line 85A is used to detect a voltage at the source electrodes 12 of the first semiconductor elements 10A. The second control line 85B is electrically connected to the source electrodes 12 of the second semiconductor elements 10B. The second control line 85B is used to detect a voltage at the source electrodes 12 of the second semiconductor elements 10B. A first control voltage VA1 of a first control power supply (not shown) is applied to the first control power line 86A.A first control voltage VB1, which is lower than the first control voltage VA1, is applied to the first control power line 86B. A second control voltage VA2 from a second control power supply (not shown) is applied to the second control power line 86C. A second control voltage VB2, which is lower than the second control voltage VA2, is applied to the second control power line 86D. The first control power supply is isolated from the second control power supply. The first short-circuit detection line 87A is electrically connected to the drain electrodes 11 of the first semiconductor elements 10A. The first short-circuit detection line 87A is used to detect an unsaturated state of the drain electrodes 11 of the first semiconductor elements 10A. The second short-circuit detection line 87B is electrically connected to the drain electrodes 11 of the second semiconductor elements 10B.The second short-circuit detection line 87B is used to detect an unsaturated state of the drain electrodes 11 of the second semiconductor elements 10B. The control lines 84A and 84B each have a contact portion 84p and a terminal portion 84t. In the present embodiment, each of the control lines 84A and 84B is a single component, with the contact portion 84p and the terminal portion 84t being integrally formed. The control lines 85A and 85B each have a contact portion 85p and a terminal portion 85t. In the present embodiment, each of the control lines 85A and 85B is a single component, with the contact portion 85p and the terminal portion 85t being integrally formed. The control power lines 86A to 86D each have a contact portion 86p and a terminal portion 86t. In the present embodiment, each of the control power lines 86A to 86D is a single component, with the contact portion 86p and the terminal portion 86t being integrally formed.The short-circuit detection lines 87A and 87B each have a contact portion 87p and a terminal portion 87t. In the present embodiment, each of the short-circuit detection lines 87A and 87B is a single component, with the contact portion 87p and the terminal portion 87t being integrally formed. The contact portions 84p, 85p, 86p, and 87p are covered by the resin member 50. Thus, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are each supported by the resin member 50. The surfaces of the contact portions 84p, 85p, 86p, and 87p may be coated, for example, by silver plating. The contact portions 84p, 85p, 86p, and 87p have through-holes 84h, 85h, 86h, and 87h, respectively. The through-holes 84h, 85h, 86h, and 87h extend through the contact portions 84p, 85p, 86p, and 87p in the thickness direction Z. Portions of the resin element 50 are contained in the through-holes 84h, 85h, 86h, and 87h. This holds the resin element 50, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B together. The terminal portions 84t, 85t, 86t, and 87t protrude from the third resin side surface 53 of the resin member 50. The terminal portion 84t of the first control line 84A forms the first control terminal 23A (see Fig. 5 ), and the terminal portion 84t of the second control line 84B forms the second control terminal 23B (see Fig. 5 ). The terminal portion 85t of the first control line 85A forms the first source terminal 24A (see Fig. 5 ), and the terminal portion 85t of the second control line 85B forms the second source terminal 24B (see Fig. 5 ). The connection section 86t of the first control power line 86A forms the first control power connection 25A (see Fig. 5 ), the connection section 86t of the first control power line 86B forms the first control power connection 25B (see Fig. 5 ), the connection section 86t of the second control power line 86C forms the second control power connection 25C (see Fig.5 ), and the terminal portion 86t of the second control power line 86D forms the second control power terminal 25D (see Fig. 5 ). The terminal portion 87t of the first short-circuit detection line 87A forms the first short-circuit detection terminal 26A (see Fig. 5 ), and the terminal portion 87t of the second short-circuit detection line 87B forms the second short-circuit detection terminal 26B (see Fig. 5 ). As shown in Fig. 6 and Fig. 11A, a conductive substrate 60, which is an example of a conductor, is attached to the main surface 42sa of the first conductive element 42A and the main surface 42sb of the second conductive element 42B. Specifically, the conductive substrate 60 is disposed over the first conductive element 42A and the second conductive element 42B and over the gap between the first conductive element 42A and the second conductive element 42B. The conductive substrate 60 electrically connects the semiconductor elements 10A and 10B to the leads 80. Thus, the conductive substrate 60 forms a wiring pattern between the semiconductor elements 10A and 10B and the leads 80. The conductive substrate 60 is a multilayer substrate. The conductive substrate 60 includes a substrate formed of a resin material that is electrically insulating and a metal foil applied to the substrate. The material that forms the substrate is, for example, a glass epoxy resin.The material forming the metal foil is, for example, a copper foil. The material forming the metal foil can be, for example, a silver paste (Ag paste). The material forming the substrate can be silicon (Si), aluminum oxide (Al2O3), AlN, prepreg, or the like. The conductive substrate 60 has a plurality of (three in the present embodiment) first substrate openings 61A that accommodate the first semiconductor elements 10A, a first substrate recess 61C, and a plurality of (three in the present embodiment) second substrate openings 61B that accommodate the second semiconductor elements 10B. The number of substrate openings 61A and 61B and the first substrate recess 61C corresponds to the number of semiconductor elements 10A and 10B. The substrate openings 61A and 61B extend through the conductive substrate 60 in the thickness direction Z. The first substrate recess 61C is arranged in the first substrate opening 61A that is closest to the fourth resin side surface 54 of the resin element 50 in the longitudinal direction Y. The first substrate recess 61C is recessed such that the side located toward the fourth resin side surface 54 is open.Each of the first substrate openings 61A and the second substrate openings 61B is a through-hole extending through the conductive substrate 60 in the thickness direction Z. The high-voltage diodes 30A, 30B, 31A, and 31B, the low-voltage diodes 32A, 32B, 34A, and 34B, and the capacitors 33A, 33B, 35A, and 35B are attached to the conductive substrate 60. The input lines 81 and 82 and the output line 83 are integrated with the conductive substrate 60. As shown in Fig. 11A, the first input line 81 is clamped between the first conductive element 42A and the conductive substrate 60. The second input line 82 is clamped in the conductive substrate 60. The output line 83 is clamped between the second conductive element 42B and the conductive substrate 60. Now, the conductive substrate 60, the input lines 81 and 82, and the output line 83 will be described in detail. As shown in Fig. 12, the conductive substrate 60 of the present embodiment is a multi-layer substrate including five layers, namely a first substrate layer 60A, a second substrate layer 60B, a third substrate layer 60C, a fourth substrate layer 60D or 60E, and a fifth substrate layer 60F or 60G, stacked in the thickness direction Z. The conductive substrate 60 is stacked on the conductive elements 42A and 42B in the order of the first substrate layer 60A, the second substrate layer 60B, the third substrate layer 60C, the fourth substrate layer 60D or 60E, and the fifth substrate layer 60F or 60G. The fourth substrate layer 60D and the fourth substrate layer 60E are spaced apart in the width direction X. The fifth substrate layer 60F and the fifth substrate layer 60G are spaced apart in the width direction X. The first input line 81 and the output line 83 are attached to the first substrate layer 60A. As shown in Fig. 11A, the first input lead 81 is connected to the main surface 42sa of the first conductive member 42A of the support substrate 40, for example, by a conductive bonding material such as solder or silver paste. As shown in Fig. 4, the first input lead 81 has a protrusion 81a protruding from the first substrate layer 60A in the width direction X. The shape of the protrusion 81a is rectangular in a plan view such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The protrusion 81a can be separated into a central portion 81b located in the resin member 50 and a terminal portion 81c protruding from the first resin side surface 51 of the resin member 50. The terminal portion 81c forms the first power terminal 21A (see Fig. 5). As shown in Fig. 11A, the output lead 83 is connected to the main surface 42sb of the second conductive member 42B of the support substrate 40, for example, by a conductive bonding material such as solder or silver paste. As shown in Fig. 4, the output lead 83 has a protrusion 83a protruding from the first substrate layer 60A in the width direction X. The shape of the protrusion 83a is rectangular in a plan view such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The protrusion 83a can be divided into a central portion 83b located in the resin member 50 and a terminal portion 83c protruding from the second resin side surface 52 of the resin member 50. The terminal portion 83c forms the output terminal 22 (see Fig. 5). As shown in Fig. 6 and Fig. 7A, the end of the output line 83 on the side in the width direction X opposite the protrusion 83a has a plurality of (three in the present embodiment) exposed portions 83d exposed from the conductive substrate 60. The exposed portions 83d are arranged to be aligned with each other in the width direction X and spaced apart in the length direction Y. In a plan view, the exposed portions 83d are located between the first conductive member 42A and the second conductive member 42B in the width direction X. In the thickness direction Z, the exposed portions 83d are arranged to partially overlap with the end of the second conductive member 42B located in the width direction X relative to the first conductive member 42A. Furthermore, the exposed portions 83d are spaced from the first conductive member 42A in the width direction X.The shape of all exposed sections 83d in a plan view is square. The exposed portions 83d may have any shape in a plan view. In one example, the shape of each exposed portion 83d in a plan view is rectangular, such that one of the width direction X and the length direction Y is the long side direction, and the other of the width direction X and the length direction Y is the short side direction. As shown in Fig. 12, the second substrate layer 60B electrically insulates the first input line 81 and the output line 83 from the third substrate layer 60C. In the thickness direction Z, the second substrate layer 60B covers the protrusion 81a of the first input line 81 and the portion of the first input line 81 attached to the first substrate layer 60A. Further, in the thickness direction Z, the second substrate layer 60B covers the portion of the output line 83 attached to the first substrate layer 60A. The second input lead 82 is attached to the third substrate layer 60C. The second input lead 82 is electrically insulated from the first input lead 81 by the second substrate layer 60B. The second input lead 82 has a protrusion 82a protruding from the third substrate layer 60C in the width direction X. The shape of the protrusion 82a is rectangular in plan view, such that the width direction X is the long side direction and the length direction Y is the short side direction. In the present embodiment, the shape of the protrusion 82a in plan view is identical to the shape of the protrusion 81a of the first input lead 81 in plan view. The protrusion 82a can be divided into a central portion 82b located in the resin member 50 and a terminal portion 82c protruding from the first resin side surface 51 of the resin member 50.The connection section 82c forms the second power connection 21B (see Fig. 5 ). As shown in Fig. 7A, the end of the second input line 82 on the side opposite the protrusion 82a in the width direction X has a plurality of (three in the present embodiment) exposed portions 82d exposed from the conductive substrate 60. In a plan view, the exposed portions 82d are located between the first conductive member 42A and the second conductive member 42B in the width direction X. In the thickness direction Z, the exposed portions 82d are arranged to partially overlap with the end of the second conductive member 42B located closer to the first conductive member 42A in the width direction X. Furthermore, the exposed portions 82d are spaced apart from the first conductive member 42A in the width direction X.The shape of all exposed portions 82d is rectangular in a plan view such that the width direction X is the long side direction and the length direction Y is the short side direction. The length of all exposed portions 82d in the width direction X is greater than the length of all exposed portions 83d of the output line 83 in the width direction X. The length of all exposed portions 82d in the length direction Y is shorter than the length of all exposed portions 83d in the length direction Y. The exposed portions 82d are arranged such that they are aligned with each other in the width direction X and spaced apart in the length direction Y. In the length direction Y, the exposed portions 82d overlap with the exposed portions 83d of the output line 83. The exposed portions 82d and the exposed portions 83d are arranged alternately in the length direction Y. As shown in Fig. 12, the fourth substrate layer 60D electrically insulates the second input line 82 from the fifth substrate layer 60F. The fourth substrate layer 60D is stacked on the portion of the third substrate layer 60C located near the first conductive element 42A. In other words, the fourth substrate layer 60D has a smaller dimension in the width direction X than the first to third substrate layers 60A to 60C and is not located near the second conductive element 42B. The fourth substrate layer 60E electrically insulates the portion of the third substrate layer 60C located near the second conductive element 42B (located near the output line 83) from the fifth substrate layer 60G. The fourth substrate layer 60E is aligned with the fourth substrate layer 60D in the thickness direction Z and spaced from the fourth substrate layer 60D in the width direction X. The fourth substrate layer 60E is stacked on the portion of the third substrate layer 60C located near the second conductive element 42B. In other words, the fourth substrate layer 60E has a smaller dimension in the width direction X than the first to third substrate layers 60A to 60C and is not located near the first conductive element 42A. As shown in Fig. 7A, the fifth substrate layer 60F is the outer layer of the conductive substrate 60, to which the first high-voltage diodes 30A and 30B, the first low-voltage diodes 32A and 32B, and the first capacitors 33A and 33B are attached. The fifth substrate layer 60F is stacked on the fourth substrate layer 60D. Thus, the fifth substrate layer 60F has a smaller dimension in the width direction X than the first to third substrate layers 60A to 60C and is not disposed near the second conductive element 42B. The fifth substrate layer 60F forms the first short-circuit detection circuit 3A and the first overvoltage reduction circuit 4A shown in Fig. 5. The fifth substrate layer 60F is the outer layer of the conductive substrate 60 and includes a first drive wire 62A, first control wires 63A and 64A, first control power wires 65A and 66A, and a first wire piece 67A. In a plan view, the conductive substrate 60 (the fifth substrate layer 60F) has a first wiring region 70A extending in the width direction X from the first semiconductor elements 10A to the third resin side surface 53 of the resin member 50. The first wiring region 70A is a mounting region in the conductive substrate 60 (in the fifth substrate layer 60F) for mounting components other than the first semiconductor elements 10A. The first drive wire 62A and the first control wires 63A and 64A each extend from a region other than the first wiring region 70A of the fifth substrate layer 60F to the first wiring region 70A. The first control power wires 65A and 66A and the first wire piece 67A are arranged in the first wiring region 70A. The first high-voltage diodes 30A and 30B, the first low-voltage diodes 32A and 32B, and the first capacitors 33A and 33B are mounted in the first wiring region 70A. Thus, the first short-circuit detection circuit 3A and the first overvoltage reduction circuit 4A are formed in the first wiring region 70A. That is, a wiring region is formed in the fifth substrate layer 60F on one side of the first semiconductor elements 10A in the longitudinal direction Y (in the present embodiment, from the first semiconductor elements 10A to the third resin side surface 53 of the resin member 50). The first drive wire 62A is electrically connected to the drain electrode 11 of each first semiconductor element 10A (see Fig. 11B). Furthermore, the first drive wire 62A is electrically connected to the first short-circuit detection line 87A via the first high-voltage diodes 30A and 30B. Thus, a short-circuit of the first semiconductor elements 10A is detected by the first drive wire 62A. In this way, the first drive wire 62A electrically connects the drain electrode 11 of each first semiconductor element 10A to the first short-circuit detection line 87A. As shown in Fig. 7A and Fig. 8, the first drive wire 62A includes a first wire portion 62pa extending in the longitudinal direction Y, a plurality (in the present embodiment, two) second wire portions 62pb extending in the width direction X from the first wire portion 62pa, a third wire portion 62pc connecting the first high-voltage diodes 30A and 30B, and a fourth wire portion 62pd connecting the first high-voltage diode 30B and the first short-circuit detection line 87A. The first wire portion 62pa is positioned relative to the second conductive element 42B of the first semiconductor elements 10A in the width direction X. The first wire portion 62pa is disposed in the fifth substrate layer 60F at the end that is positioned relative to the second conductive element 42B (see Fig. 7A) in the width direction X. The first wire portion 62pa extends overlapping the first semiconductor elements 10A in the width direction X. The second wire portions 62pb are positioned between adjacent ones of the first semiconductor elements 10A in the longitudinal direction Y. As shown in Fig. 8, the first wire portion 62pa has one end 62px located in the longitudinal direction Y toward the third resin side surface 53 of the resin member 50 located and arranged in the first wiring region 70A. The width of the end 62px in the width direction X is smaller than the width of the part of the first wire portion 62pa other than the end 62px in the width direction X. The third wire portion 62pc is aligned with the end 62px in the longitudinal direction Y and spaced from the end 62px in the width direction X. In the present embodiment, the length of the third wire portion 62pc in the longitudinal direction Y is equal to the length of the end 62px in the longitudinal direction Y. Furthermore, the width of the third wire portion 62pc in the width direction X is larger than the width of the end 62px in the width direction X. The fourth wire section 62pd has a first part 62py located on the side of the third wire section 62pc in the width direction X opposite the end 62px, and a second part 62pz extending from the first part 62py to the first short-circuit detection line 87A. The first part 62py extends in the longitudinal direction Y. The width of the first part 62py in the width direction X is greater than the width of the end 62px in the width direction X. In the present embodiment, the width of the first part 62py in the width direction X is equal to the width of the third wire portion 62pc in the width direction X. The second part 62pz is L-shaped in a plan view. Specifically, the second part 62pz extends from the end of the first part 62py, which is located toward the third resin side surface 53 in the longitudinal direction Y, to the second conductive member 42B in the width direction X, and extends from a position aligned with the first short-circuit detection line 87A in the width direction X to the first short-circuit detection line 87A in the longitudinal direction Y. The second part 62pz is located from the end 62px of the first wire portion 62pa in the width direction X to the first resin side surface 51 of the resin member 50. The end of the second part 62pz, which is located at the first short-circuit detection line 87A, is connected to the contact portion 87p of the first short-circuit detection line 87A by a first short-circuit detection connecting element 97A. The first short-circuit detection connecting element 97A is, for example, a wire formed by wire bonding. The first high-voltage diodes 30A and 30B are attached to the first drive wire 62A. In more detail, the first high-voltage diode 30A is connected to the end 62px of the first wire portion 62pa and the third wire portion 62pc. Specifically, the cathode electrode of the first high-voltage diode 30A is connected to the end 62px, and the anode electrode of the first high-voltage diode 30A is connected to the third wire portion 62pc. Furthermore, the first high-voltage diode 30B is connected to the third wire portion 62pc and the first part 62py of the fourth wire portion 62pd. Specifically, the cathode electrode of the first high-voltage diode 30B is connected to the third wire portion 62pc, and the anode electrode of the first high-voltage diode 30B is connected to the first part 62py. In this way, the first wire portion 62pa, the third wire portion 62pc, and the fourth wire portion 62pd connect the first high-voltage diode 30A and the first high-voltage diode 30B in series. In the present embodiment, the first high-voltage diode 30A is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. Further, the first high-voltage diode 30B is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. In addition, the first high-voltage diode 30A and the first high-voltage diode 30B are aligned with each other in the longitudinal direction Y and spaced apart in the width direction X. As shown in FIGS. 7A and 7B, the first control wire 63A is a wire portion that electrically connects the gate electrode 13 of each first semiconductor element 10A to the first control line 84A. As shown in FIG. 7B, the gate electrode 13 of each first semiconductor element 10A is connected to the first control wire 63A through a first control connection member 92A. The first control connection member 92A is, for example, a wire formed by wire bonding. As shown in Fig. 8, the first control wire 63A has a first wire portion 63pa extending in the longitudinal direction Y, a second wire portion 63pb extending obliquely from the first wire portion 63pa to the second conductive member 42B with respect to the longitudinal direction Y (see Fig. 7A), and a third wire portion 63pc extending from the second wire portion 63pb to the first control line 84A. As shown in Fig. 7A, the first wire portion 63pa is arranged adjacent to the first semiconductor elements 10A in the width direction X and to the first resin side surface 51 of the first semiconductor elements 10A. The first wire portion 63pa extends in an overlapping manner with the first semiconductor elements 10A in the width direction X and further extends to the third resin side surface 53 of the first semiconductor elements 10A in the longitudinal direction Y. As shown in Fig. 8, the end of the first wire portion 63pa on the third resin side surface 53 side in the longitudinal direction Y is arranged in an overlapping manner with the third wire portion 62pc and the first part 62py of the fourth wire portion 62pd in the width direction X. The second wire portion 63pb and the third wire portion 63pc are each arranged in the first wiring region 70A. That is, in a plan view, the second wire portion 63pb and the third wire portion 63pc are each located in the longitudinal direction Y between the first semiconductor elements 10A and the first control line 84A. The second wire section 63pb is arranged overlapping the first part 62py and the second part 62pz of the fourth wire section 62pd, as seen in the width direction X. The third wire portion 63pc is arranged from the first part 62py of the fourth wire portion 62pd of the first drive wire 62A to the third resin side surface 53. The third wire portion 63pc is L-shaped in plan view. The third wire portion 63pc has a first part 63px extending in the width direction X from the second wire portion 62pb to the second conductive element 42B, and a second part 63py extending in the longitudinal direction Y from the end of the first part 63px located on the second conductive element 42B side in the width direction X to the first control line 84A. The width of the third wire portion 63pc (the plan view extension in a direction perpendicular to the extension direction of the third wire portion 63pc) is greater than the width of the first wire portion 63pa in the width direction X.The end of the third wire portion 63pc on the first control line 84A side is connected to the contact portion 84p of the first control line 84A by a first control line connecting member 94A. The first control line connecting member 94A is, for example, a wire formed by wire bonding. As shown in Fig. 7A, the first control wire 64A is a wire portion that electrically connects the source electrode 12 of each first semiconductor element 10A to the first control line 85A. The first control wire 64A is a wire portion that extends the source electrode 12 of each first semiconductor element 10A to the outside and supplies a gate voltage between the gate electrode 13 and the source electrode 12 of each first semiconductor element 10A. The source electrode 12 of each first semiconductor element 10A is connected to the first control wire 64A through a first control connection element 93A. The first control connection element 93A is, for example, a wire formed by wire bonding. As shown in Fig.8, the first control wire 64A includes a first wire portion 64pa extending in the longitudinal direction Y, a second wire portion 64pb extending obliquely from the first wire portion 64pa to the second conductive member 42B with respect to the longitudinal direction Y, and a third wire portion 64pc extending from the second wire portion 64pb to the first control line 85A. The first wire portion 64pa is located on the first control wire 63A side opposite the first semiconductor elements 10A in the width direction X. The first wire portion 64pa is formed in the fifth substrate layer 60F at the end located toward the first resin side surface 51 in the width direction X. In the present embodiment, the length of the first wire portion 64pa in the longitudinal direction Y is equal to the length of the first wire portion 63pa of the first control wire 63A in the longitudinal direction Y (see Fig. 7A). The second wire portion 64pb is parallel to the second wire portion 63pb of the first control wire 63A. The second wire portion 64pb is arranged to overlap the second wire portion 63pb in the width direction X. Further, the second wire portion 64pb is arranged to overlap the second wire portion 63pb in the longitudinal direction Y.The third wire portion 64pc is located in the width direction X from the first control line 85A to the first resin side surface 51. The third wire portion 64pc has a first part 64px extending from the second wire portion 63pb in the longitudinal direction Y, and a second part 64py. The second part 64py is located in the longitudinal direction Y from the first part 64px to the third resin side surface 53. The width of the second portion 64py in the width direction X is greater than the width of the first portion 64px in the width direction X. The second part 64py and the contact portion 85p of the first control line 85A are connected by a first control line connecting member 95A. The first control line connecting member 95A is, for example, a wire formed by wire bonding. The first control power wire 65A is located between the first control wire 63A and the first control wire 64A in the width direction X. Specifically, the first control power wire 65A is located between the second part 63py of the third wire portion 63pc of the first control wire 63A and the second part 64py of the third wire portion 64pc of the first control wire 64A in the width direction X. The first control power wire 65A is arranged in the fifth substrate layer 60F at the end facing the third resin side surface 53 in the longitudinal direction Y. The first control power wire 65A extends in the longitudinal direction Y. The width of the first control power wire 65A in the width direction X is larger than the width of the second part 62pz of the fourth wire portion 62pd of the first drive wire 62A (the plan view extension in a direction perpendicular to the extension direction of the second part 62pz).In the present embodiment, the width of the first control power wire 65A in the width direction X is equal to the width of the third wire portion 63pc of the first control wire 63A (the plan view extension in a direction perpendicular to the extension direction of the third wire portion 63pc). The first control power wire 65A and the contact portion 86p of the first control power line 86A are connected by a first control power connection member 96A. The first control power connection member 96A is, for example, a wire formed by wire bonding. The first control power wire 66A includes a first wire portion 66pa extending in the longitudinal direction Y, a second wire portion 66pb spaced apart from the first wire portion 66pa and extending in the longitudinal direction Y, and a third wire portion 66pc connecting the first wire portion 66pa and the second wire portion 66pb. The first wire portion 66pa is disposed in the fifth substrate layer 60F at the end located toward the first resin side surface 51 in the width direction X and the end located toward the third resin side surface 53 in the longitudinal direction Y. The first wire portion 66pa is disposed from the first part 63px of the third wire portion 63pc of the first control wire 63A to the third resin side surface 53. The first wire portion 66pa is disposed overlapping the third wire portion 64pc of the first control wire 64A in the width direction X.The length of the first wire portion 66pa in the longitudinal direction Y is greater than the length of the second part 63py of the third wire portion 63pc in the longitudinal direction Y. The width of the first wire portion 66pa in the width direction X is smaller than the width of the first control power wire 65A in the width direction X. In the present embodiment, the width of the first wire portion 66pa in the width direction X is equal to the width of the second part 62pz of the fourth wire portion 62pd of the first drive wire 62A (the plan view extent in a direction perpendicular to the extension direction of the second part 62pz). The first wire portion 66pa and the first control power line 86B are connected by a first control power connecting member 96B. The first control power connecting member 96B is, for example, a wire formed by wire bonding. The second wire portion 66pb is located in the width direction X from the first wire portion 66pa to the second resin side surface 52. The second wire portion 66pb is located in the longitudinal direction Y from the first wire portion 66pa to the fourth resin side surface 54 (toward the first semiconductor elements 10A). The second wire portion 66pb is arranged so as to overlap the third wire portion 63pc of the first control wire 63A, the second part 64py of the first control wire 64A, and the first control power line 86B, as viewed in the longitudinal direction Y. The second wire portion 66pb is located in the width direction X between the first part 63px of the third wire portion 63pc of the first control wire 63A and the second wire portions 62pb of the first control wire 64A. The third wire portion 66pc is disposed in the third substrate layer 60C (see Fig. 6). Thus, the third wire portion 66pc is hidden in a plan view. The third wire portion 66pc is electrically connected to the first wire portion 66pa through a through electrode disposed in the first wire portion 66pa and to the second wire portion 66pb through a through electrode disposed in the second wire portion 66pb. The third wire portion 66pc is, for example, L-shaped in a plan view. The third wire portion 66pc does not need to be L-shaped in a plan view and may be shaped obliquely such that the third resin side surface 53 comes closer as the first resin side surface 51 comes closer. The first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B of the first overvoltage reducing circuit 4A are connected to the first control wires 63A and 64A and the first control power wires 65A and 66A. The first low-voltage diode 32A is connected to the first control wire 63A and the first control power wire 65A. Specifically, the anode electrode of the first low-voltage diode 32A is connected to the portion of the third wire section 63pc of the first control wire 63A that is located toward the first control line 84A. The cathode electrode of the first low-voltage diode 32A is connected to the first control power wire 65A. The first low-voltage diode 32B is connected to the first control wire 63A and the first control power wire 66A. Specifically, the cathode electrode of the first low-voltage diode 32B is connected to the end of the third wire portion 63pc of the first control wire 63A on the second wire portion 63pb side. The anode electrode of the first low-voltage diode 32B is connected to the second wire portion 66pb of the first control power wire 66A. In this way, the first low-voltage diodes 32A and 32B are connected in series through the first control wire 63A between the first control power wire 66A and the first control power wire 65A. In the present embodiment, the first low-voltage diode 32A is positioned such that its anode electrode and cathode electrode are arranged in the width direction X. Further, the first low-voltage diode 32B is positioned such that its anode electrode and cathode electrode are arranged in the width direction X. In addition, the first low-voltage diode 32A and the first low-voltage diode 32B are arranged at different positions in the longitudinal direction Y. The first low-voltage diode 32A is located in the longitudinal direction Y from the first low-voltage diode 32B to the third resin side surface 53. The first low-voltage diode 32B is located in the width direction X from the first low-voltage diode 32A to the first resin side surface 51. The first capacitor 33A is connected to the first control power wire 65A and the first control wire 64A. Specifically, the first terminal of the first capacitor 33A is connected to the first control power wire 65A. The second terminal of the first capacitor 33A is connected to the second portion 64py of the first control wire 64A. The first capacitor 33B is connected to the first control power wire 66A and the first control wire 64A. Specifically, the first terminal of the first capacitor 33B is connected to the first wire portion 66pa of the first control power wire 66A. The second terminal of the first capacitor 33B is connected to the second portion 64py of the first control wire 64A. In this way, the first capacitors 33A and 33B are connected in series through the first control wire 64A between the first control power wire 65A and the first control power wire 66A. In the present embodiment, the first capacitor 33A is positioned such that its first terminal and its second terminal are arranged in the width direction X. Further, the first capacitor 33B is positioned such that its first terminal and its second terminal are arranged in the width direction X. In addition, the first capacitor 33A and the first capacitor 33B overlap with each other in the longitudinal direction Y and are spaced apart in the width direction X. The capacitors 33A and 33B overlap with the first low-voltage diode 32A in the width direction X. The first capacitor 33A overlaps with the first low-voltage diode 32B in the longitudinal direction Y. The first capacitor 33B is located in the width direction X from the first low-voltage diode 32B to the first resin side surface 51. The first wire piece 67A is arranged in the width direction X between the first part 62py of the fourth wire section 62pd of the first drive wire 62A and the end of the first wire section 63pa of the first control wire 63A, which is located in the longitudinal direction Y toward the third resin side surface 53. Thus, the first wire piece 67A is arranged in the first wiring area 70A. The first wire piece 67A is L-shaped in a plan view. As shown in Fig. 6 and Fig. 7A, the second high-voltage diodes 31A and 31B, the second low-voltage diodes 34A and 34B, and the second capacitors 35A and 35B are attached to the fifth substrate layer 60G. The fifth substrate layer 60G is stacked on the fourth substrate layer 60E. Thus, the fifth substrate layer 60G has a smaller dimension in the width direction X than the first to third substrate layers 60A to 60C and is not arranged on the first conductive member 42A in the width direction X. The fifth substrate layer 60G forms the second short-circuit detection circuit 3B and the second overvoltage reduction circuit 4B shown in Fig. 5. The fifth substrate layer 60G includes a second drive wire 62B, second control wires 63B and 64B, a second control power wire 65B, a second control power wire 66B, and a second wire piece 67B. In a plan view, the conductive substrate 60 (the fifth substrate layer 60G) includes a second wiring region 70B extending in the width direction X from the second semiconductor elements 10B to the third resin side surface 53 of the resin member 50, and a third wiring region 70C extending in the width direction X from the second semiconductor elements 10B to the fourth resin side surface 54 of the resin member 50. That is, wiring regions are formed in the fifth substrate layer 60G on opposite sides of the second semiconductor elements 10B in the longitudinal direction Y.The second wiring region 70B and the third wiring region 70C are mounting regions in the conductive substrate 60 (in the fifth substrate layer 60G) for mounting components other than the second semiconductor elements 10B. The second drive wire 62B and the second control wires 63B and 64B each extend from a region other than the second wiring region 70B of the fifth substrate layer 60G to the second wiring region 70B. The second control power wire 65B, the second control power wire 66B, and the second wire piece 67B are arranged in the second wiring region 70B. The second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B are mounted in the second wiring region 70B. Thus, the second overvoltage reduction circuit 4B is formed in the second wiring region 70B. The second drive wire 62B extends from a region other than the third wiring region 70C of the fifth substrate layer 60G to the third wiring region 70C. The second high-voltage diodes 31A and 31B are mounted in the third wiring region 70C. Thus, the second short-circuit detection circuit 3B is formed in the third wiring region 70C. In this way, the fifth substrate layer 60G differs from the fifth substrate layer 60F in that the wiring region in which the second overvoltage reduction circuit 4B (see FIG. 5) is formed (the second wiring region 70B) is separated from the wiring region in which the second short-circuit detection circuit 3B (see FIG. 5) is formed (the third wiring region 70C). Further, in the present embodiment, the second wiring portion 70B and the third wiring portion 70C clamp the second semiconductor elements 10B in the longitudinal direction Y. The second drive wire 62B is electrically connected to the second short-circuit detection line 87B. Furthermore, the second drive wire 62B is electrically connected to the drain electrode 11 of each second semiconductor element 10B through the second high-voltage diodes 31A and 31B. Thus, short-circuiting of the second semiconductor elements 10B is detected by the second drive wire 62B. In this way, the second drive wire 62B electrically connects the drain electrode 11 of each second semiconductor element 10B to the second short-circuit detection line 87B. As shown in Fig. 7A and Fig. 9, the second drive wire 62B includes a first wire portion 62qa extending in the longitudinal direction Y, a plurality (in the present embodiment, two) of the second wire portions 62qb extending in the width direction X from the first wire portion 62qa, a third wire portion 62qc connecting the second high-voltage diodes 31A and 31B, and a fourth wire portion 62qd electrically connecting the second high-voltage diode 31B and the drain electrode 11 of each second semiconductor element 10B. The first wire portion 62qa is positioned in the width direction X toward the first conductive element 42A of the second semiconductor elements 10B. The first wire portion 62qa is disposed in the fifth substrate layer 60F at the end positioned in the width direction X toward the first conductive element 42A. The first wire portion 62qa extends, overlapping the second semiconductor elements 10B in the width direction X. The second wire portions 62qb are positioned in the longitudinal direction Y between adjacent ones of the second semiconductor elements 10B. As shown in Fig. 10, the first wire portion 62qa has a first end 62qx positioned in the longitudinal direction Y toward the third resin side surface 53 and extending to the second wiring region 70B. The first end 62qx and the contact portion 87p of the second short-circuit detection line 87B are connected by a second short-circuit detection connecting element 97B.The second short-circuit detection connecting element 97B is, for example, a wire formed by wire bonding. As shown in Fig. 9, the first wire portion 62qa has a second end 62qy located in the longitudinal direction Y toward the fourth resin side surface 54 and extending toward the third wiring region 70C. The width of the second end 62qy in the width direction X is smaller than the width of the portion of the first wire portion 62qa other than the second end 62qy in the width direction X. The third wire portion 62qc is aligned with the second end 62qy in the longitudinal direction Y and spaced apart from the second end 62qy in the width direction X. Thus, the third wire portion 62qc is disposed in the third wiring region 70C. In the present embodiment, the length of the third wire portion 62qc in the longitudinal direction Y is equal to the length of the second end 62qy in the longitudinal direction Y. Further, the width of the third wire portion 62qc in the width direction X is greater than the width of the second end 62qy in the width direction X. The fourth wire portion 62qd and the second end 62qy are spaced apart and located on opposite sides of the third wire portion 62qc in the width direction X. Thus, the fourth wire portion 62qd is arranged in the third wiring region 70C. The third wire portion 62qc and the fourth wire portion 62qd are arranged to overlap the second semiconductor elements 10B in the longitudinal direction Y. Further, the third wire portion 62qc and the fourth wire portion 62qd are each arranged from the one of the second semiconductor elements 10B that is closest to the fourth resin side surface 54 in the longitudinal direction Y and adjacent to the second semiconductor elements 10B in the longitudinal direction Y to the fourth resin side surface 54. The second high-voltage diodes 31A and 31B are attached to the second drive wire 62B. In more detail, the second high-voltage diode 31A is connected to the second end 62qy and the third wire portion 62qc. Specifically, the anode electrode of the second high-voltage diode 31A is connected to the second end 62qy, and the cathode electrode of the second high-voltage diode 31A is connected to the third wire portion 62qc. The second high-voltage diode 31B is connected to the third wire portion 62qc and the fourth wire portion 62qd. Specifically, the anode electrode of the second high-voltage diode 31B is connected to the third wire portion 62qc, and the cathode electrode of the second high-voltage diode 31B is connected to the fourth wire portion 62qd. In this way, the first wire portion 62qa, the third wire portion 62qc, and the fourth wire portion 62qd connect the second high-voltage diode 31A and the second high-voltage diode 31B in series. In the present embodiment, the second high-voltage diode 31A is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. Further, the second high-voltage diode 31B is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. In addition, the second high-voltage diode 31A and the second high-voltage diode 31B are arranged such that they are aligned with each other in the longitudinal direction Y and spaced apart in the width direction X. As shown in Fig. 7A and Fig. 10, the second control wire 63B is a wire portion that electrically connects the gate electrode 13 of each second semiconductor element 10B to the second control line 84B. The gate electrode 13 of each second semiconductor element 10B is connected to the second control wire 63B through a second control connection member 92B. The second control connection member 92B is, for example, a wire formed by wire bonding. The second control wire 63B has a first wire portion 63qa extending in the longitudinal direction Y, a second wire portion 63qb extending obliquely from the first wire portion 63qa with respect to the longitudinal direction Y such that the third resin side surface 53 approaches as the first conductive member 42A approaches, and a third wire portion 63qc extending from the second wire portion 63qb to the second control line 84B. The first wire portion 63qa is arranged adjacent to the second semiconductor elements 10B and in the width direction X to the second resin side surface 52 of the second semiconductor elements 10B. The first wire portion 63qa extends overlapping the second semiconductor elements 10B in the width direction X. In the present embodiment, the first wire portion 63qa is not arranged in the second wiring region 70B. The second wire portion 63qb and the third wire portion 63qc are each arranged in the second wiring region 70B. That is, in a plan view, the second wire portion 63qb and the third wire portion 63qc are each located in the longitudinal direction Y between the second semiconductor elements 10B and the second control line 84B. The second wire portion 63qb is disposed adjacent to the one of the second semiconductor elements 10B that is closest to the third resin side surface 53 in the longitudinal direction Y. The third wire portion 63qc is L-shaped in plan view. The third wire portion 63qc includes a first portion 63qx extending in the width direction X from the second wire portion 62qb to the first conductive element 42A, and a second portion 63qy extending in the longitudinal direction Y from a position overlapping the second control line 84B, as viewed in the longitudinal direction Y, to the second control line 84B. The width of the third wire portion 63qc of the first portion 63qx in the longitudinal direction Y is larger than the width of the portion of the second control wire 63B other than the first portion 63qx (the plan view extent in a direction perpendicular to the extension direction of the second control wire 63B). The end of the second part 63qy on the side of the third resin side surface 53 in the longitudinal direction Y is connected to the second control line 84B by a second control line connecting member 94B. The second control line connecting member 94B is, for example,a wire formed by wire bonding. The second control wire 64B is a wire portion that connects the source electrode 12 of each second semiconductor element 10B to the second control line 85B. In the present embodiment, the second control wire 64B is a wire portion that extends from the source electrode 12 of each second semiconductor element 10B to the outside and supplies the gate voltage between the source electrode 12 and the gate electrode 13 of each second semiconductor element 10B. The source electrode 12 of each second semiconductor element 10B is connected to the second control wire 64B through a second control connection member 93B. The second control connection member 93B is, for example, a wire formed by wire bonding.The second control wire 64B has a first wire portion 64qa extending in the longitudinal direction Y, a second wire portion 64qb extending obliquely from the first wire portion 64qa to the first conductive element 42A with respect to the longitudinal direction Y, and a third wire portion 64qc extending from the second wire portion 64qb to the second control line 85B. The first wire portion 64qa is located on the side of the second control wire 63B opposite the second semiconductor elements 10B in the width direction X. The first wire portion 64qa is formed in the fifth substrate layer 60G at the end located toward the second resin side surface 52 in the width direction X. In the present embodiment, the length of the first wire portion 64qa in the longitudinal direction Y is equal to the length of the first wire portion 63qa of the second control wire 63B in the longitudinal direction Y. The second wire portion 64qb is parallel to the second wire portion 63qb of the second control wire 63B. The second wire portion 64qb is arranged to overlap the second wire portion 63qb in the width direction X. Furthermore, the second wire portion 64qb is arranged to overlap the second wire portion 63qb in the longitudinal direction Y. The third wire portion 64qc is located in the width direction X from the second control line 85B to the second resin side surface 52. The third wire portion 64qc extends in the longitudinal direction Y. The width of the third wire portion 64qc in the width direction X is larger than the width of the part of the second control wire 64B other than the third wire portion 64qc (the plan view extension in the direction perpendicular to the extension direction of the second control wire 64B). The end of the third wire portion 64qc on the third resin side surface 53 side in the longitudinal direction Y is connected to the contact portion 85p of the second control line 85B by a second control line connection member 95B. The second control line connection member 95B is, for example, a wire formed by wire bonding. The second control power wire 65B is located between the second control wire 63B and the second control wire 64B in the width direction X. Specifically, the second control power wire 65B is located between the second part 63qy of the third wire portion 63qc of the second control wire 63B and the third wire portion 64qc of the second control wire 64B in the width direction X. The second control power wire 65B is arranged in the fifth substrate layer 60G at the end located toward the third resin side surface 53 in the longitudinal direction Y. The second control power wire 65B is arranged from the first part 63qx of the third wire portion 63qc of the second control wire 63B to the third resin side surface 53. The second control power wire 65B extends in the longitudinal direction Y.The width of the second control power wire 65B in the width direction X is larger than the width of the second end 62qy in the third wire portion 62qc of the second control wire 63B in the width direction X. The second control power wire 65B and the contact portion 86p of the second control power line 86C are connected by a second control power connecting member 96C. The second control power connecting member 96C is, for example, a wire formed by wire bonding. The second control power wire 66B includes a first wire portion 66qa extending in the longitudinal direction Y, a second wire portion 66qb spaced apart from the first wire portion 66qa and extending in the longitudinal direction Y, and a third wire portion 66qc connecting the first wire portion 66qa and the second wire portion 66qb. The first wire portion 66qa is disposed in the fifth substrate layer 60G at the end located toward the second resin side surface 52 in the width direction X and the end located toward the third resin side surface 53 in the longitudinal direction Y. The first wire portion 66qa extends in the longitudinal direction Y. The first wire portion 66qa is arranged overlapping the third wire portion 64qc of the second control wire 64B in the width direction X. The length of the first wire section 66qa in the longitudinal direction Y is smaller than the length of the third wire section 63qc in the longitudinal direction Y.In the present embodiment, the width of the first wire portion 66qa in the width direction X is smaller than the widths of the second drive wire 62B, the second control wire 63B, the second control wire 64B, and the second control power wire 65B (the plan view extension in a direction perpendicular to the extension direction of each wire in a plan view). The second control power wire 66B and the second control power line 86D are connected by a second control power connection member 96D. The second control power connection member 96D is, for example, a wire formed by wire bonding. The second wire portion 66qb is located in the width direction X from the first wire portion 66qa to the first resin side surface 51 (to the first wire portion 62qa of a second control wire 62B). The second wire portion 66qb is located in the longitudinal direction Y from the first wire portion 66qa to the fourth resin side surface 54 (to the second semiconductor elements 10B). The second wire portion 66qb is arranged to overlap the first part 63qx of the third wire portion 63qc of the second control wire 63B, the second control power wire 65B, and the second control line 85B in the longitudinal direction Y. The second wire portion 66qb is located between the second part 63qy of the third wire portion 63qc of the second control wire 63B and the third wire portion 62qc of the second control wire 64B in the width direction X. The third wire portion 66qc is disposed in the third substrate layer 60C (see Fig. 6). Thus, the third wire portion 66qc is hidden in a plan view. The third wire portion 66qc is electrically connected to the first wire portion 66qa through a through electrode disposed in the first wire portion 66qa and to the second wire portion 66qb through a through electrode disposed in the second wire portion 66qb. The third wire portion 66qc is, for example, L-shaped in a plan view. The third wire portion 66qc does not need to be L-shaped in a plan view and may be shaped obliquely such that the second resin side surface 52 comes closer as the third resin side surface 53 comes closer. The second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B of the second overvoltage reducing circuit 4B are connected to the second control wires 63B and 64B, the second control power wire 65B and the second control power wire 66B. The second low-voltage diode 34A is connected to the second control wire 63B and the second control power wire 65B. Specifically, the anode electrode of the second low-voltage diode 34B is connected to the second part 63qy of the third wire portion 63qc of the second control wire 63B. The cathode electrode of the second low-voltage diode 34B is connected to the second control power wire 65B. The second low-voltage diode 34B is connected to the second control wire 63B and the second control power wire 66B. Specifically, the cathode electrode of the second low-voltage diode 34A is connected to the first part 63qx of the third wire portion 63qc of the second control wire 63B. The anode electrode of the second low-voltage diode 34A is connected to the second wire portion 64qb of the second control power wire 66B. In this way, the second low-voltage diodes 34B and 34B are connected in series by the second control wire 63B between the second control power wire 66B and the second control power wire 65B. In the present embodiment, the second low-voltage diode 34A is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. Further, the second low-voltage diode 34B is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. In addition, the second low-voltage diode 34A and the second low-voltage diode 34B are arranged at different positions in the longitudinal direction Y. The second low-voltage diode 34A and the second low-voltage diode 34B are arranged such that they overlap each other in the longitudinal direction Y. The second low-voltage diode 34A is located in the longitudinal direction Y from the second low-voltage diode 34B to the third resin side surface 53. The second capacitor 35A is connected to the second control power wire 65B and the second control wire 64B. Specifically, the first terminal of the second capacitor 35A is connected to the second control power wire 65B. The second terminal of the second capacitor 35A is connected to the third wire portion 63qc of the second control wire 64B. The second capacitor 35B is connected to the second control power wire 66B and the second control wire 64B. Specifically, the first terminal of the second capacitor 35B is connected to the first wire portion 66qa of the second control power wire 66B. The second terminal of the second capacitor 35B is connected to the third wire portion 64qc of the second control wire 64B. In this way, the second capacitors 35A and 35B are connected in series through the second control wire 64B between the second control power wire 65B and the second control power wire 66B. In the present embodiment, the second capacitor 35A is positioned such that its first terminal and its second terminal are arranged in the width direction X. Further, the second capacitor 35B is positioned such that its first terminal and its second terminal are arranged in the width direction X. In addition, the second capacitor 35A and the second capacitor 35B are arranged such that they are aligned with each other in the longitudinal direction Y and spaced apart in the width direction X. The capacitors 35A and 35B overlap with the second low-voltage diode 34A in the width direction X. The capacitors 35A and 35B are located in the width direction X to the second resin side surface 52 of the low-voltage diodes 34A and 34B. The control connection elements 92A, 92B, 93A, and 93B, the control line connection elements 94A, 94B, 95A, and 95B, the control power connection elements 96A to 96D, and the short-circuit detection connection elements 97A and 97B are each formed of gold (Au) or copper (Cu). Furthermore, the control connection elements 92A, 92B, 93A, and 93B, the control line connection elements 94A, 94B, 95A, and 95B, the control power connection elements 96A to 96D, and the short-circuit detection connection elements 97A and 97B have the same diameter. As shown in Fig. 7A, the second wire piece 67B is arranged in the fifth substrate layer 60G at the end located toward the output line 83 in the width direction X and at the end on the side opposite the third resin side surface 53 in the length direction Y. The second wire piece 67B is L-shaped in a plan view. As shown in Fig. 6 and Fig. 7A, the first semiconductor elements 10A accommodated in the first substrate openings 61A and the first substrate recess 61C of the conductive substrate 60 are electrically connected to the first conductive element 42A and the output line 83. The first conductive element 42A is electrically connected to the first input line 81. Thus, the first semiconductor elements 10A are also electrically connected to the first input line 81. Specifically, the drain electrode 11 of each first semiconductor element 10A is connected to the first conductive element 42A, for example, by a conductive bonding material such as solder or silver paste. The source electrode 12 of each first semiconductor element 10A is connected to a corresponding one of the exposed portions 83d of the output line 83 through a plurality (four in the present embodiment) first drive connection elements 91A. The first drive connection elements 91A are, for example, B.Wires formed by a wire connection. The first drive connection elements 91A extend over the first wire portion 62pa of the first drive wire 62A. The number of the first drive connection elements 91A is not limited to four and can be freely changed. The second semiconductor elements 10B accommodated in the second substrate opening 61B of the conductive substrate 60 are electrically connected to the second conductive element 42B and the second input line 82. The second conductive element 42B is electrically connected to the output line 83. Thus, the second semiconductor elements 10B are also electrically connected to the output line 83. Specifically, the drain electrode 11 of each second semiconductor element 10B is connected to the second conductive element 42B, for example, through a conductive bonding material such as solder or silver paste. The source electrode 12 of each second semiconductor element 10B is connected to a corresponding one of the exposed portions 82d of the second input line 82 through a plurality (four in the present embodiment) of the second drive connection elements 91B. The second drive connection elements 91B are, for example, wires formed by wire bonding.The second drive connection elements 91B extend over the first wire portion 62qa of the second drive wire 62B. The number of the second drive connection elements 91B is not limited to four and can be freely changed. The drive connection elements 91A and 91B are formed of copper (Cu) or aluminum (Al). In the present embodiment, the drive connection elements 91A and 91B are formed of the same material as the control connection elements 92A, 92B, 93A, and 93B, the control line connection elements 94A, 94B, 95A, and 95B, the control power connection elements 96A to 96D, and the short-circuit detection connection elements 97A and 97B. Furthermore, the drive connection elements 91A and 91B have the same diameter. In the present embodiment, the diameter of the drive connection elements 91A and 91B is equal to the diameter of all of the control connection elements 92A, 92B, 93A and 93B, the control line connection elements 94A, 94B, 95A and 95B, the control power connection elements 96A to 96D and the short-circuit detection connection elements 97A and 97B. As shown in Fig. 1 and Fig. 2, the resin member 50 has four resin openings exposing the conductive substrate 60 from the upper resin surface 55, namely, a first control-side opening 58A, a second control-side opening 58B, a first drive-side opening 59A, and a second drive-side opening 59B. As shown in Fig. 1 and Fig. 2, the first control-side opening 58A is separated from the first drive-side opening 59A. The second control-side opening 58B is separated from the second drive-side opening 59B. The first control-side opening 58A is located at a position overlapping the first semiconductor elements 10A in the longitudinal direction Y, and is spaced apart from the first semiconductor elements 10A toward the third resin side surface 53. The second control-side opening 58B is located at a position overlapping the second semiconductor elements 10B in the longitudinal direction Y, and is spaced apart from the second semiconductor elements 10B toward the third resin side surface 53. In this way, the first control-side opening 58A and the second control-side opening 58B are arranged along one side of the resin member 50 in a state of being spaced apart from each other in a plan view. That is, in a plan view, the first control-side opening 58A and the second control-side opening 58B are arranged so as to be aligned with each other in the longitudinal direction Y and spaced apart in the width direction X.In a plan view, the control side openings 58A and 58B are arranged in the upper resin surface 55 at the end located toward the third resin side surface 53. The first control side opening 58A is located from the second control side opening 58B toward the first resin side surface 51. In a plan view, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 84t of the first control line 84A. In the present embodiment, the first control side opening 58A is located in the longitudinal direction Y in a plan view between the first semiconductor elements 10A and the contact portion 84p of the first control line 84A. Furthermore, in a plan view, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 85t of the first control line 85A. In the present embodiment, the first control side opening 58A is located between the first semiconductor elements 10A and the contact portion 85p of the first control line 85A in the longitudinal direction Y. In a plan view, the second control side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the terminal portion 84t of the second control line 84B. In the present embodiment, the second control side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the contact portion 84p of the second control line 84B. Furthermore, in a plan view, the second control side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the terminal portion 85t of the second control line 85B. In the present embodiment, the second control side opening 58B is located in the longitudinal direction Y in a plan view between the second semiconductor elements 10B and the contact portion 85p of the second control line 85B. The first drive-side opening 59A is located at a position overlapping with the first semiconductor elements 10A in the longitudinal direction Y, and from the first semiconductor elements 10A to the third resin side surface 53. Further, the first drive-side opening 59A is located in the longitudinal direction Y from the first control-side opening 58A to the first semiconductor elements 10A. Thus, the first drive-side opening 59A is located in the longitudinal direction Y in a plan view between the first semiconductor elements 10A and the terminal portion 84t of the first control line 84A. The first drive-side opening 59A is located in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 85t of the first control line 85A. In the present embodiment, the first drive-side opening 59A is located in the longitudinal direction Y in a plan view between the first semiconductor elements 10A and the first control-side opening 58A. The second drive-side opening 59B is located at a position overlapping with the second semiconductor elements 10B in the longitudinal direction Y, and from the second semiconductor elements 10B to the fourth resin side surface 54. Thus, in a plan view, the first drive-side opening 59A is located away from the second drive-side opening 58B and the second drive-side opening 59B to the first resin side surface 51. The first drive-side opening 59A is located away from the first drive-side opening 58A to the second resin side surface 52. The first drive-side opening 59A is located closer to the first drive-side opening 58A than the second drive-side opening 58B and the second drive-side opening 59B. In a plan view, the second drive-side opening 59B is arranged in the upper resin surface 55 at the end facing the fourth resin side surface 54.The second drive-side opening 59B is located from the second control-side opening 58B to the first resin side surface 51. The area of each of the drive-side openings 59A and 59B in a plan view is smaller than the area of each of the control-side openings 58A and 58B in a plan view. As shown in Fig. 8, the first control-side opening 58A exposes a part of the first wiring region 70A of the conductive substrate 60. Thus, the first control-side opening 58A exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60F) in which electronic components other than the first semiconductor elements 10A are mounted. The first control-side opening 58A exposes a surface of the first wiring region 70A located toward the third resin side surface 53. In the present embodiment, the first control-side opening 58A exposes the first surge reduction circuit 4A electrically connected to the first semiconductor elements 10A. In more detail, as shown in Fig.8, the first control-side opening 58A exposes the first low-voltage diodes 32A and 32B, the first capacitors 33A and 33B, the third wire portion 63pc of the first control wire 63A, the third wire portion 64pc of the first control wire 64A, the first control-power wire 65A, and the first control-power wire 66A. In the present embodiment, the first control-side opening 58A does not expose the first control-line connecting members 94A and 95A, the first control-power connecting members 96A and 96B, and the first short-circuit detection connecting member 97A. The shape of the first control-side opening 58A in a plan view, although not particularly limited, is rectangular such that the width direction X is the long-side direction and the length direction Y is the short-side direction. The interior of the first control-side opening 58A is an open space. As shown in Fig. 10, the second control-side opening 58B exposes a part of the second wiring region 70B of the conductive substrate 60. Thus, the second control-side opening 58B exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60G) in which the electronic components other than the second semiconductor elements 10B are mounted. The second control-side opening 58B exposes a surface of the second wiring region 70B located toward the third resin side surface 53. In the present embodiment, the second control-side opening 58B exposes the second surge reduction circuit 4B electrically connected to the second semiconductor elements 10B.In more detail, the second control-side opening 58B exposes the second low-voltage diodes 34A and 34B, the second capacitors 35A and 35B, the third wire portion 63pc of the second control wire 63B, the third wire portion 64qc of the second control wire 64B, the second control power wire 65B, and the second control power wire 66B. In the present embodiment, the second control-side opening 58B does not expose the second control line connecting members 94B and 95B, the second control power connecting members 96C and 96D, and the second short-circuit detection connecting member 97B. The shape of the second control-side opening 58B in a plan view, although not particularly limited, is rectangular such that the width direction X is the long side direction and the length direction Y is the short side direction. The interior of the second control-side opening 58B is an open space. The first drive-side opening 59A exposes an area of the first wiring region 70A that is different from the area exposed by the first control-side opening 58A. Thus, the first drive-side opening 59A exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60F) in which electronic components other than the first semiconductor elements 10A and those exposed by the first control-side opening 58A are mounted. The first drive-side opening 59A exposes an area of the first wiring region 70A that is located near the first semiconductor elements 10A. In the present embodiment, the first drive-side opening 59A exposes the first short-circuit detection circuit 3A connected to the drain electrode 11 of the first semiconductor element 10A. In more detail, as shown in Fig.8, the first drive-side opening 59A exposes the first high-voltage diodes 30A and 30B, the end 62px of the first drive wire 62A, the third wire portion 62pc, and the first part 62py of the fourth wire portion 62pd. In the present embodiment, the first drive-side opening 59A does not expose the first semiconductor elements 10A. The shape of the first drive-side opening 59A in a plan view, although not particularly limited, is rectangular such that the width direction X is the long side direction and the length direction Y is the short side direction. Further, the first drive-side opening 59A is filled with an insulating material 71 that is electrically insulating. An example of the insulating material 71 is silicone resin. As shown in Fig. 9, the second drive-side opening 59B exposes a part of the third wiring region 70C of the conductive substrate 60. Thus, the second drive-side opening 59B exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60G) in which electronic components other than the second semiconductor elements 10B are mounted. This exposed part is different from the part exposed by the second drive-side opening 58B. The second drive-side opening 59B exposes the second short-circuit detection circuit 3B connected to the drain electrode 11 of each second semiconductor element 10B. In more detail, the second drive-side opening 59B exposes the second high-voltage diodes 31A and 31B, the second end 62qy of the second drive wire 62B, the third wire portion 62qc, and the fourth wire portion 62qd.In the present embodiment, the second drive-side opening 59B does not expose the second semiconductor elements 10B. Although not particularly limited, the shape of the second drive-side opening 59B in a plan view is rectangular, such that the width direction X is the long-side direction and the length direction Y is the short-side direction. Furthermore, the second drive-side opening 59B is filled with an insulating material 72 that is electrically insulating. An example of the insulating material 72 is silicone resin. Manufacturing process Now, a method for manufacturing the semiconductor device 1A will be described. As shown in Fig. 13, the method for manufacturing the semiconductor device 1A includes a support substrate preparation step (step S11), a conductor substrate preparation step (step S12), a semiconductor element mounting step (step S13), a substrate bonding step (step S14), a wire forming step (step S15), and a packaging step (step S16). In the present embodiment, the support substrate preparation step, the conductor substrate preparation step, the semiconductor element mounting step, the substrate bonding step, the wire forming step, and the packaging step are performed sequentially to manufacture the semiconductor device 1A. In the carrier substrate manufacturing step, the carrier substrate 40 is manufactured. Specifically, the first conductive member 42A is bonded to the substrate main surface 41sa of the first insulating substrate 41A with a conductive bonding material such as silver paste or solder. The second conductive member 42B is bonded to the substrate main surface 41sb of the second insulating substrate 41B with the conductive bonding material. The arrangement of the first insulating substrate 41A and the first conductive member 42A is spaced apart in the width direction X from the arrangement of the second insulating substrate 41B and the second conductive member 42B. In the conductive substrate fabrication step, an assembly including the conductive substrate 60, the input lines 81 and 82, and the output line 83 is produced. Specifically, the first substrate layer 60A, the second substrate layer 60B, the third substrate layer 60C, the fourth substrate layers 60D and 60E, and the fifth substrate layers 60F and 60G, formed of glass epoxy resin, are fabricated. Then, the first substrate layer 60A is coupled to the first input line 81 and the output line 83. The second substrate layer 60B is formed on the first substrate layer 60A. Then, after coupling the third substrate layer 60C to the second input line 82, the third substrate layer 60C is formed on the second substrate layer 60B. The fourth substrate layers 60D and 60E are then formed on the third substrate layer 60C.Further, the fifth substrate layer 60F is formed on the fourth substrate layer 60D, and the fifth substrate layer 60G is formed on the fourth substrate layer 60E. Then, the first high-voltage diodes 30A and 30B, the first low-voltage diodes 32A and 32B, and the first capacitors 33A and 33B are attached to the fifth substrate layer 60F, and the second high-voltage diodes 31A and 31B, the second low-voltage diodes 34A and 34B, and the second capacitors 35A and 35B are attached to the fifth substrate layer 60G. In the support substrate manufacturing step, a lead frame is connected to the first conductive element 42A and the second conductive element 42B before the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are formed on the lead frame. Thus, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are supported by the support substrate 40 in a state where they are spaced apart from the support substrate 40. In the semiconductor element mounting step, for example, as shown in Fig. 14, the first semiconductor elements 10A are bonded to the main surface 42sa of the first conductive element 42A with a conductive bonding material such as silver paste or solder. Further, the second semiconductor elements 10B are bonded to the main surface 42sb of the second conductive element 42B with the conductive bonding material. Each first semiconductor element 10A is bonded to the main surface 42sa of the first conductive element 42A with its drain electrode 11 facing the main surface 42sa. In this case, the conductive bonding material is applied between the drain electrode 11 of each first semiconductor element 10A and the main surface 42sa of the first conductive element 42A. This electrically connects the drain electrode 11 of each first semiconductor element 10A to the first conductive element 42A.Further, each second semiconductor element 10B is bonded with the conductive bonding material to the main surface 42sb of the second conductive element 42B in a state where its drain electrode 11 faces the main surface 42sb. In this case, the conductive bonding material is applied between the drain electrode 11 of each second semiconductor element 10B and the main surface 42sb of the second conductive element 42B. This electrically connects the drain electrode 11 of each second semiconductor element 10B to the second conductive element 42B. As shown in Fig. 14, in the substrate bonding step, the assembly including the conductive substrate 60, the input leads 81 and 82, and the output lead 83 are bonded to the main surface 42sa of the first conductive member 42A and the main surface 42sb of the second conductive member 42B with a conductive bonding material such as silver paste or solder. In this case, the first input lead 81 is bonded to the main surface 42sa of the first conductive member 42A, and the output lead 83 is bonded to the main surface 42sb of the second conductive member 42B. Thus, the first input lead 81 is electrically connected to the first conductive member 42A, and the output lead 83 is electrically connected to the second conductive member 42B.As a result, the first input line 81 is electrically connected to the drain electrode 11 of each first semiconductor element 10A, and the output line 83 is electrically connected to the drain electrode 11 of each second semiconductor element 10B. In the wire forming step, a bonding jig (not shown) forms the drive connection elements 91A and 91B, the control connection elements 92A, 92B, 93A and 93B, the control line connection elements 94A, 94B, 95A and 95B, the control power connection elements 96A to 96D, and the short-circuit detection connection elements 97A and 97B. Specifically, the bonding device connects a wire to the source electrode 12 of a predetermined one of the first semiconductor elements 10A. Then, the bonding device moves in the width direction X while extending the wire to the exposed portion 83d of the output line 83 corresponding to the predetermined first semiconductor element 10A, and connects the wire to the exposed portion 83d. The bonding device repeats the action described above four times. This forms the four first drive interconnections 91A that connect the source electrode 12 of the predetermined one of the first semiconductor elements 10A to the exposed portion 83d of the output line 83 corresponding to the predetermined first semiconductor element 10A. In this case, the first drive interconnections 91A are formed to extend over the first drive wire 62A of the conductive substrate 60.In the same manner, the bonding device forms four first drive connection elements 91A on the source electrode 12 of each of the remaining first semiconductor elements 10A and the exposed portions 83d of the output line 83 corresponding to the first semiconductor elements 10A. The bonding device connects a wire to the gate electrode 13 of a predetermined one of the first semiconductor elements 10A. Then, the bonding wire moves in the width direction X while expanding the wire to the first control wire 63A and connects the wire to the first wire portion 63pa of the first control wire 63A. This forms the first control connection element 92A, which connects the gate electrode 13 of the predetermined one of the first semiconductor elements 10A to the first control wire 63A. In the same way, the bonding device forms the first control connection element 92A on the gate electrode 13 of each of the remaining first semiconductor elements 10A and the first control wire 63A. The bonding device connects a wire to the source electrode 12 of a predetermined one of the first semiconductor elements 10A. Then, the bonding device moves in the width direction X while expanding the wire to the first control wire 64A and connects the wire to the first wire portion 64pa of the first control wire 64A. This forms the first control connection element 93A that connects the source electrode 12 of the predetermined one of the first semiconductor elements 10A to the first control wire 64A. In the same way, the bonding device forms the first control connection element 93A on the source electrode 12 of each of the remaining first semiconductor elements 10A and the first control wire 64A. Further, the bonding device connects a wire to the source electrode 12 of a predetermined one of the second semiconductor elements 10B. Then, while extending the wire, the bonding device moves to the exposed portion 82d of the second input line 82 corresponding to the predetermined second semiconductor element 10B and connects the wire to the exposed portion 82d. The bonding device repeats the action described above four times. This forms the four second drive connection elements 91B that connect the source electrode 12 of the predetermined one of the second semiconductor elements 10B to the exposed portion 82d of the second input line 82 corresponding to the predetermined second semiconductor element 10B. In this case, the second drive connection elements 91B are formed to extend over the second drive wire 62B of the conductive substrate 60.In the same manner, the bonding device forms four second drive connection elements 91B on the source electrode 12 of each of the remaining second semiconductor elements 10B and the exposed portions 82d of the second input line 82 corresponding to the second semiconductor elements 10B. The bonding device connects a wire to the gate electrode 13 of a predetermined one of the second semiconductor elements 10B. Then, the bonding wire moves in the width direction X while expanding the wire to the second control wire 63B and connects the wire to the first wire portion 63qa of the second control wire 63B. This forms the second control connection element 92B, which connects the gate electrode 13 of the second semiconductor element 10B to the second control wire 63B. In the same way, the bonding wire forms the second control connection element 92B on the gate electrode 13 of each of the remaining second semiconductor elements 10B and the second control wire 63B. The bonding device connects a wire to the source electrode 12 of a predetermined one of the second semiconductor elements 10B. Then, the bonding device moves in the width direction X while expanding the wire to the second control wire 64B and connects the wire to the first wire portion 64qa of the second control wire 64B. This forms the second control connection element 93B that connects the source electrode 12 of the predetermined one of the second semiconductor elements 10B to the second control wire 64B. In the same way, the bonding device forms the second control connection element 93B on the source electrode 12 of each of the remaining second semiconductor elements 10B and the second control wire 64B. The binding device connects a wire to the contact portion 87p of the first short-circuit detection line 87A. Then, while extending the wire, the binding device moves to the second part 62pz of the fourth wire portion 62pd in the first drive wire 62A and connects the wire to the second part 62pz. This forms the first short-circuit detection connecting element 97A, which connects the first short-circuit detection line 87A to the first drive wire 62A. The binding device connects a wire to the contact portion 84p of the first control wire 84A. Then, while extending the wire, the binding device moves to the third wire portion 63pc of the first control wire 63A and connects the wire to the third wire portion 63pc. This forms the first control wire connecting element 94A, which connects the first control wire 84A and the first control wire 63A. The binding device connects a wire to the contact portion 86p of the first control power line 86A. Then, while extending the wire, the binding device moves to the first control power wire 65A and connects the wire to the first control power wire 65A. This forms the first control power connecting element 96A, which connects the first control power line 86A and the first control power wire 65A. The binding device connects a wire to the contact portion 85p of the first control line 85A. Then, while extending the wire, the binding device moves to the second part 64py of the first control wire 64A and connects the wire to the second part 64py. This forms the first control line connecting element 95A, which connects the first control line 85A and the first control wire 64A. The binding device connects a wire to the contact portion 86p of the first control power line 86B. Then, while extending the wire, the binding device moves to the first wire portion 66pa of the first control power wire 66A and connects the wire to the first wire portion 66pa. This forms the first control power connecting element 96B, which connects the first control power line 86B and the first control power wire 66A. The binding device connects a wire to the contact portion 87p of the second short-circuit detection line 87B. Then, while extending the wire, the binding device moves to the first end 62qx of the first wire portion 62qa in the second drive wire 62B and connects the wire to the first end 62qx. This forms the second short-circuit detection connecting element 97B, which connects the second short-circuit detection line 87B and the second drive wire 62B. The binding device connects a wire to the contact portion 84p of the second control line 84B. Then, while extending the wire, the binding device moves to the second part 63qy of the third wire portion 63qc in the second control wire 63B and connects the wire to the second part 63qy. This forms the second control line connecting element 94B, which connects the second control line 84B and the second control wire 63B. The binding device connects a wire to the contact portion 86p of the second control power line 86C. Then, while extending the wire, the binding device moves to the second control power wire 65B and connects the wire to the second control power wire 65B. This forms the second control power connecting element 96C, which connects the second control power line 86C and the second control power wire 65B. The binding device connects a wire to the contact portion 85p of the second control wire 85B. Then, while extending the wire, the binding device moves to the third wire portion 64qc of the second control wire 64B and connects the wire to the third wire portion 64qc. This forms the second control wire connecting member 95B, which connects the second control wire 85B and the second control wire 64B. Finally, the binding device connects a wire to the contact portion 86p of the second control power line 86D. Then, while extending the wire, the binding device moves to the first wire portion 66qa of the second control power wire 66B and connects the wire to the first wire portion 66qa. This forms the second control power connecting element 96D, which connects the second control power line 86D and the second control power wire 66B. In the encapsulation step, the resin member 50 is formed. Specifically, transfer molding is performed to form the resin member 50 using, for example, black epoxy resin. In this case, the mold used during transfer molding integrally forms the first control-side opening 58A, the second control-side opening 58B, the first drive-side opening 59A, and the second drive-side opening 59B. Further, the mold integrally forms the grooves 57A and 57B. Then, the first drive-side opening 59A is filled with the insulating material 71, and the second drive-side opening 59B is filled with the insulating material 72. Silicone resin is used as the insulating materials 71 and 72. Next, a lead frame cutting step and a terminal forming step are performed. This produces the semiconductor device 1A. In the lead frame cutting step, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are cut from the lead frame. In the terminal forming step, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are bent to form the terminal portions 84t, 85t, 86t, and 87t. The semiconductor element mounting step may be performed after the carrier substrate fabrication step and before the conductor substrate fabrication step. Furthermore, the semiconductor element mounting step may be performed after the substrate bonding step and before the wire formation step. The conductor substrate fabrication step may be performed before the carrier substrate fabrication step. In the wire forming step, the drive connection elements 91A and 91B, the control connection elements 92A, 92B, 93A and 93B, the control line connection elements 94A, 94B, 95A and 95B, the control power connection elements 96A to 96D and the short-circuit detection connection elements 97A and 97B can be formed in any order. In the present embodiment, the high-voltage diodes 30A, 30B, 31A, and 31B of the short-circuit detection circuits 3A and 3B do not need to be attached to the conductive substrate 60 in the conductive substrate preparation step. For example, the high-voltage diodes 30A, 30B, 31A, and 31B do not need to be attached to the conductive substrate 60 in the conductive substrate preparation step. The high-voltage diodes 30A, 30B, 31A, and 31B can be attached to the first drive-side opening 59A and the second drive-side opening 59B after the encapsulation step. In this case, the first drive-side opening 59A is filled with the insulating material 71 after the high-voltage diodes 30A and 30B are attached to the conductive substrate 60. Furthermore, the second drive side opening 59B is filled with the insulating material 72 after the high-voltage diodes 31A and 31B are attached to the conductive substrate 60.The semiconductor device 1A may be shipped from a factory without the high-voltage diodes 30A, 30B, 31A, and 31B. In this case, the user of the semiconductor device 1A attaches the high-voltage diodes 30A, 30B, 31A, and 31B to the conductive substrate 60 through the first drive-side opening 59A and the second drive-side opening 59B. In the present embodiment, the low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B of the surge suppression circuits 4A and 4B do not need to be attached to the conductive substrate 60 in the conductive substrate preparation step. For example, the low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B do not need to be attached to the conductive substrate 60 in the conductive substrate preparation step. The low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B can be attached to the conductive substrate 60 through the first control-side opening 58A and the second control-side opening 58B after the encapsulation step. The semiconductor device 1A can be shipped from a factory without the low-voltage diodes 32A, 32B, 34A and 34B and the capacitors 33A, 33B, 35A and 35B being attached to the conductive substrate 60.In this case, the user of the semiconductor device 1A attaches the low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B to the conductive substrate 60 through the first control-side opening 58A and the second control-side opening 58B. Operation Now, the operation of the semiconductor device 1A according to the present embodiment will be described. If the semiconductor device 1A did not include the short-circuit detection circuits 3A and 3B, the drain electrode 11 of each of the semiconductor elements 10A and 10B would have to extend from the semiconductor device, and the drain electrode 11 would have to be directly connected to, for example, the short-circuit detection lines 87A and 87B. In this case, in order to maintain a distance for insulating the short-circuit detection lines 87A and 87B, which are high-voltage terminals, the control lines 84A, 84B, 85A, and 85B, and the control power lines 86A to 86D, which are low-voltage terminals, the short-circuit detection lines 87A and 87B need to be spaced a greater distance from the control lines 84A, 84B, 85A, and 85B and the control power lines 86A to 86D. If a short-circuit protection circuit is formed outside the semiconductor device 1A, ieIf a short-circuit protection circuit is arranged on a control board to which the semiconductor device 1A is mounted, a distance for insulation must be provided on the control board between the wire electrically connected to the short-circuit detection lines 87A and 87B and the wire electrically connected to the control lines 84A, 84B, 85A and 85B and the control power lines 86A to 86D. In this regard, in the present embodiment, the semiconductor device 1A includes high-voltage diodes 30A, 30B, 31A, and 31B, which lower the voltage at the high-voltage terminals in the short-circuit detection circuit to the voltage at the low-voltage terminals. Consequently, the voltage at the drain electrode 11 of each first semiconductor element 10A is lowered by the high-voltage diodes 30A and 30B and then sent to the outside of the semiconductor device 1A by the first short-circuit detection line 87A, and the voltage at the drain electrode 11 of each second semiconductor element 10B is lowered by the high-voltage diodes 31A and 31B and then sent to the outside of the semiconductor device 1A by the second short-circuit detection line 87B.Thus, there is no need to provide a distance for insulating the short-circuit detection lines 87A and 87B, the control lines 84A, 84B, 85A, and 85B, and the control power lines 86A to 86D in the semiconductor device 1A. That is, the short-circuit detection lines 87A and 87B can be arranged at the same connection intervals as the control lines 84A, 84B, 85A, and 85B and the control power lines 86A to 86D. Low-voltage wires are electrically connected to the short-circuit detection lines 87A and 87B on the control board. Thus, there is no need to provide insulation distance between the wires electrically connected to the short-circuit detection lines 87A and 87B and the wires electrically connected to the control lines 84A, 84B, 85A, and 85B and the control power lines 86A to 86D. This increases the degree of design freedom for the control board. In general, it is preferable that the first overvoltage reduction circuit 4A be located near the gate electrode 13 of each first semiconductor element 10A, and that the second overvoltage reduction circuit 4B be located near the gate electrode 13 of each second semiconductor element 10B. If the overvoltage reduction circuits 4A and 4B were located outside the semiconductor device 1A, this would reduce the effect of the first overvoltage reduction circuit 4A in reducing the overvoltage applied to the gate electrode 13 of each first semiconductor element 10A and reduce the effect of the second overvoltage reduction circuit 4B in reducing the overvoltage applied to the gate electrode 13 of each second semiconductor element 10B.To avoid reductions in the overvoltage reduction effect, the overvoltage reduction circuits 4A and 4B may be arranged outside the semiconductor device 1A near the terminal portions 84t, 85t, and 86t of the lines 84A, 84B, 85A, 85B, and 86A to 86D. However, this will result in various design limitations and cause difficulties in circuit design. In this regard, in the present embodiment, the overvoltage reducing circuits 4A and 4B are incorporated into the semiconductor device 1A. Thus, the first overvoltage reducing circuit 4A is located near the gate electrode 13 of each first semiconductor element 10A, and the second overvoltage reducing circuit 4B is located near the gate electrode 13 of each second semiconductor element 10B. This minimizes reductions in the effect of the first overvoltage reducing circuit 4A that reduces an overvoltage applied to the gate electrode 13 of each first semiconductor element 10A and the effect of the second overvoltage reducing circuit 4B that reduces an overvoltage applied to the gate electrode 13 of each second semiconductor element 10B.In addition, there is no need to form the overvoltage reduction circuits 4A and 4B outside the semiconductor device 1A near the terminal portions 84t, 85t, and 86t of the lines 84A, 84B, 85A, 85B, and 86A to 86D. This facilitates circuit design on the control board. Different types of circuits use the semiconductor device 1A. Each type of circuit requires different electrical characteristics for the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B. Accordingly, it is preferable that the electrical characteristics of the short-circuit detection circuits 3A and 3B and the electrical characteristics of the overvoltage reduction circuits 4A and 4B be adjustable. However, if the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B are simply incorporated into the semiconductor device, the electronic components of the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B cannot be changed due to the resin element. Thus, the electrical characteristics cannot be adjusted. In this regard, in the present embodiment, the resin member 50 has the first control-side opening 58A exposing a part of the first wiring region 70A and the second control-side opening 58B exposing a part of the second wiring region 70B. The first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B are exposed from the first control-side opening 58A. The second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B are exposed from the second control-side opening 58B. In this way, the electronic components are exposed from the first control-side opening 58A and the second control-side opening 58B. This makes it possible to change the electronic components.Thus, the electrical characteristics of electrical circuits including electronic components can be adjusted such that the electrical characteristics of the semiconductor device 1A are suitable for the electrical circuit to which the semiconductor device 1A is applied. Furthermore, the control-side openings 58A and 58B and the drive-side openings 59A and 59B enable the semiconductor device 1A to be shipped from a factory in accordance with a user's needs. Specifically, the semiconductor device 1A can be shipped from a factory in a state where the high-voltage diodes 30A, 30B, 31A, and 31B, the low-voltage diodes 32A, 32B, 34A, and 34B, and the capacitors 33A, 33B, 35A, and 35B are pre-attached to the conductive substrate 60. Alternatively, the semiconductor device 1A may be shipped from a factory in a state in which the high-voltage diodes 30A, 30B, 31A and 31B, the low-voltage diodes 32A, 32B, 34A and 34B, and the capacitors 33A, 33B, 35A and 35B are not attached to the conductive substrate 60. Advantages The semiconductor device 1A of the present embodiment has the advantages described below. (1-1) The semiconductor device 1A includes the first wiring portion 70A, the second wiring portion 70B, and the third wiring portion 70C. The first wiring portion 70A includes the first drive wire 62A and the first high-voltage diodes 30A and 30B that form the first short-circuit detection circuit 3A. Further, the first wiring portion 70A includes the first drive wire 62A, the first control wires 63A and 64A, the first control power wires 65A and 66A, the first low-voltage diodes 32A and 32B, and the first capacitors 33A and 33B that form the first overvoltage reduction circuit 4A. The second wiring portion 70B includes the second drive wire 62B, the second control wires 63B and 64B, the second control power wires 65B and 66B, the second low-voltage diodes 34A and 34B, and the second capacitors 35A and 35B, which form the second overvoltage reducing circuit 4B.The third wiring portion 70C includes the second drive wire 62B and the second high-voltage diodes 31A and 31B constituting the second short-circuit detection circuit 3B. In this way, the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B are incorporated into the semiconductor device 1A. Thus, compared to when the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B are disposed outside the semiconductor device 1A, the length of the wires extending from the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B to the semiconductor elements 10A and 10B can be shortened. This reduces the inductance of the semiconductor device 1A. (1-2) High-voltage diodes 30A, 30B, 31A, and 31B, which lower the voltage at the high-voltage terminals in the short-circuit detection circuits to the voltage at the low-voltage terminals, are included in the semiconductor device 1A. Consequently, the voltage at the drain electrode 11 of each first semiconductor element 10A is lowered by the high-voltage diodes 30A and 30B and then sent to the outside of the semiconductor device 1A by the first short-circuit detection line 87A, and the voltage at the drain electrode 11 of each second semiconductor element 10B is lowered by the high-voltage diodes 31A and 31B and then sent to the outside of the semiconductor device 1A by the second short-circuit detection line 87B. Thus, there is no need to provide a distance in the semiconductor device 1A for isolating the short-circuit detection lines 87A and 87B, the control lines 84A, 84B, 85A and 85B, and the control power lines 86A to 86D.Accordingly, the short-circuit detection lines 87A and 87B can be arranged at the same connection intervals as the control lines 84A, 84B, 85A, and 85B and the control power lines 86A to 86D. Low-voltage wires are electrically connected to the short-circuit detection lines 87A and 87B on the control board. Thus, there is no need to provide a distance for insulating the wires electrically connected to the short-circuit detection lines 87A and 87B from the wires electrically connected to the control lines 84A, 84B, 85A, and 85B and the control power lines 86A to 86D. This increases the degree of design freedom for the control board. Thus, the semiconductor device 1A is versatile. (1-3) The resin member 50 has the first drive-side opening 59A, the second drive-side opening 59B, the first control-side opening 58A, and the second control-side opening 58B. The first drive-side opening 59A exposes the first high-voltage diodes 30A and 30B and the portions of the first drive wire 62A to which the first high-voltage diodes 30A and 30B are attached. The second drive-side opening 59B exposes the second high-voltage diodes 31A and 31B and the portions of the second drive wire 62B to which the second high-voltage diodes 31A and 31B are attached. The first control side opening 58A exposes the first low-voltage diodes 32A and 32B, the first capacitors 33A and 33B, and the portions of the first drive wire 62A, the first control wire 63A, the first control wire 64A, and the first control power wires 65A and 66A to which the first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B are attached.The second control-side opening 58B exposes the second low-voltage diodes 34A and 34B, the second capacitors 35A and 35B, and the portions of the second drive wire 62B, the second control wires 63B and 64B, and the second control power wires 65B and 66B to which the second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B are attached. In this way, after the resin member 50 is formed, the first high-voltage diodes 30A and 30B can be changed through the first drive-side opening 59A. Thus, the electrical characteristics of the first short-circuit detection circuit 3A can be changed after the resin member 50 is formed. After the resin member 50 is formed, the second high-voltage diodes 31A and 31B can be changed through the second drive-side opening 59B.Thus, the electrical characteristics of the second short-circuit detection circuit 3B can be adjusted after the resin member 50 is formed. After the resin member 50 is formed, the first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B can be changed through the first control-side opening 58A. Thus, the electrical characteristics of the first overvoltage reduction circuit 4A can be adjusted after the resin member 50 is formed. After the resin member 50 is formed, the second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B can be changed through the second control-side opening 58B. Thus, the electrical characteristics of the second overvoltage reduction circuit 4B can be changed after the resin member 50 is formed. (1-4) The conductive substrate 60 includes the first wiring portion 70A, the second wiring portion 70B, and the third wiring portion 70B. With this configuration, the wiring on the conductive substrate 60 forms the wires of the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B. This facilitates the wiring of the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B compared to, for example, when metal plate conductors are used to form the wires of the short-circuit detection circuits 3A and 3B and the overvoltage reduction circuits 4A and 4B. (1-5) The first drive-side opening 59A is filled with the insulating material 71, and the second drive-side opening 59B is filled with the insulating material 72. This prevents short-circuiting of the short-circuit detection circuits 3A and 3B. (1-6) The first drive-side opening 59A is separated from the first control-side opening 58A, and the second drive-side opening 59B is separated from the second control-side opening 58B. This allows only the drive-side openings 59A and 59B to be filled with the insulating materials 71 and 72. (1-7) The first semiconductor elements 10A are fixed to the first conductive element 42A, and the second semiconductor elements 10B are fixed to the second conductive element 42B. Thus, the first semiconductor elements 10A can effectively dissipate heat via the first conductive element 42A, and the second semiconductor elements 10B can effectively dissipate heat via the second conductive element 42B. (1-8) The first semiconductor elements 10A are accommodated in the first substrate openings 61A of the conductive substrate 60, and the second semiconductor elements 10B are accommodated in the second substrate openings 61B of the conductive substrate 60. With this configuration, the semiconductor elements 10A and 10B and the conductive substrate 60 can overlap in the width direction X and the length direction Y. This makes it possible to reduce the size of the semiconductor device 1A in the width direction X and the length direction Y. (1-9) The first wiring portion 70A extends on the conductive substrate 60 from the first semiconductor elements 10A to the first control lines 84A and 85A, the first control power lines 86A and 86B, and the first short-circuit detection line 87A. This shortens the wire length of the first overvoltage reduction circuit 4A arranged in the first wiring portion 70A and reduces the inductance of the first overvoltage reduction circuit 4A. Furthermore, the wire length of the first short-circuit detection circuit 3A arranged in the first wiring portion 70A is shortened. This reduces the inductance of the first short-circuit detection circuit 3A. The second wiring portion 70B extends on the conductive substrate 60 from the second semiconductor elements 10B to the second control lines 84B and 85B, the second control power lines 86C and 86D, and the second short-circuit detection line 87B. This shortens the wire length of the second overvoltage reduction circuit 4B arranged in the second wiring portion 70B and reduces the inductance of the second overvoltage reduction circuit 4B. (1-10) The first control-side opening 58A and the second control-side opening 58B are arranged in the width direction X in a state where they are spaced apart from each other. With this configuration, the first control-side opening 58A exposes the first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B of the first overvoltage reducing circuit 4A, and the second control-side opening 58B exposes the second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B of the second overvoltage reducing circuit 4B. The portion of the semiconductor device 1A between the first overvoltage reducing circuit 4A and the second overvoltage reducing circuit 4B in the width direction X is not exposed.Thus, the first control-side opening 58A exposes only the portion of the first overvoltage reduction circuit 4A required to adjust the electrical characteristics, and the second control-side opening 58B exposes only the portion of the second overvoltage reduction circuit 4B required to adjust the electrical characteristics. This makes it difficult for foreign matter to enter the semiconductor device 1A. (1-11) The conductive substrate 60 is a multilayer conductive substrate. With this configuration, wires for connecting the semiconductor elements 10A and 10B to the leads 80 can be formed over multiple layers. Thus, compared with a conductive substrate having only one layer, the size of the conductive substrate 60 can be reduced in the width direction X and the length direction Y. This makes it possible to reduce the size of the semiconductor device 1A in the width direction X and the length direction Y. (1-12) The first drive wire 62A of the first short-circuit detection circuit 3A is formed in the fifth substrate layer 60F, which is the outer layer of the conductive substrate 60, and the second drive wire 62B of the second short-circuit detection circuit 3B is formed in the fifth substrate layer 60G, which is the outer layer of the conductive substrate 60. With this configuration, the first high-voltage diodes 30A and 30B are fixed to the fifth substrate layer 60F, and the second high-voltage diodes 31A and 31B are fixed to the fifth substrate layer 60G. Thus, the first high-voltage diodes 30A and 30B and the second high-voltage diodes 31A and 31B can be easily changed, respectively. This facilitates adjustment of the electrical characteristics of the first short-circuit detection circuit 3A and the second short-circuit detection circuit 3B. The first control wires 63A and 64A and the first control power wires 65A and 66A of the first overvoltage reduction circuit 4A are formed in the fifth substrate layer 60F, respectively, and the second control wires 63B and 64B and the second control power wires 65B and 66B of the second overvoltage reduction circuit 4B are formed in the fifth substrate layer 60G, respectively. With this configuration, the first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B are attached to the fifth substrate layer 60F, and the second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B are attached to the fifth substrate layer 60G. Thus, the low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B can each be easily changed. This facilitates adjustment of the electrical characteristics of the first overvoltage reduction circuit 4A and the second overvoltage reduction circuit 4B. (1-13) The first high-voltage diodes 30A and 30B are fixed to the conductive substrate 60 such that the anode electrodes and the cathode electrodes of the first high-voltage diodes 30A and 30B are arranged in the width direction X. This makes it possible to reduce the size of the conductive substrate 60 in the longitudinal direction Y, which in turn makes it possible to reduce the size of the semiconductor device 1A in the longitudinal direction Y. Furthermore, the second high-voltage diodes 31A and 31B are fixed to the conductive substrate 60 such that the anode electrodes and the cathode electrodes of the second high-voltage diodes 31A and 31B are arranged in the width direction X. This makes it possible to reduce the size of the conductive substrate 60 in the longitudinal direction Y, which in turn makes it possible to reduce the size of the semiconductor device 1A in the longitudinal direction Y. (1-14) The first low-voltage diodes 32A and 32B are fixed to the conductive substrate 60 such that the anode electrodes and the cathode electrodes of the first low-voltage diodes 32A and 32B are arranged in the width direction X. This makes it possible to reduce the size of the conductive substrate 60 in the longitudinal direction Y, which in turn makes it possible to reduce the size of the semiconductor device 1A in the longitudinal direction Y. Furthermore, the second low-voltage diodes 34A and 34B are attached to the conductive substrate 60 such that the anode electrodes and the cathode electrodes of the second low-voltage diodes 34A and 34B are arranged in the width direction X. This makes it possible to reduce the size of the conductive substrate 60 in the longitudinal direction Y, which in turn makes it possible to reduce the size of the semiconductor device 1A in the longitudinal direction Y. (1-15) The first capacitors 33A and 33B are fixed to the conductive substrate 60 such that the first ends and the second ends of the first capacitors 33A and 33B are arranged in the width direction X. This makes it possible to reduce the size of the conductive substrate 60 in the longitudinal direction Y, which in turn makes it possible to reduce the size of the semiconductor device 1A in the longitudinal direction Y. Furthermore, the second capacitors 35A and 35A are fixed to the conductive substrate 60 such that their first ends and their second ends are arranged in the width direction X. This makes it possible to reduce the size of the conductive substrate 60 in the longitudinal direction Y, which in turn makes it possible to reduce the size of the semiconductor device 1A in the longitudinal direction Y. (1-16) The contact portion 84p of the first control line 84A, the contact portion 85p of the first control line 85A, the contact portion 86p of the first control power line 86A, the contact portion 86p of the first control power line 86B, and the contact portion 87p of the first short-circuit detection line 87A are each arranged adjacent to the fifth substrate layer 60F in the longitudinal direction Y. Further, the first drive wire 62A, the first control wires 63A and 64A, and the first control power wires 65A and 66A each extend to the end of the fifth substrate layer 60F, which is located toward the third resin side surface 53 of the resin member 50. Thus, the length of the first short-circuit detection connecting member 97A connecting the first drive wire 62A and the contact portion 87p of the first short-circuit detection line 87A can be shortened.The length of the first control line connecting member 94A, which connects the first control wire 63A and the contact portion 84p of the first control line 84A, can be shortened. The length of the first control line connecting member 95A, which connects the first control wire 64A and the contact portion 85p of the first control line 85A, can be shortened. The length of the first control power connecting member 96A, which connects the first control power wire 65A and the contact portion 86p of the first control power line 86A, can be shortened. The length of the first control power connecting member 96B, which connects the first control power wire 66A and the contact portion 86p of the first control power line 86B, can be shortened. Accordingly, the inductance caused by each of the connecting members 94A, 95A, 96A, 96B, and 97A can be reduced. Furthermore, the contact portion 84p of the second control line 84B, the contact portion 85p of the second control line 85B, the contact portion 86p of the second control power line 86C, the contact portion 86p of the second control power line 86D, and the contact portion 87p of the second short-circuit detection line 87B are each arranged adjacent to the fifth substrate layer 60G in the longitudinal direction Y. Furthermore, the second drive wire 62B, the second control wires 63B and 64B, and the second control power wires 65B and 66B each extend to the end of the fifth substrate layer 60G, which is located toward the third resin side surface 53 of the resin member 50. Thus, the length of the second short-circuit detection connecting member 97B connecting the second drive wire 62B and the contact portion 87p of the second short-circuit detection line 87B can be shortened.The length of the second control line connecting member 94B, which connects the second control wire 63B and the contact portion 84p of the second control line 84B, can be shortened. The length of the second control line connecting member 95B, which connects the second control wire 64B and the contact portion 85p of the second control line 85B, can be shortened. The length of the second control power connecting member 96C, which connects the second control power wire 65B and the contact portion 86p of the second control power line 86C, can be shortened. The length of the second control power connecting member 96D, which connects the second control power wire 66B and the contact portion 86p of the second control power line 86D, can be shortened. Accordingly, the inductance caused by each of the connecting members 94B, 95B, 96C, 96D, and 97B can be reduced. Second embodiment Referring to FIGS. 15 to 19, a semiconductor device 1B according to a second embodiment will now be described. The semiconductor device 1B of the present embodiment differs from the semiconductor device 1A of the first embodiment in the configuration of the conductive substrate 60 and the configuration of some of the leads 80. In the following description, the same reference numerals are given to components that are the same as the corresponding components of the semiconductor device 1A in the first embodiment. Such components will not be described in detail. Semiconductor device configuration Referring to Fig. 16, the conductive substrate 60 of the present embodiment has a shorter length in the longitudinal direction Y than the conductive substrate 60 of the first embodiment. Specifically, in the conductive substrate 60 of the present embodiment, the second wiring region 70B and a part of the first wiring region 70A are omitted from the conductive substrate 60 of the first embodiment. In the present embodiment, the part of the first wiring region 70A omitted from the conductive substrate 60 is the region where the first overvoltage reducing circuit 4A is formed. In other words, the region where the first overvoltage reducing circuit 4A is formed, or the part of the first wiring region 70A, is located outside the conductive substrate 60. The part of the first wiring region 70A where the first short-circuit detection circuit 3A is formed is located on the conductive substrate 60.The second wiring region 70B is located outside the conductive substrate 60. With such a configuration of the conductive substrate 60, the first conductive element 42A protrudes from the conductive substrate 60 toward the third resin side surface 53 of the resin member 50. The first surge suppression circuit 4A is formed in the protruding portion, which is part of the first wiring region 70A. Furthermore, the second conductive element 42B protrudes from the conductive substrate 60 toward the third resin side surface 53. The second wiring region 70B is formed in the protruding portion. As shown in Fig. 17, the first drive wire 62A formed in the fifth substrate layer 60F of the conductive substrate 60 differs from the first drive wire 62A of the first embodiment in the shape of the fourth wire portion 62pd. Specifically, the fourth wire portion 62pd of the present embodiment does not include the second part 62pz of the fourth wire portion 62pd of the first embodiment. The fourth wire portion 62pd of the present embodiment extends in the longitudinal direction Y. The length of the fourth wire portion 62pd in the longitudinal direction Y is longer than the length of the third wire portion 62pc in the longitudinal direction Y. As described above, the first surge reduction circuit 4A is arranged outside the conductive substrate 60. Thus, the low-voltage diodes 32A, 32B, 34A and 34B and the capacitors 33A, 33B, 35A and 35B are not attached to the conductive substrate 60.That is, the low-voltage diodes 32A, 32B, 34A and 34B and the capacitors 33A, 33B, 35A and 35B are located outside the conductive substrate 60. The first control wires 63A and 64A formed in the fifth substrate layer 60F are different from the first control wires 63A and 64A of the first embodiment. Specifically, as shown in FIGS. 16 and 17, the first control wire 63A of the present embodiment does not include the second wire portion 63pb and the third wire portion 63pc of the first control wire 63A. The first control wire 63A of the present embodiment is disposed adjacent to the first semiconductor elements 10A and to the first resin side surface 51 of the resin member 50 of the first semiconductor elements 10A. The first control wire 63A extends in the longitudinal direction Y. The first control wire 63A further extends from the one of the first semiconductor elements 10A that is closest to the third resin side surface 53 in the longitudinal direction Y to the third resin side surface 53 of the resin member 50. The first control wire 64A of the present embodiment does not include the second wire portion 64pb and the third wire portion 64pc of the first control wire 64A. The first control wire 64A of the present embodiment is arranged adjacent to the first control wire 63A on the side of the first control wire 63A in the width direction X opposite to the first semiconductor elements 10A. The first control wire 64A extends in the longitudinal direction Y. The length of the first control wire 64A in the longitudinal direction Y is equal to the length of the first control wire 63A in the longitudinal direction Y. The width of the first control wire 64A in the width direction X is equal to the width of the first control wire 63A in the width direction X. As shown in Fig. 16 and Fig. 18, the second drive wire 62B formed in the fifth substrate layer 60G of the conductive substrate 60 differs from the second drive wire 62B of the first embodiment in that the first wire portion 62qa is shortened in the longitudinal direction Y. The second control wires 63B and 64B formed in the fifth substrate layer 60G are different from the second control wires 63B and 64B of the first embodiment. Specifically, the second control wire 63B of the present embodiment does not include the second wire portion 63qb and the third wire portion 63qc of the second control wire 63B of the present embodiment. The second control wire 63B of the present embodiment is arranged adjacent to the second semiconductor elements 10B in the width direction X and to the second resin side surface 52 of the resin member 50 of the second semiconductor elements 10B. The second control wire 63B extends in the longitudinal direction Y. Further, the second control wire 63B extends in the longitudinal direction Y from a position corresponding to the one of the second semiconductor elements 10B closest to the fourth resin side surface 54 to a position corresponding to the one of the second semiconductor elements 10B closest to the third resin side surface 53. The second control wire 64B of the present embodiment does not include the second wire portion 64qb and the third wire portion 64qc of the second control wire 64B of the present embodiment. The second control wire 64B of the present embodiment is arranged adjacent to the second control wire 63B on the side of the second control wire 63B in the width direction X opposite to the second semiconductor elements 10B. The second control wire 64B extends in the longitudinal direction Y. The length of the second control wire 64B in the longitudinal direction Y is equal to the length of the second control wire 63B in the longitudinal direction Y. The width of the second control wire 64B in the width direction X is equal to the width of the second control wire 63B in the width direction X. In this way, the shape of the control wires 63A, 63B, 64A and 64B is changed to change the positional relationship of the control wires 63A, 63B, 64A and 64B with respect to the contact portions 84p and 85p of the control lines 84A, 84B, 85A and 85B, the contact portions 86p of the control power lines 86A to 86D and the contact portions 87p of the short-circuit detection lines 87A and 87B. Specifically, as shown in Fig. 17, the contact portion 84p of the first control line 84A, the contact portion 85p of the first control line 85A, the contact portion 86p of the first control power line 86A, the contact portion 86p of the first control power line 86B, and the contact portion 87p of the first short-circuit detection line 87A are located in the width direction X, respectively, to the second resin side surface 52 of the first control wires 63A and 64A.18, the contact portion 84p of the second control line 84B, the contact portion 85p of the second control line 85B, the contact portion 86p of the second control power line 86C, the contact portion 86p of the second control power line 86D, and the contact portion 87p of the second short-circuit detection line 87B are located in the width direction X, respectively, to the first resin side surface 51 (see Fig. 16) of the second control wires 63B and 64B. As shown in FIGS. 15 to 19, the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B of the present embodiment are different in configuration from the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B of the first embodiment. The control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B of the present embodiment each include a wire portion of a circuit formed in the first wiring portion 70A and the second wiring portion 70B. Thus, in the present embodiment, the control lines 84A, 84B, 85A and 85B, the control power lines 86A to 86D and the short-circuit detection lines 87A and 87B each form a conductor.The portions of the first wiring area 70A and the second wiring area 70B where the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B are arranged serve as mounting areas where electronic components are mounted. The circuit formed in the first wiring area 70A is the first overvoltage reduction circuit 4A, and the circuit formed in the second wiring area 70B is the second overvoltage reduction circuit 4B. Specifically, as shown in Fig. 17, the first control line 84A includes a first wire portion 100 extending in the longitudinal direction Y from the contact portion 84p of the first control line 84A to the conductive substrate 60, and a second wire portion 101 extending from the first wire portion 100 to the conductive substrate 60. In the present embodiment, the first control line 84A is a single component, with the first wire portion 100, the second wire portion 101, the contact portion 84p, and the terminal portion 84t being integrally formed. The first wire portion 100 extends from the contact portion 84p to the end of the main surface 42sa of the first conductive member 42A, which is located toward the third resin side surface 53. The width of the first wire portion 100 in the width direction X is smaller than the width of the contact portion 84p in the width direction X.The second wire portion 101 is entirely disposed on the main surface 42sa of the first conductive element 42A. The second wire portion 101 is L-shaped in plan view. The second wire portion 101 includes a first portion 101a and a second portion 101b. The first portion 101a extends from the first wire portion 100 in the longitudinal direction Y. The second portion 101b extends from the first portion 101a in the width direction X. The second portion 101b extends in the width direction X to the first resin side surface 51. The width of the second portion 101b in the longitudinal direction Y is greater than the width of the first portion 101a in the width direction X. The second portion 101b is arranged overlapping the first semiconductor elements 10A as viewed in the longitudinal direction Y. The second part 101b is arranged overlapping the contact section 86p of the first control power line 86A as seen in the longitudinal direction Y.The first control line 84A is located in the width direction X from the first control wire 63A to the second resin side surface 52. The first control line 84A and the first control wire 63A are connected by a first control connection element 140A. Specifically, the first control connection element 140A is connected to the end of the second portion 101b of the first control line 84A, which is located in the longitudinal direction Y toward the conductive substrate 60, and to the end of the first control wire 63A, which is located in the longitudinal direction Y toward the third resin side surface 53. The first control connection element 140A is, for example, a wire formed by wire bonding. The first control line 85A includes a first wire portion 110 extending in the longitudinal direction Y from the contact portion 85p of the first control line 85A to the conductive substrate 60, and a second wire portion 111 extending from the first wire portion 110 to the conductive substrate 60. In the present embodiment, the first control line 85A is a single component, with the first wire portion 110, the second wire portion 111, the contact portion 85p, and the terminal portion 85t being integrally formed. The first wire portion 110 extends from the contact portion 85p to the end of the main surface 42sa of the first conductive member 42A, which is located toward the third resin side surface 53. The first wire portion 110 extends obliquely so that the conductive substrate 60 approaches as the first resin side surface 51 approaches. The second wire portion 111 is arranged on the main surface 42sa of the first conductive element 42A.The second wire portion 111 is L-shaped in plan view. The second wire portion 111 has a first part 111a and a second part 111b. The first part 111a extends from the first wire portion 110 in the longitudinal direction Y. The second part 111b extends from the first part 111a in the width direction X. The distal end of the second portion 111b protrudes outward from the first conductive element 42A in the width direction X. The second part 111b is aligned with the second part 101b of the second wire portion 101 of the first control line 84A in the longitudinal direction Y and spaced from the second part 101b in the width direction X. The second part 111b is arranged adjacent to the second part 101b of the first control line 84A in the width direction X. The second part 111b overlaps with the first control wire 63A and the first control wire 64A as seen in the longitudinal direction Y. The first control line 85A and the first control wire 64A are connected by a first control connection member 141A. Specifically, the first control connection member 141A is connected to the distal end of the second portion 111b of the first control line 85A and the end of the first control wire 64A located toward the third resin side surface 53 in the longitudinal direction Y. The first control connection member 141A is, for example, a wire formed by wire bonding. The first control power line 86A includes a first wire portion 120 extending in the longitudinal direction Y from the contact portion 86p of the first control power line 86A to the conductive substrate 60, and a second wire portion 121 extending from the first wire portion 120 to the conductive substrate 60. In the present embodiment, the first control power line 86A is a single component, with the first wire portion 120, the second wire portion 121, the contact portion 86p, and the terminal portion 86t integrally formed. The first wire portion 120 extends from the contact portion 86p to the end of the main surface 42sa of the first conductive member 42A, which is located toward the third resin side surface 53. The first wire portion 120 extends obliquely so that the conductive substrate 60 approaches as the first resin side surface 51 approaches.The second wire portion 121 is entirely disposed on the main surface 42sa of the first conductive member 42A. The shape of the second wire portion 121 in a plan view is square, although it is not particularly limited. The second wire portion 121 is located in the width direction X between the first wire portion 100 of the first control line 84A and the first wire portion 110 of the first control line 85A. The second wire portion 121 is located in the longitudinal direction Y from the second wire portion 101 of the first control line 84A to the contact portion 86p. The width of the second wire portion 121 in the width direction X is larger than the width of the first wire portion 120 (the plan view extent in a direction perpendicular to the direction in which the first wire portion 120 extends). The first control power line 86B includes a first wire portion 122 extending in the longitudinal direction Y from the contact portion 86p of the first control power line 86B to the conductive substrate 60, and a second wire portion 123 extending from the first wire portion 122 to the conductive substrate 60. In the present embodiment, the first control power line 86B is a single component, with the first wire portion 122, the second wire portion 123, the contact portion 86p, and the terminal portion 86t integrally formed. The first wire portion 122 extends from the contact portion 86p to the end of the main surface 42sa of the first conductive member 42A, which is located toward the third resin side surface 53. The first wire portion 122 extends obliquely so that the conductive substrate 60 approaches as the first resin side surface 51 approaches.A portion of the end of the first wire portion 122, which is located toward the second wire portion 123, protrudes outward from the first conductive element 42A toward the first resin side surface 51. The second wire portion 123 extends from the first wire portion 122 in the longitudinal direction Y. The second wire portion 123 is located in the longitudinal direction Y from the second part 111b of the second wire portion 111 of the first control line 85A to the contact portion 86p. The first short-circuit detection line 87A includes a first wire portion 130 extending in the longitudinal direction Y from the contact portion 87p of the first short-circuit detection line 87A to the conductive substrate 60, and a second wire portion 131 extending from the first wire portion 130 to the conductive substrate 60. In the present embodiment, the first short-circuit detection line 87A is a single component, with the first wire portion 130, the second wire portion 131, the contact portion 87p, and the terminal portion 87t integrally formed. The first wire portion 130 and the second wire portion 131 both extend in the longitudinal direction Y. The first wire portion 130 extends from the contact portion 87p to the end of the main surface 42sa of the first conductive member 42A, which is located toward the third resin side surface 53. The second wire portion 131 is entirely disposed on the main surface 42sa of the first conductive member 42A.The width of the second wire portion 131 in the width direction X is larger than the width of the first wire portion 130 in the width direction X. The second wire portion 131 is located in the width direction X from the fourth wire portion 62pd of the first drive wire 62A to the second resin side surface 52 (see Fig. 16). In the present embodiment, the second wire portion 131 overlaps with the first wire portion 62pa and the third wire portion 62pc of the first drive wire 62A in the longitudinal direction Y. The first short-circuit detection line 87A and the first drive wire 62A are connected by a first short-circuit detection connection element 142A. Specifically, the first short-circuit detection connection element 142A is connected to the end of the second wire portion 131 of the first short-circuit detection line 87A, which is located toward the conductive substrate 60, and the end of the fourth wire portion 62pd of the first drive wire 62A, which is located toward the third resin side surface 53. The first short-circuit detection connection element 142A is, for example, a wire formed by wire bonding. The first short-circuit detection connection element 142A is connected to a portion of the fourth wire portion 62pd located from the first high-voltage diode 30B to the third resin side surface 53. The first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B of the first overvoltage reduction circuit 4A are attached to the first control lines 84A and 85A and the first control power lines 86A and 86B. Thus, in the present embodiment, the first control lines 84A and 85A and the first control power lines 86A and 86B define a conductive path (a wire section) of the first overvoltage reduction circuit 4A. The first low-voltage diode 32A is attached to the first control line 84A and the first control line 85A. Specifically, a first end of the first low-voltage diode 32A is connected to the second part 101b of the second wire portion 101 of the first control line 84A. A second end of the first low-voltage diode 32A is connected to the second wire portion 121 of the first control power line 86A. The first control line 84A and the first control power line 86A are electrically connected through the first low-voltage diode 32B. Specifically, the first control power line 86A includes a pad 123a to which the first low-voltage diode 32B is attached, and a wire connecting element 128 connecting the pad 123a and the second wire portion 123 of the first control power line 86A. The pad 123a is separated from the second wire portion 123. The pad 123a is spaced apart from the second wire portion 123. In more detail, the pad 123a is located in the longitudinal direction Y from the second wire portion 123 to the fourth resin side surface 54 (to the first semiconductor elements 10A). The soldering land 123a is arranged such that it overlaps with the second part 101b of the second wire section 101 of the first control line 84A and the second part 111b of the second wire section 111 of the first control line 85A, as viewed in the width direction X.The soldering pad 123a is located in the width direction X between the second part 101b of the second wire section 101 of the first control line 84A and the second part 111b of the second wire section 111 of the first control line 85A. In a plan view, the wire connecting element 128 extends obliquely such that the first resin side surface 51 approaches as the third resin side surface 53 approaches. The wire connecting element 128 extends over the second wire section 111 of the first control line 85A. The anode electrode of the first low-voltage diode 32B is connected to the second part 101b of the second wire section 101 of the first control line 84A. The cathode electrode of the first low-voltage diode 32B is connected to the soldering pad 123a. In this way, the first low-voltage diodes 32A and 32B are connected in series between the first control power line 86A and the first control power line 86B by means of the first control line 84A. The first capacitor 33A is attached to the first control power line 86A and the first control line 85A. Specifically, the first terminal of the first capacitor 33A is connected to the second wire portion 121 of the first control power line 86A. The second terminal of the first capacitor 33A is connected to the first part 111a of the second wire portion 111 of the first control line 85A. The first capacitor 33B is attached to the first control line 85A and the first control power line 86B. Specifically, the first terminal of the first capacitor 33B is connected to the first part 111a of the second wire portion 111 of the first control line 85A. The second terminal of the first capacitor 33B is connected to the second wire portion 123 of the first control power line 86B. In this way, the first capacitors 33A and 33B are connected in series between the first control power line 86A and the first control power line 86B via the first control line 85A. As shown in Fig. 18, the second control line 84B includes a first wire portion 102 extending in the longitudinal direction Y from the contact portion 84p of the second control line 84B to the conductive substrate 60, a second wire portion 103 extending from the first wire portion 102 to the conductive substrate 60, and a third wire portion 104 extending from the second wire portion 103 in the width direction X. In the present embodiment, the second control line 84B is a single component, with the first wire portion 102, the second wire portion 103, the third wire portion 104, the contact portion 84p, and the terminal portion 84t being integrally formed. The first wire portion 102 extends from the contact portion 84p to the end of the main surface 42sb of the second conductive member 42B, which is located toward the third resin side surface 53.The first wire portion 102 extends obliquely so that the conductive substrate 60 comes closer as the second resin side surface 52 of the resin member 50 comes closer. The width of the first wire portion 102 (the plan view extent in a direction perpendicular to the direction in which the first wire portion 102 extends) is smaller than the width of the contact portion 84p in the width direction X. The second wire portion 103 is entirely disposed on the main surface 42sb of the second conductive member 42B. The second wire portion 103 is L-shaped in plan view. The second wire portion 103 includes a first part 103a and a second part 103b. The first part 103a extends from the first wire portion 102 in the longitudinal direction Y. The second part 103b extends from the end of the first portion 103a located toward the conductive substrate 60 in the width direction X. The second part 103b extends in the width direction X to the second resin side surface 52.The width of the first portion 103a in the width direction X is greater than the width of the second portion 103b in the longitudinal direction Y. The second portion 103b overlaps with the second control wire 63B in the longitudinal direction Y. The third wire portion 104 is located in the longitudinal direction Y from the second portion 103b of the second wire portion 103 to the contact portion 84p (the third resin side surface 53). The third wire portion 104 extends in the width direction X from the first portion 103a of the second wire portion 103 to the second resin side surface 52. The third wire portion 104 is spaced apart from the second portion 103b in the longitudinal direction Y and arranged adjacent to the second portion 103b. The second control line 84B and the second control wire 63B are connected by a second control connection member 140B. Specifically, the second control connection member 140B is connected to the end of the second portion 103b of the second wire portion 103 of the second control line 84B, which is located toward the second resin side surface 52, and to the end of the second control wire 63B, which is located toward the third resin side surface 53 in the longitudinal direction Y. The second control connection member 140B is, for example, a wire formed by wire bonding. The second control line 85B includes a first wire portion 112 extending in the longitudinal direction Y from the contact portion 85p of the second control line 85B to the conductive substrate 60, and a second wire portion 113 extending from the first wire portion 112 to the conductive substrate 60. In the present embodiment, the first wire portion 112, the second wire portion 113, the contact portion 85p, and the terminal portion 85t are integrally formed as a single component. The first wire portion 112 extends from the contact portion 85p to the end of the main surface 42sb of the second conductive member 42B, which is located toward the third resin side surface 53. The first wire portion 112 extends obliquely so that the conductive substrate 60 approaches as the second resin side surface 52 approaches. The second wire portion 113 is arranged entirely on the main surface 42sb of the second conductive element 42B.The second wire portion 113 is L-shaped in plan view. The second wire portion 113 has a first part 113a and a second part 113b. The first part 113a extends from the first wire portion 112 in the longitudinal direction Y. The second part 113b extends in the width direction X from the first part 113a to the second resin side surface 52. The second part 113b is aligned with the third wire portion 104 of the second control line 84B in the longitudinal direction Y and spaced from the third wire portion 104 in the width direction X. The second part 113b is arranged next to the third wire portion 104 of the second control line 84B in the width direction X. The second part 113b overlaps with the second control wire 63B and the second control wire 64B in the longitudinal direction Y. The second control line 85B and the second control wire 64B are connected by a second control connection member 141B. Specifically, the second control connection member 141B is connected to the second part 113b of the second control line 85B and the end of the second control wire 64B located toward the third resin side surface 53 in the longitudinal direction Y. The second control connection member 141B is, for example, a wire formed by wire bonding. The second control power line 86C includes a first wire portion 124 extending in the longitudinal direction Y from the contact portion 86p of the second control power line 86C to the conductive substrate 60, and a second wire portion 125 extending from the first wire portion 124 to the conductive substrate 60. In the present embodiment, the second control power line 86C is a single component, with the first wire portion 124, the second wire portion 125, the contact portion 86p, and the terminal portion 86t integrally formed. The first wire portion 124 extends from the contact portion 86p to the end of the main surface 42sb of the second conductive member 42B, which is located toward the third resin side surface 53. The first wire portion 124 extends obliquely so that the conductive substrate 60 approaches as the second resin side surface 52 approaches.The second wire portion 125 is entirely disposed on the main surface 42sb of the second conductive member 42B. The shape of the second wire portion 125 in a plan view is square, although it is not particularly limited. The second wire portion 125 is located in the width direction X between the first wire portion 102 of the second control line 84B and the first wire portion 112 of the second control line 85B. The second wire portion 125 is located in the longitudinal direction Y from the third wire portion 104 of the second control line 84B to the contact portion 86p. The width of the second wire portion 125 in the width direction X is greater than the width of the first wire portion 124 (the plan view extent in a direction perpendicular to the direction in which the first wire portion 124 extends). The second control power line 86D includes a first wire portion 126 extending in the longitudinal direction Y from the contact portion 86p of the second control power line 86D to the conductive substrate 60, and a second wire portion 127 extending from the first wire portion 126 to the conductive substrate 60. In the present embodiment, the second control power line 86D is a single component, with the first wire portion 126, the second wire portion 127, the contact portion 86p, and the terminal portion 86t integrally formed. The first wire portion 126 extends from the contact portion 86p to the end of the main surface 42sb of the second conductive member 42B, which is located toward the third resin side surface 53. The first wire portion 126 extends obliquely so that the conductive substrate 60 approaches as the second resin side surface 52 approaches.The second wire portion 127 is arranged entirely on the main surface 42sb of the second conductive element 42B. The second wire portion 127 extends from the first wire portion 126 in the longitudinal direction Y. The second wire portion 127 is located in the longitudinal direction Y from the second part 113b of the second wire portion 113 of the second control line 85B to the contact portion 86p. The second wire portion 127 is located in the width direction X from the first part 113a of the second wire portion 113 of the second control line 85B to the second resin side surface 52 and is spaced from the first part 113 in the width direction X. The second short-circuit detection line 87B includes a first wire portion 132 extending in the longitudinal direction Y from the contact portion 87p of the second short-circuit detection line 87B to the conductive substrate 60, and a second wire portion 133 extending from the first wire portion 132 to the conductive substrate 60. In the present embodiment, the second short-circuit detection line 87B is a single component, with the first wire portion 132, the second wire portion 133, the contact portion 87p, and the terminal portion 87t integrally formed. The first wire portion 132 and the second wire portion 133 both extend in the longitudinal direction Y. The first wire portion 132 extends from the contact portion 87p to the end of the main surface 42sb of the second conductive member 42B, which is located toward the third resin side surface 53. The second wire portion 133 is entirely disposed on the main surface 42sb of the second conductive element 42B.The width of the second wire portion 133 in the width direction X is greater than the width of the first wire portion 132 in the width direction X. The second wire portion 133 is arranged overlapping the first wire portion 62pa of the second drive wire 62B as viewed in the width direction X. The second short-circuit detection line 87B and the second drive wire 62B are connected by a second short-circuit detection connection element 142B. Specifically, the second short-circuit detection connection element 142B is connected to the end of the second wire portion 133 of the second short-circuit detection line 87B, which is located toward the conductive substrate 60, and the end of the first wire portion 62pa of the second drive wire 62B, which is located toward the third resin side surface 53. The second short-circuit detection connection element 142B is, for example, a wire formed by wire bonding. The second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B of the second overvoltage reduction circuit 4B are attached to the second control lines 84B and 85B and the second control power lines 86C and 86D. Thus, in the present embodiment, the second control line 84B, the second control line 85B, and the second control power lines 86C and 86D define a conductive path (a wire section) of the second overvoltage reduction circuit 4B. The second low-voltage diode 34A is attached to the second control line 84B and the second control power line 86C. Specifically, the anode electrode of the second low-voltage diode 34A is connected to the first part 103a of the second wire portion 103 of the second control line 84B. The cathode electrode of the second low-voltage diode 34A is connected to the second wire portion 125 of the second control power line 86C. The second control line 84B and the second control power line 86D are electrically connected to the second low-voltage diode 34B. Specifically, the second control power line 86D includes a pad 127a to which the second low-voltage diode 34B is attached, and a wire connecting member 129 connecting the pad 127a and the second wire portion 127 of the second control power line 86D. The pad 127a is located in the longitudinal direction Y from the second wire portion 127 to the fourth resin side surface 54 (to the second semiconductor elements 10B). The pad 127a is arranged to overlap the third wire portion 104 of the second control line 84B and the second part 113b of the second wire portion 113 of the second control line 85B in the width direction X.The soldering pad 127a is located in the width direction X between the third wire portion 104 of the second control line 84B and the second part 113b of the second wire portion 113 of the second control line 85B. In a plan view, the wire connecting element 129 extends obliquely such that the second resin side surface 52 approaches as the third resin side surface 53 approaches. The wire connecting element 129 extends over the second wire portion 113 of the second control line 85B. The cathode electrode of the second low-voltage diode 34B is connected to the distal end of the third wire portion 104 of the second control line 84B. The anode electrode of the second low-voltage diode 34B is connected to the soldering pad 127a of the second control power line 86D.In this way, the second low-voltage diodes 34A and 34B are connected in series between the second control power line 86C and the second control power line 86D by means of the second control line 84B. The second capacitor 35A is attached to the second control power line 86C and the second control line 85B. Specifically, the first terminal of the second capacitor 35A is connected to the second wire portion 125 of the second control power line 86C. The second terminal of the second capacitor 35A is connected to the first portion 113a of the second wire portion 113 of the second control line 85B. The second capacitor 35B is attached to the second control line 85B and the second control power line 86D. Specifically, the first terminal of the second capacitor 35B is connected to the first part 113a of the second wire portion 113 of the second control line 85B. The second terminal of the second capacitor 35B is connected to the second wire portion 127 of the second control power line 86D. In this way, the second capacitors 35A and 35B are connected in series between the second control power line 86C and the second control power line 86D via the second control line 85B. As shown in Fig. 15, the first control side opening 58A, the second control side opening 58B, the first drive side opening 59A, and the second drive side opening 59B are formed in the resin member 50. The first drive side opening 59A and the second drive side opening 59B correspond to the first drive side opening 59A and the second drive side opening 59B of the first embodiment. The first control side opening 58A is separated from the second control side opening 58B. The first control side opening 58A and the second control side opening 58B are arranged along one side of the resin member 50 in a state of being spaced apart from each other in a plan view. The first control side opening 58A and the second control side opening 58B are arranged in a state of being spaced apart from each other in the width direction X. The first control-side opening 58A exposes a portion of the conductive substrate 60 (the fifth substrate layer 60F) located toward the third resin side surface 53 in the longitudinal direction Y. The first control-side opening 58A exposes a portion of the first conductive element 42A protruding from the conductive substrate 60 toward the third resin side surface 53. In more detail, the first control-side opening 58A exposes the first surge suppression circuit 4A electrically connected to the first semiconductor elements 10A in the same manner as the first control-side opening 58A of the first embodiment. The first control side opening 58A exposes the first low-voltage diodes 32A and 32B, the first capacitors 33A and 33B, a part of each of the first control lines 84A and 85A and the first control power lines 86A and 86B, and a part of the first conductive element 42A.In the present embodiment, the first control-side opening 58A does not expose the first short-circuit detection line 87A. Although not particularly limited, the shape of the first control-side opening 58A in a plan view is rectangular, such that the width direction X is the long side direction and the length direction Y is the short side direction. The interior of the first control-side opening 58A is an open space. The second control-side opening 58B exposes a portion of the conductive substrate 60 (the fifth substrate layer 60G) located toward the third resin side surface 53 in the longitudinal direction Y. The second control-side opening 58B exposes a portion of the second conductive element 42B protruding from the conductive substrate 60 toward the third resin side surface 53. In more detail, the second control-side opening 58B exposes the second surge reduction circuit 4B electrically connected to the second semiconductor elements 10B in the same manner as the second control-side opening 58B of the first embodiment. The second control side opening 58B exposes the second low-voltage diodes 34A and 34B, the second capacitors 35A and 35B, a part of each of the second control lines 84B and 85B, the second control power lines 86C and 86D, and a part of the second conductive element 42B.In the present embodiment, the second control-side opening 58B does not expose the second short-circuit detection line 87B. Although not particularly limited, the shape of the second control-side opening 58B in a plan view is rectangular, such that the width direction X is the long-side direction and the length direction Y is the short-side direction. The interior of the second control-side opening 58B is an open space. Manufacturing process As shown in Fig. 19, the method for manufacturing the semiconductor device 1B of the present embodiment includes a support substrate preparation step (step S21), a conductor connection step (step S22), an electronic component mounting step (step S23), a semiconductor element mounting step (step S24), a conductor substrate preparation step (step S25), a substrate connection step (step S26), a wire formation step (step S27), and an encapsulation step (step S28). The support substrate preparation step, the conductor connection step, the electronic component mounting step, the semiconductor element mounting step, the conductor substrate preparation step, the substrate connection step, the wire formation step, and the encapsulation step are performed sequentially to manufacture the semiconductor device 1B. In the carrier substrate manufacturing step, in the same manner as in the carrier substrate manufacturing step of the first embodiment, the first conductive member 42A is connected to the first insulating substrate 41A, and the second conductive member 42B is connected to the second insulating substrate 41B. In the conductor connecting step, a lead frame is bonded, for example, with an electrically insulating bonding material, to the main surface 42sa of the first conductive element 42A and the main surface 42sb of the second conductive element 42B. The lead frame includes the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B. In the electronic component mounting step, the low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B are bonded to the control lines 84A, 84B, 85A, and 85B, the control power lines 86A to 86D, and the short-circuit detection lines 87A and 87B with a conductive bonding material such as silver paste or solder. In the semiconductor element mounting step, in the same manner as the semiconductor element mounting step of the first embodiment, the drain electrode 11 of each first semiconductor element 10A is connected to the main surface 42sa of the first conductive element 42A, and the drain electrode 11 of each second semiconductor element 10B is connected to the main surface 42sb of the second conductive element 42B. In the conductor substrate preparation step, an assembly including the conductive substrate 60, the input lines 81 and 82, and the output line 83 is created in the same manner as in the wire preparation step of the first embodiment. Then, the first high-voltage diodes 30A and 30B are attached to the fifth substrate layer 60F of the conductive substrate 60, and the second high-voltage diodes 31A and 31B are attached to the fifth substrate layer 60G. The conductor substrate preparation step differs from the wire preparation step of the first embodiment in that the low-voltage diodes 32A, 32B, 34A, and 34B, and the capacitors 33A, 33B, 35A, and 35B are not attached to the conductive substrate 60. In the substrate connecting step, in the same manner as the substrate connecting step of the first embodiment, the conductive substrate 60 assembly, the input lines 81 and 82, and the output line 83 are connected to the first conductive member 42A and the second conductive member 42B. In the wire forming step, in the same manner as in the first embodiment, a binding device forms the drive connection elements 91A and 91B, the control connection elements 92A and 92B, and the control connection elements 93A and 93B. In the wire forming step, the binding device connects a wire to the second part 111b of the second wire section 111 of the first control line 85A. Then, while spreading the wire, the binding device moves to the first control wire 64A and connects the wire to the first control wire 64A. This forms the first control connecting element 141A connecting the first control line 85A and the first control wire 64A. The binding device connects a wire to the second part 101b of the second wire section 101 of the first control line 84A. Then, while extending the wire, the binding device moves to the first control wire 63A and connects the wire to the first control wire 63A. This forms the first control connecting element 140A, which connects the first control line 84A and the first control wire 63A. The binding device connects a wire to the second wire portion 131 of the first short-circuit detection line 87A. Then, while extending the wire, the binding device moves to the fourth wire portion 62pd of the first drive wire 62A and connects the wire to the fourth wire portion 62pd. This forms the first short-circuit detection connecting element 142A, which connects the first short-circuit detection line 87A and the first drive wire 62A. The binding device connects a wire to the second wire portion 133 of the second short-circuit detection line 87B. Then, while extending the wire, the binding device moves to the first wire portion 62qa of the second drive wire 62B and connects the wire to the first wire portion 62qa. This forms the second short-circuit detection connecting element 142B, which connects the second short-circuit detection line 87B and the second drive wire 62B. The binding device connects a wire to the second part 103b of the second wire section 103 of the second control line 84B. Then, while extending the wire, the binding device moves to the second control wire 63B and connects the wire to the second control wire 63B. This forms the second control connecting element 140B, which connects the second control line 84B and the second control wire 63B. Finally, the binding device connects a wire to the second part 113b of the second wire section 113 of the second control line 85B. Then, while extending the wire, the binding device moves to the second control wire 64B and connects the wire to the second control wire 64B. This forms the second control connecting element 141B, which connects the second control line 85B and the second control wire 64B. In the encapsulation step, the resin member 50 is formed in the same manner as in the encapsulation step of the first embodiment. In this step, the control-side openings 58A and 58B and the drive-side openings 59A and 59B are formed. Thereafter, the lead frame cutting step and the lead formation step are performed in the same manner as in the first embodiment. This produces the semiconductor device 1B. In the wire forming step, the drive connection elements 91A and 91B, the control connection elements 92A, 92B, 93A and 93B, the control connection elements 140A, 140B, 141A and 141B and the short circuit detection connection elements 142A and 142B can be formed in any order. In the present embodiment, the high-voltage diodes 30A, 30B, 31A, and 31B of the short-circuit detection circuits 3A and 3B do not need to be attached to the conductive substrate 60 in the conductive substrate fabrication step. For example, the high-voltage diodes 30A, 30B, 31A, and 31B do not need to be attached to the conductive substrate 60 in the conductive substrate fabrication step. The high-voltage diodes 30A, 30B, 31A, and 31B can be mounted in the first drive-side opening 59A and the second drive-side opening 59B after the encapsulation step. In this case, the first drive-side opening 59A is filled with the insulating material 71 after the high-voltage diodes 30A and 30B are attached to the conductive substrate 60. Further, the second drive side opening 59B is filled with the insulating material 72 after the high voltage diodes 31A and 31B are attached to the conductive substrate 60.The semiconductor device 1B may be shipped from a factory without the high-voltage diodes 30A, 30B, 31A, and 31B attached to the conductive substrate 60. In this case, the user of the semiconductor device 1B attaches the high-voltage diodes 30A, 30B, 31A, and 31B to the conductive substrate 60 through the first drive-side opening 59A and the second drive-side opening 59B. Accordingly, in the present embodiment, the electronic component mounting step does not need to be performed before the encapsulation step. For example, the electronic component mounting step may be performed after the encapsulation step. Further, the electronic component mounting step may be omitted from the method for manufacturing the semiconductor device 1B. In this case, the user of the semiconductor device 1B does not need to mount the low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B to the conductive substrate 60 after the semiconductor device 1B is shipped from the factory. The low-voltage diodes 32A, 32B, 34A, and 34B and the capacitors 33A, 33B, 35A, and 35B are mounted to the conductive substrate 60 through the first control-side opening 58A and the second control-side opening 58B. In addition to the advantages of the semiconductor device 1A according to the first embodiment, the semiconductor device 1B according to the first embodiment has the advantages described below. (2-1) The first low-voltage diodes 32A and 32B and the first capacitors 33A and 33B are directly connected to the first control lines 84A and 85A and the first control power lines 86A and 86B. This configuration allows the omission of connecting elements (wires) connecting the first control power lines 86A and 86B to the conductive substrate 60. Accordingly, the number of connecting elements can be reduced. This reduces the inductance of the semiconductor device 1B that would otherwise be caused by connecting elements. The second low-voltage diodes 34A and 34B and the second capacitors 35A and 35B are directly connected to the second control lines 84B and 85B, the second control power line 86C, and the second control power line 86D. This configuration allows the omission of connecting elements (wires) that connect the second control power line 86C and the second control power line 86D to the conductive substrate 60. Accordingly, the number of connecting elements can be reduced. This reduces the inductance of the semiconductor device 1B that would otherwise be caused by connecting elements. (2-2) The first control connection member 140A is connected to the end of the first control wire 63A located at the third resin side surface 53 of the resin member 50 and the end of the first control line 84A located at the conductive substrate 60. This shortens the first control connection member 140A and reduces inductance resulting from the first control connection member 140A. The second control connection element 140B is connected to the end of the second control wire 63B located at the third resin side surface 53 and the end of the second control line 84B located at the conductive substrate 60 and the second resin side surface 52. This shortens the second control connection element 140B and reduces inductance resulting from the second control connection element 140B. (2-3) The first control connection element 141A is connected to the end of the first control wire 64A located on the third resin side surface 53 and the end of the first control line 85A located on the conductive substrate 60. This shortens the first control connection element 141A and reduces the inductance resulting from the first control connection element 141A. The second control connection element 141B is connected to the end of the second control wire 64B located at the third resin side surface 53 and the end of the second control line 85B located at the conductive substrate 60 and the second resin side surface 52. This shortens the second control connection element 141B and reduces inductance resulting from the second control connection element 141B. (2-4) Each of the lines 84A, 84B, 85A, 85B, and 86A to 86D defining a conductive path of the conductive path (wire portion) of the surge suppression circuits 4A or 4B is a single component, with the wire portion, contact, and terminal integrally formed. This configuration reduces inductance between the terminal of each line and the surge suppression circuits 4A and 4B compared to a case where, for example, a wire portion and a contact are connected by a wire. Third embodiment Referring to FIGS. 20 to 24, a semiconductor device 1C according to a third embodiment will now be described. The semiconductor device 1C of the present embodiment differs from the semiconductor device 1A of the present embodiment in the terminals 20, the wire portions of the conductive substrate 60, and the circuit configuration. In the following description, the same reference numerals are given to components that are the same as the corresponding components of the semiconductor device 1A in the first embodiment. Such components will not be described in detail. Circuit configuration of the semiconductor device As shown in Fig. 24, the terminals 20 of the semiconductor device 1C differ from the terminals 20 of the semiconductor device 1A according to the first embodiment in that a first interface terminal 27A is used instead of the first control power terminal 25A and a second interface terminal 27B is used instead of the second control power terminal 25C. The first interface terminal 27A is supplied with a signal from a gate drive circuit (not shown) arranged outside the semiconductor device 1C, such that a control signal supplied to the first control terminal 23A is kept in an off state when a lower arm circuit is in an on state. The second interface terminal 27B is supplied with a signal from a gate drive circuit (not shown) arranged outside the semiconductor device 1C, such that a control signal supplied to the second control terminal 23B is kept in an off state when a circuit of an upper arm is in an on state. The configuration connecting the first semiconductor elements 10A and the second semiconductor elements 10B is the same as the configuration connecting the first semiconductor elements 10A and the second semiconductor elements 10B in the first embodiment. The semiconductor device 1C is configured to enable mounting of first low-voltage diodes 36A and 36B, second low-voltage diodes 37A and 37B, a first resistor 38A, a first resistor 38B, a second resistor 38C, a second resistor 38D, a first switching element 39A, and a second switching element 39B, instead of the high-voltage diodes 30A, 30B, 31A, and 31B, the low-voltage diodes 32A, 32B, 34A, and 34B, and the capacitors 33A, 33B, 35A, and 35B. Now, the semiconductor device 1C in a state in which it has the low-voltage diodes 36A, 36B, 37A and 37B, the resistors 38A to 38D and the switching elements 39A and 39B will be described. In the present embodiment, the first low-voltage diodes 36A and 36B, which are connected anti-serially between the source and gate of each first semiconductor element 10A, form a first overvoltage absorption circuit 5A that absorbs an overvoltage generated at the gate electrode 13 of the first semiconductor element 10A. In more detail, the cathode electrode of the first low-voltage diode 36A is electrically connected to the gate electrode 13 of the first semiconductor element 10A. The anode electrode of the first low-voltage diode 36A is connected to the anode electrode of the first low-voltage diode 36B. The cathode electrode of the first low-voltage diode 36B is electrically connected to the source electrode 12 of the first semiconductor element 10A. Schottky barrier diodes are used as the first low-voltage diodes 36A and 36B. Furthermore, the first switching element 39A, which is electrically connected to the gate electrode 13 of the first semiconductor element 10A, the first resistor 38A, and the first resistor 38B form a first interface circuit 6A that drives the first semiconductor element 10A. In more detail, for example, a MOSFET is used as the first switching element 39A. The drain electrode 39d of the first switching element 39A is electrically connected to the gate electrode 13 of the first semiconductor element 10A. The source electrode 39S of the first switching element 39A is electrically connected to the first control power terminal 25B. The gate electrode 39g of the first switching element 39A is electrically connected to the first interface terminal 27A. The first resistor 38A is arranged between the first interface terminal 27A and the gate electrode 39g of the first switching element 39A. The first resistor 38A has a first terminal connected to the first interface terminal 27A and a second terminal connected to the gate electrode 39g of the first switching element 39A. The first resistor 38B is arranged between the gate and the source of the first switching element 39A. The first resistor 38B has a first terminal connected to the first interface terminal 27A and the first terminal of the first resistor 38A, and a second terminal connected to the source electrode 39S of the first switching element 39A. In the present embodiment, the second low-voltage diodes 37A and 37B, which are connected anti-serially between the gate and source of each second semiconductor element 10B, form a second overvoltage absorption circuit 5B that absorbs an overvoltage generated at the gate electrode 13 of the second semiconductor element 10B. In more detail, the cathode electrode of the second low-voltage diode 37A is electrically connected to the gate electrode 13 of the second semiconductor element 10B. The anode electrode of the second low-voltage diode 37A is electrically connected to the anode electrode of the second low-voltage diode 37B. The cathode electrode of the second low-voltage diode 37B is electrically connected to the source electrode 12 of the second semiconductor element 10B. Schottky barrier diodes are used as the second low-voltage diodes 37A and 37B. Furthermore, the second switching element 39B, which is electrically connected to the gate electrode 13 of the second semiconductor element 10B, the second resistor 38C, and the second resistor 38D form a second interface circuit 6B that drives the second semiconductor element 10B. In more detail, for example, a MOSFET is used as the second switching element 39B. The drain electrode 39d of the second switching element 39B is electrically connected to the gate electrode 13 of the second semiconductor element 10B. The source electrode 39S of the second switching element 39B is electrically connected to the second control power terminal 25D. The gate electrode 39g of the second switching element 39B is electrically connected to the second interface terminal 27B. The second resistor 38C is arranged between the second interface terminal 27B and the gate electrode 39g of the second switching element 39B. The second resistor 38C has a first terminal connected to the second interface terminal 27B and a second terminal connected to the gate electrode 39g of the second switching element 39B. The second resistor 38D is arranged between the gate and the source of the second switching element 39B. The second resistor 38D has a first terminal connected to the second interface terminal 27B and the first terminal of the second resistor 38C, and a second terminal connected to the source electrode 39S of the second switching element 39B. Semiconductor device configuration As shown in Fig. 20 to Fig. 23, the semiconductor device 1C of the present embodiment differs from the semiconductor device 1A of the first embodiment in the layout of the wirings 80. Further, the second wiring region 70B and a part of the first wiring region 70A are different. Since the lines 80 are arranged adjacent to the first wiring region 70A in the longitudinal direction Y, the semiconductor device 1C includes the first control line 84A, the first control line 85A, the first control power line 86B, a first interface line 88A, and the first short-circuit detection line 87A. The first control line 85A, the first control line 84A, the first interface line 88A, the first control power line 86B, and the first short-circuit detection line 87A are arranged sequentially from the input lines 81 and 82 to the output line 83 in the width direction X. The first interface line 88A is identical in shape to, for example, the first control line 85A. The first interface line 88A has a contact portion 88p and a terminal portion 88t.In the present embodiment, the first interface line 88A is a single component, with the contact portion 88p and the terminal portion 88t integrally formed. The contact portion 88p has a through-hole 88h extending through the contact portion 88p in the thickness direction Z. A part of the resin member 50 is contained in the through-hole 88h. Since the lines 80 are arranged adjacent to the second wiring region 70B in the longitudinal direction Y, the semiconductor device 1C includes the second control line 84B, the second control line 85B, the second control power line 86D, a second interface line 88B, and the second short-circuit detection line 87B. The second control line 85B, the second control line 84B, the second control power line 86D, the second interface line 88B, and the second short-circuit detection line 87B are arranged sequentially in the width direction X from the output line 83 to the input lines 81 and 82. The second interface line 88B is identical in shape to, for example, the second control line 85B. The second interface line 88B has a contact portion 88p and a terminal portion 88t.In the present embodiment, the second interface line 88B is a single component, with the contact portion 88p and the terminal portion 88t integrally formed. The contact portion 88p has a through-hole 88h extending through the contact portion 88p in the thickness direction Z. A part of the resin member 50 is contained in the through-hole 88h. In the first drive wire 62A, the first wire portion 62pa, the second wire portions 62pb, the third wire portion 62pc, and the first part 62py of the fourth wire portion 62pd are the same as in the first drive wire 62A of the first embodiment. The first drive wire 62A differs from the first drive wire 62A of the first embodiment in the second part 62pz of the fourth wire portion 62pd. Specifically, the length in the width direction X of the portion of the second part 62pz extending in the width direction X is greater than the length in the width direction X of the portion of the second part 62pz of the first embodiment extending in the width direction X. The portion of the second part 62pz extending in the longitudinal direction Y is arranged at the end of the fifth substrate layer 60F that is located toward the output line 83 in the width direction X.The portion of the second part 62pz extending in the longitudinal direction Y is arranged to overlap the first wire portion 62pa of the first drive wire 62A as seen in the longitudinal direction Y. The first drive wire 62A and the first short-circuit detection line 87A are electrically connected to the first short-circuit detection connecting element 97A. The first short-circuit detection connecting element 97A connects the end of the second part 62pz of the fourth wire portion 62pd of the first drive wire 62A, which is located toward the third resin side surface 53 in the longitudinal direction Y, and the contact portion 87p of the first short-circuit detection line 87A. The first wire portion 63pa and the second wire portion 63pb of the first control wire 63A are the same as the first control wire 63A of the first embodiment. The third wire portion 63pc of the first control wire 63A differs from the first control wire 63A of the first embodiment. Specifically, the third wire portion 63pc extends from the second wire portion 63pb in the longitudinal direction Y to the third resin side surface 53. The first control wire 63A and the first control line 84A are electrically connected by the first control line connecting member 94A. The first control line connecting member 94A is connected to the end of the third wire portion 63pc of the first control wire 63A, which is located toward the third resin side surface 53 in the longitudinal direction Y, and the contact portion 84p of the first control line 84A. In contrast to the first control wire 64A of the first embodiment, the first control wire 64A does not have the second wire portion 64pb and the third wire portion 64pc. The first control wire 64A extends in the longitudinal direction Y. The length of the first control wire 64A in the longitudinal direction Y is greater than the length of the first wire portion 64pa of the first control wire 64A of the first embodiment in the longitudinal direction Y. The first control wire 64A and the first control line 85A are electrically connected by the first control line connecting member 95A. The first control line connecting member 95A is connected to the end of the first control wire 64A located toward the third resin side surface 53 in the longitudinal direction Y and to the contact portion 85p of the first control line 85A. The first control power wire 66A is L-shaped in plan view. The second control power wire 66B has the first wire portion 66pa and the second wire portion 66pb. The first wire portion 66pa extends from the end of the fifth substrate layer 60F, which is located in the longitudinal direction Y toward the third resin side surface 53, in the longitudinal direction Y to the first semiconductor elements 10A. The first wire portion 66pa is arranged from the second part 62pz of the fourth wire portion 62pd of the first control wire 62A to the first resin side surface 51. The second wire portion 66pb extends in the width direction X from the end of the first wire portion 66pa, which is located in the longitudinal direction Y toward the first semiconductor elements 10A. The second wire portion 66pb extends to the first resin side surface 51.The second wire portion 66pb is arranged from the first part 62py of the fourth wire portion 62pd of the first control wire 62A in the width direction X to the third resin side surface 53. The distal end of the second wire portion 66pb is located near the third wire portion 63pc of the first control wire 63A in the width direction X. The first control power wire 66A and the first control power line 86B are electrically connected by the first control power connecting member 96B. The first control power connecting member 96B connects the end of the first wire portion 66pa of the first control power wire 66A, which is located toward the third resin side surface 53, in the longitudinal direction Y to the contact portion 86p of the first control power line 86B. A first interface wire 68A is located in the width direction X between the first wire portion 66pa of the first control power wire 66A and the third wire portion 63pc of the first control wire 63A. The first interface wire 68A is arranged in the longitudinal direction Y from the second wire portion 66pb of the first control power wire 66A to the third resin side surface 53. The first interface wire 68A runs in the longitudinal direction Y. The first interface wire 68A and the first interface line 88A are connected by a first interface connecting member 98A. The first interface connecting member 98A is connected to the end of the first interface wire 68A located toward the third resin side surface 53 in the longitudinal direction Y and to the contact portion 88p of the first interface line 88A. The first interface connecting member 98A is, for example, a wire formed by wire bonding. A first relay wire 69A is arranged in the width direction X between the third wire portion 63pc of the first control wire 63A and the first control wire 64A. The first relay wire 69A extends in the longitudinal direction Y. A second relay wire 69B is arranged in the width direction X between the third wire portion 63pc of the first control wire 63A and the second control power wire 66B. The second relay wire 69B is L-shaped in plan view. The second relay wire 69B has a first wire portion 69pa extending in the longitudinal direction Y and a second wire portion 69pb extending in the width direction X. The second wire portion 69pb extends from the end of the first wire portion 69pa, which is located in the longitudinal direction Y toward the first semiconductor elements 10A, to the output line 83. The first low-voltage diodes 36A and 36B constituting the first surge absorbing circuit 5A are attached to the first control wire 63A, the first control wire 64A, and the first relay wire 69A. The first low-voltage diodes 36A and 36B are connected in anti-serial fashion between the first control wire 63A and the first control wire 64A by means of the first relay wire 69A. Specifically, the cathode electrode of the first low-voltage diode 36A is connected to the third wire portion 63pc of the first control wire 63A. The anode electrode of the first low-voltage diode 36A is connected to the first relay wire 69A. The anode electrode of the first low-voltage diode 36B is connected to the first relay wire 69A. The cathode electrode of the first low-voltage diode 36B is connected to the first control wire 64A. In the present embodiment, the first low-voltage diode 36A is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. Further, the first low-voltage diode 36B is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. In addition, the first low-voltage diode 36A and the first low-voltage diode 36B are arranged such that they are aligned with each other in the longitudinal direction Y and spaced apart in the width direction X. The first resistors 38A and 38B and the first switching element 39A constituting the first interface circuit 6A are attached to the first control wire 63A, the second control power wire 66B, the first interface wire 68A, and the second relay wire 69B. The first switching element 39A is electrically connected to the first control wire 63A, the second control power wire 66B, and the second relay wire 69B. Specifically, the drain electrode 39d of the first switching element 39A is connected to the third wire portion 63pc of the first control wire 63A. The source electrode 39S of the first switching element 39A is connected to the second wire portion 66pb of the second control power wire 66B. The gate electrode 39g of the first switching element 39A is connected to the second relay wire 69B. In the present embodiment, the first switching element 39A is located at the first semiconductor elements 10A, the first low-voltage diodes 36A and 36B, the first resistor 38A, and the first resistor 38B. The first resistor 38A and the first resistor 38B are connected by means of the first interface wire 68A between the second control power wire 66B and the second relay wire 69B. The first terminal of the first resistor 38A is connected to the second relay wire 69B. The second terminal of the first resistor 38A is connected to the first interface wire 68A. The first terminal of the first resistor 38B is connected to the first interface wire 68A. The second terminal of the first resistor 38B is connected to the first wire portion 66pa of the second control power wire 66B. In the present embodiment, the first resistor 38A is positioned such that its first terminal and its second terminal are arranged in the width direction X. Further, the first resistor 38B is positioned such that its first terminal and its second terminal are arranged in the width direction X. In addition, the first resistor 38A and the first resistor 38B are arranged such that they are aligned with each other in the longitudinal direction Y and spaced apart in the width direction X. The second drive wire 62B is the same as the second drive wire 62B of the first embodiment. In the same manner as in the first embodiment, the second short-circuit detection connector 97B is connected to the second drive wire 62B and the second short-circuit detection line 87B. The first wire portion 63qa of the second control wire 63B is identical to the first control wire 63A of the first embodiment. In the second control wire 63B of the present embodiment, the second wire portion 63qb and the third wire portion 63qc are omitted from the first control wire 63A, and a fourth wire portion 63qd is added instead. The fourth wire portion 63qd is L-shaped in plan view. The fourth wire portion 63qd includes a first portion 63qv and a second portion 63qw. The first part 63qv extends in the width direction X from the end of the first wire section 63qa, which is located in the longitudinal direction Y to the third resin side surface 53, to the input lines 81 and 82. The second part 63qw extends in the longitudinal direction Y from the end of the first part 63qv, which is located in the width direction X to the input lines 81 and 82, to the third resin side surface 53. The second control wire 63B and the second control line 84B are electrically connected by the second control line connecting member 94B. The second control line connecting member 94B is connected to the end of the second part 63qw of the fourth wire portion 63qd of the second control wire 63B, which is located toward the third resin side surface 53 in the longitudinal direction Y, and the contact portion 84p of the second control line 84B. The second control wire 64B differs from the second control wire 64B of the first embodiment in that it does not include the second wire portion 64qb and the third wire portion 64qc. The second control wire 64B extends in the longitudinal direction Y. The length of the second control wire 64B in the longitudinal direction Y is greater than the length of the first wire portion 64qa of the second control wire 64B in the longitudinal direction Y. The second control wire 64B and the second control line 85B are electrically connected by the second control line connecting member 95B. The second control line connecting member 95B is connected to the end of the second control wire 64B located toward the third resin side surface 53 in the longitudinal direction Y and to the contact portion 85p of the second control line 85B. A second control power wire 66D and a second interface wire 68B are each located in the width direction X between the first wire portion 62qa of the second drive wire 62B and the second part 63qw of the fourth wire portion 63qd of the second control wire 63B. The second control power wire 66D is located in the width direction X to the second part 63qw of the second control wire 63B. The second interface wire 68B is located in the width direction X to the first wire portion 62qa of the second drive wire 62B. The second control power wire 66D and the second interface wire 68B each run in the longitudinal direction Y. The second control power wire 66D and the second control power line 86D are electrically connected by the second control power connecting member 96D. The second control power connecting member 96D is connected to the end of the second control power wire 66D located toward the third resin side surface 53 in the longitudinal direction Y and to the contact portion 86p of the second control power line 86D. The second interface wire 68B and the second interface line 88B are electrically connected by a second interface connecting member 98B. The second interface connecting member 98B is connected to the end of the second interface wire 68B located toward the third resin side surface 53 in the longitudinal direction Y and to the contact portion 88p of the second interface line 88B. The second interface connecting member 98B is, for example, a wire formed by wire bonding. A third relay wire 69C is arranged in the longitudinal direction Y between the second semiconductor elements 10B and the second control power wire 66D and the second interface wire 68B. The third relay wire 69C extends in the width direction X. The third relay wire 69C overlaps with the second control power wire 66D and the second interface wire 68B in the longitudinal direction Y. A fourth relay wire 69D is arranged between the second part 63qw of the fourth wire section 63qd of the second control wire 63B and the second control wire 64B in the longitudinal direction Y. The fourth relay wire 69D runs in the longitudinal direction Y. The fourth relay wire 69D is located in the longitudinal direction Y from the first part 63qv of the fourth wire section 63qd of the second control wire 63B to the third resin side surface 53. The second low-voltage diodes 37A and 37B constituting the second surge absorbing circuit 5B are attached to the second control wire 63B, the second control wire 64B, and the fourth relay wire 69D. The second low-voltage diodes 37A and 37B are connected in anti-serial fashion between the second control wire 63B and the second control wire 64B by means of the fourth relay wire 69D. Specifically, the cathode electrode of the second low-voltage diode 37A is connected to the second portion 63qw of the second control wire 63B of the fourth wire section 63qd. The anode electrode of the second low-voltage diode 37B is connected to the fourth relay wire 69D. The anode electrode of the second low-voltage diode 37B is connected to the fourth relay wire 69D. The cathode electrode of the second low-voltage diode 37B is connected to the second control wire 64B. In the present embodiment, the second low-voltage diode 37A is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. Further, the second low-voltage diode 37B is positioned such that its anode electrode and its cathode electrode are arranged in the width direction X. In addition, the second low-voltage diode 37A and the second low-voltage diode 37B are arranged such that they are aligned with each other in the longitudinal direction Y and spaced apart in the width direction X. The second resistors 38C and 38D and the second switching element 39B constituting the second interface circuit 6B are attached to the second control wire 63B, the second control power wire 66D, the second interface wire 68B, and the third relay wire 69C. The second switching element 39B is electrically connected to the second control wire 63B, the second control power wire 66D, and the third relay wire 69C. In more detail, the drain electrode 39d of the second switching element 39B is connected to the fourth wire portion 63qd of the second control wire 63B. The source electrode 39S of the second switching element 39B is connected to the second control power wire 66D. The gate electrode 39g of the second switching element 39B is connected to the third relay wire 69C. In the present embodiment, the second switching element 39B is located at the second semiconductor elements 10B, the second low-voltage diodes 37A and 37B, and the second resistor 38D. The second switching element 39B overlaps with the second resistor 38C in the width direction X. The second resistors 38C and 38D are connected to the second control power wire 66D, the third relay wire 69C, and the second interface wire 68B. The first terminal of the second resistor 38C is connected to the third relay wire 69C. The second terminal of the second resistor 38C is connected to the second interface wire 68B. The first terminal of the second resistor 38D is connected to the second interface wire 68B. The second terminal of the second resistor 38D is connected to the second control power wire 66D. In the present embodiment, the second resistor 38C is positioned such that its first terminal and its second terminal are arranged in the longitudinal direction Y. Further, the second resistor 38D is positioned such that its first terminal and its second terminal are arranged in the width direction X. The second resistor 38C is located from the second resistor 38D to the second semiconductor elements 10B. The second resistor 38C partially overlaps with the second resistor 38D when viewed in the longitudinal direction Y. As shown in Fig. 20, the first control side opening 58A, the second control side opening 58B, the first drive side opening 59A, and the second drive side opening 59B are formed in the resin member 50 of the semiconductor device 1C. The first drive side opening 59A and the second drive side opening 59B correspond to the first drive side opening 59A and the second drive side opening 59B of the first embodiment. The first control side opening 58A is separated from the second control side opening 58B. The first control side opening 58A and the second control side opening 58B are arranged along one side of the resin member 50 in a state of being spaced apart from each other in a plan view. The first control side opening 58A and the second control side opening 58B are arranged in a state of being spaced apart from each other in the width direction X. The first control-side opening 58A exposes a part of the first wiring region 70A of the conductive substrate 60. The first control-side opening 58A exposes two types of circuits electrically connected to the first semiconductor elements 10A. In the present embodiment, the first control-side opening 58A exposes the first interface circuit 6A and the first surge absorbing circuit 5A. In more detail, the first control-side opening 58A exposes a part of the first control wire 63A, a part of the first control wire 64A, the first relay wire 69A, a part of the second control power wire 66B, a part of the first interface wire 68A, the second relay wire 69B, the first low-voltage diodes 36A and 36B, the first resistor 38A, the first resistor 38B, and the first switching element 39A. In the present embodiment, the first control side opening 58A does not expose the first drive wire 62A.The shape of the first control-side opening 58A in a plan view, although not particularly limited, is rectangular such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The interior of the first control-side opening 58A is an open space. The second control-side opening 58B exposes a part of the second wiring region 70B of the conductive substrate 60. The second control-side opening 58B exposes two types of circuits electrically connected to the first semiconductor elements 10B. In the present embodiment, the second control-side opening 58B exposes the second interface circuit 6B and the second surge absorbing circuit 5B. In more detail, the second control-side opening 58B exposes a part of the second control wire 63B, a part of the second control wire 64B, the fourth relay wire 69D, a part of the second control power wire 66D, a part of the second interface wire 68B, the fourth relay wire 69D, the second low-voltage diodes 37A and 37B, the second resistor 38C, the second resistor 38D, and the second switching element 39B.In the present embodiment, the second control-side opening 58B does not expose the second drive wire 62B. Although not particularly limited, the shape of the second control-side opening 58B in a plan view is rectangular, such that the width direction X is the long side direction and the length direction Y is the short side direction. The interior of the second control-side opening 58B is an open space. The semiconductor device 1C of the present embodiment has the advantages described below. (3-1) The semiconductor device 1C includes the first interface circuit 6A and the second interface circuit 6B. With this configuration, the first switching element 39A of the first interface circuit 6A is on / off-controlled such that the first semiconductor elements 10A are not erroneously activated by the effect of an overvoltage (noise) when a lower-arm circuit is activated. Furthermore, the second switching element 39B of the second interface circuit 6B is on / off-controlled such that the second semiconductor elements 10B are not erroneously activated by the effect of an overvoltage (noise) when an upper-arm circuit is activated. (3-2) The semiconductor device 1C includes the first overvoltage absorption circuit 5A and the second overvoltage absorption circuit 5B. With this configuration, the first low-voltage diodes 36A and 36B of the first overvoltage absorption circuit 5A absorb an overvoltage from the voltage applied to the gate electrode 13 of the first semiconductor element 10A. Further, the second low-voltage diodes 37A and 37B of the second overvoltage absorption circuit 5B absorb an overvoltage from the gate electrode 13 of the second semiconductor element 10B. Fourth embodiment A semiconductor device 1D according to a fourth embodiment will now be described with reference to FIGS. 25 to 29. The semiconductor device 1D according to the present embodiment differs from the semiconductor device 1A according to the first embodiment mainly in that a first current detection circuit 7A and a second current detection circuit 7B are used instead of the first short-circuit detection circuit 3A and the second short-circuit detection circuit 3B. In the following description, the same reference numerals are given to components that are the same as the corresponding components of the semiconductor device 1A in the first embodiment. Such components will not be described in detail. Circuit configuration of the semiconductor device As shown in Fig. 29, the terminals 20 include a first overcurrent detection terminal 26C and a second overcurrent detection terminal 26D instead of the first short-circuit detection terminal 26A and the second short-circuit detection terminal 26B. The first overcurrent detection terminal 26C, which is configured to detect whether an overcurrent flows into the first semiconductor element 10A, is electrically connected to a current detection electrode 17 of the first semiconductor element 10A. The second overcurrent detection terminal 26D, which is configured to detect whether an overcurrent flows into the second semiconductor element 10B, is electrically connected to the current detection electrode 17 of the second semiconductor element 10B. The first current detection circuit 7A, which detects the current flowing to the first semiconductor element 10A, includes a first resistor 151. The first resistor 151 has a first terminal connected to the current detection electrode 17 of the first semiconductor element 10A. The first resistor 151 has a second terminal connected to the node N3 between the first capacitor 33A and the first capacitor 33B. The first overcurrent detection terminal 26C is electrically connected to a node N6 between the current detection electrode 17 of the first semiconductor element 10A and the first terminal of the first resistor 151. The second current detection circuit 7B detects the current flowing to the second semiconductor element 10B and includes a second resistor 152. The second resistor 152 has a first terminal electrically connected to the current detection electrode 17 of the second semiconductor element 10B. The second resistor 152 has a second terminal electrically connected to the node N5 between the second capacitor 35A and the second capacitor 35B. The second overcurrent detection terminal 26D is electrically connected to a node N7 between the current detection electrode 17 of the second semiconductor element 10B and the first terminal of the second resistor 152. Semiconductor device configuration As shown in Fig. 26A, the semiconductor device 1D includes a first overcurrent detection wire 160A and a second overcurrent detection wire 160B. The first overcurrent detection wire 160A is formed in the fifth substrate layer 60F, and the second overcurrent detection wire 160B is formed in the fifth substrate layer 60G. Further, the semiconductor device 1D includes a first overcurrent detection line 87C instead of the first short-circuit detection line 87A and a second overcurrent detection line 87D instead of the second short-circuit detection line 87B. The first overcurrent detection line 87C forms the first overcurrent detection terminal 26C shown in Fig. 29, and the second overcurrent detection line 87D forms the second overcurrent detection terminal 26D shown in Fig. 29. As shown in FIGS. 26A and 26B, the electrode configuration at the element main surface 10s of each of the semiconductor elements 10A and 10B differs from the electrode configuration at the element main surface 10s of each of the semiconductor elements 10A and 10B. Now, the electrode configuration at the element main surface 10s of each of the semiconductor elements 10A and 10B in the present embodiment will be described. The electrode configuration at the element main surface 10s is the same in each of the semiconductor elements 10A and 10B. Therefore, the electrode configuration at the element main surface 10s of the first semiconductor element 10A will be described, and the electrode configuration at the element main surface 10s of the second semiconductor element 10B will not be described. As shown in Fig. 26B, the first semiconductor elements 10A of the present embodiment each have four element side surfaces 10a to 10d. The four element side surfaces 10a to 10d are each located between the element main surface 10s and the element back surface 10r (see Fig. 11B) of the first semiconductor element 10A in the thickness direction Z and extend in a direction intersecting the element main surface 10s and the element back surface 10r. The element side surface 10a and the element side surface 10b are spaced from each other in the width direction X and face in opposite directions in the width direction X. The element side surface 10a is located from the element side surface 10b to the first control wire 63A. The element side surface 10c and the element side surface 10d are spaced from each other in the length direction Y and face in opposite directions in the length direction Y. The source electrode 12, the gate electrode 13, and the current detection electrode 17 are formed on the element main surface 10s. The source electrode 12 includes a first source electrode 12A, a second source electrode 12B, and a third source electrode 12C. The first source electrode 12A is located from the central portion of the element main surface 10s in the width direction X to the element side surface 10b in the width direction X. Further, the first source electrode 12A is located in the central portion of the element main surface 10s in the longitudinal direction Y. The shape of the first source electrode 12A is rectangular in a plan view such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The second source electrode 12B is located in the longitudinal direction Y from the first source electrode 12A to the element side surface 10d.The third source electrode 12C is located in the longitudinal direction Y from the first source electrode 12A to the element side surface 10c. Thus, the first source electrode 12A is located between the second source electrode 12B and the third source electrode 12C in the longitudinal direction Y. The second source electrode 12B is L-shaped in plan view, enclosing the first source electrode 12A from the element side surface 10d side and the element side surface 10a side. The third source electrode 12C is generally L-shaped, enclosing the first source electrode 12A from the element side surface 10c side and the element side surface 10a side. A cutout 12x is formed in the third source electrode 12C at the end located toward the element side surface 10a and the element side surface 10c. The current detection electrode 17 is arranged in the cutout 12x.The current detection electrode 17 serves to detect the current flowing to the source electrode 12 and is arranged in the corner of the element main surface 10s, which is located to the element side surface 10a and the element side surface 10c. The gate electrode 13 is arranged between the second source electrode 12B and the third source electrode 12C in the longitudinal direction Y. The gate electrode 13 is located in the central portion of the element main surface 10s in the longitudinal direction Y. The gate electrode 13 is located at the element main surface 10s in the width direction X, adjacent to the element side surface 10a. Thus, the gate electrode 13 is spaced apart from the first source electrode 12A in the width direction X. The first drive interconnects 91A are connected to the source electrodes 12A to 12C, respectively. The first drive interconnect 91A, connected to the second source electrode 12B, is connected to a portion of the second source electrode 12B that is located toward the element side surface 10b in the width direction X. The first drive interconnect 91A, connected to the third source electrode 12C, is connected to a portion of the third source electrode 12C that is located toward the element side surface 10b in the width direction X. The first control interconnect 93A is connected to a portion of the second source electrode 12B that is located toward the element side surface 10a. The first control interconnect 92A is connected to the gate electrode 13. A first drive detection connection element 171 is connected to the current detection electrode 17. As shown in Fig. 26A, in the width direction X, the direction in which the first semiconductor elements 10A are arranged is opposite to the direction in which the second semiconductor elements 10B are arranged. In more detail, each of the first semiconductor elements 10A is arranged such that the current detection electrode 17 and the gate electrode 13 are located to the first control wire 63A (from the resin member 50 to the first resin side surface 51), and each of the second semiconductor elements 10B is arranged such that the current detection electrode 17 and the gate electrode 13 are located to the second control wire 63B (to the second resin side surface 52 of the resin member 50). The lines 80 electrically connected to the fifth substrate layer 60F include the first control line 84A, the first control line 85A, the first control power line 86A, the first control power line 86B, and the first overcurrent detection line 87C. In the present embodiment, the first overcurrent detection line 87C, the first control power line 86B, the first control line 85A, the first control power line 86A, and the first control line 84A are arranged sequentially from the first resin side surface 51 to the second resin side surface 52. The wirings 80 electrically connected to the fifth substrate layer 60G include the second control line 84B, the second control line 85B, the second control power line 86C, the second control power line 86D, and the second overcurrent detection line 87D. In the present embodiment, the second overcurrent detection line 87D, the second control power line 86D, the second control line 85B, the second control power line 86C, and the second control line 84B are arranged sequentially from the second resin side surface 52 to the first resin side surface 51. The first overcurrent detection wire 160A electrically connects the current detection electrode 17 of each first semiconductor element 10A to the first overcurrent detection line 87C. The first overcurrent detection wire 160A is disposed in the fifth substrate layer 60F at the end located toward the first resin side surface 51 in the width direction X. The first overcurrent detection wire 160A is disposed on the first control wire 64A side in the width direction X, opposite the first control wire 63A. The first overcurrent detection wire 160A is disposed adjacent to the first control wire 64A in the width direction X. The first overcurrent detection wire 160A is formed in the fifth substrate layer 60F, extending from the end located at the fourth resin side surface 54 to the end located at the third resin side surface 53. Thus, the first overcurrent detection wire 160A is formed overlapping the first semiconductor elements 10A in the width direction X. As shown in Fig. 26A and Fig. 27, the first overcurrent detection wire 160A includes a first wire portion 161, a second wire portion 162, and a third wire portion 163. In the present embodiment, the first overcurrent detection wire 160A is a single component, with the first wire portion 161, the second wire portion 162, and the third wire portion 163 integrally formed. The first wire portion 161 extends in the longitudinal direction Y. The first wire portion 161 extends in the width direction X, overlapping the first semiconductor elements 10A. The first wire portion 161 is arranged adjacent to the first wire portion 64pa of the first control wire 64A in the width direction X. The first wire portion 161 extends in the longitudinal direction Y from outside the first wiring region 70A to inside the first wiring region 70A. The first drive detection connection elements 171, which are electrically connected to the current detection electrodes 17 of the first semiconductor elements 10A, are formed on the first wire portion 161. The first drive detection connection elements 171 are, for example, wires formed by wire bonding. Each first drive detection connection element 171 extends in the width direction X in a plan view. The second wire portion 162 and the third wire portion 163 are each arranged in the first wiring region 70A. That is, in a plan view, the second wire portion 162 and the third wire portion 163 are each arranged in the longitudinal direction Y between the first semiconductor elements 10A and the first control line 84A. Furthermore, in a plan view, the second wire portion 162 and the third wire portion 163 are each arranged in the longitudinal direction Y between the first semiconductor elements 10A and the first control line 85A. Thus, in a plan view, the second wire portion 162 and the third wire portion 163 are each arranged between the first semiconductor elements 10A and the lines 80. The second wire portion 162 extends obliquely so that the third resin side surface 53 approaches as the second resin side surface 52 approaches. The second wire portion 162 is formed overlapping the second wire portion 64pb of the first control wire 64A in the width direction X. The first resistor 151 is attached to the second wire portion 162 and the second wire portion 64pb. Specifically, the first terminal of the first resistor 151 is connected to the second wire portion 162, and the second terminal of the first resistor 151 is connected to the second wire portion 64pb. The third wire portion 163 extends in the longitudinal direction Y. The third wire portion 163 is arranged from the first control power wire 66A to the first resin side surface 51. The third wire portion 163 is arranged adjacent to the first wire portion 66pa of the first control power wire 66A in the width direction X. A first overcurrent detection connection element 173, which is electrically connected to the first overcurrent detection line 87C, is formed on the third wire portion 163. The first overcurrent detection connection element 173 is, for example, a wire formed by wire bonding. As shown in Fig. 26A, the second overcurrent detection wire 160B electrically connects the current detection electrode 17 of each second semiconductor element 10B to the second overcurrent detection line 87D. The second overcurrent detection wire 160B is arranged in the fifth substrate layer 60G at the end located toward the second resin side surface 52 in the width direction X. The second overcurrent detection wire 160B is arranged on the second control wire 64B side in the width direction X, opposite to the second control wire 63B. The second overcurrent detection wire 160B is arranged adjacent to the second control wire 64B in the width direction X. The second overcurrent detection wire 160B is formed in the fifth substrate layer 60G, extending from the end located at the fourth resin side surface 54 to the end located at the third resin side surface 53. Thus, the second overcurrent detection wire 160B is formed overlapping the second semiconductor elements 10B in the width direction X. As shown in Fig. 26A and Fig. 28, the second overcurrent detection wire 160B includes a first wire portion 164, a second wire portion 165, and a third wire portion 166. In the present embodiment, the second overcurrent detection wire 160B is a single component, with the first wire portion 164, the second wire portion 165, and the third wire portion 166 integrally formed. The first wire portion 164 extends in the longitudinal direction Y. The first wire portion 164 extends in the width direction X, overlapping the second semiconductor elements 10B. The first wire portion 164 is arranged adjacent to the first wire portion 64qa of the second control wire 64B in the width direction X. The first wire portion 164 extends in the longitudinal direction Y from outside the second wiring region 70B to inside the second wiring region 70B. Second drive detection connection elements 172, which are electrically connected to the current detection electrodes 17 of the second semiconductor elements 10B, are formed in the first wire portion 164. The second drive detection connection elements 172 are, for example, wires formed by wire bonding. Each second drive detection connection element 172 extends in the width direction X in a plan view. The second wire portion 165 and the third wire portion 166 are each arranged in the second wiring region 70B. That is, in a plan view, the second wire portion 165 and the third wire portion 166 are each arranged in the longitudinal direction Y between the second semiconductor elements 10B and the second control line 84B. Furthermore, in a plan view, the second wire portion 165 and the third wire portion 166 are each arranged in the longitudinal direction Y between the second semiconductor elements 10B and the second control line 85B. Thus, in a plan view, the second wire portion 165 and the third wire portion 166 are each arranged in the longitudinal direction Y between the second semiconductor elements 10B and the lines 80. The second wire portion 165 extends obliquely so that the third resin side surface 53 approaches as the first resin side surface 51 approaches. The second wire portion 165 is formed overlapping the second wire portion 64qb of the second control wire 64B in the width direction X. The third wire portion 166 extends in the longitudinal direction Y. The third wire portion 166 is arranged from the second control power wire 66B to the second resin side surface 52. The third wire portion 166 is arranged adjacent to the first wire portion 66qa of the second control power wire 66B in the width direction X. The second resistor 152 is fixed to the third wire portion 166 and the second wire portion 64qb. Specifically, the first terminal of the second resistor 152 is connected to the third wire portion 166, and the second terminal of the second resistor 152 is connected to the second wire portion 64qb. A second overcurrent detection connection element 174, which is electrically connected to the second overcurrent detection line 87D, is formed on the third wire portion 166. The second overcurrent detection connection element 174 is, for example, a wire formed by wire bonding. The detection connectors 171 and 172 and the overcurrent detection connectors 173 and 174 are each formed of copper (Cu) or aluminum (Al). In the present embodiment, the detection connectors 171 and 172 and the overcurrent detection connectors 173 and 174 are formed of the same material as the drive connectors 91A and 91B, the control connectors 92A, 92B, 93A, and 93B, the control line connectors 94A, 94B, 95A, and 95B, and the control power connectors 96A to 96D. Furthermore, the detection connectors 171 and 172 have the same diameter. The overcurrent detection connectors 173 and 174 have the same diameter. The diameters of the detection connection elements 171 and 172 are equal to the diameters of the overcurrent detection connection elements 173 and 174.In the present embodiment, the diameters of the detection connectors 171 and 172 and the overcurrent detection connectors 173 and 174 are equal to the diameters of the drive connectors 91A and 91B, the control connectors 92A, 92B, 93A and 93B, the control line connectors 94A, 94B, 95A and 95B, and the control power connectors 96A to 96D. As shown in Fig. 25, the resin member 50 has two resin openings exposing the conductive substrate 60 from the upper resin surface 55, namely the first control side opening 58A and the second control side opening 58B. As shown in Fig. 25, the first control side opening 58A is separated from the second control side opening 58B. The first control-side opening 58A is located at a position overlapping the first semiconductor elements 10A in the longitudinal direction Y, and is spaced apart from the first semiconductor elements 10A toward the third resin side surface 53. The second control-side opening 58B is located at a position overlapping the second semiconductor elements 10B in the longitudinal direction Y, and is spaced apart from the second semiconductor elements 10B toward the third resin side surface 53. In this way, the first control-side opening 58A and the second control-side opening 58B are arranged along one side of the resin member 50 in a state of being spaced apart from each other in a plan view. That is, in a plan view, the first control-side opening 58A and the second control-side opening 58B are arranged so as to be aligned with each other in the longitudinal direction Y and spaced apart in the width direction X.In a plan view, the control side openings 58A and 58B are arranged in the upper resin surface 55 at the end located toward the third resin side surface 53. The first control side opening 58A is located from the second control side opening 58B toward the first resin side surface 51. In a plan view, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 84t of the first control line 84A. In the present embodiment, as shown in Fig. 27, the first control side opening 58A is located in a plan view in the longitudinal direction Y between the first semiconductor elements 10A and the contact portion 84p of the first control line 84A. Furthermore, the first control side opening 58A is located in a plan view in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 85t of the first control line 85A. In the present embodiment, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the contact portion 85p of the first control line 85A. As shown in Fig. 27, the first control-side opening 58A exposes a part of the first wiring region 70A of the conductive substrate 60. Thus, the first control-side opening 58A exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60F) in which electronic components other than the first semiconductor elements 10A are mounted. The first control-side opening 58A exposes a surface of the first wiring region 70A located toward the third resin side surface 53. In the present embodiment, the first control-side opening 58A exposes the first overvoltage reducing circuit 4A and the first current detecting circuit 7A, which are electrically connected to the first semiconductor elements 10A. In more detail, as shown in Fig.27, the first control-side opening 58A exposes the first low-voltage diodes 32A and 32B, the first capacitors 33A and 33B, the third wire portion 63pc of the first control wire 63A, the third wire portion 64pc of the first control wire 64A, the first control power wire 65A, and the first control power wire 66A. Further, the first control-side opening 58A exposes the first resistor 151 and the second wire portion 162 and the third wire portion 163 of the first overcurrent detection wire 160A. In the present embodiment, the first control-side opening 58A does not expose the first control line connecting elements 94A and 95A, the first control power connecting elements 96A and 96B, and the first overcurrent detection connecting element 173.The shape of the first control-side opening 58A in a plan view, although not particularly limited, is rectangular such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The interior of the first control-side opening 58A is an open space. In a plan view, the second control-side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the terminal portion 84t of the second control line 84B. In the present embodiment, as shown in Fig. 28, the second control-side opening 58B is located in the longitudinal direction Y in a plan view between the second semiconductor elements 10B and the contact portion 84p of the second control line 84B. Furthermore, in a plan view, the second control-side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the terminal portion 85t of the second control line 85B. In the present embodiment, the second control-side opening 58B is located in the longitudinal direction Y in a plan view between the second semiconductor elements 10B and the contact portion 85p of the second control line 85B. As shown in Fig. 28, the second control-side opening 58B exposes a part of the second wiring region 70B of the conductive substrate 60. Thus, the second control-side opening 58B exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60G) in which electronic components other than the second semiconductor elements 10B are mounted. The second control-side opening 58B exposes a surface of the second wiring region 70B located toward the third resin side surface 53. In the present embodiment, the second control-side opening 58B exposes the second overvoltage reduction circuit 4B and the second current detection circuit 7B, which are electrically connected to the second semiconductor elements 10B.In more detail, the second control-side opening 58B exposes the second low-voltage diodes 34A and 34B, the second capacitors 35A and 35B, the third wire portion 63pc of the second control wire 63B, the third wire portion 64qc of the second control wire 64B, the second control power wire 65B, and the second control power wire 66B. Further, the second control-side opening 58B exposes the second resistor 152 and the second wire portion 165 and the third wire portion 166 of the second overcurrent detection wire 160B. In the present embodiment, the second control-side opening 58B does not expose the second control line connecting elements 94B and 95B, the second control power connecting elements 96C and 96D, and the second overcurrent detection connecting element 174.The shape of the second control-side opening 58B in a plan view, although not particularly limited, is rectangular such that the width direction X is the long side direction and the longitudinal direction Y is the short side direction. The interior of the second control-side opening 58B is an open space. In addition to the advantages of the semiconductor device 1A according to the first embodiment, the semiconductor device 1D according to the present embodiment has the advantage described below. (4-1) The semiconductor device 1D includes the first current detection circuit 7A and the second current detection circuit 7B. With this configuration, by detecting the current flowing to the first semiconductor elements 10A and the second semiconductor elements 10B, the first semiconductor elements 10A and the second semiconductor elements 10B can be controlled to be deactivated or the like when an overcurrent flows to the first semiconductor elements 10A and the second semiconductor elements 10B. This prevents the occurrence of failures of the first semiconductor elements 10A and the second semiconductor elements 10B. Fifth embodiment A semiconductor device 1E according to a fifth embodiment will now be described with reference to FIGS. 30 to 34. The semiconductor device 1E according to the present embodiment differs from the semiconductor device 1C according to the third embodiment mainly in that the current detection circuits 7A and 7B are used instead of the short-circuit detection circuits 3A and 3B, and in that the semiconductor elements 10A and 10B of the fourth embodiment are used. In the following description, the same reference numerals are given to components that are the same as the corresponding components of the semiconductor device 1C in the third embodiment. Such components will not be described in detail. Circuit configuration of the semiconductor device As shown in Fig. 34, the terminals 20 include the first overcurrent detection terminal 26C and the second overcurrent detection terminal 26D instead of the first short-circuit detection terminal 26A and the second short-circuit detection terminal 26B. The first overcurrent detection terminal 26C, which is configured to detect whether an overcurrent flows into the first semiconductor element 10A, is electrically connected to the current detection electrode 17 of the first semiconductor element 10A. The second overcurrent detection terminal 26D, which is configured to detect whether an overcurrent flows into the second semiconductor element 10B, is electrically connected to the current detection electrode 17 of the second semiconductor element 10B. The first current detection circuit 7A, which detects the current flowing to the first semiconductor element 10A, includes the first resistor 151. The first terminal of the first resistor 151 is connected to the current detection electrode 17 of the first semiconductor element 10A. The second terminal of the first resistor 151 is electrically connected to a node N8 between the cathode electrode of the second low-voltage diode 37A and the first source terminal 24A. The first overcurrent detection terminal 26C is electrically connected to a node N9 between the current detection electrode 17 of the first semiconductor element 10A and the first terminal of the first resistor 151. The second current detection circuit 7B detects the current flowing to the second semiconductor element 10B and includes a second resistor 152. The first terminal of the second resistor 152 is electrically connected to the current detection electrode 17 of the second semiconductor element 10B. The second terminal of the second resistor 152 is electrically connected to a node N10 between the cathode electrode of the second low-voltage diode 37B and the second source terminal 24B. The second overcurrent detection terminal 26D is electrically connected to a node N11 between the current detection electrode 17 of the second semiconductor element 10B and the first terminal of the second resistor 152. Semiconductor device configuration As shown in Fig. 31, the semiconductor device 1E includes the first overcurrent detection wire 160A and the second overcurrent detection wire 160B. The first overcurrent detection wire 160A is formed in the fifth substrate layer 60F, and the second overcurrent detection wire 160B is formed in the fifth substrate layer 60G. Further, the semiconductor device 1E includes the first overcurrent detection line 87C instead of the first short-circuit detection line 87A, and the second overcurrent detection line 87D instead of the second short-circuit detection line 87B. The first overcurrent detection line 87C forms the first overcurrent detection terminal 26C shown in Fig. 34, and the second overcurrent detection line 87D forms the second overcurrent detection terminal 26D shown in Fig. 34. The wirings 80 electrically connected to the fifth substrate layer 60F include the first control line 84A, the first control line 85A, the first control power line 86B, the first interface line 88A, and the first overcurrent detection line 87C. In the present embodiment, the first overcurrent detection line 87C, the first control line 85A, the first control line 84A, the first interface line 88A, and the first control power line 86B are arranged sequentially from the first resin side surface 51 to the second resin side surface 52. The wirings 80 electrically connected to the fifth substrate layer 60G include the second control line 84B, the second control line 85B, the second control power line 86D, the second interface line 88B, and the second overcurrent detection line 87D. In the present embodiment, the second overcurrent detection line 87D, the second control line 85B, the second control line 84B, the second control power line 86D, and the second interface line 88B are arranged sequentially from the second resin side surface 52 to the first resin side surface 51. The first overcurrent detection wire 160A electrically connects the current detection electrode 17 of each first semiconductor element 10A to the first overcurrent detection line 87C. The first overcurrent detection wire 160A is disposed in the fifth substrate layer 60F at the end located toward the first resin side surface 51 in the width direction X. The first overcurrent detection wire 160A is disposed on the first control wire 64A side in the width direction X, opposite the first control wire 63A. The first overcurrent detection wire 160A is disposed adjacent to the first control wire 64A in the width direction X. The first overcurrent detection wire 160A is formed in the fifth substrate layer 60F, extending from the end located at the fourth resin side surface 54 to the end located at the third resin side surface 53. Thus, the first overcurrent detection wire 160A is formed overlapping the first semiconductor elements 10A in the width direction X. Furthermore, the first overcurrent detection wire 160A extends in the longitudinal direction Y from outside the first wiring region 70A to inside the first wiring region 70A. The first drive detection connection elements 171, which are electrically connected to the current detection electrodes 17 of the first semiconductor elements 10A, are formed in the portion of the first overcurrent detection wire 160A that faces the first semiconductor elements 10A in the width direction X. The first drive detection connection elements 171 are, for example, wires formed by wire bonding. Each first drive detection connection element 171 extends in the width direction X in a plan view. The first resistor 151 is attached to the first overcurrent detection wire 160A in a portion corresponding to the first wiring region 70A and to the first control wire 64A in a portion corresponding to the first wiring region 70A. The first terminal of the first resistor 151 is connected to the first overcurrent detection wire 160A, and the second terminal of the first resistor 151 is connected to the first control wire 64A. The first resistor 151 is positioned in the longitudinal direction Y toward the fourth resin side surface 54 (toward first semiconductor elements 10A) of the low-voltage diodes 36A and 36B. The first resistor 151 overlaps with the first switching element 39A in the width direction X. The first resistor 151 is positioned in the width direction X from the first low-voltage diode 36B to the first resin side surface 51. The first overcurrent detection connection element 173, which is electrically connected to the first overcurrent detection line 87C, is formed at the end of the first overcurrent detection wire 160A located in the longitudinal direction Y toward the third resin side surface 53. The first overcurrent detection connection element 173 is, for example, a wire formed by wire bonding. As shown in Fig. 33, the second overcurrent detection wire 160B electrically connects the current detection electrode 17 of each second semiconductor element 10B to the second overcurrent detection line 87D. The second overcurrent detection wire 160B is arranged in the fifth substrate layer 60G at the end located toward the second resin side surface 52 in the width direction X. The second overcurrent detection wire 160B is arranged on the second control wire 64B side in the width direction X, opposite to the second control wire 63B. The second overcurrent detection wire 160B is arranged adjacent to the second control wire 64B in the width direction X. The second overcurrent detection wire 160B is formed in the fifth substrate layer 60G, extending from the end located at the fourth resin side surface 54 to the end located at the third resin side surface 53. Thus, the second overcurrent detection wire 160B is formed overlapping the second semiconductor elements 10B in the width direction X. Furthermore, the second overcurrent detection wire 160B extends in the longitudinal direction Y from outside the second wiring region 70B to inside the second wiring region 70B. The second drive detection connection elements 172, which are electrically connected to the current detection electrodes 17 of the second semiconductor elements 10B, are formed in the portion of the second overcurrent detection wire 160B that faces the second semiconductor elements 10B in the width direction X. The second drive detection connection elements 172 are, for example, wires formed by wire bonding. Each second drive detection connection element 172 extends in the width direction X in a plan view. The second resistor 152 is attached to the second overcurrent detection wire 160B in a portion corresponding to the second wiring region 70B and the second control wire 64B in a portion corresponding to the second wiring region 70B. The first terminal of the second resistor 152 is connected to the second overcurrent detection wire 160B, and the second terminal of the second resistor 152 is connected to the second control wire 64B. The second resistor 152 is located in the longitudinal direction Y toward the fourth resin side surface 54 (toward second semiconductor elements 10B) of the low-voltage diodes 37A and 37B. The second resistor 152 overlaps with the second switching element 39B and the second resistor 38C in the width direction X. The first resistor 151 is located in the width direction X from the second low-voltage diode 37B to the first resin side surface 51. The second overcurrent detection connection element 174, which is electrically connected to the second overcurrent detection line 87D, is formed at the end of the second overcurrent detection wire 160B located toward the third resin side surface 53 in the longitudinal direction Y. The second overcurrent detection connection element 174 is, for example, a wire formed by wire bonding. The detection connectors 171 and 172 and the overcurrent detection connectors 173 and 174 are each formed of copper (Cu) or aluminum (Al). In the present embodiment, the detection connectors 171 and 172 and the overcurrent detection connectors 173 and 174 are formed of the same material as the drive connectors 91A and 91B, the control connectors 92A, 92B, 93A, and 93B, the control line connectors 94A, 94B, 95A, and 95B, and the control power connectors 96A to 96D. Furthermore, the detection connectors 171 and 172 have the same diameter. The overcurrent detection connectors 173 and 174 have the same diameter. The diameters of the detection connection elements 171 and 172 are equal to the diameters of the overcurrent detection connection elements 173 and 174.In the present embodiment, the diameters of the detection connectors 171 and 172 and the overcurrent detection connectors 173 and 174 are equal to the diameters of the drive connectors 91A and 91B, the control connectors 92A, 92B, 93A and 93B, the control line connectors 94A, 94B, 95A and 95B, and the control power connectors 96A to 96D. As shown in Fig. 30, the resin member 50 has two resin openings exposing the conductive substrate 60 from the upper resin surface 55, namely the first control side opening 58A and the second control side opening 58B. As shown in Fig. 30, the first control side opening 58A is separated from the second control side opening 58B. The first control-side opening 58A is located at a position overlapping the first semiconductor elements 10A in the longitudinal direction Y, and is spaced apart from the first semiconductor elements 10A toward the third resin side surface 53. The second control-side opening 58B is located at a position overlapping the second semiconductor elements 10B in the longitudinal direction Y, and is spaced apart from the second semiconductor elements 10B toward the third resin side surface 53. In this way, the first control-side opening 58A and the second control-side opening 58B are arranged along one side of the resin member 50 in a state of being spaced apart from each other in a plan view. That is, in a plan view, the first control-side opening 58A and the second control-side opening 58B are arranged so as to be aligned with each other in the longitudinal direction Y and spaced apart in the width direction X.In a plan view, the control side openings 58A and 58B are arranged in the upper resin surface 55 at the end located toward the third resin side surface 53. The first control side opening 58A is located from the second control side opening 58B toward the first resin side surface 51. In a plan view, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 84t of the first control line 84A. In the present embodiment, as shown in Fig. 32, in a plan view, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the contact portion 84p of the first control line 84A. Furthermore, in a plan view, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the terminal portion 85t of the first control line 85A. In the present embodiment, the first control side opening 58A is located in the longitudinal direction Y between the first semiconductor elements 10A and the contact portion 85p of the first control line 85A. The first control-side opening 58A exposes a part of the first wiring region 70A of the conductive substrate 60. Thus, the first control-side opening 58A exposes a part of a mounting region in the conductive substrate 60 (in the fifth substrate layer 60F) in which electronic components other than the first semiconductor elements 10A are mounted. The first control-side opening 58A exposes an area of the first wiring region 70A located toward the third resin side surface 53. In the present embodiment, the first control-side opening 58A exposes the first interface circuit 6A, the first surge absorbing circuit 5A, and the first current detection circuit 7A. In more detail, as shown in Fig.32, the first control-side opening 58A exposes part of the first control wire 63A, part of the first control wire 64A, the first relay wire 69A, part of the second control power wire 66B, part of the first interface wire 68A, the second relay wire 69B, the first low-voltage diodes 36A and 36B, the first resistor 38A, the first resistor 38B, and the first switching element 39A. Further, the first control-side opening 58A exposes the first resistor 151 and the first overcurrent detection wire 160A. In the present embodiment, the first control-side opening 58A does not expose the first drive wire 62A. The shape of the first control-side opening 58A in a plan view, although not particularly limited, is rectangular such that the width direction X is the long side direction and the length direction Y is the short side direction. The interior of the first control side opening 58A is an open space. In a plan view, the second control-side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the terminal portion 84t of the second control line 84B. In the present embodiment, as shown in Fig. 33, the second control-side opening 58B is located in the longitudinal direction Y in a plan view between the second semiconductor elements 10B and the contact portion 84p of the second control line 84B. Furthermore, in a plan view, the second control-side opening 58B is located in the longitudinal direction Y between the second semiconductor elements 10B and the terminal portion 85t of the second control line 85B. In the present embodiment, the second control-side opening 58B is located in the longitudinal direction Y in a plan view between the second semiconductor elements 10B and the contact portion 85p of the second control line 85B. The second control-side opening 58B exposes a part of the second wiring region 70B of the conductive substrate 60. The second control-side opening 58B exposes two types of...
Claims
A semiconductor device comprising: a semiconductor element; a support substrate supporting the semiconductor element; a conductor electrically connected to the semiconductor element; a resin member encapsulating the semiconductor element; and a conductive substrate serving as the conductor and including a conductor portion of a metal layer formed on a substrate that is electrically insulating, the conductor having a mounting region in which an electronic component is mounted, the resin member having a resin opening exposing the mounting region, the semiconductor element being electrically connected to the conductor portion of the conductive substrate, the support substrate supporting the conductive substrate, the resin member encapsulating the conductive substrate, the mounting region including the conductor portion for mounting the electronic component.wherein the semiconductor element has a first drive electrode and a second drive electrode, wherein the conductor portion has a drive conductor portion electrically connected to the first drive electrode, and wherein the resin opening has a drive side opening exposing a part of the drive conductor portion. A semiconductor device according to claim 1, wherein the electronic component is attached to a part of the drive conductor portion to detect short-circuiting of the semiconductor element. A semiconductor device according to claim 2, wherein the electronic component comprises a diode. A semiconductor device according to any one of claims 1 to 3, wherein the drive side opening is filled with a resin material that is electrically insulating. A semiconductor device according to claim 4, wherein the resin material is different from that of the resin member. A semiconductor device according to any one of claims 1 to 5, wherein the semiconductor element has a control electrode that controls a current supplied to the semiconductor element, the conductor portion has a control conductor portion electrically connected to the control electrode, and the resin opening has a control side opening exposing a part of the control conductor portion. A semiconductor device according to any one of claims 1 to 5, wherein the semiconductor element is a transistor having a first drive electrode, a second drive electrode, and a control electrode, the lead portion comprises: a drive lead portion electrically connected to the first drive electrode; and a control lead portion electrically connected to the control electrode, the resin opening has a drive-side opening exposing a part of the drive lead portion and a control-side opening exposing a part of the control lead portion, and the drive-side opening is separated from the control-side opening. A semiconductor device according to any one of claims 1 to 7, wherein the semiconductor element is a transistor having a first drive electrode, a second drive electrode, and a control electrode, the lead portion comprises: a control lead portion electrically connected to the control electrode; and a reference lead portion electrically connected to the second drive electrode for adjusting a voltage applied to the control electrode based on a potential difference from the control lead portion, and the resin opening has a control-side opening exposing a part of the reference lead portion. A semiconductor device according to any one of claims 1 to 5, wherein the semiconductor element is a transistor having a first drive electrode, a second drive electrode, and a control electrode, the lead portion comprises: a control lead portion electrically connected to the control electrode; and a reference lead portion electrically connected to the second drive electrode for adjusting a voltage applied to the control electrode based on a potential difference from the control lead portion, and the resin opening has a control-side opening exposing a part of the control lead portion and a part of the reference lead portion. A semiconductor device according to any one of claims 6, 7 and 9, wherein the electronic component is attached to the control lead portion exposed from the control side opening to reduce an overvoltage in a voltage applied to the control electrode. A semiconductor device according to claim 8 or 9, wherein the electronic component is mounted in the reference conductor portion exposed from the control side opening to reduce an overvoltage in a voltage applied to the second drive electrode. A semiconductor device according to any one of claims 1 to 5, wherein the semiconductor element has a control electrode that controls the voltage supplied to the semiconductor element, the semiconductor device comprising: a control line formed by a metal plate electrically connected to the control electrode, the control line comprising: a control terminal protruding from a surface of the resin member; and a control lead portion located inward from the surface of the resin member and electrically connected to the control terminal, and the resin opening has a control side opening exposing a part of the control lead portion. A semiconductor device according to any one of claims 1 to 5, wherein the semiconductor element is a transistor having a first drive electrode, a second drive electrode, and a control electrode, and the semiconductor device further comprises: a control line formed by a metal plate electrically connected to the control electrode; and a reference line formed by a metal plate and electrically connected to the second drive electrode for adjusting a voltage applied to the control electrode based on a potential difference from the control line, wherein the reference line comprises: a reference terminal protruding from a surface of the resin member;anda reference conductor portion located inward from the surface of the resin member and electrically connected to the reference terminal, andthe resin opening has a control side opening exposing a part of the reference conductor portion.; A semiconductor device according to any one of claims 1 to 5, wherein the semiconductor element is a transistor having a first drive electrode, a second drive electrode, and a control electrode, and the semiconductor device further comprises: a control line formed by a metal plate electrically connected to the control electrode; and a reference line formed by a metal plate and electrically connected to the second drive electrode for adjusting a voltage applied to the control electrode based on a potential difference from the control line, wherein the control line comprises: a control terminal protruding from a surface of the resin member;anda control conductor portion located inward from the surface of the resin member and electrically connected to the control terminal, andthe reference lead includes:a reference terminal protruding from a surface of the resin member; anda reference conductor portion located inward from the surface of the resin member and electrically connected to the reference terminal, andthe resin opening includes a control-side opening exposing a part of the control conductor portion and a part of the reference conductor portion.; A semiconductor device according to claim 12 or 14, wherein the electronic component is attached to the control lead portion exposed from the control side opening to reduce an overvoltage in a voltage applied to the control electrode. A semiconductor device according to claim 13 or 14, wherein the electronic component is mounted in the reference conductor portion exposed from the control side opening to reduce an overvoltage in a voltage applied to the second drive electrode. A semiconductor device according to any one of claims 12 to 16, wherein the semiconductor element has a first drive electrode and a second drive electrode, the lead portion has a drive lead portion electrically connected to the first drive electrode, the resin opening has a drive side opening exposing a part of the drive lead portion, and the drive side opening is spaced from the drive side opening.
Citation Information
Patent Citations
Semiconductor device
JP2014093373A
Semiconductor device, and method of manufacturing semiconductor device
US20150043228A1
Power conversion apparatus
US20150171764A1
Microelectronic package having a passive microelectronic device disposed within a package body
US20160358848A1
Cited By
Semiconductor device
DE112022006989T5
