WOLFRAM SYSTEM MODELER

# ThumbwheelPotentiometerExample

Thumbwheel potentiometer in normal configuration.

# Wolfram Language

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

# Thumbwheel 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 thumbwheel-controlled potentiometer has been connected in its normal configuration. The angular position of the thumbwheel will be increased following a ramp signal, from 0 to 180 degrees. 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)

minAngle Value: 0 Type: Angle (rad) Description: Minimum angle for the thumbwheel. Value: 3.14159265358979 Type: Angle (rad) 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 Description: Thumbwheel potentiometer in rheostat configuration. Type: Ground Description: Ground component. Type: Position Description: Angle of the thumbwheel potentiometer. 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: Limiter