SIMULINK | Making a Lego Segway balance on its own two wheels using a gyroscope | PI-controller, help!

6 views (last 30 days)
The concept is to make it balance (stand) on its own by the use of a gyroscope. I want to build a PI-controller doing this: So, if the lego segway is falling forward, I want it to move forward to "catch the robot"; same if its falling backwards, I want it to move backwards to "catch the robot". I understand what I want to do, but I am struggling to build this in Simulink. Can anyone help/explain how to approach this?

Answers (1)

Mischa Kim
Mischa Kim on 10 Oct 2017
Edited: Mischa Kim on 10 Oct 2017
Hello Steffen-Andre,
there are several entries in File Exchange that should help you get started, see here.
  1 Comment
Steffen-Andre Jensen
Steffen-Andre Jensen on 10 Oct 2017
I have been looking at the File Exchange already a few times but I havent found anything that helps my problem. Maybe I'm just bad at searching! Thanks anyway

Sign in to comment.

Categories

Find more on LEGO MINDSTORMS EV3 Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!