Author Topic: LTSpice Help  (Read 1860 times)

0 Members and 1 Guest are viewing this topic.

Offline fourierpwnTopic starter

  • Regular Contributor
  • *
  • Posts: 77
LTSpice Help
« on: March 03, 2017, 06:08:29 am »
Hi,

I am a little confused with some basics in LTSpice.

I was looking at this photo of some MOSFETs and I don't understand what setting the value of VSD and VSG (5 and 0 respectively) does when you're sweeping them in the .dc command anyway.



i.e., for the ID_VSD curve, does setting VSD to 5V even do anything? The source is being swept in the .dc command from 0 to 5V in 1mV steps.  :scared:

Confirmation on this would be most appreciated  :)
 

Offline fourierpwnTopic starter

  • Regular Contributor
  • *
  • Posts: 77
Re: LTSpice Help
« Reply #1 on: March 03, 2017, 06:13:44 am »
I probably should have done this before I made the thread, but I have investigated this myself and it appears that there is no difference between setting the VSD source as it is overwritten by the .dc command.

I still don't see the point in bothering to set the source to a specific value though...
 

Offline Ed.Kloonk

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: LTSpice Help
« Reply #2 on: March 03, 2017, 06:39:29 am »
I'm no spice expert.

But I see no node connected to GND.
iratus parum formica
 

Offline danadak

  • Super Contributor
  • ***
  • Posts: 1875
  • Country: us
  • Reactor Operator SSN-583, Retired EE
Re: LTSpice Help
« Reply #3 on: March 03, 2017, 11:03:14 am »
There are 3 grounds, at top of schematic.


Regards, Dana.
Love Cypress PSOC, ATTiny, Bit Slice, OpAmps, Oscilloscopes, and Analog Gurus like Pease, Miller, Widlar, Dobkin, obsessed with being an engineer
 

Offline Ed.Kloonk

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: LTSpice Help
« Reply #4 on: March 03, 2017, 11:10:23 am »
There are 3 grounds, at top of schematic.


Regards, Dana.

Ah. Right. Gotcha.

 :-+
iratus parum formica
 

Offline Jay_Diddy_B

  • Super Contributor
  • ***
  • Posts: 2764
  • Country: ca
Re: LTSpice Help
« Reply #5 on: March 03, 2017, 11:21:46 am »
Hi,

I am a little confused with some basics in LTSpice.

I was looking at this photo of some MOSFETs and I don't understand what setting the value of VSD and VSG (5 and 0 respectively) does when you're sweeping them in the .dc command anyway.



i.e., for the ID_VSD curve, does setting VSD to 5V even do anything? The source is being swept in the .dc command from 0 to 5V in 1mV steps.  :scared:

Confirmation on this would be most appreciated  :)

In the first two models you have VSD is not over written by the .dc command. Only the VSG source is swept. VSD is kept constant at 5V. This sets the operating conditions for the MOSFET.

In the third model VSD is swept from 0-5V in 1mV steps, that is why you have 0-5V on the horizontal axis.
This is sweep of VSD is repeated 6 times with VSG being stepped from 0V to 5V in 1V steps. This is why there are multiple curves.

Does this help?

Regards,

Jay_Diddy_B
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 13076
Re: LTSpice Help
« Reply #6 on: March 03, 2017, 11:51:24 am »
You set all the sources to the default values you want then override one or more sources with a .dc sweep or a .step command.   This makes it easy to keep settings constant between multiple analyses.  e.g. you'd put all three .dc commands on the same schematic.

LTSPICE only allows you to have a single analysis command active.  If multiple analysis commands are present, LTSPICE lets you pick one from a list when you run the analysis, and auto-comments all the other ones by replacing the . with a ;
Once that's happened, to change to a different one simply uncomment it by replacing the ; with . then when you run again its back on the pick-list.

N.B. the d() function can be used on a plottable expression in the waveform viewer to plot the derivative of that expression. e.g. to plot gm directly.
« Last Edit: March 03, 2017, 11:54:07 am by Ian.M »
 

Offline fourierpwnTopic starter

  • Regular Contributor
  • *
  • Posts: 77
Re: LTSpice Help
« Reply #7 on: March 03, 2017, 11:42:06 pm »
Thanks for the help everyone.

Re: the d() function. Yep, I understood this. Quite a neat feature!  :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf