Abstract: A controller for a shutter moved between an opened position and a closed position. A plurality of location ranges is defined between the opened position and the closed position. The controller detects the current moving speed of the shutter in each range, compares the moving speed with a predetermined reference speed, and generates a stop signal based on the comparison result to stop the movement of the drive mechanism.