4
\$\begingroup\$

I am building a current mirror based on MOSFETs.

Below is the schematic of the current mirror.

Supposedly the I_probe1 and I_probe2 should be equal as what current mirror should do, but I plotted the I_probe1 and I_Probe2 against the VC (the voltage on the left side) and found these currents are not the same.

Why is this current mirror not working? Is there something wrong with the design?

enter image description here

enter image description here

\$\endgroup\$
7
  • 1
    \$\begingroup\$ For current mirror to work transistors must be in saturation. M2 is sinking from ground hence its drain should be below, which does not even make sense for polarization. \$\endgroup\$
    – edmz
    Commented Aug 19, 2022 at 21:21
  • 3
    \$\begingroup\$ What part of this circuit is supposed to make current go through MOSFET2? \$\endgroup\$ Commented Aug 19, 2022 at 21:23
  • 1
    \$\begingroup\$ Apart from the polarization problems well outlined in the answers below, please note that the transistors need to be matched to some extent. Do not expect to pull a couple of FETs from your drawer and have this circuit work properly in the real world - they do sell matched FETs in one package, matched and all, for this specific purpose. \$\endgroup\$ Commented Aug 20, 2022 at 9:31
  • \$\begingroup\$ Milliampere current is too large for 0,09 / 0,18 um transistors. Current should be 2...3 orders less. Supply voltage should be couple of volts and resistors should be order tens kOhms. You should have manual about this technology somewhere. \$\endgroup\$
    – Vladimir
    Commented Aug 20, 2022 at 17:16
  • \$\begingroup\$ This circuit basically allows a certain maximum amount of current through. Something has to push more than the certain amount, and then the certain amount will actually go through. \$\endgroup\$ Commented Aug 22, 2022 at 23:58

4 Answers 4

13
\$\begingroup\$

I think you misunderstand MOSFETs; a MOSFET doesn't generate current; it controls current. MOSFET2's drain connection still has to go to a positive supply. You have MOSFET2 connected to ground via R1 and this just won't work at all.

\$\endgroup\$
2
  • \$\begingroup\$ so I have to give the same source voltage to both for having the same current? this is not a very useful situation. because I want the current to be the same no matter what the voltage on the right side is \$\endgroup\$
    – kintaro
    Commented Aug 19, 2022 at 21:44
  • 3
    \$\begingroup\$ @gibai cao:Not the same source. A source that is sufficiently more positive than the saturation voltage. It can be a different source, but must be positive \$\endgroup\$
    – user319836
    Commented Aug 19, 2022 at 21:56
5
\$\begingroup\$

To summarize the other answers and comments.

This is the correct circuit fundamentally. The voltage on M1 drain is the VGS required to draw 1A. M2 has the same VGS so will allow the same current from the supply through the load.

Notice:

  1. There are two supplies with a common negative. You can also use just one supply.
  2. The current source providing the reference current

The matching of the two currents depends on the matching of the FET characteristics.

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
2
\$\begingroup\$

If I understand you correctly, you are trying to establish current down the left (master) side, by controlling the drain voltage of MOSFET1, with the intention of reproducing the same quantity of current down the right (slave) side, via MOSFET2.

Master side

Imposing a voltage directly to the drain of MOSFET1 is not going to give you any control of current there, because that MOSFET must be permitted to decide its own drain voltage. Understand how that MOSFET behaves, with drain connected to gate:

schematic

simulate this circuit – Schematic created using CircuitLab

Focus on the voltage between the drain and source, \$V_{DS}\$, as measured by VM1 and VM2. Notice how they are very similar, and for some reason are about 2.5V. On the left, drain current \$I_D = 1.77mA\$, and on the right \$I_D = 17.3mA\$. Why is \$V_{DS} \approx 2.5V\$, and why doesn't it vary much, even for vastly different drain currents?

The connection of drain to gate ensures that gate potential is the same as drain potential, and this has interesting consequences. Imagine that for some reason drain potential rises, bringing the gate with it. In that case, the gate-to-source potential difference \$V_{GS}\$ also increases, and I'm sure you are aware that this is the parameter that decides how "turned on" the MOSFET is. When \$V_{GS}\$ is significantly less than some threshold, the MOSFET is off, significantly greater than that threshold the MOSFET is on, and there's an "active region" around that threshold where the MOSFET is neither on nor off, and the channel resistance (\$R_{DS}\$) varies with \$V_{GS}\$. The threshold I am talking about is of course \$V_{TH}\$ (or \$V_T\$ depending on which datasheet you're reading).

What's going on here is that any rise in drain potential will increase \$V_{GS}\$, causing the MOSFET to conduct better (\$R_{DS}\$ decreases), which acts to lower drain potential back to where it was! In other words, the MOSFET actively fights against a rise in drain voltage.

It also fights against a fall in potential at its drain. when that happens, \$V_{GS}\$ decreases and \$R_{DS}\$ increases, which causes the voltage at the drain to increase, restoring the original state of affairs.

A MOSFET with drain connected to gate like this maintains an equilibrium, where it sits in between on and off states, always on the cusp of saturation, always with \$V_{DS} \approx V_{TH}\$.

Now you are able to see how R1 can be used to control current down that path. In this example, the voltage across R1 is always about \$20V - V_{DS} \approx 17.5V\$, and we may use Ohm's law to find a resistance that will pass whatever current we choose. On the left, drain current is:

$$ \begin{aligned} I_D &\approx \frac{20 - V_{DS}}{R_1} \\ \\ &\approx \frac{17.5}{10k} \\ \\ &\approx 1.75mA \end{aligned} $$

On the right:

$$ \begin{aligned} I_D &\approx \frac{20 - V_{DS}}{R_2} \\ \\ &\approx \frac{17.5}{1k} \\ \\ &\approx 17.5mA \end{aligned} $$

You don't create a reference current by imposing your own voltage at the drain, you must let the drain become whatever voltage the MOSFET chooses. Here we used a resistor to leverage this MOSFET behaviour and pass some desired current.

Slave side

Now I'll create a similar circuit, but this time the drain won't be connected to the gate, and instead I'll explicitly apply a potential, that I choose, at the gate. The voltage I will choose will be the exact same "equilibrium" voltages present at the gates in the circuits above:

schematic

simulate this circuit

With no connection from drain to gate, the drain is free to wander up an down in potential. The value of drain resistors R3 and R4 is not important, they represent whatever load you want the mirrored current to flow through.

We rely on precise matching between MOSFETs on the master and slave side, both in characteristics and behaviour, and in temperature, to provide a very similar relationship between \$V_{GS}\$ and \$I_D\$, (which is called transconductance, \$g_m\$). When presented with the same potentials at the gate that the master-side MOSFETS had at theirs, the resulting drain currents \$I_D\$ here are a close match to the drain current on the master side.

Join them together

By joining the gates of the two sides together, the gate potentials on both master and slave sides are equal, and consequently \$I_{D\_SLAVE} \approx I_{D\_MASTER}\$. I've done that here, and replaced R1 with a current source to be able to plot a DC sweep:

schematic

simulate this circuit

enter image description here

\$\endgroup\$
1
\$\begingroup\$

You need the V on the right hand side to be greater than FET VDSAT (say >> 400 mV).

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.