Why is there a resistor in a MOSFET-based inverter?

In summary, a resistor in a MOSFET-based inverter is used to limit the inrush current during switching events, protect the MOSFET from voltage spikes, and improve the overall stability and performance of the inverter circuit. It helps ensure smooth operation by providing a discharge path for parasitic capacitances, thereby enhancing the reliability and efficiency of the inverter.
  • #1
zenterix
708
84
Homework Statement
I will show below the S circuit model of the MOSFET inverter. It contains a resistor in it. I'd like to know why that resistor is needed.
Relevant Equations
It seems to me that the inverter would work the same without the resistor.
Here is a MOSFET-based inverter combinational gate

1700042060893.png


which we represent with the symbol

1700042132088.png

The MOSFET in the first diagram is itself an abstraction for another circuit (the S model of the MOSFET), which is as follows

1700042246241.png


The MOSFET is a nonlinear circuit but the two sub-circuits above are linear and represent the ON and OFF states of the MOSFET.

Now, if we put this S model into the first diagram above, then we get the "S circuit model of the MOSFET inverter"

1700042349158.png

My question is about the presence of the resistor.

The book I am reading says

When ##v_{IN}## is high, the MOSFET is in the ON state (assuming that the high voltage level is above the threshold ##V_T##), thereby pulling the output voltage to a low value. In contrast, when the input is low, the MOSFET is off, and the output is raised to a high value by ##R_L##. Here we see the purpose of the load resistor ##R_L## - it provides a logical 1 output when the MOSFET is off. Futhermore, ##R_L## is chosen to be large so that the current is limited when the MOSFET is on.

In the case of the MOSFET being OFF, wouldn't ##v_{OUT}## be ##V_S##?

Is this not higher than when the resistor is present?
 
Physics news on Phys.org
  • #2
Without the resistor, Vout would be shorted to Vs and would never change, so it would not function as an inverter.
 
  • #3
zenterix said:
Homework Statement: I will show below the S circuit model of the MOSFET inverter. It contains a resistor in it. I'd like to know why that resistor is needed.
Relevant Equations: It seems to me that the inverter would work the same without the resistor.
Without the pullup resistor, what would pull ##v_{OUT}## high when the pulldown transistor is off?
 
  • #4
berkeman said:
Without the pullup resistor, what would pull ##v_{OUT}## high when the pulldown transistor is off?
When the pulldown transistor is off (ie, ##v_{IN}=\text{Low}##, then without the resistor we would have ##v_{OUT}=V_S##.

Now, when the pulldown transistor is on and we have a short circuit, then without the resistor (ie, just the wire without any resistance), then there would be enormous current flow and now that I think of it I am not even sure what the voltage is at any point in the short circuit. I mean one end of the short is on the positive end of a power source and the other is at the negative (ground) end of the power source.

If we have a resistor, then it means that ##v_{OUT}## is at the same voltage as ground.
 
  • #5
phyzguy said:
Without the resistor, Vout would be shorted to Vs and would never change, so it would not function as an inverter.
What is ##v_{OUT}## when the transistor is ON?
 
  • #6
zenterix said:
When the pulldown transistor is off (ie, ##v_{IN}=\text{Low}##, then without the resistor we would have ##v_{OUT}=V_S##.
Why? How is the output pulled to the supply voltage if there is no pullup resistor? By magic?

Now, when the pulldown transistor is on and we have a short circuit, then without the resistor (ie, just the wire without any resistance), then there would be enormous current flow
What? Why? The next logic stage is high input impedance, so where is this enormous current coming from?

[EDIT -- Oh, I see now, you are saying that if you replace the resistor with just a wire, that will have high current when the transistor is on. That is correct, but nobody would do that anyway.]

Is this your first time studying logic circuits?
 
Last edited:
  • #7
zenterix said:
What is ##v_{OUT}## when the transistor is ON?
If you just have a wire instead of the resistor, the impedance of the wire is much, much less than the impedance of the ON transistor. So even when the transistor is ON, Vout would still be Vs. As you said, there would be a large current flowing through the ON transistor, but even this large current wouldn't pull Vout significantly lower than Vs.
 
  • #8
berkeman said:
Why? How is the output pulled to the supply voltage if there is no pullup resistor? By magic?What? Why? The next logic stage is high input impedance, so where is this enormous current coming from?

[EDIT -- Oh, I see now, you are saying that if you replace the resistor with just a wire, that will have high current when the transistor is on. That is correct, but nobody would do that anyway.]

Is this your first time studying logic circuits?
It is my first time studying electric circuits and combinational gates, yes.

I can see what "pulldown" means in "pulldown transistor": when the transistor is in the ON state it "pulls" the voltage ##v_{OUT}## down to the same voltage as ground by creating a short circuit between the ##v_{OUT}## node and the ground node.

I can't understand what it means for the resistor to "pull up" the voltage ##v_{OUT}##. When the transistor is in the OFF state, we have an open circuit (infinite resistance), and so as far as I can see, ##v_{OUT}## is separated from ground by this infinite resistance.

It seems to me that the main function of the resistor is actually in the transistor ON state to make sure there isn't a huge current flowing from drain to source. In this case, in purely semantic terms, I can see that when we go to the OFF state since the voltage ##v_{OUT}## goes up then it somehow "pulled up". I just can't see why we say that this is due to the resistor.
 
  • #9
zenterix said:
I can't understand what it means for the resistor to "pull up" the voltage ##v_{OUT}##. When the transistor is in the OFF state, we have an open circuit (infinite resistance), and so as far as I can see, ##v_{OUT}## is separated from ground by this infinite resistance.
Yes, so the pullup resistor can pull the output voltage to V_s.

It seems to me that the main function of the resistor is actually in the transistor ON state to make sure there isn't a huge current flowing from drain to source.
Nope.

The alternate logic gate circuit uses an active pullup transistor. Can you say what the function of each of the transistors in this simple TTL inverter is? :smile:
1700101552075.png
[/QUOTE]
 
  • #10
Well, the Vout must control something, otherwise it would not be needed. Usually that something is the input to another logic circuit (gate, transistor).

To make things easier to think about, assume that Vout is connected to a 3V flashlight bulb, with the other end of the light bulb connected to Ground.

If Vs is a rather common 5V supply, when the transistor is Off, the flashlight bulb will turn On (from the current thru RL).

When the transistor is On, Vout is connected to Ground and there is no voltage to light the bulb.

Of course the equivalent thing happens if Vout is connected to Vin of another transistor.

I can see that when we go to the OFF state since the voltage goes up then it somehow "pulled up". I just can't see why we say that this is due to the resistor.

You already indicated (correctly) that if the resistor is replaced by a wire, the transistor would be destroyed by the large current when On. If the Drain is not connected to anything, then there can not be any voltage on Vout when the transistor is Off

So a compromise is found by using a resistor, RL, that allows a smaller Drain current to flow when the transistor is On.

Hope this helps!

Cheers,
Tom
 
Last edited:

FAQ: Why is there a resistor in a MOSFET-based inverter?

Why is there a resistor in the gate of a MOSFET-based inverter?

The resistor in the gate of a MOSFET-based inverter helps to control the gate charging and discharging times. Without this resistor, the gate capacitance could charge or discharge too quickly, leading to high inrush currents that can damage the MOSFET or cause noise and oscillations in the circuit.

How does the resistor affect the switching speed of the MOSFET?

The resistor in the gate affects the switching speed by controlling the rate at which the gate capacitance charges and discharges. A higher resistance value will slow down the switching speed, while a lower resistance value will speed it up. This trade-off is important for balancing performance and reliability.

Can the resistor value be too high or too low?

Yes, the resistor value can be too high or too low. If the resistor value is too high, the MOSFET may switch too slowly, leading to increased power dissipation and reduced efficiency. If the resistor value is too low, it may not adequately limit the inrush current, potentially damaging the MOSFET or causing instability in the circuit.

Why is a resistor needed when using a MOSFET with an inverter, but not always with other configurations?

A resistor is particularly important in inverter circuits because the rapid switching of the MOSFET can lead to significant gate charging and discharging currents. In other configurations, the switching speeds and current levels might be lower, reducing the need for a gate resistor. However, it is still often used to improve stability and reliability.

What are the typical values for the gate resistor in a MOSFET-based inverter?

The typical values for the gate resistor in a MOSFET-based inverter can range from a few ohms to several kilo-ohms, depending on the specific requirements of the circuit. Common values are between 10 ohms and 1 kilo-ohm. The exact value is chosen based on the desired balance between switching speed and current limiting.

Back
Top