A sliding observer for closed-circuit underwater breathing apparatus