Semiconductor device
A semiconductor device includes a constant current source, a current mirror circuit, a temperature detection circuit, a reference voltage generation circuit, and a comparison circuit. The current mirror circuit copies a current from the constant current source to thereby generate a copied current. The temperature detection circuit includes a temperature detection diode and a temperature detection voltage generation circuit connected in series with the temperature detection diode, and outputs a temperature detection voltage based on the copied current. The reference voltage generation circuit generates a reference voltage based on the copied current. The comparison circuit outputs a temperature detection signal on the basis of a result of comparing the temperature detection voltage with the reference voltage. The temperature detection voltage generation circuit and the reference voltage generation circuit have the same characteristics.
1 . A semiconductor device, comprising:
a constant current source;
a current mirror circuit that copies a current from the constant current source to thereby generate a copied current;
a temperature detection circuit, including:
a temperature detection diode having an anode and a cathode, and
a temperature detection voltage generation circuit including a first metal oxide semiconductor (MOS) transistor connected to the cathode of the temperature detection diode, such that the temperature detection voltage generation circuit connects in series with the temperature detection diode,
the temperature detection circuit being configured to output a temperature detection voltage based on the copied current;
a reference voltage generation circuit that generates a reference voltage based on the copied current, the reference voltage generation circuit including a second MOS transistor and having same characteristics as the temperature detection voltage generation circuit; and
a comparison circuit that compares the temperature detection voltage with the reference voltage, to thereby output a temperature detection signal, the comparison circuit being connected to the anode of the temperature detection diode, wherein
the first MOS transistor is diode-connected, and has a gate and a drain thereof connected to each other and to the comparison circuit via the temperature detection diode,
the second MOS transistor is diode-connected, and has a gate and a drain thereof connected to each other and to the comparison circuit directly,
the first MOS transistor and the second MOS transistor are formed by two elements that are same in characteristics thereof, and as the same characteristics, the first MOS transistor and the second MOS transistor are identical in a threshold voltage serving as an operating point or in a temperature change of the threshold voltage under a condition in which a predetermined drain current flows to the first MOS transistor and the second MOS transistor,
the first MOS transistor is a first NMOS (N-type MOS) transistor,
the second MOS transistor is a second NMOS transistor,
the cathode of the temperature detection diode is connected to a gate of the first NMOS transistor and a drain of the first NMOS transistor,
a source of the first NMOS transistor is connected to a reference potential,
a source of the second NMOS transistor is connected to the reference potential,
the comparison circuit has an inverting input terminal and a non-inverting input terminal, and
the current mirror circuit has:
a first terminal connected to the anode of the temperature detection diode and the inverting input terminal of the comparison circuit, and
a second terminal connected to the non-inverting input terminal of the comparison circuit, a gate of the second NMOS transistor, and a drain of the second NMOS transistor.
2 . A semiconductor device, comprising:
a constant current source;
a current mirror circuit that copies a current from the constant current source to thereby generate a copied current;
a temperature detection circuit, including:
a temperature detection diode having an anode and a cathode, and
a temperature detection voltage generation circuit including a first metal oxide semiconductor (MOS) transistor connected to the cathode of the temperature detection diode, such that the temperature detection voltage generation circuit connects in series with the temperature detection diode,
the temperature detection circuit being configured to output a temperature detection voltage based on the copied current;
a reference voltage generation circuit that generates a reference voltage based on the copied current, the reference voltage generation circuit including a second MOS transistor and having same characteristics as the temperature detection voltage generation circuit; and
a comparison circuit that compares the temperature detection voltage with the reference voltage, to thereby output a temperature detection signal, the comparison circuit being connected to the anode of the temperature detection diode, wherein
the first MOS transistor is diode-connected, and has a gate and a drain thereof connected to each other and to the comparison circuit via the temperature detection diode,
the second MOS transistor is diode-connected, and has a gate and a drain thereof connected to each other and to the comparison circuit directly,
the first MOS transistor and the second MOS transistor are formed by two elements that are same in characteristics thereof, and as the same characteristics, the first MOS transistor and the second MOS transistor are identical in a threshold voltage serving as an operating point or in a temperature change of the threshold voltage under a condition in which a predetermined drain current flows to the first MOS transistor and the second MOS transistor,
the first MOS transistor is a first PMOS (P-type MOS) transistor,
the second MOS transistor is a second PMOS transistor,
the anode of the temperature detection diode is connected to a gate of the first PMOS transistor and a drain of the first PMOS transistor,
a source and a back gate of the first PMOS transistor are connected to a power supply voltage,
a source and a back gate of the second PMOS transistor are connected to the power supply voltage,
the comparison circuit has an inverting input terminal and a non-inverting input terminal, and
the current mirror circuit has:
a first terminal connected to the cathode of the temperature detection diode and the non-inverting input terminal of the comparison circuit, and
a second terminal connected to the inverting input terminal of the comparison circuit, a gate of the second PMOS transistor, and a drain of the second PMOS transistor.