How do you do a Bode plot comparison with LTSpice?

  • #1
107
1
I'm trying to use LTSpice in order to fine tune LC circuits, but a road block I've hit is that when I run the simulation and generate a bode plot, the previous plot is overwritten, so I can't visually compare the effects of the L C changes. Some graphing programs have a function that let's you save a plot line, so that subsequent plottings can be visually seen against a previous plot. Does LTSpice have this functionality?

Thanks a lot!
 
  • #2
I'm trying to use LTSpice in order to fine tune LC circuits, but a road block I've hit is that when I run the simulation and generate a bode plot, the previous plot is overwritten, so I can't visually compare the effects of the L C changes. Some graphing programs have a function that let's you save a plot line, so that subsequent plottings can be visually seen against a previous plot. Does LTSpice have this functionality?

Thanks a lot!
What are you varying between your runs? Can you use the Stepping function to step component values to get all the curves on the same plot?
 
  • #3
What are you varying between your runs? Can you use the Stepping function to step component values to get all the curves on the same plot?

I change the capacitance, inductance and resistances to see how it changes the Q and the resonant peak. All that is going well, it's just that short of making screen shots, I'm not sure how to compare differences from test run to test run.

I'll looking into stepping and see if that would do it.
 
  • #4
Here's one solution I found on the 'net in case anyone comes across this in a google search:

"I have figured out an asinine way to work around this. Put all schematics into one large schematic with all different/renamed nodes. Now all graphs can be superimposed."
 
  • #5
Put all schematics into one large schematic with all different/renamed nodes. Now all graphs can be superimposed."
LOL. That might work for small circuits, but not for more complex ones. Unless you're running your SPICE program on a supercomputer... :smile:
 
  • #6
Yeah, works in my case. Pretty hacky though.
 
  • #7
Were you able to find the Stepping options? I use Micro-Cap, not LTSpice, so I don't know what your options are for stepping...
 
  • #8
Also, if you are trying to optimize something, look into using the Monte Carlo features of your Spice program...
 
  • #9
Were you able to find the Stepping options? I use Micro-Cap, not LTSpice, so I don't know what your options are for stepping...

Yes! In some ways that's even more convenient than what I had in mind, although it's not quite as good at "quick and dirty" comparisons, since it's more like a macro and not like a simple "screen grab". Thanks for tipping me off to that feature.
 
  • #10
There are also ways to run multiple simulations and change parameters with each sim.
 

Suggested for: How do you do a Bode plot comparison with LTSpice?

Replies
13
Views
1K
Replies
1
Views
1K
Replies
14
Views
282
Replies
11
Views
1K
Replies
1
Views
975
Replies
6
Views
1K
Replies
22
Views
4K
Back
Top