Feedback control · University · about 30 min
Finding the gain where it oscillates, and working back from there to something usable.
[1 mark]The Ziegler-Nichols PID row from the lesson, for a measured Ku and Tu. What does it print?
KU, TU = 10.0, 1.6 kp = 0.6 * KU ki = 1.2 * KU / TU kd = 0.075 * KU * TU print(round(kp, 2), round(ki, 2), round(kd, 2))
[1 mark]Ku = 8 and Tu = 2 s. What Ki does the Ziegler-Nichols PI row give? Give two decimal places.
[1 mark]Ku = 9. What Kp does the Ziegler-Nichols P-only row give?
[1 mark]Ziegler-Nichols gains make the robot swing lively, each swing a quarter of the last. What is a common and sensible next move?
[1 mark]The response arrives, settles short of the target, and stays short. What should change?
[1 mark]The response shows a slow, wallowing oscillation. What should change?
[1 mark]In what order does the lesson say to bring in the three terms?
Run the heading loop at several gains, print the swing at each, and print ku: and tu:.
from bugbot import * connect() DT = 0.25
Plan your program here, then type it in and press Run.