User Tools

Site Tools


lego_rip_initial

This is an old revision of the document!


LEGO ROTARY INVERTED PENDULUM

Keywords:Lego,NXT,Rotary,Inverted,Pendulum.


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:

This Tutorial is based on the following papers and projects:

[1]

[2]

[3]

[4]

[5]

[6]

[7]

lego_rip_initial.1462063259.txt.gz · Last modified: by joaomatos