An obstruction detecting apparatus, comprising a first housing and a second housing, the second housing being floatingly mounted on the first housing via a first elastic member, on the first housing being provided a circuit board, an obstruction detecting switch connected to the circuit board, and a rocking element rotatably mounted, one end of the rocking element being a free end abutting against the second housing, opposite end of the rocking element being a pressing end pressing down on the obstruction detecting switch, the free end, when being rotated, driving the pressing end to be disengaged from the obstruction detecting switch, whereby an obstruction signal is generated;
- wherein a distance between the free end and a center of rotation of the rocking element is greater than a distance between the pressing end and the center of rotation of the rocking element.