Patent ID: 8416521

Claim:
A magnetic recording and reproduction device, comprising: a magnetic recording medium; a head configured to record and reproduce data on the magnetic recording medium; a heater configured to heat the head in response to electric power; a detector comprising a resistive element, wherein the detector is configured to detect a contact between the head and the magnetic recording medium by detecting a change in resistance of the resistive element, wherein the change in resistance is associated with the contact between the head and the magnetic recording medium; a flying height controller configured to control a flying height of the head from the magnetic recording medium by supplying electric power to the heater based on a reference power value, the flying height controller further configured to determine the reference power value by: supplying electric power to the heater, wherein the electric power causes the head to thermally deform and contact the magnetic recording medium; and determining an amount of the electric power supplied when the head contacts the magnetic recording medium, wherein the reference power value is based on the amount of the electric power; and a recording and reproduction controller configured to control recording and reproducing of the data on the magnetic recording medium by driving the head, wherein the flying height controller is further configured to modify the flying height by changing the reference power value in response to a reproduction error occurring when the magnetic recording medium is reproduced, and further in response to the detector detecting the contact between the head and the magnetic recording medium; and wherein the recording and reproduction controller is further configured to reproduce the data recorded on the magnetic recording medium again using the modified flying height, wherein the flying height controller is further configured to modify the flying height by changing the reference power value in response to a recording error occurring when the magnetic recording medium is reproduced, and further in response to the detector detecting the contact between the head and the magnetic recording medium, wherein the recording and reproduction controller is further configured to record the data on the magnetic recording medium again using the modified flying height, wherein in response to the detector detecting the contact between the head and the magnetic recording medium without a recording error occurring, the recording and reproduction controller is further configured to verify recorded data on the magnetic recording medium by reproducing the recorded data, and wherein in response to a reproduction error occurring when verifying the recorded data: the flying height controller is further configured to modify the flying height by changing the reference power value, and the recording and reproduction controller is further configured to record the data on the magnetic recording medium again using the modified flying height.