===== Lego Ball and Beam ===== **Keywords:**Lego,NXT,Ball and Beam,PID,LQR. ---- ===== Motivation and Audience ===== Motivation and Audience: This tutorial's motivation is to study about the mechanisms behind the control of a classical ball and beam problem,using Lego to build the structure and the NXT Brick to program the balance code using NXC(Not Exactly C) language and the Matlab environment. Readers of this tutorial assumes the reader has the following background and interests: .Automatic Controls Theory (PID and LQR) .Controls Programming using lego NXT Brick (NXC language). .Controls Programming using Matlab. ---- ===== Parts List and Source ===== [[ballandbeam_parts|Parts List]] ---- ===== Construction Instructions ===== {{::new_instructions_ball_and_beam.rar| Step by Step Building}} ---- ===== System Modeling ===== . [[ballandbeam_modelling|System Modeling.]] ---- ===== Programming ===== . [[ballandbeam_code|Programming]] ----