I am working on developing linear MPC controller for Insulin+ glucagon pump for diabetes patient(Artificial pancreas).
The normal range of blood glucose subject should have is 70 mg\dl – 120 mg\dl. If this range exceeds above 120 mg\dl then the subject requires insulin to regulate and control. If the range falls below 70mg\dl subject requires glucagon to regulate. Usually the blood glucose exceeds while having food or carbohydrate and falls down due to low sugar in the food due to exercise.
My aim is to develop MPC controller to regulate and maintain the blood glucose in the normal range for a long time by automatically inducing insulin and glucagon with respect to the blood glucose.
I have chosen a plant model which has 22 differential equations. This model has 1 glucose output and 1 insulin and 1 glucagon port as input (2 inputs) MISO system.
Single MPC for 2 manipulated variables