Main Content

Rotary or linear-travel potentiometer controlled by physical signal

**Library:**Simscape / Electrical / Passive

The Potentiometer block represents a rotary or linear-travel potentiometer, with the wiper position controlled by the input physical signal.

If the potentiometer resistance changes linearly based on wiper position, then the
resistance between the wiper position and port **L** is:

$${R}_{WL}=\frac{{R}_{0}}{{x}_{\mathrm{max}}-{x}_{\mathrm{min}}}\left(x-{x}_{\mathrm{min}}\right)$$

where

*R*is the resistance between the wiper position and port_{WL}**L**.*R*is the total resistance between ports_{0}**L**and**R**.*x*is the wiper position.*x*is the value of the wiper position when the wiper is at port_{min}**L**.*x*is the value of the wiper position when the wiper is at port_{max}**R**.

If you specify `Logarithmic`

for the
potentiometer resistance **Taper** parameter, then the resistance
between the wiper position and port **L** is:

$${R}_{WL}=\{\begin{array}{ll}A\left({e}^{\lambda \left(x-{x}_{\mathrm{min}}\right)}-1\right)\hfill & \text{ifresistancegradientishigheratR}\hfill \\ {R}_{0}-A\left({e}^{\lambda \left({x}_{\mathrm{max}}-x\right)}-1\right)\hfill & \text{ifresistancegradientishigheratL}\hfill \end{array}$$

where *A* and λ are chosen such that
*R _{WL}* at

**Note**

Potentiometers widely described as LOG or logarithmic taper are, in fact, exponential taper. That is, the gradient of the resistance between wiper and left-hand port increases as the resistance increases. The Potentiometer block implements this behavior.

For both linear and logarithmic tapers, the resistance between the wiper position and
port **R** is:

$${R}_{WR}={R}_{0}-{R}_{WL}$$

where

*R*is the resistance between the wiper position and port_{WR}**R**.*R*is the total resistance between ports_{0}**L**and**R**.*R*is the resistance between the wiper position and port_{WL}**L**.