Feedback control · University · about 30 min
One gain, the whole trade-off, and the steady state error it cannot remove.
[1 mark]A proportional controller has Kp = 1.5 percent per cm. What command, in percent, does an error of 12 cm produce?
[1 mark]The error is in centimetres and the command in percent. What are the units of Kp?
[1 mark]This drive does not move below 15 percent. With Kp = 2, what is the largest error in cm that proportional control alone leaves uncorrected?
[1 mark]In the lesson's turning cell at Kp = 4, the error trace falls fast, crosses zero, comes back and crosses again before settling. What does that say?
[1 mark]Why does a low-gain proportional controller stop short of the target and stay there?
[1 mark]Put the lesson's hand-tuning recipe for Kp in order.
Number the lines 1 to 3 to put them in the right order.
Halve that valueStart low, around 1Double it until the robot overshoots or wobblesSettle 30 cm from the wall, within 5 cm, and stay there from ten seconds onwards. Print the kp: you chose.
from bugbot import * connect() KP = 1.0 TARGET = 30.0
Plan your program here, then type it in and press Run.