BodePlot() Test Objective

The purpose of the BodePlot() test is to measure the control-loop stability. The input is configured as a DC Input Source, and the output is configured as a special Bode Plot Load - Resistive Load with a small-signal AC source and a Bode Plot probe. Since the test objective does not specify the input voltage nor the output current, you must provide these values in the Source and Load columns in the testplan.

Both a POP and an AC analysis are used in the BodePlot() test.

  • The POP simulation finds the large-signal steady-state operating point of the converter at the specified input and output values.
  • The AC simulation perturbs the circuit in a small-signal manner around the large signal steady-state operating point; calculates scalar values for the gain margin, phase margin, loop crossover frequency; and generates the Bode plot.

The POP and AC analysis directives are taken from the POP Analysis page and the AC Analysis page of the Full Power Assist DVM control symbol. The AC Analysis page is shown below.

The test report includes gain, phase, source, and load graphs as well as the following scalar values which are defined in the Measured Scalar Values section below:

  • Efficiency
  • Power({load_name})
  • Power({source_name})
  • gain_crossover_freq
  • gain_margin
  • min_phase
  • phase_crossover_freq
  • min_phase_freq
  • phase_margin
  • sw_freq

In this topic:

Testplan Syntax

The BodePlot() function has the following syntax with the arguments described in the table below:

BodePlot(REF)
BodePlot(REF, OPTIONAL_PARAMETER_STRING)
Argument Range Description
REF n/a The actual reference designator of the DVM Load or the generic syntax of OUTPUT:n where n is an integer indicating a position in the list ofManaged Sources and Loads
OPTIONAL_PARAMETER_STRING n/a Parameter string with a combination of one or more parameters:
*    If more than one parameter is specified, join the parameter key-value pairs with a space, for example:
parameter_name1=parameter_value1 parameter_name2=parameter_value2
The order of the parameter key-value pairs does not matter.

Source and Load Subcircuit Configuration

The BodePlot() test objective sets the source and load subcircuits to the following:

Source Load
DC Input Source Bode Plot Load - Resistive Load

Loads other than the output under test are set to the Resistive Load. All other sources are set to the DC Input Source.

Measured Scalar Values

The BodePlot() test objective measures the following scalar values,where {load_name} and {src_name} are replaced by the actual load name source name:

Scalar Name Description
Efficiency The overall efficiency of the converter taken from the POP simulation
Power({load_name) The power of each input source taken from the POP simulation
Power({load_name}) The power of each output load taken from the POP simulation
gain_crossover_freq The frequency where the gain of the control loop is 0 dB
gain_margin The gain margin when the phase change in the control loop is 180 degrees.
min_phase The minimum value for the phase during the AC analysis
phase_crossover_freq The frequency where the phase change in the control loop is 180 degrees.
min_phase_freq The frequency where the phase is at its minimum value
phase_margin The phase when the gain of the control loop is 0 dB
sw_freq A number which represents the converter switching frequency. This scalar is generated from a fixed probe with curve label DVM Frequency. For more information, see Measuring the Switching Frequency.
AVG(V{load_name}) AVG(I{load_name})
MIN(V{load_name}) MIN(I{load_name})
MAX(V{load_name}) MAX(I{load_name})
RMS(V{load_name}) RMS(I{load_name})
PK2PK(V{load_name}) PK2PK(I{load_name})
The Average, Minimum, Maximum, RMS and Peak-to-Peak values for each load voltage and current taken over the entire simulation time window.
AVG(V{src_name}) AVG(I{src_name})
MIN(V{src_name}) MIN(I{src_name})
MAX(V{src_name}) MAX(I{src_name})
RMS(V{src_name}) RMS(I{src_name})
PK2PK(V{src_name}) PK2PK(I{src_name})
The Average, Minimum, Maximum, RMS and Peak-to-Peak values for each source voltage and current taken over the entire simulation time window.

Measured Specification Values

In the following table, {load_name} is the name assigned to each load. The default value is LOAD. DVM forces each load name to be unique so that the scalar and specification values for each load are unique.

Specification Name PASS/FAIL Criteria
Min_V{load_name} The minimum value of the output voltage during the simulation time is greater that the minimum specification value.
Max_V{load_name} The maximum value of the output during the simulation time is less than the maximum specification value.
min_gain_margin The minimum value of the gain margin during the AC analysis is greater than minimum specification value.
min_phase_margin The minimum value of the phase margin during the AC analysis is greater than minimum specification value.

Testplan Example

The BodePlot() test objective is used in several built-in testplans. Shown below is a test from the DC/DC 1 input/1 output testplan.  The source and load are defined in the Full Power Assist DVM control symbol. The test configures the source to use the Nominal symbolic value from the DC Input page and configures the load based on the Light symbolic value from the Output page.

*?@ Analysis Objective Source Load Label
Ac BodePlot(OUTPUT:1) SOURCE(INPUT:1, Nominal) LOAD(OUTPUT:1, Light) Ac Analysis|Bode Plot|Vin Nominal|Light Load

Optional Parameter String

The following BodePlot() test objective uses the OPTIONAL_PARAMETER_STRING argument to instruct DVM to not to set the analysis directive when processing the BodePlot() objective entry. You can set an analysis directive with an Analysis entry. The analysis entry should specify a POP and AC analysis. The OVERWRITE_ANALYSIS parameter allows you to explicitly specify the analysis directives.

BodePlot(OUTPUT:1, OVERWRITE_ANALYSIS=0)

Test Report

You can view the complete test report in a new browser window here: BodePlot Test Report. Below is an interactive link to the same test report.