Neuro-PID vs Neuro-FOPID: Comparative Analysis Report
Generated: 20-Apr-2026 19:52
Plant: G(s) = 8.29×10⁵ / (s² + 5s)
Simulation: 3 s, unit step at t = 0
Table of Contents
- Executive Summary
- System Architecture
- Step Response Analysis
- Integral Performance Indices
- Transient Behaviour Detail
- Fractional Orders Analysis
- Controller Complexity
- Discussion
- Conclusions
1. Executive Summary
This report compares two neural-network adaptive controllers on the same DC motor plant. The Neuro-PID outputs three classical gains (Kp, Ki, Kd). The Neuro-FOPID extends this to five outputs, additionally scheduling the fractional integration order λ and differentiation order μ.
| Metric | Neuro-PID | Neuro-FOPID | Winner |
|---|---|---|---|
| Overshoot (%) | 0.1874 | 0.1611 | FOPID |
| Rise Time (s) | 0.0301 | 0.0228 | FOPID |
| Settling Time (s) | 0.0555 | 0.2609 | PID |
| Steady-State Error | 0.001381 | 0.000210 | FOPID |
| ISE | 0.014382 | 0.179732 | PID |
| IAE | 0.025554 | 0.220184 | PID |
| ITAE | 0.006798 | 0.005530 | FOPID |
2. System Architecture

2.1 Plant
Type-1 system: pole at origin plus stable pole at s = −5 (DC motor model). The integrating character makes Ki scheduling critical — both networks must learn to avoid windup while maintaining zero steady-state error.
2.2 Common Network Topology: 3 → 64 → 64 → 32 → n
Both networks receive the same three error-derived inputs:
| Port | Symbol | Description |
|---|---|---|
| 1 | e | Tracking error r(t) − y(t) |
| 2 | de/dt | Derivative of error |
| 3 | ∫e dt | Integral of error |
Inputs are z-scored using training statistics. Hidden layers use ReLU. Output layer is linear (regression). Both controllers are online adaptive — the NN runs every simulation timestep.
2.3 Neuro-PID
[e, de, ie] → [3→64→64→32→3] → [Kp, Ki, Kd]
↓
u = Kp·e + Ki·∫e + Kd·de/dt
- Outputs: 3 | Parameters: 6595 | Orders: fixed (λ=1, μ=1)
- Labels: MATLAB
pidtune(), analytical, seconds per plant condition - Label normalisation: not required
2.4 Neuro-FOPID
[e, de, ie] → [3→64→64→32→5] → [Kp, Ki, Kd, μ, λ]
↓
u = Kp·e + Ki·s⁻λ·e + Kd·sμ·e
- Outputs: 5 | Parameters: 6661 | Orders: adaptive λ,μ ∈ [0.6, 1.4]
- Fractional operators: Oustaloup rational approximation (N=5, ω_b=10⁻⁴, ω_h=10⁴)
- Labels:
fmincon+ ISE/overshoot/settling cost, ~44 min on 6 workers - Label normalisation: z-score mandatory (Kp/Ki span different decades to μ/λ)
3. Step Response Analysis

3.1 Metrics Table
| Metric | Neuro-PID | Neuro-FOPID | Change |
|---|---|---|---|
| Overshoot (%) | 0.1874 | 0.1611 | -14.0% |
| Rise Time (s) | 0.0301 | 0.0228 | -24.4% |
| Settling Time (s) | 0.0555 | 0.2609 | 370.2% |
| Peak Value | 1.00187 | 1.00161 | -0.026% |
| Peak Time (s) | 1.1392 | 1.2783 | 12.2% |
| Steady-State Error | 0.001381 | 0.000210 | -84.8% |
Negative change = FOPID is better.
3.2 Observations
Overshoot — Both stay well below 0.2%. FOPID is marginally better (0.1611% vs 0.1874%). The fractional derivative μ > 1 provides stronger phase lead, suppressing overshoot slightly more aggressively.
Rise Time — FOPID rises 24.4% faster. The fractional integrator s⁻λ with λ < 1 reduces low-frequency phase lag vs a pure integrator, enabling more aggressive initial proportional action without compromising stability.
Settling Time — PID settles 4.7x faster (0.0555 s vs 0.2609 s). The FOPID’s residual oscillation post-rise inflates settling time. Root cause: the fixed Oustaloup operator poles/zeros do not update when λ/μ change at runtime, creating filter mismatch during the settling phase.
Steady-State Error — FOPID achieves 6.6x lower SSE (0.000210 vs 0.001381). The fractional integrator with λ < 1 reduces windup risk while maintaining DC accuracy.
4. Integral Performance Indices

| Index | Formula | Neuro-PID | Neuro-FOPID | Winner |
|---|---|---|---|---|
| ISE | ∫e² dt | 0.014382 | 0.179732 | PID |
| IAE | ∫|e| dt | 0.025554 | 0.220184 | PID |
| ITAE | ∫t·|e| dt | 0.006798 | 0.005530 | FOPID |
| ITSE | ∫t·e² dt | 0.000064 | 0.000153 | PID |
ISE/IAE: PID wins — it accumulates less total error because it settles faster. The FOPID’s slow convergence inflates its integral despite better final accuracy.
ITAE: FOPID wins by 18.6%. ITAE penalises late errors heavily — the FOPID’s superior steady-state precision outweighs its slower gross settling in this time-weighted metric.
Guidance: Use ISE/IAE when convergence speed is paramount. Use ITAE/SSE when long-term accuracy matters most.
5. Transient Behaviour Detail


The 0–0.5 s zoom shows the FOPID reaching the setpoint earlier but with residual oscillatory decay. The PID crosses the setpoint with a very small single overshoot then converges monotonically. The error plot confirms the PID achieves clean exponential-like decay while the FOPID error shows slow oscillatory convergence toward zero.
This is consistent with the Oustaloup approximation introducing additional poles that interact with the closed-loop dynamics as the operating point shifts. In a fully dynamic implementation (bilinear Oustaloup recomputed each step), these artefacts would be eliminated.
6. Fractional Orders Analysis
| Parameter | Range | Training Mean | Std | Role |
|---|---|---|---|---|
| λ (integrator order) | [0.6, 1.4] | 0.982 | 0.124 | Integral phase; λ<1 reduces lag |
| μ (derivative order) | [0.6, 1.4] | 1.284 | 0.043 | Derivative bandwidth; μ>1 = super-diff |
λ ≈ 0.98 (near-integer): The optimiser found near-classical integration optimal for this plant. However λ varies dynamically during the transient — the NN can reduce λ early (less aggressive integration, preventing windup) and increase it late (tighter steady-state accuracy). This dynamic scheduling is impossible in a fixed-parameter FOPID.
μ ≈ 1.28 (super-unitary): Stronger-than-classical differentiation provides enhanced phase lead for this double-integrator-like plant. The low Std (0.043) indicates the NN learned a nearly constant optimal μ across operating conditions — making μ the most “fixed” of the five outputs in practice.
7. Controller Complexity
| Aspect | Neuro-PID | Neuro-FOPID |
|---|---|---|
| Network outputs | 3 | 5 |
| Parameters | 6595 | 6661 |
| Label generation | pidtune() (seconds) | fmincon + oustapid (44 min) |
| Label normalisation | Not required | Z-score all 5 outputs |
| Additional Simulink blocks | None | 2× Oustaloup State-Space |
| Filter states | 0 | 10 (2 × N=5 operators) |
| Compute per timestep | Low | Medium |
8. Discussion
8.1 Where Neuro-FOPID Wins
- Precision: Lower overshoot (0.1611% vs 0.1874%), faster rise, better SSE (0.000210 vs 0.001381), better ITAE.
- Richer gain space: The 5D parameter space lets the NN simultaneously shape transient and steady-state behaviour with more degrees of freedom.
- Fractional plant affinity: On plants with inherent fractional dynamics (electrochemical cells, viscoelastic structures), adaptive μ/λ provide exact-order matching unavailable to integer PID.
- Phase robustness: Fractional-order controllers are known to provide flat phase response over a frequency band (iso-damping property), offering inherent robustness to gain uncertainty.
8.2 Where Neuro-PID Wins
- Settling speed: 4.7x faster (0.0555s vs 0.2609s) — decisive for high-throughput or real-time applications.
- ISE/IAE: Lower total accumulated error (ISE: 0.014382 vs 0.179732).
- Simplicity: No fractional operator blocks, no z-score normalisation, ~10× shorter training time.
- No approximation artefacts: Clean monotonic settling without Oustaloup mismatch oscillation.
8.3 The Settling Time Paradox
The FOPID’s slower settling is architectural, not fundamental. Because the Oustaloup SS matrices are frozen at nominal λ/μ, runtime changes in the NN’s fractional order outputs create a gain-phase mismatch between intent and delivery. Three paths to resolution:
- Variable-order bilinear Oustaloup (MATLAB Function block, 11 sections, recomputed each Ts): eliminates mismatch, adds compute overhead
- Scheduled LUT: pre-compute Oustaloup coefficients on a (λ,μ) grid, interpolate at runtime
- Implicit FOPID via NN: absorb the full control law (including fractional integration) into the NN, outputting u directly
9. Conclusions
-
Neuro-FOPID is more precise — lower overshoot, faster rise, superior SSE and ITAE.
-
Neuro-PID settles faster — 4.7× lower settling time and better ISE/IAE over the full horizon.
-
The FOPID settling limitation is architectural — a variable-order implementation resolves it.
-
Training cost is 10–20× higher for FOPID — fmincon+oustapid vs analytical pidtune.
-
Neither controller is universally better — the optimal choice depends on application:
Application Recommended Fast servo, robotics Neuro-PID Precision positioning, process control Neuro-FOPID Fractional-order plant Neuro-FOPID Embedded / resource-constrained Neuro-PID Noise-contaminated measurements Neuro-FOPID (μ < 1)
Appendix: All Figures
| Fig | File | Description |
|---|---|---|
| 1 | fig1_step_response.png | Full step response, 0–3 s |
| 2 | fig2_error.png | Tracking error e(t) = r − y |
| 3 | fig3_metrics_bar.png | Step metrics bar chart (log scale) |
| 4 | fig4_perf_indices.png | Integral performance indices |
| 5 | fig5_transient_zoom.png | Transient detail 0–0.5 s |
| 6 | fig6_architecture.png | Network architecture |
Appendix: Raw Data
Neuro-PID : OS=0.1874% Tr=0.0301s Ts=0.0555s SSE=0.001381 ISE=0.014382 IAE=0.025554 ITAE=0.006798 ITSE=0.000064
Neuro-FOPID: OS=0.1611% Tr=0.0228s Ts=0.2609s SSE=0.000210 ISE=0.179732 IAE=0.220184 ITAE=0.005530 ITSE=0.000153
Report auto-generated by MATLAB — 20-Apr-2026 19:52:13