The intent of this paper is to provide information on how to implement a mobile inverted pendulum using the LEGO® Mindstorms NXT platform for educational purposes in mechatronics. A description of the dynamics of a mobile inverted pendulum is first, followed by a description of the hardware and software components composing the NXT platform. Discussed are the capabilities and the limitations of the NXT system. As a demonstration, a mobile inverted pendulum is built and controlled using a simple PID controller. Sensors used include a HiTechnic gyro sensor to measure angular rate for balancing and the NXT ultrasound sensor for obstacle avoidance. Shown are the simulated and experimental results of the angular rate and velocity control. Lastly, a breakdown of a hypothetical course in mechatronics highlights the described NXT mobile inverted pendulum.

This content is only available via PDF.
You do not currently have access to this content.