Patent attributes
Ultrasonic ranging state management for a UAV is described. A transducer transmits an ultrasonic signal and receives an ultrasonic response thereto using a gain value. A noise floor estimation mechanism determines a noise floor estimate. A state mechanism sets an ultrasonic ranging state used by the transducer to a first ultrasonic ranging state. The transducer transmits an ultrasonic signal and responsively receive an ultrasonic response to the ultrasonic signal using a gain value according to the noise floor estimate. The state mechanism processes the ultrasonic response to determine whether to determine a new noise floor estimate, adjust the gain value used by the transducer, or change the ultrasonic ranging state of the UAV to a second ultrasonic ranging state. The configurations of the first and second ultrasonic ranging states differ as to, for example, power and gain levels used by the transducer to receive ultrasonic responses.