Background of the Invention
1. Field of the Invention
The present invention relates to an apparatus for reproducing information from a medium such as a disk, tape, or the like on which information was optically or magnetically recorded and, more particularly, to a digital information reproducing apparatus having a PLL circuit to produce a reference clock.
2. Related Background Art
FIG. 6 shows an example of a conventional signal reproducing circuit of a magnetic disk drive apparatus or an optical disk drive apparatus.
That is, a raw reproduction signal reproduced by a signal detector 11 comprising an optical head or a magnetic head is amplified by a preamplifier 12 and is binarized by a binarizing circuit 13 comprising a differentiating circuit, a peak detecting circuit, a comparator, and the like. A PLL (Phase Locked Loop) circuit 14 outputs a reference clock synchronized with the encoded data on the basis of the binarized signal (encoded data). The encoded data is input to a decoder 15 synchronously with the reference clock. The decoder 15 outputs the decoded data and a read clock synchronized therewith in accordance with the reference clock and the encoded data. The decoded data and the read clock become outputs of the digital information reproducing apparatus.
FIG. 7 is a diagram showing a format of the signal recorded on a recording medium in the above conventional apparatus.
On the recording medium, data is segmented and a segment unit is called a sector. One sector is constructed by a sector mark 1 indicative of the head, an address part 2 in which an address of the sector is recorded, and a data part 3 in which the user data is recorded.
FIG. 8 is a timing chart of each signal in FIG. 6 in the normal operating mode.
In the above conventional apparatus, in a case when the unrecorded sector was reproduced because of an incorrect command from a host computer to control the drive apparatus or an error of the drive apparatus or in a case when the sector of an incorrect recording state was reproduced, no reproduction signal is obtained or the reproduction signal level is low. Thus, no signal is included in the binarized encoded data and a frequency of a reference clock of the PLL circuit becomes low.
In such a case, a frequency of a read clock which is output from the decoder 15 also becomes low in response to the low reference clock frequency and a case exists wherein the number of read clocks in one sector does not reach a predetermined number, although the clocks of a number which is equal to a predetermined number of data in one sector (the number of data which can be recorded in the data part 3) should inherently be output.
FIG. 9 shows a timing chart in the case wherein such an inconvenience occurred.
Referring now to FIG. 9, since the frequency of the read clock is shifted to a low frequency, a predetermined number of read clocks are not output until the next sector mark detection signal is generated, so that its output operation is not finished.
If a predetermined number of read clocks are not generated in one sector as mentioned above, this means that the reproducing operation in one sector is not normally finished when such an operation is seen from the host computer side. Thus, a problem exists that the circuit of the host computer or the like which receives the decoded data causes an erroneous operation.
Even in a case wherein the sector in which no information is recorded was reproduced or in the case wherein the sector of an incorrect recording state was reproduced, there is also a problem that the next sector cannot be continuously reproduced.
Summary of the Invention
It is an object of the present invention to provide a digital information reproducing apparatus in which the foregoing drawbacks are eliminated.
Another object of the invention is to provide a digital information reproducing apparatus which does not cause an erroneous operation even if an unrecorded sector or the sector of an incorrect recording state has been reproduced.
Still another object of the invention is to provide a digital information reproducing apparatus which can continuously reproduce the next sector even if the unrecorded sector or the sector of an incorrect recording state has been reproduced.
The above and other objects and features of the present invention will become apparent from the following detailed description and the appended claims with reference to the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is a block diagram showing an embodiment of the present invention;
FIG. 2 is a timing chart in an abnormal state in the embodiment;
FIG. 3 is a block diagram showing the details of a frequency comparison judging circuit. 40 in the embodiment;
FIG. 4 is a timing chart of the circuit shown in FIG. 3;
FIG. 5 is a block diagram showing another embodiment of the invention;
FIG. 6 is a block diagram showing a conventional example;
FIG. 7 is a diagram showing a format of one sector on a recording medium;
FIG. 8 is a reproduction timing chart in the normal state in the conventional apparatus; and
FIG. 9 is a timing chart in the abnormal state in the conventional apparatus.
Detailed Description of the Preferred Embodiments
FIG. 1 is a block diagram showing an embodiment of the present invention.
In FIG. 1, the same parts and components as those shown in the conventional apparatus of FIG. 6 are designated by the same reference numerals.
The apparatus of the embodiment differs from the conventional apparatus of FIG. 6 such that the apparatus of the present embodiment has a frequency comparison judging circuit 40, an oscillator 50 with a constant frequency, and a selector 60.
A sector mark detecting circuit 30 detects a sector mark.
The frequency comparison judging circuit 40 compares a frequency of a PLL clock from the PLL circuit 14 and a frequency of a clock from the oscillator 50. The frequency comparison judging circuit 40 also outputs a reproduction error detecting signal when the frequency of the PLL clock deviates from a predetermined allowable value.
When the difference between the frequency of the PLL clock and the frequency of the predetermined clock exceeds the predetermined allowable value, the selector 60 functions so as to send the predetermined clock from the oscillator 50 as a reference clock to the decoder 15 in place of the PLL clock. On the other hand, if the frequency difference lies within the predetermined allowable value, the selector 60 functions so as to send the PLL clock as a reference clock to the decoder 15.
The selector 60 is one of control means for switching and outputting the predetermined clock formed by the oscillator with a constant frequency as a read clock when the frequency of the PLL clock from the PLL circuit 14 deviates from the predetermined allowable value.
The operation of the embodiment will now be described.
FIG. 3 is a block diagram showing a practical example of the frequency comparison judging circuit 40 in the embodiment.
The frequency comparison judging circuit 40 has an x counter 41, a y counter 42, a z counter 43, a judging circuit 44, and an error judging area generating circuit 45 including an A counter and a B counter.
FIG. 4 is an operation explanatory diagram of the circuit shown in FIG. 3.
In the above embodiment, the frequency comparison judging circuit 40 compares the frequency of the predetermined clock which is output from the oscillator 50 and the frequency of the PLL clock.
When the x counter counts a predetermined number of predetermined clocks, a reset signal is output to the z counter, so that the z counter is reset and starts counting. A window signal is generated for a period of time when the z counter is executing the counting operation. On the other hand, when the y counter counts a predetermined number of PLL clocks, it outputs a judging edge signal.
If the difference between the frequency of the predetermined clock and the frequency of the PLL clock is small, as shown in FIG. 4, the judging edge signal is output during the counting operation of the z counter, that is, during the generation of the window signal, so that the judging circuit 44 does not output a reproduction error detecting signal.
However, if the difference between those two frequencies deviates from the predetermined allowable value, the judging edge signal is not output until the window signal trails (the leading edge of the judging edge signal is deviated from the window). If the timing for trailing of the window signal lies within an error judging area, the frequency comparison judging circuit 40 outputs the reproduction error detecting signal at this time. The reproduction error detecting signal is sent to the host computer. When the error judging area generating circuit 45 receives the sector mark detecting signal, the A counter starts the counting operation. When the A counter counts a predetermined number of predetermined clocks, the B counter starts the counting operation of the predetermined clocks.
During the counting operation of the B counter, the error judging area signal is output and the judging circuit 44 can execute the judgment on the basis of the error judging area signal. However, during the counting operation of the A counter, a case exists wherein the frequency of the PLL clock does not become stable. Therefore, the judging circuit does not execute the judging operation. The A and B counters can also count clocks of an oscillator which is separately provided.
When the counting operation of the z counter is finished and the window signal trails, a reset signal C is output to the x counter 41 and the y counter 42 and both of the counters are reset. The above frequency judging operation is repeated many times in one sector.
The frequency allowable value also may be set in accordance with ratios of the count values of the x, y, and z counters. On the other hand, each time information of another sector is reproduced, that is, each time the sector mark detection signal is input, the judging circuit 44 is reset and the PLL clock is selected as a reference clock.
FIG. 2 is a time chart in a case wherein the unrecorded sector was reproduced in the embodiment.
Since no data is recorded in the sector, the frequency of the PLL clock gradually decreases and the frequency of the read clock also changes to a low frequency in association with the reduction of the PLL clock frequency. Thus, the frequency comparison judging circuit 40 detects the abnormality of the frequency of the PLL clock and changes the reproduction error signal level from "L" to "H". Due to this, in place of the PLL clock, the selector 60 switches and outputs the predetermined clock from the oscillator 50 and the predetermined clock is used as the read clock. Therefore, the generation of the read clocks of the number corresponding to a predetermined number of data is finished in the sector, that is, the transfer of the reproduction data is completed in one sector and the normal reproducing operation is finished.
FIG. 5 is a block diagram showing another embodiment of the invention.
According to this other embodiment, a selector 61 and the oscillator 50 with a constant frequency are arranged in front of the PLL circuit 14. The frequency comparison judging circuit 40 has the same construction as that in FIG. 3.
When comparing this embodiment with that shown in FIG. 1, in the embodiment shown in FIG. 5, when an error occurs, the speed at which the frequency of the read clock is returned becomes slightly slower due to the period of time until the predetermined clocks from the oscillator with a constant frequency are locked by the PLL circuit 14. However, when an error occurs, since the PLL circuit 14 also operates based on the predetermined clocks, the operating frequency of the PLL circuit 14 can be limited. Therefore, it is possible to prevent the occurrence of an inconvenience with respect to the PLL circuit such that a pseudo lock is executed at quite a different frequency in spite of the fact that correct data was again input to the PLL circuit 14.
As described above, there are advantages such that even in a case wherein the unrecorded sector or the sector of an incorrect recording state was reproduced, the circuit of the host computer which receives the decoded data does not cause an erroneous operation and the next sector of such a sector can be continuously reproduced.