Skip to content
All apps

Robot arm & inverse kinematics (3D)

About this app

A robot arm with three joints: in forward mode you set the angles and the hand follows; in inverse mode you drag a target and the IK computes the angles — with two, one or no solution at all. Compare PTP and LIN motion on a glue seam, an overhead path and a stretch: the straight line in space turns curved in joint space, and near singularities the joint speed shoots up.

The idea

A robot can only set its joint angles directly, but tasks are stated in space: move the nozzle to this point. Forward kinematics goes from joint angles to the hand position; it always works and gives exactly one result. Inverse kinematics (IK) goes the other way, from a target to the angles. Outside the reach there is no solution, inside there are usually several, such as elbow up or elbow down. In a PTP move the angles are interpolated evenly between start and goal, and the hand follows an arc. In a LIN move the hand travels on a straight line, and IK is solved again for every intermediate point.

What the app shows

An arm with base, shoulder and elbow joints stands in a 3D scene. In “Forward” mode you set the three joint angles; in “Inverse” mode you drag a target sphere and the sliders follow. The app counts the solutions for the hand position and can show an alternative pose as a shadow and display the workspace. Under “Path” the arm runs three tasks: a glue seam, a path close to the base axis and a path to near full extension. A chart compares joint angles for PTP and LIN, and a calculation panel shows the formulas.

Things to try

In “Inverse” mode, drag the target sphere beyond the reach and watch the number of solutions drop to zero. Then play the glue seam once with PTP and once with LIN and compare the path deviation and the fastest joint. On the “Overhead” and “Stretch” paths, LIN can demand joint speeds above the limit near the singularity, and the app flags this with a warning.

Frequently asked questions

What is the difference between forward and inverse kinematics?
Forward kinematics computes the position and orientation of the end effector from known joint angles, and the result is unique. Inverse kinematics looks for the joint angles that put the end effector at a desired pose. It can have no, one or several solutions and is usually much harder to compute.
What is the difference between PTP and LIN motion in industrial robots?
In PTP (point to point) each joint moves evenly from its start angle to its goal angle, and the hand path in space is usually curved. In LIN (linear) the tool point moves along a straight line, so the controller has to solve inverse kinematics in every cycle. LIN is used for tasks such as gluing or welding along an edge.
What is a singularity in a robot arm?
A singularity is a pose in which the arm loses the ability to move in certain directions, for example when it is fully stretched or when the hand lies on the base axis. Near it, small hand movements require very large joint movements. During LIN moves this can push joints past their speed limits.
What can I try in the robot arm app?
You can set joint angles directly or drag a target and let IK compute them, choose the preferred elbow solution and show the shadow solution and the workspace. Three path tasks can be played with PTP and LIN and compared in the joint angle chart. The arm has fixed link lengths of 2.0 m and 1.8 m.

Subject: Engineering mechanics

More from Engineering mechanics

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps