🟥 High-side P-Channel Load Switch on discrete components

Intro

Image

Now there are many integrated solutions (chips), that specially designed for switching powering, but today we'll take a look at the simple basic solution, that can commutate power with using only discrete components – several MOSFET's and resistors.

Structural Block Diagram

Image

Typically load switches switch positive rail, so we will do the same.

Electrical Schematic

Image

*R2 could be changed to shortcut

The main switching element is P-CH MOSFET, when

  • Vg = Vs CLOSED
  • Vg = 0V  OPEN

Additional N-CH MOSFET give a chance to invert control logic and work with push-pull GPIO control with VIN higher than MCU VCC (e.g. 5V).

Simulations

The following simulations performed in MicroCap 12 ((Analysis -> Dynamic DC...) Alt+4 shortcut). LEDs with current-limiting resistors only for work demonstration purposes.

MCU_GPIO = 0V (LOW) → DISABLED

When control signal is LOW (about 0V) the output voltage is near zero (load not powered).

Image

MCU_GPIO= 3.3V (HIGH) → ENABLED

When control signal is HIGH (about Vgs threshold of X2 (for logic controlled about 1V min)) the output voltage is near zero (load not powered).

Image

Real Prototype

Image

*X1 transistor is physically upside down

* Pull-up resistors 4.7k for other purposes, don't pay attention to them

Image

Tests

Image

Input Voltage

VIN = 5V

Image

❎ Switch disabled

MCU_GPIO = 0V

Image

VOUT = 0V (20.77 mV)

Image

✅ Switch enabled

MCU_GPIO = 3.3V

Image

VOUT = 5V

Image

And here is how it works in real time:

Image

Results

MCU_GPIO, VVIN, VVOUT, V
0V5V0.02V
3.3V5V5V

Conclusions

Image
  1. This simple schematic typically used for control power (switch) of low-voltage (typically 3.3V-5V) small power loads (typically up to 3A)
  2. Using standard widespread SOT-23 MOSFETs and 0603/0805 resistors make a schematic far enough small for DIY devices
  3. Discrete components give a chance to not use ICs in short supply
  4. In comparison to the integrated power switch solution this schematic doesn't have:
  • current limitation;
  • output discharging;
  • reverse current blocking;
  • soft start (this feature can be added by placing cap between X1 gate and source).
117
No comments yet. Be the first to add a comment!
Cookies?