The present disclosure relates to a current mirror circuit.
A current multiplying circuit using a current mirror circuit has been widely used. For example, Japanese Unexamined Patent Publication No. H11-340760 discloses a current-variable current mirror circuit in which the current ratio is variable.
The cited patent document discloses, for example, a binary-weighted current source having a plurality of transistors. In the cited patent document, switches are provided in series with the respective transistors, to control the current gain by controlling on/off of the switches.
In general, in a current-variable current mirror circuit, transistors of the same conductivity type as those of a current source (p-type or n-type transistors) are used as switches to enable/disable passing of a current.
There is a widely known problem that, with the recent shrinkage of semiconductor integrated circuits, the gate length of transistors has become smaller and this increases the off-time leak current of transistors. In a current-variable current mirror circuit, an error caused by an off-leak current flowing through a switch although the switch is off has become too great to neglect. In particular, in a binary-weighted current mirror circuit, when the number of switches turned off is large, or when a current branch on the secondary side having a large multiple number is turned off, the current error against the design value becomes great.
In view of the above problem, an objective of the present disclosure is preventing or reducing the error caused by an off-leak current of a transistor in a current-variable current mirror circuit.
According to the first mode of the present disclosure, a current mirror circuit includes: an input terminal receiving an input current; an output terminal from which an output current is output; a plurality of first transistors of a first conductivity type, connected to a first power supply at their sources and to the input terminal at their gates and drains; and a second transistor of the first conductivity type, connected to the first power supply at its source, to the input terminal at its gate, and to the output terminal at its drain, wherein a switch circuit is provided between at least one of the plurality of first transistors and the input terminal, and the switch circuit includes a third transistor and a fourth transistor of the first conductivity type, connected in series between the drain of the first transistor and the input terminal, receiving a switch control signal for on/off control of the switch circuit at their gates, an inverter circuit receiving the switch control signal at its input terminal, and a fifth transistor of a second conductivity type, connected to an output terminal of the inverter circuit at one of its drain and source and to a middle node between the third transistor and the fourth transistor at the other, and receiving the switch control signal at its gate.
According to the second mode of the present disclosure, a current mirror circuit includes: an input terminal receiving an input current; an output terminal from which an output current is output; a first transistor of a first conductivity type, connected to a first power supply at its source and to the input terminal at its gate and drain; and a plurality of second transistors of the first conductivity type, connected to the first power supply at their sources, to the input terminal at their gates, and to the output terminal at their drains, wherein a switch circuit is provided between at least one of the plurality of second transistors and the output terminal, and the switch circuit includes a third transistor and a fourth transistor of the first conductivity type, connected in series between the drain of the second transistor and the output terminal, receiving a switch control signal for on/off control of the switch circuit at their gates, an inverter circuit receiving the switch control signal at its input terminal, and a fifth transistor of a second conductivity type, connected to a middle node between the third transistor and the fourth transistor at one of its drain and source and to an output terminal of the inverter circuit at the other, and receiving the switch control signal at its gate.
In the current mirror circuits of the first and second modes described above, when the switch circuit is turned on with the switch control signal, the fifth transistor is configured to become a deep reverse off state. Therefore, the off-leak current of the fifth transistor can be kept low.
Also, when the switch circuit is turned off with the switch control signal, the fourth transistor is configured to become a deep reverse off state. Therefore, the off-leak current of the fourth transistor can be kept low. Moreover, the off-leak current of the third transistor is configured to flow to a path different from the flow path of the input current. It is therefore possible to prevent or reduce the occurrence of an error caused by a leak current in the current ratio between the input current and the output current.
According to the present disclosure, in a current-variable current mirror circuit, the error caused by an off-leak current can be prevented or reduced.
An embodiment of the present disclosure will be described hereinafter with reference to the accompanying drawings. Note that specific numeric values shown in the following embodiment are mere examples for easy understanding of the disclosure, and by no means intended to limit the scope of the disclosure. In the following description, a node in a circuit and a signal/current passing through the node may be denoted by the same reference character. Also, a power supply and the voltage of the power supply may be denoted by the same reference character.
Note that the configuration of the current mirror circuit 1 is not limited to the two-stage one. For example, the current mirror circuit 1 may have a one-stage configuration made of only the first current mirror circuit 10 or the second current mirror circuit 20. Otherwise, the current mirror circuit 1 may have a configuration of three or more stages with an additional current mirror circuit (not shown) provided before the first current mirror circuit 10 or after the second current mirror circuit 20.
The first current mirror circuit 10 includes: an input terminal T11 that receives the input current Iin; an output terminal T12 from which the middle current Imd as the output current is output; a plurality of p-type first transistors P; and a p-type second transistor P0. Note that, in the first current mirror circuit 10, the p-type corresponds to the first conductivity type and the n-type corresponds to the second conductivity type.
Also, in the first current mirror circuit 10, a switch circuit PS is provided between at least one of the plurality of first transistors P and the input terminal T11. Note that, in the present disclosure, a terminal refers to an inlet/outlet of a current for connecting electric circuits, and the concrete form and configuration of the terminal are not specifically limited. For example, as the terminal, a dedicated pad may be provided, or a connection node connecting elements may function as the terminal.
In the example of
Specifically, in this example, the first transistor P1 is connected to the power supply VCC at its source and to the input terminal T11 at its gate and drain. The first transistor P2 is connected to the power supply VCC at its source, to the input terminal T11 at its gate, and to the input terminal T11 at its drain through the switch circuit PS2. The first transistor P3 is connected to the power supply VCC at its source, to the input terminal T11 at its gate, and to the input terminal T11 at its drain through the switch circuit PS3. The first transistor P4 is connected to the power supply VCC at its source, to the input terminal T11 at its gate, and to the input terminal T11 at its drain through the switch circuit PS4. The number of the first transistors P and the number of the switch circuits PS may be different from each other as in
The second transistor P0 is connected to the power supply VCC at its source, to the input terminal T11 at its gate, and to the output terminal T12 at its drain.
The sizes of the first transistors P1 to P4 are set according to binary weighting, for example. For example, the size ratio among the gate width Pg0 of the second transistor P0, the gate width Pg1 of the first transistor P1, the gate width Pg2 of the first transistor P2, the gate width Pg3 of the first transistor P3, and the gate width Pg4 of the first transistor P4 is set to be Equation (1) below.
With the setting of the sizes (e.g., gate widths) of the first transistors P1 to P4 according to binary weighting as described above, the ratio in gate width between the input side and output side of the first current mirror circuit 10 can be changed by the on/off control with switch control signals CP. That is, in the first current mirror circuit 10, by the on/off control with switch control signals CP, equal-pitch and multi-stage stepped current setting is possible.
Specifically, the middle current Imd output from the first current mirror circuit 10 is expressed by Equation (2) below.
In Equation (2), PSi is “1” when the switch circuit PS2, PS3, PS4 is on, and “0” when it is off. Note that the ratio in gate width among the first transistors P1 to P4 is not limited to Equation (1) above, but may be any other given ratio.
To state specifically, as shown in
As shown in
The third transistor P13 and the fourth transistor P14 are connected in series between the drain of the first transistor P and the input terminal T11. Specifically, one of the source and drain of the third transistor P13 is connected to the first transistor P, and the other is connected to a middle node md1. One of the source and drain of the fourth transistor P14 is connected to the middle node md1, and the other is connected to the input terminal T11. The switch control signal CP is given to the gates of the third and fourth transistors P13 and P14.
The inverter circuit INV1 has a configuration of a p-type transistor P16 and an n-type transistor N16 connected in series between the power supply VCC and the ground GND. The switch control signal CP is given to the input terminal of the inverter circuit INV1. In other words, the switch control signal CP is given to the gates of the transistors P16 and N16.
One of the drain and source of the fifth transistor N15 is connected to the output terminal of the inverter circuit INV1, and the other is connected to the middle node md1. In other words, one of the drain and source of the fifth transistor N15 is connected to the drains of the transistors P16 and N16. The switch control signal CP is given to the gate of the fifth transistor N15.
Referring back to
The first transistor NO is connected to the ground GND at its source, to the input terminal T21 at its gate and drain. In the second current mirror circuit 20, the ground GND corresponds to the first power supply.
In the example of
Specifically, in this example, the second transistor N1 is connected to the ground GND at its source, to the input terminal T21 at its gate, and to the output terminal T22 at its drain through the switch circuit NS1. The second transistor N2 is connected to the ground GND at its source, to the input terminal T21 at its gate, and to the output terminal T22 at its drain through the switch circuit NS2. The second transistor N3 is connected to the ground GND at its source, to the input terminal T21 at its gate, and to the output terminal T22 at its drain through the switch circuit NS3. The second transistor N4 is connected to the ground GND at its source, to the input terminal T21 at its gate, and to the output terminal T22 at its drain through the switch circuit NS4. The number of the second transistors N and the number of the switch circuits NS may be the same as in
The sizes of the second transistors N1 to N4 are set according to binary weighting, for example. For example, the size ratio among the gate width Ng0 of the first transistor N0, the gate width Ng1 of the second transistor N1, the gate width Ng2 of the second transistor N2, the gate width Ng3 of the second transistor N3, and the gate width Ng4 of the second transistor N4 is set to be Equation (3) below.
With the setting of the sizes (e.g., gate widths) of the second transistors N1 to N4 according to binary weighting as described above, the ratio in gate width between the input side and output side of the second current mirror circuit 20 can be changed by the on/off control with switch control signals CN. That is, in the second current mirror circuit 20, by the on/off control with switch control signals CN, equal-pitch and multi-stage stepped current setting is possible.
Specifically, the output current Iout output from the second current mirror circuit 20 is expressed by Equation (4) below.
In Equation (4), NSj is “1” when the switch circuit NS1, NS2, NS3, NS4 is on, and “0” when it is off. Note that the ratio in gate width among the second transistors N1 to N4 is not limited to Equation (3) above, but may be any other given ratio.
To state specifically, as shown in
As shown in
The third transistor N23 and the fourth transistor N24 are connected in series between the drain of the second transistor N and the output terminal T22. Specifically, one of the source and drain of the third transistor N23 is connected to the second transistor N, and the other is connected to a middle node md5. One of the source and drain of the fourth transistor N24 is connected to the middle node md5, and the other is connected to the output terminal T22. The switch control signal CN is given to the gates of the third and fourth transistors N23 and N24.
The inverter circuit INV2 has a configuration of a p-type transistor P26 and an n-type transistor N26 connected in series between the power supply VCC and the ground GND. The switch control signal CN is given to the input terminal of the inverter circuit INV2. In other words, the switch control signal CN is given to the gates of the transistors P26 and N26.
One of the drain and source of the fifth transistor P25 is connected to the output terminal of the inverter circuit INV2, and the other is connected to the middle node md5. In other words, one of the drain and source of the fifth transistor P25 is connected to the drains of the transistors P26 and N26. The switch control signal CN is given to the gate of the fifth transistor P25.
With the first current mirror circuit 10 and the second current mirror circuit 20 configured as described above, the output current Iout with respect to the input current Iin in the current mirror circuit 1 is expressed by Equation (5) below.
In Equation (5), PSi is “1” when the switch circuit PS2, PS3, PS4 is on, and “0” when it is off. Also, NSj is “1” when the switch circuit NS1, NS2, NS3, NS4 is on, and “0” when it is off.
Next, the operation of the switch circuit PS will be described with reference to
First, the operation of the switch circuit PS when it is controlled to be on will be described.
When “L” is input as the switch control signal CP, the third transistor P13 and the fourth transistor P14 are turned on. With this, a desired current according to the size ratio between the second transistor P0 and the first transistor P flows from the first transistor P to the input terminal T11 through the switch circuit PS.
For example, when “L” is input as the switch control signal CP2 to turn on the switch circuit PS2, a desired current according to the size ratio between the second transistor P0 and the first transistor P2 flows from the first transistor P2 to the input terminal T11 through the switch circuit PS2 (see
At this time, the fifth transistor N15 is turned off since “L” is input into its gate. Also, the output of the inverter circuit INV1 becomes “H”. That is, the potential of a middle node md2 between the fifth transistor N15 and the output terminal of the inverter circuit INV1 is VCC, and the potential of the middle node md1 is an intermediate potential between VCC and GND.
In the above state, the middle-node md1 side of the fifth transistor N15 works as the source and the middle-node md2 side thereof works as the drain. The gate-source voltage Vgs of the fifth transistor N15 at this time is “Vgs=−Vmd1” where Vmd1 is the potential of the middle node md1. Since the potential of the middle node mdl is the intermediate potential between VCC and GND as described above, Vgs<<0, indicating that the fifth transistor N15 is in a deep reverse off state. Therefore, the leak current of the fifth transistor N15 can be kept low. That is, the influence of the leak current of the fifth transistor N15 on the current flowing from the first transistor P to the input terminal T11 can be kept low.
Next, the operation of the switch circuit PS when it is controlled to be off will be described.
When “H” is input as the switch control signal CP, the third transistor P13 and the fourth transistor P14 are turned off. The fifth transistor N15 is turned on since “H” is input into its gate. Also, since “H” is input into the input terminal of the inverter circuit INV1, the transistor N16 is turned on. With this, the potential Vmd1 of the middle node md1 becomes “Vmd1≈GND.” Since the potential of a node md3 connecting the fourth transistor P14 and the input terminal T11 becomes an intermediate potential between VCC and GND, the middle-node md1 side of the fourth transistor P14 works as the drain and the node md3 side thereof works as the source. The gate-source voltage Vgs of the fourth transistor P14 at this time is “Vgs=VCC−Vmd3” where Vmd3 is the potential of the node md3. Since the potential Vmd3 is the intermediate potential between VCC and GND as described above, Vgs>>0, indicating that the fourth transistor P14 is in a deep reverse off state. Therefore, the leak current of the fourth transistor P14 can be kept low.
Moreover, a leak current Isp flowing through the third transistor P13 flows to the ground GND through the fifth transistor N15 and the transistor N16 (see the arrow in
Next, the operation of the switch circuit NS will be described with reference to
First, the operation of the switch circuit NS when it is controlled to be on will be described.
When “H” is input as the switch control signal CN, the third transistor N23 and the fourth transistor N24 are turned on. With this, a desired current according to the size ratio between the first transistor NO and the second transistor N flows from the second transistor N to the output terminal T22 through the switch circuit NS. For example, when “H” is input as the switch control signal CN1 to turn on the switch circuit NS1, a desired current according to the size ratio between the first transistor NO and the second transistor N1 flows from the second transistor N1 to the output terminal T22 through the switch circuit NS1 (see
At this time, the fifth transistor P25 is turned off since “H” is input into its gate. Also, the output of the inverter circuit INV2 becomes “L”. That is, the potential of a middle node md6 between the fifth transistor P25 and the output terminal of the inverter circuit INV2 is GND, and the potential of the middle node md5 is an intermediate potential between VCC and GND. In this state, the middle-node md5 side of the fifth transistor P25 works as the source and the middle-node md6 side thereof works as the drain. The gate-source voltage Vgs of the fifth transistor P25 at this time is “Vgs=VCC−Vmd5” where Vmd5 is the potential of the middle node md5. Since the potential of the middle node md5 is the intermediate potential between VCC and GND as described above, Vgs>>0, indicating that the fifth transistor P25 is in a deep reverse off state. Therefore, the leak current of the fifth transistor P25 can be kept low. That is, the influence of the leak current of the fifth transistor P25 on the current flowing from the second transistor N to the output terminal T22 can be kept low.
Next, the operation of the switch circuit NS when it is controlled to be off will be described.
When “L” is input as the switch control signal CN, the third transistor N23 and the fourth transistor N24 are turned off. The fifth transistor P25 is turned on since “L” is input into its gate. Also, since “L” is input into the input terminal of the inverter circuit INV2, the transistor P26 is turned on. With this, the potential Vmd5 of the middle node md5 becomes “Vmd5≈VCC.” Since the potential of a node md7 connecting the fourth transistor N24 and the output terminal T22 becomes an intermediate potential between VCC and GND, the middle-node md5 side of the fourth transistor N24 works as the drain and the node md7 side thereof works as the source. The gate-source voltage Vgs of the fourth transistor N24 at this time is “Vgs=−Vmd7” where Vmd7 is the potential of the node md7. Since the potential Vmd7 is the intermediate potential between VCC and GND as described above, Vgs<<0, indicating that the fourth transistor N24 is in a deep reverse off state. Therefore, the leak current of the fourth transistor N24 can be kept low.
Moreover, a leak current Isn flowing through the third transistor N23 flows from the power supply VCC to the second transistor N through the transistor P26 and the fifth transistor P25 (see the arrow in
The current mirror circuit according to the present disclosure is highly useful since 5 the error caused by an off-leak current can be prevented or reduced.
This is a continuation of International Application No. PCT/JP2021/044525 filed on Dec. 3, 2021. The entire disclosure of this application is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2021/044525 | Dec 2021 | WO |
Child | 18668961 | US |