ES
← Back to Portfolio
Robotics & Control December 2008

Robotic Writer — 5-DOF Scorbot III Simulation

A full simulation and control environment for a 5-DOF Scorbot III robotic arm that picks letter blocks and spells words. Uses Denavit-Hartenberg convention with analytical closed-form inverse kinematics for real-time performance.

DOF
5 joints
Kinematics
DH analytical closed-form
Backends
Scorbot III, Arduino, MATLAB
Visualization
Dash + Plotly 3D
Robotic Writer — 5-DOF Scorbot III Simulation — Architecture
#robotics#kinematics#denavit-hartenberg#simulation#dash#python#matlab

Business Context

Robotic manipulation requires solving both forward and inverse kinematics in real time. The inverse problem — finding joint angles for a desired end-effector position — has multiple solutions and must be computed efficiently for smooth trajectory execution. A 5-DOF serial manipulator like the Scorbot III presents a tractable but non-trivial kinematic chain that serves as an excellent educational and research platform for exploring these fundamentals.

Strategic Value

The system provides a complete simulation and control environment using Denavit-Hartenberg convention with analytical closed-form inverse kinematics — no iterative numerical methods, enabling smooth real-time trajectory execution. The robot picks letter blocks from a circular arc and spells words, requiring trajectory planning, multi-joint interpolation, gripper coordination, and workspace awareness. Three hardware backends (Scorbot III serial, Arduino steppers, MATLAB Engine) support deployment from educational to research contexts. What started as a 2004 lab exercise evolved into a full kinematics exploration tool with interactive 3D visualization.

The Challenge

Controlling a 5-DOF robotic arm requires solving both forward and inverse kinematics in real-time. The inverse problem — finding joint angles for a desired end-effector position — has multiple solutions and must be computed efficiently for smooth motion.

Our Approach

Denavit-Hartenberg systematic parameterization for 5-joint kinematic chain. Homogeneous transformation T₀₅ = T₀₁·T₁₂·T₂₃·T₃₄·T₄₅ with analytical closed-form inverse kinematics. Interactive 3D simulation with Dash/Plotly, multiple hardware backends (Scorbot III serial, Arduino steppers, MATLAB Engine), REST API.

Key Performance Indicators

KPIBaselineResultImpact
KinematicsTrial and error joint controlAnalytical DH inverse kinematicsReal-time Cartesian control
Hardware SupportSingle robot interface3 backends (Scorbot, Arduino, MATLAB)Flexible deployment

Architecture

robotic writer

robotic writer

The Task

A 5-DOF Scorbot III robotic arm picks letter blocks arranged on a circular arc and places them to spell words. What started as a 2004 lab exercise at Universidad de Concepción became a complete kinematics exploration environment — forward and inverse kinematics, trajectory planning, and multi-hardware control.

Denavit-Hartenberg Kinematics

The Scorbot III is modeled using the standard DH convention. The forward kinematics chain T₀₅ = T₀₁·T₁₂·T₂₃·T₃₄·T₄₅ computes end-effector pose from joint angles — five 4×4 homogeneous transformation matrices multiplied to give the complete gripper position and orientation.

The inverse problem — given a target (x, y, z, pitch, roll), find the joint angles — uses analytical closed-form solutions computed geometrically. No iterative numerical methods, no convergence issues, no local minima. This is critical for smooth real-time trajectory execution where the robot must move fluidly between pick and place positions.

JointTypeθdaα
BaseRevoluteθ₁d₁0-90°
ShoulderRevoluteθ₂0a₂
ElbowRevoluteθ₃0a₃
PitchRevoluteθ₄00-90°
RollRevoluteθ₅d₅0

The writing task requires trajectory planning between pick/place positions, coordinated multi-joint interpolation for natural motion, timed gripper open/close sequences, and workspace boundary awareness. Three hardware backends support different contexts: Scorbot III serial communication, Arduino stepper control, and MATLAB Engine integration.

Technology Stack

PythonDashPlotlyMATLABArduinoSerial CommunicationDenavit-HartenbergNumPy

Application Screenshots

Robotic Writer — 5-DOF Scorbot III Simulation

Technical Diagrams

robot dh frames

robot dh frames

robot workspace

robot workspace