3D-Printed Self-Balancing Robot Brings Control Theory To Life (hackaday.com) 10
An anonymous reader quotes a report from Hackaday: Stabilizing an inverted pendulum is a classic problem in control theory, and if you've ever taken a control systems class you might remember seeing pages full of differential equations and bode diagrams just to describe its basic operation. Although this might make such a system seem terribly complicated, actually implementing all of that theory doesn't have to be difficult at all, as [Limenitis Reducta] demonstrates in his latest project. All you need is a 3D printer, some basic electronic skills and knowledge of Python. The components needed are a body, two wheels, motors to drive those wheels and some electronics. [Limenitis] demonstrates the design process in the video [here] (in Turkish, with English subtitles available) in which he draws the entire system in Fusion 360 and then proceeds to manufacture it. The body and wheels are 3D-printed, with rubber bands providing some traction to the wheels which would otherwise have difficulty on slippery surfaces.
Two stepper motors drive the wheels, controlled by a DRV8825 motor driver, while an MPU-9250 accelerometer and gyroscope unit measures the angle and acceleration of the system. The loop is closed by a Raspberry Pi Pico that implements a PID controller: another control theory classic, in which the proportional, integral and derivative parameters are tuned to adapt the control loop to the physical system in question. External inputs can be provided through a Bluetooth connection, which makes it possible to control the robot from a PC or smartphone and guide it around your living room. All design files and software are available on Limenitis' GitHub page.
Two stepper motors drive the wheels, controlled by a DRV8825 motor driver, while an MPU-9250 accelerometer and gyroscope unit measures the angle and acceleration of the system. The loop is closed by a Raspberry Pi Pico that implements a PID controller: another control theory classic, in which the proportional, integral and derivative parameters are tuned to adapt the control loop to the physical system in question. External inputs can be provided through a Bluetooth connection, which makes it possible to control the robot from a PC or smartphone and guide it around your living room. All design files and software are available on Limenitis' GitHub page.
Re: Okay... (Score:3)
when the Segway was popular
sorry, what?
Re: (Score:2)
I'd have thought projects like these would have been more common back when the Segway was popular.
Inverted pendulums were and still are popular.
As part of a high school project, my son built an inverted pendulum with legos and ran the software on an Arduino.
The project in TFA uses a PID control loop, which is the standard way to do it, but I've also seen it done with TensorFlow ANNs.
I have no idea what makes this particular implementation new or different or why it is newsworthy.
Re: Okay... (Score:2)
Cool Idea but already exists (Score:5, Interesting)
I built one of these [jjrobots.com] a few years ago. The hardware was a bit more modest as it only used an Arduino and it was open source (I modded the code to tweak the robot for another project).
They're a cool company, they got a lot of projects [jjrobots.com] and AFAIK they're all open source.
subject (Score:4, Interesting)
Engineering students were doing this in the 1970's (Score:2)