Patent ID: 7573216

Claim:
A window opening and closing controller comprising: detecting means for detecting rotational speed of a motor for opening and closing a window; judging means for judging whether or not a foreign substance is jammed into the window on the basis of a comparing result of a changing amount of the rotational speed detected by said detecting means and a predetermined threshold value; and control means for controlling operations of said motor so as not to close the window when it is judged by said judging means that the foreign substance is jammed; wherein said threshold value is set to a first threshold value or a second threshold value; wherein the window opening and closing controller further comprises: threshold value changing means for changing said threshold value from the first threshold value to the second threshold value on the basis of the detection of closing of an opening and closing portion of a door; and threshold value returning means for returning said threshold value from the second threshold value to the first threshold value on the basis of the detection of the rotation of said motor by a predetermined rotating amount in a state in which said threshold value is set to the second threshold value.