Assigning coordinate frames
← Back: Common normal | Overview: Denavit-Hartenberg Convention | Next: Denavit-Hartenberg parameters → |
To be able to determine the spatial relationship or transformation, respectively, between the links of a manipulator, local coordinate frames have to be assigned to them first. There are several rules that have to be observed when coordinate frames are to be assigned following the Denavit-Hartenberg convention. The first rule is, that the manipulator has to be moved to its zero position. So all the joints or their joint parameters, respectively, have to be set to zero. Then the coordinate frames are assigned regarding the zero position.
Following the notation, a coordinate frame is attached to each end of a link at the corresponding joint. The orientation of the coordinate frames depends on the joint and on the prior frame. The following steps describe how the coordinate frames are determined:
- First coordinate frame
- Following the notation, the first coordinate frame is always the base or reference frame . The origin of the base is coincident with the origin of the first joint and their axes are aligned. So the joint axis of the first frame is normal to the -plane of the base or world frame, respectively. As the world frame is usually known, the orientation of is already defined and does not have to be determined.
- Origin of the frames
- According to the notation, the intermediate frames to are attached to the distal joints. The exact origin of frame corresponds to the intersection of the common normal and the main axis of the distal joint . In the figure about common normals, these points are marked with red dots. If there is no unique common normal, so if the axes are parallel or collinear, the origin of the distal joint is chosen.
- The last frame is always located in the center of the end-effector.
- z-axis
- The z-axis of coordinate frame is always coincident with the main axis of joint . This holds for the base frame as well as for all the intermediate frames. So the direction of the -axes can easily be determined for the whole manipulator.
- Corresponding to the notation, there is no joint and consequently no main joint axis at the end-effector. Thus the last frame is usually kept parallel to the previous frame if possible.
- x-axis
- The x-axis of frame is defined as collinear to the common normal of the link. This means that it lies on the same line, but could either have the same direction or the opposite. For simplicity, the direction of the -axis should be kept as for the previous frame if possible.
- As the base frame has no prior coordinate frame, there is no common normal . Thus, if the world frame is not defined yet, the first -axis is a free choice. Nevertheless it should be chosen well-considered as it is important for the determination of the Denavit-Hartenberg parameters.
- For special case 2 of the common normal (intersection), the length of the common normal is , but its direction is distinct.
- If the two joint axis are collinear (special case 3), the direction of the common normal is not distinct. As already mentioned before, in such a case, the direction of the -axis should be kept preferably like before. This simplifies the determination of the Denavit-Hartenberg parameters.
- Like mentioned before, the last coordinate frame and so the -axis is usually kept as before if possible.
- y-axis
- As the - and the -axis are already defined, the -axis can be determined using the right hand rule shown in the figure on the right.
For further illustration, watch the video in the next article about the Denavit-Hartenberg parameters. There the whole process including the assignment the coordinate frames and the determination of the parameters is explained very well.
Example: Assigning coordinate frames
The left side of the figure below shows a manipulator in its zero position. It consists of 5 links and the corresponding 5 joints to . 4 of the joints are revolute joints with as joint parameter and one is a prismatic joint with joint parameter . The base coordinate frame is already given located in the origin of . The next step is then to identify the location of the other coordinate frames. Therefor the main joint axes have to be determined first. Regarding the arrows indicating the rotation direction and using the right hand rule, this could easily be done for the revolute joints. For the prismatic joint it is quite easier, as the arrow is already showing the positive direction of the translation. The resulting main joint axes are shown as dashed blue arrows in the figure. Then the common normal has to be computed based on each two consecutive main joint axes. The main axis of is pointing upwards and the one of to the right. As is translated along the negative -axis into the figure, the two lines are non-intersecting. This is the general case of the common normal. So the shortest line perpendicular to both lines is pointing into the figure at the height of . This is shown as a dashed red line. The red dot at the end of it indicates the intersection of the common normal with the main joint axis of the distal joint, which is defined as the origin of the next coordinate frame. For and we have the parallel case. |