Author Topic: LTSpice Question about Zener Diodes  (Read 527 times)

0 Members and 1 Guest are viewing this topic.

Offline Puffie40Topic starter

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ca
  • Irregular Logic
LTSpice Question about Zener Diodes
« on: January 09, 2025, 12:45:53 am »
Hi,
I'm trying to simulate a 48VDC P-MOSFET reverse polarity protection circuit in LTSpice, and I am having some trouble getting the Zener Diode section down to the right voltage.
The transistor I am using is a IRF9540N using the PSPICE library from Vishay.  I am using a 48V AC source to simulate the negative polarity in the simulation.

the trouble I am having is getting the gate voltage down to around 20-18VDC as specified by the datasheet.  Maybe it is because I forgot how Zener diodes work, but I have to add a second resistor in front of the diode to get the voltage below 20 volts, effectively having a voltage divider before the zener diode will work.  Otherwise, I am getting 30-32 volts at the gate.

Am I missing something?  The UFZ20B in this circuit has a breakdown voltage of 19.8V, so I sort of expected that would be the resulting voltage on the anode side of the zener diode.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3426
  • Country: us
Re: LTSpice Question about Zener Diodes
« Reply #1 on: January 09, 2025, 05:04:37 am »
The resistor R3 will add to the gate-source voltage as any current which goes through the zener will also have to go through that resistor.

A quick simulation of just the zener shows that the zener current can reach in excess of 10mA which then adds another 6.8V to the gate-source voltage.

The use of R1 is sufficient to limit current through the zener, e.g.:

2478861-0

(from https://www.ti.com/lit/an/snva717/snva717.pdf )

« Last Edit: January 09, 2025, 05:06:59 am by ledtester »
 

Offline Konkedout

  • Frequent Contributor
  • **
  • Posts: 273
  • Country: us
Re: LTSpice Question about Zener Diodes
« Reply #2 on: January 09, 2025, 06:05:37 am »
It does not make sense to use a ~20V zener.  Generally there is no need to drive Vgs over 10V.  20V is the ABS MAX to avoid destroying the MOSFET.

I would choose a zener rated for 12, 13, 15, or 16V.  (with low zener current your actual Vgs might be a bit less than the rated zener voltage.  Also the zener in real hardware will have a voltage tolerance.)
 

Offline Puffie40Topic starter

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ca
  • Irregular Logic
Re: LTSpice Question about Zener Diodes
« Reply #3 on: January 09, 2025, 07:22:53 pm »
Here is another attempt with just the Zener diode.  I selected a 11v zener diode, calculated the current so I had a margin under the zener's datasheet current of 20mA,  but I still have a VGS of 36VDC.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 20629
  • Country: gb
  • 0999
Re: LTSpice Question about Zener Diodes
« Reply #4 on: January 09, 2025, 07:38:20 pm »
Here is another attempt with just the Zener diode.  I selected a 11v zener diode, calculated the current so I had a margin under the zener's datasheet current of 20mA,  but I still have a VGS of 36VDC.
No you don't. You're misinterpreting the simulation results. You have a gate voltage of 36V.

Hopefully you can figure out what VGS is. Note to others, please give the OP a chance at working it out for themself, before giving the answer.

EDIT: Here's a clue: you've plotted the gate voltage, relative to 0V, when you want the voltage relative to the source.
« Last Edit: January 09, 2025, 08:28:09 pm by Zero999 »
 

Offline Puffie40Topic starter

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ca
  • Irregular Logic
Re: LTSpice Question about Zener Diodes
« Reply #5 on: January 09, 2025, 08:36:58 pm »
So you are saying Vgs on the datasheet is referring to the voltage difference between the Gate and source?  If I move the ground reference over to the output net, I measure net VGS at 11 volts, which is the Zener voltage of the KDZV11B.  Which makes sense.

I guess that would be my fallacy in this simulation, as a lot of example transistor circuits show the source pin connected to ground.

so therefore, a voltage of 35volts in relation to ground is to be expected at net VGS then,  Is that correct?
« Last Edit: January 09, 2025, 08:47:11 pm by Puffie40 »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 20629
  • Country: gb
  • 0999
Re: LTSpice Question about Zener Diodes
« Reply #6 on: January 09, 2025, 08:58:28 pm »
So you are saying Vgs on the datasheet is referring to the voltage difference between the Gate and source?
Of course, the only voltages the data sheet can specify are relative to the gate, source and drain. The whole component can float at any voltage with respect to the circuit's 0V node.

Quote
If I move the ground reference over to the output net, I measure net VGS at 11 volts, which is the Zener voltage of the KDZV11B.  Which makes sense.
To be pedantic, the gate voltage is at -11V, with respect to the source.

Quote
I guess that would be my fallacy in this simulation, as a lot of example transistor circuits show the source pin connected to ground.
That can be changed. After running the simulation, right click a wire connected to the transistor's source and click "Mark Reference", a probe symbol will then appear on said wire, then any node you click on will plot the voltage relative to the source.

Quote
so therefore, a voltage of 35volts in relation to ground is to be expected at net VGS then,  Is that correct?
I'm not sure where you got that voltage from. If VS = 48V and VGS = -11V, then VG should be 37V.
« Last Edit: January 09, 2025, 09:01:11 pm by Zero999 »
 
The following users thanked this post: Puffie40

Offline Puffie40Topic starter

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ca
  • Irregular Logic
Re: LTSpice Question about Zener Diodes
« Reply #7 on: January 09, 2025, 09:08:44 pm »
I'm not sure where you got that voltage from. If VS = 48V and VGS = -11V, then VG should be 37V.
It might be in relation to the 10 amp load resistor I have in the circuit.  When I remove it, I do get closer to 37 volts.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 20629
  • Country: gb
  • 0999
Re: LTSpice Question about Zener Diodes
« Reply #8 on: January 09, 2025, 09:21:47 pm »
I'm not sure where you got that voltage from. If VS = 48V and VGS = -11V, then VG should be 37V.
It might be in relation to the 10 amp load resistor I have in the circuit.  When I remove it, I do get closer to 37 volts.
Then it's because you're dropping around 2V between the source and drain, which is to be expected given the on resistance is 0.2 Ohm. You need to use a MOSFET with a lower on resistance, or you might as well use a plain diode.
https://www.irf.com/product-info/datasheets/data/irf9540.pdf
 
The following users thanked this post: Puffie40


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf