Constant current circuit and semiconductor apparatus
11429131 · 2022-08-30
Assignee
Inventors
Cpc classification
G05F3/30
PHYSICS
International classification
Abstract
Provided is a constant current circuit supplying a temperature-compensated constant current. The constant current circuit includes a BGR circuit, a temperature dependent current generator, a reference current generator, and an output current generator. The BGR circuit generates a reference voltage with low voltage dependence. The temperature dependent current generator generates a temperature dependent current having a positive temperature coefficient. The reference current generator generates a temperature-compensated reference current by using the reference voltage and the temperature dependent current. The output current generator generates an output current based on the reference current generated by the reference current generator.
Claims
1. A constant current circuit, comprising: a reference voltage generator, generating a reference voltage; a reference current generator, generating a reference current that does not depend on a power supply voltage; and a temperature dependent current generator, generating a temperature dependent current having a positive temperature coefficient, wherein the reference current generator comprises a first circuit generating a first reference current having a negative temperature coefficient based on the reference voltage and a second circuit generating a second reference current having a positive temperature coefficient based on the temperature dependent current, and the reference current generator generates the reference current by adding up the first reference current having the negative temperature coefficient and the second reference current having the positive temperature coefficient, wherein the first circuit comprises a first operational amplifier comprising a non-inverting input terminal to which the reference voltage is input and an inverting input terminal in which an output node is short-circuited, the first operational amplifier is operating so as to generate an output voltage equal to the reference voltage at the output node and a resistor connected to a first path between the output node and ground, and the first reference current having the negative temperature coefficient is generated in the first path, the second circuit comprises a second path connected in parallel with the first path, and the second reference current having the positive temperature coefficient is generated in the second path, and the reference current is generated by adding up the first reference current having the negative temperature coefficient and flowing through the first path and the second reference current having the positive temperature coefficient and flowing through the second path, wherein the reference voltage generator comprises a bandgap reference circuit, the temperature dependent current generator is connected to the bandgap reference circuit, and the temperature dependent current generator generates the temperature dependent current based on a bandgap reference current for generating the reference voltage in the bandgap reference circuit, the bandgap reference circuit comprises a first current path and a second current path between the power supply voltage and the ground, the first current path comprises a first PMOS transistor, a first resistor and a first diode connected in series, the second current path comprises a second PMOS transistor, a second resistor, a third resistor and a second diode connected in series, the second PMOS transistor constitutes a current mirror circuit with the first PMOS transistor, the bandgap reference circuit further comprises a second operational amplifier comprising a non-inverting input terminal connected to a first node connecting the first resistor and the first diode, an inverting input terminal connected to a second node connecting the second resistor and the third resistor, and an output terminal is commonly connected to gates of the first PMOS transistor and the second PMOS transistor, the reference voltage is generated from a selected tap position of the second resistor.
2. The constant current circuit according to claim 1, wherein the second circuit comprises a first transistor of N-channel metal oxide semiconductor type generating the second reference current having the positive temperature coefficient in the second path.
3. The constant current circuit according to claim 2, wherein the first circuit comprises a first adjustment circuit adjusting a magnitude of the first reference current having the negative temperature coefficient.
4. The constant current circuit according to claim 3, wherein the first adjustment circuit adjusts a resistance value of the resistor on the first path.
5. The constant current circuit according to claim 3, wherein the second circuit comprises a second adjustment circuit adjusting a magnitude of the second reference current having the positive temperature coefficient.
6. The constant current circuit according to claim 5, wherein the second adjustment circuit adjusts a drain current flowing through the first transistor.
7. The constant current circuit according to claim 5, wherein the first adjustment circuit and the second adjustment circuit adjust the first reference current having the negative temperature coefficient and the second reference current having the positive temperature coefficient so that a temperature coefficient of the reference current becomes zero.
8. The constant current circuit according to claim 5, wherein the first adjustment circuit and the second adjustment circuit adjust the first reference current having the negative temperature coefficient and the second reference current having the positive temperature coefficient so that a temperature coefficient of the reference current becomes positive or negative.
9. The constant current circuit according to claim 2, wherein the temperature dependent current generator comprises a second transistor of N-channel metal oxide semiconductor type through which the temperature dependent current flows, and the first transistor and the second transistor constitute a current mirror circuit.
10. The constant current circuit according to claim 9, wherein the second circuit comprises a second adjustment circuit adjusting a mirror ratio of the current mirror circuit.
11. A semiconductor apparatus, comprising the constant current circuit according to claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
DESCRIPTION OF THE EMBODIMENTS
(5) Next, the embodiments of the disclosure will be described in detail with reference to the drawings. A constant current circuit of the disclosure may be used in a storage apparatus such as a flash memory, a dynamic memory (e.g., dynamic random access memory (DRAM)), a static memory (e.g., static random access memory (SRAM)), a resistance-change memory (e.g., resistive random access memory (RRAM)), or a magnetic memory (e.g., magnetic random access memory (MRAM)), or a semiconductor apparatus for logic circuits, signal processing or the like.
EMBODIMENTS
(6) Next, a constant current circuit according to an embodiment of the disclosure will be described with reference to the drawings.
(7) By using a bandgap voltage as a physical property of silicon as a semiconductor material, the BGR circuit 110 generates a reference voltage V.sub.BGR that is stable and has low dependence on variations in temperature or power supply voltage. As shown in
(8) An area ratio of the diode D1 to the diode D2, or a ratio of the number of parallel-connected diodes D1 to the number of parallel-connected diodes D2, is 1 to N (N is a number greater than 1). A current density of the diode D1 is N times that of the diode D2. Herein, the diodes D1 and D2 are described as examples, and a bipolar transistor to which a diode is connected may be used instead of the diodes D1 and D2.
(9) The operational amplifier 112 controls a gate voltage of the PMOS transistors Q10 and Q11 so that a voltage Vf1 at the node N1 and a voltage at the node N2 become equal to each other. Thus, a current I.sub.B flows through the first current path via the PMOS transistor Q10, and the same current I.sub.B as that flowing through the first current path flows through the second current path via the PMOS transistor Q11.
(10) Although the same current I.sub.B flows through the diode D1 and the diode D2, since the area ratio of the diode D1 to the diode D2 is 1 to N, the following equation (1) holds.
(11)
(12) Vf1 represents a terminal voltage (voltage at the node N1) of the diode D1, Vf2 represents a terminal voltage of the diode D2, k represents the Boltzmann constant, T represents absolute temperature, and q represents a charge of an electron.
(13) In addition, the current I.sub.B flowing into the resistor Rf is represented by the following equation (2).
(14)
(15) A temperature dependent factor is T/Rf. Generally, the current I.sub.B has a positive temperature coefficient.
(16) The reference voltage V.sub.BGR may be generated from the second current path. In the example of
V.sub.BGR=Vf1+I.sub.BR2′ (3)
(17) The reference voltage V.sub.BGR generated by the BGR circuit 110 is a voltage with low voltage dependence and temperature dependence. As shown in
(18) The node N performs negative feedback on an inverting input terminal (−) of the operational amplifier OP, and two current paths are connected in parallel at the node N. One of the current paths includes the resistor R.sub.NP between the node N and the ground GND and generates a reference current I.sub.REFN having a negative temperature coefficient, and the other current path includes the NMOS transistor Q.sub.TC between the node N and the ground GND and generates a reference current I.sub.REFP having a positive temperature coefficient. That is, the reference current I.sub.REF becomes a current obtained by adding up the reference current I.sub.REFN having the negative temperature coefficient and the reference current I.sub.REFP having the positive temperature coefficient respectively flowing through the two current paths connected to the node N.
(19) The resistor R.sub.NP includes, for example, a conductive polysilicon layer doped with impurities at a high concentration, an N+ diffusion region, or metal or the like, and has a positive temperature coefficient. Therefore, the reference current I.sub.REFN flowing through the resistor R.sub.NP has a negative temperature coefficient. The resistance value of the resistor R.sub.NP can be adjusted by trimming, thereby adjusting a magnitude (current value) of the reference current I.sub.REFN flowing through the resistor R.sub.NP and having the negative temperature coefficient. A method for trimming the resistor R.sub.NP is arbitrary. For example, as shown in
(20) The NMOS transistor Q.sub.TC generates the reference current I.sub.REFP having the positive temperature coefficient based on the temperature dependent current generated by the temperature dependent current generator 120. For example, as shown in
(21) The temperature dependent current generator 120 generates the temperature dependent current having the positive temperature coefficient and supplies the temperature dependent current to the reference current generator 130. The temperature dependent current generator 120 may generate the temperature dependent current by its own circuit, or may generate the temperature dependent current by using the current I.sub.B for generating the reference voltage V.sub.BGR in the BGR circuit 110, as shown in
(22) In addition, a gate of the NMOS transistor Q21 is connected to a drain of the NMOS transistor Q21, and is connected to a gate of the NMOS transistor Q.sub.TC. The NMOS transistor Q21 and the NMOS transistor Q.sub.TC constitute a current mirror circuit. When the current I.sub.B flows through the PMOS transistor Q20, the NMOS transistor Q21 is turned on, and the reference current I.sub.REFP having the positive temperature coefficient corresponding to a current mirror ratio also flows in the NMOS transistor Q.sub.TC. As shown in the equation (2), since the current I.sub.B has a positive temperature coefficient, the reference current I.sub.REFP also has a positive temperature coefficient.
(23) The magnitude of the reference current I.sub.REFP can be adjusted by trimming the current mirror ratio between the reference current I.sub.REFP and the current I.sub.B. The trimming method is arbitrary. For example, as shown in
(24) The magnitude of the reference current I.sub.REF generated in the reference current generator 130 is the sum of the reference current I.sub.REFP flowing through the NMOS transistor Q.sub.TC and having the positive temperature coefficient and the reference current I.sub.REFN flowing through the resistor R.sub.NP and having the negative temperature coefficient. By appropriately trimming a ratio between the reference current I.sub.REFP having the positive temperature coefficient and the reference current I.sub.REFN having the negative temperature coefficient, a temperature coefficient of the reference current I.sub.REF can be adjusted to zero. An optimal ratio between the reference current I.sub.REFP and the reference current I.sub.REFN for achieving a zero temperature coefficient of the reference current I.sub.REF can be found by trimming a current under two or more different temperature conditions.
(25) The output current generator 140 generates the output current I.sub.MIRROR to be supplied to the load based on the temperature-compensated reference current I.sub.REF generated by the reference current generator 130. For example, as shown in
(26) In the above embodiment, the temperature dependent current generator 120 generates, from the current I.sub.B of the BGR circuit 110, the current I.sub.B that is temperature dependent and has a positive temperature coefficient. However, the BGR circuit 110 is not necessarily used. That is, the temperature dependent current generator 120 may generate a temperature dependent current having a positive temperature coefficient independently of the BGR circuit 110, and supply the temperature dependent current to the reference current generator 130.
(27) In addition, in the above embodiment, an example is shown in which the reference current generator 130 generates the reference current I.sub.REF having a temperature coefficient of zero. However, this is one example. For example, in the case of requiring a reference current having a positive temperature coefficient or a reference current having a negative temperature coefficient, the reference current generator 130 may also generate a temperature-compensated reference current I.sub.REF having a positive temperature coefficient or reference current I.sub.REF having a negative temperature coefficient by appropriately adjusting the ratio between the reference current I.sub.REFP having the positive temperature coefficient and the reference current I.sub.REFN having the negative temperature coefficient.
(28) Although the embodiments of the disclosure have been described in detail, the disclosure is not limited to specific embodiments, and may be modified or altered within the scope of the gist of the disclosure as defined in the claims.