UAT 463 Smart Robotics and Automation
Worksheet 3 Tune and test an MM-1 joint
Objective
Identify the joint model, tune the PI, choose the sampling period, test anti-windup and compare controllers on the two-joint arm
Equipment and materials
- A test joint with motor, driver and encoder, or a simulator
- Power supply with current limiting
- A mechanical stop for the blocked-joint test
- Computer with Python and the example code at /downloads/uat-463/
Safety
- Limit the supply current and voltage before every test and keep a cut-off switch within reach
- Keep loose clothing and cables away from the rotating shaft and use a guard
- Test blocking at low voltage and low speed first; never block a turning shaft by hand
Steps
- Apply an open-loop voltage step of 30 to 50% of maximum, fit an FOPDT curve, and report K, tau and theta
- Compute theta_eff and tune the PI by SIMC at tau_c equal to 1 and 3 times theta_eff; command a speed and record rise time, overshoot and command ripple
- Try at least three sampling periods, make a table like Example 2, and choose a period citing the speed step Q/Ts
- Add the cascaded position loop, block the joint with the mechanical stop, compare with and without anti-windup, and report peak speed and overshoot
- Build the dynamic model of the two-joint arm, check it with a free swing, then compare PD, PD with gravity and computed torque when the parcel mass is known and unknown
Record of results
| Quantity | Group value | Example 1 value | Unit |
|---|---|---|---|
| Ts (ms) | Q/Ts (rad/s) | θ_eff (ms) | Rise 90% (ms) | Overshoot (%) | Command ripple (V) |
|---|---|---|---|---|---|
| Case | Peak speed (rad/s) | Overshoot (%) | Max error joint 1 / 2 (deg) | Final error joint 1 / 2 (deg) |
|---|---|---|---|---|
Questions
How far are your fitted K and τ from Example 1 and from the physics formula? Why is the fitted τ usually a little below JR/(RB + k_t k_e)?
Tuned at τc equal to θ_eff and 3θ_eff, what is the first voltage command for a speed step? Does it exceed the driver limit, and which setting did the group choose and why?
From Table 2, which sampling period did the group choose? Explain with the speed step Q/Ts and the command ripple. What should change if you need a faster loop?
When the joint is blocked without anti-windup, how can the peak speed after release exceed the speed limit set in the outer loop, and what does this say about monitoring speed for safety?
How can computed torque that does not know the parcel mass make the elbow error worse than plain PD? Estimate the error with M̃22 ω² and the parcel's gravity torque.
Check before you hand in
What to hand in
- K, tau and theta compared with Example 1
- Sampling-period table and the reason for the choice
- Anti-windup comparison result
- Error table of the three controllers