2
\$\begingroup\$

Normally, if I want to use a MOSFET to supply power to some device and switch it on/off with a logic signal I'd use this very typical MOSFET as a switch configuration:

simulation

enter image description here

When the switch closes, the MOSFET allows current flow, thing turns on. Nice. Here's another example with a lamp:

enter image description here

I've come across a design like this:

simulation

enter image description here

Here, when the switch closes, current gets pulled to ground, turning the thing (R_L) off. This is pretty much like an I2C data bus where we have a pull-up resistor and a transistor that pulls the bus low, only the goal here is power output, not logic.

I'm interested in why someone would want to switch off a device in this way, and also any drawbacks/flaws. Is this just a bad design in the first place?

One obvious drawback you can also see in the simulations is that R_L gets less voltage in the second configuration - just 8V. Assuming 8V is enough for R_L, what other problems could we have here?

\$\endgroup\$

4 Answers 4

4
\$\begingroup\$

the goal is to switch off the device as quickly as possible

Depends on the load:

  • Resistive load: no difference
  • Semiconductor load: no difference
  • Capacitve load: the shunt circuit (second circuit) is faster, but you need a small resistor is series to limit the current
  • Inductive load: the series circuit (fist circuit) is faster, but you need a high-voltage TVS diode across the transistor to absorb the high-voltage kick-back
\$\endgroup\$
6
  • \$\begingroup\$ If the load is a circuit board consisting of a variety of components, how would we determine whether this load is resistive or capacitive? \$\endgroup\$
    – BobaJFET
    Commented Dec 19, 2022 at 15:03
  • \$\begingroup\$ 1. Tells what the load is. 2. We tell you whether it's capacitive, inductive, resistive, a combination, or other. \$\endgroup\$ Commented Dec 19, 2022 at 15:57
  • \$\begingroup\$ What I can tell you is that the load has a capacitor at it's Vin pin. Perhaps the second configuration will discharge this capacitor faster? \$\endgroup\$
    – BobaJFET
    Commented Dec 19, 2022 at 16:04
  • \$\begingroup\$ "What I can tell you ..." is not enough for me to answer your question, sorry. \$\endgroup\$ Commented Dec 19, 2022 at 22:22
  • 1
    \$\begingroup\$ A large DC-DC converter. (Like, 100+ W) \$\endgroup\$ Commented Dec 19, 2022 at 23:03
3
\$\begingroup\$

The second example is inefficient:

  • When on, the load only sees part of the 12 V.
  • When off, current is wasted from the 12 V source

The only time the second circuit makes sense is at low power levels (for example, < 100 mW). In that case, the advantage is that you can control a ground-referenced load with a ground-referenced signal using a single transistor. The alternative (a "high-side switch") is more efficient but it uses two transistors.

\$\endgroup\$
4
  • \$\begingroup\$ The other advantages are faster switching (as Andy's answer says) and inverted logic; with the MOSFET turned on, the device is turned off and vice versa, without the need for an additional transistor. \$\endgroup\$
    – Hearth
    Commented Dec 17, 2022 at 18:01
  • \$\begingroup\$ What constitutes 'low power levels' is subjective and depends on the application. So it weakens your otherwise good answer to put an actual value (100 mW) on it. \$\endgroup\$
    – TonyM
    Commented Dec 17, 2022 at 19:36
  • \$\begingroup\$ @TonyM If you feel so strongly about it, feel free to edit out that part. I don't mind. \$\endgroup\$ Commented Dec 17, 2022 at 22:01
  • \$\begingroup\$ Oh, I don't feel anything about it, let alone strongly, am very chilled... :-) It's merely a technical observation, I'll leave it with you. \$\endgroup\$
    – TonyM
    Commented Dec 17, 2022 at 22:09
2
\$\begingroup\$

You can always put a switch in series or parallel to a load, whichever makes more sense and does not cause a short circuit.

In your latter case, when switch FET is off, load gets current via the series resistor, and when switch FET is off, it simply short circuits the load so it shunts all the current through the switch.

Depending on if that is a good or bad way depends on what you want to achieve it and how. The real difference is that there will always be current flowing and the circuit consumes more power when switch is on and load is off.

In some cases it may be an advantage to do it like that.

\$\endgroup\$
2
  • \$\begingroup\$ To add more context, lets say the goal is to switch off the device as quickly as possible. \$\endgroup\$
    – BobaJFET
    Commented Dec 17, 2022 at 15:06
  • 1
    \$\begingroup\$ @BobaJFET It might allow fast turn off but it really depends on what the device is, if it can even be turned off any faster. We don't know what the device is. It might have a diode and capacitor which prevents it from turning it off externally, and it might still work for a week. \$\endgroup\$
    – Justme
    Commented Dec 17, 2022 at 15:12
2
\$\begingroup\$

If you want to deactivate the load very, very quickly then circuit #2 is what you need to go for. If you don't care about deactivation speed then circuit #1 is best because it wastes no power. Another disadvantage of circuit #2 is that the voltage appearing across the load is load resistance dependent. In other words, regulation may be an issue and you might end-up going for a high side switch and a low-side shunt.

\$\endgroup\$
1
  • \$\begingroup\$ Not really. It depends on the load. Circuit #1 turns off an inductive load faster that circuit #2. \$\endgroup\$ Commented Dec 17, 2022 at 15:21

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