Mutiara Nata Abadi  |  We work together, uniting our energy, and delivering the best solution
RT 121 Fuzzy Control: Ball-on-Beam
Education / GUNT Hamburg / Mechatronics / Automation /

Fuzzy methods are particularly suitable for systems that mathematics cannot describe adequately or easily. Fuzzy algorithms can offer major advantages, as the control strategy is developed not on the basis of exact mathematical modelling, but on a linguistic description of the process. Additional input variables and the rule base can be easily added.

  This experimental unit forms part of a series of teaching systems developed in collaboration with the Department of Automation and Information Technology at the Harz University of Applied Studies and Research.

  The RT 121 provides an introduction to fast, digital real-time control by fuzzy methods. A ball-beam model acts as a mechanical single-variable system. A fuzzy control is used to attempt to hold the ball in a specific position by tilting the beam, even when the position of the ball is modified by external influences.

  The position of the ball is determined using a resistive measuring system. A potentiometer detects the inclination of the beam. These sensors supply crisp signals to the fuzzy controller, where the signals are transformed into fuzzy input values and inferenced before being transformed back into a crisp output value. A servo motor equipped with a drive rod modifies the inclination of the beam and acts as an actuator.

  The control algorithms are initially written in the user-friendly development software FSH-Shell and then compiled to generate microcontroller code. The control strategy can be optimised at a later date.

  A joystick can be used to control the system manually. This allows the degree of difficulty of the control process to be estimated very accurately. 
  The well-structured instructional material sets out the fundamentals and provides a step-by-step guide through the experiments.


Learning Objectives / Experiments

- Introduction to the fundamentals of fuzzy control and

  microcontroller technology
- Working with the development software FSH-Shell 
- Development of a simple fuzzy control for a
  single-variable system using the elements
  * fuzzification, rule base, inference, defuzzification
- Implementation of fuzzy algorithms in the

  mechatronic system using microcontrollers 
- Optimising the algorithms on the mechatronic

  system using the online debugger


[1] Introduction to fuzzy control and microcontroller technology

[2] Ball-beam as mechanical single-variable system, SISO (Single Input - Single Output)

[3] Switchable between fuzzy and manual mode

[4] Servo motor for beam drive as actuator

[5] Microcontroller with RS232 port as fuzzy controller

[6] FSH-Shell development software for design and

optimisation of the fuzzy controller

[7] Resistive measuring system with film potentiometer as ball position sensor

[8] Potentiometer as beam inclination sensor

[9] Part of the structured teaching concept:

level 1 - basics


Technical Data

Beam, U-profile

- length: 500mm

- material: aluminium


-diameter: 25,4mm

- weight: 66g

Servo motor

- operating voltage: 5,0V

- actuation torque, interpolated: 206Ncm

- actuator velocity, interpolated: 0,18s/60°


- 8bit microcontroller Zilog Z8Encore

- 12-fold ADC 8bit

Software: FSH-Shell, runs under Windows XP or Windows Vista

Film potentiometer

- resistance value: 12,5kΩ +/-30%

- electrical path: 500mm

Dimensions and Weight
l x w x h: 600x520x330mm
Weight: approx. 20kg
Required for Operation
230V, 50/60Hz, 1 phase or 120V, 60Hz/CSA, 1 phase
Scope of Delivery
1 experimental unit
1 RS232 cable
1 FSH-Shell development software
1 set of instructional material
Order Details

080.12100  RT 121  Fuzzy Control: Ball-on-Beam