Segfault, an analog balancing scooter

Energy & Sustainability

ChArLeS from Cambridge, MA, wrote in with his self-balancing scooter.

SEGFAULT is a balancing vehicle with a 100% hardware stability controller. Not a single line of code runs to keep the vehicle upright.

An analog complementary filter implemented with operational amplifiers combines the outputs of an accelerometer and rate gyroscope and passes it to a proportional-integral (PI) compensator. The output of the PI compensator has a steering offset differentially added to it. The resulting analog voltage is the input to two custom 24 volt, 30 amp locked-antiphase H-bridge drivers (Class D amplifiers), which control the two 27:1 geared, 500 watt drive motors.

The vehicle frame is waterjet-cut aluminum and diamond-plate aluminum, and features a tiltable handlebar for steering input. Lastly, the P, I, and K controller gains are accessible and tunable by the user through a set of knobs on the handlebars.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

My interests include writing, electronics, RPGs, scifi, hackers & hackerspaces, 3D printing, building sets & toys. @johnbaichtal nerdage.net

View more articles by John Baichtal
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK