Main Content

Voltage-Controlled Current Source

R2026b

Linear voltage-controlled current source

  • Voltage-Controlled Current Source block

Libraries:
Simscape / Foundation Library / Electrical / Electrical Sources

Description

The Voltage-Controlled Current Source block models a linear voltage-controlled current source, described with the equation

I=K·(V(+)V())

where:

  • I is the output current.

  • K is the transconductance.

  • V(+) and V(-) are the voltages at the + and - control ports.

The + and - ports on the left side of the block are the control ports. To use the block, connect the control ports to the control voltage source. The two ports on the right side of the block are the output ports. They generate the output current. The arrow indicates the positive direction of the current flow.

Variables

To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable.

Ports

Conserving

expand all

Electrical conserving port associated with the positive control terminal.

Electrical conserving port associated with the negative control terminal.

Electrical conserving port associated with the output current positive terminal.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Electrical conserving port associated with the output current negative terminal.

The port name is not visible in the block icon, but you can see this name in the underlying source file by clicking the Source code link in the Description tab of the block dialog box.

Parameters

expand all

The change in output current divided by the change in input voltage that causes it.

Extended Capabilities

expand all

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2007a