Question 1 of 7: Transforming a position and a velocity between frames (20 marks)
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
Paper format. National Exams, May 2016 — 07-Mec-B12 Robot Mechanics, 3 hours. CLOSED BOOK, with one 8.5″×11″ formula sheet (both sides) and an approved non-programmable calculator permitted. FIVE questions constitute a complete paper and each question is of equal value (20 marks); the first five as they appear in the answer book are marked. All seven questions are worked here.
Reference texts. J. J. Craig, Introduction to Robotics: Mechanics and Control, 4th ed. (the exam's leading-super/subscript notation and the Z–Y–Z Euler convention follow this text directly); M. W. Spong, S. Hutchinson and M. Vidyasagar, Robot Modeling and Control, 2nd ed.; S. B. Niku, Introduction to Robotics: Analysis, Control, Applications, 3rd ed.; K. M. Lynch and F. C. Park, Modern Robotics, 1st ed.
Notation (from the exam's own nomenclature page). A leading superscript names the frame a quantity is referenced to, so $^{A}V$ is the vector $V$ expressed in frame $\{A\}$. A leading subscript together with a leading superscript names a transformation: $^{B}_{A}T$ describes frame $\{A\}$ relative to frame $\{B\}$, and therefore maps coordinates the other way, $^{B}P = {}^{B}_{A}T\,{}^{A}P$. Keeping that direction straight is the single most common source of lost marks on this paper, so every question below states explicitly which way the given transform points.
Check: sign convention for the revolute joint. Figure 1 shows the direction of positive motion with a curved arrow but does not label a sense on the base triad. Throughout Questions 3–6 the base frame is taken as $x_{0}$ along the horizontal arm, $z_{0}$ vertically up and $y_{0}$ completing the right-handed set, with positive $q_{2}$ following the right-hand rule about $+x_{0}$. Every result below is stated in that frame; a candidate who assigns the opposite sense obtains the same magnitudes with $q_{2}\rightarrow-q_{2}$.
Question 1: Transforming a position and a velocity between frames (20 marks)
Given. One homogeneous transformation and two three-component vectors, each referenced to a different frame.
Given data
Quantity
Value
Referenced to
Position $P$
$(-5,\;3,\;4)$
frame $\{A\}$
Velocity $V$
$(10,\;20,\;-15)$
frame $\{B\}$
Rotation in $^{A}_{B}T$
$R_{z}(30^\circ)$
$\{B\}$ seen from $\{A\}$
Translation in $^{A}_{B}T$
$(11,\;-3,\;9)$
origin of $\{B\}$ in $\{A\}$
Find. (a) the same physical point expressed in frame $\{B\}$; (b) the same physical velocity expressed in frame $\{A\}$.
Figure 1.1 — the given transformation places {B} 30° rotated about z and displaced (11, −3, 9) from {A}. A bound point carries the translation; a free vector does not.
Approach. Recognise that the given transform describes $\{B\}$ relative to $\{A\}$, so part (a) needs its inverse, while part (b) needs only the rotation block because a velocity is a free vector.
Read the transformation and confirm it is a rigid-body motion. The upper-left block is $R={}^{A}_{B}R=\begin{bmatrix}\tfrac{\sqrt{3}}{2} & -0.5 & 0\\ 0.5 & \tfrac{\sqrt{3}}{2} & 0\\ 0 & 0 & 1\end{bmatrix}=R_{z}(30^\circ)$, a pure rotation of 30° about the common $z$ axis, and the fourth column holds the translation $^{A}P_{Borg}=(11,\,-3,\,9)$. Checking $RR^{T}=I$ and $\det R=+1$ costs one line and rules out a transcription error before any arithmetic is committed.
Establish which way the given transform points. By the exam's own nomenclature, $^{A}_{B}T$ describes $\{B\}$ relative to $\{A\}$, so as an operator it converts B-coordinates into A-coordinates:$$^{A}P = {}^{A}_{B}T\;{}^{B}P.$$Part (a) asks for $^{B}P$ from $^{A}P$, which is the opposite direction, so the inverse transform is required.
Invert the homogeneous transform analytically, not numerically. For any rigid-body transform the inverse is obtained by transposing the rotation and re-referencing the translation:$$^{B}_{A}T=\left({}^{A}_{B}T\right)^{-1}=\begin{bmatrix} R^{T} & -R^{T}\,{}^{A}P_{Borg}\\ 0\;0\;0 & 1\end{bmatrix}.$$Here $R^{T}=R_{z}(-30^\circ)$, and the new translation column is$$-R^{T}\begin{bmatrix}11\\-3\\9\end{bmatrix}=-\begin{bmatrix}\tfrac{11\sqrt{3}}{2}-1.5\\[2pt] -5.5-\tfrac{3\sqrt{3}}{2}\\[2pt] 9\end{bmatrix}=\begin{bmatrix}-8.026\\ 8.098\\ -9.000\end{bmatrix}.$$Never form this by a general 4×4 matrix inversion in an exam — the closed form is faster and cannot drift.
Apply the inverse to the position vector. Rotating the point first and then adding the re-referenced translation gives$$^{B}P=R^{T}\,{}^{A}P+\left(-R^{T}\,{}^{A}P_{Borg}\right)=\begin{bmatrix}-2.830\\ 5.098\\ 4.000\end{bmatrix}+\begin{bmatrix}-8.026\\ 8.098\\ -9.000\end{bmatrix}.$$The radicals collapse neatly, which is a useful sign that the arithmetic is clean:$$\boxed{^{B}P=\begin{bmatrix}3-8\sqrt{3}\\ 8+3\sqrt{3}\\ -5\end{bmatrix}=\begin{bmatrix}-10.856\\ 13.196\\ -5.000\end{bmatrix}}$$
Classify the velocity vector before transforming it. A velocity is a free vector: it is the difference of two position vectors taken at the same instant, and in that difference the translation column cancels identically. Only the rotation block survives, so$$^{A}V = {}^{A}_{B}R\;{}^{B}V,$$with no translation term. Adding $(11,-3,9)$ here is the classic error on this question and it is worth a sentence in the answer book to show the omission is deliberate.
Rotate the velocity into frame $\{A\}$. This time the un-transposed rotation is wanted, because the vector is being carried from $\{B\}$ into $\{A\}$:$$^{A}V=\begin{bmatrix}\tfrac{\sqrt{3}}{2} & -0.5 & 0\\ 0.5 & \tfrac{\sqrt{3}}{2} & 0\\ 0 & 0 & 1\end{bmatrix}\begin{bmatrix}10\\ 20\\ -15\end{bmatrix}=\begin{bmatrix}5\sqrt{3}-10\\ 5+10\sqrt{3}\\ -15\end{bmatrix}$$$$\boxed{^{A}V=\begin{bmatrix}-1.340\\ 22.321\\ -15.000\end{bmatrix}\ \text{units s}^{-1}}$$
Check the result. A pure rotation preserves length, so $\lVert{}^{A}V\rVert$ must equal $\lVert{}^{B}V\rVert$. Both evaluate to $\sqrt{725}=26.926$, and the $z$ component is unchanged at $-15$ because the rotation is about $z$. Both observations follow from the structure of the problem rather than from the arithmetic, so they are genuine independent checks.