Temperature sensor
The temperature sensor design with differential evaluation currents and a reference diode maintains accurate and high-resolution temperature detection by keeping amplified voltages within the detection circuit's dynamic range, addressing performance limitations in existing sensors.
Patent Information
- Application Number
- JP2023020837
- 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
Existing temperature sensors using PN junction diodes face performance limitations in temperature detection accuracy and resolution.
A temperature sensor design that includes a temperature detection diode with different evaluation currents and a reference diode, utilizing a current supply circuit to generate amplified voltages, an amplifier circuit to detect these voltages, and a temperature detection circuit to calculate the target temperature based on these amplified voltages, with a reference voltage generated using a reference diode that mimics the temperature detection diode's characteristics.
Enables accurate and high-resolution temperature detection by maintaining amplified voltages within the dynamic range of the detection circuit, improving performance and precision.
Smart Images

Figure 2024115238000001
Abstract
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 arranged at a position having a target temperature, a current supply circuit configured to supply a first evaluation current and a second evaluation current to the temperature detection diode in a forward direction of the temperature detection diode at different timings, an amplifier circuit configured to generate a first amplified voltage by amplifying a difference between a forward voltage of the temperature detection diode and a reference voltage during a period in which the first evaluation current is supplied to the temperature detection diode, and to generate a second amplified voltage by amplifying a difference between the forward voltage of the temperature detection diode and the reference voltage during a period in which the second evaluation current is supplied to the temperature detection diode, a temperature detection circuit configured to detect the target temperature based on the first amplified voltage and the second amplified voltage, and a reference voltage generation circuit having a reference diode arranged at a position having a temperature according to the target temperature, and configured to generate the reference voltage using the forward voltage of the reference diode when a reference current is supplied in the forward direction of the reference diode. 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 a configuration diagram of a temperature sensor according to an embodiment of the present disclosure. [Diagram 3] FIG. 3 is an operational flowchart of the temperature sensor according to the embodiment of the present disclosure. [Figure 4] FIG. 4 is a diagram showing the temperature dependency of a calculation value related to temperature detection according to an embodiment of the present disclosure. [Diagram 5] FIG. 5 is a diagram illustrating the relationship between forward current and forward voltage in a diode according to an embodiment of the present disclosure. [Figure 6]FIG. 6 is a diagram showing a bipolar transistor constituting a diode according to a fourth example of the embodiment of the present disclosure. [Figure 7] FIG. 7 is a configuration diagram of a sensor device incorporating a temperature sensor according to a fifth embodiment of the present disclosure. [Figure 8] FIG. 8 is a modified configuration diagram of a temperature sensor according to a sixth embodiment of the present disclosure. [Figure 9] FIG. 9 is an external perspective view of a semiconductor device incorporating a temperature sensor according to a sixth 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] With reference to Figure 1, a temperature detection method using a temperature sensor that uses a diode will be described. In Figure 1, diode Da is a diode formed by a semiconductor PN junction. The forward current of diode Da is represented by the symbol "If". The forward voltage generated in diode Da when forward current If is supplied to diode Da is represented by the symbol "Vf". According to Shockley's diode equation, the following formula (A1) holds. Vf = (K B / q)×T D ×ln(If / Is) (A1)
[0016] 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 Da (the temperature of the diode Da). Is represents the saturation current of the diode Da. 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).
[0017] The saturation current Is has a constant value that is basically determined depending on the type of diode Da. Therefore, by detecting the forward voltage Vf when a known forward current If is supplied to the diode Da, the temperature T D can be detected.
[0018] However, the saturation current Is varies due to manufacturing variations in the diode Da. Taking this into consideration, the voltages Vf1 and Vf2 that satisfy the following equations (A2) and (A3) can be detected, and the voltage ΔVf can be calculated from the voltages Vf1 and Vf2 according to equation (A4).
[0019] 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)
[0020] Currents If1 and If2 represent different forward currents If. Voltage Vf1 is a forward voltage Vf generated in the diode Da by supplying the forward current If that satisfies "If=If1" to the diode Da. Vf2 is a forward voltage Vf generated in the diode Da by supplying the forward current If that satisfies "If=If2" to the diode Da.
[0021] 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 T D can be sought.
[0022] Fig. 2 shows a configuration diagram of the temperature sensor 1 according to this embodiment. The temperature to be detected (in other words, measured) by the temperature sensor 1 is called the target temperature. The temperature sensor 1 detects the target temperature using the principle based on the above formulas (A1) to (A4). The temperature sensor 1 can be formed using a semiconductor integrated circuit.
[0023] The temperature sensor 1 has a diode Da as a temperature detection diode, and detects (in other words, measures) the target temperature using the diode Da. The diode Da is disposed at a position having the target temperature. Therefore, the temperature T D is equal to the target temperature. In the temperature sensor 1, the anode of the diode Da is connected to the node NDa, and the cathode of the diode Da is connected to ground. In the temperature sensor 1, unless otherwise specified, the forward current If refers to the forward current of the diode Da.
[0024] The temperature sensor 1 includes a current supply circuit 10, an amplifier circuit 20, a temperature detection circuit 30, a reference voltage generation circuit 40, and a control circuit 50 in addition to the diode Da.
[0025] The current supply circuit 10 supplies first and second evaluation currents to the diode Da at different timings. The first and second evaluation currents are each supplied in the forward direction of the diode Da. 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. The evaluation currents If1 and If2 have different current values. When the evaluation currents If1 and If2 are supplied to the diode Da, the evaluation currents If1 and If2 are the forward current If of the diode Da, respectively.
[0026] The current supply circuit 10 includes a constant current source 11, transistors 12 to 15, and switches 16 and 17. 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 VDD1 is applied. The power supply voltage VDD1 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 node NDb. The drain of the transistor 14 is connected to a first terminal of the switch 16, and the drain of the transistor 15 is connected to a first terminal of the switch 17. The second terminals of the switches 16 and 17 are commonly connected to a node NDa.
[0027] Constant current source 11 generates a constant current Ia that flows from the drain of transistor 12 to ground. Therefore, the drain current of transistor 12 is current Ia. Current Ia has a predetermined current value. Transistors 12 to 15 form a current mirror circuit. Therefore, a drain current proportional to current Ia flows through each of transistors 13 to 15. The drain current of transistor 13 is reference current If0, the drain current of transistor 14 is evaluation current If1, and the drain current of transistor 15 is evaluation current If2.
[0028] However, if instantaneous current flow is ignored, the drain current of transistor 14 occurs only when switch 16 is on, and the drain current of transistor 15 occurs only when switch 17 is on. The control circuit 50 controls only one of switches 16 and 17 to be on, or controls both switches 16 and 17 to be off.
[0029] During the on-period of switch 16, "If=If1". "If=If1" means that evaluation current If1 flows as forward current If of diode Da. During the on-period of switch 17, "If=If2". "If=If2" means that evaluation current If2 flows as forward current If of diode Da. The voltage at node NDa is referred to as the sense voltage Vsns, and is symbolized by "Vsns". The sense voltage Vsns during the on-period of switch 16 is the forward voltage Vf of diode Da when "If=If1". The sense voltage Vsns during the on-period of switch 17 is the forward voltage Vf of diode Da when "If=If2".
[0030] A sense voltage Vsns is input to the amplifier circuit 20. A reference voltage Vref from a reference voltage generation circuit 40 is also input to the amplifier circuit 20. The amplifier circuit 20 amplifies the difference between the sense voltage Vsns and the reference voltage Vref, and outputs the voltage obtained by the amplification as an amplified voltage Vamp.
[0031] Specifically, the amplifier circuit 20 is a non-inverting amplifier circuit including an operational amplifier 21 and resistors 22 and 23. The operational amplifier 21 has a non-inverting input terminal, an inverting input terminal, and an output terminal. The non-inverting input terminal of the operational amplifier 21 is connected to a node NDa and receives a sense voltage Vsns. A reference voltage Vref is input to a first terminal of the resistor 22. A second terminal of the resistor 22 and a first terminal of the resistor 23 are commonly connected to the inverting input terminal of the operational amplifier 21. A second terminal of the resistor 23 is connected to the output terminal of the operational amplifier 21. An amplified voltage Vamp is applied to the output terminal of the operational amplifier 21. The amplification factor of the amplifier circuit 20 is set based on the ratio of the resistance values of the resistors 22 and 23. The amplification factor of the amplifier circuit 20 is represented by the symbol "A F Then, an amplified voltage Vamp that satisfies the following equation (B1) is generated. F is arbitrary as long as it is greater than 1. Vamp = (Vsns-Vref) x A F +Vref (B1)
[0032] The operational amplifier 21 is supplied with a power supply voltage VDD2 and operates based on the power supply voltage VDD2. The power supply voltage VDD2 has a predetermined positive DC voltage value. The power supply voltage VDD2 may be the same as the above-mentioned power supply voltage VDD1, or may be different. The power supply voltage VDD2 is a high-potential power supply voltage for the operational amplifier 21, and the low-potential power supply voltage for the operational amplifier 21 is 0V. Therefore, the output voltage of the operational amplifier 21 (i.e., the amplified voltage Vamp) is a voltage equal to or higher than 0V and equal to or lower than the power supply voltage VDD2.
[0033] The temperature detection circuit 30 includes an ADC 31, which is an AD converter, and an arithmetic circuit 32. The ADC 31 receives the amplified voltage Vamp output from the amplifier circuit 20 as an input analog voltage, and performs AD conversion (analog / digital conversion) of the input analog voltage. In the AD conversion, the ADC 31 samples the input analog voltage at a timing specified by the control circuit 50, and converts the sampled input analog voltage into a digital signal. The ADC 31 outputs the digital signal S obtained by the AD conversion as ADC It outputs the digital signal S ADC has a digital value corresponding to the value of the sampled input analog voltage. ADC is output to the arithmetic circuit 32.
[0034] The ADC 31 is supplied with a power supply voltage VDD2 and operates based on the power supply voltage VDD2. The power supply voltage VDD2 is a high-potential power supply voltage for the ADC 31, and the low-potential power supply voltage for the ADC 31 is 0V. Therefore, the input dynamic range of the ADC 31 is 0V or more and the power supply voltage VDD2 or less. In other words, the ADC 31 correctly converts an input analog voltage that is 0V or more and the power supply voltage VDD2 or less into a digital signal S. ADC When the input analog voltage is negative or exceeds the power supply voltage VDD2, the ADC31 correctly converts the input analog voltage into a digital signal S. ADC It is not possible to convert the digital signal S ADCThe digital value of is a value within the range from the minimum digital value to the maximum digital value. The maximum digital value is greater than the minimum digital value. When the ADC 31 is a 10-bit AD converter, the minimum digital value is 0 and the maximum digital value is 1023. When the input analog voltage is in the range from 0 V to the power supply voltage VDD2, the digital signal S ADC The digital value of increases monotonically from the minimum digital value to the maximum digital value. When the input analog voltage is negative, the digital signal S ADC When the input analog voltage exceeds the power supply voltage VDD2, the digital value of the digital signal S ADC The digital value of is equal to the maximum digital value.
[0035] The arithmetic circuit 32 receives the digital signal S ADC The target temperature is detected by performing a predetermined calculation process based on the temperature detection signal S. DET The 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 32 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 the temperature detection signal S indicates the detection value of the target temperature. DET It is also possible to modify the signal to be an analog signal.
[0036] The arithmetic circuit 32 is supplied with a power supply voltage VDD2 and is driven based on the power supply voltage VDD2. The power supply voltage VDD2 is a high-potential power supply voltage for the arithmetic circuit 32, and the low-potential power supply voltage for the arithmetic circuit 32 is 0 V. The arithmetic circuit 32 may be driven based on a power supply voltage different from the power supply voltage VDD2.
[0037] The reference voltage generating circuit 40 has a diode Db as a reference diode and a buffer amplifier 41. The diode Db is disposed in a position close to the diode Da. Therefore, the temperature of the diode Db substantially coincides with the target temperature. However, the temperature of the diode Db may differ slightly from the target temperature. In any case, the diode Db is disposed in a position having a temperature according to the target temperature, and if the target temperature rises, the temperature of the diode Db also rises, and if the target temperature drops, the temperature of the diode Db also drops. Moreover, the diodes Da and Db have the same structure, and therefore have the same electrical characteristics. The electrical characteristics here include temperature characteristics.
[0038] The anode of diode Db is connected to node NDb, and the cathode of diode Db is connected to ground. As described above, the drain of transistor 13 is connected to node NDb, so that reference current If0, which is the drain current of transistor 13, flows in the forward direction of diode Db. Reference current If0 has the same current value as evaluation current If2. Also, evaluation current If1 is assumed to be larger than evaluation current If2. However, a modification in which evaluation current If1 is made smaller than evaluation current If2 is also possible.
[0039] The voltage at the node NDb is referred to as “Vref0.” The voltage Vref0 at the node NDb is the forward voltage of the diode Db when a reference current If0 flows in the forward direction of the diode Db.
[0040] The buffer amplifier 41 receives the voltage Vref0 at the node NDb with a sufficiently high impedance, and outputs a voltage corresponding to the voltage Vref0 at the node NDb with a sufficiently low impedance. Here, the buffer amplifier 41 is assumed to be a voltage follower, and therefore the output voltage of the buffer amplifier 41 has the same voltage value as the voltage Vref0. The output voltage of the buffer amplifier 41 is the reference voltage Vref. As a modification, the buffer amplifier 41 may amplify the voltage Vref0 with an amplification factor exceeding 1, and the amplified voltage may be output as the reference voltage Vref.
[0041] In detail, the buffer amplifier 41 is composed of an operational amplifier, and in the operational amplifier serving as the buffer amplifier 41, the inverting input terminal and the output terminal are connected to each other, and the non-inverting input terminal is connected to the node NDb and receives the voltage Vref0. The reference voltage Vref is output from the output terminal of the operational amplifier serving as the buffer amplifier 41, and the output terminal of the operational amplifier serving as the buffer amplifier 41 is connected to the first end of the resistor 22. The operational amplifier serving as the buffer amplifier 41 is supplied with a power supply voltage VDD1 and is driven based on the power supply voltage VDD1. The power supply voltage on the low potential side for the buffer amplifier 41 may be 0V.
[0042] The control circuit 50 individually controls the on / off of the switches 16 and 17. The control circuit 50 also controls the execution timing of AD conversion by the ADC 31. The control of the execution timing of AD conversion includes control of the sampling timing in the ADC 31. Furthermore, the control circuit 50 controls the execution of the above-mentioned arithmetic processing by the arithmetic circuit 32.
[0043] 3 shows an operation flowchart of the temperature sensor 1. The flow of operations of the temperature sensor 1 will be described with reference to FIG.
[0044] First, in step S11, the control circuit 50 sets "If=If1" by controlling only the switch 16 to be on among the switches 16 and 17. Setting "If=If1" refers to controlling the current supply circuit 10 so that the evaluation current If1 is supplied to the diode Da as the forward current If of the diode Da.
[0045] The sense voltage Vsns when "If=If1" is set is particularly referred to as sense voltage Vsns1. In step S11, the amplified voltage Vamp when "If=If1" is set is output from the amplifier circuit 20. The amplified voltage Vamp when "If=If1" is set is the amplified voltage Vamp that is the difference between the sense voltage Vsns1 and the reference voltage Vref, and is hereinafter referred to as the amplified voltage Vamp1. In step S11, under the control of the control circuit 50, the ADC31 performs AD conversion of the amplified voltage Vamp1. This results in a digital detection value ADCOUT1. That is, the digital signal S obtained by AD conversion of the amplified voltage Vamp1 is ADC The (first digital signal) has a digital detection value ADCOUT1. The digital detection value ADCOUT1 is a digital value that represents the analog voltage value of the amplified voltage Vamp1.
[0046] In the next step S12, the control circuit 50 sets "If=If2" by controlling only the switch 17 to be on among the switches 16 and 17. Setting "If=If2" refers to controlling the current supply circuit 10 so that the evaluation current If2 is supplied to the diode Da as the forward current If of the diode Da.
[0047] The sense voltage Vsns when "If=If2" is set is particularly referred to as a sense voltage Vsns2. In step S12, an amplified voltage Vamp when "If=If2" is set is output from the amplifier circuit 20. The amplified voltage Vamp when "If=If2" is set is an amplified voltage Vamp that is the difference between the sense voltage Vsns2 and a reference voltage Vref, and is hereinafter referred to as an amplified voltage Vamp2. In step S12, under the control of the control circuit 50, the ADC31 performs AD conversion of the amplified voltage Vamp2. This results in a digital detection value ADCOUT2. That is, a digital signal S obtained by AD conversion of the amplified voltage Vamp2 is ADC (Second digital signal) has a digital detection value ADCOUT2. The digital detection value ADCOUT2 is a digital value that represents the analog voltage value of the amplified voltage Vamp2.
[0048] It is assumed here that the process of step S12 is executed after step S11, but the process of step S11 may be executed after step S12. In any case, after the processes of steps S11 and S12, the process proceeds to step S13.
[0049] In step S13, the temperature detection circuit 30 detects the target temperature based on the difference voltage (Vamp1-Vamp2) between the amplified voltage Vamp1 and the amplified voltage Vamp2. In practice, in step S13, the arithmetic circuit 32 detects the target temperature based on the digital detection values ADCOUT1 and ADCOUT2. Then, in step S14, the arithmetic circuit 32 outputs a temperature detection signal S indicating the detection result of the target temperature. DET to an external circuit (not shown). The external circuit is any circuit that requires the detection result of the target temperature.
[0050] The operation of steps S11 to S14 will be further explained using equations. First, the sense voltages Vsns1 and Vsns2 generated in steps S11 and S12 satisfy the following equations (C1) and (C2). The right-hand sides of the equations (C1) and (C2) are the same as the right-hand sides of the above equations (A2) and (A3). Vsns1=(K B / q)×T D ×ln(If1 / Is) (C1) Vsns2=(K B / q)×T D ×ln(If2 / Is) (C2)
[0051] From the relational expression (corresponding to the above formula (B1)) regarding the input / output voltages of the amplifier circuit 20, the amplified voltages Vamp1 and Vamp2 satisfy the following formulas (C3) and (C4). Vamp1 = (Vsns1 - Vref) x A F +Vref (C3) Vamp2 = (Vsns2 - Vref) x A F +Vref (C4)
[0052] Then, the differential voltage (Vamp1-Vamp2) is expressed by the following formula (C5). The differential voltage (Vamp1-Vamp2) is expressed by the voltage ΔVf shown in the above formula (A4) multiplied by A F It is equal to multiplied by 1. Vamp1-Vamp2 = ((Vsns1-Vref) × A F +Vref)-((Vsns2-Vref)×A F +Vref)=(Vsns1-Vsns2)×A F =((K B / q)×T D ×ln(If1 / Is)-(K B / q)×T D ×ln(If2 / Is))×A F =(K B / q)×T D ×ln(If1 / If2)×A F (C5)
[0053] Boltzmann constant K B , the amount of charge q of the electrons, the values of the evaluation currents If1 and If2, and the amplification factor A of the amplifier circuit 20. F is known to the temperature sensor 1 (the calculation circuit 32). Therefore, according to the formula (C5), the calculation circuit 32 calculates the target temperature (i.e., the temperature T D ) can be obtained.
[0054] In reality, the arithmetic circuit 32 derives the difference (ADCOUT1-ADCOUT2). Since the digital detection values ADCOUT1 and ADCOUT2 represent the analog voltage values of the amplified voltages Vamp1 and Vamp2, the difference (ADCOUT1-ADCOUT2) represents the differential voltage (Vamp1-Vamp2) in a numerical value. As can be seen from the formula (C5), the differential voltage (Vamp1-Vamp2) is D Since the difference (ADCOUT1-ADCOUT2) is proportional to the temperature T D (See Figure 4.)
[0055] Therefore, the calculation circuit 32 calculates the difference (ADCOUT1-ADCOUT2) itself or the difference (ADCOUT1-ADCOUT2) multiplied by K as the temperature detection signal S DET (K>1). Temperature detection signal S DET The value of the target temperature (i.e., temperature T D The amplification factor A of the amplifier circuit 20 is expressed as F Alternatively, the detection resolution of the target temperature can be adjusted by adjusting the current ratio (If1 / If2). For example, the temperature detection signal S DET The change of 1 in the value of D This corresponds to a 0.5°C change in temperature, and the detection resolution is 0.5°C.
[0056] 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).
[0057] <<First Example>> A first embodiment will be described. In the first embodiment, the evaluation current If1 is 50 μA (microamperes), the evaluation current If2 and the reference current If0 are 5 μA, and the amplification factor A of the amplifier circuit 20 is F It is assumed that V amp1 -V amp2 is 8 and the power supply voltage VDD2 is 1.5 V. In this case, the differential voltage (Vamp1-Vamp2) shown in the above formula (C5) is expressed by the following formula. Vamp1-Vamp2 =(K B / q)×T D ×ln(If1 / If2)×A F =(K B / q)×T D ×ln(10)×8
[0058] 5, curves 610_175 and 610_m25 show the relationship between the forward current If and the forward voltage Vf in the diode Da. D is 175°C, and curve 610_m25 shows the relationship when temperature T D is -25°C. As described above, diodes Da and Db are formed to have the same electrical characteristics, so the relationship between the forward current and forward voltage in diode Db also follows curves 610_175 and 610_m25 (here, variations, etc. are ignored). It is also assumed that the temperatures of diodes Da and Db are completely the same.
[0059] temperature T D When the temperature T is -25°C, the forward voltage Vf of the diode Da generated when a forward current If of 5 μA is supplied to the diode Da is 0.744 V. Similarly, D When the temperature is −25° C., the forward voltage of diode Db generated when a forward current of 5 μA is supplied to diode Db is also 0.744 V. temperature T D When the temperature T is -25°C, the forward voltage Vf of the diode Da generated when a forward current If of 50 μA is supplied to the diode Da is 0.796 V. Similarly, D When the temperature is −25° C., the forward voltage of the diode Db generated when a forward current of 50 μA is supplied to the diode Db is also 0.796 V.
[0060] temperature T D When the temperature T is 175°C, the forward voltage Vf of the diode Da generated when a forward current If of 5 μA is supplied to the diode Da is 0.329 V. Similarly, D When the temperature is 175° C., the forward voltage of the diode Db generated when a forward current of 5 μA is supplied to the diode Db is also 0.329 V. temperature TD When the temperature T is 175°C, the forward voltage Vf of the diode Da generated when a forward current If of 50 μA is supplied to the diode Da is 0.425 V. Similarly, D When the temperature is 175° C., the forward voltage of diode Db generated when a forward current of 5 μA is supplied to diode Db is also 0.425 V.
[0061] Then, the temperature T D When the temperature is -25°C and "If=If1", the amplified voltage Vamp1 is expressed as "Vamp1=(Vsns1-Vref)×A F +Vref=(0.796-0.744)×8+0.744=1.16”, so it is 1.16V. On the other hand, temperature T D When the temperature is 175° C. and “If=If1”, the amplified voltage Vamp1 is expressed as “Vamp1=(Vsns1-Vref)×A F +Vref=(0.425-0.329)×8+0.329=1.097”, so it is 1.097V. temperature T D When the temperature ranges from −25° C. to 175° C., the amplified voltage Vamp1 falls within a voltage range from 1.16 V to 1.097 V, which falls within the input dynamic range of the ADC31.
[0062] Also, the temperature T D When the temperature is -25°C and "If=If2", the amplified voltage Vamp2 is expressed as "Vamp2=(Vsns2-Vref)×A F +Vref=(0.744-0.744)×8+0.744=0.744”, which is 0.744V. On the other hand, temperature T D When the temperature is 175° C. and “If=If2”, the amplified voltage Vamp2 is expressed as “Vamp2=(Vsns2-Vref)×A F +Vref=(0.329-0.329)×8+0.329=0.329”, which is 0.329V. temperature T D When the temperature ranges from −25° C. to 175° C., the amplified voltage Vamp2 falls within a voltage range from 0.744 V to 0.329 V, which falls within the input dynamic range of the ADC31.
[0063] Here, we will explain the virtual temperature sensor that is used for comparison with the temperature sensor 1. In the virtual temperature sensor, the reference voltage Vref is fixed at 0.75 V. Except for the fact that the reference voltage Vref is fixed at 0.75 V, the virtual temperature sensor has the same configuration as the temperature sensor 1 in FIG.
[0064] In the virtual temperature sensor, the temperature T D When the temperature is -25°C and "If=If1", the amplified voltage Vamp1 is expressed as "Vamp1=(Vsns1-Vref)×A F +Vref=(0.796-0.75)×8+0.75=1.118”, so it is 1.118V. In the virtual temperature sensor, the temperature T D When the temperature is 175° C. and “If=If1”, the amplified voltage Vamp1 is expressed as “Vamp1=(Vsns1-Vref)×A F +Vref=(0.425-0.75)×8+0.75=-1.850”, which is -1.850V. In the virtual temperature sensor, the temperature T D When the temperature ranges from −25° C. to 175° C., the amplified voltage Vamp1 fluctuates within a voltage range from 1.118 V to −1.850 V, which does not fall within the input dynamic range of the ADC31.
[0065] In the virtual temperature sensor, the temperature T D When the temperature is -25°C and "If=If2", the amplified voltage Vamp2 is expressed as "Vamp2=(Vsns2-Vref)×A F +Vref=(0.744-0.75)×8+0.75=0.702”, which is 0.702V. In the virtual temperature sensor, the temperature T DWhen the temperature is 175° C. and “If=If2”, the amplified voltage Vamp2 is expressed as “Vamp2=(Vsns2-Vref)×A F +Vref=(0.329-0.75)×8+0.75=-2.618”, so it is -2.618V. In the virtual temperature sensor, the temperature T D When the temperature ranges from −25° C. to 175° C., the amplified voltage Vamp1 fluctuates within a voltage range from 0.702 V to −2.618 V, which does not fall within the input dynamic range of the ADC31.
[0066] In this way, it is difficult for the virtual temperature sensor to keep the input analog voltage to the ADC31 within the input dynamic range in response to temperature changes. F If the gain A is reduced, it is possible to keep the input analog voltage to the ADC31 within the input dynamic range. F A reduction in V leads to a decrease in the resolution of temperature detection. In contrast, in the temperature sensor 1 in Figure 2, the reference voltage Vref is generated using the diode Db, which brings about a characteristic change similar to the characteristic change of the diode Da in response to a temperature change, so that the input analog voltage to the ADC 31 can be kept within the input dynamic range without causing a decrease in the resolution of temperature detection (i.e., high-resolution and accurate temperature detection is possible).
[0067] <<Second Example>> A second embodiment will be described. The basic principle is that the diodes Da and Db have the same structure and the same electrical characteristics. However, the structure of the diode Db may be slightly different from the structure of the diode Da, and the electrical characteristics of the diode Db may be slightly different from the electrical characteristics of the diode Da. Even if the electrical characteristics of the diode Db are slightly different from the electrical characteristics of the diode Da, the same actions and effects as those described in the first embodiment can be obtained.
[0068] For example, in the numerical example shown in the first embodiment, the temperature T DAt -25°C, the reference voltage Vref is 0.740V instead of 0.744V, while at temperature T D Even if the reference voltage Vref when the temperature is 175° C. is 0.325 V instead of 0.329 V, the input analog voltage to the ADC31 falls within the input dynamic range of the ADC31.
[0069] <<Third Example>> A second embodiment will now be described. Basically, the reference current If0 has the same current value as the evaluation current If2. However, the current value of the reference current If0 may be slightly different from the current value of the evaluation current If2. Even if the current value of the reference current If0 is slightly different from the current value of the evaluation current If2, the same actions and effects as those described in the first embodiment can be obtained.
[0070] For example, in the numerical example shown in the first embodiment, even if the value of the reference current If0 deviates from 5 μA by a current value ΔI, as long as the current value ΔI is not excessively large, the input analog voltage to the ADC31 will fall within the input dynamic range of the ADC31.
[0071] <<Fourth Example>> A fourth embodiment will be described. The diodes Da and Db may be composed of bipolar transistors. That is, as shown in FIG. 6, a transistor Tra, which is an NPN bipolar transistor, may be used as the diode Da, and a transistor Trb, which is another NPN bipolar transistor, may be used as the diode Db. In this case, in the transistor Tra, the collector and the base are connected to each other, the collector functions as the anode of the diode Da and is connected to the node NDa, and the emitter functions as the cathode of the diode Da and is connected to the ground. Similarly, in the transistor Trb, the collector and the base are connected to each other, the collector functions as the anode of the diode Db and is connected to the node NDb, and the emitter functions as the cathode of the diode Db and is connected to the ground.
[0072] The transistors Tra and Trb have the same structure and therefore the same electrical characteristics. This results in the diodes Da and Db having the same electrical characteristics. However, the structure of the transistor Trb may be slightly different from the structure of the transistor Tra, and the electrical characteristics of the transistor Trb may be slightly different from the electrical characteristics of the transistor Tra. In this case, the electrical characteristics of the diodes Da and Db will be slightly different from each other, but as described in the second embodiment, no particular problem will occur.
[0073] Incidentally, the diodes Da and Db may be formed using PNP bipolar transistors instead of NPN bipolar transistors.
[0074] <<Fifth Example>> A fifth embodiment will now be described. Fig. 7 shows the configuration of a sensor device 1A according to the fifth embodiment. The sensor device 1A is obtained by adding selectors 61 and 62 to the temperature sensor 1 in Fig. 2. In the sensor device 1A, a plurality of sense voltages are input to the selector 61, which outputs one of the plurality of sense voltages to the non-inverting input terminal of the operational amplifier 21 under the control of the control circuit 50. In the sensor device 1A, a plurality of reference voltages are input to the selector 62, which outputs one of the plurality of reference voltages as a reference voltage Vref to a first end of the resistor 22 under the control of the control circuit 50.
[0075] One of the multiple sense voltages input to the selector 61 is the sense voltage Vsns. One of the multiple reference voltages input to the selector 62 is the output voltage of the buffer amplifier 41. The sensor device 1A includes a temperature sensor. In the sensor device 1A, when the selector 61 outputs the sense voltage Vsns to the non-inverting input terminal of the operational amplifier 21 and the selector 62 outputs the output voltage of the buffer amplifier 41 as the reference voltage Vref to the first end of the resistor 22, the sensor device 1A is equivalent to the temperature sensor 1 in FIG. 2. Therefore, the sensor device 1A can be considered to include the temperature sensor 1.
[0076] In the sensor device 1A, by using the selectors 61 and 62, the amplifier circuit 20 can be used for purposes other than amplifying the differential voltage between the voltages Vsns and Vref0, and the ADC 31 can be used for purposes other than digitizing the differential voltage between the voltages Vsns and Vref0.
[0077] <<Sixth Example>> A sixth embodiment will now be described.
[0078] The temperature sensor 1 may be modified such that the sense voltage Vsns is supplied to the inverting input terminal of the operational amplifier 21 and the reference voltage Vref is supplied to the inverting input terminal of the operational amplifier 21. FIG. 8 shows a temperature sensor 1' which is a temperature sensor 1 modified in this manner. In the temperature sensor 1', the buffer amplifier 41 is removed from the reference voltage generating circuit 40 in FIG. 2, and the voltage Vref0 at the node NDb is supplied to the non-inverting input terminal of the operational amplifier 21 as the reference voltage Vref. In the temperature sensor 1', the sense voltage Vsns at the node NDa is supplied to the first terminal of the resistor 22 via the buffer amplifier 41', and the second terminal of the resistor 22 is connected to the inverting input terminal of the operational amplifier 21. Except for these points, the temperature sensor 1' in FIG. 8 is the same as the temperature sensor 1 in FIG. 2. The buffer amplifier 41' is a voltage follower having the same configuration as the buffer amplifier 41 in FIG. 2. In detail, the buffer amplifier 41' is composed of an operational amplifier, and in the operational amplifier serving as the buffer amplifier 41, the inverting input terminal and the output terminal are connected to each other, and the non-inverting input terminal is connected to the node NDA to receive the sense voltage Vsns. A voltage according to the sense voltage Vsns (a voltage having substantially the same voltage value as the sense voltage Vsns) is output from the output terminal of the operational amplifier serving as the buffer amplifier 41 to the first end of the resistor 22. The sense voltage Vsns at the node NDA is impedance-converted by the buffer amplifier 41 and then supplied to the first end of the resistor 22.
[0079] Although the configuration in which the potential of each of the cathodes of the diodes Da and Db coincides with the ground potential has been described above, the potential of each of the cathodes of the diodes Da and Db may be different from the ground potential.
[0080] The temperature sensor 1 or the sensor device 1A may be incorporated into any semiconductor device. FIG. 9 is an external perspective view of a semiconductor device 100 incorporating the temperature sensor 1 or the sensor device 1A. 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. 9 are merely examples, and can be designed arbitrarily. The semiconductor integrated circuit in the semiconductor device 100 includes the temperature sensor 1 or the sensor device 1A as well as various functional circuits. The functional circuits are, for example, a DC / DC converter and a motor driver.
[0081] 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 a pair of diodes Da and Db is arranged for each target position, a detection block consisting of an amplifier circuit 20 and a temperature detection circuit 30 may be commonly assigned to multiple pairs of diodes Da and Db, and the input signal to the amplifier circuit 20 may be switched using selectors 61 and 62, etc., so that a single detection block can be used to detect multiple target temperatures.
[0082] 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.
[0083] 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.
[0084] 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.
[0085] <<Additional Notes>> Regarding the present disclosure, specific configuration examples of which have been shown in the above-mentioned embodiments, additional notes will be provided.
[0086] A temperature sensor (1) according to one aspect of the present disclosure includes a temperature detection diode (Da) arranged at a position having a target temperature, a current supply circuit (10) configured to supply a first evaluation current (If1) and a second evaluation current (If2) to the temperature detection diode in a forward direction of the temperature detection diode at different timings, and a current supply circuit (10) configured to generate a first amplified voltage (Vamp1) by amplifying a difference between a forward voltage of the temperature detection diode and a reference voltage (Vref) during a period in which the first evaluation current is supplied to the temperature detection diode, and a temperature detection circuit (30) configured to detect the target temperature based on the first amplified voltage and the second amplified voltage; and a reference voltage generation circuit (40) having a reference diode (Db) arranged at a position having a temperature according to the target temperature, and configured to generate the reference voltage using the forward voltage of the reference diode when a reference current (If0) is supplied in the forward direction of the reference diode (first configuration).
[0087] If a fixed voltage were used as the reference voltage, there would be a concern that the amplified voltage would exceed the input dynamic range of the temperature detection circuit in response to temperature changes. This concern could be resolved by reducing the amplification factor, but reducing the amplification factor would lead to a decrease in the resolution of temperature detection. In consideration of this, the temperature sensor of the first configuration generates the reference voltage using a reference diode that brings about a characteristic change similar to that of the temperature detection diode in response to temperature changes. This makes it possible to keep the amplified voltage within the input dynamic range of the temperature detection circuit without causing a decrease in the resolution of temperature detection (i.e., high-resolution and accurate temperature detection is possible).
[0088] In the temperature sensor of the above-mentioned first configuration, the first evaluation current and the second evaluation current may have different current values, and the temperature detection circuit may be configured to detect the target temperature based on the difference between the first amplified voltage and the second amplified voltage (second configuration).
[0089] In the temperature sensor according to the second configuration, the temperature detection circuit may be configured (third configuration) to include an AD converter (31) configured to receive the first amplified voltage and the second amplified voltage from the amplifier circuit as input analog voltages, convert the first amplified voltage into a first digital signal, and convert the second amplified voltage into a second digital signal, and an arithmetic circuit (32) configured to detect the target temperature based on a difference (ADCOUT1-ADCOUT2) between the first digital signal and the second digital signal.
[0090] If the input analog voltage exceeds the input dynamic range of the AD converter, accurate temperature detection becomes impossible. In the temperature sensor according to the third configuration, a reference voltage is generated using a reference diode that brings about a characteristic change similar to that of the temperature detection diode in response to temperature change. This makes it possible to keep the input analog voltage within the input dynamic range of the AD converter without causing a decrease in the resolution of temperature detection (i.e., high-resolution and accurate temperature detection is possible).
[0091] In the temperature sensor according to any one of the first to third configurations, the current supply circuit may be configured (fourth configuration) to supply a current having the same current value as the second evaluation current as the reference current to the reference diode.
[0092] In the temperature sensor according to any one of the first to fourth configurations, the temperature detection circuit may be configured (fifth configuration) to generate a temperature detection signal indicating a detection result of the target temperature.
[0093] In the temperature sensor according to any one of the first to fifth configurations, the temperature detection diode and the reference diode may each be formed by a bipolar transistor having a collector and a base connected to each other (sixth configuration). [Explanation of symbols]
[0094] Da, Db Diodes If forward current Vf forward voltage 1, 1' Temperature Sensor 10 Current supply circuit 11 Constant current source 12~15 Transistor 16, 17 Switch 20 Amplification circuit 21 Operational Amplifiers 22, 23 Resistance 30 Temperature detection circuit 31 ADC 32 Arithmetic circuit 40 Reference voltage generation circuit 41, 41' Buffer amplifier 50 Control circuit NDa, NDb nodes If0 Reference current If1, If2 Evaluation current Vref Reference voltage Vamp Amplified voltage S ADC Digital Signal S DET Temperature Detection Signal VDD1, VDD2 power supply voltage Vsns voltage (sense voltage) Ia current Vref0 voltage Tra, Trb transistors 1A Sensor device 61, 62 Selector 100 Semiconductor device
Claims
1. a temperature sensing diode disposed at a location having a temperature of interest; a current supply circuit configured to supply a first evaluation current and a second evaluation current to the temperature detection diode in a forward direction of the temperature detection diode at different timings; an amplifier circuit configured to generate a first amplified voltage by amplifying a difference between a forward voltage of the temperature detection diode and a reference voltage during a period in which the first evaluation current is supplied to the temperature detection diode, and to generate a second amplified voltage by amplifying a difference between the forward voltage of the temperature detection diode and the reference voltage during a period in which the second evaluation current is supplied to the temperature detection diode; a temperature detection circuit configured to detect the target temperature based on the first amplified voltage and the second amplified voltage; a reference voltage generating circuit configured to generate the reference voltage using a forward voltage of the reference diode when a reference current is supplied in a forward direction of the reference diode, the reference diode being disposed at a position having a temperature corresponding to the target temperature. , temperature sensor.
2. the first evaluation current and the second evaluation current have different current values, The temperature detection circuit detects the target temperature based on a difference between the first amplified voltage and the second amplified voltage. The temperature sensor according to claim 1 .
3. The temperature detection circuit includes an AD converter configured to receive the first amplified voltage and the second amplified voltage from the amplifier circuit as input analog voltages, convert the first amplified voltage into a first digital signal, and convert the second amplified voltage into a second digital signal, and an arithmetic circuit configured to detect the target temperature based on a difference between the first digital signal and the second digital signal. The temperature sensor according to claim 2 .
4. The current supply circuit supplies a current having the same current value as the second evaluation current to the reference diode as the reference current.
4. The temperature sensor according to claim 1.
5. The temperature detection circuit generates a temperature detection signal indicative of a detection result of the target temperature.
4. The temperature sensor according to claim 1.
6. The temperature sensing diode and the reference diode are each formed of a bipolar transistor having a collector and a base connected to each other.
4. The temperature sensor according to claim 1.
Citation Information
Patent Citations
Temperature detection device, temperature detection circuit and power semiconductor module
JP2012227517A
