Built to order

Stewart Platform Ball-Balancing Rig with Servo Control

A Stewart platform is the 6-degree-of-freedom parallel robot used in flight simulators and precision positioning — six actuators move a top platform in any tilt and height combination. This project builds one as a student rig: six servo motors drive a hexagonal platform that balances a rolling ball, sensed by a resistive touch panel and held at a target point by a PID control loop. It ships with a working rig, kinematics notes, calibration procedure, report, PPT and viva Q&A. Suitable for B.E./B.Tech final-year projects in Mechanical, Mechatronics and Robotics.

Chat on WhatsApp — get a quotation

Mechanical C/C++ firmwareArduino Uno/MegaSG90 servo motorsResistive touch panelInverse kinematicsPID controlParallel roboticsLaser-cut mechanism partsHardware
Stewart Platform Ball-Balancing Rig with Servo Control — project thumbnail preview
More project photos (3)

The problem

The Stewart platform is one of the most instructive mechanisms in robotics: six linear actuators arranged in a hexagon give the top platform full 6-DOF motion — three translations and three rotations — from a single rigid moving part. Flight simulators, satellite antenna mounts and precision machining tables all use it, but students almost never touch one because industrial versions cost lakhs. This project makes the mechanism tangible with a student-scale rig: six hobby servo motors drive push-rod linkages to a hexagonal top platform, and the platform balances a ball — reading the ball's position from a resistive touch panel on the platform surface and tilting the platform with a PID loop so the ball rolls to and stays at a target point. The build touches parallel kinematics, inverse-kinematics servo mapping, sensor interfacing and closed-loop control in one prototype.

SYSTEM FLOW

5 components 5 connections

Live flow
Drag to explore
100%
actuatorBall

Rolls on the platform surface; its X-Y position is the feedback the PID loops control.

Follow the working sequence

How it works

  1. The six servos, platform geometry and linkage lengths are measured and the inverse-kinematics constants are set in firmware, with trim values calibrated per servo.
  2. On power-up the rig levels the platform by driving all servos to their neutral angles, corrected by the per-servo trims from the calibration procedure.
  3. The resistive touch panel reports the ball's current X–Y position on the platform surface to the Arduino.
  4. Two PID loops (X and Y axes) compute the platform tilt needed to roll the ball toward the target point, and the inverse kinematics convert those tilts into six servo commands.
  5. The student tunes the PID gains using the included procedure, and can move the target point at runtime to demonstrate ball tracking.
  6. In wave mode the platform performs open-loop 6-DOF motion (roll, pitch, heave) to show the mechanism's full motion envelope.

Tech stack:

  • Arduino Uno / Mega (ATmega328P / 2560)
  • 6 x SG90 servo motors with push-rod linkages
  • Resistive touch panel for ball position sensing
  • Inverse-kinematics geometry (documented derivation)
  • PID control loops (X and Y axes)
  • Laser-cut acrylic / plywood platform parts
  • C/C++ firmware with runtime target control
  • Ball-joint linkage hardware
Parameter Value
Degrees of freedom 6 (3 translation + 3 rotation)
Platform diameter Approximately 150 mm (design)
Tilt range Approximately ±15° per axis (design target)
Heave range Approximately ±15 mm (design target)
Control loop rate Approximately 100 Hz (design target)
Ball Standard table-tennis ball, approximately 40 mm, 2.7 g (design)
Servos 6 x SG90 class, approximately 2.5 kg·cm stall (datasheet)
Overall footprint Approximately 220 mm diameter base (design)

Project features

  • [Six-servo parallel mechanism] Six SG90-class servos in the classic hexagon layout drive the top platform through ball-joint push-rods — a genuine parallel robot, not a serial arm.
  • [Inverse-kinematics servo mapping] Platform tilt and height commands are converted to six servo angles in firmware, with the geometry derivation documented for the viva.
  • [Resistive touch ball sensing] A resistive touch panel on the platform reports the ball's X–Y position continuously; the control loop uses it as its feedback signal.
  • [PID ball-levelling control] Two coupled PID loops (one per axis) tilt the platform to keep the ball at a settable target point, with live-adjustable gains.
  • [Settable target positions] The target point is movable at runtime, so the rig can demo ball tracking — follow a moving target across the platform.
  • [Calibration procedure] Servo zero-trim, platform levelling and touch-panel corner calibration are all documented in a buyer-run procedure.
  • [Demo modes] Balance-at-center, track-target and platform-wave (open-loop 6-DOF motion display) modes selectable at startup.

What is included

  • Working Stewart platform ball-balancing rig (mechanism, servos, electronics)
  • Arduino firmware with inverse kinematics, PID loops and demo modes
  • Servo-trim, platform-levelling and touch-panel calibration procedure
  • Mechanical assembly drawings and wiring diagram
  • Project report PDF (parallel kinematics, control design, calibration results procedure)
  • PPT presentation for final review
  • Viva Q&A preparation document (Stewart geometry, inverse kinematics, PID on a MIMO plant)

Limitations & prerequisites

  • The rig balances a lightweight ball only; it cannot carry meaningful payloads on the platform.
  • Ball balancing is sensitive to dust on the touch panel and platform tilt drift — the calibration procedure must be followed.
  • SG90 servos have limited torque and some backlash; positioning is approximate, not precision-grade (typically ±2–3 mm repeatability expected after calibration).
  • The touch panel has edge dead-zones; the usable balance area is the central region of the platform.
  • Continuous operation heats the servos; demo sessions of about 15–20 minutes are recommended before a cool-down.
  • Parallel-robot theory is covered at the rig's level; full 6x6 Jacobian analysis is noted as future scope.

Frequently Asked Questions

What makes this a parallel robot, and why does it matter?

In a serial arm, errors accumulate along the chain; here six actuators share the load in parallel, which is why Stewart platforms are stiff and precise. The rig lets the student build and control one, which is rare at student scale.

How is the ball's position measured?

A resistive touch panel laminated on the platform surface acts like a big 2D potentiometer: the ball's pressure gives X–Y coordinates. The firmware filters the reading before feeding it to the control loops.

What is inverse kinematics here?

For a desired platform tilt and height, the firmware computes the required length of each of the six legs, then maps leg length to servo angle. The geometry derivation is documented in the report so the student can explain it in the viva.

Can the platform do anything besides balancing?

Yes — the wave demo mode drives open-loop 6-DOF motion (roll, pitch, heave), which shows the mechanism's full motion envelope without the ball.

Why does the ball need a calibration procedure?

Servos have individual zero offsets and backlash, and the touch panel needs corner mapping; without calibration the platform tilts asymmetrically and the ball drifts. The included procedure takes about 20 minutes.

Is this project suitable for a final-year project?

Yes — for Mechanical, Mechatronics and Robotics programs. It combines parallel-robot kinematics, embedded control, sensor interfacing and experimental tuning in one build. Suitable for B.E./B.Tech final-year projects in Mechanical, Mechatronics and Robotics.

Components & software requirements
  • Arduino Uno / Mega (ATmega328P / 2560)
  • 6 x SG90 servo motors with push-rod linkages
  • Resistive touch panel for ball position sensing
  • Inverse-kinematics geometry (documented derivation)
  • PID control loops (X and Y axes)
  • Laser-cut acrylic / plywood platform parts
  • C/C++ firmware with runtime target control
  • Ball-joint linkage hardware
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation