Compare measurements from sensors to detect defective sensors