UCR CS122B Winter 2003 Quiz 2 Prof. Frank Vahid 1. Draw the diagram of a closed-loop control system, with disturbance. 2. Write the equation for a PID controller, and describe the intuition/purpose of each of the P, I and D terms. 3. Write C code for a PD controller (note: no I).