Patent ID: 7215624

Claim:
An optical disk apparatus which records data on an optical disk, comprising: rotating means for rotating the disk at a predetermined rotating speed; reproduction signal generating means for irradiating the optical disk rotated by the rotating means with a laser beam, and generating a reproduction signal containing a data string having a predetermined time width corresponding to a waveform pattern of a reflected wave of the laser beam; ideal signal generating means for decoding, by a partial response maximum likelihood (PRML) method, the data string output from the reproduction signal generating means to extract identification data and generating, based on the identification data, an ideal signal containing a data string having the predetermined time width, which corresponds to the data string contained in the reproduction signal generated by the reproduction signal generating means; waveform pattern discriminating means for comparing the data string contained in the reproduction signal generated by the reproduction signal generating means with the data string contained in the ideal signal generated by the ideal signal generating means, and discriminating a leading space length, a leading mark length, a trailing space length and a trailing mark length of the waveform pattern of the data string output from the reproduction signal generating means; waveform compensation amount determining means for calculating an error amount parameter corresponding to the leading space length, the leading mark length, the trailing space length and the trailing mark length of the waveform pattern discriminated by the waveform pattern discriminating means, and determining a waveform compensation amount on the basis of the error amount parameter; recording waveform generating means for performing a predetermined process on a recording data externally supplied, and generating a recording waveform pulse on the basis of the waveform compensation amount determined by the waveform compensation amount determining means; and recording means for generating a laser beam in accordance with the recording waveform pulse generated by the recording waveform generating means, and irradiating a storage area of the optical disk with this laser beam to record the recording data.