← Latest papers
⚡ electrical engineering

PID Parameters Optimization by Using Genetic Algorithm

This paper proposes using a Genetic Algorithm to optimize PID controller parameters for First Order Lag plus Time Delay systems to compensate for time delays, demonstrating its effectiveness by comparing the results against Iterative Method and Ziegler-Nichols rule approaches.

Original authors: Andri Mirzal, Shinichiro Yoshii, Masashi Furukawa

Published 2026-06-03
📖 4 min read☕ Coffee break read

Original authors: Andri Mirzal, Shinichiro Yoshii, Masashi Furukawa

Original paper licensed under CC BY 3.0 (http://creativecommons.org/licenses/by/3.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to drive a car, but there is a strange delay between when you turn the steering wheel and when the car actually turns. Maybe it's a heavy truck, or maybe there's a slow computer processing your commands. In the world of engineering, this is called a "time delay." It makes systems sluggish and unstable, like trying to steer a boat with a 10-second lag.

To fix this, engineers use a "PID controller," which is essentially a smart autopilot that constantly adjusts the steering to keep the car on track. The big question is: How do you tune this autopilot to work perfectly?

This paper is about a team of researchers who tried three different ways to find the perfect settings for this autopilot. Here is the breakdown of their journey:

1. The Three Competitors

The researchers set up a race between three different methods to tune the controller:

  • The Rulebook (Ziegler-Nichols): This is like following a cookbook recipe. You measure the delay, plug the number into a standard formula, and get your settings. It's fast and easy, but it's a "one-size-fits-all" approach.
  • The Trial-and-Error (Iterative Method): This is like a mechanic tweaking the engine by hand, testing it, adjusting it, and testing it again until it feels right. It's more careful than the rulebook but still requires the system to be stopped and tested offline.
  • The Evolutionary Solver (Genetic Algorithm - GA): This is the star of the show. Imagine a virtual breeding ground where you create 80 to 100 different "champions" (sets of settings). You let them "race" (simulate the car driving). The ones that drive the smoothest get to "reproduce," mixing their best traits to create a new generation. Over 300 generations, the population "evolves" to find the absolute best settings.

2. The Goal: What Are We Measuring?

The researchers wanted to see which method made the car drive the best. They looked at two main things:

  • The "Ride Quality" (Standard Measures):
    • Overshoot: Did the car swing wildly past the turn before correcting? (The goal is to swing as little as possible).
    • Settling Time: How long did it take to stop wobbling and drive straight?
    • Rise Time: How fast did it react to the turn?
    • Stability Margin: How close did it get to crashing before it became unstable?
  • The "Error Score" (Performance Indices):
    • Think of this as a scorecard for how much the car deviated from the perfect path. The lower the score, the better. They used five different ways to calculate this score (like MSE, IAE, ITAE, etc.).

3. The Results: Who Won?

The Big Win: Smoother Rides
The Genetic Algorithm was the clear winner for making the ride smooth.

  • It reduced the "swing" (overshoot) by more than 70% compared to the Rulebook and 30% compared to the Trial-and-Error method.
  • It also helped the car stop wobbling faster (settling time).
  • The Catch: To get this smooth ride, the car became slightly less "stable" in terms of how much it could handle before tipping over. It's a trade-off: a smoother ride, but a slightly narrower margin for error.

The Scorecard: Lower Errors
When looking at the "Error Scores," the Genetic Algorithm consistently scored lower than the other two methods. It found settings that minimized the deviation from the path better than the Rulebook or the Trial-and-Error method.

The Surprise: Some Things Stayed the Same
Interestingly, the Genetic Algorithm didn't make the car react faster (Rise Time) or reach its peak speed quicker (Peak Time) than the other methods. It just made the ride smoother and more controlled.

4. The Hiccups (Limitations)

The researchers noted two main problems with using the Genetic Algorithm:

  1. It's not always perfect: Sometimes, the "evolution" gets stuck and doesn't find the best solution, even after many tries. In their tests, it failed to find a solution about 4% of the time.
  2. It's limited by its starting point: To make sure the algorithm worked, they had to tell it to only look for settings within a specific range (based on the other two methods). This means they might have missed a "super-optimal" solution that existed outside of that range.

The Bottom Line

The paper concludes that using a Genetic Algorithm is a powerful way to tune controllers for systems with time delays. It produces a much smoother, more controlled response with fewer errors than traditional methods. However, it requires more computing power, takes longer to run, and needs careful setup to ensure it actually finds a solution. It's a high-tech, evolutionary approach that beats the old-school recipes, but it's not a magic wand that solves every problem instantly.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →