This application is Continuation of co-pending application Ser. No. 10/623,576 filed on Jul. 22, 2003 and for which priority is claimed under U.S.C. §120. This application claims priority to Application No. 091116530 filed in Taiwan, Republic of China on Jul. 24, 2002 under 35 U.S.C. §119, the entire content of both of which are hereby incorporated by reference.
BACKGROUND OF THE INVENTION 1. Field of the invention
The invention relates to an ADIP (Address In Pre-groove) demodulation method and apparatus, and more particularly to an ADIP demodulation method and apparatus, which generates a difference signal between the wobble signal and the reference wobble signal and outputs the channel bit signal according to the difference signal.
2. Description of the Related Art
In the DVD+R (Recordable Digital Versatile Disk) or DVD-+RW (Rewritable Digital Versatile Disk), the ADIP (Address In Pre-groove) records the address of each track zone so as to locate the to-be-recorded track zones according to the ADIP information during the recording process.FIGS. 1A-1C show the rules of the ADIP modulation according to the specification of DVD+R/RW, and the wobble signal after modulation is the phase-change signal. According to the specification of DVD+R/RW, each data block includes93 wobble cycles, wherein8 wobble cycles are modulated with ADIP information and other85 wobble cycles are positive wobble signal.
As shown inFIGS. 1A-1C, 8 wobble cycles of phase modulation wobble signal with the ADIP information only represent three states, i.e., the sync data ofFIG. 1A, thedata0 ofFIG. 1B, and thedata1 ofFIG. 1C. When the optical disk driver retrieves the analog wobble signal from the disk, the analog wobble signal has to be digitized and converted into the channel bit, which is then decoded into the ADIP information by an ADIP decoder. The channel bit corresponding to the sync data is “11110000,” the channel bit corresponding to thedata0 is “10000011,” and the channel bit corresponding to thedata1 is “10001100.” Thus, the ADIP decoder can generate the ADIP information only according to the channel bits. However, since noises may influence the channel bits, the ADIP decoder may have errors during the decoding process. Consequently, the DVD+R/RW optical disk driver must have an ADIP demodulation method and apparatus with high noise tolerance.
In the conventional ADIP demodulation method, the wobble signal is assumed to be a cosine signal with a phase A. The wobble signal is first digitized and then multiplied by a sine wave with a phase of B, that is, the multiplied signal equals:
CosA*SinB=½(sin(A+B)−sin(A−B)).
Next, the multiplied signal is transferred to an integrator and the value of B is adjusted to make the value of the multiplied signal to be 0. When A=B (i.e., the phases are the same), the value equals to 0. At this time, the above-mentioned sine wave is the to-be-generated wobble sync signal (wobsync).
The original signal CosA is multiplied by a cosine signal with a phase B of the wobble sync signal, and we may obtain:
CosA*CosB=½(cos(A+B)+cos(A−B)).
Similarly, the signal is transferred for integration. When A=B, the value equals to +1, and when the phases are opposite, the value equals to −1, thereby the ADIP signal being decoded according to the changes.
However, the method mentioned above needs to use 8-bit analog-to-digital converter (ADC) to convert the wobble signal into digital data, and complicated operations of trigonometric functions has to be performed accordingly. Thus, the design is complicated and the cost is higher.
SUMMARY OF THE INVENTION In view of the above-mentioned problems, an object of the invention is to provide an ADIP demodulation method and apparatus with good noise immunity for ADIP signal without using 8-bit analog-to-digital converters and complicated operations of the trigonometric functions.
To achieve the above-mentioned object, the ADIP demodulation apparatus of the invention includes a slicing unit for receiving the wobble signal and generating a wobble pulse, a phase locked loop for generating a reference wobble signal with the same frequency and phase as the wobble pulse according to the wobble pulse and a reference clock with frequency higher than the wobble pulse, a channel bit generator for generating channel bits according to the reference wobble signal and the wobble pulse, and a ADIP decoder for generating ADIP information according to the channel bits.
The channel bit generator generates a difference signal between the wobble pulse and the reference wobble signal, and outputs the channel bit signal according to the difference signal.
BRIEF DESCRIPTION OF THE DRAWINGSFIG. 1A shows the sync data of the ADIP modulation.
FIG. 1B shows thedata0 of the ADIP modulation.
FIG. 1C shows thedata1 of the ADIP modulation.
FIG. 2 shows a block diagram of an ADIP demodulation apparatus of the present invention.
FIG. 3 shows a block diagram of a channel bit generator.
FIGS. 4A-4H show a schematic illustration of the waveforms of some signals, whereinFIG. 4A represents a wobble signal,FIG. 4B represents a wobble pulse WOBPUS,FIG. 4C represents a reference wobble signal WOBREF,FIG. 4D represents a difference signal PHDIFF,FIG. 4E represents a reference clock WCK,FIG. 4F represents a positive edge pulse PCK,FIG. 4G represents a count value, andFIG. 4H represents a channel bit signal.
FIG. 5 shows a flow chart of an ADIP demodulation method of the present invention.
DETAILED DESCRIPTION OF THE INVENTION The ADIP demodulation method and apparatus of the invention will be described with reference to the accompanying drawings.
FIG. 2 shows a block diagram of an ADIP demodulation apparatus of the present invention. Referring toFIG. 2, theADIP demodulation apparatus20 includes aslicing unit21, aclock generator22, a phase locked loop (PLL)23, achannel bit generator24, and anADIP decoder25.
Theslicing unit21 receives a wobble signal WOBS and slices the wobble signal WOBS into a binary signal with levels of1 and0 according to a slicing level. The binary signal is defined as a wobble pulse WOBPUS. The cycle length of the wobble pulse WOBPUS is 32 T, wherein T is the basic pulse length. Theclock generator22 generates a reference clock WCK according to the wobble pulse WOBPUS. The reference clock WCK is a reference signal with frequency higher than the wobble pulse WOBPUS, and the cycle length thereof is 2 T or 1 T, for example. The phase lockedloop23 generates a reference wobble signal WOBREF with the same frequency and phase as the wobble pulse WOBPUS according to the reference clock WCK. The cycle length of the reference wobble signal WOBREF is also 32 T. Thechannel bit generator24 generates the channel bit signal according to the wobble pulse WOBPUS, the reference wobble signal WOBREF, and the reference clock WCK. Finally, theADIP decoder25 is employed to decode the channel bit signal into the ADIP bit signal.
FIG. 3 shows a block diagram of the channel bit generator. Referring toFIG. 3, thechannel bit generator24 includes a positive-edge pulse generator241, an XOR gate (bit comparator)242, acounter243, and adecision unit244. TheXOR gate242 receives the wobble pulse WOBPUS and the reference wobble signal WOBREF and generates a difference signal PHDIFF between the wobble pulse WOBPUS and the reference wobble signal WOBREF. The positive-edge pulse generator241 receives the reference wobble signal WOBREF and the reference clock WCK and generates a positive edge pulse PCK at the positive edge of the reference wobble signal WOBREF. Thecounter243 counts the pulse number of the reference clock WCK during the high level of the difference signal PHDIFF in each cycle of the reference wobble signal WOBREF (or each cycle of the positive edge pulse PCK) and outputs a count value as a duty cycle. Thecounter243 clear the count value at the negative edge of the positive edge pulse PCK. Thedecision unit244 receives the count value of thecounter243, compares the count value (duty cycle) with a threshold value at the negative edge of the positive edge pulse PCK, and then outputs the channel bit signal. Thedecision unit244 is a comparator for comparing the count value with a threshold value, and then outputting the channel bit signal at the negative edge of each positive edge pulse PCK.
The operation principle of thedecision unit244 will be described in the following. If the cycle length of the reference wobble signal WOBREF is 32 T and the cycle length of the reference clock WCK is 2 T, then there are 16 pulses of the reference clock WCK in each cycle of the reference wobble signal WOBREF. Therefore, if one phase of the wobble pulse WOBPUS is changed, that is, the phases between the wobble pulse WOBPUS and the reference wobble signal WOBREF are reverse, the difference signal PHDIFF is changed to H and the value of thecounter243 should be 16. However, since the wobble pulse WOBPUS will be influenced by the noise, the value of thecounter243 may be smaller than 16, but the difference is not too great. Consequently, as long as the threshold value of thedecision unit244 is properly set (for example, the threshold value is set to 8 in this embodiment), the channel bit signal is free from being influenced by the noise. Then, thedecision unit244 can correctly generate the channel bit signal. That is, if the duty cycle of the difference signal is greater than a threshold, for example 50%, the channel bit signal is H, otherwise the channel bit signal is L.
FIGS. 4A-4H show the schematic illustration of the waveforms of some signals in the ADIP demodulation apparatus of the invention, whereinFIG. 4A shows the wobble signal,FIG. 4B shows the wobble pulse WOBPUS,FIG. 4C shows the reference wobble signal WOBREF,FIG. 4D shows the difference signal PHDIFF,FIG. 4E shows the reference clock WCK,FIG. 4F shows the positive edge pulse PCK,FIG. 4G shows the count value, andFIG. 4H shows the channel bit signal. As shown in theFIGS. 4A-4H, the slicing unit receives the wobble signal ofFIG. 4A and generates the wobble pulse WOBPUS ofFIG. 4B. Thereference clock generator22 generates the reference clock WCK ofFIG. 4E according to the wobble pulse WOBPUS ofFIG. 4A. The phase lockedloop23 generates the reference wobble signal WOBREF ofFIG. 4C according to the wobble pulse WOBPUS ofFIG. 4B and the reference clock WCK ofFIG. 4E. TheXOR gate242 generates the difference signal PHDIFF ofFIG. 4D according to the wobble pulse WOBPUS ofFIG. 4B and the reference wobble signal WOBREF ofFIG. 4C. The positive-edge pulse generator241 generates the positive edge pulse PCK ofFIG. 4F according to the reference clock WCK ofFIG. 4E and the reference wobble signal WOBREF ofFIG. 4C. Thecounter243 outputs the count value CNT_VAL ofFIG. 4G Finally, thedecision unit244 generates the channel bit signal ofFIG. 4H according to the count value CNT_VAL ofFIG. 4G
FIG. 5 shows a flow chart of an ADIP demodulation method of the present invention. Referring toFIG. 5, the ADIP demodulation method of the invention includes the following steps.
Step S502: generate a wobble pulse WOBPUS. A wobble signal is sliced into a binary signal as the wobble pulse WOBPUS.
Step S504: generate a reference wobble signal WOBREF. A phase locked loop PLL is used to generate the reference wobble signal WOBREF with the same frequency and phase as the wobble pulse WOBPUS.
Step S506: generate a difference signal PHDIFF. The reference wobble signal WOBREF and the wobble pulse WOBPUS are XORed to generate the difference signal PHDIFF.
Step S508: calculate the duty cycle of the difference signal PHDIFF. A counter is used to count the high level width of the difference signal PHDIFF corresponding to each cycle of the wobble pulse WOBPUS using a reference clock with frequency higher than the wobble pulse WOBPUS and to output a count value as the duty cycle.
Step S510: generate a channel bit signal. When the count value (duty cycle) is higher than a threshold value, the channel bit signal is H; otherwise the channel bit signal is L.
Step S512: generate the ADIP information. When the channel bit signal sequence is 1110000 or its similar sequence, the ADIP information is the sync signal. When the channel bit signal sequence is 10000011 or its similar sequence, the ADIP information is 0. When the channel bit signal sequence is 10001100 or its similar sequence, the ADIP information is 1.
Since the invention uses a counter to calculate the duty cycle of the difference signal PHDIFF and output a count value (duty cycle), and then uses a comparator to compare the count value with a threshold value so as to generate a channel bit signal, the ADIP demodulation apparatus of the invention can provide good noise immunity for ADIP signal.
While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention not be limited to the specific construction and arrangement shown and described, since various other modifications may occur to those ordinarily skilled in the art.