PID Tuning via Desired Step Response Curve Fitting
Pith reviewed 2026-05-22 00:17 UTC · model grok-4.3
The pith
PID controllers are tuned by minimizing the error between their closed-loop step response and a user-chosen target curve.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Optimal PID parameters are obtained by solving a constrained nonlinear program whose objective is the L2 distance between the closed-loop step response produced by the plant-plus-PID system and an externally supplied desired step-response curve; first-order-plus-dead-time or second-order curves with explicit settling-time and overshoot values are the usual choices for the target.
What carries the argument
The PID-SRCF optimizer, which repeatedly simulates the closed-loop step response and adjusts the three PID coefficients to drive the root-mean-square mismatch to a minimum.
If this is right
- The same fitting procedure can be used in place of Ziegler-Nichols, lambda, pole-placement or dominant-pole rules for any plant model that can be simulated.
- Transient specifications become direct inputs: the designer draws or parametrizes the target curve rather than deriving gain formulas.
- An open-source MATLAB implementation already exists, so the method can be tested on any linear or mildly nonlinear plant.
- Comparative tests in the paper indicate that the fitted responses meet or exceed the tracking accuracy of standard analytical tuners.
Where Pith is reading between the lines
- The approach could be extended to tune feed-forward terms or to incorporate actuator saturation directly inside the simulation used for fitting.
- If the plant model contains significant uncertainty, the same optimizer could be wrapped in a robust or stochastic formulation that minimizes worst-case mismatch over a set of models.
- Real-time retuning becomes conceivable by replacing the offline optimizer with a fast gradient step that uses recent step-test data.
Load-bearing premise
The nonlinear optimizer reaches a global or sufficiently good minimum that actually reproduces the chosen transient specifications when the plant model is known accurately enough to simulate the closed loop.
What would settle it
Apply the procedure to a plant whose step response under the returned PID gains deviates substantially from the supplied target curve in an independent high-fidelity simulation or on hardware.
Figures
read the original abstract
This paper presents a PID tuning method based on step response curve fitting (PID-SRCF) that utilizes L2-norm minimization for precise reference tracking and explicit transient response shaping. The algorithm optimizes controller parameters by minimizing the root-mean-square error between desired and actual step responses. The proposed approach determines optimal PID parameters by matching any closed-loop response to a desired system step response. Practically a first-order plus time delay model or a second-order system with defined settling time and overshoot requirements are preferred. The method has open-source implementation using constrained nonlinear optimization in MATLAB. Comparative evaluations demonstrate that PID-SRCF can replace known analytical methods like Ziegler Nichols, Lambda Tuning, Pole Placement, Dominant Pole and MATLAB proprietary PID tuning applications.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript proposes PID-SRCF, a tuning procedure that optimizes PID gains by minimizing the L2-norm (RMSE) between a user-specified desired closed-loop step response and the simulated response of a known plant under PID control. The desired response is typically taken from a first-order-plus-time-delay model or a second-order system with prescribed settling time and overshoot; parameters are found via constrained nonlinear optimization (MATLAB fmincon). The paper claims that this direct curve-fitting approach yields precise transient shaping and can replace or outperform classical analytical methods such as Ziegler-Nichols, Lambda tuning, pole placement, dominant-pole design, and MATLAB's built-in PID tuner.
Significance. If the optimizer reliably attains a global minimum that exactly reproduces the target transient metrics, the method supplies an intuitive, specification-driven alternative to pole-placement or rule-based tuning for plants whose models are known to sufficient accuracy. The open-source MATLAB implementation is a concrete strength that would facilitate reproducibility and further testing.
major comments (2)
- [Optimization procedure (Section 3)] The central claim that L2-norm minimization produces PID parameters realizing any prescribed settling time and overshoot rests on the assumption that fmincon reaches the global minimizer of the non-convex cost surface. No multi-start statistics, basin-of-attraction analysis, Hessian evaluation at reported solutions, or convergence diagnostics from varied initial conditions are supplied to substantiate that the published performance numbers are not artifacts of favorable starting points.
- [Comparative results (Section 4)] In the comparative evaluations (Tables 2–4), the desired-response parameters (settling time, overshoot) used to generate the target curve for PID-SRCF are not stated explicitly for each benchmark plant, nor is it shown how the competing methods (Ziegler-Nichols, Lambda, etc.) were tuned to the same transient specifications. Without this information the reported RMSE or IAE improvements cannot be interpreted as independent evidence of superiority rather than a consequence of the chosen fitting criterion.
minor comments (2)
- [Abstract] The abstract asserts that the method 'can replace known analytical methods'; this phrasing should be softened to 'provides a viable alternative' or accompanied by the qualifier 'under the conditions examined'.
- [Method] The exact mathematical expression for the desired step-response curve (e.g., the analytic form of the FOPTD target) should be written out once in the method section to remove ambiguity about how overshoot and settling time are encoded.
Simulated Author's Rebuttal
We thank the referee for the constructive and detailed comments on our manuscript 'PID Tuning via Desired Step Response Curve Fitting'. The points raised regarding optimization reliability and transparency in comparative evaluations are important for strengthening the paper. We address each major comment below and will revise the manuscript to incorporate additional analysis and details as outlined.
read point-by-point responses
-
Referee: [Optimization procedure (Section 3)] The central claim that L2-norm minimization produces PID parameters realizing any prescribed settling time and overshoot rests on the assumption that fmincon reaches the global minimizer of the non-convex cost surface. No multi-start statistics, basin-of-attraction analysis, Hessian evaluation at reported solutions, or convergence diagnostics from varied initial conditions are supplied to substantiate that the published performance numbers are not artifacts of favorable starting points.
Authors: We acknowledge that the underlying cost surface is non-convex and that fmincon is a local optimizer that does not guarantee global optimality. In the original work, initial conditions were chosen using standard PID heuristics derived from plant models, and solutions consistently produced step responses closely matching the targets across the tested plants. To substantiate robustness, the revised Section 3 will include a multi-start study with 50 randomly sampled initial conditions per benchmark (within physically reasonable bounds), reporting the fraction of runs attaining the published RMSE values, the variance in converged PID gains, and basic convergence diagnostics. This will provide quantitative evidence that the reported results are not dependent on specially chosen starting points. revision: yes
-
Referee: [Comparative results (Section 4)] In the comparative evaluations (Tables 2–4), the desired-response parameters (settling time, overshoot) used to generate the target curve for PID-SRCF are not stated explicitly for each benchmark plant, nor is it shown how the competing methods (Ziegler-Nichols, Lambda, etc.) were tuned to the same transient specifications. Without this information the reported RMSE or IAE improvements cannot be interpreted as independent evidence of superiority rather than a consequence of the chosen fitting criterion.
Authors: We agree that explicit documentation of the target transient specifications and the tuning procedures applied to baseline methods is required for unambiguous interpretation. In the revised manuscript we will add a dedicated table (or expanded caption for Tables 2–4) listing the exact desired settling time and overshoot used to construct the reference step response for each plant. We will also describe the concrete tuning rules employed for each competing method (e.g., Ziegler-Nichols ultimate-gain formulas, Lambda tuning with a specific lambda value, pole-placement pole locations) and note how these were selected to achieve the closest feasible match to the same transient metrics. These additions will allow readers to evaluate whether the observed improvements arise from the direct curve-fitting objective or from differences in specification adherence. revision: yes
Circularity Check
No significant circularity; method is direct optimization to user target
full rationale
The paper proposes an explicit numerical procedure: select a desired step-response shape (e.g., first-order-plus-delay or second-order with prescribed settling time/overshoot), then minimize the sampled L2 error between that target and the closed-loop response produced by the plant under candidate PID gains using constrained nonlinear optimization (MATLAB fmincon). This is a standard fitting definition of optimality rather than a derivation that reduces to its own inputs. Comparative tables against Ziegler-Nichols, Lambda tuning, pole placement, and MATLAB's pidtune supply external benchmarks. No self-citations, uniqueness theorems, or ansatzes imported from prior author work appear in the load-bearing steps. The approach is therefore self-contained as an engineering algorithm whose performance can be falsified by the reported numerical comparisons.
Axiom & Free-Parameter Ledger
free parameters (1)
- Desired-response parameters (settling time, overshoot, time constant)
axioms (1)
- domain assumption The plant dynamics are known sufficiently well to simulate the closed-loop step response under candidate PID parameters.
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquationwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
The controller design problem is formulated as a constrained optimization task minimizing the L₂-norm error between the closed-loop step response y_PID(t) and the desired reference trajectory y_desired(t).
-
IndisputableMonolith/Foundation/BranchSelectionbranch_selection unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
PID-SRCF with this desired transfer response calculates optimum PID coefficients close to Ziegler Nichols formula...
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Reference graph
Works this paper leans on
-
[1]
The Past of PID Controllers [J]
Bennett S. The Past of PID Controllers [J]. Annual Reviews in Control 2001, 25: 43 -53. Proceedings of the 2nd International Conference on Functional Materials and Civil Engineering DOI: 10.54254/2755-2721/66/20240946
-
[2]
Present Status and Future Needs: The View from Japanese Industry,
S. Yamamoto and I. Hashimoto, “Present Status and Future Needs: The View from Japanese Industry,” Chemical Process Control—CPCIV: Proceedings of 4th International Conference on Chemical Process Control, Padre Island, 17-22 February 1991, pp. 1-28
work page 1991
-
[3]
Desborough, L. and Miller, R. (2002) Increasing Customer Value of Industrial Control Performance Monitoring— Honeywell Experience. In: Rawlings, J.B., Ogunnaike, B.A. and Eaton, J.W., Eds., 6th International Conference on Chemical Process Control, AIChE Sy mp., Series 326, AIChE, New York, 172-192
work page 2002
-
[4]
Akkermans, T. H., & Stan, S. G. (2001). Digital servo IC for optical disc drives. Control Engineering Practice, 9(11), 1245-1253
work page 2001
-
[5]
Åström, K. J., & Hägglund, T. (2006). Advanced PID Control. ISA - The Instrumentation, Systems and Automation Society
work page 2006
-
[6]
Optimum Settings for Automatic Controllers
Ziegler, J. G., and Nichols, N. B. (June 1, 1993). "Optimum Settings for Automatic Controllers." ASME. J. Dyn. Sys., Meas., Control. June 1993; 115(2B): 220–222
work page 1993
-
[7]
Theoretical consideration of retarded control
Cohen, GHp, and G. A. Coon. "Theoretical consideration of retarded control." Transactions of the American Society of Mechanical Engineers 75.5 (1953): 827-834
work page 1953
-
[8]
Åström, K. J., & Hägglund, T. (1988). Automatic Tuning of PID Controllers. Instrument Society of America (ISA)
work page 1988
-
[9]
Dahlin E.B., Designing and Tuning Digital Controllers, Instr and Cont Syst, 41 (6), 77, 1968
work page 1968
-
[10]
The Lambda method for tuning PI controllers
Panagopoulos, Helene, Tore Hägglund, and Karl Johan Åström. "The Lambda method for tuning PI controllers." (1997)
work page 1997
-
[11]
Andreas, H., & Åström, K. J. (1997). Design of PI Controller by Minimization of IAE
work page 1997
-
[12]
Rawlings, J.B., Mayne, D.Q., and Diehl, M. (2009). Model Predictive Control: Theory, Computation, and Design. Nob Hill Publishing, LLC Cheryl M. Rawlings
work page 2009
-
[13]
D.Q. Mayne, J.B. Rawlings, C.V . Rao, P.O.M. Scokaert, Constrained model predictive control: Stability and optimality, Automatica, V olume 36, Issue 6, 2000 Pages 789-814,
work page 2000
-
[14]
Qin, Joe & Badgwell, Thomas. (2003). A Survey of Industrial Model Predictive Control Technology. Control engineering practice. 11. 733-764. 10.1016/S0967-0661(02)00186-7
-
[15]
Automated PID controller design
Gahinet, Pascal, Rong Chen, and Bora Eryilmaz. "Automated PID controller design." U.S. Patent No. 8,467,888. 18 Jun. 2013
work page 2013
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.