[Matlab six-degree-of-freedom robot] detailed establishment steps of modified DH parameters
recent update
【Main line】
Kinematics\color{red}Kinematicskinematics
- Build a robot model
- Correct solution of kinematics
- Construction of workspace based on Monte Carlo Method
Kinetics (to be added) \color{red}kinetics (to be added)Kinetics ( to be added )
【Supplementary explanation】
- Understanding of Flexible Workspaces and Accessible Workspaces
- Detailed establishment steps of modified DH parameters (modified Denavit-Hartenberg)
- Questions about parameterization of rotation (Euler angles, attitude angles, quaternions)
- The Explanation of Double Variable Function atan2(x,y)
Supplementary Note
Understanding of Flexible Workspaces and Accessible Workspaces
foreword
This paper studies the joint variable qi q_iqirelation to the position and extent of the end effector, an introduction toImproved DH parameter tableBased on the establishment of DH rules, the following algorithm is summarized, which can be used to derive the forward kinematics of any robot (manipulator).
The following is the text of this article
text
Detailed steps to establish DH parameter table
The DH convention defines the forward kinematic equations of a manipulator, that is, the mapping from joint variables to end-effector positions and poses.
Step 1: Locate and mark the joint axis z 0 , ⋅ ⋅ ⋅ , zn − 1 z_0,···,z_{n-1}z0,⋅⋅⋅,zn−1
Step 2: Establish a reference coordinate system, the origin can be set at z 0 z_0z0any point on the axis. Reasonably choose x 0 x_0x0axis and y 0 y_0y0axes, forming a right-handed coordinate system.
For i = 1 , ⋅ ⋅ ⋅ , n − 1 i=1,···,n-1i=1,⋅⋅⋅,n−1 , repeat step3 33 to step5 55
Step 3:Locate the originoi o_ioi,Use zi z_izi轴和zi − 1 z_{i-1}zi−1The common normals of the axes intersect at zi z_izi, like fruit zi z_iziSum zi − 1 z_{i-1}zi−1mutual relationship, general oi o_{i}oilocated at this intersection. if zi z_{i}ziSum zi − 1 z_{i-1}zi−1Parallel, forward oi o_{i}oiThe axes are positioned at zi z_{i}ziany position on the axis.
Step 4: Along zi − 1 z_{i-1}zi−1和zi z_{i}zicommon normal direction and pass through oi o_{i}oiset x_{i}xiaxis; or when zi − 1 z_{i-1}zi−1和zi z_{i}zizi − 1 — zi z_{i-1}—z_{i}zi−1—ziThe direction of the plane normal is set to xi x_ixiaxis
step 5: set yi y_iyiAxis, forming a right-handed coordinate system
Step 6: Establish the coordinate system of the end effector onxnynzn o_nx_ny_nz_nonxnynzn. Suppose the nnthn joints are rotational joints, setzn = a z_n=azn=a and parallel tozn − 1 z_{n-1}zn−1. z_ {n}znAxes set the proper origin on o_non, usually preferentially placed in the center of the gripper, or at the tip of any tool the robot arm might be carrying. Put yn = s y_n = syn=s is set in the closing direction of the gripper, and setxn = n x_n=nxn=n , namelys × as × as×a . If the tool is not a simple gripper, set the appropriatexn x_nxn和yn y_nynForm a right-handed coordinate system.
Step 7: Create a DH parameter ai a_{i}ai、 d i d_{i} di、α i α_{i}ai、 θ i θ_{i} iilist of.
ai = a_{i}=ai= fromx_{i}xiSum zi − 1 z_{i-1}zi−1Axis intersection to origin oi o_{i}oiThe line segment along xi x_{i}xiaxis distance.
di = d_{i}=di= fromoi− 1 o_{i-1}oi−1to xi x_{i}xiSum zi − 1 z_{i-1}zi−1The line segment at the intersection of the axes is along zi − 1 z_{i-1}zi−1axis distance. if joint i {i}i is a translational joint, thendi d_{i}diis the independent variable of the joint.
α i = \alpha_{i}=ai= xix_ixiaxis measured from zi − 1 z_{i-1}zi−1to zi z_{i}ziangle.
θi = \theta_{i}=ii= zi− 1 z_{i-1}zi−1axis measured from xi − 1 x_{i-1}xi−1to xi x_{i}xiAngle. if joint i {i}i is a rotating joint, thenθ i \theta_{i}iiis the joint variable.
Step 8: Substitute the above parameters into the formula A i = R otz , θ i T ransz , di T ransx , ai R otx , α i A_i=Rot_{z,θ_i}Trans_{z,d_i}Trans_{x,a_i}Rot_{x,α_i}Ai=Rotz , iiTransz,diTransx,aiRotx , ai, get the homogeneous transformation matrix A i A_iAi.
Step 9: Solve for T n 0 = A 1 ⋅ ⋅ ⋅ A n T_n^0=A_1···A_nTn0=A1⋅⋅⋅An. This gives the position and orientation coordinates of the tool frame relative to the base frame.
Summarize
The above is the content of this article. This article studies the joint variable qi q_iqiand the relationship between the position and range of the end effector, introduces theImproved DH parameter tableThe establishment of, and based on the DH rule, summarizes the algorithm, used to derive the forward kinematics of any robot (manipulator).