1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Step command for two components

Discussion in 'Circuit Simulation & PCB Design' started by Mikebits, Jul 19, 2017.

  1. Mikebits

    Mikebits Well-Known Member

    Joined:
    May 24, 2008
    Messages:
    6,217
    Likes:
    175
    Location:
    San Diego, Ca
    I got a question. Can you use the step command to alter two component values in LTspice? For 1 component, you put {X} for the component value. So if you wanted to step two part values how would the simulator know which part was what if two parts had {X} value and the spice directive is .step param X

    ???
    Thanks
     
  2. ci139

    ci139 Active Member

    Joined:
    Apr 12, 2012
    Messages:
    470
    Likes:
    37
  3. MikeMl

    MikeMl Well-Known Member Most Helpful Member

    Joined:
    Mar 17, 2009
    Messages:
    11,139
    Likes:
    566
    Location:
    AZ 86334
    If two different parts are controlled by param X, both vary as X does:

    47.png

    No reason why either or both part(s) couldn't be an expression which is a function of X, like {10*X} or {X*X} or {sin(X)}
     
    • Like Like x 1

Share This Page