element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Publications
  • Learn
  • More
Publications
Blog Self-Balancing Unicycle by MIT Student
  • Blog
  • Documents
  • Events
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Publications to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 9 Feb 2012 8:17 PM Date Created
  • Views 527 views
  • Likes 0 likes
  • Comments 0 comments
  • research
  • transportation
  • atmega
  • mit
  • hmi
  • robotics
  • ev
  • on_campus
  • embedded
  • Design
  • cabeatwell
  • prototyping
  • unicycle
  • university
  • energy
  • innovation
Related
Recommended

Self-Balancing Unicycle by MIT Student

Catwell
Catwell
9 Feb 2012

imageimage

Stephan Boyer with his unicycle (via Stephen Boyer)

 

Stephen Boyer, an electrical engineering student at MIT, took his transportation needs into his own hands by creating a motorized unicycle. However, he is leaving the balancing to the unicycle.

 

Boyer explains that the unicycle only balances in the direction of travel, forward or backward, so practice is needed to balance completely. To balance, the unicycle first determines its angle from the gyro and accelerometer feeds into a complementary filter.  The output is feed thru a PID loop at 625 Hz which estimates the correct balancing angle. A MOSFET H-Bridge drives the motor controlled by a PWM signal (1.22 kHz) then after.

 

Then the motor is called to react with a MOSFET H-Bridge, which responds to a 1.22 kHz pulse-width modulation (PWM) signal. The motor controller has an onboard voltage switch regulator that powers the logic circuit and the charge pump needed for the high-side MOSFET.

 

The unicycle is comprised of:

●    A custom MIG-welded steel chassis

●    A 450 Watt electric motor

●    Two 7 Ah 12 Volt batteries

●    A 5DOF inertial measurement unit

●    The OSMC H-bridge

●    An ATmega328P microcontroller

 

 

The circuit highlights:

 

●    Filtering Capacitors on the power rails

●    Reset pin for AVR microcontrollers

●    20 MHz external crystal oscillator

●    IMU connected to ADC pins

●    And indicator LEDs

 

 

The unicycle has a maximum speed of 15 mph and features a kill switch that is held in the rider’s hand and shuts off the motor when the rider lets go of it. Added software serves to detect accidental releases of the kill switch. The batteries last for at least 5 miles.

 

 

Future work includes building a case to protect the circuitry also making an aluminum chassis to lower the weight.

 

 

All of the coding was written and C and can be found on the public domain along with all of the unicycles components after the link. An EAGLE version of the circuit is on the way too. Time to build yourself a self-balancing unicycle! Alternatively, you can buy the 20 mph unicycle from Ryno for $25,000.

 

Cabe

http://twitter.com/Cabe_e14

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube