Development of a PID Controlled Arduino-Based Stabiliser
Inverted pendulum remained as the most popular topic for control theory researches because of its characteristic of being non-linear, unstable and under-actuated system. It is ideal for verification, validation and enhancement of control theory by stabilizing the inverted pendulum in an upright posi...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
EDP Sciences
2018-01-01
|
Series: | MATEC Web of Conferences |
Online Access: | https://doi.org/10.1051/matecconf/201815202020 |
id |
doaj-c059d627bdda47a6ab50e18597f0522e |
---|---|
record_format |
Article |
spelling |
doaj-c059d627bdda47a6ab50e18597f0522e2021-02-02T07:05:16ZengEDP SciencesMATEC Web of Conferences2261-236X2018-01-011520202010.1051/matecconf/201815202020matecconf_eureca2018_02020Development of a PID Controlled Arduino-Based StabiliserWah Yee LynHoo Choon LihFelicia Wong Yen MyanTai Jun JetInverted pendulum remained as the most popular topic for control theory researches because of its characteristic of being non-linear, unstable and under-actuated system. It is ideal for verification, validation and enhancement of control theory by stabilizing the inverted pendulum in an upright position using various controller and stabilizer mechanism. For this project, Proportional-Integral-Derivative (PID) controller is used to stabilize the inverted pendulum by tuning the respective gains (kP, kI, and kD) to control the parameters of inverted pendulum which includes the rise time, settling time, overshoot and steady-state error in cooperation with of Arduino microcontroller. The objective of this project is to design and build a stabilizer mechanism with the integration of mechanical and electrical components to stabilize two Directional (2D) inverted pendulum similar to 3D printer mechanism. Besides that, PID controller will be tuned in Arduino microcontroller and control the output of stabilizer mechanism. The stabilizer mechanism is designed in SolidWorks software and built using various manufacturing techniques, raw materials and 3D printing, while the electronics components such as gyroscope and Direct Current (DC) motors are controlled using Arduino Due in C++ language. The gyroscope determines the tilting angle of the pendulum as a feedback in the control loop, and the gains of PID are used to control the speed and direction of DC motor to provide sufficient force/torque to keep the inverted pendulum in an upright position. The stabilizer mechanism with inverted pendulum has been built and the gains of PID have been tuned using “trial and error” method as friction is now taken into consideration. The inverted pendulum is successfully stabilized in an upright position (0o measure at z-axis) using control theory.https://doi.org/10.1051/matecconf/201815202020 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Wah Yee Lyn Hoo Choon Lih Felicia Wong Yen Myan Tai Jun Jet |
spellingShingle |
Wah Yee Lyn Hoo Choon Lih Felicia Wong Yen Myan Tai Jun Jet Development of a PID Controlled Arduino-Based Stabiliser MATEC Web of Conferences |
author_facet |
Wah Yee Lyn Hoo Choon Lih Felicia Wong Yen Myan Tai Jun Jet |
author_sort |
Wah Yee Lyn |
title |
Development of a PID Controlled Arduino-Based Stabiliser |
title_short |
Development of a PID Controlled Arduino-Based Stabiliser |
title_full |
Development of a PID Controlled Arduino-Based Stabiliser |
title_fullStr |
Development of a PID Controlled Arduino-Based Stabiliser |
title_full_unstemmed |
Development of a PID Controlled Arduino-Based Stabiliser |
title_sort |
development of a pid controlled arduino-based stabiliser |
publisher |
EDP Sciences |
series |
MATEC Web of Conferences |
issn |
2261-236X |
publishDate |
2018-01-01 |
description |
Inverted pendulum remained as the most popular topic for control theory researches because of its characteristic of being non-linear, unstable and under-actuated system. It is ideal for verification, validation and enhancement of control theory by stabilizing the inverted pendulum in an upright position using various controller and stabilizer mechanism. For this project, Proportional-Integral-Derivative (PID) controller is used to stabilize the inverted pendulum by tuning the respective gains (kP, kI, and kD) to control the parameters of inverted pendulum which includes the rise time, settling time, overshoot and steady-state error in cooperation with of Arduino microcontroller. The objective of this project is to design and build a stabilizer mechanism with the integration of mechanical and electrical components to stabilize two Directional (2D) inverted pendulum similar to 3D printer mechanism. Besides that, PID controller will be tuned in Arduino microcontroller and control the output of stabilizer mechanism. The stabilizer mechanism is designed in SolidWorks software and built using various manufacturing techniques, raw materials and 3D printing, while the electronics components such as gyroscope and Direct Current (DC) motors are controlled using Arduino Due in C++ language. The gyroscope determines the tilting angle of the pendulum as a feedback in the control loop, and the gains of PID are used to control the speed and direction of DC motor to provide sufficient force/torque to keep the inverted pendulum in an upright position. The stabilizer mechanism with inverted pendulum has been built and the gains of PID have been tuned using “trial and error” method as friction is now taken into consideration. The inverted pendulum is successfully stabilized in an upright position (0o measure at z-axis) using control theory. |
url |
https://doi.org/10.1051/matecconf/201815202020 |
work_keys_str_mv |
AT wahyeelyn developmentofapidcontrolledarduinobasedstabiliser AT hoochoonlih developmentofapidcontrolledarduinobasedstabiliser AT feliciawongyenmyan developmentofapidcontrolledarduinobasedstabiliser AT taijunjet developmentofapidcontrolledarduinobasedstabiliser |
_version_ |
1724300043484135424 |