# PID-Autotuning **Repository Path**: longsir9627/PID-Autotuning ## Basic Information - **Project Name**: PID-Autotuning - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-08-28 - **Last Updated**: 2024-08-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README This repository contains an implementation of a Genetic Algorithm (GA) for tuning the gains of a PID Controller. The focus of this study was on PID controllers used on Unmanned Aerial Vehicles(UAV). autotuning_script.m: This is a standalone file and simulates the dynamics of a second order system. The tuning is based on the satisfaction of certain criteria. autotuning_v2: This file requires the "reference_tracking.slx" Simulink model to run. Tuning is achieved based on reference tracking a demanded output. The work was conducted as part of my undergraduate research thesis.