Arduino Lab for Dynamic Optimization

Featured in CACHE News, December 2014.

This lab is an application of feedback control for a temperature control device. Complete instructions are available below in the temperature control lab description. The lab can be run on personal computers or on workstations in the UO Lab.

Students have an opportunity to use this lab to learn principles of system dynamics, estimation, and model predictive control. In particular, this lab reinforces:

  • The difference between manual and automatic control
  • Step tests to generate dynamic data for empirical modeling
  • Dynamic modeling with first principles
  • Tune a moving horizon estimator
  • Tune a model predictive controller
  • Dynamic data reconciliation

The three important elements for this lab are the measurement device (thermistor temperature sensor), an actuator (voltage to the transistor), and capability to perform computerized control (USB interface). At maximum output the transistor dissipates 3.1 W of power with a voltage of 8.9 V and current of 0.35 A. The heat generated by the transistor transfers by radiation, convection, and conduction to the temperature sensor.

Multiple Input, Multiple Output (MIMO)

Energy Balance with MATLAB Simulation