We calculate the ω value during each 10 min period, and the gain k is the average value of ω. So the proposed control algorithm can decrease the insulin infusion rate and avoid the hypoglycemia event. Here, INS is linked to Hypoglycemia.