Question 3 of 7: Frame diagram and the transform relating two frames through a graph (20 marks)
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format. National Exams, December 2018 — 16-Mec-B12 Robotics. Closed book, three hours, one 8.5″×11″ two-sided formula sheet and an approved Casio or Sharp calculator permitted. Seven questions, each of equal value (20 marks); the rubric states that five questions constitute a complete paper and that only the first five in the answer book are marked. As a study resource all seven are solved here. Marks shown in parentheses are the printed sub-part values.
Notation. The paper's own nomenclature is used throughout: $\hat{X}_A,\hat{Y}_A,\hat{Z}_A$ are the unit vectors of frame $\{A\}$; a leading superscript as in ${}^{A}V$ names the frame the vector is referenced to; and ${}^{B}_{A}T$ is the transform of frame $\{A\}$ expressed relative to $\{B\}$. This is Craig's convention, so Craig's modified (distal) Denavit–Hartenberg parameters are used for the link tables.
Reference texts.
Craig, J. J., Introduction to Robotics: Mechanics and Control, 4th ed., Pearson, 2018 — the notation, the Z–Y–Z Euler convention and the two-segment cubic spline of Question 7 all follow this text (Ch. 2, 3, 5 and 7).
Spong, M. W., Hutchinson, S. and Vidyasagar, M., Robot Modeling and Control, 2nd ed., Wiley, 2020 — alternative treatment of DH assignment and Jacobian singularities (Ch. 3, 4).
Niku, S. B., Introduction to Robotics: Analysis, Control, Applications, 3rd ed., Wiley, 2020 — worked frame-graph and trajectory examples.
Siciliano, B., Sciavicco, L., Villani, L. and Oriolo, G., Robotics: Modelling, Planning and Control, Springer, 2009 — differential kinematics and statics duality (Ch. 3).
Question 3: Frame diagram and the transform relating two frames through a graph (20 marks)
Given. Three homogeneous transforms tying four frames $\{U\}$, $\{A\}$, $\{B\}$ and $\{C\}$ together; the rotation blocks are 3-decimal roundings of exact rotations.
Given data
Transform
Rotation
Translation
${}^{U}_{A}T$
$R_Z(30^\circ)$
$[11,\ -1,\ 8]^{T}$
${}^{B}_{A}T$
$R_X(30^\circ)$
$[0,\ 10,\ -20]^{T}$
${}^{C}_{U}T$
$R_X(30^\circ)R_Z(30^\circ)$
$[-3,\ -3,\ 3]^{T}$
Find. (a) the frame diagram, and (b) the transform of $\{C\}$ relative to $\{B\}$.
Figure 3.1 — part (a): the frame diagram. Each solid arrow is one of the given transforms, drawn from the reference frame to the described frame; the dashed arrow is the unknown ${}^{B}_{C}T$. Traversing an arrow backwards means using the inverse.
Approach. Draw the graph, read off a path from $\{B\}$ to $\{C\}$, and chain the transforms along it, inverting whenever the path runs against an arrow.
Build the graph (part a). Each given transform is one edge. ${}^{U}_{A}T$ points $\{U\}\!\rightarrow\!\{A\}$, ${}^{B}_{A}T$ points $\{B\}\!\rightarrow\!\{A\}$ and ${}^{C}_{U}T$ points $\{C\}\!\rightarrow\!\{U\}$. Only one route joins $\{B\}$ to $\{C\}$: $\{B\}\rightarrow\{A\}\rightarrow\{U\}\rightarrow\{C\}$, of which the last two legs are travelled against the arrows.
Write the chain (part b). Following the route and inverting the two reversed edges,
$$ {}^{B}_{C}T = {}^{B}_{A}T\ {}^{A}_{U}T\ {}^{U}_{C}T = {}^{B}_{A}T\left({}^{U}_{A}T\right)^{-1}\left({}^{C}_{U}T\right)^{-1}. $$
The mnemonic is that adjacent sub/superscripts cancel: $B\!-\!A$, $A\!-\!U$, $U\!-\!C$ leaves $B\!-\!C$.
Collapse the last two factors first. Multiplying right to left keeps the intermediate result meaningful — ${}^{A}_{C}T$ is the camera frame seen from $\{A\}$:
$$ {}^{A}_{C}T = {}^{A}_{U}T\ {}^{U}_{C}T = \begin{bmatrix} 0.5000 & 0.7500 & 0.4330 & -6.5752 \\ -0.8660 & 0.4330 & 0.2500 & 4.3171 \\ 0 & -0.5000 & 0.8660 & -12.0980 \\ 0 & 0 & 0 & 1 \end{bmatrix}. $$
Premultiply by ${}^{B}_{A}T$ to finish.
$$ {}^{B}_{C}T = \boxed{\begin{bmatrix} 0.5000 & 0.7500 & 0.4330 & -6.5752 \\ -0.7500 & 0.6250 & -0.2165 & 19.7876 \\ -0.4330 & -0.2165 & 0.8749 & -28.3183 \\ 0 & 0 & 0 & 1 \end{bmatrix}} $$
so the origin of the camera frame sits at $[-6.5752,\ 19.7876,\ -28.3183]^{T}$ in $\{B\}$.
Check the answer is itself a rigid transform. The rotation block satisfies $R^{T}R = I$ and $\det R = +1$ to within $2\times 10^{-3}$, the residual coming entirely from the 3-decimal rounding of $0.866$ and $0.433$ in the printed data. A larger residual would signal a multiplication slip rather than rounding.
Question 3 — results
Item
Result
(a) Route through the graph
$\{B\}\rightarrow\{A\}\rightarrow\{U\}\rightarrow\{C\}$ (last two legs inverted)