WOLFRAM SYSTEM MODELER

SlidingPotentiometerExample

Sliding potentiometer in normal configuration.

Diagram

Wolfram Language

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

Information

 

Sliding Potentiometer

 

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 simulate.

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:

plot2

 

Parameters (4)

minPos

Value: 0

Type: Length (m)

Description: Minimum angle for the thumbwheel.

maxPos

Value: 0.1

Type: Length (m)

Description: Maximum angle for the thumbwheel.

minRes

Value: 10

Type: Resistance (Ω)

Description: Minimum resistance for the potentiometer.

maxRes

Value: 1000

Type: Resistance (Ω)

Description: Maximum resistance for the potentiometer.

Components (8)

potentionmeter

Type: SlidingPotentiometer

Description: Thumbwheel potentiometer in rheostat configuration.

ground

Type: Ground

Description: Ground component.

source

Type: ConstantVoltage

Description: Constant voltage source.

angleSignal

Type: Ramp

Description: Ramp signal that sets the angle of the thumbwheel potentiometer.

voltageSensor

Type: VoltageSensor

ground1

Type: Ground

Description: Ground component.

position

Type: Position

limiter

Type: Limiter