TWI691169B - Tunable pll and communication system - Google Patents
Tunable pll and communication system Download PDFInfo
- Publication number
- TWI691169B TWI691169B TW107132976A TW107132976A TWI691169B TW I691169 B TWI691169 B TW I691169B TW 107132976 A TW107132976 A TW 107132976A TW 107132976 A TW107132976 A TW 107132976A TW I691169 B TWI691169 B TW I691169B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- frequency
- voltage
- clock signal
- phase
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims description 3
- 230000005540 biological transmission Effects 0.000 claims abstract description 18
- 230000008054 signal transmission Effects 0.000 claims description 30
- 238000013500 data storage Methods 0.000 claims description 24
- 238000010586 diagram Methods 0.000 description 13
- 238000009966 trimming Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/16—Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
- H03L7/18—Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/085—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/085—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
- H03L7/089—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector generating up-down pulses
- H03L7/0891—Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal the phase or frequency detector generating up-down pulses the up-down pulses controlling source and sink current generators, e.g. a charge pump
- H03L7/0895—Details of the current generators
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/08—Details of the phase-locked loop
- H03L7/099—Details of the phase-locked loop concerning mainly the controlled oscillator of the loop
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
Description
本發明涉及一種鎖相迴路系統及其傳輸系統。更具體的說,本發明的鎖相迴路系統不同於以往的鎖相迴路系統,其可調式回授除頻器具有可動態調整之除數,而可對工作時脈訊號之頻率進行調整。 The invention relates to a phase-locked loop system and its transmission system. More specifically, the phase-locked loop system of the present invention is different from the previous phase-locked loop system. Its adjustable feedback divider has a dynamically adjustable divisor and can adjust the frequency of the working clock signal.
鎖相迴路系統(Phase-Locked Loop;PLL)為一封閉迴路系統,常應用訊號傳輸裝置與訊號接收裝置兩個以上不同的電子裝置之間的訊號橋樑。 當輸出的工作時脈訊號與輸入的參考時脈訊號的相位和頻率不一致時,透過鎖相迴路系統調整直到兩個訊號可操作在同樣的頻率。 The phase-locked loop (Phase-Locked Loop; PLL) is a closed loop system, which is often used as a signal bridge between two or more different electronic devices of a signal transmission device and a signal reception device. When the phase and frequency of the output working clock signal and the input reference clock signal are inconsistent, adjust through the phase-locked loop system until the two signals can operate at the same frequency.
參考第1圖是習知的傳輸系統100應用於訊號傳輸裝置10與訊號接收裝置20兩個不同的電子裝置之間的示意圖。例如:訊號傳輸裝置10可為電腦端,訊號接收裝置20為USB音效卡。當訊號傳輸裝置10傳輸訊號的速度大於訊號接收裝置20的接收速度時,則訊號會產生上溢位(overflow),例如:USB音效卡無法處理過多播放訊息,導致播放出來的音質不正確。當訊號傳輸裝置10傳輸訊號的速度小於訊號接收裝置20的接收速度時,則訊號會產生下溢位(underflow),例如:USB音效卡無法處理下一段播放訊息,導致播放中斷。因此,鎖相迴路系統100在此扮演了非常重要的角色,透過鎖相迴路系統100的調整,
可將訊號傳輸裝置10與訊號接收裝置20兩個以上不同的電子裝置,操作在相同的操作頻率中。
Referring to FIG. 1, a schematic diagram of a conventional transmission system 100 applied between two different electronic devices, a signal transmission device 10 and a
參考第2圖是習知的鎖相迴路系統100之結構圖,包含相位頻率偵測器110、電荷泵120、濾波器130、壓控振盪器140以及回授除頻器150。
Referring to FIG. 2 is a structural diagram of a conventional phase-locked loop system 100, including a phase frequency detector 110, a
在習知的鎖相迴路系統100中,若要新的輸出訊號頻率,則需事先將新的鎖相迴路系統100運算設置儲存於暫存器(register)中。如下表一,其為灰底部分代表儲存的運算參數位址,白底部分代表運算欄位。 In the conventional phase-locked loop system 100, if a new output signal frequency is required, the operation settings of the new phase-locked loop system 100 need to be stored in a register in advance. As shown in Table 1 below, the gray background represents the stored operation parameter address, and the white background represents the operation field.
如上所述,在習知的鎖相迴路系統100中,當舊有的暫存器設置無法提供鎖相迴路系統100適合的運算條件,使工作時脈訊號達到適合的頻率時,則需重新計算新的暫存器設置。但開始計算後會花費一段時間,有時只需要些微的頻率調整,因此進而耽誤使用者執行正常工作的時間。 As mentioned above, in the conventional phase-locked loop system 100, when the old register settings cannot provide suitable calculation conditions for the phase-locked loop system 100, and the working clock signal reaches a suitable frequency, it needs to be recalculated New scratchpad settings. However, it will take a while after the calculation is started, and sometimes only a slight frequency adjustment is required, thus further delaying the time for the user to perform normal work.
因此本發明提出一種可調式鎖相迴路系統,透過可調式回授除頻器,可幫助使用者在發現當前的工作時脈訊號的頻率與目標工作時脈訊號的頻率僅有些微差距時,可不停止目前工作狀態,而動態執行工作時脈訊號的頻率調整。 Therefore, the present invention proposes an adjustable phase-locked loop system. The adjustable feedback frequency divider can help the user to find that the frequency of the current working clock signal is only slightly different from the frequency of the target working clock signal. Stop the current working state, and dynamically perform the frequency adjustment of the working clock signal.
本發明提供一種可調式鎖相迴路系統,其包含壓控振盪器,係依據壓控電壓訊號產生工作時脈訊號、電荷泵,連接於壓控振盪器,依據誤差訊號產生壓控電壓訊號,以調整壓控電壓訊號之電壓位準、濾波器,連接於電荷泵與壓控振盪器之間、相位頻率偵測器,連接於電荷泵,並接收參考時脈訊號及回授訊號,比較參考時脈訊號及回授訊號之相位或頻率,進而產生該誤差訊號,以及可調式回授除頻器,連接於壓控振盪器與相位頻率偵測器之間,並接收工作時脈訊號,以除數(divider)對工作時脈訊號加以除頻,以產生回授訊號。 其中,可調式回授除頻器進一步接收時脈調整訊號,並根據時脈調整訊號對工作時脈訊號進行頻率調整,藉此即時微調該工作時脈訊號。 The invention provides an adjustable phase-locked loop system, which includes a voltage-controlled oscillator, which generates a working clock signal and a charge pump according to the voltage-controlled voltage signal, is connected to the voltage-controlled oscillator, and generates a voltage-controlled voltage signal according to the error signal, Adjust the voltage level and filter of the voltage-controlled voltage signal, connected between the charge pump and the voltage-controlled oscillator, the phase frequency detector, connected to the charge pump, and receive the reference clock signal and the feedback signal. The phase or frequency of the pulse signal and the feedback signal to generate the error signal, and the adjustable feedback divider, connected between the voltage controlled oscillator and the phase frequency detector, and receives the working pulse signal to divide The divider divides the working clock signal to generate the feedback signal. The adjustable feedback divider further receives the clock adjustment signal, and adjusts the frequency of the working clock signal according to the clock adjustment signal, thereby fine-tuning the working clock signal in real time.
較佳地,可調式回授除頻器包含微調電路,當時脈調整訊號代表提高工作時脈訊號之頻率時,透過減少除數,使得微調電路透過單位微調頻率將工作時脈訊號之頻率提高,使相位頻率偵測器產生之誤差訊號代表回授訊號之相位或時脈落後於參考時脈訊號,俾使電荷泵提高壓控電壓訊號之電壓位準,進而使壓控振盪器產生較高頻率之工作時脈訊號。 Preferably, the adjustable feedback divider includes a fine-tuning circuit. When the clock adjustment signal represents an increase in the frequency of the working clock signal, by reducing the divisor, the fine-tuning circuit increases the frequency of the working clock signal through the unit fine-tuning frequency. The error signal generated by the phase frequency detector represents that the phase or clock of the feedback signal lags behind the reference clock signal, so that the charge pump increases the voltage level of the voltage-controlled voltage signal, which in turn causes the voltage-controlled oscillator to generate a higher frequency The working clock signal.
較佳地,可調式回授除頻器包含微調電路,當時脈調整訊號代表降低工作時脈訊號之頻率時,透過減少除數,使得微調電路透過單位微調頻率將工作時脈訊號之頻率降低,使相位頻率偵測器產生之誤差訊號代表回授訊號之相位或時脈領先於參考時脈訊號,俾使電荷泵降低壓控電壓訊號之電壓位準,進而使壓控振盪器產生較低頻率之工作時脈訊號。 Preferably, the adjustable feedback divider includes a fine-tuning circuit. When the clock adjustment signal represents a reduction in the frequency of the working clock signal, by reducing the divisor, the fine-tuning circuit reduces the frequency of the working clock signal through the unit fine-tuning frequency. Make the error signal generated by the phase frequency detector represent that the phase or clock of the feedback signal is ahead of the reference clock signal, so that the charge pump reduces the voltage level of the voltage-controlled voltage signal, and thus the voltage-controlled oscillator generates a lower frequency The working clock signal.
較佳地,可調式回授除頻器對原回授除數之調整,使工作時脈訊號頻率滿足下列關係式: CLKO’=CLKO+freq.×n Preferably, the adjustable feedback divider adjusts the original feedback divisor to make the working clock signal frequency satisfy the following relationship: CLKO’=CLKO+freq.×n
其中,CLKO’為工作時脈訊號調整後之頻率、CLKO為工作時脈訊號調整前之頻率、freq.為單位微調頻率、n為正整數或負整數。 Among them, CLKO' is the frequency after working clock signal adjustment, CLKO is the frequency before working clock signal adjustment, freq. is the unit fine-tuning frequency, and n is a positive integer or a negative integer.
本發明進一步涉及一種傳輸系統,包含訊號傳輸裝置及訊號接收裝置。其中,訊號傳輸裝置包含微處理器以及微處理器內設置的可調式鎖相迴路系統,以產生工作時脈訊號。訊號接收裝置連接於訊號傳輸裝置,並依工作時脈訊號與訊號傳輸裝置形成通訊連結。訊號接收裝置包含緩衝區,以暫存由訊號傳輸裝置接收之資料。 The invention further relates to a transmission system, including a signal transmission device and a signal reception device. Among them, the signal transmission device includes a microprocessor and an adjustable phase-locked loop system provided in the microprocessor to generate a working clock signal. The signal receiving device is connected to the signal transmission device, and forms a communication link with the signal transmission device according to the working clock signal. The signal receiving device includes a buffer to temporarily store the data received by the signal transmitting device.
其中,訊號傳輸裝置依據緩衝區之資料儲存量產生要求訊號,使微處理器依據要求訊號發出時脈調整訊號至可調式鎖相迴路系統,可調式鎖相迴路系統動態調整工作時脈訊號之頻率。 Among them, the signal transmission device generates the request signal according to the data storage capacity of the buffer, so that the microprocessor sends the clock adjustment signal to the adjustable phase-locked loop system according to the request signal, and the adjustable phase-locked loop system dynamically adjusts the frequency of the working clock signal .
較佳地,訊號傳輸裝置之可調式鎖相迴路系統包含壓控振盪器,依據壓控電壓訊號產生工作時脈訊號、電荷泵,連接於壓控振盪器,並依據誤差訊號產生壓控電壓訊號,以調整壓控電壓訊號之電壓位準、濾波器,連接於電荷泵與壓控振盪器之間、相位頻率偵測器,連接於電荷泵,並接收參考時脈訊號及回授訊號,並比較參考時脈訊號及回授訊號之相位或頻率,進而據以產生誤差訊號,以及可調式回授除頻器,連接於壓控振盪器與相位頻率偵測器之間,接收工作時脈訊號,並以除數(divider)對工作時脈訊號加以除頻,以產生該回授訊號。其中,可調式回授除頻器接收時脈調整訊號,並根據時脈調整訊號對工作時脈訊號進行頻率調整,藉此即時微調工作時脈訊號。 Preferably, the adjustable phase-locked loop system of the signal transmission device includes a voltage-controlled oscillator, generates a working clock signal and a charge pump according to the voltage-controlled voltage signal, is connected to the voltage-controlled oscillator, and generates a voltage-controlled voltage signal according to the error signal , To adjust the voltage level and filter of the voltage-controlled voltage signal, connected between the charge pump and the voltage-controlled oscillator, the phase frequency detector, connected to the charge pump, and receiving the reference clock signal and the feedback signal, and Compare the phase or frequency of the reference clock signal and the feedback signal to generate an error signal, and an adjustable feedback divider connected between the voltage controlled oscillator and the phase frequency detector to receive the working clock signal , And divides the working clock signal by a divider to generate the feedback signal. Among them, the adjustable feedback divider receives the clock adjustment signal, and adjusts the frequency of the working clock signal according to the clock adjustment signal, thereby fine-tuning the working clock signal in real time.
當緩衝區之資料儲存量低於第一門檻值,則訊號傳輸裝置產生要求提高工作時脈訊號頻率之要求訊號;當緩衝區之資料儲存量高於第二門檻值,則訊號傳輸裝置產生要求降低工作時脈訊號頻率之要求訊號。 When the data storage capacity of the buffer is lower than the first threshold, the signal transmission device generates a request signal requesting to increase the frequency of the working pulse signal; when the data storage capacity of the buffer is higher than the second threshold, the signal transmission device generates a request Request signal to reduce the frequency of the working clock signal.
較佳地,可調式回授除頻器包含微調電路,當時脈調整訊號代表提高工作時脈訊號之頻率時,透過減少除數,使得微調電路透過單位微調頻率將工作時脈訊號之頻率提高,使相位頻率偵測器產生之誤差訊號代表回授訊號之相位或時脈落後於參考時脈訊號,俾使電荷泵提高壓控電壓訊號之電壓位準,進而使壓控振盪器產生較高頻率之工作時脈訊號。 Preferably, the adjustable feedback divider includes a fine-tuning circuit. When the clock adjustment signal represents an increase in the frequency of the working clock signal, by reducing the divisor, the fine-tuning circuit increases the frequency of the working clock signal through the unit fine-tuning frequency. The error signal generated by the phase frequency detector represents that the phase or clock of the feedback signal lags behind the reference clock signal, so that the charge pump increases the voltage level of the voltage-controlled voltage signal, which in turn causes the voltage-controlled oscillator to generate a higher frequency The working clock signal.
較佳地,可調式回授除頻器包含微調電路,當時脈調整訊號代表降低工作時脈訊號之頻率時,透過增加除數,使得微調電路透過單位微調頻率將工作時脈訊號之頻率降低,使相位頻率偵測器產生之誤差訊號代表回授訊號之相位或時脈領先於參考時脈訊號,俾使電荷泵降低壓控電壓訊號之電壓位準,進而使壓控振盪器產生較低頻率之工作時脈訊號。 Preferably, the adjustable feedback frequency divider includes a fine-tuning circuit. When the clock adjustment signal represents a reduction in the frequency of the working clock signal, by increasing the divisor, the fine-tuning circuit reduces the frequency of the working clock signal through the unit fine-tuning frequency. Make the error signal generated by the phase frequency detector represent that the phase or clock of the feedback signal is ahead of the reference clock signal, so that the charge pump reduces the voltage level of the voltage-controlled voltage signal, and thus the voltage-controlled oscillator generates a lower frequency The working clock signal.
較佳地,可調式回授除頻器對原回授除數之調整,使工作時脈訊號頻率滿足下列關係式:CLKO’=CLKO+freq.×n Preferably, the adjustable feedback divider adjusts the original feedback divisor to make the working clock signal frequency satisfy the following relationship: CLKO’=CLKO+freq.×n
其中,CLKO’為工作時脈訊號調整後之頻率、CLKO為工作時脈訊號調整前之頻率、freq.為單位微調頻率、n為正整數或負整數。 Among them, CLKO' is the frequency after working clock signal adjustment, CLKO is the frequency before working clock signal adjustment, freq. is the unit fine-tuning frequency, and n is a positive integer or a negative integer.
10、30:訊號傳輸裝置 10.30: Signal transmission device
20、40:訊號接收裝置 20, 40: Signal receiving device
50:原回授除數 50: original feedback divisor
51:微調除數 51: Fine-tune the divisor
52:調整後回授除數 52: Adjusted feedback divisor
100:鎖相迴路系統 100: phase-locked loop system
110、310、710:相位頻率偵測器 110, 310, 710: phase frequency detector
120、320、720:電荷泵 120, 320, 720: charge pump
130、330、730:濾波器 130, 330, 730: filter
140、340、740:壓控振盪器 140, 340, 740: voltage controlled oscillator
150:回授除頻器 150: Feedback divider
300:可調式鎖相迴路系統 300: Adjustable phase-locked loop system
350、750:可調式回授除頻器 350, 750: Adjustable feedback divider
351、751:微調電路 351, 751: fine-tuning circuit
400、500:緩衝區 400, 500: buffer
760:輸入除頻器 760: Input divider
770:輸出除頻器 770: output divider
MCU:微處理器 MCU: Microprocessor
REG:暫存器 REG: register
第1圖是習知的傳輸系統示意圖。 Figure 1 is a schematic diagram of a conventional transmission system.
第2圖是習知的鎖相迴路之結構圖。 Figure 2 is a structural diagram of a conventional phase-locked loop.
第3圖是根據本發明實施例的傳輸系統示意圖。 Figure 3 is a schematic diagram of a transmission system according to an embodiment of the present invention.
第4圖是根據本發明實施例的緩衝區的工作示意圖。 FIG. 4 is a working schematic diagram of a buffer according to an embodiment of the present invention.
第5圖是根據本發明實施例的可調式鎖相迴路系統之結構圖。 FIG. 5 is a structural diagram of an adjustable phase-locked loop system according to an embodiment of the present invention.
第6圖是根據本發明實施例的可調式回授除頻器的調整後回授除數的示意圖。 FIG. 6 is a schematic diagram of an adjusted feedback divisor according to an embodiment of the present invention after adjustment.
第7圖是根據本發明另一個實施例的可調式鎖相迴路系統之結構圖。 FIG. 7 is a structural diagram of an adjustable phase-locked loop system according to another embodiment of the present invention.
在下文中,將藉由圖式說明本發明之各種實施例來詳細描述本發明。然而,本發明概念可用許多不同形式來體現,且不應解釋為限於本文中所闡述之實施例,相反的,提供這些實施例是為了便於使本領域具通常知識者更容易理解本發明之精神與範疇。此外,在圖式中相同的元件符號可用以表示類似的元件。 In the following, the invention will be described in detail by illustrating various embodiments of the invention. However, the concept of the present invention can be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to facilitate the understanding of the spirit of the present invention by those having ordinary knowledge in the art With category. In addition, the same element symbols in the drawings may be used to indicate similar elements.
參考第3圖,其為根據本發明實施例的傳輸系統示意圖。如圖所示,傳輸系統包含訊號傳輸裝置30與訊號接收裝置40。其中訊號傳輸裝置30包含微處理器MCU以及暫存器REG,暫存器REG存有時脈調整訊號,微處理器MCU包括可調式鎖相迴路系統300以及緩衝區400,透過可調式鎖相迴路系統300產生工作時脈訊號,緩衝區400根據工作時脈訊號的頻率傳遞資料至訊號接收裝置40。訊號接收裝置40連結於訊號傳輸裝置30,透過訊號接收裝置40的緩衝區500接收及暫存訊號傳輸裝置30所傳輸的資料。
Refer to FIG. 3, which is a schematic diagram of a transmission system according to an embodiment of the present invention. As shown in the figure, the transmission system includes a signal transmission device 30 and a signal reception device 40. The signal transmission device 30 includes a microprocessor MCU and a register REG. The register REG stores a clock adjustment signal. The microprocessor MCU includes an adjustable phase-locked loop system 300 and a
在此,本發明提供一種例示,訊號傳輸裝置30可為電腦端,訊號接收裝置40可為USB音效卡,其中USB音效卡使用採樣率為48000Hz的脈衝編碼調變(Pulse-code modulation;PCM)音頻數據進行數據採樣,相當於每毫秒僅能處理48個態樣數據,正常音頻品質為每個態樣數據為2-byte。設置緩衝區500於
USB音效卡中,此緩衝區500可暫存8192-byte的資料儲存量,相當於可暫存4096個態樣數據。因此可知,緩衝區500最多僅能暫存85.3ms的資料儲存量。當微處理器MCU的緩衝區400過度傳輸資料時,使緩衝區500接收超過85.3ms的資料儲存量,則訊號接收裝置40遺失音頻訊號,造成音質失真。當微處理器MCU的緩衝區400傳輸資料過慢時,使緩衝區500接收過低的數據量,則訊號接收裝置40缺少音頻訊號,造成音質失真。
Here, the present invention provides an example. The signal transmission device 30 may be a computer, and the signal reception device 40 may be a USB sound card. The USB sound card uses pulse-code modulation (PCM) with a sampling rate of 48000 Hz. The audio data is sampled by data, which is equivalent to processing only 48 patterns of data per millisecond. The normal audio quality is 2-byte for each pattern of data. Set
參考第4圖,第4圖是根據本發明實施例的緩衝區500的工作示意圖。在緩衝區500中分別定義第一門檻值t0與第二門檻值t1。當緩衝區500的資料儲存量低於第一門檻值t0時,則訊號傳輸裝置30產生要求提高工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選提高工作時脈頻率之時脈調整訊號,微處理器MCU接續發出提高工作時脈頻率之時脈調整訊號至可調式鎖相迴路系統300,可調式鎖相迴路系統300從而提高工作時脈訊號的頻率。當緩衝區400的資料儲存量高於第二門檻值t1時,則訊號傳輸裝置30產生要求降低工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選降低工作時脈頻率之時脈調整訊號,微處理器MCU接續發出降低工作時脈頻率之時脈調整訊號至可調式鎖相迴路系統300,可調式鎖相迴路系統300從而降低工作時脈訊號的頻率。然而,在本發明中,第一門檻值t0與第二門檻值t1是根據緩衝區400可提供的資料儲存量而定,因此可依緩衝區400可提供的資料儲存量進一步對第一門檻值t0與第二門檻值t1進行調整。
Referring to FIG. 4, FIG. 4 is a working schematic diagram of the
如上述例示,緩衝區400可暫存8192-byte的資料儲存量,相當於可儲存85.3ms的資料儲存量。在緩衝區400中分別定義第一門檻值t0為20ms與第二門檻值t1為65.3ms。當緩衝區400的資料儲存量低於第一門檻值t0時(例如:
19.9ms),則訊號傳輸裝置30產生要求提高工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選提高工作時脈頻率之時脈調整訊號,微處理器MCU接續發出提高工作時脈頻率之時脈調整訊號至可調式鎖相迴路系統300,可調式鎖相迴路系統300從而提高工作時脈訊號的頻率。當緩衝區400的資料儲存量高於第二門檻值t1時(例如:65.4ms),則訊號傳輸裝置30產生要求降低工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選降低工作時脈頻率之時脈調整訊號,微處理器MCU接續發出降低工作時脈頻率之時脈調整訊號至可調式鎖相迴路系統300,可調式鎖相迴路系統300從而降低工作時脈訊號的頻率。
As exemplified above, the
參考第5圖,第5圖是根據本發明實施例的可調式鎖相迴路系統300之結構圖。如圖所示可調式鎖相迴路系統300包含可依據壓控電壓訊號產生工作時脈訊號的壓控振盪器340、連接於壓控振盪器340且可依據誤差訊號產生壓控電壓訊號以調整壓控電壓訊號的電壓位準的電荷泵320、連接於電荷泵320與壓控震盪器340之間的濾波器330、連接於電荷泵320並接收參考時脈訊號與回授訊號且依照比較參考時脈訊號與回授訊號的相位或頻率進而產生誤差訊號的相位頻率偵測器310,以及連接於壓控振盪器340與相位頻率偵測器310之間、接收工作時脈訊號並以一除數(divider)對工作時脈訊號加以除頻和以產生回授訊號的可調式回授除頻器350。
Referring to FIG. 5, FIG. 5 is a structural diagram of an adjustable phase-locked loop system 300 according to an embodiment of the present invention. As shown in the figure, the adjustable phase-locked loop system 300 includes a voltage-controlled
如第5圖所示,可調式回授除頻器350進一步包含微調電路351,接收如上所述之時脈調整訊號。當可調式回授除頻器350接收到微處理器MCU發出的時脈調整訊號時,透過微調電路351對可調式回授除頻器350的原回授除數50進行微調,藉此可即時對工作時脈訊號的頻率進行微調。
As shown in FIG. 5, the adjustable
參考第6圖,第6圖是根據本發明實施例的可調式回授除頻器350的調整後回授除數52的示意圖。如圖可知,可調式回授除頻器350透過微調電路351給予原回授除數50一個增加或減少的微調除數51,進而得到調整後回授除數52。使得工作時脈訊號的頻率可滿足下列關係式(式1):
CLKO’=CLKO+freg.×n......................式1其中,CLKO’為工作時脈訊號調整後的頻率、CLKO’為工作時脈訊號調整前的頻率、freg.為單位微調頻率、n為可動態調整的正整數或負整數。
Referring to FIG. 6, FIG. 6 is a schematic diagram of the feedback divisor 52 after adjustment of the
因此當緩衝區400的資料儲存量低於第一門檻值t0時,則訊號接收裝置40產生要求提高工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選且發出時脈調整訊號至可調式鎖相迴路系統300中的可調式回授除頻器350,透過微調電路351使得可調式回授除頻器350的除數減少,俾使工作時脈訊號的頻率提高,使得相位頻率偵測器310產生回授訊號之相位或時脈落後於參考時脈訊號的誤差訊號,俾使電荷泵320提高壓控電壓訊號之電壓位準,進而使壓控振盪器340產生較高頻率的工作時脈訊號。當緩衝區400的資料儲存量高於第二門檻值t1時,則訊號接收裝置40產生要求降低工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選且發出時脈調整訊號至可調式鎖相迴路系統300中的可調式回授除頻器350,透過微調電路351使得可調式回授除頻器350的除數增加,俾使工作時脈訊號的頻率降低,使得相位頻率偵測器310產生回授訊號之相位或時脈領先於參考時脈訊號的誤差訊號,俾使電荷泵320降低壓控電壓訊號之電壓位準,進而使壓控振盪器340產生較低頻率的工作時脈訊號。
Therefore, when the data storage capacity of the
如上述例示,設置單位微調頻率為100Hz,當緩衝區400的資料儲存量低於第一門檻值t0為20ms時(例如:19.9ms),因僅相差0.1ms的資料儲存量,相當於每秒缺少了4800個取樣數據(sample),進而得知工作時脈訊號頻率慢了4800Hz,則訊號傳輸裝置30產生要求提高工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選且發出時脈調整訊號至可調式鎖相迴路系統300中的可調式回授除頻器350,則微調電路351提供約-0.005的微調除數51使得原回授除數50減少,得到調整後的回授除數52為約0.995。比較調整前的工作時脈訊號的頻率與調整後的工作時脈訊號的頻率,滿足關係式:CLKO’=CLKO+100Hz×n,其中n為48,藉此增加4800Hz的頻率。
As shown in the above example, set the unit fine-tuning frequency to 100 Hz. When the data storage capacity of the
如上述例示,設置單位微調頻率為100Hz,當緩衝區400的資料儲存量高於第二門檻值t1為65.3ms時(例如:65.4ms),因僅相差0.1ms的資料儲存量,相當於每秒多了4800個取樣數據,進而得知工作時脈訊號頻率快了4800Hz,則訊號傳輸裝置30產生要求提高工作時脈訊號頻率之要求訊號至微處理器MCU,微處理器MCU據此從暫存器REG挑選且發出時脈調整訊號至可調式鎖相迴路系統300中的可調式回授除頻器350,則微調電路351提供約+0.0015的微調除數51使得原回授除數50增加,得到調整後的回授除數52為約1.0015。比較調整前的工作時脈訊號的頻率與調整後的工作時脈訊號的頻率,滿足關係式:CLKO’=CLKO+100Hz×n,其中n為-48,藉此減少4800Hz的頻率。
As shown in the above example, set the unit fine-tuning frequency to 100 Hz. When the data storage capacity of the
如上所述,可調式回授除頻器350透過微調電路351對工作時脈訊號進行頻率調整後,頻率可滿足下列關係示:CLKO’=CLKO+freg.×n,其中n可為±1、±2、±3...、±256。若當單位微調頻率為100Hz時,且n為正整數1時,意指將工作時脈訊號的頻率提高100Hz,相當於提高約0.002ms的資料儲存量。若n
為負整數1時,意指將工作時脈訊號的頻率降低100Hz,相當於降低約0.002ms的資料儲存量。
As described above, after the adjustable
根據上述說明,本發明之可調式鎖相迴路系統,實質上可針對工作時脈訊號進行動態的頻率調整,進而提升使用者執行正常工作的工作效率。以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 According to the above description, the adjustable phase-locked loop system of the present invention can substantially adjust the dynamic frequency of the working clock signal, thereby improving the work efficiency of the user in performing normal work. The above is only exemplary, and not restrictive. Any equivalent modifications or changes made without departing from the spirit and scope of the present invention shall be included in the scope of the attached patent application.
較佳地,如第7圖所示,本發明提供另一種實施例,可調式鎖相迴路系統700可進一步包含輸入除頻器760,與相位頻率偵測器710連接並接收參考時脈訊號,與輸出除頻器770,與壓控振盪器740連接並接收工作時脈訊號(如第7圖所示)。此實施例與第5圖的實施例僅增加了輸入除頻器760與輸出除頻器770,其餘結構或元件實質上與第5圖的實施例相同,因此相關結構位置或元件功能之重複的詳細敘述將被省略。
Preferably, as shown in FIG. 7, the present invention provides another embodiment. The adjustable phase-locked loop system 700 may further include an
在習知技術的鎖相迴路系統中(增加輸入除頻器與輸出除頻器),當輸入除頻器接收到參考時脈訊號後,將參考時脈訊號除以一除數,使參考時脈訊號的頻率降低至相位頻率偵測器110的工作頻率範圍。當輸出除頻器接收到工作時脈訊號後,將工作時脈訊號除以一整數,使參考時脈訊號的頻率降低至訊號傳輸裝置10的工作頻率範圍。因輸入除頻器與輸出除頻器無法執行頻率的微調,所以在傳輸系統中,當訊號接收裝置20傳遞代表提高或降低工作時脈訊號之頻率的時脈調整訊號時,工作時脈訊號為達到適合的頻率,必須停止正在執行的工作並重新計算新的緩衝區設置,故使用上比較不方便。
In the phase-locked loop system of the conventional technology (additional input frequency divider and output frequency divider), when the input frequency divider receives the reference clock signal, the reference clock signal is divided by a divisor to make the reference time The frequency of the pulse signal is reduced to the operating frequency range of the phase frequency detector 110. When the output frequency divider receives the working clock signal, the working clock signal is divided by an integer to reduce the frequency of the reference clock signal to the working frequency range of the signal transmission device 10. Since the input frequency divider and the output frequency divider cannot perform fine-tuning of the frequency, in the transmission system, when the
在本實施例中,因可調式鎖相迴路系統300包含可調式回授除頻器350。當可調式回授除頻器350接收到來自微處理器MCU的時脈調整訊號時,
可透過可調式回授除頻器350中的微調電路給予原回授除數50一個增加/減少的微調除數51進而得到調整後回授除數52,藉此可即時對工作時脈訊號的頻率進行微調,俾使工作時脈訊號的頻率降低/提高,使得相位頻率偵測器310產生回授訊號之相位或時脈領先/落後於參考時脈訊號的誤差訊號,俾使電荷泵320降低/提高壓控電壓訊號之電壓位準,進而使壓控振盪器340產生較低/較高頻率的工作時脈訊號,其調整方式如上所述之例示,在此將不重複敘述。
In this embodiment, the adjustable phase-locked loop system 300 includes an
綜合以上觀點,本發明之可調式鎖相迴路系統及其傳輸系統,可解決現今習知的鎖相迴路系統,因不可微調所造成的不便利性。以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 Based on the above viewpoints, the adjustable phase-locked loop system and transmission system of the present invention can solve the inconvenience caused by the non-fine-tuning of the conventional phase-locked loop system. The above is only exemplary, and not restrictive. Any equivalent modifications or changes made without departing from the spirit and scope of the present invention shall be included in the scope of the attached patent application.
300:可調式鎖相迴路系統 300: Adjustable phase-locked loop system
310:相位頻率偵測器 310: phase frequency detector
320:電荷泵 320: charge pump
330:濾波器 330: filter
340:壓控振盪器 340: voltage controlled oscillator
350:可調式回授除頻器 350: Adjustable feedback divider
351:微調電路 351: fine-tuning circuit
50:原回授除數 50: original feedback divisor
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107132976A TWI691169B (en) | 2018-09-19 | 2018-09-19 | Tunable pll and communication system |
CN201811626049.2A CN110932724B (en) | 2018-09-19 | 2018-12-28 | Adjustable phase-locked loop system and transmission system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107132976A TWI691169B (en) | 2018-09-19 | 2018-09-19 | Tunable pll and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202013890A TW202013890A (en) | 2020-04-01 |
TWI691169B true TWI691169B (en) | 2020-04-11 |
Family
ID=69855656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107132976A TWI691169B (en) | 2018-09-19 | 2018-09-19 | Tunable pll and communication system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110932724B (en) |
TW (1) | TWI691169B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113294323B (en) * | 2021-05-25 | 2023-04-18 | 上海飞象健康科技有限公司 | Flow constant control method, computer readable storage medium and tooth rinsing device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030156639A1 (en) * | 2002-02-19 | 2003-08-21 | Jui Liang | Frame rate control system and method |
US7079616B2 (en) * | 2001-08-24 | 2006-07-18 | Stmicroelectronics S.R.L. | Process for generating a variable frequency signal, for instance for spreading the spectrum of a clock signal, and device therefor |
US20060262809A1 (en) * | 2003-09-01 | 2006-11-23 | Jin-Sheng Gong | Apparatus and method for image frame synchronization |
US7564281B2 (en) * | 2007-01-19 | 2009-07-21 | Faraday Technology Corporation | Wide-locking range phase locked loop circuit using adaptive post division technique |
US7873133B2 (en) * | 2005-06-30 | 2011-01-18 | Infinera Corporation | Recovery of client clock without jitter |
US7949083B2 (en) * | 2003-12-17 | 2011-05-24 | Wolfson Microelectronics Plc | Clock synchroniser |
US20140132837A1 (en) * | 2011-09-05 | 2014-05-15 | Cywee Group Limited | Wireless video/audio data transmission system having i-frame only gop structure |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008064027A2 (en) * | 2006-11-13 | 2008-05-29 | Keystone Semiconductor, Inc. | Fast locking feedback control loop |
CN101685334B (en) * | 2008-09-24 | 2012-12-26 | 祥硕科技股份有限公司 | Device and method for generating frequency and computer system using same |
CN101964658B (en) * | 2009-07-23 | 2012-10-17 | 财团法人工业技术研究院 | Digital phase-locked loop and digital-phase frequency detector thereof |
CN103427834B (en) * | 2012-05-22 | 2016-04-13 | 瑞昱半导体股份有限公司 | Phase-locked loop circuit |
US9484859B2 (en) * | 2014-11-05 | 2016-11-01 | Mediatek Inc. | Modulation circuit and operating method thereof |
CN107134997A (en) * | 2016-02-26 | 2017-09-05 | 深圳市南方硅谷微电子有限公司 | Phase-locked loop bearing calibration associated therewith |
-
2018
- 2018-09-19 TW TW107132976A patent/TWI691169B/en active
- 2018-12-28 CN CN201811626049.2A patent/CN110932724B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7079616B2 (en) * | 2001-08-24 | 2006-07-18 | Stmicroelectronics S.R.L. | Process for generating a variable frequency signal, for instance for spreading the spectrum of a clock signal, and device therefor |
US20030156639A1 (en) * | 2002-02-19 | 2003-08-21 | Jui Liang | Frame rate control system and method |
TW200304323A (en) * | 2002-02-19 | 2003-09-16 | Media Reality Technologies Inc | Frame rate control system and method |
US20060262809A1 (en) * | 2003-09-01 | 2006-11-23 | Jin-Sheng Gong | Apparatus and method for image frame synchronization |
US7949083B2 (en) * | 2003-12-17 | 2011-05-24 | Wolfson Microelectronics Plc | Clock synchroniser |
US7873133B2 (en) * | 2005-06-30 | 2011-01-18 | Infinera Corporation | Recovery of client clock without jitter |
US7564281B2 (en) * | 2007-01-19 | 2009-07-21 | Faraday Technology Corporation | Wide-locking range phase locked loop circuit using adaptive post division technique |
US20140132837A1 (en) * | 2011-09-05 | 2014-05-15 | Cywee Group Limited | Wireless video/audio data transmission system having i-frame only gop structure |
Also Published As
Publication number | Publication date |
---|---|
CN110932724A (en) | 2020-03-27 |
TW202013890A (en) | 2020-04-01 |
CN110932724B (en) | 2024-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2005109648A1 (en) | Method and apparatus for removing the otter on clock signal | |
TWI691169B (en) | Tunable pll and communication system | |
JP2008042810A (en) | Pll circuit | |
ATE311040T1 (en) | LOW VIBRATION PHASE CONTROL LOOP | |
JPH08265140A (en) | Method and device for determining feedback frequency demultiplying ratio in phase-locked loop | |
US5598448A (en) | Method and apparatus for controlling a digital phase lock loop and within a cordless telephone | |
JPH03504674A (en) | Digital phase-locked loop, receiver equipped with the digital phase-locked loop, and control method thereof | |
JP2007006307A (en) | Radio unit | |
US6643345B1 (en) | Synchronous control apparatus and method | |
JP2000004156A (en) | Vco featuring automatic variable pull circuit | |
US7292107B2 (en) | Modulation method and apparatus with adjustable divisors of the dividers in phase-locked loop | |
CN207251586U (en) | A kind of frequency locking control circuit | |
JP2005151444A (en) | Frequency synthesizer | |
JP2004153332A (en) | Clock generating circuit | |
JP2010045443A (en) | Carrier wave generation circuit | |
JP3077151B2 (en) | Frequency synthesis method and frequency synthesizer | |
JP2009016973A (en) | Synthesizer | |
JP3781725B2 (en) | Phase-locked loop circuit | |
JPS62126712A (en) | Pll circuit | |
JP2911269B2 (en) | PLL frequency synthesizer | |
JP2003283476A (en) | Burst data receiver | |
JPS6059822A (en) | Frequency converting circuit | |
JPS5846586Y2 (en) | Circuit with phase locked loop | |
JP2003115759A (en) | Device for generating clock signal for decoder | |
JP2002217721A (en) | Pll control method and pll circuit |