Selfbalancing robot (Arduino)

Posted on 20/07/2012 by sebnil
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

In the video you can see that the robot stays at roughly the same spot on the floor and handles a lighter push without any problem. To achieve this I have two cascade PID controllers and low pass filter on both wheel speed and the robot's angle. Source code, component list and more info [Update 2012-07-27] I programmed a simple moving average filter. This will remove the rapid changes and make the robot calmer and with less overshoots. It also handles pushes much better than before. Video ...


Selfbalancing robot (Arduino)

In the video you can see that the robot stays at roughly the same spot on the floor and handles a lighter push without any problem. To achieve this I have two cascade PID controllers and low pass filter on both wheel speed and the robot's angle.

Source code, component list and more info

[Update 2012-07-27]

I programmed a simple moving average filter. This will remove the rapid changes and make the robot calmer and with less overshoots. It also handles pushes much better than before. Video here.

  • Actuators / output devices: geared motors
  • Control method: PID
  • CPU: arduino leonardo
  • Operating system: Arduino
  • Power source: NiMH 12V 1600mAH
  • Programming language: Arduino
  • Sensors / input devices: motor encoders, IMU sensor
LikedLike this to see more

Spread the word

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post