WOLFRAM SYSTEMMODELER

PIDController

Elementary PID controller

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["IntroductoryExamples.Hierarchical.Components.PIDController"]
Out[1]:=

Information

A PID (Proportional, Integrating, Derivating) controller defined by the following equation:

where K is the controller gain, T is the integrator time constant, and Td is the derivative gain.

Connectors (2)

u

Type: ActSignalOutput

Description: Control to actuator, connector

y

Type: ReadSignalInput

Description: Input sensor level, connector

Parameters (4)

ref

Value:

Type: Real (m)

Description: Reference level

K

Value: 0.1

Type: Real (m²/s)

Description: Gain

T

Value: 10

Type: Real (s)

Description: Integrator time constant

Td

Value: 5

Type: Real (s)

Description: Derivative gain

Used in Examples (1)

TankPID

A tank controlled by a PID controller