Micro-Temperature Controller


Building a Micro-Temperature with an Arduino

This particular project was my first encounter with hardware.  The goal was to create a temperature controller by using a transistor as a heat source.  I used a thermistor temperature sensor for measurements, and an arduino uno to implement a PID controller.

For my model I used a simple energy balance of the system.

For this particular system, I only took into account the energy added by the transistor and energy from convection, the energy taken away by convection, along with the accumulation term.  I assumed the radiation term to be negligible.

My first-order plus dead time (FOPDT) model is shown below.

After I obtained a model, I built a PI controller and implemented it in the apparatus.  The results below represent a time domain over 20 minutes, with a rise time of about a minute.