This application claims all benefits accruing under 35 U.S.C. §119 from China Patent Application No. 200710187921.3, filed on Nov. 15, 2007 in the China Intellectual Property Office, the disclosure of which is incorporated herein by reference.
1. Technical Field
The present invention generally relates to a phase-locked loop circuit and a corresponding control method.
2. Description of Related Art
Digital televisions have the advantages of higher definition (or higher resolution) and compact disc (CD) level multi-channel audio output as compared to traditional analog televisions. Nowadays, various countries such as United States, Europe and Japan have already established their own digital television broadcast formats, e.g., vestigial sideband (“VSB”) for the United States. The detailed information with respect to the VSB broadcast format has been published in a paper by Wayne et al. on IEEE Transactions on Consumer Electronics, vol. 41, No. 3 (August 1995), entitled “VSB Modem Subsystem Design for Grand Alliance Digital Television Receivers”, the disclosure of which is fully incorporated herein by reference.
Conventional digital television receivers usually include a phase-locked loop circuit for improving the anti-interference capability thereof. A typical phase-locked loop circuit includes a phase frequency detector (PFD), a loop filter, an N times frequency-divider (N is an integer), and a voltage-controlled oscillator (VCO). The voltage-controlled oscillator is configured for sending out an oscillating frequency. The voltage-controlled oscillator, the N times frequency-divider and the phase frequency detector compose a feedback loop configured for sending out a feedback frequency. The feedback frequency that is fed to the phase frequency detector is 1/N times the output oscillating frequency of the voltage-controlled oscillator. The phase frequency detector compares the feedback frequency and a reference frequency. If the feedback frequency is not the same as the reference frequency, the phase frequency detector sends out an adjust signal for adjusting the output oscillating frequency of the voltage-controlled oscillator. The typical phase-locked loop circuit forces the oscillating frequency to be exactly N times the reference frequency.
The oscillating frequency of the voltage-controlled oscillator is greatly limited by the reference frequency, and cannot be varied in steps any smaller than that of the reference frequency, thus greatly limiting the use of the phase-locked loop circuit.
Therefore, what is needed is a phase-locked loop circuit and a method that can solve the above problem.
A phase-locked loop circuit in accordance with a present embodiment is provided. The phase-locked loop circuit includes a phase frequency detector, a loop filter, a voltage-controlled oscillator, an N/N+1 times frequency-divider and a controller. The phase frequency detector is configured for receiving a reference frequency and a feedback frequency, and comparing the reference frequency and the feedback frequency to output an adjust signal based on the comparison result. The loop filter is configured for filtering out noise from the adjust signal. The voltage-controlled oscillator is configured for sending out an oscillating frequency and adjusting the oscillating frequency based on the adjust signal. The N/N+1 times frequency-divider is arranged between the voltage-controlled oscillator and the phase frequency detector. The voltage-controlled oscillator, the N/N+1 times frequency-divider and the phase frequency detector composes a feedback loop for sending out the feedback frequency. The controller is configured for controlling the N/N+1 times frequency-divider to divide the oscillating frequency by N during a first period and divide the oscillating frequency by N+1 during a second period to obtain the feedback frequency.
A control method for the phase-locked loop circuit in accordance with another present embodiment is also provided. The control method includes:
Other advantages and novel features will become more apparent from the following detailed description of embodiments, when taken in conjunction with the accompanying drawings.
Many aspects of the present phase-locked loop circuit can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present phase-locked loop circuit. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
The voltage-controlled oscillator 130, the N/N+1 times frequency-divider 150 and the phase frequency detector 110 compose a feedback loop for sending out a feedback frequency ffed to the phase frequency detector 110. The phase frequency detector 110 is configured for receiving a reference frequency fref and the feedback frequency ffed, and comparing the reference frequency fref and the feedback frequency ffed to generate an adjust signal based on the comparison result. The loop filter 120 is configured for receiving the adjust signal and filtering out noise form the adjust signal. The voltage-controlled oscillator 130 is configured for sending out an oscillating frequency fvco, and adjusting the oscillating frequency fvco based on the adjust signal. The N/N+1 times frequency-divider 150 receives a control signal sent by the controller 160, to divide the oscillating frequency fvco by N during a first period T1 and divide the oscillating frequency fvco by N+1 during a second period T2 to obtain the feedback frequency ffed, such that the oscillating frequency fvco is determined from equation 1, which is expressed here:
Furthermore, the present phase-locked loop circuit 100 is used to make the feedback frequency ffed the same as the reference frequency fref, thus the feedback frequency ffed should be equal to the reference frequency fref. Therefore, the oscillating frequency fvco may also be determined from equation 2 as follows:
In this exemplary embodiment, the present phase-locked loop circuit 100 further includes a M times frequency-divider 140 electrically connected to the voltage-controlled oscillator 130. The M times frequency-divider 140 receives the oscillating frequency fvco and divides the oscillating frequency fvco by M to obtain a channel frequency fchannel, which is the output frequency of the phase-locked loop circuit. In other words, the oscillating frequency fvco is M times the channel frequency fchannel, that is, fvco=Mfchannel.
Referring to
Step A: setting the oscillating frequency fvco of the voltage-controlled oscillator 130 based on the channel frequency fchannel.
In this step, the channel frequency fchannel is the needed frequency in practice, therefore, the oscillating frequency fvco may be achieved based upon the channel frequency fchannel and the equation fvco=Mfchannel.
Step B: obtaining a ratio between the oscillating frequency fvco and the reference frequency fref, and processing the ratio to obtain an integral signal finteger and a fractional signal ffractional.
In this step, the ratio between the oscillating frequency fvco and the reference frequency fref is processed by a mode selected from a group consisting of the round function, the floor function and the ceil function. If the ratio is processed by the round function, the integral signal finteger is determined by the equation
and the fractional signal ffractional is determined by the equation
where the fractional signal ffractional is a positive number or a negative number. If the ratio is processed by the floor function, the integral signal finteger is determined by the equation
and the fractional signal ffractional is determined by the equation
where the fractional signal ffractional will be a positive number. If the ratio is processed by the ceil function, the integral signal finteger is determined by the equation
and the fractional signal ffractional is determined by the equation
and the fractional signal ffactional will be a negative number. In this exemplary embodiment, the ratio is calculated using the round function.
Step C: processing the integral signal finteger to obtain a first process signal p and a second process signal a.
In this step, the first process signal p and the second process signal a are both obtained by processing the integral signal finteger received in step B. The first process signal p is achieved by the equation
and the second process signal a is achieved by the equation a=finteger−p·N.
Step D: comparing the second process signal a with a predetermined minimum value Min, and adjusting the first process signal p and the second process signal a to obtain a first adjusted signal padjust and a second adjusted signal aadjust.
If the second process signal a is very small, it is prone to be filtered out by the phase-locked loop circuit 100. Thus the first process signal p and the second process signal a should be processed to obtain the first adjusted signal padjust and the second adjusted signal aadjust for avoiding the above problem.
In this step, a predetermined minimum value Min is defined firstly, and the predetermined minimum value Min should be an integral number. Then the second process signal a is compared with the predetermined minimum value Min. If the second signal a is smaller than the predetermined minimum value Min, the first adjusted signal padjust is achieved by the equation padjust=p−1, and the second adjusted signal aadjust is achieved by the equation aadjust=a+N; and if the second signal a is larger than the predetermined minimum value Min, the first adjusted signal padjust is achieved by the equation padjust=p, and the second adjusted signal aadjust is achieved by the equation aadjust=a.
Step E: randomizing the fractional signal ffractional to obtain a randomized signal xin.
In this step, the randomized signal xin is obtained by processing the fractional signal ffractional through a randomizing process. In the randomizing process the fractional signal ffractional is multiplied by a bit number, such as 2bit; then flooring the product to obtain the randomized signal xin. That is, xin=floor(ffractional·2bit), wherein the bit number 2bit should be a big number, such as 216.
Step F: adding the randomized signal xin into the second adjusted signal aadjust to obtain a second interim signal aadjust′, and using the first adjust signal padjust as a first interim signal padjust′.
In this step, the randomized signal xin is added into the second adjusted signal aadjust to obtain the second interim signal aadjust′, such that the second interim signal aadjust′ have information related to the fractional signal ffractional. The second interim signal aadjust′ may be expressed by the equation aadjust′=aadjust+xin; and the first interim signal padjust′ may be expressed by the equation padjust′=padjust.
Step G: processing the first interim signal padjust′ and the second interim signal aadjust′ to obtain a first final signal pfinal and a second final signal afinal.
The step G further includes the following steps:
As shown above, the first final signal pfinal and the second final signal afinal are obtained based upon the first interim signal padjust′ and the second interim signal aadjust′.
Step H: determining the first period T1 and the second period T2 based on the first final signal pfinal, the second final signal afinal and the minimum value Min, and controlling the N/N+1 times frequency-divider to divide the oscillating frequency fvco by N during the first period T1 and divide the oscillating frequency fvco by N+1 during the second period T2.
In this step, the first period T1 is determined by the difference of the first signal pfinal with the minimum value Min, and the second period T2 is determined by the second final signal afinal. The controller 160 controls the N/N+1 times frequency-divider 150 to divide the oscillating frequency fvco by N during the period T1 and divide the oscillating frequency fvco by N+1 during the second period T2.
The present phase-locked loop circuit 100 employs the N/N+1 times frequency-divider 150 to divide the oscillating frequency fvco by N during the period T1 and divide the oscillating frequency fvco by N+1 during the second period T2. Thus the oscillating frequency fvco may not be an integral number (N) times the reference frequency fref such that the oscillating frequency fvco will be not limited by the reference frequency fref. Therefore, the present phase-locked loop circuit 100 have a wider use range.
It is believed that the present embodiments and their advantages will be understood from the foregoing description and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the invention or sacrificing all of its material advantages, the examples hereinbefore described merely being preferred or exemplary embodiments of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
200710187921.3 | Nov 2007 | CN | national |