Air Volume Control of a Medical Ventilator
Summary
This lab assignment was created during the COVID-19 pandemic, during which students were taking hands on lab remotely. The purpose for the assignment is to guide students to apply the PID motor angular position controller design to a real application in a medical ventilator, an important topic during the COVID time.
In the assignment, a set of a servo motor with optical encoder, a voltage amplifier, and a Q8 data acquisition board from Quanser was used on a bench for a team two students working together. Since the lab was delivered remotely, a VPN network was installed in each desktop in the lab with Matlab/Simulink with QUARC installed in the computer. Students can log in to their pre-assigned computer to work on this assignment. The instructor was in the lab during the lab session to monitor the motor on site and help students upon request.
This assignment (a small project) was designed for students to complete in two lab classes (2 hours and 50 minutes for each lab class). All groups finished the assignment successfully within the 2 weeks of lab time. No additional work outside the lab was needed.
Learning Goals
(2) Since it is an application for medical device, safety issues and physiological constraints need to be addressed in the design.
(3) Each team is required to give a 10-minute presentation of their design to the class.
Context for Use
(2) It is for a class size of up to 6 groups (12 students) in each lab section.
(3) The assignment was delivered by a teaching faculty in a small institution without any TA in class.
(4) Prior to this assignment, students have programming experiences in Matlab/Simulink and are able to design PID controller for position control with the motor provided in the lab.
(5) The lab assignment provides description for students to calibrate the chamber volume of a ventilator to angular position of the given motor.
(6) It is a valuable exercise to show students how controller design can be applied to different applications in other disciplines, a medical device in this case.
Description and Teaching Materials
Lab Assignment for students (Acrobat (PDF) 205kB Sep25 23)
PID controller design using pole-placement (Acrobat (PDF) 549kB Sep25 23)
Teaching Notes and Tips
Assessment
References and Resources
This teaching activity was created as a part of the Teaching Computation with MATLAB Workshop held in 2023 at Carleton College.