Patent ID: 8799934
Filing Date: 2014-08-05
Classification: G11B

Abstract:
1. A method for controlling a tray in an optical disc drive, comprising: setting first and second flags for indicating a current state of the tray in the optical disc drive, wherein the state of the tray includes an open state, a closed state and a state in which the tray moves; and controlling a movement operation of the tray, based on values of the two flags and a time when a counter electromotive force (counter e.m.f) is generated in a motor for moving the tray, wherein if a tray closing operation is requested in the state in which the tray is opened is received, the tray closing operation is performed by controlling the motor, or if a tray opening operation is requested in the state in which the tray is closed is received, the tray opening operation is performed by controlling the motor, and the value of the second flag is changed, and wherein a third flag for indicating a movement direction of the tray is set under the movement of the tray, and if it is decided that the movement of the tray is stopped, any one of the values of the first and second flags is changed based on a value of the third flag.