摘要 |
Disclosed is a method for detecting foreign objects caught in an opening and closing device that moves an opening and closing body by driving a motor. In detection mode, foreign objects caught in the opening and closing device are detected by comparing the signal changes and threshold value that are correlated with the rotating speed of the motor. In setting mode, the respective amounts of motor rotation used for the opening and closing body to reach a first position and a second position, which differs from the first position, from a prescribed reference position by means of driving the motor are detected; and a settings value, which was calculated on the basis of the displacement between the first position and the second position of the opening and closing body and the difference between the amounts of motor rotation respectively detected at the first position and the second position, is set as the threshold value. |