Considering the management and safety of the insulin delivery route when a wearable artificial endocrine pancreas is applied to ambulatory diabetic patients on a long-term basis, we developed a s.c. insulin infusion algorithm by analyzing the dynamics of a s.c. injected short-acting insulin analog (Insulin Lispro) by a three-compartment model. Principally the insulin infusion algorithm was developed as a transfer function with the first-order delay in both proportional and derivative actions to blood glucose concentrations. The parameters for this algorithm were calculated to simulate a physiological plasma insulin profile as closely as possible. By applying this algorithm with regular insulin, diabetic patients showed a 2 h postprandial hyperglycemia and a delayed hyperinsulinemia, followed by hypoglycemic episodes 4-5 h after oral glucose load, just as observed in the computer simulation study. However, using Insulin Lispro, a near-physiological glycemic control (postprandial blood glucose of 153.1 +/- 8.3 mg/100 ml at 60 min and 90.3 +/- 7.1 mg/100 ml at 180 min, respectively) could be achieved without showing any delayed hyperinsulinemia or hypoglycemia. Daily glycemic excursions were also controlled near-physiologically and although the daily insulin requirement (731.7 +/- 160.5 mU/kg/day) was slightly higher, it was not significantly different from that with i.v. insulin infusion (622.3 +/- 142.6 mU/kg/day). These results indicate that the application of s.c. insulin infusion algorithm with Insulin Lispro is feasible for long-term glycemic control with a wearable artificial endocrine pancreas in ambulatory diabetic patients.