Switched Voltage-Controlled Voltage Source

The Switched Voltage-Controlled Voltage Source (VCVS) models the passing of an analog voltage from input to output with unity gain. The block uses an ON/OFF control where:

  • VOUT = VIN (the input) when the control signal is in the ON state.
  • VOUT = RTN (ground) when the control signal is in the OFF state.

The control signal is referenced to the RTN pin.

The Logic parameter sets the control state logic. The two choices are:

  • POS - A CNTL voltage greater than Threshold + 1/2 Hysteresis turns on the VCVS and the output voltage equals the input voltage.
  • NEG - A CNTL voltage less than Threshold - 1/2 Hysteresis turns on the VCVS and the output voltage equals the input voltage.

Most users implement this function with two simple switches connected in a totem-pole configuration where VIN is the input voltage and VOUT is the output voltage.

Because the SIMPLIS simple switches S1 and S2 have finite ON and OFF resistances, the totem-control configuration will always have numeric inaccuracies. These inaccuracies are caused by the inherent resistive divider network formed by the switch resistances. More importantly, the totem-pole switch implementation can slow down the simulation if a small capacitive load is applied to the output. This is due to the R-C time constant formed by the switch on resistance and the capacitive load.

In contrast to the totem-pole switch circuit, this block was designed to eliminate the numeric inaccuracies caused by the voltage divider, and doesn't suffer from slow simulations with small capacitive loads. You should always use this block instead of a totem-pole switch configuration since this block is speed-optimized for SIMPLIS simulations and does not exhibit the numeric inaccuracy inherent to the totem-pole switch configuration.

In this topic:

Model Name: Switched Voltage-Controlled Voltage Source
Simulator: This device is compatible with the SIMPLIS simulator.
Parts Selector Menu Location:
  • Analog Functions > Switched Voltage-Controlled Voltage Source
  • Controlled Sources > Switched Voltage-Controlled Voltage Source
Symbol Library: simplis_analog_functions.sxslb
Model File: simplis_analog_functions.lb
Subcircuit Name: SIMPLIS_SWITCH_VCVS_BB
Symbols:
Multiple Selections: Multiple devices can be selected and edited simultaneously.

Previous Version Compatibility

This symbol was introduced with version 8.0; however, the model and supporting files are available in version 7.20 as well. In versions prior to 7.20, the schematic will simulate, but you will not be able to edit the parameters with the dialog pictured in this topic.

For a version of the Switched VCVS compatible with versions prior to version 7.20, see the parts selector entry:

Obsolete > Controlled Sources > Switched Voltage-Controlled Voltage Source (Obsolete)

Symbol Migration

Symbols placed on schematics in previous versions of SIMetrix/SIMPLIS can be automatically migrated to use the new symbols. The schematic tools menu Tools > Migrate Schematic Symbols to <Current Version> will invoke a routine which migrates the existing symbols to the new symbols. As this action makes substantial changes to the schematic, it is recommended that you save a backup copy of the schematic first.

I/O Table

The following table describes the pins on the Switched VCVS symbol.

Pin_Name I/O Function Description
CNTL I On/Off control voltage The threshold voltage, hysteresis, and logic of the control voltage are set in the input dialog box described in Editing_the_Switched_VCVS.
VIN I Input voltage for VCVS The input voltage for the VCVS
RTN   Circuit return for this VCVS The ground reference for this circuit
VOUT O Output Voltage for VCVS VOUT = VIN when the CNTL signal is in the ON state.

VOUT = 0 when the CNTL signal is in the OFF state.

The initial condition can be set to either ON or OFF.

Editing the Switched VCVS

To configure the Switched VCVS, follow these steps:

  1. Double click the symbol on the schematic to open the editing dialog.
  2. Make the appropriate changes to the fields described in the table below the image.
Label Parameter Description
Threshold
Hysteresis
The Threshold (T) and Hysteresis (H) of the VCVS. To determine the low-to-high threshold (TH) and the high-to-low threshold (TL), substitute Threshold (T) and Hysteresis (H) in each of the following formulas :
Input Logic Transition Actual Threshold
0 ➞ 1 TH = Threshold + 0.5 * Hysteresis
1 ➞ 0 TL = Threshold - 0.5 * Hysteresis
 
Initial Condition Initial condition of the CNTL signal; default is 0 Off.
Logic The logic of the CNTL signal, which can be set to positive or negative; default is POS.

Example

The test circuit used to generate the waveform examples in the next section can be downloaded here: simplis_071_switched_vcvs.sxsch.

Waveforms

The waveform below is the test circuit showing a sinusoidal VIN waveform and an asynchronous CNTL waveform.

The following waveform is for the test circuit with VIN hidden.