Block diagram of control loop