摘要 |
PROBLEM TO BE SOLVED: To detect interruption in short timing for reduction in interruption load even if the next pulse is not inputted after a pulse is inputted at the time of interruption. SOLUTION: This interruption detector 1 is provided with a motor 2 which moves a window glass against the window frames 32, 33 of a door frame 31, a pulse plate 13 which is mounted on the outputting side of the motor 2 and generates a pulse synchronized with motor rotation, and a controller 40 which detects interruption by detecting a pulse signal from the pulse plate 13, wherein counting starts after the edge of a pulse signal is inputted, and the counting is continued at a prescribed cycle until the next edge is inputted. The present count value of a counter and a count value between pulses based on the time before a prescribed pulse are stored, and a variation in the count values is computed, thereby taking it as interruption if the variation meets a prescribed variation (threshold 1). |