Pset 7
Pset 7
Fall 2024
Problem Set 7
Due: 8am, Tuesday, December 3, 2024
In the following problems, use the two-link planar elbow arm dynamics:
e =qd − q,
(2)
r =ė + Λe,
Problem 1
Consider the two-link planar elbow arm (1), and let f = M (q)(q̈d + Λė) + Vm (q, q̇)(q̇d +
Λe) + G(q). Design and simulate in MATLAB the Computed-Torque Control Variant:
τ = f + Kr, (4)
where K and Λ are design parameters chosen appropriately. Plot the tracking results for
the given qd in eq. (3), by showing θ1 (t), θ1d (t) and θ2 (t), θ2d (t). Plot also the control signal
τ1 and τ2 .
(10 pts)
Problem 2
Reconsider Problem 1, and assume that exact mass values are unknown, and that only the
range info 0 ≤ m1 ≤ 5 and 0 ≤ m2 ≤ 5 is available.
τ =fˆ + Kr − v,
(5)
v = − (f¯ + η) sgn(r),
1
where fˆ = M̂ (q)(q̈d + Λė) + V̂m (q, q̇)(q̇d + Λe) + Ĝ(q), η > 0, and f¯ is a scalar function
chosen such that ∥f − fˆ∥1 = ∥f˜∥1 ≤ f¯. Both M̂ (q) and V̂m (q, q̇) are as in (1) with m̂1 and
m̂2 used instead. The values for m̂1 and m̂2 are a design choice that you may decide as long
you are within the specified mass ranges.
Plot the tracking results for the given qd in eq. (3), by showing θ1 (t), θ1d (t) and θ2 (t),
θ2d (t). Plot also the control signal τ1 and τ2 .
∥f˜∥1 ≤ ∥M (q) − M̂ (q)∥1 ∥q̈d + Λė∥1 + ∥Vm (q, q̇) − V̂m (q, q̇)∥1 ∥q̇d + Λe∥1 + ∥G(q) − Ĝ(q)∥1
≤ µ̃2 ∥q̈d + Λė∥1 + ṽB ∥q̇∥1 ∥q̇d + Λe∥1 + g̃b = f¯.
(6)
Check Example 3.3-1 on page 137 of [1] to see the derivation of the following bounds:
(10 pts)
Problem 3
Reconsider Problem 2, where in this case we neither know the exact values of m1 and m2
nor do we have range info available.
Plot the tracking results for the given qd in eq. (3), by showing θ1 (t), θ1d (t) and θ2 (t),
θ2d (t). Plot the control signal τ1 and τ2 , and plot the parameter estimates m̂1 (t) and m̂2 (t).
(10 pts)
Problem 4
In estimating the convergence rate for an asymptotically stable linear system, the following
expression applies:
q 1 λmin (Q)
(P ) − 2 λmax (P ) t
∥x(t)∥2 ≤ λλmaxmin (P )
e ∥x(0)∥2 . (12)
Numerically choose an asymptotically stable linear system ẋ = Ax of your choice.
1. Compute the convergence rate estimate for Q = I.
2. Compute the convergence rate estimate for any other Q > 0 of your choice.
2
3. Of the two Q values used, which one returns the largest convergence rate estimate?
(10 pts)
Solution submission:
• It is best to receive your solution in PDF format, in addition to the MATLAB source
files used.
• Upload to: https://www.dropbox.com/request/gMnkOfve53ynjEsKzC8k .
References
[1] F. Lewis, D. Dawson, and C. Abdallah, Robot Manipulator Control: Theory and Prac-
tice (Automation and Control Engineering). CRC Press, 2003, isbn: 9780203026953.
[Online]. Available: https://doi.org/10.1201/9780203026953.