Here's a BBC article on a Cambridge University mathematician who's trying to develop the third and last piece, basically a computer program, to an artificial pancreas. The other two pieces are the insulin pump and continuous glucose monitoring system.