A controller for controlling a breathing apparatus that comprises a plurality of oxygen sensors, each for sensing an oxygen content of a gas in the breathing apparatus, the controller being configured to control the operation of the breathing apparatus based on the output of one or more of the oxygen sensors and additional information relating to the operation of the breathing apparatus. Also a breathing apparatus comprising the controller and the plurality of oxygen sensors.