Hybrid GA–GWO PID Controller Optimization for Second-Order S

Version 1.0.0 (3.65 KB) by Saurabh
Compares Genetic Algorithm, Grey Wolf Optimizer, and hybrid GA→GWO methods for optimal PID tuning.
20 Downloads
Updated 8 Nov 2025

View License

Overview
This MATLAB project demonstrates the optimization of PID controller parameters using three different metaheuristic methods:
  1. Genetic Algorithm (GA)
  2. Grey Wolf Optimizer (GWO)
  3. Hybrid GA→GWO approach (refinement of GA results using GWO)
The provided script automatically tunes a PID controller for a second-order system, compares the closed-loop performance, and simulates hardware-like behavior with sampling, quantization, and saturation effects.Features
  • Automatic PID tuning using GA, GWO, and hybrid GA→GWO
  • Cost function based on IAE (Integral of Absolute Error) and overshoot penalty
  • Step response, disturbance rejection, and discrete hardware simulation
  • Fully self-contained MATLAB script — no toolboxes required

Cite As

Saurabh (2026). Hybrid GA–GWO PID Controller Optimization for Second-Order S (https://uk.mathworks.com/matlabcentral/fileexchange/182533-hybrid-ga-gwo-pid-controller-optimization-for-second-order-s), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0