Loop Lab / Block Studio

Block Diagram StudioSYSTEM BUILDER

Wire a loop from blocks and simulate it as you build. Assemble sources, feedback controllers, nonlinearities, and multi-channel scopes with instantaneous numerical simulation and export to the benchmark suite.

🚀 Open in Bench→

On the bench: Actuator Limits is left out: the bench limits the output to 0–100 %.

Templates:
Duration (s):
dt (s):
Block Palette:
Click card to add block • Drag header to reposition • Click ● ports to wire
FeedbackSPPVOP
Setpoint SP
u(t)
y(t) = Step
t=2sΔ=10.0
Error Junction
Σ
Σ (+-)
+
-
PID Controller
PID
Kc(1 + 1/Ti·s)
Kc=1.8Ti=14s
Actuator Limits
[lo,hi]
[-100, 100]
[-100, 100]
FOPDT Plant
K/(τs+1)
K·e^{-θs}/(τs+1)
K=1.2τ=15sθ=3s
Loop Scope
Scope
Scope [SP, PV, OP]
📊

Loop Scope

Duration: 80 s • dt: 0.1 s
SPPVOP
02040608005101520Time (s)Signal Magnitude
Signal Performance Analytics
Signal / ChannelOvershoot %Settling TimeSS ErrorIAEPeakFinal
SP
—2 s—201010
PV
2.9%25 s0.0073.510.2910
OP
—17.3 s—11521.868.33
🏛️

System Architecture

Classic negative feedback loop with a PID controller, output saturation limiter, and FOPDT plant.

Loop State:
Closed (Feedback)
Plant Gain (K):
1.2
Time Lag (τ₁):
15 s
Dead Time (θ):
3 s

Everything in series round the controller's loop, multiplied out.

Suggested Guided Experiments
  • Phase Lag & Stability: Double plant dead time θ on the FOPDT block and watch oscillations expand on the Scope.
  • Actuator Saturation: Reduce valve or saturation limits and observe transient windup.
  • Trace Pinning: Click Pin Trace in toolbar, adjust PI gain Kc, and inspect the Before vs After response overlay!