Introduction
Given DH Table will have parameters [theta, alpha, r, d] for each (n,n+1) frame interaction, you can obtain the H(n,n+1) matrix and multiplying all of these matrices in the same order as their frame interactions will give you the resultant Transformation Solution.
DH Parameters
Theta is the rotation needed in the (n-1) frame in the Zn-1 direction to match the X axes.
Alpha is the rotation needed in the (n-1) frame in the Xn direction to match the Z axes.
R is the distance between the centres of the (n-1) and the (n) frame in the Xn direction.
D is the distance between the centres of the (n-1) and the (n) frame in the Zn-1 direction.
Instructions:
1) Generate the Frames according the rules of the Denavit-Hatenberg Convention and label them accordingly.
2) From the rules mentioned above, generate the values for the DH Table between each (n-1,n)th frame. One example has been shown below.
3) Generate a matrix as shown below of the same
4) Till the part above you will have to manually solve, the part after this requires just entering variable values. Create a variable which holds the entire table values as shown
*Also ensure the order matches as follows[theta, alpha, r, d].
5) Start by creating symbolic variables.
6) Create the matrix, preferred to convert everything to radian unless all values are numeric.
7) Enter the matrix and angle type as 'r' in the DH_HTM() function, make sure to download all the functions mentioned for this to work.
8) Cheers!
引用格式
Gautam Chettiar (2024). DH Table Solver (https://www.mathworks.com/matlabcentral/fileexchange/103050-dh-table-solver), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!