r/ArduinoProjects • • Nov 18 '20

Self-Balancing ROBOT

198 Upvotes

19 comments sorted by

View all comments

2

u/Cogitarius Nov 19 '20

How did you tune the PID gains? Did you use a simple inverted pendulum dynamics model?

2

u/Juliom912 Nov 19 '20

Yeah, just a simple one and took me some time changing the constants value to make the stabilization as good as possible

1

u/mewags Nov 19 '20

If you have any example of this tuning process or where your gains ended up I would be interested in reading more.

2

u/Juliom912 Nov 19 '20

Sure, I used this code as a guide to make mine