Diabetes mellitus (DM), commonly referred to as diabetes, is a group of metabolic diseases in which there are high blood sugar levels over a prolonged period. If not regulate the glucose level then it will cause the serious damage to heart, kidneys, eyes, and nerves. The pancreas produces insulin to absorb the glucose. In type I diabetes the pancreas does not secrete insulin to compensate this artificial pancreas will be used. The artificial pancreas will mimic the function of pancreas it consists of a sensor, controller and insulin pump. The sensor continuously monitors glucose, the amount of insulin required will be calculated using a controller then injected using insulin pump this is the function of the artificial pancreas. The food we take is converted into glucose. So, meal intake will greatly affect the glucose levels, in this paper a closed loop model is developed based on Bergman's minimal model and meal intake is introduced as a disturbance then the control action is performed using Fuzzy and PID controller using LABVIEW software. So, from this, if the glucose concentration exceeds/decreases, above/below a certain point necessary control action will be taken.