MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Using built-in PID autotuning on variable frequency drives
HomeModels
Table of contents

On this page

Drives & Actuators (102 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Using built-in PID autotuning on variable frequency drives

Most modern VFDs ship with a PID autotune routine that can cut commissioning time in half, yet many technicians run it once and never look back. This page explains how autotune works, the preconditions to check, how to verify the result, and when manual trimming is unavoidable.

1. How it works

Autotune works by injecting a small step or pulse disturbance and measuring the loop response: dead time, rise time and overshoot. From these it estimates Kp, Ti and Td with a Ziegler-Nichols style algorithm. Before triggering it, three preconditions matter. The feedback signal must be steady, with 4~20mA ripple below 0.5 percent of span. The actuator must move freely, no stuck valve, no cavitating pump. And the process must tolerate a small excursion, say plus or minus 0.02MPa on a constant-pressure water line. During tuning the drive deliberately swings its output 2 to 5 percent around the setpoint, so neighbouring interlocks should be told in advance.

2. Numbers and practice

Verify the result in three steps. Apply a 10 percent setpoint step: overshoot should stay under 5 percent and oscillation should settle within one and a half cycles. In steady state, output frequency wobble should be within plus or minus 1Hz and the controlled variable within a quarter of the tolerance band. Kick in a disturbance, say opening a branch valve, and recovery should take under 30 seconds. Autotune usually returns conservative gain, so raising Kp by 30 to 50 percent is a fair first trim; high-frequency chatter means the derivative term is amplifying noise, so add 0.5 to 1s of derivative filtering or switch the D term off.

3. Pitfalls and fixes

Autotune fails on long-dead-time processes such as pH neutralisation, on strongly nonlinear loads where pump gain differs by a factor of two across the speed range, on worn feedback devices with dead zones, and on multi-pump systems where a set tuned for one pump destabilises with two. The manual fallback starting point is Kp 0.5, Ti 30s, derivative off, changing one parameter at a time.

4. Typical PID tuning ranges by load type

Load typeKpTiTdSample period
Centrifugal pump, constant pressure1.5~310~30sOff0.1~0.5s
Fan, temperature duty0.5~1.560~300sOff or filtered2~10s
Air compressor, pressure2~55~20sOff0.1s
Level, large volume0.3~160~600sOff1~5s
Temperature, furnace1~2100~500s10~60s1~5s
Flow control0.5~1.52~10sOff0.05~0.2s

5. Notes

Retune after any seasonal change, load swap or network modification, and file the before-and-after parameters with the step response plot in the commissioning report so future troubleshooting has a baseline.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Per IEC 60204-1 / GB/T 5226.1; water supply practice per GB 50015. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Tuning with a noisy feedback signal: the derivative term amplifies the ripple and the actuator chatters until the valve trim wears out in two months
② Skipping the step-response verification: operators quietly drop Kp to 0.1 as a workaround and the autotune effort is wasted
③ Autotuning a multi-pump system with only one pump running: the parameter set destabilises the moment the second pump starts

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL