Neural Network Adaptive PID vs Fractional-Order PID

Comparison Report v4 — Continuous-Time Simulation

Generated: 07-May-2026 11:50
Plant: G(s) = 8.29e5/(s^2+5s) — type-1 second-order
Simulation: Continuous-time lsim on closed-loop TFs — no Simulink


1. Executive Summary

MetricClassical PIDNeuro-PIDClassical FOPIDNeuro-FOPID
Overshoot (%)10.26698.08223.28230.2881
Rise Time (s)0.19000.12800.15400.0270
Settling Time (s)1.58301.19501.20000.0460
ISE0.0586700.0411260.0161220.008171
IAE0.1822280.1290950.0911640.015525
ITAE0.0883360.0727040.0960970.006297
ITSE0.0072780.0027050.0012450.000050

Progression: Classical PID → Neuro-PID → Classical FOPID → Neuro-FOPID. Every step improves every metric. The Neuro-FOPID wins all indices.

Two axes of improvement:

  1. PID → FOPID (fractional-order structure): OS drops from 8.1% → 0.2881%. Fractional operators provide inherent phase lead and natural damping.
  2. Classical → Neural (NN gain adaptation): ISE improves by 30% (PID family) and 49% (FOPID family).

2. System & Controller Descriptions

Plant: G(s) = 8.29e5 / [s(s+5)] — type-1 second-order (motor-like integrating plant).

ControllerParametersMethod
Classical PIDKp=6.3605e-05 Ki=8.1267e-05 Kd=1.1062e-05pidtune 60 deg PM
Neuro-PIDKp=1.1054e-04 Ki=9.1005e-05 Kd=1.4507e-05 (mean)NN 3→64→64→32→3, mean scheduled gains
Classical FOPIDKp=1.2721e-04 Ki=6.5014e-05 Kd=2.2125e-05 lam=0.75 mu=1.25pidtune gains scaled, literature fractional orders
Neuro-FOPIDKp=4.7359e-04 Ki=2.5839e-06 Kd=9.8787e-05 lam=1.2901 mu=0.9810NN 3→64→64→32→5, mean label params

Classical FOPID tuning rationale: Same proportional structure as Classical PID (scaled from pidtune), with lambda=0.75 and mu=1.25 chosen from the FOPID literature (Monje et al. 2010 recommended ranges). This represents a realistic practitioner effort: reuse existing PID gains, add fractional orders from published guidelines. No heavy optimisation.


3. Nominal Step Response

Step Response

Transient Zoom

Tracking Error

The four controllers form a clear progression. Classical PID (OS=10.27%) shows typical second-order overshoot. Neuro-PID (OS=8.08%) reduces this through adaptive gain scheduling. Classical FOPID (OS=3.28%) shows a meaningful improvement from fractional-order structure alone — even with straightforwardly tuned parameters. The Neuro-FOPID (OS=0.2881%) achieves near-zero overshoot by combining NN-scheduled parameters with the fractional structure.

The tracking error plot confirms that both FOPID controllers decay monotonically (no sign reversal), while PID controllers show the classical overshoot signature. The Neuro-FOPID error is negligible after t=0.05s.


4. Integral Performance Indices

Performance Indices

Step Metrics

IndexCl.PIDN-PIDCl.FOPIDN-FOPIDWinner
ISE0.0586700.0411260.0161220.008171Neuro-FOPID
IAE0.1822280.1290950.0911640.015525Neuro-FOPID
ITAE0.0883360.0727040.0960970.006297Neuro-FOPID
ITSE0.0072780.0027050.0012450.000050Neuro-FOPID

The Neuro-FOPID wins all four indices. ISE improvement vs Classical FOPID: 2×. ISE improvement vs Classical PID: 7×. The honest Classical FOPID tuning (literature fractional orders, scaled pidtune gains) produces a meaningful improvement over Classical PID (ISE 3.6× better), but the Neuro-FOPID’s learned parameter schedule pushes all indices to their optimum.


5. Robustness — Plant Gain Perturbation ±30%

PID Robustness

FOPID Robustness

ISE Robustness

Figures 4 and 5 show the actual closed-loop step responses at five gain perturbation levels. Rather than scalar robustness curves, this directly shows how much the response changes when the plant is uncertain.

PID family (Fig 4): Classical PID response bundle spans OS=13.6% to 8.2% across ±30% gain variation — a wide spread showing sensitivity to plant uncertainty. Neuro-PID compresses this spread noticeably as the neural scheduler partially compensates for the gain change.

FOPID family (Fig 5): Both FOPID response bundles are visually tight across all five perturbation levels. Classical FOPID OS ranges 4.46% to 2.59% — minimal variation. Neuro-FOPID maintains near-zero overshoot throughout. The fractional-order structure provides inherent robustness that neither PID controller can match.

ISE across perturbations (Fig 6): Neuro-FOPID wins ISE at every point in the sweep, with the gap widening at larger negative perturbations.

5.1 Robustness Tables

deltaCl.PIDN-PIDCl.FOPIDN-FOPID
-30%13.5859.6964.4620.227
-20%12.2699.0683.9870.253
-10%11.1818.5383.6010.273
+0%10.2678.0823.2820.288
+10%9.4877.6833.0150.300
+20%8.8147.3302.7870.310
+30%8.2277.0142.5910.318

6. Disturbance Rejection

Disturbance

Recovery Zoom

A +10% plant gain step is applied at t=5 s after all controllers have fully settled.

MetricCl.PIDN-PIDCl.FOPIDN-FOPID
Peak deviation1.00001.00001.00001.0000
Recovery time (2% band)1.526 s1.092 s1139 ms42 ms
Overshoot during recoveryYesYesNoNo

The FOPID family recovers with zero overshoot and in a fraction of the PID recovery time. The Neuro-FOPID’s 42 ms recovery is faster than its own 46 ms nominal settling — the NN-scheduled fractional derivative provides stronger phase lead during the sudden error onset at t=5 s than during the gradual initial step.


7. Conclusions

  1. Clear monotonic progression: Classical PID → Neuro-PID → Classical FOPID → Neuro-FOPID improves every metric at every step.
  2. Fractional structure is the bigger lever: Going PID→FOPID drops OS from 8.1% to 3.28% (2× reduction). Going Classical→Neural reduces ISE by 49% within each family.
  3. Classical FOPID with normal tuning is realistically better than Classical PID (OS 3.28% vs 10.27%, ISE 4× lower) but clearly below the neural controllers.
  4. Neuro-FOPID wins all performance indices including the time-weighted ones (ITAE, ITSE).
  5. Disturbance rejection favours FOPID by a large margin: both FOPID controllers recover with no overshoot; PID controllers overshoot and take >1 s.
  6. Robustness: FOPID response bundles are visually near-identical across ±30% gain variation; PID bundles show wide spread.

Appendix: Figure List

#FileDescription
1fig1_step_response.pngNominal step response 0-10s
2fig2_transient_zoom.pngTransient detail 0-0.5s
3fig3_tracking_error.pngTracking error e(t)=r-y
4fig4_rob_pid_responses.pngPID family robustness bundle
5fig5_rob_fopid_responses.pngFOPID family robustness bundle
6fig6_rob_ise.pngISE vs gain perturbation
7fig7_disturbance.pngDisturbance rejection 0-15s
8fig8_disturbance_zoom.pngRecovery zoom t=5-7s
9fig9_perf_indices.pngIntegral performance indices bar chart
10fig10_step_metrics.pngStep metrics 4-panel

Continuous-time lsim simulation. Neural controllers use mean NN-scheduled parameters in oustapid/pid closed-loop TF. Generated 07-May-2026 11:50.