|
|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Solid State Talk all about solid state amplification. |
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
|
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Account Disabled
Join Date: Jun 2004
Location: Animal farm
|
How does one overlap traces from different simulations, and different circuits in LTSpice????
Andy_C? |
|
|
|
|
#2 |
|
Account Disabled
Join Date: Jun 2004
Location: Animal farm
|
Hello?
![]() I need to run AC analysis on a circuit....modify values, and run AC analysis again to examine the effect of changes..... How can i overlap both traces from these runs on the same plot in LTSpice..? |
|
|
|
|
#3 |
|
Account Disabled
Join Date: Jun 2004
Location: Animal farm
|
Andy_C, specifically, do you have a solution to this problem ?
|
|
|
|
|
#4 |
|
diyAudio Member
Join Date: Nov 2003
Location: Västerås
|
This is not LTSpice but maybe the functionality is the same.
I use winspice and there is a command destroy_all that deletes previous simulation results if not then you can view them by naming them in incremental order. plot AC1.v(5) AC2.v(5). Plots v(5) from AC simulations 1 and 2.
__________________
Hjelm |
|
|
|
|
#5 | |
|
diyAudio Member
|
Quote:
Mike, I dont now specifically LTSpice, but in most sims there is an option where you can sweep a value of a component or a source and automatically plot curves for each value. That I think is what you need. Is there anything in the help file on sweeping values or related terms? Jan Didden
__________________
/Yes! Its out: Linear Audio Vol 5! I'm not an "accademic", just a plodder who loves a challenge - Ian Hegglun |
|
|
|
|
|
#6 |
|
Account Disabled
|
Hi,
From what I've read.. you can't? Perhaps you can export data to a spreadsheet and do it yourself but that's rather laborious indeed. Might I suggest you go to sci.electronics.cad newsgroup and address your question to Mike Engelardt who codes LtSpice, if people don't tell him what they don't like about it, or of its failings, then it can't ever improve. Let us know about any response you get please, it's a good question, it might even be enough to start a war there. Regards |
|
|
|
|
#7 | |
|
Account Disabled
Join Date: Jun 2004
Location: Animal farm
|
Quote:
No, i don't want to return a parameter sweep...... I need to run AC analysis, disconnect a component, re-connect it to another part of the circuit...and then run another AC analysis. The results (traces) before and after the change must appear on the same graph.....viz: overlapped. A sim. that does not posses a simple, transparent procedure for this is just so much junk as far as i am concerned.... |
|
|
|
|
|
#8 | |
|
diyAudio Member
|
Quote:
Be creative. Put in both parts, sweep them from the nominal value to 'infinity' effectively removing them from the circuit. Do it in opposite direction for the two parts. Jan Didden
__________________
/Yes! Its out: Linear Audio Vol 5! I'm not an "accademic", just a plodder who loves a challenge - Ian Hegglun |
|
|
|
|
|
#9 |
|
diyAudio Member
Join Date: Jun 2002
Location: Left Coast
|
I'm not sure about this but check it out. LT spice creates a .raw file when you run an analysis. Maybe this is only fro .TRAN. However, if it creates one when you run .AC then you couyld make your fisr run - rename the .eaw file then rub the second .AC and renamr that .raw file as well. Folowwing this you would have to take both files and uses them to plot the two curves in an external grapging program.
This sounds to me like a PITA and I'm not sure the .raw files that are generated are usable that way -- so this is just suggesing something to pursue. BETTER IDEA. There is a Yahoo LT Spice users group where you might get a better answer. http://groups.yahoo.com/group/LTspice/ |
|
|
|
|
#10 | |
|
diyAudio Member
Join Date: Sep 2004
Location: Yahoo, USA
|
Quote:
You can make the values of the components you wish to vary a table function of a stepped parameter. Use the ".step" command to step the controlling parameter (e.g. .step param n list 1 2 3...) to get several runs to appear in one plot. Then edit the value field of the target components to depend on this parameter (e.g. {tbl(n,1,1k,2,1p,3,1T} ). Be sure to enclose the parametrized expression in curly braces. Use extremely large values to "disconnect" the component and extremely small values to short it out. To display only a particular step in the plot window suffix the trace expression with the step selection operator "@n", where n is the desired step number. Most of this information is contained in the help file and is accessible via the help search function. |
|
|
|
| Thread Tools | Search this Thread |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LTSpice and subcircuits | millwood | Solid State | 12 | 27th April 2011 09:03 AM |
| Using LTSpice | gaetan8888 | Solid State | 6 | 19th July 2007 12:33 AM |
| UcD / LTSpice help | fokker | Class D | 94 | 1st October 2006 01:12 PM |
| RIAA in LTspice | Herrmann | Tubes / Valves | 2 | 17th September 2004 07:28 PM |
| Ltspice.... | mikeks | Solid State | 10 | 13th June 2004 08:10 PM |
| New To Site? | Need Help? |