Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Can LTSpice's .ac statement sweep secondary values?

  1. Apr 28, 2016 #1
    If you have a simple circuit with an AC voltage, you can do a frequency domain analysis with a statement like ".ac lin 500 10 10000" and it will run the gamut from 10Hz to 10000Hz, but is there a way to have a second variable also scale in tandem, say the value of a resistor?

    I'm aware that the step command exists, and it allows you to test multiple values, but that's one full sweep for each of those values, one at a time, and what I desperately need to is to have a second, or maybe even a third component value change along with the frequency.

    Can this be done?
  2. jcsd
  3. May 4, 2016 #2
    Thanks for the post! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post?
  4. May 6, 2016 #3


    User Avatar
    Science Advisor

    I asked on the LTspice yahoo group; how could I make a sweep frequency dependent resistor and received the following file from the Guru helmutsennewald.
    Attached is the file.
    Remove the .txt extension to make it back into a .asc file.

    Attached Files:

Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted