Patent ID: 8191311

Claim:
An opening and closing apparatus comprising: an opening and closing body having a predetermined height for opening and closing an opening formed in an opened and closed body; a drive portion actuating the opening and closing body; a detecting device that has a sensor portion for detecting the capacitance between the sensor portion an object that is in the proximity of the sensor portion or is contacting the sensor portion, the sensor portion being located at a closing end of the opening and closing body that is on the leading side when the opening and closing body is being closed, wherein at least part of the sensor portion is exposed to the outside of the opened and closed body by an exposing recess formed in the opened and closed body, said exposing recess having a height that is shorter than the predetermined height of the opening when the opening is fully closed by the opening and closing body, and wherein the detecting device detects whether or not the object is in the proximity of the sensor portion or is contacting the sensor portion based on the capacitance detected by the sensor portion; and a control portion controlling the drive portions, wherein, if the detecting device detects contact of the object with the sensor portion when the opening and closing body is not being moved, the control portion controls the drive portion to start opening the opening and closing body, and wherein, if the detecting device detects that the object is in the proximity of the sensor portion when the opening and closing body is being closed, the control portion controls the drive portion to stop or reverse the movement of the opening and closing body.