Control of a Black Box System in MATLAB

Challenge

For my Engineering Design class (MTHE 393), my team and I were given a black-box system and an objective to control the output within an acceptable range. The system was meant to represent blood-glucose levels and in addition to controlling the output, we designed a device to implement the control system.

Approach

In parallel, the team worked on building the controller and designing the device to measure blood-glucose and supply insulin. We determined that the system was linear and time-invariant, generated bode plots, and calculated the transfer function. Lastly, we determined performance requirements, then tuned the PID controller to achieve the desired crossover, overshoot, and stability.

Contributions

  • Identified time invariance and linearity in the black-box system with MATLAB
  • Generated bode plots and calculated transfer function
  • Designed the PID controller