Digital Control
Table of Contents
Goal: to understand the concept of control
Microcomputers are widely employed in control systems:
Human-in-the-loop
Strategy
plant is a system that is intended to be controlled
collect information concerning the plant - data acquisition system (DAQ)
compare with desired performance
generate outputs to bring plant closer to desired performance
Performance metrics
steady-state controller error
transient response
stability
Open-loop control
state estimator eliminated
assumes disturbing forces have little effect on the plant
less expensive than closed-loop control
Closed-loop control
feedback loop implementation
sensors and state estimator produce representaiton/estimation of state variables
these values are compared to desired values
control software generates control commands based upon the differences between estimated and desired values
%%html
<center><iframe src="https://www.youtube.com/embed/UVAn6sGnQ38?start=0&end=400"
width="420" height="315" frameborder="0" allowfullscreen></iframe></center>
Goal: To understand the PID control (the most common and popular control method)
$$
\begin{align*}
e &= x^* - x\\
u &= K_p \, e + K_i \int e \,dt + K_d \, \frac{de}{dt}
\end{align*}
$$
PID lectures from 'Control of Mobile Robots' by Prof. Magnus Egerstedt (Georgia Tech)
%%html
<center><iframe src="https://www.youtube.com/embed/DJuo9kLdr4M?list=PLp8ijpvp8iCvFDYdcXqqYU5Ibl_aOqwjr"
width="560" height="315" frameborder="0" allowfullscreen></iframe></center>
%%html
<center><iframe src="https://www.youtube.com/embed/cQhqx65kLfM?list=PLp8ijpvp8iCvFDYdcXqqYU5Ibl_aOqwjr"
width="560" height="315" frameborder="0" allowfullscreen></iframe></center>
%%html
<center><iframe src="https://www.youtube.com/embed/Mk1ygHj4zxw?list=PLp8ijpvp8iCvFDYdcXqqYU5Ibl_aOqwjr"
width="560" height="315" frameborder="0" allowfullscreen></iframe></center>
Goal: from continuous to digital control
PID lectures from 'Design of Embedded Systems' by Prof. Jonathan W. Valvano (UT, Austin)
%%html
<center><iframe src="https://www.youtube.com/embed/UVAn6sGnQ38?start=400"
width="420" height="315" frameborder="0" allowfullscreen></iframe></center>
Goal: PID implementation with Arduino
PID DC motor control examples
%%html
<center><iframe src="https://www.youtube.com/embed/N8UX_TDMn-Y?list=PLBD_gON7g_m3th-gxjQRma1z-1Cc8M7t4"
width="560" height="315" frameborder="0" allowfullscreen></iframe></center>
%%html
<center><iframe src="https://www.youtube.com/embed/5yaVvEfKF84"
width="560" height="315" frameborder="0" allowfullscreen></iframe></center>
Equations of Motion