摘要 |
PROBLEM TO BE SOLVED: To properly control an opening/closing body by appropriately detecting sinking in water and flooding with water without requiring a configuration change.SOLUTION: An opening/closing body control device 10 includes: a motor body 14 for driving an opening/closing body 10a mounted on a vehicle in a driving direction of an opening direction and a closing direction; a first switch 21 and a second switch 23 for operating the driving direction of the motor body 14 by switching a plurality of contacts 21a, 21b, 23a, and 23b; a motor circuit board 13 on which a circuit is packaged for driving the motor body 14 by discriminating the driving direction from a difference of resistance values Rup and Rdn connected to the plurality of contacts, respectively; a sinking detection section 25 for detecting flooding with water and sinking in water; and a bias constant current circuit 26 which makes a predetermined current flow to the circuit so as to drive the motor body 14 in the opening direction regardless of the difference between the resistance values Rup and Rdn when the sinking detection section 25 detects flooding with water or sinking in water. |