Self Stabilizing Still-Standing Bike

dc.contributor.authorAndersson, Gustaf
dc.contributor.authorDrejmo, Felix
dc.contributor.authorKryger, Oliver
dc.contributor.authorObaid, Mohamad Isak
dc.contributor.authorVasur, Nilas
dc.contributor.authorWermlund, Alexander
dc.contributor.departmentChalmers tekniska högskola / Institutionen för elektrotekniksv
dc.contributor.departmentChalmers University of Technology / Department of Electrical Engineeringen
dc.contributor.examinerSjöberg, Jonas
dc.contributor.supervisorJia, Qianlei
dc.date.accessioned2026-06-10T11:41:59Z
dc.date.issued2026
dc.date.submitted
dc.description.abstractThis 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.
dc.identifier.coursecodeEENX16
dc.identifier.urihttps://hdl.handle.net/20.500.12380/311175
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectAutobike
dc.subjectSelf Balancing Bicycle
dc.subjectLabVIEW
dc.subjectArduino
dc.subjectC
dc.subjectControl theory
dc.subjectSensor Fusion
dc.subjectPID
dc.subjectMyRIO
dc.subjectGyro
dc.titleSelf Stabilizing Still-Standing Bike
dc.type.degreeExamensarbete på kandidatnivåsv
dc.type.degreeBachelor Thesisen
dc.type.uppsokM2
local.programmeAutomation och mekatronik 300 hp (civilingenjör)
local.programmeDatateknik 300 hp (civilingenjör)
local.programmeMaskinteknik 300 hp (civilingenjör)

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
Kandidatarbete_slutrapport_EENX16-VT26-08A.pdf
Size:
26.49 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Size:
2.35 KB
Format:
Item-specific license agreed upon to submission
Description: