Return to search

Self-Balancing Robot Control System in CODESYS for Raspberry Pi : Design and Construction of a Self-Balancing Robot using PLC-programming tools / Styrsystem till en självbalanserande robot i CODESYS för Raspberry Pi : Design och konstruktion av en självbalanserande robot med PLC-programmeringsverktyg

The Department of Applied Physics and Electronics at Umeå University offers education and conducts research in the field of automation and robotics. To raise the competence in automation in the CODESYS development environment it’s proposed to build a remote controlled self-balancing robot as a testing platform which is then programmed using CODESYS for Raspberry Pi.   The chassis of the robot consists of laser-cut plexiglass plates, stacked on top of each other and fixed using threaded rods, nuts and washers. On these plates the robots’ electrical components, wheels and motors are attached.   The control system is designed as a feedback loop where the robots’ angle relative to the gravity vector is the controlled variable. A PID-controller is used as the system controller and a Kalman Filter is used to filter the input signals from the IMU board using input from both the accelerometer and the gyro.   The control system is implemented in CODESYS as a Function Block Diagram (FBD) using both pre-made, standard function blocks and customized function blocks. By using the in-built web-visualization tool the robot can be remote controlled via Wi-Fi.   After tuning the Kalman Filter through plot-analysis and the PID-controller through Ziegler-Nichols method the robot can stay balanced on a flat surface.   The robots’ performance is tested through a series of test scenarios of which it only completes one out of four. The project ran out of time before further testing could be done.   For future work one could improve the performance of the PID-controller through more sophisticated tuning methods. One can also add a steering-function or test different type of controllers.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:umu-133990
Date January 2016
CreatorsEriksson, Emil
PublisherUmeå universitet, Institutionen för tillämpad fysik och elektronik
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationMA ; 1622

Page generated in 0.002 seconds