Author Topic: MOSFET as a high side switch?  (Read 14531 times)

0 Members and 1 Guest are viewing this topic.

Offline kenw232Topic starter

  • Contributor
  • Posts: 39
MOSFET as a high side switch?
« on: April 01, 2014, 09:12:12 pm »
I am trying to use an nchannel mosfet to light a higher voltage lamp.   I set it up like this:



This works, I guess this is a low side switch because the load sees the 120V constantly even when off.  I would now like to convert this to a high side switch.   So when the mosfet is "off" there is no 120V seen by the lamp/load until it's switched on again.  I put the load after the source but it just shorts out or otherwise does not work.   Something like this I believe.



My mosfet is this IXTX20N150:
http://ca.mouser.com/Search/ProductDetail.aspx?R=IXTX20N150virtualkey65120000virtualkey747-IXTX20N150

Does anyone think they can help with this at all?  Should I be using a P-Channel MOSFET instead?  I don't know what to do.


« Last Edit: April 01, 2014, 09:16:11 pm by kenw232 »
 

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MOSFET as a high side switch?
« Reply #1 on: April 01, 2014, 09:42:30 pm »
What does your "Drive Signal" look like?  The way you have it drawn, if you were able to turn on the mosfet, the low side of your drive signal would be shorted to 120V, which means the high side of your drive signal would have to be even higher than that.

Using an Nch mosfet for high side switching means you need to be able to drive the gate to an even higher voltage than what you're switching.  If you don't have a 125+VDC signal available to turn on that mosfet, then you should switch to a Pch.

With a Pch, you would pull the gate high with a resistor to turn it off, and your drive signal would pull the gate low to turn it on.  If your drive can't handle a pin floating at 120v while the gate is off, then you could use a small Nch mosfet to isolate it.  The Pch has the gate pulled high and also connected to the Nch drain.  The Nch gate is pulled low and is also connected to the drive.  If the drive is low, the Nch is off, the Pch gate gets pulled high, and is off.  If the drive is high, the Nch is on, the Pch gate gets pulled low, and the Pch turns on.
 

Offline gregallenwarner

  • Regular Contributor
  • *
  • Posts: 144
  • Country: us
Re: MOSFET as a high side switch?
« Reply #2 on: April 01, 2014, 09:43:09 pm »
You need a P-channel for a high-side switch.

This is my go-to resource for using MOSFET's as power switches:
http://www.onsemi.com/pub_link/Collateral/AND9093-D.PDF
 

Offline kenw232Topic starter

  • Contributor
  • Posts: 39
Re: MOSFET as a high side switch?
« Reply #3 on: April 01, 2014, 10:34:26 pm »
My signal from my waveform generator switching the mosfet on and off looks like this (Channel 2 in blue).  I guess I need a P-Channel Mosfet now.. thanks.

 

Offline kenw232Topic starter

  • Contributor
  • Posts: 39
Re: MOSFET as a high side switch?
« Reply #4 on: April 01, 2014, 10:39:43 pm »
I was eventually hoping to try to switch 1300V with a p-channel mosfet, it appears they don't make anything that high for p-channel at all.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22434
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: MOSFET as a high side switch?
« Reply #5 on: April 01, 2014, 10:45:40 pm »
You also need a high-side referenced drive voltage.  Which, if one side of your supply is grounded, means you need a +1200/1205V drive signal.  Have fun with that...

As I recall from the other forum, you're working with rather high pulse currents too.  Is this still the case?  MOSFETs aren't a good way to do that, for a number of reasons.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline max666

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: at
Re: MOSFET as a high side switch?
« Reply #6 on: April 01, 2014, 10:48:57 pm »
A P-channel type is certainly the way to go if you need a high side switch, but if you're hell-bent on using a N-channel MOSFET you have to have a floating drive signal that has no problems with being referenced to your 120VDC.
Keeping in mind, that with a N-channel MOSFET on the high side, your drive signal circuit gets pulled to 120VDC, once you switch on the MOSFET.

EDIT: Ohhh i see why you get the short now!!! Be careful what you are doing! I think you're shorting out because you are using the signal from a function gen (which is ground referenced!!!) to drive your MOSFET. This is very dangerous and could potentially kill your function gen! :o
« Last Edit: April 01, 2014, 10:51:30 pm by max666 »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: MOSFET as a high side switch?
« Reply #7 on: April 01, 2014, 10:52:27 pm »
Quote
Something like this I believe.

You can bootstrap the high side to get it to turn on a n-ch switch. That's how most high-side drivers do.
================================
https://dannyelectronics.wordpress.com/
 

Offline kenw232Topic starter

  • Contributor
  • Posts: 39
Re: MOSFET as a high side switch?
« Reply #8 on: April 01, 2014, 11:11:41 pm »
EDIT: Ohhh i see why you get the short now!!! Be careful what you are doing! I think you're shorting out because you are using the signal from a function gen (which is ground referenced!!!) to drive your MOSFET. This is very dangerous and could potentially kill your function gen! :o

The waveform gen's negative is connected with the negative of the load.  I tried to do this but it didn't work either.  Keeps shorting out to constant current mode.



 

Offline max666

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: at
Re: MOSFET as a high side switch?
« Reply #9 on: April 02, 2014, 02:07:07 am »
This configuration:

has the significant disadvantage that your drive signal has to be >65V for on and <60V for off (very impractical, especially if you want to do it at 1205V/1200V). Furthermore if you switch off that MOSFET, that means R3 pulls the gate to ground, and your load is still retaining some charge (maybe some capacitance), then you could actually get a Gate-Source voltage way below the allowed -40V. Remember the gate of your MOSFET can only take +/-40V V_GSM (or +/-30V V_GSS continuous). So maybe check if your MOSFET is still working, especially since you mentioned you pulled some shorts on him already.  ;)

This configuration:

would be the one i would be using if i had to use a N-type, but as i said, you can't use a function generator that is ground referenced to drive the MOSFET, if your circuit is also ground referenced. However you can use this configuration, if you have a galvanically isolated ~5V signal. Or a galvanically isolated ~5V source that you then switch with an optocoupler to drive the gate of the MOSFET.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22434
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: MOSFET as a high side switch?
« Reply #10 on: April 02, 2014, 03:01:25 am »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Re: MOSFET as a high side switch?
« Reply #11 on: April 02, 2014, 03:28:11 pm »
I am trying to use an nchannel mosfet to light a higher voltage lamp.   I set it up like this:



This works, I guess this is a low side switch because the load sees the 120V constantly even when off.  I would now like to convert this to a high side switch.   So when the mosfet is "off" there is no 120V seen by the lamp/load until it's switched on again.  I put the load after the source but it just shorts out or otherwise does not work.   Something like this I believe.



My mosfet is this IXTX20N150:
http://ca.mouser.com/Search/ProductDetail.aspx?R=IXTX20N150virtualkey65120000virtualkey747-IXTX20N150

Does anyone think they can help with this at all?  Should I be using a P-Channel MOSFET instead?  I don't know what to do.

dude, seriously we care about your life and then about your equipment.

 please used a isolated drive like a optocoupled drive.

safety first.!   

 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8164
  • Country: de
  • A qualified hobbyist ;)
Re: MOSFET as a high side switch?
« Reply #12 on: April 02, 2014, 03:57:32 pm »
I was eventually hoping to try to switch 1300V with a p-channel mosfet, it appears they don't make anything that high for p-channel at all.

You could use an IGBT instead (supports higher voltage).
 

Offline TrickyNekro

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: gr
  • Drinking Frappé on the way to Isomnia!
    • Youtube channel, electronics and more ;-)
Re: MOSFET as a high side switch?
« Reply #13 on: April 02, 2014, 04:16:49 pm »
You can "easily" use a N-channel MOSFET at the high side.
Your only problem is that you probably (sorry, definitely  :P ) use an isolated power supply to drive the MOSFET gate.

The "ground" or more precisely the virtual ground of this isolated supply has to be the source pin of your MOSFET.
Then the only thing you need is an isolated driver, look at Analog Devices they have some if I remember correctly.
Since you already provide with an isolated power supply, you only need to look for low side drivers with isolation of course.

Something like this should do it: http://www.analog.com/en/interface-isolation/isolated-gate-drivers/adum3221/products/product.html
Just use only one channel or use both connected together, it should work well (Don´t forget the resistor between gate driver and gate!!!! ).

If not, you just need an isolator and then a gate driver. (But I think the one above fits pretty well)

But what you want is by far totally possible, with the only hard part being the isolated power supply but there are
ready made modules for that so you shouldn´t have a problem :-)

Best Regards, Lefteris
Greece
If you are an engineer and you are not tired...
You are doing it wrong!
 

Offline kenw232Topic starter

  • Contributor
  • Posts: 39
Re: MOSFET as a high side switch?
« Reply #14 on: April 03, 2014, 01:08:10 am »
Then the only thing you need is an isolated driver, look at Analog Devices they have some if I remember correctly.

Thanks for the info, its getting a little beyond my expertise though.  Would I still be able to control the isolated driver with a waveform generator?  I like the idea of controlling the duty cycle of the HV power supply by simply adjusting the waveform generator's duty cycle.
 

Offline kenw232Topic starter

  • Contributor
  • Posts: 39
Re: MOSFET as a high side switch?
« Reply #15 on: April 03, 2014, 01:25:02 am »
You could use an IGBT instead (supports higher voltage).

Right, and this would be it I imagine.    So the load (M), because its after the Emitter, will not see the 120V DC source voltage when in the off state and therefore the IGBT will provide isolation for the load when off correct?  And I still only need a 6V or so signal from my waveform generator to control it...

« Last Edit: April 03, 2014, 01:42:27 am by kenw232 »
 

Offline DerekG

  • Frequent Contributor
  • **
  • Posts: 883
  • Country: nf
Re: MOSFET as a high side switch?
« Reply #16 on: April 03, 2014, 01:27:45 am »
I am trying to use an nchannel mosfet to light a higher voltage lamp.

N-channel FETs are generally always less expensive than P-channel as the die area (for the same drain-source resistance) is typically half the size (or less). This is to do with the doping of the silicon during manufacture - set by rules of chemistry & physics.

N-channel fets are generally always easier to drive (ADDED: for low side driving) than N-channel (ADDED: for high side driving).

With N-channel FETs, you simply need to lift the gate above the source voltage (ADDED: for low side driving).

For N-channel FETs (ADDED: when used as a high side drive) you will need a high-side-driver to further lift the voltage above the load voltage.

Many high-side-drivers are available, but they do cost money & sometimes require further componentry around them.

Moral of the story: N-channel FETs cost less & are generally easier to drive (ADDED: for low side drives).

ADDED & edited to make my points somewhat clearer.
« Last Edit: April 03, 2014, 06:39:09 am by DerekG »
I also sat between Elvis & Bigfoot on the UFO.
 
The following users thanked this post: Coceth

Offline suicidaleggroll

  • Super Contributor
  • ***
  • Posts: 1453
  • Country: us
Re: MOSFET as a high side switch?
« Reply #17 on: April 03, 2014, 02:30:37 am »
N-channel fets are generally always easier to drive than P-channel as you just need to lift the gate voltage above the source voltage (which is typically 0 volts).
Easier for low side switching, sure, but they're certainly not easier for high side switching.

With P-channel FETs, you still need to lift the gate above the source voltage, but now the source voltage is not going to be 0 volts (it will be higher). If the source voltage is higher than your power supply, you will need a high-side-driver to further lift the voltage.
That's not a P-channel FET, that's an N-channel FET being used as a high side switch.  A P-channel FET is turned on by driving the gate BELOW the source, not above.  Since the source is generally connected to your power supply, that means you just bring the gate down to turn it on.  Easy peasy.

Moral of the story: N-channel FETs cost less & are generally easier to drive.
Depends on what you're trying to do with it.
 

Offline max666

  • Frequent Contributor
  • **
  • Posts: 367
  • Country: at
Re: MOSFET as a high side switch?
« Reply #18 on: April 03, 2014, 07:47:32 am »
In the interests of background, full disclosure, and ethics;
http://www.dutchforce.com/~eforum/index.php?showtopic=42250 present thread
http://www.dutchforce.com/~eforum/index.php?showtopic=42232 high voltage
http://www.dutchforce.com/~eforum/index.php?showtopic=41282 dangerous circuits

Tim

This is hilarious!
Kenw definitely likes to live dangerous.
 

Offline TrickyNekro

  • Frequent Contributor
  • **
  • Posts: 265
  • Country: gr
  • Drinking Frappé on the way to Isomnia!
    • Youtube channel, electronics and more ;-)
Re: MOSFET as a high side switch?
« Reply #19 on: April 03, 2014, 11:14:34 am »
Then the only thing you need is an isolated driver, look at Analog Devices they have some if I remember correctly.

Thanks for the info, its getting a little beyond my expertise though.  Would I still be able to control the isolated driver with a waveform generator?  I like the idea of controlling the duty cycle of the HV power supply by simply adjusting the waveform generator's duty cycle.

hmm... eehh... yes and no.... The best would be to use a schmitt trigger before the IC with a 0 - 5V output, not just a wave generator.
Simply for protecting the isolator, in case that you accidentally feed another voltage at the input.

Also, keep in mind that then you would only be able to feed a square wave in the gate (no matter the generator output the gate of the mosfet will
get always a square wave with that config). But yeah, you can use with wave gen. only with some limited functionality.  ::)

There are lineal isolators, so that you can feed whatever you want in the mosfet, but I think is way far from what you want and is even more complicated :-P
So you can stay with my suggestion when you want no problem.  ;)


Btw, as all the others mentioned so far. Try to keep safe. Don´t blow yourself up. Anything more that 50V hurts! I speak with personal experience  O0

Best Regards, Lefteris
Greece
If you are an engineer and you are not tired...
You are doing it wrong!
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8164
  • Country: de
  • A qualified hobbyist ;)
Re: MOSFET as a high side switch?
« Reply #20 on: April 03, 2014, 11:35:30 am »
Right, and this would be it I imagine.    So the load (M), because its after the Emitter, will not see the 120V DC source voltage when in the off state and therefore the IGBT will provide isolation for the load when off correct?  And I still only need a 6V or so signal from my waveform generator to control it...

Yes, but V_GE is the voltage between Gate and Emitter and has an upper limit of about 20V for most IGBTs. If you're going to use a n-ch IGBT for high side switching you'll need a proper driver. Please search for "IGBT high side switching".

Quote


That's a n-channel depletion mode IGBT without freewheeling diode. It's self-conducting.
 

Offline qno

  • Frequent Contributor
  • **
  • Posts: 422
  • Country: nl
Re: MOSFET as a high side switch?
« Reply #21 on: April 03, 2014, 12:07:34 pm »
I think it is better to switch the input of the HV transformer.
Why spend money I don't have on things I don't need to impress people I don't like?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf