Author Topic: High side power switch with P-channel MOSFET  (Read 324 times)

0 Members and 1 Guest are viewing this topic.

Offline Wilson__Topic starter

  • Regular Contributor
  • *
  • Posts: 117
  • Country: gb
High side power switch with P-channel MOSFET
« on: July 11, 2024, 01:27:16 pm »
Is this circuit correct? 

It switches on Li cell 4.2V to resistor voltage divider that feeds ADC to read cell voltage  state of charge. 

Switch off after ADC measurement to avoid constant draining of Li cell.

Many thanks
 

Offline ajb

  • Super Contributor
  • ***
  • Posts: 2700
  • Country: us
Re: High side power switch with P-channel MOSFET
« Reply #1 on: July 11, 2024, 02:30:31 pm »
Yeah, that looks fine.  I wouldn't really call it a "power" switch, since even though it's switching a power supply connection it isn't really powering a load in the usual sense.  It's just a signal switch in this case.  But if it were a higher power application, R2 requires some consideration -- at 100k it will result in a fairly slow turn-off of M2, which could be problematic.  For switching a voltage divider, though, it's perfectly fine.
 
The following users thanked this post: Wilson__

Offline Peabody

  • Super Contributor
  • ***
  • Posts: 2106
  • Country: us
Re: High side power switch with P-channel MOSFET
« Reply #2 on: July 11, 2024, 03:01:59 pm »
Excuse the hand drawing, but below is a somewhat simpler circuit.  It works even if D4 is at a lower voltage than the battery.  It basically replaces the NMOS with a capacitor.
 

Offline Wilson__Topic starter

  • Regular Contributor
  • *
  • Posts: 117
  • Country: gb
Re: High side power switch with P-channel MOSFET
« Reply #3 on: July 11, 2024, 11:00:52 pm »
Many thanks.

Yes, the resistor determines speed of (dis)charge of gate.  We did not read that part of data sheet before, any headup on how these are specified?

Many thanks
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf