2
\$\begingroup\$

I understand P Channel MOSFET operation and was reading this question which shows this circuit:

enter image description here

but I wasn't sure whether this can be used to load share with an MCU such as Arduino or ESP32 which have a System Load of 5V/3.3V respectively. With a solar panel outputting 6V, the MOSFET will never be on as Vgs will always be positive (Vg - Vs = 1V or 2.7V).

Is the PMOS only used for higher power system loads, e.g. above the 6V output of a solar panel? If so, how best to load share an MCU. e.g. power the MCU (and independently charge the battery) from the solar panel when the sun is out otherwise power the MCU from the battery?

I assume there will be a voltage regulator at the system end to drop Vbat/Vin to the required MCU voltage.

EDIT after thinking about it, as Vin tends to 0V, i.e the sun goes in, Vgs tends towards Vgs(th) (-tve) and eventually switches the MOSFET on, which allows Vbat to power the MCU via MOSFET D/S. As Vin rises, the MOSFET will turn off, removing Vbat from the MCU and powering it from whatever Vin is when Vgs(th) is no longer met. That suggests the MCU will be receiving power from Vbat and Vin at the same time until Vgs(th) turns the MOSFET off.

EDIT after reading this question, using a logic level MOSFET (NDP6020P) with Vgs(th) = -0.2V, that would mean at some point Vbat(3.7V) + Vin(3.1V) = 6.8V max going to an ESP32 (until Vin turns MOSFET off). The ESP32 requires 3.3V so an LDO voltage regulator would be required on the MOSFET Source side but when the MOSFET turns off (and Vbat goes away), Vin is < 3.3V so the ESP32 will turn off until Vin rises to 3.3V.

\$\endgroup\$
1
  • \$\begingroup\$ Vin and Vbatt both share a common ground / -ve. SO they can NEVER add. \$\endgroup\$
    – Russell McMahon
    Commented Mar 28, 2021 at 18:31

1 Answer 1

0
\$\begingroup\$

with Vgs(th) = -0.2V, that would mean at some point Vbat(3.7V) + Vin(3.1V) = 6.8V max going to an ESP32 (until Vin turns MOSFET off)

Two things here: -

  • Parallel voltage sources are not in series hence the net voltage does not add. There is only one winner when diodes are involved...
  • Each voltage source (battery and Vin) are coupled to the system load via diodes. That's D1 for Vin and the internal MOSFET bulk diode for Vbat hence only one supply serves up current to the load (apart from leakage current and when both voltage sources are close to identical).

Is the PMOS only used for higher power system loads, e.g. above the 6V output of a solar panel?

No, it will work at lower voltages provided the \$V_{GS(TH)}\$ of the PMOS is low enough to adequately turn it on when Vin drops below Vbat. But I think you kind of knew that from EDIT #2 in your question.

I assume there will be a voltage regulator at the system end to drop Vbat/Vin to the required MCU voltage.

There needn't be if the MCU can operate over a reasonable range of supply voltages.

\$\endgroup\$
3
  • 1
    \$\begingroup\$ thanks for that, helpful clarification for the diodes and parallel voltages. That's cleared up a lot thanks. \$\endgroup\$
    – codebrane
    Commented Mar 28, 2021 at 17:27
  • \$\begingroup\$ two different voltages in parallel could lead to trouble but now I understand the orientation of the MOSFET to use the body diode to stop Vin charging VBat. \$\endgroup\$
    – codebrane
    Commented Mar 28, 2021 at 18:16
  • \$\begingroup\$ There is never going to be much trouble due to the diodes. \$\endgroup\$
    – Andy aka
    Commented Mar 28, 2021 at 18:31

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.