Infrared Acid Detector and Method