Project of a Self-Balancing Robot Using a PIC Microcontroller
Abstract
The project developed as part of the subjects Instrumentation, Microcontrollers, and Control Systems, studied in the fourth year of the Control and Automation Engineering course, aims to create a robot that simulates the behavior of an inverted pendulum. This implies designing a robot capable of autonomously balancing on two wheels, interpreting data provided by sensors, and taking actions based on that data. This project provides an opportunity for the practical application of the concepts covered in these subjects, emphasizing the integration of knowledge in a single project. An inverted pendulum is an unstable system since its center of mass is located above the pivot point, tending to fall. To keep the system in balance, it is necessary to incorporate key elements, including a measurement unit that combines a 3-axis accelerometer and a 3-axis gyroscope, stepper motors as actuators, and a PIC microcontroller. After the mechanical and electronic construction of the robot, the next step is processing sensor data through developed software to obtain more precise and stable readings. Then, a PID controller is implemented, responsible for adjusting the position of the support point and the applied force to maintain the robot's balance continuously. The angle at which the robot is in relation to the ground is visible through an application that connects to the system via a Bluetooth module. During the project's development, it was possible to recognize the importance of certain aspects to ensure the effective performance of the system. Firstly, there is the need for a robust physical structure that ensures the alignment of the robot's wheels and the correct distribution of its mass. Furthermore, it is essential to ensure the proper synchronization of the control loop with the previously defined sampling period to allow the controller to react consistently to possible disturbances. These findings play a crucial role in the successful development and operation of the system. © American Society for Engineering Education, 2024.
- control
- instrumentation
- Integrative project
- multidisciplinary project
- robotics
- Balancing
- Closed loop control systems
- Digital control systems
- Gyroscopes
- Industrial robots
- Inverted pendulum
- Proportional control systems
- Stepping motors
- Wheels
- Automation engineering
- Control and automation
- Control engineering
- Engineering course
- Instrumentation
- Integrative project
- Inverted pendulum
- Multidisciplinary projects
- PIC microcontrollers
- Self-balancing robot
- Microcontrollers
URI
https://www.scopus.com/inward/record.uri?eid=2-s2.0-85202023676&partnerID=40&md5=a4e20dd1ac980a1555722037befb41b7https://repositorio.maua.br/handle/MAUA/626
Collections
Related items
Showing items related by title, author, creator and subject.
-
Mechatronics Engineering Integrate Project: An Approach in Project-Based Learning with the Subjects of Instrumentation, Control Systems, and Microcontrollers (Trabalho apresentado em evento)
Fernando Silveira Madani; Andressa Corrente Martins; Anderson Harayashiki Moreira; Alexandre Harayashiki Moreira (American Society for Engineering Education, 2023)When discussing integrating projects in classes, we often apply Project-Based Learning (PjBL) techniques. To promote skills, the PjBL methodology subjects students to tasks and challenges to develop a project that connects ... -
Common skills in projects from different areas of knowledge: Developing the professional profile (Trabalho apresentado em evento)
Mattasoglio Neto, Octavio; Palu, Matheus Ferreira; Matta, Eduardo Nadaleto da; Matumoto, Pedro Henrique de Souza; Nitz, Marcello (Institute of Electrical and Electronics Engineers Inc., 2023)The undergraduate programs in Brazil follow national guidelines in which are stated the competences that need to be developed along the course by students. Schools may include other specific competencies in order to meet ... -
Teacher's Perceptions of the Fertility in Implementing Project-based Learning in Engineering Courses (Trabalho apresentado em evento)
Mattasoglio Neto, Octavio; Souza, Gabriel Monesi (American Society for Engineering Education, 2024)This paper presents the results of a survey on teachers' conceptual change regarding the use of Project-Based Learnin (PBL). The objective is to investigate the teacher's perception of the fertility in the use of this ...