Author Topic: Using a P-FET as an "Ideal Diode" - Will this work?  (Read 6342 times)

0 Members and 1 Guest are viewing this topic.

Offline timbTopic starter

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Using a P-FET as an "Ideal Diode" - Will this work?
« on: January 05, 2017, 10:58:27 pm »
Hey guys, so I'm working on a project that's powered by three small, low voltage indoor solar cells. I'm using one of LT's lovely little energy harvesting converters plus a couple of rechargeable coin cells.

Now, I've got that part of the design done, however I want to be able to multiplex the solar cells with USB power. The easy way to do this would be to simply use two diodes, one from the USB port and one from the solar cells (and indeed this is given as an example in the datasheet). However, the particular solar cells I'm using are only 800mV open circuit voltage (and I'm only using three of them) so every mV matters and I'd really like to avoid the voltage drop of even a Schottky diode.

So, I was thinking of using the following arrangement:





I've found some P-channel MOSFETs with a VgsTh of 1V. Basically, when 5V is coming in from the USB port, it would pull the gate up to at least 2.2V, turning it off. When the USB power is disconnected a 1M resistor connected to the gate will pull it down, turning it on and allowing current to flow.

I've simulated this arrangement in LTspice (with this particular MOSFET) and it seems to work just fine. Am I missing anything or should this work just as I intend it to?

Thanks!
« Last Edit: January 05, 2017, 11:07:41 pm by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Online wraper

  • Supporter
  • ****
  • Posts: 17062
  • Country: lv
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #1 on: January 05, 2017, 11:04:08 pm »
Don't forget about parasitic diode in the MOSFET.
 

Offline The Soulman

  • Frequent Contributor
  • **
  • Posts: 958
  • Country: nl
  • The sky is the limit!
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #2 on: January 05, 2017, 11:14:39 pm »
Why not use a depletion mode fet?
 

Offline timbTopic starter

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #3 on: January 05, 2017, 11:14:45 pm »
Don't forget about parasitic diode in the MOSFET.

Right... I guess I could swap it so the drain is connected to the solar cells? It seems to work and at these current levels I can't imagine it causing any damage...
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline timbTopic starter

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #4 on: January 05, 2017, 11:22:04 pm »
Why not use a depletion mode fet?

I can't seem to find one with a really low Vgs(Th) that's not huge. This will only be pushing uA up to 10mA or so. Something in a SOT-23 or SC70 package (or smaller) would be ideal due to size constraints. (I can find quite a few enhancement mode fets that meet this criteria, which is what I used in my LTspice simulations.)
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Online Benta

  • Super Contributor
  • ***
  • Posts: 5969
  • Country: de
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #5 on: January 05, 2017, 11:36:07 pm »
Depletion-mode FETs are rare, and mostly available for RF applications.

May I suggest a super-primitive idea?

A reed relay with changeover contacts (DT, double throw). Power the coil from the USB port and the NO contact will let USB power flow. If USB power disappears, it'll fall back to NC and transfer power from the solar cells.
This would be the lowest loss solution, I think.

 

Offline langwadt

  • Super Contributor
  • ***
  • Posts: 4496
  • Country: dk
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #6 on: January 05, 2017, 11:51:36 pm »
a really silly idea; a cmos inverter, use Vcc as output, the gate output connected to the solarcells, gate input input connected to Vusb
 

Offline mmagin

  • Frequent Contributor
  • **
  • Posts: 610
  • Country: us
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #7 on: January 06, 2017, 12:12:25 am »
Why not use a depletion mode fet?

I can't seem to find one with a really low Vgs(Th) that's not huge. This will only be pushing uA up to 10mA or so. Something in a SOT-23 or SC70 package (or smaller) would be ideal due to size constraints. (I can find quite a few enhancement mode fets that meet this criteria, which is what I used in my LTspice simulations.)

Maybe look at some of the parts Advanced Linear Devices makes?
 

Offline timbTopic starter

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #8 on: January 06, 2017, 11:31:10 pm »
a really silly idea; a cmos inverter, use Vcc as output, the gate output connected to the solarcells, gate input input connected to Vusb

That's actually pretty creative! Quiescent current or leakage might be an issue, but I'll breadboard it tonight and see!

Depletion-mode FETs are rare, and mostly available for RF applications.

May I suggest a super-primitive idea?

A reed relay with changeover contacts (DT, double throw). Power the coil from the USB port and the NO contact will let USB power flow. If USB power disappears, it'll fall back to NC and transfer power from the solar cells.
This would be the lowest loss solution, I think.

Hmm, not a bad idea, actually. Something like this:






However, there are a couple of issues I can see:

I don't have a lot of space available... I think I could find one small enough in the L and W dimensions,  but I might have a hard time finding one that's under 2mm in height! (Though I could get away with 3mm on the bottom of the board).

The solar side of the relay would only be putting out tens to hundreds of microamps (possibly going to ~5mA if someone takes it into the sun). A lot of relays really need quite a bit more current than that to keep their contacts clean.

Though I suppose that really only applies to power relays; a signal relay might not be as vulnerable because a lot of small, low current signal relays have contact resistances in the tens of ohms, which wouldn't really drop the solar side that much (I don't care about the USB side as it's going down to 3.3V anyway).

Still, not a bad idea and worth checking what's available on Digi-Key!

---

So, I did a test last night with a random PFET I had sitting around (a TO-220 IRF part). I hooked it up backwards (with the source towards the higher voltage) and it seemed to work exactly as it did in my simulations.

Barring the availability of a tiny relay or the use of a CMOS inverter, I think I might try this method out on the actual board and see how it works.

Here's my LTspice data using the actual FET I planned on using:





« Last Edit: January 07, 2017, 01:05:47 am by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Online NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9109
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #9 on: January 07, 2017, 03:55:59 am »
What about a small linear regulator to keep the supercap charged?
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16774
  • Country: us
  • DavidH
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #10 on: January 07, 2017, 06:40:54 am »
A low Vgs p-channel MOSFET will work fine.

Using an old CMOS inverter in reverse as described is a 20+ year old trick for doing the same thing.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16308
  • Country: za
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #11 on: January 07, 2017, 10:02:13 am »
How bad would feeding the solar cells with 5V through a resistor and a blocking diode to the 5V USB supply be? If the converter will work off the 5V rail, and the solar cells will simply act as a large area forward biased diode in any case, and as yours are likely totalling around 4v forward drop in any case just use them as a regulator.
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14368
  • Country: de
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #12 on: January 07, 2017, 10:38:21 am »
the solar cells will not like a much higher voltage from extern - they are just diodes after all. Also the super cap might not like more than 2.5 V.  Depending in the load, the leakage current through the solar cells when dark could be an issue - though with a boost converter, the load current could be much higher anyway.

For low current one could consider a JFET, if you need a depletion mode FET.
Normally the p-mosfet should work OK if put in the right way. One might be able to have the FET at the negative side and than use a N-channel - more choice of low threshold types there.
 

Offline vealmike

  • Regular Contributor
  • *
  • Posts: 192
  • Country: gb
 
The following users thanked this post: BrianHG

Offline timbTopic starter

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #14 on: January 09, 2017, 12:33:36 pm »
http://www.ti.com/product/LM74610-Q1/datasheet

That's a pretty cool part, however there's some potential issues in my application:

Minimum drain current is 1ma (to maintain enough of a voltage drop across the MOSFET's body diode); whereas in my case I might only be pushing a few hundred uA.

It also requires the voltage source to be able to sink current, albeit briefly, like a battery can.

Still, that's a damn clever design!
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline exmadscientist

  • Frequent Contributor
  • **
  • Posts: 359
  • Country: us
  • Technically A Professional
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #15 on: January 10, 2017, 06:34:12 am »
If you can tolerate the losses (11uA quiescent current and 20mV drop across the external FET), the LTC4412 ideal diode controller is a robust and simple solution. It's marginal at 2.4V though, so perhaps another member of the family such as the LTC4419 would be a better choice. Have a look, there's a few ideal diode choices available from LTC and one or two more from TI. (I don't recall other vendors offering any last time I went looking.)
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #16 on: January 12, 2017, 01:15:02 pm »
Two thoughts, both a bit 'off-the-cuff' as I have to shoot out and don't have time to think things through fully.

Firstly, what about JFETs? You're only switching a few mA, well within the capabilities of small signal devices (and by implication SOT-23 packages or similar), depletion mode is the norm and they tend to have lower VGS(OFF)MAX values.

Secondly, have you thought about turning your thinking 'upside down' and switching the supply negative rail? That puts you looking for N-channel devices and gives you a much, much bigger selection to choose from.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline timbTopic starter

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Using a P-FET as an "Ideal Diode" - Will this work?
« Reply #17 on: January 13, 2017, 12:47:39 am »
Two thoughts, both a bit 'off-the-cuff' as I have to shoot out and don't have time to think things through fully.

Firstly, what about JFETs? You're only switching a few mA, well within the capabilities of small signal devices (and by implication SOT-23 packages or similar), depletion mode is the norm and they tend to have lower VGS(OFF)MAX values.

Secondly, have you thought about turning your thinking 'upside down' and switching the supply negative rail? That puts you looking for N-channel devices and gives you a much, much bigger selection to choose from.

Most of the JFETs I found with low threshold voltages were rated for 2mA or less (and they had insanely high RdsOn). The ones that could do 10 or 20mA had threshold voltages of 5V or higher. This is just from a cursory search on DigiKey, I'll do some more in depth research later tonight. :)

Switching the ground rail of the solar cells isn't a bad idea, actually! Though, I would need to use a NOT gate or another FET to switch it based on the status of the USB rail... (Though that wouldn't be a problem, TI has single inverter gates that have Iq's of 500nA.

The only downside to doing it that way is I'd need to run a trace from the USB input all the way across the board, which is doable but is going to be a major pain (this is packed pretty tightly).

Still, if this PFET thing doesn't work out it's a very good alternative. Nice outside the box thinking!

If you can tolerate the losses (11uA quiescent current and 20mV drop across the external FET), the LTC4412 ideal diode controller is a robust and simple solution. It's marginal at 2.4V though, so perhaps another member of the family such as the LTC4419 would be a better choice. Have a look, there's a few ideal diode choices available from LTC and one or two more from TI. (I don't recall other vendors offering any last time I went looking.)


Yeah, those were the first things I checked. I'd rather not have the 10uA IQ if I can help it. There was another reason I ruled them out, can't remember what it was though...
« Last Edit: January 13, 2017, 12:50:36 am by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf