Patent ID: 8134312

Claim:
A motor control circuit comprising: a manipulation unit; a control unit that drives a motor in a normal rotation direction or a reverse rotation direction according to a normal rotation command or a reverse rotation command, the normal rotation command or the reverse rotation command being fed from the manipulation unit, the control unit driving an opening and closing body in a opened direction or a closed direction by driving the motor in the normal rotation direction or the reverse rotation direction; a catch detecting unit that detects a foreign substance caught in the opening and closing body when the opening and closing body is driven in the closed direction, the control unit stopping the drive of the motor in the reverse rotation direction by receiving an output from the catch detecting unit when the foreign substance is caught in the opening and closing body; a first relay circuit that connects one of terminals of the motor to a power supply when the motor is driven in the normal rotation direction; a second relay circuit that connects the other terminal of the motor to the power supply when the motor is driven in the reverse rotation direction; a switch element that cuts off connection to the power supply when the normal rotation command is fed into the control unit from the manipulation unit, the power supply actuating the second relay circuit; a detection circuit that prevents the drive of the motor in the reverse rotation direction when detected that a vehicle is submerged; and a feed circuit that puts the power supply and the second relay circuit in a conduction state when the switch element cuts off the connection to the power supply, the power supply actuating the second relay circuit, when the motor is driven in the reverse rotation direction while the detection circuit does not detect that the vehicle is submerged.