Linear variable resistor in electrical systems
Simscape / Foundation Library / Electrical / Electrical Elements
The Variable Resistor block models a linear variable resistor, described with the following equation:
V is voltage.
I is current.
R is resistance, that is, the signal value at the control port.
Connections + and - are conserving electrical ports corresponding to the positive and negative terminals of the resistor, respectively. R is a physical signal input port that controls the resistance value. The current is positive if it flows from positive to negative, and the voltage across the resistor is equal to the difference between the voltage at the positive and the negative terminal, V(+) – V(–).
To set the priority and initial target values for the block variables prior to simulation, use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector). For more information, see Set Priority and Initial Target for Block Variables.
R — Resistance control signal, Ohm
Input physical signal that specifies the resistance value.
+ — Positive terminal
Electrical conserving port associated with the resistor positive terminal.
- — Negative terminal
Electrical conserving port associated with the resistor negative terminal.
Minimum resistance R>=0 — Minimum acceptable resistance
0 Ohm (default) | nonnegative scalar
The minimum resistance value. If the input signal falls below this level (for example, turns negative), this minimum resistance value is used. The parameter value must be nonnegative.