idle
Level PV Setpoint Gain trail (Kp,Ki,Kd)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

AI PID Auto-Tuner: Reinforcement Learning for Industrial Process Control

Hand-tuned PID loops are still the backbone of industrial control — but Industry 4.0 plants increasingly hand the tuning itself to an AI agent. This simulator models a real tank-level loop as a first-order-plus-dead-time process driven by a PID valve controller, then lets an SPSA (Simultaneous Perturbation Stochastic Approximation) reinforcement-learning agent search for the gains that minimize a real ISE-plus-overshoot cost function using only two rollouts per update — no gradient of the plant model required, exactly as a model-free industrial auto-tuner would. Watch the liquid level step-response settle in faster, tighter, less oscillatory as training runs, while a live gain-space trail shows the exact (Kp, Ki, Kd) path the agent walked to get there.