| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimElectronics |
| Contents | Index |
| Learn more about SimElectronics |
SPICE-Compatible Components/Sources

The PVCCS2 (Two-Input Polynomial Voltage-Controlled Current Source) block represents a current source whose output current value is a polynomial function of the voltages across the pairs of controlling input ports. The following equations describes the current through the source as a function of time:
![]()
where:
Vin1 is the voltage across the first pair of input ports.
Vin2 is the voltage across the second pair of input ports.
p is the Polynomial coefficients parameter value.
The block uses a small conductance internally to prevent numerical simulation issues. The conductance connects the output ports of the device and has a conductance GMIN:
By default, GMIN matches the Minimum conductance GMIN parameter of the SPICE Environment Parameters block, whose default value is 1e–12.
To change GMIN, add a SPICE Environment Parameters block to your model and set the Minimum conductance GMIN parameter to the desired value.

The polynomial coefficients that relate the input voltage to the output current, as described in the preceding section. The default value is [ 0 1 1 ].
The block has the following ports:
Positive electrical input voltage of first controlling source.
Negative electrical input voltage of first controlling source.
Positive electrical input voltage of second controlling source.
Negative electrical input voltage of second controlling source.
Positive electrical output voltage.
Negative electrical output voltage.
PCCCS2, PCCVS2, PVCCS, and PVCVS2

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |