Temperature sensor

The temperature sensor design addresses performance issues in existing sensors by using a diode with timed evaluation currents and voltage detection to calculate temperature, achieving high accuracy by mitigating saturation and resistance influences.

JP2024115235AInactive Publication Date: 2024-08-26ROHM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023020834
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2024-08-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing temperature sensors using PN junction diodes suffer from performance issues due to variations in saturation current and resistance components, affecting accuracy in temperature detection.

Method used

A temperature sensor design that includes a diode placed in a target path between nodes, with a current supply circuit providing evaluation currents at different timings, a voltage detection circuit to measure voltages, and an arithmetic circuit to calculate temperature based on these voltages, effectively eliminating the influence of saturation current and resistance variations.

Benefits of technology

Enables highly accurate temperature detection by suppressing the effects of saturation current and resistance component variations, resulting in improved performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024115235000001
    Figure 2024115235000001
Patent Text Reader

Abstract

To enable a temperature to be satisfactorily detected.SOLUTION: A temperature sensor (1) comprises: a temperature detection diode (D1) which is located at a position having a target temperature, and which is inserted into a target path (60) between a first and a second node; a current supply circuit (10) that supplies first to third evaluation currents (If1-If3) to the target path in a forward direction of the temperature detection diode at mutually different timing; a voltage detection circuit (20) that detects the voltage (VF) between the first and the second nodes when the first to third evaluation currents are supplied to the target path, respectively as a first evaluation voltage to a third evaluation voltage (VF1-VF3); and a computation circuit (30) that detects the target temperature on the basis of the first to third evaluation voltages.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a temperature sensor. [Background technology]

[0002] Temperature sensors that use a PN junction diode to detect temperature are widely used. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2012-227517 A Summary of the Invention [Problem to be solved by the invention]

[0004] There is room for improvement in terms of performance in temperature sensors that use diodes to detect temperature.

[0005] An object of the present disclosure is to provide a temperature sensor that enables good temperature detection. [Means for solving the problem]

[0006] The temperature sensor according to the present disclosure includes a temperature detection diode, which is a diode arranged at a position having a target temperature, and is inserted in a target path between a first node and a second node; a current supply circuit configured to supply first to third evaluation currents to the target path in a forward direction of the temperature detection diode at different timings; a voltage detection circuit configured to detect voltages between the first node and the second node as first to third evaluation voltages, respectively, when the first to third evaluation currents are supplied to the target path; and an arithmetic circuit configured to detect the target temperature based on the first to third evaluation voltages. Effect of the Invention

[0007] According to the present disclosure, it is possible to provide a temperature sensor that enables good temperature detection. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is an illustration of current and voltage associated with a diode according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is an illustration of current and voltage associated with a diode according to an embodiment of the present disclosure. [Diagram 3] FIG. 3 is a configuration diagram of a temperature sensor according to an embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram showing a state in which a resistance component exists in a path through which a forward current of a diode flows in a temperature sensor according to an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a diagram showing a state in which a resistance component exists in a path through which a forward current of a diode flows in a temperature sensor according to an embodiment of the present disclosure. [Figure 6] FIG. 6 is a flowchart showing the overall operation of the temperature sensor according to a first example of an embodiment of the present disclosure. [Figure 7] FIG. 7 is a flowchart of a voltage detection process according to a first example of an embodiment of the present disclosure. [Figure 8] FIG. 8 is a flowchart of a calculation process according to a first example belonging to an embodiment of the present disclosure. [Figure 9] FIG. 9 is a diagram showing the relationship between voltage and temperature related to detection in the first example belonging to the embodiment of the present disclosure. [Figure 10] FIG. 10 is a diagram showing the relationship between the temperature and the digital value obtained by the arithmetic processing according to the first example of the embodiment of the present disclosure. [Figure 11] FIG. 11 is a timing sequence diagram relating to temperature detection according to a first example of an embodiment of the present disclosure. [Figure 12] FIG. 12 is a flowchart of a voltage detection process according to a second example belonging to an embodiment of the present disclosure. [Figure 13] FIG. 13 is a flowchart of a calculation process according to a second example belonging to an embodiment of the present disclosure. [Figure 14] FIG. 14 is a diagram showing a bipolar transistor constituting a diode according to a fifth example of the embodiment of the present disclosure. [Figure 15] FIG. 15 is an external perspective view of a semiconductor device incorporating a temperature sensor according to a seventh example of the embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, examples of embodiments of the present disclosure will be specifically described with reference to the drawings. In each of the drawings, the same parts are given the same reference numerals, and duplicated descriptions of the same parts are generally omitted. In this specification, for the sake of simplicity, by writing a symbol or code referring to information, signal, physical quantity, functional part, circuit, element, or part, the name of the information, signal, physical quantity, functional part, circuit, element, or part corresponding to the symbol or code may be omitted or abbreviated.

[0010] First, some terms used in the description of the embodiments of the present disclosure will be explained. Ground refers to a reference conductive part having a reference potential of 0V (zero volts), or refers to the potential of 0V itself. The reference conductive part may be formed using a conductor such as a metal. The potential of 0V may also be called ground potential. In the embodiments of the present disclosure, a voltage shown without a particular reference represents a potential seen from ground.

[0011] MOSFET is an abbreviation of "metal-oxide-semiconductor field-effect transistor". Unless otherwise specified, MOSFET is understood to be an enhancement type MOSFET. Also, unless otherwise specified, the back gate of any MOSFET can be considered to be shorted to the source.

[0012] Any switch can be composed of one or more FETs (field effect transistors). When a switch is in the on state, there is electrical continuity between both ends of the switch, whereas when a switch is in the off state, there is no electrical continuity between both ends of the switch.

[0013] Hereinafter, the on and off states of any transistor or switch may be simply expressed as on and off. Furthermore, for any transistor or switch, the period during which the transistor or switch is in the on state is referred to as an on period, and the period during which the transistor or switch is in the off state is referred to as an off period.

[0014] Unless otherwise specified, the connection between multiple parts that form a circuit, such as any circuit elements, wiring, nodes, etc., may be understood to refer to an electrical connection.

[0015] A temperature detection method using a temperature sensor that uses a diode will be described with reference to Figure 1. The temperature to be detected (in other words, measured) by the temperature sensor is called the target temperature.

[0016] Diode D1 is a diode formed by a semiconductor PN junction. The forward current of diode D1 is represented by the symbol "If". The forward voltage generated in diode D1 when forward current If is supplied to diode D1 is represented by the symbol "Vf". According to Shockley's diode equation, the following equation (A1) holds. Vf = (K B / q)×T D ×ln(If / Is) (A1)

[0017] Here, K B represents the Boltzmann constant, and q represents the charge of an electron. Therefore, (K B / q) has a fixed value. D represents the temperature of the diode D1 (the temperature that the diode D1 has). The diode D1 is placed at a position having a target temperature. Therefore, the temperature T Dis equal to the target temperature. Is represents the saturation current of the diode D1. In each formula shown in this specification, ln(x) represents the natural logarithm of x. Therefore, for example, ln(If / Is) in formula (A1) represents the natural logarithm of (If / Is).

[0018] The saturation current Is has a constant value that is basically determined depending on the type of diode D1. Therefore, by detecting the forward voltage Vf when a known forward current If is supplied to the diode D1, the temperature T D (and therefore the target temperature) can be detected.

[0019] However, the saturation current Is varies due to manufacturing variations in the diode D1. In consideration of this, a reference method is considered in which voltages Vf1 and Vf2 that satisfy the following equations (A2) and (A3) are detected and the voltage ΔVf is calculated from the voltages Vf1 and Vf2 according to equation (A4).

[0020] Vf1 = (K B / q)×T D ×ln(If1 / Is) (A2) Vf2 = (K B / q)×T D ×ln(If2 / Is) (A3) ΔVf=Vf1-Vf2 =(K B / q)×T D ×ln(If1 / If2) (A4)

[0021] Currents If1 and If2 represent different forward currents If. Voltage Vf1 is a forward voltage Vf generated in diode D1 by supplying a forward current If that satisfies "If=If1" to diode D1. Vf2 is a forward voltage Vf generated in diode D1 by supplying a forward current If that satisfies "If=If2" to diode D1.

[0022] Equation (A4) does not depend on the saturation current Is. Therefore, by calculating the voltage ΔVf from the difference between the voltages Vf1 and Vf2 and performing the calculation according to equation (A4), the temperature TD can be sought.

[0023] However, in the temperature sensor, as shown in Fig. 2, a resistance component R is connected in series to a diode D1, and a generated voltage VF of the series circuit of the diode D1 and the resistance component R may be measured to detect the target temperature. In the circuit of Fig. 2, a node ND1 is connected to an anode of a diode D1 via a resistance component R, and a cathode of the diode D1 is connected to a node ND2. The potential of the node ND1 as viewed from the potential of the node ND2 is the voltage VF. The resistance component R may be a parasitic resistance of wiring generated when forming the temperature sensor. Alternatively, a resistor for electrostatic protection or a resistor for forming a filter may correspond to the resistance component R.

[0024] 2, when a current If1 is supplied to the diode D1 as a forward current If, the voltage VF coincides with the voltage VF1 in formula (B1), and when a current If2 is supplied to the diode D1 as a forward current If, the voltage VF coincides with the voltage VF2 in formula (B2). R in formulas (B1) and (B2) represents the resistance value of the resistance component R (the same applies to formulas (B3) and (B4) described below). VF1=(K B / q)×T D ×ln(If1 / Is)+R×If1 (B1) VF2=(K B / q)×T D ×ln(If2 / Is)+R×If2 (B2)

[0025] Current If3 is used to cancel the term for resistance component R. Currents If1 to If3 have different current values. In the circuit of Figure 2, when current If3 is supplied to diode D1 as forward current If, voltage VF coincides with voltage VF3 in equation (B3). Equation (B4) can be obtained by doubling both sides of equation (B3). VF3=(K B / q)×T D ×ln(If3 / Is)+R×If3 (B3) 2×VF3=(KB / q)×T D ×ln(If3 2 / Is 2 ) + 2 × R × If3 (B4)

[0026] Here, for example, it is assumed that formula (B5) holds. Under this assumption, if the voltage ΔVF is defined so as to satisfy formula (B6), the saturation current IS and the resistance component Is can be eliminated from the right-hand side of formula (B6). That is, formula (B7) can be obtained by transforming formula (B6) using formulas (B1) to (B5). 2×If3=1×If1+1×If2 (B5) ΔVF=2×VF3-(1×VF1+1×VF2) (B6) ΔVF=(K B / q)×T D ×ln(If3 2 / (If1×If2)) (B7)

[0027] Therefore, after detecting the voltages VF1, VF2, and VF3, the value of the voltage ΔVF is derived according to the formula (B6), and the temperature T is calculated according to the formula (B7) using the derived result. D The formula (B7) does not include the saturation current Is term and the resistance component R term. Therefore, the temperature T obtained by the formula (B7) D is not affected by variations in the saturation current Is and is not affected by the resistance component R. In other words, highly accurate temperature detection is possible while eliminating these effects.

[0028] FIG. 3 shows a configuration diagram of the temperature sensor 1 according to this embodiment. The temperature sensor 1 can be formed using a semiconductor integrated circuit. The temperature sensor 1 has a diode D1 as a temperature detection diode, and detects (in other words, measures) a target temperature using the diode D1. As described above, the diode D1 is disposed at a position having the target temperature. Therefore, the temperature T D is equal to the target temperature.

[0029] In the temperature sensor 1, the current path between the nodes 61 and 62 is called the target path 60. A diode D1 is inserted in the target path 60. The node 61 corresponds to the above-mentioned node ND1, and the node 62 corresponds to the above-mentioned node ND2. In the temperature sensor 1, the current If is a current that flows from the node 61 to the node 62 through the diode D1 (i.e., the forward current of the diode D1). However, depending on the timing, "If=0". When "If>0", the current If flows in the forward direction of the diode D1. In the temperature sensor 1, the voltage VF refers to the potential of the node 61 as viewed from the potential of the node 62, that is, refers to the voltage (potential difference) between the nodes 61 and 62 with the potential of the node 62 as a reference. In the temperature sensor 1, the node 62 is connected to the ground. Therefore, the voltage VF is the voltage of the node 61 as viewed from the ground potential.

[0030] Although not shown in Fig. 3, the above-mentioned resistance component R exists between the nodes 61 and 62. For example, similar to the circuit shown in Fig. 2, as shown in Fig. 4, the resistance component R is interposed between the node 61 and the anode of the diode D1, and the cathode of the diode D1 is directly connected to the node 62. Alternatively, as shown in Fig. 5, the resistance component R is interposed between the cathode of the diode D1 and the node 62, and the anode of the diode D1 is directly connected to the node 61. There may also be a case where a first resistance component is interposed between the node 61 and the anode of the diode D1, and a second resistance component is interposed between the node 62 and the cathode of the diode D1.

[0031] The temperature sensor 1 includes a current supply circuit 10, a voltage detection circuit 20, a calculation circuit 30, and a control circuit .

[0032] The current supply circuit 10 supplies the first to third evaluation currents to the target path 60 at different timings. The first to third evaluation currents are each supplied in the forward direction of the diode D1. The first evaluation current is hereinafter referred to as "If1" and is called the evaluation current If1. Similarly, the second evaluation current is hereinafter referred to as "If2" and is called the evaluation current If2. Similarly, the third evaluation current is hereinafter referred to as "If3" and is called the evaluation current If3. The evaluation currents If1 to If3 have different current values. When the evaluation currents If1, If2, and If3 are supplied to the diode D1, the evaluation currents If1, If2, and If3 are the forward current If of the diode D1, respectively. However, the forward current If also passes through a resistance component R (see FIG. 4 or FIG. 5) in the temperature sensor 1.

[0033] The current supply circuit 10 includes a constant current source 11, transistors 12 to 15, and switches 16 to 18. The transistors 12 to 15 are P-channel MOSFETs. The sources of the transistors 12 to 15 are connected to a terminal to which a power supply voltage VACC is applied. The power supply voltage VACC has a predetermined positive DC voltage value. The gate and drain of the transistor 12 and the gates of the transistors 13 to 15 are commonly connected to each other. The constant current source 11 is provided between the drain of the transistor 12 and ground. The drain of the transistor 13 is connected to a first terminal of the switch 16, the drain of the transistor 14 is connected to a first terminal of the switch 17, and the drain of the transistor 15 is connected to a first terminal of the switch 18. The second terminals of the switches 16 to 18 are commonly connected to a node 61.

[0034] The constant current source 11 generates a reference current Iref that flows from the drain of the transistor 12 to the ground. Therefore, the drain current of the transistor 12 is the reference current Iref. The reference current Iref has a predetermined current value. The transistors 12 to 15 form a current mirror circuit. Therefore, a drain current proportional to the reference current Iref flows through each of the transistors 13 to 15. The drain current of the transistor 13 is the evaluation current If1, the drain current of the transistor 14 is the evaluation current If2, and the drain current of the transistor 15 is the evaluation current If3.

[0035] However, if instantaneous current flow is ignored, the drain current of transistor 13 occurs only when switch 16 is on, the drain current of transistor 14 occurs only when switch 17 is on, and the drain current of transistor 15 occurs only when switch 18 is on. The control circuit 40 controls only one of the switches 16 to 18 to be on, or controls all of the switches 16 to 18 to be off.

[0036] During the on-period of switch 16, “If=If1”. “If=If1” means that evaluation current If1 flows through target path 60 as forward current If of diode D1. During the on-period of switch 17, “If=If2”. “If=If2” means that evaluation current If2 flows through target path 60 as forward current If of diode D1. During the on-period of switch 18, “If=If3”. “If=If3” means that evaluation current If3 flows through target path 60 as forward current If of diode D1.

[0037] The voltage detection circuit 20 includes a buffer amplifier 21 and an ADC 22 that is an AD converter. The buffer amplifier 21 is connected to a node 61. The buffer amplifier 21 receives the voltage VF at the node 61 with a sufficiently high impedance, and outputs a voltage according to the voltage VF at the node 61 with a sufficiently low impedance. Here, the buffer amplifier 21 is assumed to be a voltage follower, and therefore the output voltage of the buffer amplifier 21 is assumed to have the same voltage value as the voltage VF. However, the buffer amplifier 21 may amplify the voltage VF with an amplification factor exceeding 1, and the amplified voltage may be output from the buffer amplifier 21.

[0038] The ADC 22 receives the output voltage of the buffer amplifier 21 as an input analog voltage and performs AD conversion (analog / digital conversion) of the input analog voltage. In the AD conversion, the ADC 22 samples the input analog voltage at a timing specified by the control circuit 40 and converts the sampled input analog voltage into a digital signal. The ADC 22 outputs the digital signal S obtained by the AD conversion. VF It outputs the digital signal S VF is the digital value D that corresponds to the sampled input analog voltage value. VF has.

[0039] In this way, the current detection circuit 20 has a function of detecting the voltage VF, and outputs the detection result of the voltage VF as a digital signal S VF The digital signal S VF The digital value D VF As the voltage VF increases (and thus the detected value of the voltage VF increases), the digital value D VF The digital signal S VF is input to the arithmetic circuit 30.

[0040] The arithmetic circuit 30 converts the digital signal S obtained by multiple AD conversions by the ADC 22. VF The target temperature is detected by performing a predetermined calculation process based on the temperature detection signal S. DETThe target temperature is detected and the temperature detection signal S is generated and output. DET The generation and output of the temperature detection signal S may be understood to be synonymous with each other. The arithmetic circuit 30 can be configured with a logic circuit that performs the above arithmetic processing. DET is a digital signal. Temperature detection signal S DET The digital value of DET " The digital value D DET indicates the detected value of the target temperature. The temperature detection signal S DET It is also possible to modify the signal to be an analog signal.

[0041] The control circuit 40 individually controls the on / off of the switches 16 to 18. The control circuit 40 also controls the execution timing of AD conversion by the ADC 22. The control of the execution timing of AD conversion includes control of the sampling timing in the ADC 22. Furthermore, the control circuit 40 controls the execution of the above-mentioned arithmetic processing by the arithmetic circuit 30.

[0042] Below, several specific operation examples, application techniques, modification techniques, etc. related to the temperature sensor 1 will be described in multiple embodiments. The matters described above in this embodiment are applied to each of the following embodiments unless otherwise specified and unless there is a contradiction. If there are matters in each embodiment that contradict the matters described above, the description in each embodiment may take precedence. Furthermore, unless there is a contradiction, matters described in any of the multiple embodiments shown below can also be applied to any other embodiment (i.e., any two or more of the multiple embodiments can also be combined).

[0043] <<First Example>> A first embodiment will be described. In the first embodiment, it is assumed that the evaluation currents If1, If2, and If3 are 140 μA (microamperes), 5 μA, and 32 μA, respectively. In this case, the following formula (C1) is established. In this case, the voltage ΔV can be defined as in the following formula (C2). VF1 represents the voltage VF when the evaluation current If1 is supplied as the forward current If to the diode D1 in FIG. 3. VF2 represents the voltage VF when the evaluation current If2 is supplied as the forward current If to the diode D1 in FIG. 3. VF3 represents the voltage VF when the evaluation current If3 is supplied as the forward current If to the diode D1 in FIG. 3. 5×If3=1×If1+4×If2 (C1) ΔVF=5×VF3-(1×VF1+4×VF2) (C2)

[0044] By transforming formula (C2) using the above formulas (B1), (B2), and (B3), we obtain the following formula (C3). Furthermore, by multiplying both sides of formula (C3) by 4, we obtain formula (C4). ΔVF=(K B / q)×T D ×ln(If3 5 / (If1 1 ×If2 4 )) (C3) 4×ΔVF=4×(K B / q)×T D ×ln(If3 5 / (If1 1 ×If2 4 )) (C4)

[0045] Therefore, after detecting the voltages VF1, VF2, and VF3, the value of the voltage ΔVF is derived according to the formula (C2), and the temperature T is calculated according to the formula (C3) using the derived result. D The formula (C3) does not include the saturation current Is term and the resistance component R term. Therefore, the temperature T obtained by the formula (C3) Dis not affected by variations in the saturation current Is and is not affected by the resistance component R. In other words, highly accurate temperature detection is possible with these effects eliminated. In practice, the voltage detection circuit 20 detects the voltages VF1, VF2, and VF3 (i.e., obtains the digital values ​​of the voltages VF1, VF2, and VF3), and the calculation circuit 30 performs the calculation of equation (C2) using the detection values ​​of the voltage detection circuit 20 to obtain the voltage ΔVF. The calculation circuit 30 calculates a temperature T corresponding to the target temperature from the obtained voltage ΔVF according to equation (C3). D However, the temperature T D It is not essential that the derivation of is performed by the calculation circuit 30. In the following, the voltage ΔVF may be referred to as a calculated voltage.

[0046] FIG. 6 shows a flowchart of the overall operation of the temperature sensor 1. The temperature sensor 1 detects the target temperature by executing a voltage detection process in step S1 and then executing a calculation process in step S2. However, the calculation process in step S2 may be started while the voltage detection process in step S1 is being executed. The voltage detection process is executed by the current supply circuit 10 and the voltage detection circuit 20 under the control of the control circuit 40. The calculation process is executed by the calculation circuit 30. After the calculation process in step S2, a result output process in step S3 is executed. In the result output process, the calculation result of the calculation process in step S2 is output as a temperature detection signal S DET is output from the arithmetic circuit 30.

[0047] Fig. 7 shows a flowchart of the voltage detection process according to the first embodiment. In the first embodiment, the voltage detection process in step S1 shown in Fig. 6 is made up of steps S11 to S14. In the voltage detection process, first, in step S11, the control circuit 40 assigns 1 to a variable i that it manages. Then, the process proceeds to step S12.

[0048] In step S12, the temperature sensor 1 executes the i-th cycle operation. In one cycle operation, the temperature sensor 1 executes the first unit detection process once, the second unit detection process four times, and the third unit detection process five times. The cycle operation is executed by the current supply circuit 10 and the current detection circuit 20 under the control of the control circuit 40.

[0049] The first unit detection process is a process for detecting the voltage Vf at "If=If1" as the evaluation voltage VF1. The first unit detection process includes a first supply operation. In the first supply operation, the control circuit 40 controls only the switch 16 out of the switches 16 to 18 to turn on. As a result, in the first supply operation, the current supply circuit 10 supplies the evaluation current If1 to the diode D1 as the forward current If. In the first unit detection process, the control circuit 40 causes the voltage detection circuit 20 to detect the evaluation voltage VF1, which is the voltage VF during the period in which the evaluation current If1 is supplied to the diode D1 as the forward current If. The detection of the evaluation voltage VF1 by the voltage detection circuit 20 produces a digital value D VF The digital value D representing the detection value of the evaluation voltage VF1 is obtained. VF Especially the digital detection value D VF1 One digital detection value D VF1 Therefore, one digital detection value D is obtained in one cycle operation. VF1 is obtained.

[0050] The second unit detection process is a process for detecting the voltage Vf at "If=If2" as the evaluation voltage VF2. The second unit detection process includes a second supply operation. In the second supply operation, the control circuit 40 controls only the switch 17 among the switches 16 to 18 to turn on. As a result, in the second supply operation, the current supply circuit 10 supplies the evaluation current If2 to the diode D1 as the forward current If. In the second unit detection process, the control circuit 40 causes the voltage detection circuit 20 to detect the evaluation voltage VF2, which is the voltage VF during the period in which the evaluation current If2 is supplied to the diode D1 as the forward current If. The detection of the evaluation voltage VF2 by the voltage detection circuit 20 produces a digital value D VF The digital value D representing the detection value of the evaluation voltage VF2 is obtained. VF Especially the digital detection value D VF2 One digital detection value D VF2 Therefore, four digital detection values ​​D VF2 is obtained.

[0051] The third unit detection process is a process for detecting the voltage Vf at "If=If3" as the evaluation voltage VF3. The third unit detection process includes a third supplying operation. In the third supplying operation, the control circuit 40 controls only the switch 18 among the switches 16 to 18 to turn on. As a result, in the third supplying operation, the current supplying circuit 10 supplies the evaluation current If3 to the diode D1 as the forward current If. In the third unit detection process, the control circuit 40 causes the voltage detection circuit 20 to detect the evaluation voltage VF3, which is the voltage VF during the period in which the evaluation current If3 is supplied to the diode D1 as the forward current If. The detection of the evaluation voltage VF3 by the voltage detection circuit 20 produces a digital value D VF The digital value D representing the detection value of the evaluation voltage VF3 is obtained. VF Especially the digital detection value D VF3 One digital detection value D VF3 Therefore, five digital detection values ​​D are obtained in one cycle operation.VF3 is obtained.

[0052] After step S12, the process proceeds to step S13. In step S13, the control circuit 40 judges whether "i=4" is true or false. If "i=4" is true (Y in step S13), the voltage detection process ends. If "i=4" is false (N in step S13), the control circuit 40 adds 1 to the variable i in step S14, and then returns to step S12. When returning to step S12, the above-mentioned cyclic operation is executed again. Therefore, at the stage where the voltage detection process in FIG. 7 ends, the cyclic operation of step S12 has been executed four times.

[0053] Fig. 8 shows a flowchart of the arithmetic processing according to the first embodiment. In the first embodiment, the arithmetic processing in step S2 shown in Fig. 6 is made up of steps S21 to S25. In the arithmetic processing, first, in step S21, the arithmetic circuit 30 assigns 1 to a variable i that it manages. Then, the process proceeds to step S22.

[0054] The process of step S22 is executed at any timing after the end of the i-th cycle operation. In step S22, the calculation circuit 30 derives the value of the calculation voltage ΔVF according to the above-mentioned formula (C2) based on the digital detection value acquired in the i-th cycle operation. The value of the calculation voltage ΔVF derived in step S21 for the i-th cycle operation is particularly represented by the symbol "ΔVF_cycle[i]".

[0055] The digital detection value acquired in the i-th cycle operation is one digital detection value D VF1 and four digital detection values ​​D VF2 and five digital detection values ​​D VF3 For this reason, for the i-th cycle operation, one digital detection value D VF1 Substituting this into the term (1 × VF1) in equation (C2), the four digital detection values ​​D VF2 Substitute the sum of the above into the term (4 × VF2) in equation (C2) to obtain the five digital detection values ​​D VF3The value of the left side of equation (C2) is found by substituting the sum of these factors into the term (5 × VF3) of equation (C2), and the value of the left side found is set as the value ΔVF_cycle[i].

[0056] After step S22, the process proceeds to step S23. In step S23, the arithmetic circuit 30 judges whether "i=4" is true or false. If "i=4" is true (Y in step S23), the process proceeds to step S25. If "i=4" is false (N in step S23), the arithmetic circuit 30 adds 1 to the variable i in step S24, and then the process returns to step S22. When the process returns to step S22, the process of step S22 is executed again. Therefore, by the time the process proceeds to step S25, the values ​​ΔVF_cycle[1] to ΔVF_cycle[4] have already been derived.

[0057] In step S25, the arithmetic circuit 30 calculates the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[4]. The sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[4] corresponds to the voltage (4×ΔVF). For this reason, the arithmetic circuit 30 in step S25 substitutes the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[4] into the left side of the above formula (C4) and calculates formula (C4) with respect to the temperature T D By solving the above, the target temperature (i.e., temperature T D ) can be detected. B , as well as the charge q of the electron are known to the temperature sensor 1 (arithmetic circuit 30).

[0058] The calculation circuit 30 calculates the temperature detection signal S based on the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[4]. DET That is, a value according to the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[4] is generated as the temperature detection signal S DET The digital value D DET (See Figure 3) and the digital value D DET The detected value of the target temperature is indicated by the digital value D. DETHowever, the sum is multiplied by K to produce a digital value D DET It may be set to (K>1).

[0059] Here, for the sake of concreteness of explanation, specific numerical examples regarding the ADC 22 and the digital values ​​will be given. Now, it is assumed that the ADC 22 is a 10-bit AD converter. Then, the digital signal S VF is a digital value D ranging from 0 to 1023. VF Also, the temperature detection signal S DET The digital value D ranges from 0 to 1023. DET shall be held as such.

[0060] In FIG. 9, the dashed waveform 610 represents the analog voltage value of the voltage ΔVF and the temperature T D The solid line waveform 620 shows the relationship between the analog voltage value of the voltage (4×ΔVF) and the temperature T D The relationship between the voltage (4 × ΔVF) and the temperature T D It changes over a wider range than the voltage ΔVF in accordance with the change in temperature T D The change in voltage (4×ΔVF) per unit change (i.e., the slope of the solid line waveform 620) is four times the change in voltage ΔVF (i.e., the slope of the dashed line waveform 610).

[0061] In FIG. 10, the dashed waveform 615 represents the digital value of the voltage ΔVF and the temperature T D The solid line waveform 625 shows the relationship between the digital value of the voltage (4 × ΔVF) and the temperature T D The digital value of the voltage ΔVF has a fairly limited range of values ​​(for example, values ​​from 0 to 100) within the dynamic range of the digital signal. In contrast, the digital value of the voltage (4 × ΔVF) fluctuates within a wider range within the dynamic range than the digital value of the voltage ΔVF. Also, the temperature T D The change in digital value per 1°C at voltage (4 × ΔVF) is four times the voltage ΔVF. This means that the temperature T DThis means that the resolution of the voltage ΔVF is four times that of the voltage ΔVF. For example, the digital value of the voltage ΔVF has a resolution of 2.4°C per 1LSB to represent the temperature T D is expressed, the digital value of the voltage (4 × ΔVF) represents the temperature T with a resolution of 0.6°C per LSB. D is expressed.

[0062] FIG. 11 shows a timing sequence for detecting the target temperature. A first cycle operation is performed from time t1 to time t2, followed by a second cycle operation from time t2 to time t3, followed by a third cycle operation from time t3 to time t4, followed by a fourth cycle operation from time t4 to time t5. In each cycle operation, the temperature sensor 1 repeats the operation of performing the third unit detection process and then the second unit detection process four times, and then performs the fifth third unit detection process and then the first unit detection process. As a result, one digital detection value D VF1 and four digital detection values ​​D VF2 and five digital detection values ​​D VF3 And we get:

[0063] One unit detection process takes a given unit of time T UNIT Therefore, each cycle operation requires (10×T UNIT ) minutes per target temperature detection, UNIT ) minutes is required. Based on the settling time of the voltage VF and the sample / hold time of the ADC 22, UNIT is determined. When the forward voltage If is changed from one evaluation current to another evaluation current, the voltage Vf fluctuates. The time required for this fluctuation to converge is the settling time of the voltage VF.

[0064] <<Second Example>> A second embodiment will be described. The specific values ​​of the evaluation currents If1, If2, and If3 shown in the first embodiment are merely examples and can be changed in various ways. In the second embodiment, the technique shown in the first embodiment is generalized using variables k1, k2, and k3. The variables k1, k2, and k3 each have an integer value of 1 or more.

[0065] In the temperature sensor 1 according to the second embodiment, the evaluation currents If1, If2, and If3 are set so that the following formula (D1) holds. In this case, the voltage ΔV can be defined as in the following formula (D2) in the temperature sensor 1. The meanings of the voltages VF1, VF2, and VF3 are as described in the first embodiment. k3×If3=k1×If1+k2×If2 (D1) ΔVF=k3×VF3-(k1×VF1+k2×VF2) ···(D2)

[0066] By transforming formula (D2) using the above formulas (B1), (B2), and (B3), the following formula (D3) is obtained. Furthermore, by multiplying both sides of formula (D3) by M, formula (D4) is obtained. M represents any integer of 2 or more. ΔVF=(K B / q)×T D ×ln(If3 k3 / (If1 k1 ×If2 k2 )) (D3) M×ΔVF=M×(K B / q)×T D ×ln(If3 k3 / (If1 k1 ×If2 k2 )) (D4)

[0067] Therefore, after detecting the voltages VF1, VF2, and VF3, the value of the voltage ΔVF is derived according to the formula (D2), and the temperature T is calculated according to the formula (D3) using the derived result. D The formula (D3) does not include the saturation current Is term and the resistance component R term. Therefore, the temperature T obtained by the formula (D3) Dis not affected by variations in the saturation current Is and is not affected by the resistance component R. In other words, highly accurate temperature detection is possible while eliminating these effects.

[0068] The overall operation flowchart of the temperature sensor 1 according to the second embodiment is similar to that of the first embodiment (FIG. 6). The first embodiment corresponds to the second embodiment when (k1, k2, k3, M)=(1, 4, 5, 4) is set.

[0069] Fig. 12 shows a flowchart of the voltage detection process according to the second embodiment. In the second embodiment, the voltage detection process in step S1 shown in Fig. 6 is made up of steps S111 to S114. In the voltage detection process, first, in step S111, the control circuit 40 assigns 1 to a variable i that it manages. Then, the process proceeds to step S112.

[0070] In step S112, the temperature sensor 1 executes the i-th cycle operation. In one cycle operation, the temperature sensor 1 executes the first unit detection process k1 times, the second unit detection process k2 times, and the third unit detection process k3 times. The cycle operation is executed by the current supply circuit 10 and the current detection circuit 20 under the control of the control circuit 40.

[0071] The contents of the first, second and third unit detection processes are as described in the first embodiment. In one first unit detection process, one digital detection value D VF1 Therefore, k1 digital detection values ​​D VF1 In one second unit detection process, one digital detection value D VF2 Therefore, k2 digital detection values ​​D are obtained in one cycle operation. VF2 In one third unit detection process, one digital detection value D VF3 Therefore, k3 digital detection values ​​D VF3 is obtained.

[0072] After step S112, the process proceeds to step S113. In step S113, the control circuit 40 determines whether "i=M" is true or false. If "i=M" is true (Y in step S113), the voltage detection process ends. If "i=M" is false (N in step S113), the control circuit 40 adds 1 to the variable i in step S114, and then returns to step S112. When returning to step S112, the above-mentioned cyclic operation is executed again. Therefore, at the stage where the voltage detection process in FIG. 12 ends, the cyclic operation of step S112 has been executed M times.

[0073] Furthermore, as long as the first unit detection process is executed k1 times, the second unit detection process is executed k2 times, and the third unit detection process is executed k3 times in each cycle operation, the order in which the first, second, and third unit detection processes are executed in each cycle operation is arbitrary.

[0074] Fig. 13 shows a flowchart of the arithmetic processing according to the second embodiment. In the second embodiment, the arithmetic processing of step S2 shown in Fig. 6 is made up of steps S121 to S125. In the arithmetic processing, first, in step S121, the arithmetic circuit 30 assigns 1 to a variable i that it manages. Then, the process proceeds to step S122.

[0075] The process of step S122 is executed at any timing after the end of the i-th cycle operation. In step S122, the calculation circuit 30 derives the value of the calculation voltage ΔVF according to the above-mentioned formula (D2) based on the digital detection value acquired in the i-th cycle operation. The value of the calculation voltage ΔVF derived in step S121 for the i-th cycle operation is particularly represented by the symbol "ΔVF_cycle[i]".

[0076] The digital detection values ​​acquired in the i-th cycle are k1 digital detection values ​​D VF1 and k2 digital detection values ​​D VF2 and k3 digital detection values ​​D VF3For this reason, for the i-th cycle operation, k1 digital detection values ​​D VF1 Substituting this into the term (k1 × VF1) in equation (D2), the k2 digital detection values ​​D VF2 Substituting this into the term (k2 × VF2) in equation (D2), the k3 digital detection values ​​D VF3 The value of the left side of equation (D2) is obtained by substituting this into the term (k3 × VF3) of equation (D2), and the value of the left side obtained is set as the value ΔVF_cycle[i].

[0077] In addition, k1 digital detection values ​​D VF1 Substituting this into the term (k1 × VF1) in equation (D2) means that if "k1 ≧ 2", then k1 digital detection values ​​D VF1 This means substituting the sum of k1 × VF1 into the term (k1 × VF1) of equation (D2). Similarly, k2 digital detection values ​​D VF2 Substituting this into the term (k2 × VF2) in equation (D2) means that if "k2 ≧ 2", then k2 digital detection values ​​D VF2 This means substituting the sum of k2 × VF2 into the term (k2 × VF2) of equation (D2). Similarly, k3 digital detection values ​​D VF3 Substituting this into the term (k3 × VF3) in equation (D2) means that if "k3 ≧ 2", then k3 digital detection values ​​D VF3 This means substituting the sum of the above into the term (k3 × VF3) in equation (D2).

[0078] After step S122, the process proceeds to step S123. In step S123, the arithmetic circuit 30 judges whether "i=M" is true or false. If "i=M" is true (Y in step S123), the process proceeds to step S125. If "i=M" is false (N in step S123), the arithmetic circuit 30 adds 1 to the variable i in step S124, and then the process returns to step S122. When the process returns to step S122, the process of step S122 is executed again. Therefore, by the time the process proceeds to step S125, the values ​​ΔVF_cycle[1] to ΔVF_cycle[M] have already been derived.

[0079] In step S125, the arithmetic circuit 30 obtains the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[M]. The sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[M] corresponds to the voltage (M×ΔVF). For this reason, the arithmetic circuit 30 in step S125 substitutes the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[M] into the left side of the above equation (D4), and then calculates equation (D4) with respect to temperature T D By solving the above, the target temperature (i.e., temperature T D ) can be detected. However, the target temperature (i.e., temperature T D It is not essential that the calculation circuit 30 derives the evaluation currents If1, If2, and If3, the Boltzmann constant K B , as well as the charge q of the electron are known to the temperature sensor 1 (arithmetic circuit 30).

[0080] The calculation circuit 30 calculates the temperature detection signal S based on the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[M]. DET That is, a value according to the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[M] is generated as the temperature detection signal S DET The digital value D DET (See Figure 3) and the digital value D DET The detected value of the target temperature is indicated by the digital value D. DET However, the sum is multiplied by K to produce a digital value D DET It may be set to (K>1).

[0081] As long as the voltage (M×ΔVF) can be derived, the derivation procedure is not limited to the above. That is, for example, the first unit detection process is executed (M×k1) times in any order to obtain the digital detection value D VF1 The digital detection value D is obtained by executing the second unit detection process (M × k2) times. VF2 The digital detection value D is obtained by acquiring (M×k2) pieces of the third unit detection process (M×k3) times. VF3Then, instead of deriving the values ​​ΔVF_cycle[1] to ΔVF_cycle[M] one by one, the (M×k1) digital detection values ​​D VF1 , (M × k2) digital detection values ​​D VF2 and (M × k3) digital detection values ​​D VF3 Based on this, a voltage (M×ΔVF) equivalent to the sum of the values ​​ΔVF_cycle[1] to ΔVF_cycle[M] may be directly derived.

[0082] <<Third Example>> A third embodiment will be described. As shown in the second embodiment, the number of times the cycle operation is performed (i.e., the value of M) is arbitrary as long as it is 2 or more. By appropriately setting the number of times the cycle operation is performed, the temperature detection signal S DET The digital value D DET and the target temperature can be set as desired.

[0083] However, it is also possible to set the number of times the cycle operation is performed to 1. That is, "M=1" may be used. When "M=1", only the value ΔVF_cycle[1] is derived in step S122 in the calculation process, and the calculation circuit 30 in step S125 substitutes the value ΔVF_cycle[1] into the left side of the above formula (D3) and calculates formula (D3) with respect to the temperature T D By solving the above, the target temperature (i.e., temperature T D In step S125, the temperature detection signal S is detected based on the value ΔVF_cycle[1]. DET That is, a value according to the value ΔVF_cycle[1] is generated as the temperature detection signal S DET The digital value D DET (See Figure 3) and the digital value D DET The detected value of the target temperature is indicated by ΔVF_cycle[1]. In reality, the value ΔVF_cycle[1] itself is a digital value D DET However, the value ΔVF_cycle[1] multiplied by K may be set as the digital value D DET It may be set to (K>1).

[0084] <<Fourth Example>> A fourth embodiment will be described. When the variable k1 is 2 or more, in the second embodiment, the following basic method is performed to obtain the value of the left side of the formula (D2). In the basic method, the first unit detection process is executed k1 times in one cycle operation to obtain k1 digital detection values ​​D VF1 and obtain k1 digital detection values ​​D VF1 Substitute the sum of the above into the term (k1 × VF1) of formula (D2). When the variable k1 is 2 or more, the following first or second modified method can be adopted instead of the basic method.

[0085] In the first modified method, the first unit detection process is executed only once in one cycle operation to obtain one digital detection value D VF1 is obtained, and one digital detection value D VF1 Then, the arithmetic circuit 30 according to the first modification method multiplies the digital detection value D VF1 is substituted into the term (k1 × VF1) in equation (D2). When the first modified method is used, the time required to detect the target temperature is shorter than that of the basic method. On the other hand, in the first modified method, various noises generated in the circuit preceding the arithmetic circuit 30 are also multiplied by k1 during the k1-fold calculation process in the arithmetic circuit 30. For this reason, from the viewpoint of the signal-to-noise ratio (SN ratio), the basic method is advantageous.

[0086] In the second modified method, the first unit detection process is executed only once in one cycle operation to obtain one digital detection value D VF1 In this case, the amplifier 21 performs an amplification operation so that k1 times the voltage VF when "If=If1" becomes the input analog voltage to the ADC 22. Therefore, in the second modified method, k1 times the voltage VF during the period when "If=If1" is converted into an AD value is converted into a digital detection value D VF1 is obtained, and the digital detection value D VF1 represents k1 times the detection value of the evaluation voltage VF1. Therefore, the arithmetic circuit 30 according to the second modification method multiplies the obtained digital detection value D VF1This is then substituted into the term (k1 x VF1) in equation (D2). If the second modified method is used, the time required to detect the target temperature is shorter than that of the basic method. On the other hand, in the second modified method, various noises are also multiplied by k1 during the amplification operation of amplifier 21. For this reason, from the standpoint of SN ratio (signal-to-noise ratio), the basic method is more advantageous.

[0087] For the sake of convenience, the first unit detection process, the digital detection value D VF1 The first and second transformation methods have been described with a focus on the term (k1 × VF1). However, the first unit detection process, the digital detection value D VF1 When the first transformation method is applied to the term (k1 × VF1), the second unit detection process, the digital detection value D VF2 The first transformation method is also applied to the term (k2 × VF2), and the third unit detection process, the digital detection value D VF3 The first transformation method is also applied to the term (k3 × VF3). Similarly, the first unit detection process, the digital detection value D VF1 When the second transformation method is applied to the term (k1 × VF1), the second unit detection process, the digital detection value D VF2 The second transformation method is also applied to the term (k2 × VF2), and the third unit detection process, the digital detection value D VF3 The second transformation method is also applied to the term (k3 × VF3).

[0088] For example, the first transformation method is the second unit detection process, the digital detection value D VF2 When applied to the term (k2 × VF2), one digital detection value D is obtained by performing the second unit detection process only once in one cycle operation. VF2 is obtained, and one digital detection value D VF2 Then, the calculation circuit 30 multiplies the digital detection value D VF2 Simply substitute this into the term (k2×VF2) in equation (D2).

[0089] <<Fifth Example>> A fifth embodiment will be described. The diode D1 may be formed of a bipolar transistor. That is, as shown in Fig. 14, a transistor Tr1 which is an NPN bipolar transistor may be used as the diode D1. In this case, in the transistor Tr1, the collector and the base are connected to each other, the collector functions as the anode of the diode D1 and is connected to a node 61, and the emitter functions as the cathode of the diode D1 and is connected to a node 62.

[0090] However, as described with reference to Fig. 4, a resistance component R may be interposed between node 61 and the collector of transistor Tr1. Alternatively, as described with reference to Fig. 5, a resistance component R may be interposed between node 62 and the emitter of transistor Tr1. In some cases, a resistance component R may be interposed between node 61 and the collector of transistor Tr1, and between node 62 and the emitter of transistor Tr1.

[0091] Incidentally, the diode D1 may be formed using a PNP bipolar transistor instead of the NPN bipolar transistor.

[0092] <<Sixth Example>> A sixth embodiment will be described below. First to third diodes may be provided in the temperature sensor 1, and the first to third diodes may be used as the diode D1 to detect the target temperature.

[0093] In this case, the first to third diodes are arranged at positions having a common target temperature. Then, during a period in which the evaluation current If1 is supplied to the first diode as the forward current of the first diode, the voltage VF of the first diode is detected by the voltage detection circuit 20 as the evaluation voltage VF1. Similarly, during a period in which the evaluation current If2 is supplied to the second diode as the forward current of the second diode, the voltage VF of the second diode is detected by the voltage detection circuit 20 as the evaluation voltage VF2. Similarly, during a period in which the evaluation current If3 is supplied to the third diode as the forward current of the third diode, the voltage VF of the third diode is detected by the voltage detection circuit 20 as the evaluation voltage VF3. The voltages VF of the first, second, and third diodes are each defined in the same manner as the voltage VF of the diode D1.

[0094] The first to third diodes are configured to have the same structure and electrical characteristics. However, in reality, the structures and electrical characteristics of the diodes vary relatively among the first to third diodes, and these variations appear as detection errors of the target temperature. In addition, the circuit area increases by the amount of three diodes provided. For this reason, a configuration using a single diode D1 (the configuration of FIG. 3) is preferable.

[0095] <<Seventh Example>> A seventh embodiment will now be described.

[0096] Strictly speaking, an ideality factor n exists in the diode equation, and when the ideality factor n is taken into consideration, the following equation holds: k3×VF3-(k1×VF1+k2×VF2)=n×(K B / q)×T D ×ln(If3 k3 / (If1 k1 ×If2 k2 )) The ideality factor n has a value of approximately "1". If the ideality factor n is completely equal to 1 or close enough to 1, the existence of the ideality factor n can be ignored. If the difference (n-1) cannot be ignored, the temperature T D and the digital value V DETThe relation between these two equations should be fine-tuned.

[0097] The node 62 may have a potential other than the ground potential. Regardless of whether the potential of the node 62 matches or does not match the ground potential, the voltage detection circuit 20 only needs to detect the potential of the node 61 as viewed from the potential of the node 62 (i.e., the voltage VF).

[0098] The current supply circuit 10 supplies n types of evaluation currents to the diode D1 at different timings as the forward current If of the diode D1. In the temperature sensor 1 of FIG. 3, "n=3" and the n types of evaluation currents are evaluation currents If1, If2, and If3. However, n may have an integer value of 4 or more. In this case, the voltage detection circuit 20 performs an operation of detecting the voltage VF when the ith evaluation current is supplied to the target path 60 as the ith evaluation voltage for each of the cases "i=1", "i=2", "i=3", . . . "i=n". The arithmetic circuit 30 may detect the target temperature based on the first evaluation voltage to the nth evaluation voltage.

[0099] The temperature sensor 1 may be incorporated in any semiconductor device. FIG. 15 is an external perspective view of a semiconductor device 100 incorporating the temperature sensor 1. The semiconductor device 100 is an electronic component including a semiconductor chip having a semiconductor integrated circuit formed on a semiconductor substrate, a case (package) for accommodating the semiconductor chip, and a plurality of external terminals exposed from the case to the outside of the semiconductor device 100. The semiconductor device 100 is formed by sealing the semiconductor chip in a case (package) made of resin. Note that the number of external terminals of the semiconductor device 100 and the type of case of the semiconductor device 100 shown in FIG. 15 are merely examples, and can be designed arbitrarily. The semiconductor integrated circuit in the semiconductor device 100 includes the temperature sensor 1 as well as various functional circuits. The functional circuits are, for example, a DC / DC converter and a motor driver.

[0100] The position where the temperature should be detected is called the target position. The target temperature is the temperature at the target position. Any position (for example, the central position) in the semiconductor device 100 can be set as the target position. Multiple positions may be set as target positions in the semiconductor device 100. In this case, a temperature sensor 1 may be installed at each target position. While disposing a diode D1 at each target position, a detection block consisting of a voltage detection circuit 20 and an arithmetic circuit 30 may be commonly assigned to multiple diodes D1, and a single detection block may be used to detect multiple target temperatures by switching the input signal to the buffer amplifier 21 using a selector or the like.

[0101] The channel types of FETs (field effect transistors) shown in the embodiments are merely examples, and the channel type of any FET may be changed between P-channel and N-channel without departing from the spirit of the above.

[0102] Any of the transistors described above may be any type of transistor, provided that no disadvantage arises. For example, any of the transistors described above as MOSFETs may be replaced by junction FETs or bipolar transistors, provided that no disadvantage arises.

[0103] The embodiments of the present disclosure can be modified in various ways as appropriate within the scope of the technical ideas set forth in the claims. The above embodiments are merely examples of the embodiments of the present disclosure, and the meanings of the terms of the present disclosure or each component are not limited to those described in the above embodiments. The specific numerical values ​​shown in the above description are merely examples, and can be changed to various numerical values ​​as a matter of course.

[0104] <<Additional Notes>> Regarding the present disclosure, specific configuration examples of which have been shown in the above-mentioned embodiments, additional notes will be provided.

[0105] The temperature sensor according to one aspect of the present disclosure detects a target temperature (T D), and is inserted in a target path (60) between a first node and a second node; a current supply circuit (10) configured to supply first to third evaluation currents (If1 to If3) to the target path in a forward direction of the temperature detection diode at different timings; a voltage detection circuit (20) configured to detect a voltage (VF) between the first node and the second node as first to third evaluation voltages (VF1 to VF3), respectively, when the first to third evaluation currents are supplied to the target path; and a calculation circuit (30) configured to detect the target temperature based on the first to third evaluation voltages.

[0106] This enables good temperature detection. Specifically, it enables temperature detection with the effects of variations in the saturation current of the diodes suppressed. In addition, by using three evaluation currents, even if the target path contains a resistance component, it is possible to detect the temperature with the effects of the resistance component suppressed.

[0107] In the temperature sensor according to the first configuration, the arithmetic circuit may be configured (second configuration) to detect the target temperature by adding or subtracting the first evaluation voltage, the second evaluation voltage, and the third evaluation voltage in accordance with a predetermined arithmetic formula based on a relationship between the first evaluation current and the third evaluation current.

[0108] In the temperature sensor according to the second configuration, each evaluation current is set so that formula (1) is established, the arithmetic formula is formula (2), the arithmetic circuit derives ΔVF according to formula (2) and generates a temperature detection signal according to the derivation result of ΔVF, If1, If2, and If3 represent the first, second, and third evaluation currents, respectively. VF1, VF2, and VF3 represent the first, second, and third evaluation voltages, respectively. Each of k1, k2, and k3 represents an integer of 1 or more. k3×If3=k1×If1+k2×If2 (1) ΔVF=k3×VF3-(k1×VF1+k2×VF2) ···(2) The configuration (third configuration) may also be used.

[0109] In the temperature sensor according to the third configuration, the current supply circuit executes a first supply operation of supplying the first evaluation current to the temperature detection diode k1 times, executes a second supply operation of supplying the second evaluation current to the temperature detection diode k2 times, and executes a third supply operation of supplying the third evaluation current to the temperature detection diode k3 times, and the voltage detection circuit detects the first evaluation voltage every time the first supply operation is executed, thereby obtaining a detection value (D VF1 ) is obtained, and the second evaluation voltage is detected every time the second supply operation is performed, thereby obtaining the detection value (D VF2 ) is obtained, and the third evaluation voltage is detected every time the third supply operation is performed, thereby obtaining the detection value (D VF3 ) are acquired, and the arithmetic circuit derives ΔVF based on equation (2) using k1 detection values ​​for the first evaluation voltage, k2 detection values ​​for the second evaluation voltage, and k3 detection values ​​for the third evaluation voltage (fourth configuration).

[0110] In the temperature sensor according to the fourth configuration, ΔVF satisfies formula (3), ΔVF=(K B / q)×T D ×ln(If3 k3 / (If1 k1 ×If2 k2 )) (3) The value of the calculated voltage derived based on equation (2) is substituted into the left side of equation (3), and K B represents the Boltzmann constant, q represents the charge of an electron, and T D represents the target temperature, and ln(If3 k3 / (If1 k1 ×If2 k2 )) is (If3 k3 / (If1 k1 ×If2k2 )) (fifth configuration).

[0111] In the temperature sensor according to the fourth or fifth configuration, the current supply circuit executes a first supply operation of supplying the first evaluation current to the temperature detection diode (M×k1) times, executes a second supply operation of supplying the second evaluation current to the temperature detection diode (M×k2) times, and executes a third supply operation of supplying the third evaluation current to the temperature detection diode (M×k3) times, the voltage detection circuit detects the first evaluation voltage every time the first supply operation is executed to obtain (M×k1) detection values ​​of the first evaluation voltage, and obtains (M×k1) detection values ​​of the second evaluation voltage every time the second supply operation is executed. a sixth configuration in which (M×k2) detection values ​​of the second evaluation voltage are obtained by detecting the first evaluation voltage, and (M×k3) detection values ​​of the third evaluation voltage are obtained by detecting the third evaluation voltage every time the third supply operation is performed, and the arithmetic circuit derives (M×ΔVF) based on equation (2) using the (M×k1) detection values ​​of the first evaluation voltage, the (M×k2) detection values ​​of the second evaluation voltage, and the (M×k3) detection values ​​of the third evaluation voltage, and generates the temperature detection signal in accordance with the derivation of (M×ΔVF), where M represents an integer of 2 or more (sixth configuration).

[0112] It is possible to increase the detection resolution by generating a temperature detection signal using a group of detection values ​​sufficient to derive M times ΔVF.

[0113] In the temperature sensor according to any one of the first to sixth configurations, the current detection circuit has an A / D converter (22), and the A / D converter performs analog-to-digital conversion on the voltage between the first node and the second node when the first evaluation current to the third evaluation current are supplied to the temperature detection diode, thereby generating first digital detection value to third digital detection value (D VF1 ~D VF3) and the arithmetic circuit detects the target temperature based on the first digital detection value to the third digital detection value (seventh configuration).

[0114] In the temperature sensor according to the first or second configuration, the arithmetic circuit generates a temperature detection signal (S DET ) (the eighth configuration).

[0115] In the temperature sensor according to any one of the first to eighth configurations, the target path may include a resistance component (R), and each evaluation current may pass through the temperature detection diode and the resistance component (ninth configuration).

[0116] In the temperature sensor according to any one of the first to ninth configurations, the temperature detection diode may be configured (tenth configuration) to be formed by a bipolar transistor having a collector and a base connected to each other. [Explanation of symbols]

[0117] D1 Diode If forward current Vf forward voltage R resistance component VF Voltage 1 Temperature Sensor 10 Current supply circuit 11 Constant current source 12~15 Transistor 16~18 Switch 20 Voltage detection circuit 21 Buffer amplifier 22 ADC 30 Arithmetic circuit 40 Control circuit 61, 62 nodes If1~If3 Evaluation current S VF Digital Signal D VF Digital Value S DET Temperature Detection Signal DDET Digital Value Tr1 Transistor 100 Semiconductor device

Claims

1. a temperature sensing diode disposed at a location having a target temperature and inserted in a target path between the first node and the second node; a current supply circuit configured to supply a first evaluation current to a third evaluation current at different timings to the target path in a forward direction of the temperature detection diode; a voltage detection circuit configured to detect voltages between the first node and the second node as first evaluation voltage to third evaluation voltage when the first evaluation current to the third evaluation current are supplied to the target path, respectively; an arithmetic circuit configured to detect the target temperature based on the first evaluation voltage to the third evaluation voltage; , temperature sensor.

2. The arithmetic circuit detects the target temperature by adding or subtracting the first evaluation voltage to the third evaluation voltage in accordance with a predetermined arithmetic expression based on a relationship between the first evaluation current to the third evaluation current. The temperature sensor according to claim 1 .

3. Each evaluation current is set so that formula (1) is satisfied, The calculation formula is formula (2), The arithmetic circuit derives ΔVF according to equation (2) and generates a temperature detection signal according to the derivation result of ΔVF; If1, If2, and If3 represent the first, second, and third evaluation currents, respectively. VF1, VF2, and VF3 represent the first, second, and third evaluation voltages, respectively. Each of k1, k2, and k3 represents an integer of 1 or more. k3×If3=k1×If1+k2×If2 (1) ΔVF=k3×VF3-(k1×VF1+k2×VF2)...(2) The temperature sensor according to claim 2 .

4. the current supply circuit executes a first supply operation k1 times to supply the first evaluation current to the temperature detection diode, executes a second supply operation k2 times to supply the second evaluation current to the temperature detection diode, and executes a third supply operation k3 times to supply the third evaluation current to the temperature detection diode; the voltage detection circuit detects the first evaluation voltage each time the first supply operation is performed to obtain k1 detection values ​​of the first evaluation voltage, detects the second evaluation voltage each time the second supply operation is performed to obtain k2 detection values ​​of the second evaluation voltage, and detects the third evaluation voltage each time the third supply operation is performed to obtain k3 detection values ​​of the third evaluation voltage, The arithmetic circuit derives ΔVF based on Equation (2) using k1 detection values ​​for the first evaluation voltage, k2 detection values ​​for the second evaluation voltage, and k3 detection values ​​for the third evaluation voltage. The temperature sensor according to claim 3 .

5. ΔVF satisfies equation (3), ΔVF=(K B / q)×T D ×ln(If3 k3 / (If1 k1 ×If2 k2 )) ・・・(3) K B represents the Boltzmann constant, q represents the charge of an electron, and T D represents the target temperature, ln(If3 k3 / (If1 k1 ×If2 k2 )) is (If3 k3 / (If1 k1 ×If2 k2 ) represents the natural logarithm of 5. The temperature sensor according to claim 4.

6. the current supply circuit executes a first supply operation of supplying the first evaluation current to the temperature detection diode (M×k1) times, executes a second supply operation of supplying the second evaluation current to the temperature detection diode (M×k2) times, and executes a third supply operation of supplying the third evaluation current to the temperature detection diode (M×k3) times; the voltage detection circuit detects the first evaluation voltage each time the first supply operation is performed to obtain (M×k1) detection values ​​of the first evaluation voltage, detects the second evaluation voltage each time the second supply operation is performed to obtain (M×k2) detection values ​​of the second evaluation voltage, and detects the third evaluation voltage each time the third supply operation is performed to obtain (M×k3) detection values ​​of the third evaluation voltage, the arithmetic circuit derives (M×ΔVF) based on Equation (2) using the (M×k1) detection values ​​for the first evaluation voltage, the (M×k2) detection values ​​for the second evaluation voltage, and the (M×k3) detection values ​​for the third evaluation voltage, and generates the temperature detection signal in accordance with the derivation result of (M×ΔVF); M represents an integer of 2 or more The temperature sensor according to claim 3 .

7. The current detection circuit includes an A / D converter. the A / D converter performs analog-to-digital conversion on a voltage between the first node and the second node when the first evaluation current, the second evaluation current, and the third evaluation current are supplied to the temperature detection diode, thereby generating first digital detection value, second digital detection value, and third digital detection value representing detection values ​​of the first evaluation voltage, the second evaluation voltage, and The arithmetic circuit detects the target temperature based on the first digital detection value to the third digital detection value.

7. The temperature sensor according to claim 1.

8. The arithmetic circuit generates a temperature detection signal indicative of a detection result of the target temperature.

3. The temperature sensor according to claim 1 or 2.

9. the target pathway includes a resistance component; Each evaluation current passes through the temperature detection diode and the resistance component.

7. The temperature sensor according to claim 1.

10. The temperature sensing diode is formed of a bipolar transistor having a collector and a base connected together.

7. The temperature sensor according to claim 1.

Citation Information

Patent Citations

  • Temperature detection device, temperature detection circuit and power semiconductor module

    JP2012227517A