Lecture 9 23
Overview
The lecture develops forward and inverse kinematics for the three-revolute-joint Dobot Magician Lite, showing how to assign joint axes and coordinate frames, build homogeneous transformations, and calculate end-effector position in MATLAB. It tests the results against DobotLab, using provisional link dimensions of A1 = 45, A2 = 100, and A3 = 240, and demonstrates that inaccurate geometry causes increasing position errors that must be corrected before inverse kinematics can match the simulator.
Key takeaways
- Forward kinematics for the Dobot Magician Lite depends on assigning each revolute joint’s z-axis and a consistent right-handed coordinate frame before forming transformation matrices.
- The A2 translation must rotate with θ2, so its frame-1 components are −A2 sin θ2 and A2 cos θ2 rather than a constant vertical offset.
- The lecture models the Dobot’s J2-J3 coupling by using θ3 − θ2 in the third-link transformation.
- The dimensions A1 = 45, A2 = 100, and A3 = 240 are provisional estimates, not verified robot measurements; simulator comparisons show that inaccurate geometry creates larger errors at larger joint angles.
- MATLAB’s composed transformation 0H3 yields position from its fourth column and orientation from its upper-left 3 × 3 block.
- Inverse kinematics cannot reliably reproduce a target pose when the forward model uses incorrect link dimensions or offsets, so geometry calibration should come first.
Chapters
- The class focuses on forward and inverse kinematics for the Dobot Magician Lite.
- MATLAB is used to calculate joint-to-position mappings, and DobotLab is used to check results.
- The planned quiz requires verifying forward and inverse kinematics with the DobotLab simulator.
- The arm is modeled with three revolute joints, with the first joint axis perpendicular to the second and the second parallel to the third.
- The end effector is assigned a terminal coordinate frame, and joint angles are labeled θ1, θ2, and θ3.
- Each joint’s z-axis is assigned along its rotation axis, following the coordinate-frame rules introduced in class.
- The frames use right-handed x, y, and z axes, with each x-axis perpendicular to and intersecting the preceding z-axis where required.
- The initial choices for x1 and x2 are checked against the frame rules, and the x3 direction is corrected.
- Positive θ1, θ2, and θ3 directions are checked with the right-hand rule around each joint’s z-axis.
- The frame origins are chosen for a simplified kinematic diagram, with A1, A2, and A3 labeling successive link offsets.
- The simplified drawing places the first two frame origins apart along z0, but the physical robot may also have x- and y-offsets.
- The lecturer cautions that frame placement and physical robot geometry must not be treated as identical.
- The class consults the Dobot Magician Lite geometry to estimate A1, A2, and A3.
- Initial geometry discussion includes dimensions around 107 and 150, but the lecturer switches to provisional values for calculations.
- The working assumptions become A1 = 45, A2 = 100, and A3 = 240, explicitly marked as estimates rather than verified dimensions.
- The rotation from frame 0 to frame 1 is formed as a z-axis rotation by θ1 followed by a projection into the selected frame-1 axes.
- The resulting 0H1 homogeneous transformation includes the selected frame orientation and an A1 translation along z0.
- The translation components are interpreted as frame-0-to-frame-1 distances along x0, y0, and z0.
- The 1H2 rotation matrix is built from θ2 and the chosen orientation of x2, y2, and z2 relative to frame 1.
- The A2 link offset is expressed in frame-1 coordinates as x = −A2 sin θ2 and y = A2 cos θ2, with no z offset.
- The lecture explains that these components preserve the link length as θ2 changes, rather than treating A2 as a fixed vertical displacement.
- The 2H3 transformation represents the A3 link with x = −A3 sin θ3 and y = A3 cos θ3 in the uncoupled case.
- The Dobot’s J2-J3 coupling is incorporated by using the combined angle θ3 − θ2 in the third-joint transformation.
- The adjusted transformation is used to represent the arm’s coupled motion when calculating the end-effector pose.
- The full forward transformation is calculated as 0H3 = 0H1 × 1H2 × 2H3.
- The final matrix’s fourth column gives end-effector position px, py, and pz.
- The upper-left 3 × 3 block represents the end-effector orientation, and MATLAB is chosen to simplify the symbolic matrix multiplication.
- The lecture enters the three homogeneous transformations into MATLAB, including the coupled θ3 − θ2 terms.
- With the provisional dimensions and all joint angles set to zero, the calculated position is px = 240, py = 0, and pz = 145.
- The code is corrected and rerun after a substitution mistake, illustrating the need to check variable names and symbolic expressions.
- Changing J1 to 40° produces MATLAB coordinates around x = 183.85 and y = 154, close to DobotLab’s reported x ≈ 183.8 and a similar y value.
- At J2 = 5°, the predicted position is compared with the simulator, with small discrepancies attributed to the provisional dimensions.
- Increasing J2 to 15° produces a larger position mismatch, demonstrating that geometry errors become more significant as the arm moves.
- A J2 = 15° test shows roughly a 10 mm position discrepancy, prompting recalibration of the assumed link lengths and offsets.
- A J3 = 30° test also yields a substantial z-position mismatch, reinforcing the need to consult accurate CAD dimensions.
- The inverse-kinematics procedure is introduced as solving for θ1, θ2, and θ3 from a target position; its accuracy depends on correcting errors in the forward model.
Transcript excerpt
0:03 Okay, welcome to robotics 1. In today's class, we are going to work out the forward and inverse chynatics of the practical robot arm. And and so we'll use dubot as an example. toward magician light. I will show you how to set the problem up, how to identify the coordinate systems and then how to solve the forward panatics problem and solve the inverse chamomatics problem using MATLAB. Remember today's quiz will involve you have to verify your forward
0:54 and inverse chynatic solution with the dubot lab simulator. So today's task is forward and inverse dynamatics of blueot magician like Now you have the Dubot magician light robot arm in front of you. I have actually shown you the the first revolute. So this is the
1:43 revolute joint which is perpendicular to the second revolute joint which is parallel to the third revolute joint. So I'm going to draw this diagram. So this is the first revolute joint. The first revolute joint. This first revolute joint. There is this second revolute joint. And then what you have is you have the third review joint. So,
2:45 the third joint and then you have this end effect. Now I'm going to assume that this is ZN because as per the what are the rules? Rule number one Z-axis to join Second rule, xn
3:34 perpendicular to and intersects zn minus one. And last but not least, you have right hand coordinate system. So this is z. Now from the actual Dubot lab we have to specify we we know that this is X knot. This is X not. So this is Z not this X not. Now second joint is this. So we have to find out Z1. This is Z1.
4:23 Then third joint, this is Z2. And I'm going to assume
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, ssredkar.