User Tools

Site Tools


lego_rip_initial

Lego Rotary Inverted Pendulum

Author: Joao Matos Email: jcunha@id.uff.br
Date: Last modified on 02/27/2017
Keywords: Rotary Inverted Pendulum , LQR, NXC.

This tutorial presents a Rotary Inverted Pendulum built with Lego parts and controlled using LQR in Simulink and NQC Language.


Motivation and Audience

This tutorial's motivation is to study about the mechanisms behind the control of a rotary inverted pendulum ,using Lego to build the structure and the NXT Brick to program the balance code using NQC language and the Simulink environment. Readers of this tutorial assumes the reader has the following background and interests:

  • Inverted Pendulum Mechanisms
  • Automatic Controls Theory (PID and LQR)
  • Controls Programming using lego NXT Brick (NQC language).
  • Controls Programming using Simulink.

The rest of the tutorial is presented as follows:

  • Parts List and Source
  • Construction
  • System Modeling
  • Programming
  • Final Words

Parts List and Source

Construction

System Modeling

Programming

Final Words

Simulink Version:

Bricx Command Center Version:

Special Thanks to Dr Oh . This Tutorial is based on the following papers and projects:

[1]

[2]

[3]

[4]

[5]

[6]

[7]

lego_rip_initial.txt · Last modified: 2017/07/21 15:59 by joaomatos