r/ControlTheory • • 24d ago

Educational Advice/Question I built a desktop PID tuning tool that fits 1st/2nd-order and integrating models from a step test. Looking for feedback from people who tune loops.

I’m a control engineer, and I’ve been building a small desktop app (Mac and Windows) for tuning from an open-loop step test. Disclosure: I’m at CSI, the consultancy that’s developing it.

What it does:

  • Fits four models with dead time (first order, overdamped and underdamped second order, integrating) and recommends one by AICc. You can override it.
  • Applies rules suited to the model: IMC/Lambda, SIMC, Ziegler-Nichols and Cohen-Coon, plus integrating-process rules.
  • Adds a Smith predictor case when θ/τ ≥ 1.
  • Simulates every rule on the same setpoint step (overshoot, settling, IAE, OP travel), with optional noise, OP limits and deliberate model mismatch to test robustness.
  • Optional AI suggestions, using your own API key. Every suggestion is simulated before you can apply it, and raw data never leaves your machine.

Known gaps: setpoint steps only (no load-disturbance case yet), and no setpoint weighting.

Two questions for this sub:

  1. Which rules or models would you expect to see that are missing?
  2. Would a disturbance-rejection simulation change how you’d use it?

Happy to share the waitlist link if the mods allow it.

9 Upvotes

13 comments sorted by

•

u/ee_control_z 24d ago

I take it that your tool, after tuning, provides the required 'P', 'I', and 'D' values. Does it convert the results to either 'C' and 'R' component values or equivalent discrete SW equation?

→ More replies

•

u/NaturesBlunder 24d ago

The whole reason PID control is popular is that it can be tuned by an unusually talented goldfish. Autotuning it defeats the whole benefit of it. Now, if you had a tool that looks at data and recommends an actually good control algorithm? That’s something I’d pay for.

→ More replies

•

u/APC_ChemE 24d ago

My question is have you compared your tool with what already exists on the market in the domain or field where you expect your tool to be used?

Have you compared your tool to the countless other homegrown tools developed by companies internally or products on the market in other industries.

From my perspective there are hundreds of tools that have been developed by 3rd parties to help people tune their own PID loops and everyone has their favorite and doesn't like the others for various reasons and lot of people use their own for their own use cases.

Have you taken into account the variety of alternative tuning variable conventions different PID controllers use either the formulation or the control law itself, or gain vs proportional band, resets, repeats per reset, etc....

→ More replies