Patent attributes
Embodiments of the present invention help to perform appropriate servo control in response to detected vibration in a disk drive device having a vibration sensor. In an embodiment of the present invention, an HDD switches a correction servo mode to perform vibration correction in head positioning and a normal servo mode not to perform the vibration correction. The HDD performs servo positioning in either one of the serve modes and determines servo positioning accuracy in the servo mode from the measured positional error signal. The HDD obtains data indicating the servo positioning accuracy in the other servo mode from a table. The HDD compares the accuracy in the two servo modes and selects the servo mode with higher accuracy. The table contains previous measurements on servo positioning accuracy in the servo modes.