1. PID Control
2. The purpose of this lab was to assemble a PID controller
using arduino and apply the controller to a led and photoresistor to
limit the power or increase the power through the photoresistor to
maintain a set point.
3. Materials and Methods
Arduino computer
Application
Paper and Pencil
Python Application
4. Results
Figure 1. The following demostrations show an scallation around a
set point, proportional gain of 0.001 to regain set point, proportional gain of 0.01 to regain set point, and a demonstration to shown the ardiuno in action.
Figure 2. 0.1 PID control displayed using Python.
Figure 3. 0.001 PID control displayed using Python.
Figure 4. Moving set point and adaquete tracking using the PID control.
Figure 5. Code using python to display the set point and the PID tracking. 5.
Discussion
The lab was interesting becuase the PID controller is so veristile
and has many applications. This controller can do many jobs and I look
forward to seeing it more in action. The code was challenging to plot
and fullt understand the arduino, but once eleaborated, helped to
further understand Python and PID control.