Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
ECE4132 Project: System Identification
and Control for an Artificial Pancreas System
In healthy people, homeostasis (steady state equilibrium) blood glucose level is regulated by insulin, which is produced by the pancreas. When food intake occurs, the blood glucose level rises. Insulin lowers the blood glucose level by absorbing glucose into the liver, fat, and muscle cells. In Type II diabetics, the body becomes resistant to insulin response, or the body secretes less insulin to counter the sugar presence. A common treatment technique is to apply insulin injections to compensate for the lack of proper body response. One treatment methodology is to require patients to monitor their blood glucose level and self- administer appropriate levels of insulin. This process can be automated by sampling the body’s blood sugar levels and applying an injection of insulin at an appropriate time. Note that continuous blood glucose monitors are often quite noisy (Rodbard 2016). In this project, you will investigate the blood glucose response to insulin and food, and come up with a controller which can provide appropriate insulin medication. The project consists of two parts: 1. Identifying the transfer function that represents the open-loop response of the patient, and 2. implementing an insulin pump that will stabilize the blood glucose level of the patient to a target level following food intake. 1 Submission Due date weight grade based on group selection Friday week 6 0% N/A system ID code part I Friday week 8 15% performance system ID code part II Friday week 11 15% performance control design code part II Friday week 11 30% performance report Friday week 11 40% explanations and understanding Table 1: Breakdown of submissions, due dates, and grading for ECE4132 project. You will work in groups of two to complete the project. Please form your own group and register it on the Moodle site by Friday of week 6. Any questions (and answers!) about the project should be posted to the Moodle discussion forum. Submission and grading overview Details about submissions and grading are in the appropriate sections of this document. Table 1 summarises the submissions you need to make, the due dates, and the percentage of the project grade they contribute. Part I: System Identification Objective: Perform system identification of a Type II diabetic patient by examining the open-loop signal response of insulin (Figure 1). In this part of the project, you will be given a model of a diabetic patient. Your objective will be to come up with a transfer function model of the patient that closely resembles the provided patient model, while keeping the model as simple as possible. To get you started, the sample code provides the transfer function of a simple first order system. You must develop a method of testing the patient model to come up with an improved transfer function that minimizes the root-mean-square error (RMSE) between your transfer function and the true patient model. Note that the underlying model includes an initial condition that can be set, as well as the transfer function itself. Getting started: Download the MATLAB code package and run testSysID single.m. This will generate a simulated patient, run the function sysId.m (the system identification code that you will be modifying), and plot the output against a reference output. The reference output is a fixed first order system that is designed to loosely follow the simulated patient. Modify sysId.m to generate your automated system identification code. You can also modify the inputVector.m code, which currently generates an insulin step input, to see how changing the input can change the output response. Your sysId.m can use any sort of input to perform the identification, but the assessment of this assignment will be done using insulin step response. SysId.m can use any order 2 Figure 1: Open-loop system of a patient.