To demonstrate Proportional and Derivative control, I revisited SIK circuit 6: the photoresistor, and I attempted to reprogram the system to adjust light level from an LED to maintain a set light reading from the photoresistor.
I incorporated Integral control to Proportional-Derivative control by creating an array and recording the system's error's after each iteration; once the sum of these error's was above a set threshold, the system would manually adjust the output to offset for these errors.
Ещё видео!