About  

  iLabs  

  Partners  

  Education  

  Developers  

  References  

  Calendar  

  Help  

Inverted Pendulum Experiemnt

Inverted Pendulum is a well known control theory experiment where by control laws are derived and tweaked as to balance a pole much like one balances a broom on their finger. This is a difficult practical run over four weeks in the UQ course METR4202 - Advanced Control and Robotics. The students construct models using Simulink within Matlab on their workstation and compile and run their designs on the hardware through connection to a second machine running the xPC kernel. This machine then directly interfaces with the inverted pendulum hardware.

Access to the lab in which the equipment for this experiment resides is limited and students in that course can only use the facilities for a few hours a week during their allotted prac time. Therefore the implementation of this experiment as an iLab would provide a significant increase in its availability to students. This experiment consists of many iterations of design and test. Whilst the mathematical models and computer simulations may successfully balance the pendulum, the actual lab equipment's behaviour is not so ideal. The students could greatly benefit from working with the real equipment whilst they build their early models and perform the many tweaks online, potentially queuing up several variations at once.

— Excerpt From Joel Carpenter's thesis


The objective of this experiment is to write a control program that swings a pole back and forth until it is balanced.

  • Students use MatLab to write a control program.
  • They login and uploaded their program to the server.
  • The experiment is run and the result datasets are collected and evaluated.
  • The student can then revicse their MatLab control program and rerun the experiment.

Inverted Pendulum client

  • As the experiment is run, data is graphed and in the upper right corner an animation of the results is diplayed.
  • On the right handside of the client a state diagram is dynamically updated to show the current state of the control program.
  • On the left handside are client display options. There is also a simple animation.

  • No labels
Write a comment…