Things you should know about LTSpice - Page 2 - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

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
Reply
 
Thread Tools Search this Thread
Old 30th August 2009, 03:32 AM   #11
andy_c is offline andy_c  United States
Banned
 
Join Date: Apr 2003
Quote:
Originally Posted by deandob View Post
Is there any way to adjust a component value (eg. potentiometer) while the simulation is running and see it automatically update the sim results?
That's what .step does. There's no way to "tune" a value in real time though, at least not with LTspice.
  Reply With Quote
Old 30th August 2009, 03:35 AM   #12
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
There is no real-time capabilities in LTSpice AFAIK.

- keantoken

Last edited by keantoken; 30th August 2009 at 03:46 AM.
  Reply With Quote
Old 30th August 2009, 03:54 AM   #13
deandob is offline deandob  Australia
diyAudio Member
 
Join Date: Oct 2002
Location: Brisbane, Australia
Ah - you can use .step to change the value over a timeline I gather. Not as useful as dynamic but still helpful.

Is there an alternative sim package (freeware) that does real time run updates?
  Reply With Quote
Old 30th August 2009, 04:00 AM   #14
andy_c is offline andy_c  United States
Banned
 
Join Date: Apr 2003
Quote:
Originally Posted by deandob View Post
Ah - you can use .step to change the value over a timeline I gather. Not as useful as dynamic but still helpful.

Is there an alternative sim package (freeware) that does real time run updates?
Not sure what you mean by "over a timeline"? If you use .step for a single parameter with N values, N simulations will be performed, and N curves will be shown on the output graph. Tuning is only useful IMO when the time duration of a simulation is very short, like AC analysis. Transient can take a while, which makes tuning clumsy. I worked as a developer on a simulation tool that had tuning, so I'm familiar with its uses. I'm not aware of any freeware that has it.
  Reply With Quote
Old 30th August 2009, 04:12 AM   #15
deandob is offline deandob  Australia
diyAudio Member
 
Join Date: Oct 2002
Location: Brisbane, Australia
Might be easier if I explain what I'm doing. I have an opamp constant current source that is varied by the voltage on its non-inverting input. I want to model the current through the load output by varying a potentiometer on the non-inverting input. I started out varying the value of the resistive elements of the pot and plotting on a paper graph the load current but was thinking there must be an easier way to do this with such a basic circuit / simulation.

The step does work as it gives me various curves, except its difficult to work out what curves (flat DC current lines actually) relate to what values.

Sorry for the noob questions, I guess I got to spend more time playing, reading and learning....
  Reply With Quote
Old 30th August 2009, 04:17 AM   #16
andy_c is offline andy_c  United States
Banned
 
Join Date: Apr 2003
Try "select steps" from the right-click menu on the graphs. I believe there's a better way of doing this, but I'll have to do some searching in the Yahoo group.
  Reply With Quote
Old 30th August 2009, 04:31 AM   #17
andy_c is offline andy_c  United States
Banned
 
Join Date: Apr 2003
Okay, here is the trick from the Yahoo LTspice group (thanks to the moderator, Helmut Sennewald). He's talking about the up/down arrow keys below.

Quote:
Make the waveform window active.

Click on the label you are interested. It's the text near the top
of the waveform window, e.g. V(out).

Now you have a cursor attached to the curve.

You can step up/down with the cursor keys.

Move the cursor near the cross hair. When you see the "1" then
click the right mouse button. A small status window appear.

Cursor Step Information
Cursor 1: Val=2 (Run: 3/5)


There is also a selection in the Plot settings menu.
Plot Settings -> Select Steps

Best regards,
Helmut
  Reply With Quote
Old 30th August 2009, 04:41 AM   #18
deandob is offline deandob  Australia
diyAudio Member
 
Join Date: Oct 2002
Location: Brisbane, Australia
Thanks Andy for the headstart - a number of your tips over the last few posts have helped a lot.

Now back to the simulations & circuit tweaking....
  Reply With Quote
Old 30th August 2009, 03:55 PM   #19
andy_c is offline andy_c  United States
Banned
 
Join Date: Apr 2003
You're welcome! I'm glad to have found that old post of Helmut again, as I'd completely forgotten that useful trick.
  Reply With Quote
Old 30th August 2009, 10:01 PM   #20
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
I will add these things to the first post when I can, but I am not yet able to edit my first post.

I will ask a mod.

- keantoken
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LTSpice and subcircuits millwood Solid State 13 17th August 2014 11:49 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
Things important to be said..helped by Mr. John Mateus to express things. destroyer X Solid State 22 31st July 2006 07:21 PM
Ltspice.... mikeks Solid State 10 13th June 2004 08:10 PM


New To Site? Need Help?

All times are GMT. The time now is 06:29 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2