skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: Tuning PID Controller for Quadrotor Using Particle Swarm Optimization
Energy expenditure for quadrotor control has a likelihood of being costly given parameter-dependent controllers that are less than optimal. The cost can grow proportionally when applied to multiple quadrotors for tracking and collaborative navigation tasks. This research aims to establish a basic approach to tuning PID (Proportional-Integral-Derivative) parameters for a simulated quadrotor drone. A PID controller for autonomy provides a straightforward method for correcting robotic movement based on its current state. However, applying a PID system to a flight controller poses challenges with an inherently under-actuated system, which includes the likelihood of large overshoots and lengthy adjustment times. To address this, we utilize PSO (Particle Swarm Optimization) for optimizing PID parameters in a simulated quadrotor. The PSO is employed to find optimal PID values for thrust, yaw, and translational movement on x- and y-positions by identifying converging values across randomly created particles. We conducted a set of experiments and compared it to the default PID controller. The experiments demonstrate converging properties for particles that achieve minimal fitness scores, particularly in reducing overshoot. The results indicate that the optimized PID controller outperforms the default PID controller without optimization. Using optimized PID controllers can decrease the amount of positional error during flight and when adjusting position with collaborative navigation and collision avoidance algorithms.  more » « less
Award ID(s):
2318682
PAR ID:
10615089
Author(s) / Creator(s):
;
Publisher / Repository:
IEEE
Date Published:
ISBN:
979-8-3503-6107-0
Page Range / eLocation ID:
168 to 175
Format(s):
Medium: X
Location:
New York, NY, USA
Sponsoring Org:
National Science Foundation
More Like this
  1. Zonta, Daniele; Su, Zhongqing; Glisic, Branko (Ed.)
    Civil infrastructures are susceptible to damage due to external forces such as winds and earthquakes. These external forces cause damage to buildings and different civil structures. To prevent this, active control systems are executed. These systems use sensors to measure the displacement of the infrastructure, then actuators are utilized to provide a force that counteracts that displacement. In this study, a Proportional Integral Derivative (PID) controller was used to minimize the impact of an earthquake disturbance on multi-story structures. The proportional, integral, and derivative gains of the controller were obtained using Particle Swarm Optimization (PSO). This PID controller was validated on a simulated five-story structure based on the Kajima Shizuoka building with five ideal actuators. The effectiveness of the PID controller in reducing the seismic response of the structure with regards to inter-story displacement and acceleration was compared to the uncontrolled response of the structure. It is found that the PID controller with PID parameters obtained from the PSO algorithm offers effective control for the simulated five story structure. 
    more » « less
  2. null (Ed.)
    Artificial intelligence methods such as fuzzy logic and particle swarm optimization (PSO) have been applied to maximum power point tracking (MPPT) for solar panels. The P-V curve of a solar panel exhibits multiple peaks under partial shading condition (PSC) when all modules of a solar panel do not receive the same solar irradiation. Although conventional PSO has been shown to perform well under uniform insolation, it is often unable to find the global maximum power point under PSC. Fuzzy adaptive PSO controllers have been proposed for MPPT. However, the controller became computation-intensive in order to adjust the PSO parameters for each particle. In this paper, fuzzy adaptive PSO-based and conventional PSO-based MPPT are compared and evaluated in the aspect of design and performance. A simple fuzzy adaptive PSO controller for MPPT was designed to reach the global optimal point under PSC and uniform irradiation. The controller combines the advantages of both PSO and fuzzy control. The fuzzy controller dynamically adjusts the PSO parameter to improve the convergence speed and global search capability. Since tuning of the PSO parameter is designed to be common for all particles, it reduced the computation complexity. The fuzzy controller’s rule base is designed to obtain a fast transient response and stable steady state response. Design of the fuzzy adaptive PSO-based MPPT is verified with simulation results using a boost converter. The results are evaluated in comparison to the results using a conventional PSO controller under PSC. Simulation shows the fuzzy adaptive PSO-based MPPT is able to improve the global search process and increase the convergency speed. The comparison indicates the settling time using the fuzzy adaptive PSO-based MPPT is 14% faster under PSC on average and 30% faster under uniform irradiation than the settling time using the conventional PSO. Both the fuzzy adaptive and conventional PSO controllers have similar output power tracking accuracy. 
    more » « less
  3. This paper presents a biologically inspired control system developed for maintaining balance in a simulated human atop an oscillating platform. This work advances our previous research by adapting a human balance controller to an inverted pendulum and controlled by linear-Hill muscle models. To expedite neuron/synapse parameter value selection, we employ a novel two-stage process that pairs a previously developed analytic method with particle swarm optimization. Using the parameter values found analytically as inputs for particle swarm optimization (PSO), we take advantage of the benefits of each method while avoiding their pitfalls. Our results show that PSO optimization allowed improved balance control from modest (<10%) changes to the synaptic parameters. The improved performance was accompanied by muscle coactivations, however, and further refinement is needed to better align overall behavior of the neural controller with biological systems. 
    more » « less
  4. Nonlinear optimal control problems are challenging to solve efficiently due to non-convexity. This paper introduces a trajectory optimization approach that achieves real-time performance by combining machine learning to predict optimal trajectories with refinement by quadratic optimization. First, a library of optimal trajectories is calculated offline and used to train a neural network. Online, the neural network predicts a trajectory for a novel initial state and cost function, and this prediction is further optimized by a sparse quadratic programming solver. We apply this approach to a fly-to-target movement problem for an indoor quadrotor. Experiments demonstrate that the technique calculates near-optimal trajectories in a few milliseconds, and generates agile movement that can be tracked more accurately than existing methods. 
    more » « less
  5. Stable Heteroclinic Channels (SHCs) are dynamical systems composed of connected saddle equilibria. This work demonstrates a control system that combines SHCs with movement primitives to enable swimming in a simulated six segment snake robot. We identify control system parameters for lateral undulation, where all joints oscillate with the same amplitude, and anguilliform swimming, where joint amplitudes increase linearly from the head to the tail. Swimming speed is improved by learning SHC movement primitive parameters. We also propose a method for adapting the gait amplitude and frequency with tactile sensor input to accommodate obstacles. Then, we evaluate the relationship between SHC movement primitive parameters and the resulting trajectories. The swimming speed and efficiency of SHC controllers for each gait are compared against a conventional serpenoid controller, which derives joint trajectories from sinusoids. Controllers are evaluated first in an unobstructed environment, then in straight passages of various widths, and finally in 65 randomly generated uneven channels. We find that the amplitudes of joint oscillations scale proportionally with the SHC controller parameters. Due to gait optimization, as well as adaptive amplitude and frequency in response to tactile input, the learned SHC control system exhibits an average 28.8% greater speed than a serpenoid controller that only adapts amplitude during contact. This research demonstrates that SHCs benefit from intuitive tuning like serpenoid control, while also effectively incorporating sensory information to generate smooth kinematic trajectories. 
    more » « less