Semiconductor device
Patent Information
- Application Number
- JP2023035851
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-08
- Publication Date
- 2024-09-20
AI Technical Summary
【0007】 1側面によれば、回路素子の特性ずれを抑制して、温度検出精度の向上を図ることが可能になる。
Smart Images

Figure 2024127024000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a semiconductor device. [Background technology]
[0002] A semiconductor device that drives a power semiconductor element is provided with a protection function for preventing failure of the power semiconductor element. For example, the protection function detects the temperature of the power semiconductor element and limits the current flowing through the power semiconductor element.
[0003] As a related technique, for example, a technique has been proposed in which a temperature detection diode is compared with a threshold voltage to output a level according to the temperature state, and the forward current of the diode is corrected to improve detection accuracy (Patent Document 1). Also, a technique has been proposed in which the forward voltages of diodes in multiple paths are compared by a comparator (Patent Document 2). Still further, a technique has been proposed that operates with a current generated from a constant current source, and detects overheating when a voltage that varies according to the temperature of a semiconductor substrate falls below a threshold voltage (Patent Document 3). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-184351 A [Patent Document 2] JP 2021-124342 A [Patent Document 3] Patent No. 4981267 specification Summary of the Invention [Problem to be solved by the invention]
[0005] An object of the present invention is to improve the accuracy of temperature detection by suppressing deviations in characteristics of circuit elements within a semiconductor device. [Means for solving the problem]
[0006] In order to solve the above problems, a semiconductor device is provided, which includes a constant current source, a current mirror circuit that copies a current from the constant current source to generate a copied current, a temperature detection diode, and a temperature detection voltage generation circuit that is connected in series with the temperature detection diode and outputs a temperature detection voltage based on the copied current, a reference voltage generation circuit that generates a reference voltage based on the copied current and has the same characteristics as the temperature detection voltage generation circuit, and a comparison circuit that outputs a temperature detection signal based on a result of comparing the temperature detection voltage with the reference voltage. Effect of the Invention
[0007] According to one aspect, it is possible to suppress deviations in characteristics of circuit elements and improve the accuracy of temperature detection. [Brief description of the drawings]
[0008] [Figure 1] 1A and 1B are diagrams illustrating an example of a semiconductor device. [Diagram 2] FIG. 1 is a diagram showing an example of the configuration of a semiconductor device that does not have a function of suppressing characteristic deviation of a circuit element; [Diagram 3] FIG. 2 is a diagram showing an example of a circuit configuration of an inverter element. [Figure 4] FIG. 11 is a diagram illustrating an example of an output operation of an overheat detection signal. [Diagram 5] 11A and 11B are diagrams illustrating an example of fluctuations in an overheat detection signal due to characteristic variations in circuit elements. [Figure 6] 1 is a diagram showing an example of a configuration of a semiconductor device of the present invention; [Figure 7] FIG. 11 is a diagram illustrating an example of an output operation of an overheat detection signal. [Figure 8] 11A and 11B are diagrams illustrating an example of fluctuations in an overheat detection signal due to characteristic variations in circuit elements. [Figure 9] 1A and 1B are diagrams illustrating modified examples of the configuration of a semiconductor device. [Figure 10] FIG. 11 is a diagram illustrating an example of an output operation of an overheat detection signal. [Figure 11]FIG. 2 is a diagram showing an example of characteristics of a gate voltage and a drain current of a MOS transistor. [Figure 12] FIG. 2 is a diagram showing an example of characteristics of a gate voltage and a drain current of a MOS transistor. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, the present embodiment will be described with reference to the drawings. Fig. 1 is a diagram for explaining an example of a semiconductor device. The semiconductor device 1 has a constant current source 1a, a current mirror circuit 1b, a temperature detection circuit 1c, a reference voltage generation circuit 1d, and a comparison circuit 1e. The constant current source 1a is composed of, for example, a depletion MOS (Metal Oxide Semiconductor) transistor.
[0010] The current mirror circuit 1b copies the current from the constant current source 1a to generate a copy current icp. The temperature detection circuit 1c includes a temperature detection diode 1c1 and a temperature detection voltage generation circuit 1c2 connected in series to the temperature detection diode 1c1, and outputs a temperature detection voltage V1 based on the copy current icp.
[0011] The reference voltage generating circuit 1d generates a reference voltage Vr based on the duplicated current icp. The comparator circuit 1e outputs a temperature detection signal s0 based on a comparison result between the temperature detection voltage V1 and the reference voltage Vr. The temperature detection voltage generating circuit 1c2 and the reference voltage generating circuit 1d have the same characteristics.
[0012] In the semiconductor device 1 configured as above, the temperature detection voltage generating circuit 1c2 connected to the temperature detection diode 1c1 and the reference voltage generating circuit 1d have the same characteristics, so that the characteristic deviation (characteristic variation) shows the same tendency.
[0013] Furthermore, even if a characteristic deviation occurs in the constant current source 1a, the entire device operates with a duplicated current that is a copy of the current of the constant current source 1a in the current mirror circuit 1b, so the characteristic deviation will show the same tendency. As a result, even if a characteristic deviation occurs in a circuit element, the characteristic deviation can be suppressed because the tendency of the characteristic deviation will shift in the same direction throughout the entire device, making it possible to improve the temperature detection accuracy.
[0014] Before describing the details of the present invention, a semiconductor device that does not have a function for suppressing characteristic deviations of circuit elements will be described with reference to Fig. 2 to Fig. 5. Fig. 2 is a diagram showing an example of the configuration of a semiconductor device that does not have a function for suppressing characteristic deviations of circuit elements. Semiconductor device 20 includes a constant current source 21, a temperature detection circuit 22, and an inverter element 23.
[0015] Temperature detection circuit 22 includes temperature detection diodes D1, ..., D4 whose temperature detection voltage changes based on the current from constant current source 21. Inverter element 23 outputs an L-level overheat detection signal s2 when the temperature state of the element is in a non-overheated state, and outputs an H-level overheat detection signal s2 when the temperature state of the element is in an overheated state.
[0016] In terms of the connection relationship of the constituent elements, the input terminal of the constant current source 21 is connected to the power supply voltage Vcc. The output terminal of the constant current source 21 is connected to the anode of the temperature detection diode D1 and the input terminal of the inverter element 23.
[0017] The cathode of the temperature detection diode D1 is connected to the anode of the temperature detection diode D2, the cathode of the temperature detection diode D2 is connected to the anode of the temperature detection diode D3, and the cathode of the temperature detection diode D3 is connected to the anode of the temperature detection diode D4. The cathode of the temperature detection diode D4 is connected to a reference potential (hereinafter, GND).
[0018] Here, since the current i1 flowing from the constant current source 21 to the temperature detection diodes D1,...,D4 is a forward current for the temperature detection diodes D1,...,D4, the voltage (temperature detection voltage) at the node n1 is the sum of the forward voltages (hereinafter sometimes referred to as forward voltage VF) of the temperature detection diodes D1,...,D4. For example, if the forward voltages VF of the temperature detection diodes D1,...,D4 are each 0.8V, the temperature detection voltage at the node n1 is 3.2(=0.8×4)V.
[0019] In addition, the temperature detection diodes D1, . . . , D4 have temperature characteristics, and the forward voltage VF varies with temperature. For example, when the temperature rises by 1° C., the forward voltage VF at the node n1 drops by approximately 2 mV.
[0020] Therefore, for example, when the temperature rises from 25° C. to 50° C., the drop in the forward voltage VF of one temperature detection diode is 0.05 (=0.002×25) V.
[0021] Therefore, if the forward voltage VF is 0.8 V at a temperature of 25°C and the temperature rises to 50°C, the total decrease in the forward voltage VF of the temperature detection diodes D1, ..., D4 will be 0.2 (= 0.05 x 4) V, and the temperature detection voltage at node n1 will be 3.0 (3.2 - 0.2) V.
[0022] In this way, the temperature detection voltage at node n1 is 3.2V when the temperature is 25° C. and 3.0V when the temperature is 50° C., and so changes with temperature changes and decreases as the temperature rises.
[0023] 3 is a diagram showing an example of a circuit configuration of an inverter element. The inverter element 23 includes a constant current source 23a and an NMOS transistor 23b. The input terminal of the constant current source 23a is connected to a power supply voltage Vcc. The output terminal of the constant current source 23a is connected to the drain of the NMOS transistor 23b.
[0024] The gate of the NMOS transistor 23b serves as the input terminal of the inverter element 23 and is connected to the node n1 shown in Fig. 2. The source of the NMOS transistor 23b is connected to GND. In addition, the connection point between the output terminal of the constant current source 23a and the drain of the NMOS transistor 23b serves as the output terminal of the inverter element 23 from which the overheat detection signal s2 is output.
[0025] 4 is a diagram showing an example of the output operation of the overheat detection signal. The horizontal axis is temperature, and the vertical axis is voltage. The threshold temperature Tr is the temperature for distinguishing between a non-overheat state and an overheat state. The forward voltage VF (temperature detection voltage) at node n1 decreases as the temperature goes from a low state to a high state.
[0026] Therefore, a temperature state in which the forward voltage VF is higher than the threshold voltage Vth0 of the inverter element 23 (threshold voltage of the NMOS transistor 23b) is determined to be a non-overheat state. In this case, the gate of the NMOS transistor 23b becomes H level and the NMOS transistor 23b turns on, so that an L-level overheat detection signal s2 indicating a non-overheat state is output from the output terminal of the inverter element 23.
[0027] Moreover, it is determined that the temperature state is an overheat state when the forward voltage VF is lower than the threshold voltage Vth0 of the inverter element 23. In this case, the gate of the NMOS transistor 23b becomes L level and the NMOS transistor 23b is turned off, so that an H-level overheat detection signal s2 indicating an overheat state is output from the output terminal of the inverter element 23.
[0028] 5 is a diagram showing an example of fluctuations in the overheat detection signal due to characteristic variations in circuit elements. The horizontal axis is temperature, and the vertical axis is voltage. When the detection temperature reaches or exceeds the threshold temperature Tr, the target state is a state in which an H-level overheat detection signal s2 is output to notify of an overheat state.
[0029] In the above-described semiconductor device 20, there are variation factors that contribute to the characteristics, such as the current i1 output from the constant current source 21 that flows through the temperature detection diodes D1, ..., D4, the forward voltage VF of the temperature detection diodes D1, ..., D4, and the multiple elements that constitute the inverter element 23. Among these variation factors, the current i1 output from the constant current source 21 and the threshold voltage Vth0 of the NMOS transistor 23b in the inverter element 23 have a particularly large effect on temperature detection.
[0030] For example, when the current i1 output from the constant current source 21 decreases, the forward voltage VF decreases to a forward voltage VF1. In this case, the detection point p1 moves to a detection point p11, and the threshold temperature Tr changes to a lower temperature Tr1. Therefore, although it is desirable to determine that an overheating state exists when the temperature is equal to or higher than the threshold temperature Tr, the temperature is determined to be equal to or higher than the threshold temperature Tr1, which is lower than the threshold temperature Tr.
[0031] Or, the threshold voltage Vth0 of the NMOS transistor 23b in the inverter element 23 drops to the threshold voltage Vth1. In this case, the detection point p1 moves to the detection point p12, and the threshold temperature Tr rises to the threshold temperature Tr2. Therefore, although it is actually desired to determine that an overheating state exists when the temperature is equal to or higher than the threshold temperature Tr, the overheating state is determined to exist when the temperature is equal to or higher than the threshold temperature Tr2, which is higher than the threshold temperature Tr.
[0032] In the above, the characteristic variations are shown as a decrease in the current i1 output from the constant current source 21 and a decrease in the threshold voltage Vth0 of the NMOS transistor 23b. However, in the case of an increase in the current i1 output from the constant current source 21 and an increase in the threshold voltage Vth0 of the NMOS transistor 23b, the opposite behavior to the above occurs.
[0033] The present invention has been made in consideration of these points, and provides a semiconductor device that suppresses deviations in the characteristics of circuit elements and improves the accuracy of temperature detection, so that detection at a predetermined threshold temperature can be performed stably.
[0034] Next, the configuration and operation of the semiconductor device of the present invention will be described in detail below. Fig. 6 is a diagram showing an example of the configuration of the semiconductor device of the present invention. The semiconductor device 10 has the functions of the semiconductor device 1 shown in Fig. 1, and includes a temperature detection circuit 11, a current mirror circuit 12, a reference voltage generation circuit 13, a constant current source IR1, and a comparator cmp1.
[0035] The temperature detection circuit 11 includes temperature detection diodes D1 and D2, and a diode-connected NMOS transistor MN1 (first MOS transistor). The number of temperature detection diodes D1 and D2 connected in series is not limited to two, and may be any number. The NMOS transistor MN1 corresponds to the temperature detection voltage generating circuit 1c2 shown in FIG. 1.
[0036] The current mirror circuit 12 includes PMOS transistors MP1, MP2, and MP3. The reference voltage generating circuit 13 includes a diode-connected NMOS transistor MN2 (second MOS transistor). The NMOS transistors MN1 and MN2 are elements having the same characteristics, such as temperature characteristics and operating points.
[0037] In terms of the connection of the constituent elements, the source of the PMOS transistor MP1 is connected to the backgate of the PMOS transistor MP1, the source of the PMOS transistor MP2, the backgate of the PMOS transistor MP2, the source of the PMOS transistor MP3, the backgate of the PMOS transistor MP3 and the power supply voltage Vcc.
[0038] The gate of the PMOS transistor MP1 is connected to the drain of the PMOS transistor MP1, the input terminal of the constant current source IR1, the gate of the PMOS transistor MP2, and the gate of the PMOS transistor MP3. The output terminal of the constant current source IR1 is connected to GND.
[0039] The drain of the PMOS transistor MP2 (the first terminal of the current mirror circuit 12) is connected to the anode of the temperature detection diode D1 and the inverting input terminal (-) of the comparator cmp1.
[0040] The cathode of the temperature detection diode D1 is connected to the anode of the temperature detection diode D2. The cathode of the temperature detection diode D2 is connected to the drain and gate of the NMOS transistor MN1. The source of the NMOS transistor MN1 is connected to GND.
[0041] The drain of the PMOS transistor MP3 (the second terminal of the current mirror circuit 12) is connected to the non-inverting input terminal (+) of the comparator cmp1, the drain of the NMOS transistor MN2, and the gate of the NMOS transistor MN2. The source of the NMOS transistor MN2 is connected to GND.
[0042] In this manner, the semiconductor device 10 has a temperature detection circuit 11 in which the NMOS transistor MN1, which is a diode-connected MOSFET (MOS Field effect transistor), is connected in series with the temperature detection diodes D1 and D2. Also, a current mirror circuit 12 is provided to copy the output current of the constant current source IR1. The current copied by the current mirror circuit 12 is input to the temperature detection circuit 11.
[0043] Furthermore, there is provided a diode-connected MOSFET (NMOS transistor MN2) that generates a reference voltage Vr with the current copied by the current mirror circuit 12. The MOSFET in the temperature detection circuit 11 and the MOSFET that generates the reference voltage Vr are elements with the same characteristics, and a comparator cmp1 is provided that compares the forward voltage VF (temperature detection voltage) at node n1 with the reference voltage Vr to output an overheat detection signal s1.
[0044] 7 is a diagram showing an example of the output operation of the overheat detection signal. The horizontal axis is temperature, and the vertical axis is voltage. Note that the reference voltage Vr in the diagram is a voltage generated by the reference voltage generating circuit 13, and corresponds to the drain voltage (drain-source voltage) of the NMOS transistor MN2.
[0045] Here, the forward voltage VF at the node n1 decreases as the temperature goes from a low state to a high state. Therefore, when the forward voltage VF is higher than the reference voltage Vr input to the non-inverting input terminal (+) of the comparator cmp1, the temperature state is determined to be a non-overheat state.
[0046] In this case, the input level of the inverting input terminal (-) of the comparator cmp1 is higher than the input level of the non-inverting input terminal (+) of the comparator cmp1 to which the reference voltage Vr is input. Therefore, the output terminal of the comparator cmp1 outputs an L-level overheat detection signal s1 indicating a non-overheat state.
[0047] Moreover, when the temperature state is such that the forward voltage VF is lower than the reference voltage Vr input to the non-inverting input terminal (+) of the comparator cmp1, the temperature state is determined to be an overheat state. In this case, the input level of the non-inverting input terminal (+) of the comparator cmp1 is higher than the input level of the inverting input terminal (-) of the comparator cmp1 to which the forward voltage VF at the node n1 is input. Therefore, an H-level overheat detection signal s1 indicating an overheat state is output from the output terminal of the comparator cmp1.
[0048] In an overheated state at or above the threshold temperature Tr, the forward voltage VF must be lower than the input voltage (reference voltage Vr) of the non-inverting input terminal (+) of the comparator cmp1. For this reason, for example, adjustments may be made such as increasing the size of the NMOS transistor MN1 connected to the temperature detection diode D2 to reduce the resistance value, or increasing the current flowing through the path of only the NMOS transistor MN2 to raise the drain voltage of the NMOS transistor MN2.
[0049] 8 is a diagram showing an example of fluctuations in the overheat detection signal due to characteristic variations in circuit elements. The horizontal axis is temperature, and the vertical axis is voltage. The target state is a state in which an H-level overheat detection signal s1 notifying an overheat state is output when the detection temperature reaches or exceeds a threshold temperature Tr.
[0050] In the semiconductor device 10, when a decrease in the current output from the constant current source IR1 occurs as a phenomenon causing variation, the current copied by the current mirror circuit 12 also decreases similarly, and this decreased current flows through the temperature detection circuit 11 and the reference voltage generation circuit 13. Therefore, due to the decrease in current, the forward voltage VF decreases to a forward voltage VF1, and the reference voltage Vr also decreases to a reference voltage Vr1.
[0051] In this way, when the output current from the constant current source IR1 decreases, both the forward voltage VF and the reference voltage Vr decrease, so that the variation in the output current from the constant current source IR1 is offset, and the deviation of the threshold temperature Tr can be suppressed. In other words, the detection point p1 moves to the detection point p2, so the fluctuation range of the threshold temperature Tr is small.
[0052] In addition, if a variation occurs such that the current output from the constant current source IR1 increases, the opposite operation to the above occurs, in which both the forward voltage VF and the reference voltage Vr increase, thereby canceling out the variation in the output current from the constant current source IR1 and suppressing the deviation of the threshold temperature Tr.
[0053] As described above, in the semiconductor device 10, the current from the constant current source IR1 is copied by the current mirror circuit 12, and the copied current is input to the temperature detection circuit 11 and the reference voltage generation circuit 13.
[0054] Based on the copied current, a temperature detection voltage (forward voltage VF at node n1) and a reference voltage Vr are generated, and the temperature detection voltage is compared with the reference voltage Vr by a comparator cmp1, and an overheat detection signal s1 is output based on the comparison result. In addition, a diode-connected NMOS transistor MN1 is disposed in the temperature detection circuit 11, and the NMOS transistor MN2 for generating the reference voltage and the NMOS transistor MN1 are configured with elements having the same characteristics.
[0055] This allows stable detection at a predetermined threshold temperature, suppresses deviations in the characteristics of circuit elements, and improves the accuracy of temperature detection. In addition, there is no need to add a circuit to correct variations (such as a trimming circuit), which also has the effect of suppressing an increase in device size.
[0056] 9 is a diagram showing a modified example of the configuration of the semiconductor device. The modified semiconductor device 10a includes a temperature detection circuit 11a, a current mirror circuit 12a, a reference voltage generation circuit 13a, a constant current source IR11, and a comparator cmp11.
[0057] The temperature detection circuit 11a includes temperature detection diodes D11 and D12 and a diode-connected PMOS transistor MP11 (first MOS transistor). The number of temperature detection diodes D11 and D12 connected in series is not limited to two, and may be any number. The PMOS transistor MP11 corresponds to the temperature detection voltage generation circuit 1c2 shown in FIG.
[0058] The current mirror circuit 12a includes NMOS transistors MN11, MN12, and MN13. The reference voltage generating circuit 13a includes a diode-connected PMOS transistor MP12 (a second MOS transistor). The PMOS transistors MP11 and MP12 are elements having the same characteristics, such as temperature characteristics and operating points.
[0059] In terms of the connection relationship of the constituent elements, the source of the PMOS transistor MP11 is connected to the backgate of the PMOS transistor MP11, the source of the PMOS transistor MP12, the backgate of the PMOS transistor MP12, the input terminal of the constant current source IR11, and the power supply voltage Vcc.
[0060] The output terminal of the constant current source IR11 is connected to the drain of the NMOS transistor MN11, the gate of the NMOS transistor MN11, the gate of the NMOS transistor MN12, and the gate of the NMOS transistor MN13.
[0061] The gate of the PMOS transistor MP11 is connected to the drain of the PMOS transistor MP11 and the anode of the temperature detection diode D11. The cathode of the temperature detection diode D11 is connected to the anode of the temperature detection diode D12. The cathode of the temperature detection diode D12 is connected to the non-inverting input terminal (+) of the comparator cmp11 and the drain of the NMOS transistor MN12 (the first terminal of the current mirror circuit 12a).
[0062] The gate of the PMOS transistor MP12 is connected to the drain of the PMOS transistor MP12, the inverting input terminal (-) of the comparator cmp11, and the drain of the NMOS transistor MN13 (the second terminal of the current mirror circuit 12a). The sources of the NMOS transistor MN11, the NMOS transistor MN12, and the NMOS transistor MN13 are connected to GND.
[0063] In this manner, the semiconductor device 10a has a temperature detection circuit 11a in which a diode-connected MOSFET (PMOS transistor MP11) is connected in series with temperature detection diodes D11 and D12. Also, a current mirror circuit 12a that copies the output current of a constant current source IR11 is provided, and the current copied by the current mirror circuit 12a flows into the temperature detection circuit 11a.
[0064] Furthermore, a diode-connected MOSFET (PMOS transistor MP12) is provided to generate a reference voltage Vr with the current copied by the current mirror circuit 12a. The MOSFET in the temperature detection circuit 11a and the MOSFET that generates the reference voltage Vr are elements with the same characteristics, and a comparator cmp11 is provided to compare the forward voltage VF (temperature detection voltage) at node n2 with the reference voltage Vr and output an overheat detection signal s1.
[0065] 10 is a diagram showing an example of an output operation of an overheat detection signal. The horizontal axis represents temperature, and the vertical axis represents voltage. Note that the reference voltage Vr in the diagram is a voltage generated by the reference voltage generating circuit 13a, and corresponds to the drain voltage of the PMOS transistor MP12.
[0066] Here, the forward voltage VF at the node n2 increases as the temperature goes from a low state to a high state. Therefore, when the forward voltage VF is lower than the reference voltage Vr input to the inverting input terminal (-) of the comparator cmp11, the temperature state is determined to be a non-overheat state.
[0067] In this case, the input level of the non-inverting input terminal (+) of the comparator cmp11 is lower than the input level of the inverting input terminal (-) of the comparator cmp11 to which the reference voltage Vr is input. Therefore, the output terminal of the comparator cmp11 outputs an L-level overheat detection signal s1 indicating a non-overheat state.
[0068] Moreover, when the forward voltage VF at the node n2 is higher than the reference voltage Vr input to the inverting input terminal (-) of the comparator cmp11, the temperature state is determined to be an overheat state.
[0069] In this case, the input level of the inverting input terminal (-) of the comparator cmp11 is lower than the input level of the non-inverting input terminal (+) of the comparator cmp11 to which the forward voltage VF at the node n2 is input. Therefore, the output terminal of the comparator cmp11 outputs an H-level overheat detection signal s1 indicating an overheat state.
[0070] In an overheated state, the forward voltage VF at the node n2 needs to exceed the input voltage (reference voltage Vr) at the inverting input terminal (-) of the comparator cmp11. For this reason, for example, adjustments may be made such as increasing the size of the PMOS transistor MP11 connected to the temperature detection diode D11 to reduce the resistance value, or increasing the current flowing through the path of only the PMOS transistor MP12 to lower the drain voltage of the PMOS transistor MP12.
[0071] Next, the same characteristic will be explained with reference to Figs. 11 and 12. Fig. 11 is a diagram showing an example of the characteristics of the gate voltage and drain current of a MOS transistor. The horizontal axis is the gate voltage VG, and the vertical axis is the drain current ID. The vertical axis is a logarithmic scale. Here, if element A and element B have the same characteristics, the operating points of element A and element B are the same. Therefore, if element A is the temperature detection voltage generating circuit 1c2 and element B is the reference voltage generating circuit 1d, the temperature detection voltage generating circuit 1c2 and the reference voltage generating circuit 13 have the same characteristics and therefore the same operating points.
[0072] Specifically, if element A is a first MOS transistor and element B is a second MOS transistor, the first and second MOS transistors have the same characteristics and the same threshold voltage (gate voltage VG) as the operating point.
[0073] 11, it is assumed that the elements A and B have roughly multiple characteristics due to the element constants (gate length, gate width, etc.) In this case, for example, the gate voltage VG required when the element A passes a drain current ID of 1 μA is 0.8 V (0.8 V@1 μA), and the gate voltage VG required when the element B passes a drain current ID of 2 μA is 0.8 V (0.8 V@2 μA).
[0074] In this way, when the characteristics are equal at the same gate voltage VG (in this example, the drain current ID is doubled at the same gate voltage VG), element A and element B have the same characteristics. Therefore, by applying such elements A and B as first and second diode-connected MOS transistors to the temperature detection voltage generating circuit 1c2 and the reference voltage generating circuit 1d, respectively, and adjusting the current by the current mirror circuit 1b, it is possible to appropriately adjust the characteristics of the first and second diode-connected MOS transistors, and to efficiently suppress characteristic variations.
[0075] 12 is a diagram showing an example of the gate voltage and drain current characteristics of a MOS transistor. The horizontal axis is the gate voltage VG, and the vertical axis is the drain current ID. If element A and element B have the same characteristics, the temperature change (temperature dependency) of the operating point of element A and element B is the same under specified conditions. Therefore, if element A is the temperature detection voltage generating circuit 1c2 and element B is the reference voltage generating circuit 1d, the temperature detection voltage generating circuit 1c2 and the reference voltage generating circuit 1d have the same characteristics and have the same temperature change of the operating point under specified conditions.
[0076] Specifically, if element A is the first MOS transistor and element B is the second MOS transistor, the first and second MOS transistors have the same characteristics, and therefore have the same amount of temperature change in threshold voltage (gate voltage VG) when a specified drain current ID flows.
[0077] 12, in the waveform g11 at 25° C. and the waveform g12 at 175° C., the temperature change in the gate voltage VG required to pass a predetermined drain current ID is the same for the elements A and B. In this case, for example, the gate voltage VG required to pass 1 μA of drain current ID for both the elements A and B is 800 mV at 25° C. (800 mV@25° C.) and 600 mV at 175° C. (600 mV@175° C.).
[0078] Alternatively, for element A, the gate voltage VG required to pass a drain current ID of 1 μA is 800 mV at 25° C. (800 mV@25° C.), and for element B, the gate voltage VG required to pass a drain current ID of 1 μA is 600 mV at 175° C. (600 mV@175° C.).
[0079] Furthermore, for element A, the gate voltage VG required to pass a drain current ID of 2 μA is 800 mV at 25° C. (800 mV@25° C.), and for element B, the gate voltage VG required to pass a drain current ID of 2 μA is 600 mV at 175° C. (600 mV@175° C.).
[0080] In any of the above examples, the temperature change amount of element A and element B is the same. Therefore, when the temperature change amount of the threshold voltage (gate voltage VG) is the same under the condition that a specified drain current ID flows, element A and element B have the same characteristics. Therefore, by applying such element A and element B as the first and second diode-connected MOS transistors to the temperature detection voltage generating circuit 1c2 and the reference voltage generating circuit 1d, respectively, it is possible to appropriately adjust the characteristics of the first and second diode-connected MOS transistors, and to efficiently suppress characteristic variations.
[0081] As described above, according to the present invention, since it is possible to cancel out the variations in the threshold voltages of the constant current sources and MOSFETs constituting the device, it is possible to suppress the deviation in characteristics and improve the temperature detection accuracy. In addition, since a correction circuit, trimming circuit, etc. for correcting the deviation in characteristics is not required, it is possible to suppress an increase in the scale of circuit implementation.
[0082] Although the embodiments have been described above, the configurations of the parts shown in the embodiments can be replaced with other configurations having similar functions. Any other components or steps may be added. Furthermore, any two or more configurations (features) of the above-described embodiments may be combined. [Explanation of symbols]
[0083] 1 Semiconductor device 1a constant current source 1b Current mirror circuit 1c Temperature detection circuit 1c1 Temperature detection diode 1c2 Temperature detection voltage generation circuit 1d Reference voltage generation circuit 1e comparison circuit icp replication current V1 Temperature detection voltage Vr Reference voltage s0 Temperature detection signal
Claims
1. A constant current source; a current mirror circuit that replicates a current from the constant current source to generate a replicated current; a temperature detection circuit including a temperature detection diode and a temperature detection voltage generating circuit connected in series with the temperature detection diode, the temperature detection circuit outputting a temperature detection voltage based on the replicated current; a reference voltage generating circuit that generates a reference voltage based on the replicated current and has the same characteristics as the temperature detection voltage generating circuit; a comparison circuit that outputs a temperature detection signal based on a comparison result between the temperature detection voltage and the reference voltage; A semiconductor device having the above structure.
2. the temperature detection voltage generating circuit is a diode-connected first MOS transistor, and the reference voltage generating circuit is a diode-connected second MOS transistor; The semiconductor device according to claim 1.
3. the first MOS transistor is a first NMOS transistor, and the second MOS transistor is a second NMOS transistor; a first terminal of the current mirror circuit from which the duplicated current is output is connected to an anode of the temperature detection diode and an inverting input terminal of the comparison circuit; a cathode of the temperature detection diode is connected to a gate of the first NMOS transistor and a drain of the first NMOS transistor, and a source of the first NMOS transistor is connected to a reference potential; a second terminal of the current mirror circuit, from which the replica current is output, is connected to a non-inverting input terminal of the comparison circuit, a gate of the second NMOS transistor, and a drain of the second NMOS transistor, and a source of the second NMOS transistor is connected to the reference potential; The semiconductor device according to claim 2 .
4. the first MOS transistor is a first PMOS transistor, and the second MOS transistor is a second PMOS transistor; a first terminal of the current mirror circuit through which the duplicated current flows is connected to a cathode of the temperature detection diode and a non-inverting input terminal of the comparison circuit; an anode of the temperature detection diode is connected to a gate of the first PMOS transistor and a drain of the first PMOS transistor, and a source and a back gate of the first PMOS transistor are connected to a power supply voltage; a second terminal of the current mirror circuit through which the replica current flows is connected to an inverting input terminal of the comparison circuit, a gate of the second PMOS transistor, and a drain of the second PMOS transistor, and a source and a back gate of the second PMOS transistor are connected to the power supply voltage; The semiconductor device according to claim 2 .
5. 2. The semiconductor device according to claim 1, wherein the same characteristic of said current source circuit and said reference voltage generating circuit is that they have the same operating point or the same amount of temperature change of the operating point under predetermined conditions.
6. 3. The semiconductor device according to claim 2, wherein the first MOS transistor and the second MOS transistor have the same threshold voltage as an operating point as the same characteristic, or the temperature change of the threshold voltage is the same under conditions in which a predetermined drain current flows through the first MOS transistor and the second MOS transistor.
Citation Information
Patent Citations
JP1974081267A
Temperature detector
JP2019184351A
Temperature detection circuit
JP2021124342A
