close loop system block diagram