Friday, 31 August 2012

How to create Variable resistance in MATLAB


Variable Resistor -Simulate linear variable resistor in electrical systems


Library

Electrical Elements

Description

The Variable Resistor block models a linear variable resistor, described with the following equation:
where
VVoltage
ICurrent
RResistance, i.e., the value presented at the control port
Connections + and – are conserving electrical ports corresponding to the positive and negative terminals of the resistor, respectively. P 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(–).

Dialog Box and Parameters

Minimum resistance R>=0
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. The default value is 0.

No comments:

Post a Comment