Lab 2: Simulated System

The second lab is a virtual system that can be investigated through numerical simulation. The purpose of this lab is to apply more advanced topics that integrate the course material but do not have some of the limitations of physical systems.


Project 1: Heated Rod Temperature Control


Project 2: Deployable Nuclear Reactor for Disaster Relief


Project 3: Minimizing Anti-viral use in HIV Control


Project 4: Distillation Control


Project 5: Control of a Reservoir Network


Project 6: Friction Stir Welding


Project 7: Smart-Grid Energy Storage


Project 8: Automated Pressure Control During Drilling


Other Student Control Projects


5 Steps to Begin a Technical Presentation

Students have an opportunity with the second lab to share a brief presentation on their project. Below are 5 steps for beginning a technical presentation.


Example MIMO System

The following Simulink model is an example of a Multiple-Input Multiple-Output system. The first block is an example of two decoupled PID controllers (non-interacting) while the second block is an example of interacting PID controllers with feedforward gains.

Download Interacting Control Example (Simulink)

Exporting Data from MATLAB / Simulink

You may want to export data from MATLAB or Simulink to combine plots or for further manipulation in another program like Excel. One way is shown below:

Step 1: Drop the "to Workspace" blocks into Simulink and re-run the simulation. The requested variables will be exported to the MATLAB workspace.

Step 2: From the MATLAB command prompt, view the "input" and "output" data that was generated from the Simulink simulation. Type "input" or "output" to inspect the information that is contained in the variable structure.

Step 3: Save the data to a text file. One way is to construct all of the data that will be saved into a data matrix and then export as an ASCII text file (tab delimited). Make sure your current directory allows you to save a file (is not write-restricted) or it will return an error.


comments powered by Disqus