lecture 9 9
Overview
The lecture develops forward kinematics for a revolute-prismatic robot, showing how to assign coordinate frames, translate a frame when the standard intersection rule fails, construct homogeneous transformations, and obtain the end-effector position. It then derives velocity equations for the R-P and two-revolute-joint examples, introduces the Jacobian as the map from joint velocities to end-effector velocity, and demonstrates coordinate conventions, joint controls, workspace limits, and safety interlocks using Dobot Lab and a Dobot Magician Lite.
Key takeaways
- For the revolute-prismatic example, the end-effector position is px = (A2 + D) cos(theta1), py = (A2 + D) sin(theta1), and pz = A1.
- When a prismatic-joint layout makes the standard x-axis intersection rule impossible at the joint location, translating the frame to the valid intersection restores the geometric convention, but the translation must be reflected in the homogeneous transform.
- The R-P end-effector velocity depends on both joint rates: px_dot = D_dot cos(theta1) - (A2 + D) sin(theta1) theta1_dot and py_dot = D_dot sin(theta1) + (A2 + D) cos(theta1) theta1_dot.
- For a planar two-revolute robot, the Jacobian maps [theta1_dot, theta2_dot] to [px_dot, py_dot, pz_dot], enabling motor-speed commands to produce desired end-effector motion.
- A robot's mathematical inverse-kinematics solution may still be physically unreachable because of joint limits or workspace dead zones; the Dobot Lab demonstration makes these hardware constraints visible.
- Dobot Magician Lite's joint interlock can couple joints 2 and 3 for safety, so its physical behavior may differ from a model that treats every joint as independently adjustable.
Chapters
- The example combines a revolute joint with a prismatic piston-cylinder joint and an end effector.
- The lecturer assigns z-axes through the joint axes, with z0 at the revolute joint and z1 along the prismatic extension.
- The prismatic-joint geometry makes it impossible to satisfy every standard frame-assignment rule at the original joint location.
- The standard rules require each z-axis to follow its joint, x_n to intersect z_(n-1), and each x-y-z set to form a right-handed triad.
- In this R-P layout, x1 cannot intersect z0 regardless of whether it is chosen vertically or into or out of the board.
- The lecturer selects a consistent x1 direction, constructs y-axes by the right-hand rule, and accepts the intersection-rule exception for this prismatic-joint case.
- The original frame 1 sits at the prismatic joint, where its x-axis is offset from z0.
- Frame 1 is translated to the unique location where x1 intersects z0, allowing the geometric frame rules to be satisfied.
- The translation does not change the rotation matrix, but it must be accounted for when determining homogeneous-transform translations.
- For the revolute joint, the rotation about z0 is combined with a projection matrix because frames 0 and 1 are not aligned.
- The stated axis alignments are x1 along y0, y1 along z0, and z1 along x0.
- Multiplying the rotation and projection matrices yields the frame-1 orientation, which differs from a plain z-axis rotation matrix.
- The transform from frame 0 to frame 1 contains the derived rotation matrix and translation vector [0, 0, A1].
- A1 is a fixed offset along z0; the x0 and y0 translation components are zero.
- The lecture distinguishes this fixed geometric offset from the angle theta1, which changes the orientation.
- The second joint is prismatic, so its joint motion contributes an identity rotation matrix rather than a sine-cosine rotation.
- Frames 1 and 2 are aligned in the example, making their projection matrix the identity as well.
- The second homogeneous transform therefore carries the changing prismatic displacement in its translation component.
- The distance from translated frame 1 to the original end-effector frame 2 is [0, 0, A2 + D] in frame-1 coordinates.
- A2 is a fixed link offset, while D is the variable extension of the prismatic joint.
- The lecturer emphasizes using the translated frame 1 when measuring this transform, rather than reverting to its original location.
- The overall transform is calculated as 0H2 = 0H1 multiplied by 1H2.
- The multiplication combines theta1-dependent orientation with the [0, 0, A2 + D] translation in frame 1.
- The lecturer works through the 4-by-4 matrix entries to show how the rotation terms and position components emerge.
- The resulting position is px = (A2 + D) cos(theta1), py = (A2 + D) sin(theta1), and pz = A1.
- A2 and A1 are fixed dimensions; theta1 and D determine the changing x-y position.
- A two-dimensional geometric check confirms the transform result: D extends the radial reach while theta1 sets its direction.
- The lecturer summarizes the frame rules: z follows the revolute axis or prismatic extension axis, x_n intersects z_(n-1) when possible, and x-y-z forms a right-handed triad.
- Every rotation matrix is combined with a projection matrix to account for frame-axis alignment.
- When a prismatic-joint configuration prevents the intersection rule, translating a frame can restore the geometry while preserving the needed offset in the homogeneous transform.
- For the R-P example, px and py depend on A2, D, and theta1, while pz remains the constant A1.
- The lecture treats time t as the independent variable and D(t) and theta1(t) as time-varying joint variables.
- Writing px(t) explicitly prepares the position equation for differentiation into a velocity equation.
- Differentiating px = (A2 + D) cos(theta1) requires both the product rule and the chain rule.
- The resulting x-velocity is px_dot = D_dot cos(theta1) - (A2 + D) sin(theta1) theta1_dot.
- The derivation identifies D_dot as prismatic-joint speed and theta1_dot as revolute-joint speed.
- Differentiating py = (A2 + D) sin(theta1) gives py_dot = D_dot sin(theta1) + (A2 + D) cos(theta1) theta1_dot.
- Since pz = A1 is constant, the end-effector velocity along z is pz_dot = 0.
- The lecture notes that symbolic differentiation becomes cumbersome for higher-degree-of-freedom robots and previews MATLAB for later calculations.
- The next example uses two parallel revolute joints, angles theta1 and theta2, and link dimensions including A2 and A4.
- Its end-effector coordinates are px = A2 cos(theta1) + A4 cos(theta1 + theta2) and py = A2 sin(theta1) + A4 sin(theta1 + theta2).
- The fixed link lengths and changing joint angles provide the basis for deriving planar end-effector velocity.
- The chain rule differentiates the A4 terms through the combined angle theta1 + theta2, producing both theta1_dot and theta2_dot contributions.
- The A2 terms depend only on theta1, so their derivatives contribute only to the theta1_dot terms.
- The same method applied to px and py yields two equations expressing planar end-effector velocity in terms of the two joint velocities.
- The lecture interprets theta1_dot and theta2_dot as motor-joint speeds and the derivatives of px and py as end-effector velocity.
- Sine and cosine factors act as changing instantaneous lever-arm projections between motor motion and tool motion.
- For applications such as welding, painting, and pick-and-place, precise tool velocity requires accounting for both joint speeds and robot configuration.
- The two-link velocity equations are arranged as [px_dot, py_dot, pz_dot] = J(theta1, theta2) [theta1_dot, theta2_dot].
- The Jacobian rows are [-A2 sin(theta1) - A4 sin(theta1 + theta2), -A4 sin(theta1 + theta2)], [A2 cos(theta1) + A4 cos(theta1 + theta2), A4 cos(theta1 + theta2)], and [0, 0].
- Joint velocities are directly controlled through motors, while the Jacobian translates those commands into end-effector velocity for tasks such as 3D printing.
- The upcoming lab work uses a Dobot Magician Lite and its digital twin, with Dobot Lab available through a web version or a Windows download.
- The software offers a virtual simulation and programming options including Blockly and Python.
- Dobot Link starts serial communication with either a virtual robot or physical hardware; the demonstration launches the virtual connection.
- The displayed coordinate convention makes forward motion positive X, leftward motion positive Y, and upward motion positive Z.
- The interface exposes joint controls J1 through J4, with separate positive and negative buttons; the end tool can be configured with a suction cup or pen.
- Forward kinematics maps joint values to X, Y, Z, while inverse kinematics finds joint values for a requested end-effector position.
- At the demonstrated home configuration, the end effector is at approximately X = 240 mm, Y = 0 mm, and Z = 145 mm, with the displayed joint values at zero.
- Moving J1 in the positive direction rotates the arm left, illustrating how positive joint rotation follows the right-hand coordinate convention.
- Changing requested X, Y, or Z causes the corresponding joint values to change, but the physical robot may hit joint limits or encounter unreachable workspace regions.
- The Dobot Magician Lite used in the course differs from the Dobot Magician used in RAS 101 because it has a joint interlock.
- The interlock links joint behavior for safety, so changing joint 2 can automatically change joint 3; industrial articulated robots commonly include such protections.
- The lecture closes with an offer to demonstrate both robots in class, notes that Blockly and Python can program the robot, and announces an in-class quiz.
Transcript excerpt
0:02 So in the last problem we talked about uh a revolute joint. We had we had a revolute joint. This revolute joint was attached to prismatic joint. So this is the revolute joint. This is the prismatic joint. and we want to solve forward chyatics of this
0:52 problem. So if you were to look at this robot from the top, you would observe if you look at this robot from the top, you would observe a revolute joint. Then you will find something like maybe the revolute joint and then at the end of the revolute joint there is going to be a piston cylinder assembly. So this is the revolute joint. This is the prismatic joint and then this guy is going to be the end
1:42 defector. This guy is going to be the endector. And we solve this problem in class. Now let's understand how can we solve this problem. First and foremost we have to identify the coordinate system. Now the coordinate system for this problem remember Z-axis Z not will always go through join z will always go through join. So this is Z not Z1 needs to go through join endector does not have any join but for simplicity I would just say Z2
2:32 is going like this. So we have Z knot we have Z1 and we have Z2. Next thing is I need to find out what should be the x knot. So I'm going to say this is going to be my x knot. Now the issue here with this znot is x knot and znot are perpendicular. Now let's see what happens here. And this is a very interesting problem. I want you to think about it very very carefully. So if you think about it for X1 I have two possible scenarios.
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.