Multisim and Ultiboard

cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter Sweep AC mangnitude

Highlighted

I have a circuit as attached. I'm trying to do a sweep on the magnitude of my AC source (V1) at 100kHz frequency. The goal is to plot the transfer function V_out/V_source in magnitude and seeing it become nonlinear as I increase the magnitude of the AC source

AC_magnitude_Parameter Sweep.PNG

 

 

I went to analysis and simulation >> Parameter Sweep and set up the circuit as below: 

 

parameterSetting.PNG

outputSetting.PNG

When I click run, it says "There are no valid output variables". Any help is appreciated!

Download All
0 Kudos
Message 1 of 5
(2,245 Views)
Highlighted

I am not sure if it is related with this, but when you open the A_Power on the value tab, there is values that needs to be set in order to make the AC anaylisis, you can try changing those.

0 Kudos
Message 2 of 5
(2,198 Views)
Highlighted

Attach voltage probes at input and output of your circuit. Under "parameter sweep" analysis, In "output" tab add expression "V(PR2)/V(PR1)".

0 Kudos
Message 3 of 5
(2,171 Views)
Highlighted

I'm having a similar issue. Is there any chance that this can get resolved please?

0 Kudos
Message 4 of 5
(631 Views)
Highlighted

Hello ejwyers,

 

The problem itself comes from the settings of the "Parameter Sweep" analysis type.

In the Multisim documentation you can see that you cannot sweep the peak voltage of an AC source using device/model parameters.

To be able to do that you should select "Circuit Parameters" option and define them for your project.

Below you can see sources of the info:

 

http://zone.ni.com/reference/en-XX/help/375482B-01/multisim/parametersweepanalysis/#wp1143602

 

http://zone.ni.com/reference/en-XX/help/375482B-01/multisim/cctparameters/#wp829102

 

So you need define parameters, like when programming.

When you define a parameter, for example if you want to sweep amplitude of the AC source you create parameter "Amplitude" and you put (write the world Amplitude) that parameter in the "Voltage(PK)" instead of voltage value, after it will appear in the settings of analysis.

 

Here you can find how to create "Circuit Parameters".

 

Here how it should look like:

 

2020-05-22_023505.png

 

2020-05-22_023555.png

 

Additionally I attached my experimental "Test" project you saw in the screenshots.

__________________________________________
The best way to thank, is to give KUDOS
0 Kudos
Message 5 of 5
(327 Views)