Semiconductor device including voltage dividing diode

09559098 ยท 2017-01-31

Assignee

Inventors

Cpc classification

International classification

Abstract

In a semiconductor device connected to a mutual-inductive load, a voltage dividing diode is provided in series to an ST-MOS circuit so that an anode thereof is connected to a GND terminal and a cathode thereof is connected to the back gate of each of lateral nMOSFETs forming the ST-MOS circuit. This can inhibit parasitic transistors in the lateral nMOSFETs from malfunctioning to enable the voltage at an ST terminal to be reliably maintained at a normal voltage.

Claims

1. A semiconductor device comprising: an output stage switching element configured to control a current in a load having a mutual inductance; a detection circuit configured to detect an abnormality of the output stage switching element; a logic circuit configured to make a determination with respect to a state of the output stage switching element using an output of the detection circuit; a status detection circuit configured to output a status of a connection between the load and the output stage switching element and a result of the determination made by the logic circuit to a state outputting terminal; and a voltage dividing diode connected in series to the status detection circuit, a cathode of the voltage dividing diode being connected to the status detection circuit, and an anode of the voltage dividing diode being connected to a ground, wherein: a first potential side of the output stage switching element is connected to an output terminal of a control circuit of the semiconductor device, a first end of the load is connected to the output terminal, and a second end of the load is connected to a first potential side of a power supply, a second potential side of the power supply being connected to the ground, the output stage switching element is formed in a semiconductor layer of a second conduction type with the semiconductor layer taken as being on the first potential side of the output stage switching element, the detection circuit and the logic circuit are formed in a first well region of a first conduction type in the semiconductor layer, the status detection circuit comprises a lateral MOSFET of the second conduction type formed in a second well region of the first conduction type, the second well region being formed in the semiconductor layer at a distance from the first well region of the first conduction type, each of the first well region of the first conduction type and the second potential side of the output stage switching element is connected to the ground, the second well region of the first conduction type forms a back gate of the lateral MOSFET of the second conduction type, the back gate having the cathode of the voltage dividing diode connected thereto to connect the second well region of the first conduction type to the ground through the anode of the voltage dividing diode, and the semiconductor layer formed as being on the first potential side of the output stage switching element is connected to the first potential side of the power supply through the load connected to the output terminal of the control circuit.

2. The semiconductor device as claimed in claim 1, wherein a fourth well region of the first conduction type is formed in the second well region so as to overlap at least a source region of regions forming the lateral MOSFET of the second conduction type forming the status detection circuit formed in the second well region of the first conduction type, the fourth well region having a diffusion depth greater than that of the second well region and an impurity concentration higher than that in the second well region, and being connected to the cathode of the voltage dividing diode.

3. The semiconductor device as claimed in claim 1, wherein: the voltage dividing diode is a lateral diffused junction diode, and the lateral diffused junction diode is formed in a third well region of the first conduction type formed with a depth greater than a diffused depth of the first well region, with an impurity concentration higher than that in the first well region, and at a distance apart from the first well region and the second well region.

4. The semiconductor device as claimed in claim 1, wherein a forward bias voltage applied to a first p-n junction between the first well region and the semiconductor layer is equal to a sum of a voltage applied to a second p-n junction in the voltage dividing diode and a voltage applied to a third p-n junction between the second well region and the semiconductor layer.

5. The semiconductor device as claimed in claim 4, wherein the voltage applied to the second p-n junction is smaller than the built-in voltage at the second p-n junction.

6. The semiconductor device as claimed in claim 4, wherein the voltage applied to the third p-n junction is smaller than the built-in voltage at the third p-n junction.

7. The semiconductor device as claimed in claim 1, wherein an isolation distance between the first well region and the second well region is in a range of 10 m to 500 m.

8. The semiconductor device as claimed in claim 1, wherein the voltage dividing diode is disposed on an oxide film disposed on the semiconductor layer.

9. The semiconductor system as claimed in claim 8, wherein the oxide film is formed on a third well region of the first conduction type formed in the semiconductor layer so as to be isolated from both of the first well region and the second well region.

10. The semiconductor device as claimed in claim 9, wherein each of an isolation distance between the first well region and the third well region and an isolation distance between the second well region and the third well region is in a range of 10 m to 500 m.

11. The semiconductor device as claimed in claim 9, wherein an isolation distance between the second well region and the third well region is longer than the diffusion length of minor carriers injected from the first well region to the semiconductor layer.

12. The semiconductor device as claimed in claim 8, wherein the voltage dividing diode comprises polysilicon.

13. The semiconductor device as claimed in claim 1, wherein an isolation distance between the first well region and the second well region is longer than a diffusion length of minor carriers injected from the first well region to the semiconductor layer.

14. The semiconductor device as claimed in claim 1, wherein the output stage switching element is a vertical MOSFET of the second conduction type.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a circuit diagram showing the principal part of a control circuit 101 using a semiconductor device 100 or 200 according to an embodiment of the invention.

(2) FIG. 2 is a cross sectional view showing the principal part of a semiconductor device 100 according to an embodiment of the invention.

(3) FIG. 3 is a waveform diagram showing the waveforms of the input voltage VIN3, a voltage VST3, a voltage VOUT3, and a current IOUT3 in the control circuit 101c of the third arm EGR3, and the waveforms of the input voltage VIN1, a voltage VST1, a voltage VOUT1, and a current IOUT1 in the control circuit 101a of the first arm EGR1.

(4) FIG. 4A is a cross sectional view of the semiconductor device 100c illustrating the case when the output stage nMOSFET 1a in the first arm EGR1 is turned-off and the output stage nMOSFET 1c in the third arm EGR3 is turned-on.

(5) FIG. 4B is a cross sectional view schematically showing voltage sharing by the voltage dividing diode 40.

(6) FIG. 5 is a cross sectional view showing the principal part of a semiconductor device 200 according to an embodiment of the invention.

(7) FIG. 6 is a cross sectional view showing the principal part of an example of a modified semiconductor device according to an embodiment of the invention.

(8) FIG. 7A is a diagram showing the whole configuration of the principal part of a stepping motor.

(9) FIG. 7B is a diagram showing the arrangement of a rotor 97 and coils 90 of the stepping motor.

(10) FIG. 8 is a block diagram showing the first arm EGR1 and the third arm EGR3 shown in FIG. 7A with the configurations thereof being made simplified.

(11) FIG. 9 is a detailed circuit diagram of the control circuit 501 shown in FIG. 7A.

(12) FIG. 10 is a cross sectional view showing the principal part of the related semiconductor device 500 with the control circuit 501 shown in FIG. 9 formed on an n-type semiconductor substrate 70.

(13) FIG. 11 is a waveform diagram showing the waveforms of input voltages VIN1 to VIN 4 to the first arm EGR1 to the fourth arm EGR4, respectively, shown in FIG. 7A.

(14) FIG. 12 is a waveform diagram showing the waveforms of the input voltage VIN3, a voltage VST3, a voltage VOUT3, and a current IOUT3 in the control circuit 501c of the third arm EGR3 and the waveforms of the input voltage VIN1, a voltage VST1, a voltage VOUT1, and a current IOUT1 in the control circuit 501a in the first arm EGR1.

(15) FIG. 13A is a cross sectional view of the semiconductor device 500c in the third arm EGR3 showing paths P1 and P 2 of reverse currents flowing in the semiconductor device 500c with the nMOSFET 51c being turned-on in the turned-off period of the output stage nMOSFET 51a in the first arm EGR1.

(16) FIG. 13B is a schematic cross sectional view showing the operation of a parasitic transistor.

(17) FIG. 14 is a cross sectional view showing the voltage dividing diode 40 according to an embodiment of the invention.

DESCRIPTION OF THE ILLUSTRATED EMBODIMENTS

(18) FIG. 1 is a circuit diagram showing the principal part of a control circuit 101 (101a to 101d) using a semiconductor device 100 or 200 according to an embodiment of the invention.

(19) The control circuit 101 is provided with voltage dividing resistors 14 and 15 dividing the voltage at an OUT terminal and an output stage nMOSFET 1 formed of an nMOSFET section 2 and a parasitic diode section 3. In addition, the control circuit 101 is provided with a dynamic clamp Zener diode 4 connected between the drain 2b and the gate 2a of the output stage nMOSFET 1. The dynamic clamp Zener diode 4 is formed of Zener diodes 4a and 4b in inverse-series connection to each other. The control circuit 101 represents each of the control circuit 101a, control circuit 101b, control circuit 101c, and control circuit 101d provided in the first arm EGR1, second arm EGR2, third arm EGR3, and fourth arm EGR4, respectively.

(20) The control circuit 101 is provided with an nMOSFET 5a that is connected to the gate 2a of the output stage nMOSFET 1 to form a gate charge extracting circuit at protecting operation 5. Further, the control circuit 101 is provided with a resistor 13 connected to the drain (shown without reference numeral) of the nMOSFET 5a and a gate charge extracting circuit at normal operation 6 connected to the resistor 13 and is formed of a constant current source 6a.

(21) In addition, the control circuit 101 is provided with a logic circuit 7 connected to a connection point 13a of a depletion MOSFET 6b to be the constant current source 6a and the resistor 13 and connected to each of an overheat detection circuit 9 and an overcurrent detection circuit 10. The overcurrent detection is carried out by connecting the lead of a detection line taken out from a connection point 14a of the voltage dividing resistors 14 to the overcurrent detection circuit 10.

(22) To an ST terminal, a Zener diode 16b and a lateral nMOSFET 8a, which is provided for detecting a state whether the load is normally connected or abnormally disconnected due to a break in a wire etc. (broken wire detection), are connected. The broken wire detection is carried out with the same configuration as that is shown in foregoing FIG. 9 by connecting the lead of a broken wire detection line 19 taken out from a connection point 15a of the voltage dividing resistors 15 to the gate of the lateral nMOSFET 8a. To the ST terminal, a lateral nMOSFET 8b is further connected which transmits an abnormal signal to the ST terminal when the abnormal signal is outputted from the logic circuit 7. The abnormal detection is also carried out with the same configuration as that is shown in foregoing FIG. 9. In this way, the control circuit 101 is provided with an ST-MOS circuit 8 formed of the lateral nMOSFETs 8a and 8b.

(23) Moreover, the control circuit 101 is provided with an IN terminal connected to the cathode of a Zener diode 16c and the logic circuit 7, a GND terminal connected to the source of each of the nMOSFETs, and the OUT terminal connected to the drain of the output stage nMOSFET 1 and the voltage dividing resistors 14 and 15.

(24) To the back gates of the lateral nMOSFET 8a and the lateral nMOSFET 8b forming the ST-MOS circuit 8, a voltage dividing diode 40 is connected in series with the anode thereof connected to the GND terminal.

(25) Semiconductor devices according to embodiments of the invention will be specifically explained below. In the following, a first conduction type is shown by the p-type and a second conduction type is shown by the n-type. This, however, may be reversed in some cases.

(26) FIG. 2 is a cross sectional view showing the principal part of a semiconductor device 100 according to an embodiment of the invention. The control circuit 101 shown in FIG. 1 is formed on the surface of the same n-type semiconductor substrate 20. A battery B forming the control circuit 101 is externally provided. The semiconductor device 100 represents each of the semiconductor device 100a, semiconductor device 100b, semiconductor device 100c, and semiconductor device 100d provided in the first arm EGR1, second arm EGR2, third arm EGR3, and fourth arm EGR4, respectively.

(27) The semiconductor device 100 is provided with the vertical output stage nMOSFET 1. The semiconductor device 100 is provided with a plurality of p-type well regions 21, 23, 26, and 26a formed in the surface layer of the n-type semiconductor substrate 20. The semiconductor device 100 is further provided with the logic circuit 7, the overheat detection circuit 9 (not shown), and overcurrent detection circuit 10 (not shown), which are formed on the surface layer of the p-type well region 26 as one of a plurality of the foregoing p-type well regions. In the surface layer of the p-type well region 26, the lateral nMOSFET 5a in the gate charge extracting circuit at protecting operation 5 and the gate charge extracting circuit at normal operation 6 are further provided.

(28) In the surface layer of the p-type well region 26a forming the ST-MOS circuit 8, the lateral nMOSFETs 8a and 8b are provided. The p-type well region 26a is connected to a cathode 40a of the voltage dividing diode 40, an anode 40b of which is connected to the GND terminal. The p-type well region 26a becomes the back gate common to the lateral nMOSFETs 8a and 8b.

(29) As an n.sup.+-type region connected to the GND wiring, an n-type source region 22 (source 2c) of the output stage nMOSFET 1 is provided in the surface layer of the p-type well region 21 as another one of the p-type well regions. Further, an n-type cathode region 24 of the Zener diode 4a (formed in the n-type semiconductor substrate 20) forming the dynamic clamp Zener diode 4 is provided in the surface layer of the p-type well region 23 as the remaining one of the p-type well regions. The cathode of the Zener diode 4b of the dynamic clamp Zener diode 4 is connected to the IN terminal through a resistor 17a, the resistor 13, and a resistor 17b. The IN terminal is connected to the ground GND through a resistor 17c. In addition, an n.sup.+-type region 25 is provided in the surface layer of the n-type semiconductor substrate 20 and is connected to the ground GND.

(30) The ST terminal (ST) is connected to an n-type drain region 29 of the lateral nMOSFET 8b, formed in the p-type well region 26a to form the ST-MOS circuit 8, through a resistor 17e. In addition, the ST terminal is connected to a high potential side terminal of the battery B, and the low potential side terminal of the battery B is connected to the ground GND. The IN terminal (IN) is connected to the gate 2a of the output stage nMOSFET 1 through the resistors 17b, 13, and 17a by gate wiring 18. The ST terminal is further connected to a microcomputer for processing a broken wire detection signal or an abnormal signal.

(31) The OUT terminal (OUT) is connected to an electrode formed on the whole bottom surface of the n-type semiconductor substrate 20. The electrode formed on the whole bottom surface of the n-type semiconductor substrate 20 becomes the drain electrode of the output stage nMOSFET 1.

(32) The GND terminal (GND) is connected to the n-type source region (shown without reference numeral) of the lateral nMOSFET 5a forming the gate charge extracting circuit at protecting operation 5. The GND terminal (GND) is further connected to an n-type source region 28 of the depletion MOSFET 6b to be the constant current source 6a forming the gate charge extracting circuit at normal operation 6, and to the n-type source region (shown without reference numeral) of a lateral nMOSFET 7a in the logic circuit 7. Moreover, each of an n-type source region (shown without reference numeral) of the lateral nMOSFET 8b (8a) and the p-type well region 26 is connected to the GND terminal.

(33) In addition, the n-type drain region (shown without reference numeral) of the lateral nMOSFET 5a and the n-type drain region 27 of the depletion MOSFET 6b are connected to the gate wiring 18. Moreover, a Zener diode 31, which is connected between the IN terminal and the GND terminal, and a Zener diode 32, which is connected between the GND terminal and the ST terminal, are provided for surge protection.

(34) Both of the p-type well region 21 and the n-type source region 22 (source 2c) of the output stage nMOSFET 1 are also connected to the GND terminal. With the p-type well region 21 and the n-type semiconductor substrate 20, the parasitic diode section 3 of the output stage nMOSFET 1 is formed.

(35) The p-type well region 26 and the p-type well region 26a, with the spacing L between them increased to more than the diffusion length of holes injected from the p-type well region 26 into the n-type semiconductor substrate 20, can be electrically isolated with the MOSFETs formed in their respective regions hardly causing interference with each other. For example, the spacing L between the p-type well region 26 and the p-type well region 26a may be on the order of 10 m. For example, the spacing L may be equal to or more than 20 m or may be equal to or more than 50 m to cause no interference with each other. Moreover, since the diffusion length of holes is approximately 100 m or more, though it depends on the impurity concentration in the n-type semiconductor substrate 20, the spacing L may be equal to 100 m or more to sufficiently inhibit the occurrence of the interference. While, too large spacing L will unfavorably cause a large chip size of the semiconductor device 100. Thus, the spacing L may be 500 m or less, for example. That is, the spacing L may be in a range of 10 m to 500 m, such as for example, the ranges of 20 m to 200 m and 50 m to 100 m. Morever, the spacing L can be in the range of 200 m to 500 m.

(36) The voltage dividing diode 40 is a diode such as a Zener diode formed of polysilicon, for example, formed on the n-type semiconductor substrate 20 with an insulating film provided in between. FIG. 14 is a cross sectional view showing the voltage dividing diode 40 according to an embodiment of the invention. In the surface layer of the n-type semiconductor substrate 20, a p-type well region 26b is formed so as to be isolated from both of the p-type well region 26 and the p-type well region 26a. On the surface of the p-type well region 26b, an oxide film 61 is provided which is formed by a means such as thermal oxidation or chemical vapor deposition (CVD). On the surface of the oxide film 61, a polysilicon film is formed. By carrying out ion implantation with dopant ions into the polysilicon film and subsequent heat processing, a polysilicon diode 42 is formed as a Zener diode having an n-type cathode region 42a and a p-type anode region 42b. The polysilicon diode 42 is the voltage dividing diode 40. The n-type cathode region 42a of the voltage dividing diode 40 is electrically connected to the p-type well region 26a formed while being isolated from the p-type well region 26b. The p-type well region 26a is a back gate of each of the lateral nMOSFET 8a and the lateral nMOSFET 8b both forming the ST-MOS circuit 8. Each of the isolating distance between the p-type well region 26 and the p-type well region 26b and the isolating distance between the p-type well region 26a and the p-type well region 26b can be made to be equal to the foregoing spacing L between the p-type well region 26 and the p-type well region 26a.

(37) When the breakdown voltage of the output stage nMOSFET is such a low voltage as being equal to 100V or less or equal to 300V or less, the p-type well region 26b can be omitted. While, when the breakdown voltage of the output stage nMOSFET is equal to 300V or more or when the output stage nMOSFET is a switching element with a high breakdown voltage equal to 600V or more such as an IGBT, the p-type well region 26b may be formed. When a switching element is a high breakdown voltage element, an element without p-type well region 26b sometimes causes a voltage in hundreds of volts to be applied between the polysilicon of the voltage dividing diode 40 and the surface of the n-type semiconductor substrate 20. At that time, there is a possibility of causing an applied voltage to exceed the dielectric breakdown voltage of the oxide film 61 to induce a dielectric breakdown. However, the p-type well region 26b formed beneath the polysilicon makes a depletion layer formed at the p-n junction between the p-type well region 26b and the n-type semiconductor substrate 20, by which no high voltage is applied to the oxide film to make it possible to prevent a dielectric breakdown.

(38) All of the overheat detection circuit 9, the overcurrent detection circuit 10, the logic circuit 7, the gate charge extracting circuit at protecting operation 5, and the gate charge extracting circuit at normal operation 6 shown in FIG. 1 are formed in the p-type well region 26 shown in FIG. 2, each of which circuits is formed at a specified distance apart from other circuits to be self-isolated.

(39) In FIG. 1, reference numeral 18 designates the gate wiring connecting the IN terminal and the gate 2a of the output stage nMOSFET 1, and reference numeral 19 designates the broken wire detection line.

(40) FIG. 3 is a waveform diagram showing the waveforms of the input voltage VIN3, a voltage VST3, a voltage VOUT3, and a current IOUT3 in the control circuit 101c of the third arm EGR3 and the waveforms of the input voltage VIN1, a voltage VST1, a voltage VOUT1, and a current IOUT1 in the control circuit 101a of the first arm EGR1. The configurations of the third arm EGR3 and first arm EGR1 may be identical to those of the third arm EGR3 and first arm EGR1 shown in FIG. 7A, FIG. 7B, and FIG. 8. Here, the input voltages VIN 1 and VIN 3 are input voltages (also referred to as gate voltages or control voltages) inputted to the IN1 terminal and IN3 terminal as input terminals, respectively. The voltages VST1 and VST3 are voltages at the ST1 terminal and ST3 terminal as status terminals, respectively. The voltages VOUT1 and VOUT3 are voltages at the OUT1 terminal and OUT3 terminal as output terminals and are the drain voltages of the output stage nMOSFETs 1a and 1c, respectively. The currents IOUT1 and IOUT3 are drain currents flowing in the output stage nMOSFETs 1a and 1c, respectively. The currents IOUT1 and IOUT3 are also load currents flowing in the coils 91 and 93 (mutual-inductive loads) in the first arm EGR1 and third arm EGR3, respectively.

(41) FIG. 4A is a cross sectional view of the semiconductor device 100c illustrating the case when the output stage nMOSFET 1a (equivalent to the output stage nMOSFET 51a shown in FIG. 7A) in the first arm EGR1 is turned-off and the output stage nMOSFET 1c (equivalent to the output stage nMOSFET 51c shown in FIG. 7A) in the third arm EGR3 is turned-on. FIG. 4B is a cross sectional view schematically showing voltage sharing by the voltage dividing diode 40.

(42) As shown in FIG. 3, suppose that a turning-on signal is inputted as the input voltage VIN3 and a turning-off signal is inputted as the input voltage VIN1 at the time t.sub.0. Then, the output stage nMOSFET 1a in the first arm EGR1 is made turned-off to bring the current IOUT1 to become zero at the time t.sub.1 after a time delay due to the presence of a Miller capacitance and to bring the voltage VOUT1 to be the voltage of the battery B as a power supply voltage. At the time t.sub.1 at which the state of the output stage nMOSFET 1a in the first arm EGR1 is changed from the turned-on state to the turned-off state, the state of the output stage nMOSFET 1c in the third arm EGR3 is shifted from the turned-off state to the turned-on state. This makes the voltage VOUT3 fall. In the process after the time t.sub.1, due to the influence of the mutual inductance between the coil 93 in the third arm EGR3 and the coil 91 in the first arm EGR1, a current (reverse current) flows in the coil 93 (FIG. 7A) in the third arm EGR3 in the opposite direction from the ground GND toward the battery B. The reverse current lasts for a period determined by the value of the mutual inductance and thereafter, at the time t.sub.2 at which the forward current exceeds the reverse current, the current flowing in the third arm EGR3 is switched to a current flowing from the battery B to the ground GND (forward current). The reverse current charges the battery B as a regenerative current.

(43) In this way, in the mutual-inductive load (equivalent to the coil 93 shown in FIG. 7A) connected to the third arm EGR3, an induced electromotive force (counter electromotive force) is generated so that the polarity of the OUT3 terminal becomes negative and the polarity of the GND terminal becomes positive. The induced electromotive force causes the current IOUT3 to flow from the GND terminal toward the OUT3 terminal as is shown in FIG. 4A. The current IOUT3 is divided into a current I1 flowing in the parasitic diode section 3 in the output stage nMOSFET 1c (equivalent to the output stage nMOSFET 51c in FIG. 7A), a current I2 flowing through the p-type well region 26, and a current I3 flowing through the voltage dividing diode 40.

(44) As is explained in the foregoing, between time t1 and t2 in FIG. 3, at the p-n junction f between the p-type well region 26 and the n-type semiconductor substrate 20, a rising voltage V1 (related to the built-in potential difference) equivalent to the voltage drop at the p-n junction f is produced by the current I2 flowing from the GND terminal to the OUT3 terminal through the p-type well region 26. The rising voltage V1 is 0.6V to 0.7V, for example. While, the voltage dividing diode 40, connected to the GND terminal with the anode 40b, has a p-n junction j between the anode 40b and the cathode 40a. Moreover, as is shown in FIG. 4B, between the p-type well region 26a, connected in series to the cathode 40a of the voltage dividing diode 40, and the n-type semiconductor substrate 20, a p-n junction k is also formed. The rising voltage V1 is applied to the p-n junction j and to the p-n junction k.

(45) The rising voltage V1 (0.7V) is divided into a voltage V2 applied to the p-n junction j of the voltage dividing diode 40 and a voltage V3 applied to the p-n junction k between the p-type well region 26a and the n-type semiconductor substrate 20 (V1=V2+V3). Each of the voltages V2 and V3, though it depends on the voltage dividing ratio, becomes V2=V30.35V when letting the voltage V1 be equally divided, for example, where the voltages V1, V2 and V3 are forward voltages at the p-n junctions f, j and k, respectively. Each of the divided voltages V2 and V3 (0.35V) applied to the p-n junctions j and k, respectively, becomes lower than the rising voltage (approximately 0.7V) applied to the whole of the p-n junction j and the p-n junction k regardless of the voltage dividing ratio. Hence, at each of the p-n junction j and the p-n junction k, only a considerably small current flows. That is, to the p-n junction k, a voltage lower than the rising voltage (approximately 0.7V) at the p-n junction f is applied to thereby make a parasitic transistor 38 not operated. This causes the ST-MOS circuit 8 not to malfunction to allow a normal signal to be inputted to the ST terminal.

(46) The p-type well region 26a is a back gate common to both of the lateral nMOSFETs 8a and 8b. The back gate becomes the base q of the parasitic transistor 38. In order for the parasitic transistor 38 to be brought into a turned-on state, it is necessary to apply the voltage V3 of V3=0.7V to the p-n junction between the p-type well region 26a and the n-type semiconductor substrate 20. That is, it is necessary to apply a voltage of 0.7V to the base q. However, the voltage dividing diode 40, being connected to the back gate in series, only allows a voltage smaller than the voltage V1 to be applied to the base q. This allows the parasitic transistor 38 to be brought into no turning-on operation. As a result, even in the case in which the polarity of the OUT3 terminal becomes negative and the polarity of the GND3 terminal becomes positive, the influence on the voltage at the ST3 terminal is inhibited, by which the voltage at the ST3 terminal is kept at a normal voltage.

(47) When the voltage dividing diode 40 is not formed of a single diode but is formed of a plurality of diodes connected in series, the voltage applied to the base q of the parasitic transistor 38 becomes further lower to make it further difficult for the parasitic transistor 38 to be brought into operation. However, an increase in number of the voltage dividing diodes 40 connected in series causes the state of the potential of the p-type well region 26a to be liable to be unstable. Thus, the number of the voltage dividing diodes 40 may be on the order of five or less.

(48) FIG. 5 is a cross sectional view showing the principal part of a semiconductor device 200 according to an embodiment of the invention. The semiconductor device 200 differs from the semiconductor device 100 shown in FIG. 2 in that the voltage dividing diode 40 in the semiconductor device 100 is provided as a lateral diffused junction diode 41, which is formed in the n-type semiconductor substrate 20 by impurity diffusion.

(49) In FIG. 5, the p-type well region 26b is newly provided between the p-type well region 26 and the p-type well region 26a. The impurity concentration in the p-type well region 26b is made to be higher than those in the p-type well region 26 and the p-type well region 26a. In the p-type well region 26b having the high impurity concentration, the lateral diffused junction diode 41 is formed, which is equivalent to the voltage dividing diode 40 shown in FIG. 2. The lateral diffused junction diode 41 has an n-type cathode region 41a and a p-type anode region 41b.

(50) In the p-type well region 26a, the lateral nMOSFET 8b (8a) is formed. Moreover, a p-type well region 26c is formed so as to overlap an n-type source region 29a of the lateral nMOSFET 8b (8a). The p-type well region 26c has a diffusion depth deeper than that of the p-type well region 26a and has a high impurity concentration on the same order of that in the p-type well region 26b. Furthermore, in the p-type well region 26c, a p-type contact region 26d with a high impurity concentration is formed apart from the n-type source region 29a. The p-type contact region 26d becomes the back gate of the lateral nMOSFET 8b (8a). The n-type cathode region 41a of the lateral diffused junction diode 41 and the p-type contact region 26d (back gate) are connected to each other.

(51) Between the time t1 and t2 in FIG. 3, the voltage between the GND terminal and the OUT terminal becomes 0.7V as the voltage at the p-n junction f between the p-type well region 26 and the n-type semiconductor substrate 20. The voltage of 0.7V is divided at the p-n junction j in the lateral diffused junction diode 41 and at the p-n junction k between the p-type well region 26a and the n-type semiconductor substrate 20, by which the voltage between the p-type well region 26a and the OUT terminal (equivalent to the voltage V3) becomes 0.35V, for example. The p-type well region 26a becomes the base q of the parasitic transistor 38. With the voltage applied between the base q and the OUT terminal being 0.35V, the parasitic transistor 38 is not brought into a turned-on state. As a result, like in the semiconductor device 100, the voltage at the ST terminal can be reliably maintained at a normal voltage.

(52) The reason for making the impurity concentrations higher in the p-type well region 26b and 26c is as follows. The higher impurity concentration makes the rising voltage at each of the p-n junction between the p-type well region 26b and the n-type semiconductor substrate 20 and the p-n junction between the p-type well region 26c and the n-type semiconductor substrate 20 higher than the rising voltage at the p-n junction k between the p-type well region 26a and the n-type semiconductor substrate 20. This can inhibit a current flowing from each of the p-type well region 26b and the p-type well region 26c to the n-type semiconductor substrate 20. Moreover, a parasitic transistor 38a can be made to be hardly turned-on, which is formed of the n-type cathode region 41a of the lateral diffused junction diode 41, the p-type well region 26b and the n-type semiconductor substrate 20.

(53) Furthermore, a p-type well region 26e formed also on the side of the n-type drain region 29 in the lateral nMOSFET 8b (8a) as is shown by a dotted line in FIG. 5 with an impurity concentration equal to that of the p-type well region 26c, reduces the area of the parasitic transistor 38 to make the parasitic transistor 38 further hardly turned-on.

(54) The distance between the p-type well regions 26b and 26c may also be the distance on the same order of the distance L between the p-type well regions 26 and 26a described above.

(55) FIG. 6 is a cross sectional view showing the principal part of an example of a modification of the semiconductor device 200. As is further shown in FIG. 6, by bringing the p-type anode region 41b and the n-type cathode region 41a of the lateral diffused junction diode 41 into contact with each other or into close proximity to each other, the lateral resistance r of the lateral diffused junction diode 41 shown in FIG. 5 is reduced. This can decrease a current passing from the p-type well region 26b to the n-type semiconductor substrate 20. As a result, from the n-type cathode region 41a of the lateral diffused junction diode 41, the divided voltage at the n-type cathode region 41a can be reliably transmitted to the p-type well region 26a to be the back gate of the lateral nMOSFET 8b (8a), by which the parasitic transistor 38a can be made to be hardly turned-on.

(56) While the present invention has been particularly shown and described with reference to embodiments thereof, it will be understood by those skilled in the art that the foregoing and other changes in form and details can be made therein without departing from the spirit and scope of the present invention.