Author Topic: Parameter sweep in Mixed Sim  (Read 2446 times)

0 Members and 1 Guest are viewing this topic.

Offline BudTopic starter

  • Super Contributor
  • ***
  • Posts: 7096
  • Country: ca
Parameter sweep in Mixed Sim
« on: April 17, 2017, 02:38:04 am »
I am trying to sweep a voltage source's AC phase but the parameter does not show up in Mixed Sim Parameter Sweep Setup dialog, only DC parameter seems to be available for VSIN voltage sources. How do I set up the simulation to sweep V5 phase ?
Facebook-free life and Rigol-free shack.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22386
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Parameter sweep in Mixed Sim
« Reply #1 on: April 17, 2017, 03:14:15 am »
Use a SPICE .param statement:

https://www.seventransistorlabs.com/Images/AltiumSweepPhase1.png

https://www.seventransistorlabs.com/Images/AltiumSweepPhase2.png

(Set the parameter in the simulation configuration dialog.)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline BudTopic starter

  • Super Contributor
  • ***
  • Posts: 7096
  • Country: ca
Re: Parameter sweep in Mixed Sim
« Reply #2 on: April 17, 2017, 05:01:51 am »
Sorry cant figure out from your reply/screenshots how to do it. Is an Altium tutorial on that ?
Facebook-free life and Rigol-free shack.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 22386
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Parameter sweep in Mixed Sim
« Reply #3 on: April 17, 2017, 06:14:45 am »
These are the dialog steps.

https://www.seventransistorlabs.com/Images/AltiumSweepPhase3.png
https://www.seventransistorlabs.com/Images/AltiumSweepPhase4.png

It's just SPICE: whatever expression is in the curly braces, is evaluated at compile time.  You can use expressions and parameters instead of constants, and then you can sweep the parameter.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline BudTopic starter

  • Super Contributor
  • ***
  • Posts: 7096
  • Country: ca
Re: Parameter sweep in Mixed Sim
« Reply #4 on: April 18, 2017, 02:22:41 am »
I see. So you create a Global parameter, select it in the Parameters Sweep and also assign it (in curly brackets) to the component you want to sweep (in my case a voltage source).
Did that and it worked, thanks for the tip!
Facebook-free life and Rigol-free shack.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf