WOLFRAM SYSTEM MODELER

SlidingPotentiometer

Potentiometer controlled by a slider

Diagram

Wolfram Language

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

Information

Potentiometer controlled by a slider. The model consists of two variable resistors, to total resistance of which equal the parameter maxRes. When the slider is positioned all the way to the left, almost all of the total resistance will be present between the right resistor and the wiper pin. This model represents a potentiometer where the wiper pin is slided along a material whose resistance is lineraly proportional to its length. By positioning the slider to the right, the distance between the positive pin and the wiper becomes larger and the resistance between them increases lineraly.

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.

Connectors (4)

p

Type: PositivePin

Description: Positive electrical pin

n

Type: NegativePin

Description: Negative electrical pin

wiper_pin

Type: Pin

Description: Potentiometer wiper terminal.

flange_a

Type: Flange_a

Description: One-dimensional translational flange (left, flange axis directed INTO cut plane)

Components (12)

R1

Type: VariableResistor

Description: Resistance between positive pin and wiper.

R2

Type: VariableResistor

Description: Resistance between negative pin and wiper.

stop

Type: MassWithStopAndFriction

Description: Boundry of the slider.

pos

Type: PositionSensor

Description: Position sensor of the slider.

minS

Type: Constant

Description: Constant signal with minimum position.

p_add

Type: Add

Description: Position map to resistance.

n_add

Type: Add

Description: Position map to resistance.

minAdd

Type: Add

Description: Minimum position compared to potentiometer position.

maxAdd

Type: Add

Description: Maximum position compared to potentiometer position.

maxS

Type: Constant

Description: Constant signal with maximum positon.

minResistance

Type: Constant

Description: Constant signal with minimum resistance.

springDamper1

Type: SpringDamper

Description: Linear 1D translational spring and damper in parallel

Used in Examples (1)

SlidingPotentiometerExample

EducationExamples.ElectricalEngineering.Potentiometers

Sliding potentiometer in normal configuration