Development of a control system prototype to be used in clinical trials in the framework of artificial pancreas resesarch