Back to search

Chalmers University of Technology

Self Stabilizing Still-Standing Bike

Abstract

dc:description.abstract

This report presents the development of a control system for balancing a stationary bicycle. The system uses a gyro driven by a brushless motor to apply a stabilizing torque, enabling balance without any forward velocity. The project models the bicycle as an inverted pendulum, described using a nonlinear state-space representation. Roll angle estimation is achieved through a complementary filter fusing accelerometer and gyroscope data from an IMU. A cascade PID control structure regulates the motor current in response to the measured tilt. The control algorithm was developed for implementation on a National Instruments MyRIO platform using LabVIEW and then implemented on an ESP32 microcontroller as a standalone alternative due to hardware and software compatibility issues. Simulation results demonstrate that the controller is capable of stabilizing the bicycle within the physical limits of the hardware. Hardware and software compatibility issues between different bicycles in the Autobike project limited full experimental validation, and several directions for future development are identified and discussed.

Degree

thesis:*
Level thesis:degree_level
M2
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för elektroteknik
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Andersson, Gustaf
  • Drejmo, Felix
  • Kryger, Oliver
  • Obaid, Mohamad Isak
  • Vasur, Nilas
  • Wermlund, Alexander
Advisor dc:contributor.supervisor
  • Jia, Qianlei
Committee member dc:contributor.committeemember
  • Sjöberg, Jonas

Subjects

dc:subject × 10

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
EENX16

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Andersson, Gustaf; Drejmo, Felix; Kryger, Oliver; Obaid, Mohamad Isak; Vasur, Nilas; Wermlund, Alexander. Self Stabilizing Still-Standing Bike. M2 thesis, 2026. https://hdl.handle.net/20.500.12380/311175