TWI691169B - Tunable pll and communication system - Google Patents

Tunable pll and communication system Download PDF

Info

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
Application number
TW107132976A
Other languages
Chinese (zh)
Other versions
TW202013890A (en
Inventor
楊長慎
Original Assignee
新唐科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新唐科技股份有限公司 filed Critical 新唐科技股份有限公司
Priority to TW107132976A priority Critical patent/TWI691169B/en
Priority to CN201811626049.2A priority patent/CN110932724B/en
Publication of TW202013890A publication Critical patent/TW202013890A/en
Application granted granted Critical
Publication of TWI691169B publication Critical patent/TWI691169B/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/16Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
    • H03L7/18Indirect 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
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/085Details of the phase-locked loop concerning mainly the frequency- or phase-detection arrangement including the filtering or amplification of its output signal
    • H03L7/089Details 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/0891Details 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/0895Details of the current generators
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation
    • H03L7/06Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
    • H03L7/08Details of the phase-locked loop
    • H03L7/099Details of the phase-locked loop concerning mainly the controlled oscillator of the loop

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

The present invention provides a tunable phase-locked loops system, which can be applied to transmission system and comprises a voltage-controlled oscillator, a charge pump, a filter, a phase frequency detector and a tunable feedback divider. The voltage-controlled oscillator generates an operating clock signal based on a voltage-controlled voltage signal. The charge pump is connected to the voltage-controlled oscillator, which generates the voltage-controlled voltage signal to adjust the voltage level based on an error signal. The filter is connected between the charge pump and the voltage-controlled oscillator. The phase frequency detector receives a reference clock signal and a feedback signal, and compares the phase or frequency thereof, so as to generate the error signal. The tunable feedback divider is connected between the voltage-controlled oscillator and the phase frequency detector, and divides the working clock signal by a divider to generate the feedback signal. Wherein, the tunable feedback divider adjusts the divider according to a clock tuning signal, so as to change the feedback signal in real time to dynamically adjust the frequency of the operating clock signal.

Description

可調式鎖相迴路系統及其傳輸系統 Adjustable phase-locked loop system and its transmission system

本發明涉及一種鎖相迴路系統及其傳輸系統。更具體的說,本發明的鎖相迴路系統不同於以往的鎖相迴路系統,其可調式回授除頻器具有可動態調整之除數,而可對工作時脈訊號之頻率進行調整。 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 signal receiving device 20. For example, the signal transmission device 10 may be a computer, and the signal reception device 20 may be a USB sound card. When the transmission speed of the signal transmission device 10 is greater than the reception speed of the signal reception device 20, the signal will overflow. For example, the USB sound card cannot process too many playback messages, resulting in incorrect sound quality. When the transmission speed of the signal transmission device 10 is lower than the reception speed of the signal reception device 20, the signal will generate an underflow. For example, the USB sound card cannot process the next segment of the playback message, causing playback interruption. Therefore, the PLL system 100 plays a very important role here. Through the adjustment of the PLL system 100, The signal transmission device 10 and the signal receiving device 20 can be operated at the same operating frequency with two or more different electronic devices.

參考第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 charge pump 120, a filter 130, a voltage controlled oscillator 140, and a feedback frequency divider 150.

在習知的鎖相迴路系統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.

Figure 107132976-A0305-02-0004-1
Figure 107132976-A0305-02-0004-1

如上所述,在習知的鎖相迴路系統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 buffer 400. Through the adjustable phase-locked loop The system 300 generates a working clock signal, and the buffer 400 transmits data to the signal receiving device 40 according to the frequency of the working clock signal. The signal receiving device 40 is connected to the signal transmitting device 30 and receives and temporarily stores the data transmitted by the signal transmitting device 30 through the buffer 500 of the signal receiving device 40.

在此,本發明提供一種例示,訊號傳輸裝置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 buffer 500 to In the USB audio card, this buffer 500 can temporarily store 8192-byte data storage, which is equivalent to 4096 temporary data. Therefore, it can be seen that the buffer 500 can only temporarily store 85.3 ms of data storage. When the buffer 400 of the microprocessor MCU over-transmits data, the buffer 500 receives more than 85.3 ms of data storage, and the signal receiving device 40 loses the audio signal, causing distortion of sound quality. When the buffer 400 of the microprocessor MCU transmits the data too slowly, and the buffer 500 receives too low a data amount, the signal receiving device 40 lacks an audio signal, causing distortion in sound quality.

參考第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 buffer 500 according to an embodiment of the present invention. The first threshold t0 and the second threshold t1 are defined in the buffer 500, respectively. When the data storage capacity of the buffer 500 is lower than the first threshold t0, the signal transmission device 30 generates a request signal to increase the frequency of the working clock signal to the microprocessor MCU, and the microprocessor MCU accordingly reads from the register REG Select the clock adjustment signal to increase the working clock frequency, the microprocessor MCU then sends the clock adjustment signal to increase the working clock frequency to the adjustable phase-locked loop system 300, the adjustable phase-locked loop system 300 to increase the working clock signal Frequency of. When the data storage capacity of the buffer 400 is higher than the second threshold value t1, the signal transmission device 30 generates a request signal to reduce the frequency of the working clock signal to the microprocessor MCU, and the microprocessor MCU accordingly reads from the register REG Select the clock adjustment signal that reduces the working clock frequency. The microprocessor MCU then sends the clock adjustment signal that reduces the working clock frequency to the adjustable phase-locked loop system 300. The adjustable phase-locked loop system 300 reduces the working clock signal. Frequency of. However, in the present invention, the first threshold t0 and the second threshold t1 are determined according to the amount of data storage that the buffer 400 can provide, so the first threshold can be further adjusted according to the amount of data storage that the buffer 400 can provide t0 is adjusted with the second threshold t1.

如上述例示,緩衝區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 buffer 400 can temporarily store 8192-byte data storage, which is equivalent to 85.3ms of data storage. In the buffer 400, the first threshold t0 is defined as 20 ms and the second threshold t1 is defined as 65.3 ms. When the data storage capacity of the buffer 400 is lower than the first threshold t0 (for example: 19.9ms), the signal transmission device 30 generates a request signal to increase the frequency of the working clock signal to the microprocessor MCU, the microprocessor MCU accordingly selects the clock adjustment signal to increase the working clock frequency from the register REG, micro The processor MCU successively sends a clock adjustment signal to increase the working clock frequency to the adjustable phase-locked loop system 300, which can increase the frequency of the working clock signal. When the data storage capacity of the buffer 400 is higher than the second threshold t1 (for example: 65.4 ms), the signal transmission device 30 generates a request signal to reduce the frequency of the working pulse signal to the microprocessor MCU. This selects the clock adjustment signal that reduces the working clock frequency from the register REG. The microprocessor MCU then sends the clock adjustment signal that reduces the working clock frequency to the adjustable phase-locked loop system 300 and the adjustable phase-locked loop system 300 This reduces the frequency of the pulse signal during operation.

參考第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 oscillator 340 that can generate a working clock signal according to a voltage-controlled voltage signal, and is connected to the voltage-controlled oscillator 340 and can generate a voltage-controlled voltage signal according to an error signal to adjust the voltage Charge pump 320 for controlling the voltage level of the voltage signal, filter 330 connected between charge pump 320 and voltage-controlled oscillator 340, connected to charge pump 320 and receiving the reference clock signal and the feedback signal according to the comparison reference time The phase or frequency of the pulse signal and the feedback signal to generate an error signal, and a phase frequency detector 310 connected between the voltage controlled oscillator 340 and the phase frequency detector 310 to receive the working pulse signal and divide by a divisor (divider) An adjustable feedback divider 350 that divides the working clock signal and generates a feedback signal.

如第5圖所示,可調式回授除頻器350進一步包含微調電路351,接收如上所述之時脈調整訊號。當可調式回授除頻器350接收到微處理器MCU發出的時脈調整訊號時,透過微調電路351對可調式回授除頻器350的原回授除數50進行微調,藉此可即時對工作時脈訊號的頻率進行微調。 As shown in FIG. 5, the adjustable feedback frequency divider 350 further includes a trimming circuit 351 to receive the clock adjustment signal as described above. When the adjustable feedback frequency divider 350 receives the clock adjustment signal sent by the microprocessor MCU, the original feedback divisor 50 of the adjustable feedback frequency divider 350 is finely adjusted through the fine adjustment circuit 351, thereby real-time Fine-tune the frequency of the working clock signal.

參考第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 adjustable feedback divider 350 according to an embodiment of the present invention. As can be seen from the figure, the adjustable feedback divider 350 gives the original feedback divisor 50 an increased or decreased fine-tuned divisor 51 through the fine-tune circuit 351, and then the adjusted feedback divisor 52 is obtained. So that the frequency of the working pulse signal can satisfy the following relationship (Equation 1): CLKO'=CLKO+freg.×n......................... Equation 1 where CLKO' is the adjusted frequency of the working clock signal, CLKO' is The frequency before the adjustment of the pulse signal during operation, freg. is the unit for fine-tuning the frequency, and n is a positive or negative integer that can be dynamically adjusted.

因此當緩衝區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 buffer 400 is lower than the first threshold value t0, the signal receiving device 40 generates a request signal to increase the frequency of the working clock signal to the microprocessor MCU, and the microprocessor MCU accordingly reads from the scratchpad REG selects and sends a clock adjustment signal to the adjustable feedback frequency divider 350 in the adjustable phase-locked loop system 300, and the divisor of the adjustable feedback frequency divider 350 is reduced through the fine-tuning circuit 351, so that the operating clock The frequency of the signal is increased, so that the phase frequency detector 310 generates an error signal in which the phase or clock of the feedback signal lags behind the reference clock signal, so that the charge pump 320 increases the voltage level of the voltage-controlled voltage signal, so that the voltage control The oscillator 340 generates a higher frequency working clock signal. When the data storage capacity of the buffer 400 is higher than the second threshold value t1, the signal receiving device 40 generates a request signal to reduce the frequency of the working clock signal to the microprocessor MCU, and the microprocessor MCU accordingly reads from the register REG Select and send the clock adjustment signal to the adjustable feedback frequency divider 350 in the adjustable phase-locked loop system 300, the divisor of the adjustable feedback frequency divider 350 is increased through the fine-tuning circuit 351, so as to make the working clock signal The frequency of the frequency is reduced, so that the phase frequency detector 310 generates an error signal that the phase or clock of the feedback signal is ahead of the reference clock signal, so that the charge pump 320 lowers the voltage level of the voltage-controlled voltage signal, thereby causing the voltage-controlled oscillation The device 340 generates a lower frequency working clock signal.

如上述例示,設置單位微調頻率為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 buffer 400 is below the first threshold t0 for 20 ms (for example: 19.9 ms), the data storage capacity differs by only 0.1 ms, which is equivalent to one per second 4800 samples are missing, and the working clock signal frequency is slowed by 4800 Hz, the signal transmission device 30 generates a request signal to increase the working clock signal frequency to the microprocessor MCU, and the microprocessor MCU accordingly Select from the register REG and send the clock adjustment signal to the adjustable feedback divider 350 in the adjustable phase-locked loop system 300, then the trimming circuit 351 provides a trimming divisor 51 of about -0.005 to make the original feedback divisor 50 is reduced, and the adjusted feedback divisor 52 is about 0.995. Compare the frequency of the working clock signal before adjustment with the frequency of the adjusted working clock signal to satisfy the relationship: CLKO’=CLKO+100Hz×n, where n is 48, thereby increasing the frequency of 4800Hz.

如上述例示,設置單位微調頻率為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 buffer 400 is higher than the second threshold t1 of 65.3 ms (for example: 65.4 ms), the data storage capacity differs by only 0.1 ms, which is equivalent to There are 4800 samples of data in seconds, and it is learned that the frequency of the working pulse signal is faster by 4800Hz, then the signal transmission device 30 generates a request signal to increase the frequency of the working pulse signal to the microprocessor MCU. The register REG selects and sends a clock adjustment signal to the adjustable feedback divider 350 in the adjustable phase-locked loop system 300, then the fine-tuning circuit 351 provides a fine-tuned divisor 51 of approximately +0.0015 to increase the original feedback divisor 50 , The adjusted feedback divisor 52 is about 1.0015. Compare the frequency of the working clock signal before adjustment with the frequency of the adjusted working clock signal to satisfy the relationship: CLKO’=CLKO+100Hz×n, where n is -48, thereby reducing the frequency of 4800Hz.

如上所述,可調式回授除頻器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 feedback frequency divider 350 adjusts the frequency of the working clock signal through the fine-tuning circuit 351, the frequency can satisfy the following relationship: CLKO'=CLKO+freg.×n, where n can be ±1 ±2, ±3..., ±256. If the unit fine-tuning frequency is 100Hz, and n is a positive integer 1, it means that the frequency of the working clock signal is increased by 100Hz, which is equivalent to an increase of about 0.002ms of data storage. If n When it is a negative integer 1, it means that the frequency of the working clock signal is reduced by 100Hz, which is equivalent to a reduction of about 0.002ms of data storage.

根據上述說明,本發明之可調式鎖相迴路系統,實質上可針對工作時脈訊號進行動態的頻率調整,進而提升使用者執行正常工作的工作效率。以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 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 input frequency divider 760, which is connected to the phase frequency detector 710 and receives the reference clock signal. It is connected to the output frequency divider 770 and the voltage controlled oscillator 740 and receives the working clock signal (as shown in FIG. 7). This embodiment and the embodiment of FIG. 5 only add the input frequency divider 760 and the output frequency divider 770, and the remaining structures or components are substantially the same as the embodiment of FIG. 5, so the positions of the relevant structures or the functions of the components are repeated. The detailed description will be omitted.

在習知技術的鎖相迴路系統中(增加輸入除頻器與輸出除頻器),當輸入除頻器接收到參考時脈訊號後,將參考時脈訊號除以一除數,使參考時脈訊號的頻率降低至相位頻率偵測器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 signal receiving device 20 transmits a clock adjustment signal representing the frequency of increasing or decreasing the working clock signal, the working clock signal is To reach a suitable frequency, you must stop the work being performed and recalculate the new buffer settings, so it is inconvenient to use.

在本實施例中,因可調式鎖相迴路系統300包含可調式回授除頻器350。當可調式回授除頻器350接收到來自微處理器MCU的時脈調整訊號時, 可透過可調式回授除頻器350中的微調電路給予原回授除數50一個增加/減少的微調除數51進而得到調整後回授除數52,藉此可即時對工作時脈訊號的頻率進行微調,俾使工作時脈訊號的頻率降低/提高,使得相位頻率偵測器310產生回授訊號之相位或時脈領先/落後於參考時脈訊號的誤差訊號,俾使電荷泵320降低/提高壓控電壓訊號之電壓位準,進而使壓控振盪器340產生較低/較高頻率的工作時脈訊號,其調整方式如上所述之例示,在此將不重複敘述。 In this embodiment, the adjustable phase-locked loop system 300 includes an adjustable feedback divider 350. When the adjustable feedback divider 350 receives the clock adjustment signal from the microprocessor MCU, The trimming circuit in the adjustable feedback divider 350 can be used to give the original feedback divisor 50 an increase/decrease fine-tuning divisor 51 to obtain the adjusted feedback divisor 52, thereby real-time feedback of the working clock signal The frequency is fine-tuned to reduce/increase the frequency of the working clock signal, so that the phase frequency detector 310 generates an error signal of the phase of the feedback signal or the clock leads/lags behind the reference clock signal, so as to reduce the charge pump 320 /Increase the voltage level of the voltage-controlled voltage signal, so that the voltage-controlled oscillator 340 generates a lower/higher frequency working clock signal. The adjustment method is as described above, and will not be repeated here.

綜合以上觀點,本發明之可調式鎖相迴路系統及其傳輸系統,可解決現今習知的鎖相迴路系統,因不可微調所造成的不便利性。以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 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)

一種可調式鎖相迴路系統,其包含:一壓控振盪器,係依據一壓控電壓訊號產生一未除頻工作時脈訊號;一電荷泵,連接於該壓控振盪器,該電荷泵依據一誤差訊號產生該壓控電壓訊號,以調整該壓控電壓訊號之電壓位準;一濾波器,連接於該電荷泵與該壓控振盪器之間;一相位頻率偵測器,連接於該電荷泵,該相位頻率偵測器接收一工作頻率及一回授訊號,並比較該工作頻率及該回授訊號之相位或頻率,進而據以產生該誤差訊號;一可調式回授除頻器,該可調式回授除頻器接收一工作時脈訊號,並以一第一除數(divider)對該工作時脈訊號加以除頻,以產生該回授訊號;一輸入除頻器,連接該相位頻率偵測器,將一參考時脈訊號以一第二除數進行除頻以得到該工作訊號;以及一輸出除頻器,連接該可調式回授除頻器和該壓控振盪器,將該未除頻工作時脈訊號以一第三除數進行除頻以得到該工作時脈訊號;其中,該可調式回授除頻器進一步接收一時脈調整訊號,並根據該時脈調整訊號對該第一除數進行調整,藉此動態改變該回授訊號以對該工作時脈訊號之頻率進行調整。 An adjustable phase-locked loop system includes: a voltage-controlled oscillator, which generates an undivided working clock signal based on a voltage-controlled voltage signal; a charge pump, connected to the voltage-controlled oscillator, which is based on An error signal generates the voltage-controlled voltage signal to adjust the voltage level of the voltage-controlled voltage signal; a filter is connected between the charge pump and the voltage-controlled oscillator; a phase frequency detector is connected to the Charge pump, the phase frequency detector receives an operating frequency and a feedback signal, and compares the operating frequency and the phase or frequency of the feedback signal to generate the error signal accordingly; an adjustable feedback divider , The adjustable feedback divider receives a working clock signal, and divides the working clock signal by a first divider to generate the feedback signal; an input divider is connected The phase frequency detector divides a reference clock signal by a second divisor to obtain the working signal; and an output frequency divider connects the adjustable feedback frequency divider and the voltage controlled oscillator , Dividing the undivided working clock signal by a third divisor to obtain the working clock signal; wherein, the adjustable feedback divider further receives a clock adjustment signal and adjusts according to the clock The signal adjusts the first divisor, thereby dynamically changing the feedback signal to adjust the frequency of the working clock signal. 如申請專利範圍第1項之可調式鎖相迴路系統,其中該可調式回授除頻器包含一微調電路,當該時脈調整訊號代表提高該工 作時脈訊號之頻率時,透過減少該第一除數,使得該微調電路透過一單位微調頻率將該工作時脈訊號之頻率提高,使該相位頻率偵測器產生之該誤差訊號代表該回授訊號之相位或時脈落後於該參考時脈訊號,俾使該電荷泵提高該壓控電壓訊號之電壓位準,進而使該壓控振盪器產生較高頻率之該未除頻工作時脈訊號。 For example, the adjustable phase-locked loop system of item 1 of the patent scope, where the adjustable feedback divider includes a fine-tuning circuit, and when the clock adjustment signal represents an increase in When the frequency of the clock signal is reduced, by reducing the first divisor, the fine-tuning circuit increases the frequency of the working clock signal by a unit of fine-tuning frequency, so that the error signal generated by the phase frequency detector represents the return The phase or clock of the grant signal lags behind the reference clock signal, so that the charge pump raises the voltage level of the voltage-controlled voltage signal, so that the voltage-controlled oscillator generates the higher-frequency undivided working clock Signal. 如申請專利範圍第1項之可調式鎖相迴路系統,其中該可調式回授除頻器包含一微調電路,當該時脈調整訊號代表降低該工作時脈訊號之頻率時,透過增加該第一除數,使得該微調電路透過一單位微調頻率將該工作時脈訊號之頻率降低,使該相位頻率偵測器產生之該誤差訊號代表該回授訊號之相位或時脈領先於該參考時脈訊號,俾使該電荷泵降低該壓控電壓訊號之電壓位準,進而使該壓控振盪器產生較低頻率之該工作時脈訊號。 For example, the adjustable phase-locked loop system of claim 1 of the patent scope, wherein the adjustable feedback frequency divider includes a fine-tuning circuit. When the clock adjustment signal represents a decrease in the frequency of the working clock signal, by increasing the A divisor, so that the fine-tuning circuit reduces the frequency of the working clock signal through a unit of fine-tuning frequency, so that the error signal generated by the phase frequency detector represents the phase or clock of the feedback signal leading the reference time Pulse signal, so that the charge pump lowers the voltage level of the voltage-controlled voltage signal, so that the voltage-controlled oscillator generates the operating time pulse signal at a lower frequency. 如申請專利範圍第2或3項之可調式鎖相迴路系統,其中該可調式回授除頻器對該第一除數之調整,使該工作時脈訊號之頻率滿足下列關係式:CLKO’=CLKO+freq.×n其中,CLKO’為該工作時脈訊號調整後之頻率、CLKO為該工作時脈訊號調整前之頻率、freq.為該單位微調頻率、n為一正整數或一負整數。 For example, the adjustable phase-locked loop system of claim 2 or 3, wherein the adjustable feedback divider adjusts the first divisor so that the frequency of the working clock signal satisfies the following relationship: CLKO' =CLKO+freq.×n where CLKO' is the frequency after the working pulse signal is adjusted, CLKO is the frequency before the working pulse signal is adjusted, freq. is the unit fine-tuning frequency, n is a positive integer or a negative Integer. 一種傳輸系統,包含:一訊號傳輸裝置,包含一微處理器和該微處理器內設置的一可調式鎖相迴路系統,以產生一工作時脈訊號;以及 一訊號接收裝置,連接於該訊號傳輸裝置,並依該工作時脈訊號與該訊號傳輸裝置形成通訊連結,該訊號接收裝置包含一緩衝區,以暫存由該訊號傳輸裝置接收之資料;其中,該訊號傳輸裝置依據該緩衝區之資料儲存量產生一要求訊號,使該微處理器依據該要求訊號發出一時脈調整訊號至該可調式鎖相迴路系統,該可調式鎖相迴路系統動態調整該工作時脈訊號之頻率。 A transmission system includes: a signal transmission device including a microprocessor and an adjustable phase-locked loop system provided in the microprocessor to generate a working clock signal; and A signal receiving device, connected to the signal transmitting device, and forming a communication link with the signal transmitting 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; , The signal transmission device generates a request signal according to the data storage capacity of the buffer, so that the microprocessor sends a 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. 如申請專利範圍第5項之傳輸系統,其中該訊號傳輸裝置之該可調式鎖相迴路系統包含:一壓控振盪器,係依據一壓控電壓訊號產生該工作時脈訊號;一電荷泵,連接於該壓控振盪器,該電荷泵依據一誤差訊號產生該壓控電壓訊號,以調整該壓控電壓訊號之電壓位準;一濾波器,連接於該電荷泵與該壓控振盪器之間;一相位頻率偵測器,連接於該電荷泵,該相位頻率偵測器接收一參考時脈訊號及一回授訊號,並比較該參考時脈訊號及該回授訊號之相位或頻率,進而據以產生該誤差訊號;以及一可調式回授除頻器,連接於該壓控振盪器與該相位頻率偵測器之間,該可調式回授除頻器接收該工作時脈訊號,並以一除數(divider)對該工作時脈訊號加以除頻,以產生該回授訊號;其中,該可調式回授除頻器接收該時脈調整訊號,並根據該時脈調整訊號對該除數進行調整,藉此即時微調該工作時脈訊號。 For example, in the transmission system of claim 5, the adjustable phase-locked loop system of the signal transmission device includes: a voltage-controlled oscillator that generates the working clock signal based on a voltage-controlled voltage signal; a charge pump, Connected to the voltage controlled oscillator, the charge pump generates the voltage controlled voltage signal according to an error signal to adjust the voltage level of the voltage controlled voltage signal; a filter connected between the charge pump and the voltage controlled oscillator A phase frequency detector connected to the charge pump, the phase frequency detector receives a reference clock signal and a feedback signal, and compares the phase or frequency of the reference clock signal and the feedback signal, The error signal is generated accordingly; and an adjustable feedback frequency divider is connected between the voltage controlled oscillator and the phase frequency detector, and the adjustable feedback frequency divider receives the working clock signal, And divide the working clock signal by a divider to generate the feedback signal; wherein, the adjustable feedback divider receives the clock adjustment signal and adjusts the signal pair according to the clock The divisor is adjusted to fine-tune the working clock signal in real time. 如申請專利範圍第6項之傳輸系統,其中當該緩衝區之資料儲 存量低於一第一門檻值,則該訊號傳輸裝置產生要求提高該工作時脈訊號的頻率之該要求訊號;當該緩衝區之資料儲存量高於一第二門檻值,則該訊號傳輸裝置產生要求降低該工作時脈訊號的頻率之該要求訊號。 If the transmission system of patent application item 6 is used, the data in the buffer area is stored If the inventory is lower than a first threshold, the signal transmission device generates the request signal that requires increasing the frequency of the working clock signal; when the data storage capacity of the buffer is higher than a second threshold, the signal transmission device The request signal generating a request to reduce the frequency of the working clock signal is generated. 如申請專利範圍第6項之傳輸系統,其中該可調式回授除頻器包含一微調電路,當該時脈調整訊號代表提高該工作時脈訊號之頻率時,透過減少該除數,使得該微調電路透過一單位微調頻率將該工作時脈訊號之頻率提高,使該相位頻率偵測器產生之該誤差訊號代表該回授訊號之相位或時脈落後於該參考時脈訊號,俾使該電荷泵提高該壓控電壓訊號之電壓位準,進而使該壓控振盪器產生較高頻率之該工作時脈訊號。 For example, in the transmission system of claim 6, 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 The fine-tuning circuit increases the frequency of the working clock signal through a unit of fine-tuning frequency, so that the error signal generated by the phase frequency detector represents the phase or clock of the feedback signal lags behind the reference clock signal, so that the The charge pump increases the voltage level of the voltage-controlled voltage signal, so that the voltage-controlled oscillator generates the working clock signal at a higher frequency. 如申請專利範圍第8項之傳輸系統,其中該可調式回授除頻器包含一微調電路,當該時脈調整訊號代表降低該工作時脈訊號之頻率時,透過增加該除數,使得該微調電路透過該單位微調頻率將該工作時脈訊號之頻率降低,使該相位頻率偵測器產生之該誤差訊號代表該回授訊號之相位或時脈領先於該參考時脈訊號,俾使該電荷泵降低該壓控電壓訊號之電壓位準,進而使該壓控振盪器產生較低頻率之該工作時脈訊號。 For example, in the transmission system of claim 8, the adjustable feedback divider includes a fine-tuning circuit. When the clock adjustment signal represents a decrease in the frequency of the working clock signal, by increasing the divisor, the The fine-tuning circuit reduces the frequency of the working clock signal through the unit fine-tuning frequency, so that the error signal generated by the phase frequency detector represents the phase or clock of the feedback signal leading the reference clock signal, so that the The charge pump reduces the voltage level of the voltage-controlled voltage signal, so that the voltage-controlled oscillator generates the working clock signal at a lower frequency. 如申請專利範圍第8或9項之傳輸系統,其中該可調式回授除頻器對該除數之調整,使該工作時脈訊號之頻率滿足下列關係式:CLKO’=CLKO+freq.×n 其中,CLKO’為該工作時脈訊號調整後之頻率、CLKO為該工作時脈訊號調整前之頻率、freq.為該單位微調頻率、n為一正整數或一負整數。 For example, in the transmission system of patent application item 8 or 9, the adjustable feedback divider adjusts the divisor so that the frequency of the working clock signal satisfies the following relationship: CLKO'=CLKO+freq.× n Where CLKO' is the adjusted frequency of the working clock signal, CLKO is the adjusted frequency of the working clock signal, freq. is the unit fine-tuning frequency, and n is a positive integer or a negative integer.
TW107132976A 2018-09-19 2018-09-19 Tunable pll and communication system TWI691169B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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