Potentiometer

electrical.potentiometer

Resistor R with a wiper w. The signal input x sets the wiper position, from 0 at n to 1 at p.

Ports

NameDomainDirection
pelectrical
nelectrical
welectrical
xsignalin

Parameters

NameUnitDefaultRangeDescription
ROhm10000 to ∞Resistance between p and n

Equations

0 = p.i + n.i + w.i
p.v - w.v = R * (1 - x) * p.i
w.v - n.v = -R * x * n.i