Digital wave generating apparatus

Abstract

A generating a digital wave apparatus is provided. The period of a basic clock signal is divided into a plurality of time points, and the level of the highly accurate digital wave is toggled at these time points. The apparatus comprises a delay phase lock loop, for generating a plurality of delayed clock signals according to the basic clock signal; a first multiplexer and a second multiplexer for outputting one of the delayed clock signals according to a first select signal and a second select signal, respectively; a first edge-triggered flip-flop and a second edge-triggered flip-flop for receiving the output signals of the first multiplexer and the second multiplexer respectively; and a logic gate for outputting the digital wave according to the outputs of the first and the second edge-triggered flip-flops. The digital wave is toggled according to the first select signal, and further toggled according to the second select signal. The apparatus of the invention uses the low frequency clock signal to generate a highly accurate digital wave, and can save cost in comparison with the conventional apparatus that uses the high frequency clock signal.

Claims

What is claimed is: 1 . A digital wave generating apparatus, wherein a period of a basic clock signal is divided into a plurality of time points, and the digital wave is triggered at the time points, the apparatus comprising: a delay phase lock loop, for generating a plurality of delayed clock signals according to the basic clock signal; a first multiplexer, coupled to the delay phase lock loop, for outputting a first output signal, which is one of the delayed clock signals, according to a first select signal; a second multiplexer, coupled to the delay phase lock loop, for outputting a second output signal, which is one of the delayed clock signals, according to a second select signal; a first edge-triggered flip-flop, for receiving the first output signal of the first multiplexer; a second edge-triggered flip-flop, for receiving the second output signal of the second multiplexer; and a first logic gate, for outputting the digital wave according to the outputs of the first and the second edge-triggered flip-flops. 2 . The apparatus of claim 1 , wherein level of the digital wave is toggled from a first level to a second level at a time point (j), and toggled from the second level to the first level at a time point (k), the output signal of the first multiplexer is the clock signal (j), and the output signal of the second multiplexer is the clock signal (k), 0<j<k≦n, and j, k are positive integrals. 3 . The apparatus of claim 2 , wherein first level is a low level and the second level is a high level. 4 . The apparatus of claim 1 , wherein the first and the second edge-triggered multiplexers are triggered at a rising edge. 5 . The apparatus of claim 1 , wherein the first logic gate is an XOR gate. 6 . The apparatus of claim 1 , further comprising a second logic gate for receiving the digital wave and the output signal of the first multiplexer, to generate a first triggering signal to control the first edge-triggered flip-flop. 7 . The apparatus of claim 6 , further comprising a first storage device for receiving a first data signal according to the basic clock signal, and outputting the first select signal to the first multiplexer according to the first triggering signal. 8 . The apparatus of claim 1 , further comprising a third logic gate for receiving the digital wave and the output signal of the second multiplexer, to generate a second triggering signal to control the second edge-triggered flip-flop. 9 . The apparatus of claim 8 , further comprising a second storage device for receiving a second data signal according to the basic clock signal, and outputting the second select signal to the second multiplexer according to the second tiggering signal.
[0001] This application incorporates by reference of Taiwan application Serial No. 090122164, filed Sep. 6, 2001. BACKGROUND OF THE INVENTION [0002] 1. Field of the Invention [0003] This invention relates in general to an apparatus for generating a digital wave. More specifically, this invention relates to an apparatus for generating a digital wave, in which a low frequency clock is used for generating a highly accurate digital wave. [0004] 2. Description of Related Art [0005] As the demand for high-capacity storage increases, so does the use of the optical information recording apparatus, such as a rewritable or recordable optical drive. When a writable optical drive writes data to a compact disc rewritable (CD-RW), a laser diode emits the energy required for the data recording. During the entire writing process, the laser diode has to be capable of providing three optical signals of different powers. When the optical signal of a different power illuminates the optical disc, the data area on the optical disc will create a corresponding status due to the different power. [0006] [0006]FIG. 1 is a diagram showing the variation of the power of the optical signal for recording corresponding to a data area of the optical disc. The data area of a rewritable optical disc has a space area and a mark area. The data stored in the mark area is constituted by logic “1” and logic “0”. When the laser beam passes the space area, an optical signal having an erase power P ERASE generated by the laser diode must be used to illuminate the optical disc. When the laser beam passes the mark area, an optical signal, alternatively having a write power P WRITE and a bias power P BIAS generated by the laser diode must be used to illuminate the optical disc. [0007] When writing to the mark area, the required times of the optical signal having the write power P WRITE and the bias power P BIAS are determined by the characteristic of the optical disc and the specification of the data to be written. One writing period comprises at least one writing power P WRITE and at least one bias power P BIAS . Therefore, in one writing period T, the writing power P WRITE and the bias power P BIAS are generated according to a highly accurate digital wave W. In general, the digital wave W has to be toggled once or twice within one writing period. [0008] [0008]FIG. 2 is an example of a highly accurate digital wave. If a writing period T is divided into n time points, the digital wave W needs to be toggled once or twice within the writing period T. The time point for the toggle state is selected from the n time points. Referring to FIG. 2, the time points for the toggle state are time point 4 and time point 12 , FIG. 3 is a block diagram of a conventional apparatus for generating a digital wave. Referring to FIG. 3, the digital wave generating apparatus 300 comprises a counter 310 , comparators C 1 , C 2 , a multiplexier 312 and flip-flop 314 . The counter 310 is used for receiving a high frequency clock signal CLKn. When the high frequency clock signal CLKn finishes one periodic cycle, the counting value C to be outputted from the counter 310 is added by 1. The period of the high frequency clock signal CLKn is one-nth of the writing period T. The comparator C 1 is coupled to the counter 310 for receiving the counting value C and the select signal SI and outputting a comparison signal P 1 . The comparator C 2 is coupled to the counter 310 for receiving the counting value C and the select signal S 2 and outputting a comparison signal P 2 . [0009] The select signal S 1 is used for determining the time point at which the digital wave W is toggled from the low level to the high level. The select signal S 2 is used for determining the time point that the digital wave W is toggled from the high level to the low level. The multiplexer 312 is coupled to the comparators C 1 and C 2 for receiving the comparison signals P 1 and P 2 , and then outputting the multiplexing signal m. When the digital wave W is at the low level, the multiplexer 312 outputs the comparison signal P 1 . When the digital wave W is at the high level, the multiplexer 312 outputs the comparison signal P 2 . The flip-flop 314 is coupled to the multiplexer 312 for receiving the multiplexing signal m and outputting the digital wave W. When the multiplexing signal m is toggled from the low level to the high level, the digital wave W to be outputted from the flip-flop 314 is also toggled. [0010] Accordingly, the conventional apparatus for generating the highly accurate digital wave requires a high frequency clock signal, having the disadvantages of high cost and being difficult to control the accuracy. SUMMARY OF THE INVENTION [0011] According to the foregoing description, an object of this invention is to provide an apparatus for generating a highly accurate digital wave by using a low frequency clock signal. [0012] Therefore, the invention is to provide an apparatus for generating a digital wave. A period of a basic clock signal is divided into a plurality of time points, and the level of the highly accurate digital wave is toggled at these time points. The apparatus comprises a delay phase lock loop, for generating a plurality of delayed clock signals according to the basic clock signal. The apparatus further comprises a first multiplexer and a second multiplexer, each for outputting one of the delayed clock signals according to the first and the second select signals, respectively. The apparatus further comprises the first and the second edge-triggered flip-flops, for receiving output signals of the first and the second multiplexer respectively. The apparatus further comprises a logic gate for outputting the digital wave according to the outputs of the first and the second edge-toggled flip-flops. The digital wave is toggled according to the first select signal, and then further toggled according to the second select signal. BRIEF DESCRIPTION OF THE DRAWINGS [0013] While the specification concludes with claims particularly pointing out the subject matter which is regarded as the invention, the objects and features of the invention and further objects, features and advantages thereof will be better understood from the following description taken in connection with the accompanying drawings in which: [0014] [0014]FIG. 1 is a diagram showing the variation of the power of the optical signal for recording corresponding to a data area of the optical disc; [0015] [0015]FIG. 2 is an example of a highly accurate digital wave; [0016] [0016]FIG. 3 is a block diagram of a conventional apparatus for generating a digital wave; [0017] [0017]FIG. 4 is a block diagram of an apparatus for generating a digital wave according to one preferred embodiment of the invention; and [0018] [0018]FIG. 5 is a timing diagram for the apparatus for generating a digital wave in FIG. 4. DESCRIPTION OF THE PREFERRED EMBODIMENT [0019] Referring to FIG. 4, it is a block diagram of an apparatus for generating a digital wave according to one preferred embodiment of the invention. The apparatus 400 for generating a digital wave is used for generating a highly accurate digital wave W. A basic period of a basic wave can be divided into n time points, and the level of the digital wave W is toggled at these time points, in which n is an integral and has a value 20 as an example in this embodiment. The apparatus 400 for generating a digital wave comprises a delay phase lock loop (DLL) 402 , multiplexers M 1 and M 2 , logic gates 404 and 405 , FIFOs 406 and 408 , edge-triggered flip-flops F 1 and F 2 , and a logic gate 409 (such as an XOR gate). The DLL 402 is used for generating n clock signals CK 0 ·CKn−1 according to a basic clock signal CK 0 . The phase difference between adjacent clock signals is 2×π/n (or the basic period/n), i.e., the phase difference between the clock signal CKm and the clock signal CKm+1 is 2×π/n, in which m is an integral small than n. The multiplexer M 1 is coupled to the DLL 402 for receiving the clock signals CK 0 ·CKn−1, and then selects one of these clock signals CK 0 ·CKn−1 as an output signal OUT 1 according to a select signal SSet. The select signal SSet is used for determining a time point at which the digital wave W is toggled from a low level to a high level. According to FIG. 4, the logic gate 405 is composed of an inverter and an AND gate, which is understood to those skilled in the art and their descriptions are omitted. The logic gate 405 receives the output signal OUT 1 and the digital wave W that is feedback to the logic gate 405 , to generate a first triggering signal S. The edge-triggered flip-flop F 1 is triggered by the first triggering signal S, and outputs an output signal Q_F 1 at the terminal Q to the logic gate 409 (such as the XOR gate), wherein the input terminal D of the flip-flop F 1 is connected to its output terminal QN. [0020] Similarly, the multiplexer M 2 is coupled to the DLL 402 for receiving the clock signals CK 0 ˜CKn−1, and selects one of these clock signals CK 0 ˜CKn−1 as an output signal OUT 2 according to a select signal RSet, in which the select signal is used for determining a time point that the digital wave W is toggled from a high level to a low level. The logic gate 404 receives the output signal OUT 2 and the digital wave W that is fed back to the logic gate 404 , to generate a second triggering signal R. The edge-triggered flip-flop F 2 is triggered by the second triggering signal R, and outputs an output signal Q_F 2 at the terminal Q to the logic gate 409 (such as the XOR gate), wherein the input terminal D of the flip-flop F 2 is connected to its output terminal QN. [0021] According to the invention, trigger points at the rising edge and the falling edge of the digital wave W can be set. Referring to FIG. 4, the FIFO 408 and the FIFO 406 receive the S_DATA (for setting the trigger point at the rising edge of the digital wave W) and the R_DATA (for setting the trigger point at the falling edge of the digital wave W) respectively. The FIFO 408 further receives the clock signal CK 0 and the first triggering signal S output from the logic gate 405 . The clock signal CK 0 is used for triggering the FIFI 408 to receive the S_DATA, and the first triggering signal S is used for triggering the FIFO 408 to output the select signal SSet to the multiplexer M 1 . For example, if the digital wave W is required to be triggered at the rising edge at CK 1 and CK 3 respectively, the S_DATA is 1 and 3 respectively, wherein 1 and 3 represent the clock signals CK 1 and CK 3 . Similarly, the FIFO 406 further receives the clock signal CK 0 and the second triggering signal R output from the logic gate 404 . The clock signal CK 0 is used for triggering the FIFI 406 to receive the R_DATA, and the second triggering signal R is used for triggering the FIFO 406 to output the select signal RSet to the multiplexer M 2 . For example, if the digital wave W is required to be triggered at the falling edge at CK 5 and CK 19 respectively, the R_DATA is 5 and 19 respectively, wherein 5 and 19 represent the clock signals CK 5 and CK 19 . [0022] Next, the following describes how the digital wave W is generated. Referring to FIG. 5, it is a timing diagram for the apparatus 400 for generating a digital wave in FIG. 4. The phase difference between adjacent two of the clock signals CK 0 ·CKn−1 output from the DLL 402 is 2×π/n. In the following description, in certain one period, the digital wave W needs to be toggled to a high level at time point 1 and toggled to a low level at time point 5 . In the next period, the digital wave W needs to be toggled to a high level at time point 3 and toggled to a low level at time point 19 . [0023] First, when no clock signals are outputted from the multiplexers M 1 and M 2 , the signals S and R are low levels, so that the digital wave W is a low level. When the multiplexer M 1 outputs the clock signal CK 1 according to the select signal SSet and after being processed by the logic gate 405 , the first triggering signal S becomes a high level. According to the invention, in order to prevent the accuracy of the digital wave W from being affected, the FIFO 408 will transmit the next select signal SSet to the multiplexer M 1 after the first triggering signal S becomes the high level. The high level of the signal S makes the output Q_F 1 of the edge triggered flip-flop F 1 change to the high level. Next, the digital wave W will be toggled from the low level to the high level because the output Q_F 1 is toggled. The high level of the digital wave W is then feedback to the logic gate 405 so that the first triggering signal S is toggled to the low level again. [0024] Similarly, when the multiplexer M 2 outputs the clock signal CK 5 according to the select signal RSet and after being processed by the logic gate 404 , the second triggering signal R becomes a high level. According to the invention, in order to prevent the accuracy of the digital wave W from being affected, the FIFO 406 will transmit the next select signal RSet to the multiplexer M 2 after the second triggering signal R becomes the high level. The high level of the signal R makes the output Q_F 2 of the edge triggered flip-flop F 2 toggled to the high level. Next, the digital wave W will be tollged from the high level to the low level because the output Q_F 2 is toggled. The low level of the digital wave W is then feedback to the logic gate 404 so that the second triggering signal R is toggled to the low level again. [0025] Similarly, the next cycle is proceeded in the same way so that the digital wave W can be toggled to a high level at time point 3 , and toggled to a low level at time point 19 . [0026] In the above embodiment, other devices can be used for replacing the DLL 402 , such as a voltage controlled oscillator (VCO). Additionally, if the digital wave W requires to be triggered more than twice within one period of the basic clock signal CK 0 , the frequency of the basic clock signal CK 0 can be properly divided and the phase of the frequency-divided basic clock signal CK 0 is then delayed on demand. [0027] According to the invention, the apparatus for generating the digital wave uses the low frequency clock signal to generate a highly accurate digital wave, so that the cost can be saved in comparison with the conventional apparatus that uses the high frequency clock signal. [0028] While the present invention has been described with a preferred embodiment, this description is not intended to limit our invention. Various modifications of the embodiment will be apparent to those skilled in the art. Therefore the appended claims should be accorded the broadest interpretation so as to cover any such modifications or embodiments within the scope of the invention.

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (2)

    Publication numberPublication dateAssigneeTitle
    US-5568075-AOctober 22, 1996International Business Machines CorporationTiming signal generator
    US-6130566-AOctober 10, 2000Yokomizo; AkiraDigital wave shaping circuit, frequency multiplying circuit, and external synchronizing method, and external synchronizing circuit

NO-Patent Citations (0)

    Title

Cited By (6)

    Publication numberPublication dateAssigneeTitle
    CN-101411064-BMay 09, 2012美国亚德诺半导体公司生成扩频时钟信号的方法和装置
    JP-2009527989-AJuly 30, 2009アナログ・デバイシズ・インコーポレーテッドスペクトル拡散クロッキング
    US-2007194817-A1August 23, 2007Analog Devices, Inc.Spread-spectrum clocking
    US-7437590-B2October 14, 2008Analog Devices, Inc.Spread-spectrum clocking
    US-9013208-B1April 21, 2015Marvell Israel (M.I.S.L) Ltd.Method and apparatus for clocking
    WO-2007100529-A3November 15, 2007Analog Devices Inc, Mark T Sayuk, David P Foley, Jianrong Chen, Steven DeckerSignaux d'horloge à spectre étalé