7102690 Clock signal synthesizer with multiple frequency outputs and method for synthesizing clock signal
Abstract: A method for synthesizing a clock signal with multiple frequency outputs for use in a converter for converting a non-interlacing scan data into an interlacing scan data is disclosed. The converter provides a first reference clock signal with a frequency F1. The method includes the steps of receiving the first reference clock signal with the frequency F1 to generate and output a clock signal with a frequency F1.times.N, proceeding a divided-by-P1 and a divided-by-P2 operations on the clock signal with a frequency F1.times.N, respectively, to output a first output clock signal with a frequency F1.times.N/P1 and a second output clock signal with a frequency F1.times.N/P2, respectively. The value P2/P1 correlates to a ratio of the pixel number of a horizontal scan line in the non-interlacing scan data to that in the interlacing scan data. In addition, a clock signal synthesizer with multiple frequency outputs is also disclosed.
1. A clock signal synthesizer with multiple frequency outputs for use in a converter for converting a non-interlacing scan data into an interlacing scan data, said converterproviding a first reference clock signal with a frequency F1, said clock signal synthesizer comprising: a phase-locked loop (PLL) oscillator generating a clock signal with a frequency F1.times.N in response to said first reference clock signal receivedby an input end thereof, and outputting said clock signal with said frequency F1.times.N from an output end thereof; a divider feedback circuit electrically connected to said input end of said PLL oscillator for receiving and proceeding a divided-by-Noperation on said clock signal with said frequency F1.times.N, and feeding a feedback clock signal with a frequency F1 back to said PLL oscillator; a first divider output circuit electrically connected to said PLL oscillator for receiving and proceedinga divided-by-P1 operation on said clock signal with said frequency F1.times.N, and outputting a first output clock signal with a frequency F1.times.N/P1; and a second divider output circuit electrically connected to said PLL oscillator for receiving andproceeding a divided-by-P2 operation on said clock signal with said frequency F1.times.N, and outputting a second output clock signal with a frequency F1.times.N/P2, wherein a value P2/P1 correlates to a ratio of the pixel number of a horizontal scanline in said non-interlacing scan data to the pixel number of a horizontal scan line in said interlacing scan data.
2. The clock signal synthesizer according to claim 1 wherein said first reference clock signal with said frequency F1 is outputted by a pre-divider circuit, which proceeds a divided-by-D operation on an original reference clock signal with afrequency D.times.F1 to output said first reference clock signal with said frequency F1.
3. The clock signal synthesizer according to claim 1 wherein said converter is disposed in a display adapter of a TV encoder.
4. The clock signal synthesizer according to claim 3 wherein said first output clock signal with said frequency F1.times.N/P1 and said second output clock signal with said frequency F1.times.N/P2 are provided to a scaler /a deflicker and aNTSC/PAL encoder of said TV encoder, respectively.
5. The clock signal synthesizer according to claim 1 wherein said first and second divider output circuits are a divided-by-P1 and a divided-by-P2 counters, respectively.
6. A method for synthesizing a clock signal with multiple frequency outputs for use in a converter disposed in a display adapter of a TV encoder for converting a non-interlacing scan data into an interlacing scan data, said converter providinga first reference clock signal with a frequency F1, said method comprising the steps of: receiving said first reference clock signal with said frequency F1 to generate and output a clock signal with a frequency F1.times.N; proceeding a divided-by-P1operation on said clock signal with a frequency F1.times.N to output a first output clock signal with a frequency F1.times.N/P1; proceeding a divided-by-P2 operation on said clock signal with a frequency F1.times.N to output a second output clock signalwith a frequency F1.times.N/P2, wherein a value P2/P1 correlates to a ratio of the pixel number of a horizontal scan line in said non-interlacing scan data to the pixel number of a horizontal scan line in said interlacing scan data; and providing saidfirst output clock signal with said frequency F1.times.N/P1 and said second output clock signal with said frequency F1.times.N/P2 to a scaler/a deflicker and a NTSC/PAL encoder of said TV encoder, respectively.
7. The method according to claim 6 wherein said first reference clock signal with said frequency F1 is obtained by proceeding a divided-by-D operation on an original reference clock signal with a frequency D.times.F1.
The present invention relates to a clock signal synthesizer with multiple frequency outputs, and more particularly to a clock signal synthesizer with multiple frequency outputs for use in a TV encoder. The present invention also relates to amethod for synthesizing a clock signal for use in a TV encoder.
Nowadays, many electrical appliances are widely used with computers due to the amazing power of computers. For example, video compact disks (VCDs) and digital versatile disks (DVDs) are able to be played by a personal computer. Since the sizeof a typical computer monitor is not large enough to exhibit the spectacular video effect of the VCD or DVD disks, it is preferred that the signals be outputted from the personal computer to a TV set to be displayed on the relatively large TV screen. The purpose can be achieved by employing a display adapter.
FIG. 1A is a partial functional block diagram of a typical display adapter. The pixel parallel digital signals from a graphic chip 10 are selectively converted into a proper format of analog signals via either a random access memorydigital-to-analog converter (RAM DAC) 11 or a TV encoder 12, and delivered to a computer monitor 13 or a TV screen 14, respectively, for display. Further, for TV analog signals, two formats, i.e. the NTSC (National Television Standards Committee)standard and the PAL (Phase Alternate Line) standard, are involved.
The scaler and deflicker 123 is used for processing a non-interlacing scan data and then outputting the processed non-interlacing scan data to the first-in first-out buffer 124. The NTSC/PAL encoder 125 accesses the data from the first-infirst-out buffer 124 to separate it into an odd field and an even field, resulting in that an interlacing scan data is displayed on the TV screen. The time for processing two horizontal scan lines by the scaler and deflicker 123 is equal to that forprocessing one horizontal scan line by the NTSC/PAL encoder 125. Thus, the relationship between the frequency Fsd of the clock signal required for the scaler and deflicker 123 and the frequency Fe of the clock signal required for the NTSC/PAL encoder125 can be represented by the following equation (1): Fsd/Fe=2.times.H.sub.--sd/H.sub.--e (1), wherein H_sd represents the number of pixels in a horizontal scan line processed by the scaler and deflicker 123, while H_e represents the number of pixels ina horizontal scan line processed by the NTSC/PAL TV encoder 125.
Conventionally, the TV encoder 12 uses a single phase-locked loop (PLL) clock signal generator 127 to generate a clock signal simultaneously provided to the scaler and deflicker 123 and the NTSC/PAL TV encoder 125. In other words, Fsd=Fe. Whenlarger and larger pixel number, e.g. 1024 points, 1152 points, 1365 points or even 1600 points, for each horizontal scan line in the non-interlacing image data needs to be processed by the scaler and deflicker 123, the processed image width displayed onthe TV frame becomes narrower than expected. It is because the frequency Fsd is increased with the pixel number in a scan line. In the case that Fe equals to Fsd, the frequency Fe increases accordingly. The increasing frequency Fe will speed up theoutput frequency of individual pixel in the scan line and thus shorten the distance between every two adjacent pixels on the TV screen. In other words, a seemingly compressed image is shown. Thus, the original width of the TV screen is not efficientlyused.
Therefore, the purpose of the present invention is to develop a clock signal synthesizer with multiple frequency outputs and a method for synthesizing a clock signal for use with a TV encoder to deal with the above situations encountered in theprior art.
An object of the present invention is to provide a clock signal synthesizer with different frequency outputs for the scaler and deflicker and the NTSC/PAL TV encoder, respectively.
According to an aspect of the present invention, there is provided a clock signal synthesizer with multiple frequency outputs for use in a converter for converting a non-interlacing scan data into an interlacing scan data. The converter providesa first reference clock signal with a frequency F1. The clock signal synthesizer includes a phase-locked loop (PLL) oscillator generating a clock signal with a frequency F1.times.N in response to the first reference clock signal, and outputting theclock signal with the frequency F1.times.N, a divider feedback circuit electrically connected to the input end of the PLL oscillator for receiving and proceeding a divided-by-N operation on the clock signal with the frequency F1.times.N, and feeding afeedback clock signal with a frequency F1 back to the PLL oscillator, a first divider output circuit electrically connected to the PLL oscillator for receiving and proceeding a divided-by-P1 operation on the clock signal with the frequency F1.times.N,and outputting a first output clock signal with a frequency F1.times.N/P1, and a second divider output circuit electrically connected the PLL oscillator for receiving and proceeding a divided-by-P2 operation on the clock signal with the frequencyF1.times.N, and outputting a second output clock signal with a frequency F1.times.N/P2. The value P2/P1 correlates to a ratio of the pixel number of a horizontal scan line in the non-interlacing scan data to the pixel number of a horizontal scan line inthe interlacing scan data.
Preferably, the first reference clock signal with the frequency F1 is outputted by a pre-divider circuit, which proceeds a divided-by-D operation on an original reference clock signal with a frequency D.times.F1 to output the first referenceclock signal with the frequency F1.
In an embodiment, the converter is disposed in a display adapter of a TV encoder. Preferably, the first output clock signal with the frequency F1.times.N/P1 and the second output clock signal with the frequency F1.times.N/P2 are provided to ascaler/a deflicker and a NTSC/PAL encoder of the TV encoder, respectively.
For example, the first and second divider output circuits can be a divided-by-P1 and a divided-by-P2 counters, respectively.
According to another aspect of the present invention, there is provided a method for synthesizing a clock signal with multiple frequency outputs for use in a converter for converting a non-interlacing scan data into an interlacing scan data. Theconverter provides a first reference clock signal with a frequency F1. The method includes the steps of receiving the first reference clock signal with the frequency F1 to generate and output a clock signal with a frequency F1.times.N, proceeding adivided-by-P1 operation on the clock signal with a frequency F1.times.N to output a first output clock signal with a frequency F1.times.N/P1, and proceeding a divided-by-P2 operation on the clock signal with a frequency F1.times.N to output a secondoutput clock signal with a frequency F1.times.N/P2. The value P2/P1 correlates to a ratio of the pixel number of a horizontal scan line in the non-interlacing scan data to the pixel number of a horizontal scan line in the interlacing scan data.
Preferably, the first reference clock signal with the frequency F1 is obtained by proceeding a divided-by-D operation on an original reference clock signal with a frequency D.times.F1.
FIG. 2 is a schematic functional block diagram illustrating a preferred embodiment of a clock signal synthesizer with multiple frequency outputs according to the present invention.
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose ofillustration and description only; it is not intended to be exhaustive or to be limited to the precise form disclosed.
Please refer to FIG. 2 which is schematic functional block diagram illustrating a preferred embodiment of a clock signal synthesizer with multiple frequency outputs according to the present invention. The clock signal synthesizer includes apre-divider circuit 20, a phase-locked loop (PLL) oscillator 21, a divider feedback circuit 22, a first divider output circuit 23 and a second divider output circuit 24.
After an original reference clock signal with the frequency D .times.F1 enters the pre-divider circuit 20 to proceed a divided-by-D operation, a reference clock signal with the frequency F1 is outputted by the pre-divider circuit 20 to the PLLoscillator 21. Subsequently, the PLL oscillator 21 generates a clock signal with the frequency F1.times.N in response to the reference clock signal with the frequency F1 and outputs to the divider feedback circuit 22. The clock signal with thefrequency F1.times.N is transmitted to the first divider output circuit 23 and the second divider output circuit 24 electrically connected to the PLL oscillator 21 to be processed, respectively. In addition, the clock signal with the frequencyF1.times.N is fed back to the PLL oscillator 21 following a divided-by-N operation of the divider feedback circuit 22 for the reference of the PLL oscillator 21. In this embodiment, the first divider output circuit 23 and the second divider outputcircuit 24 are implemented by a divided-by-P1 counter and a divided-by-P2 counter, respectively. Thus, after receiving the clock signal with the frequency F1.times.N, the first and second divider output circuits 23 and 24 proceed a divided-by-P1operation and a divided-by-P2 operation, respectively, to output an first output clock signal with the frequency F1.times.N/P1 and a second output clock signal with the frequency F1.times.N/P2, respectively.
The first output clock signal with the frequency F1.times.N/P1 and the second output clock signal with the frequency F1.times.N/P2 are provided to the scaler/the deflicker 123 and the NTSC/PAL encoder 125 of the TV encoder 12 in FIG. 1B,respectively. In other words, the frequency Fsd of the clock signal provided for the scaler and deflicker 123 equals to F1.times.N/P1, and the frequency Fe of the clock signal provided for the NTSC/PAL encoder 125 equals to F1.times.N/P2. Hence,according to the equation (1), the following equation (2) is obtained: Fsd/Fe=P2/P1=2.times.H.sub.--sd/H.sub.--e (2), wherein H_sd represents the number of pixels in a horizontal scan line processed by the scaler and deflicker 123, and H_e represents thenumber of pixels in a horizontal scan line processed by the NTSC/PAL TV encoder 125. The ratio of Fsd to Fe may vary by adjusting the value P2/P1. Thus, in order to obtain optimal frame effect, the value P2/P1 is properly tuned in response to thevariation of the ratio of the pixel number of a horizontal scan line in the non-interlacing scan data to that in the interlacing scan data. For example, when P1 is adjusted to be smaller than P2, the frequency Fe is smaller than the frequency Fsd. Since the smaller frequency Fe will slow down the output frequency of individual pixel in the scan line, the distance between every two adjacent pixels on the TV screen is enlarged. By finding an optimal value of P2/P1, the width of the image shown onthe TV screen can conform to the original width of the TV screen.
While the invention has been described in terms of what are presently considered to be the most practical and preferred embodiments, it is to be understood that the invention need not be limited to the disclosed embodiment. On the contrary, itis intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.