A cleaning appliance includes a housing with a brushroll and a wheel
mounted thereto. A floor-type sensor is disposed within a mounting tube
secured to the housing. The floor-type sensor emits sonic energy toward a
surface being traversed by the cleaning appliance and receives
corresponding sonic energy reflected by the surface. A comparator,
electrically coupled to the floor-type sensor, compares the received
reflected sonic energy to one or more associated predetermined values to
determine the type of surface being traversed. A processor analyzes the
results of the comparison and controls at least one of a suction fan,
said wheel and said brushroll, based at least in part on the analysis.