WOLFRAM SYSTEM MODELER

# SlidingPotentiometerExample

Sliding potentiometer in normal configuration.

# Wolfram Language

In[1]:=
`SystemModel["EducationExamples.ElectricalEngineering.Potentiometers.SlidingPotentiometerExample"]`
Out[1]:=

# Sliding Potentiometer

CONTENTS:
 ˇ Introduction ˇ Model ˇ Simulation

## Introduction

Potentiometers, also known as pots, are useful electrical components that allow a person or a machine to directly tune the voltage or resistance in one part of a circuit. In its normal configuration, a potentiometer acts as a variable voltage divider. If a voltage source is connected between the two pins, called terminals, the voltage over the third pin, known as the wiper, will vary with the position of the potentiometer shaft. This shaft can, for example, be controlled by a slider or a thumbwheel.

## Model

In this example model, a slider-controlled potentiometer has been connected in its normal configuration. The translational position of the slider will be increased following a ramp signal, from 0 to 10 centimeters (about 4 inches). The voltage on the wiper pin is measured with a voltage sensor.

## Simulation

To simulate the model, perform this step:

• Click the Simulate button in the top toolbar .

### Plot the results

Explore how the voltage on the wiper pin decreases as the potentiometer gets turned around. Plot the stored plot called PotentiometerVoltages by double-clicking it from the Stored Plots section.

You should now see the following graph:

# Parameters (4)

minPos Value: 0 Type: Length (m) Description: Minimum angle for the thumbwheel. Value: 0.1 Type: Length (m) Description: Maximum angle for the thumbwheel. Value: 10 Type: Resistance (Ω) Description: Minimum resistance for the potentiometer. Value: 1000 Type: Resistance (Ω) Description: Maximum resistance for the potentiometer.

# Components (8)

potentionmeter Type: SlidingPotentiometer Description: Thumbwheel potentiometer in rheostat configuration. Type: Ground Description: Ground component. Type: ConstantVoltage Description: Constant voltage source. Type: Ramp Description: Ramp signal that sets the angle of the thumbwheel potentiometer. Type: VoltageSensor Type: Ground Description: Ground component. Type: Position Type: Limiter