CNN-BASED ANGLE ESTIMATION FOR A FURUTA PENDULUM ON EDGE HARDWARE
2026 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Modern robotics operate under unstable dynamic conditions, making them rely on continuous real- time state data for stabilizing, with the data traditionally coming from encoders. With the advances in computer vision, and Convolutional Neural Network (CNN) models showing their strong ability to extract feature information from images, a use case was set up involving a Furuta pendulum. The goal of the use case was to investigate if angle predictions from a CNN model can either act as a complement to encoder data, or completely replace the need for encoders in a real-world setting. This would be done by predicting the motor arm and the pendulum angles in real time by passing image pairs through a CNN model. An experiment rig using a dual camera setup was built, and a dataset was gathered. Early fusion was used to merge the features from both images and the traditional classification head of the CNN models was replaced with a custom regression head. Three different CNN families were trained and evaluated: ResNet, EfficientNet and MobileNet. All models used ImageNet pre-trained weights as a starting point, and then fine-tuned on the collected dataset. All models underwent quantization as a way to boost their inference speed at the cost of accuracy. Inference was done on a Raspberry Pi 5 with a neural network booster board. The ResNet-10 model showed the strongest performance overall, compared to the other CNN models. The model predicted a mean absolute error in degrees of 1.39◦ for the motor arm and 0.95◦ for the pendulum, while maintaining an inference time of 1.69 ms. These results show that CNN models can predict angles with good accuracy, and that the inference time when predicting these angles will not be a bottleneck in a real-world setting.
Place, publisher, year, edition, pages
2026. , p. 25
Keywords [en]
Computer Vision, Convolutional Neural Networks, Inverted Pendulum, Furuta Pendulum, Quanser Cube Servo 3, ResNet, MobileNet, EfficientNet, Angle estimator
National Category
Computer Vision and Learning Systems
Identifiers
URN: urn:nbn:se:mdh:diva-77962OAI: oai:DiVA.org:mdh-77962DiVA, id: diva2:2075921
Subject / course
Computer Science
Presentation
2026-06-05, Zeta, Universitetsplan 1, Västerås, 13:15 (English)
Supervisors
Examiners
2026-06-222026-06-202026-06-22Bibliographically approved