EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
PCB/EDA/CAD
»
Altium Designer
»
Parameter sweep in Mixed Sim
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: Parameter sweep in Mixed Sim (Read 2447 times)
0 Members and 1 Guest are viewing this topic.
Bud
Super Contributor
Posts: 7096
Country:
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 ?
Logged
Facebook-free life and Rigol-free shack.
T3sl4co1l
Super Contributor
Posts: 22386
Country:
Expert, Analog Electronics, PCB Layout, EMC
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
Logged
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life? Send me a message!
Bud
Super Contributor
Posts: 7096
Country:
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 ?
Logged
Facebook-free life and Rigol-free shack.
T3sl4co1l
Super Contributor
Posts: 22386
Country:
Expert, Analog Electronics, PCB Layout, EMC
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
Logged
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life? Send me a message!
Bud
Super Contributor
Posts: 7096
Country:
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!
Logged
Facebook-free life and Rigol-free shack.
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
PCB/EDA/CAD
»
Altium Designer
»
Parameter sweep in Mixed Sim
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee