← Latest papers
⚡ electrical engineering

Hybrid Software Controller for Precise Position and Trajectory Control of Quadcopters

This paper proposes and validates a hybrid control framework that enhances quadcopter trajectory tracking in dynamic environments by integrating a traditional PID controller with real-time reference modulation via Artificial or Deep Neural Networks, demonstrating that the PID+DNN approach outperforms PID+ANN in convergence smoothness and control efficiency.

Original authors: Mayank Sharma, Utkarsh Panth, Shivani Verma, Rachna Jain, Amit Srivastava

Published 2026-08-04
📖 6 min read🧠 Deep dive

Original authors: Mayank Sharma, Utkarsh Panth, Shivani Verma, Rachna Jain, Amit Srivastava

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.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 teach a clumsy, four-legged robot dog to walk in a straight line while a strong wind blows against it. If you just tell the dog "go forward," it might trip, spin in circles, or get stuck because it doesn't know how to adjust to the wind or its own wobbly legs. This is the world of Unmanned Aerial Vehicles (UAVs), or quadcopters—those cool flying drones we see taking photos and delivering packages. They are tricky to control because they are naturally unstable; if you push them, they wobble, and if the wind hits them, they drift.

To keep these drones steady, engineers usually use a control system called a PID controller. Think of a PID controller as a very strict, by-the-book coach. It constantly checks where the drone is versus where it should be. If the drone is off course, the coach yells, "Move left!" or "Move up!" The coach has three rules: it reacts to the current mistake (Proportional), it remembers past mistakes to fix lingering errors (Integral), and it predicts future mistakes to stop them early (Derivative). However, this coach has a flaw: it's a bit rigid. If the wind is too strong, the drone's motors hit their maximum speed (like a runner hitting a wall), and the coach keeps screaming "Go faster!" even though it can't. This causes the drone to overshoot and wobble wildly, a problem called "wind-up." To fix this, engineers added a "safety brake" (anti-windup) to stop the coach from screaming when the motors are maxed out. But even with the safety brake, the coach still can't learn or adapt to new, tricky situations on the fly.

This brings us to a new idea: what if we gave the coach a brain that could learn? This is where Artificial Neural Networks (ANNs) and Deep Neural Networks (DNNs) come in. Imagine these as a student sitting next to the coach. The student watches the wind and the drone's wobbles, learns from the mistakes, and whispers a tiny correction to the coach's "target" before the coach even yells. This paper, titled "Hybrid Software Controller for Precise Position and Trajectory Control of Quadcopters" by Mayank Sharma and colleagues from Amity University, explores exactly this. The researchers built a simulation to see if combining the strict coach (PID) with a learning student (Neural Network) could make the drone fly smoother and more accurately than the coach working alone.

The Experiment: Teaching the Drone to Dance in the Wind

The researchers set up a virtual 3D world to test their ideas. They created a digital quadcopter that weighed 1.0 kg and had a maximum thrust of 20 N. To make things realistic, they didn't just let the drone fly in a calm room; they blasted it with a wind that pushed and pulled with a strength of 0.3 N, changing direction in a wave pattern every 0.5 seconds (a frequency of 0.5 Hz). The goal was simple: get the drone to fly to a specific spot in the air—2.0 meters forward, 2.0 meters to the side, and 1.5 meters up—and stay there without wobbling.

They tested three different "brains" for the drone:

  1. The Classic Coach: A standard PID controller with the safety brake (anti-windup) to handle the motor limits.
  2. The Coach + The Student (ANN): The PID controller paired with a simple Artificial Neural Network. This student had a "shallow" brain with just two layers of neurons, designed to quickly spot errors and whisper a correction to the target.
  3. The Coach + The Deep Thinker (DNN): The PID controller paired with a Deep Neural Network. This student had a much "deeper" brain with four layers of neurons, including some special filters to ignore noise and handle complex, messy situations better.

What They Found: The Deep Thinker Wins the Race

The results, observed over a 20-second flight simulation, told a clear story. Both the "Coach + Student" teams were much better than the Classic Coach alone, proving that adding a learning layer helps the drone handle the wind. However, the two students had very different personalities.

The ANN (the simple student) was fast but a bit reckless. It reacted quickly to the wind, getting the drone to the target in about 2 seconds. But, it was a bit too eager. When it tried to correct the path, it sometimes pushed the drone too hard, causing it to overshoot the target and wobble a bit before settling down. It was like a sprinter who starts too fast and stumbles at the finish line. The drone's movements were a bit jerky, and it had to work harder (more "control effort") to stay on track.

The DNN (the deep thinker), on the other hand, was a bit more cautious at the start. It took slightly longer to get the drone moving, but once it got going, it was incredibly smooth. It didn't overshoot as much and settled into the target position with very little wobble. The simulation showed that after the first 5 seconds, the DNN was keeping the drone much closer to the perfect path than the ANN. In fact, the final "Root Mean Square" (RMS) error—a fancy way of measuring how far off the drone was on average—was about 0.03 meters for the DNN, compared to 0.05 meters for the ANN.

The difference was also clear in how the drone moved. The ANN made the drone's motors work harder and more erratically, especially in the twisting motions (roll and pitch). The DNN, however, kept the motor commands smooth and steady. It was like the difference between a driver who slams on the brakes and jerks the steering wheel versus a driver who glides smoothly through traffic.

The Verdict

The study suggests that while a simple learning network (ANN) can help a drone fly faster initially, a deeper, more complex learning network (DNN) is better at keeping the flight smooth and accurate, especially when the wind is blowing. By letting the DNN gently adjust the target path in real-time based on the errors it sees, the drone doesn't have to fight as hard against the wind.

The authors conclude that this "hybrid" approach—mixing the reliable, old-school PID controller with a modern, learning-based neural network—is a powerful way to make drones smarter. It keeps the stability of the classic system while adding the ability to adapt to the chaos of the real world. While these results were found in a computer simulation with a 20-second flight time, they suggest that future drones could navigate stormy skies with the grace of a dancer rather than the stumble of a clumsy robot.

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 →