Implementation of Kalman filter on ball and beam experiment using Labview

S.A. Naz, M.R. Katebi, L. Balbis

Research output: Contribution to conferencePaper


This paper presents the implementation of a real time Kalman filter in a ball and
beam experiment and PID control using Labview. The basic aim is to balance a rolling ball while controlling the beam angle using a DC servo motor. Based on analytical modelling and taking some experimental observations, a mathematical model is derived. A PID controller is used along with the Kalman filter to balance the ball on the beam. It is shown that the use of a Kalman filter can estimate a better value of the measured parameter. The controller and the Kalman filter are first simulated in Matlab and then they are implemented in LabVIEW. LabVIEW is interfaced to the ball and beam setup through a DAQ card and a PWM circuit designed to provide the right input to the motor. Real time results are presented to demonstrate the design method.
Original languageEnglish
Number of pages6
Publication statusUnpublished - 2007
EventInternational Control Conference 2006 - Glasgow, UK
Duration: 30 Aug 20061 Sep 2006


ConferenceInternational Control Conference 2006
Abbreviated titleICC2006
CityGlasgow, UK
OtherThe Conference covers Methods, Technology, Applications and Education in Control Engineering. UKACC seeks to act as an effective link between the UK and the international control communities, and to provide a focus for International Federation of Automatic Control (IFAC) related activities. UKACC has three constituent members: The Institution of Engineering and Technology (IET), The Institute of Measurement and Control (IMC), and The Institution of Mechanical Engineers (IMechE).
Internet address


  • control education
  • control system design
  • PID controllers
  • kalman filter


Dive into the research topics of 'Implementation of Kalman filter on ball and beam experiment using Labview'. Together they form a unique fingerprint.

Cite this