摘要 |
A method for controlling a tray in an optical disc drive comprises: setting first and second flags for indicating a current state of the tray, the state of the tray including an open state, a closed state and a state in which the tray moves; and controlling a movement operation of the tray, base on values of the two flags and a time when a counter electromotive force is generated in a motor for moving the tray. If a request of performing a tray closing operation in the state in which the tray is opened is received, the tray closing operation is performed, and the value of the second flag is changed. If the counter e.m.f is detected after a first time from the time when the tray closing operation is started, the driving of the motor is stopped, and the value of the first flag is changed. |