[go: up one dir, main page]

TWI331448B - Frequency comparator, frequency synthesizer, and related methods thereof - Google Patents

Frequency comparator, frequency synthesizer, and related methods thereof Download PDF

Info

Publication number
TWI331448B
TWI331448B TW96102559A TW96102559A TWI331448B TW I331448 B TWI331448 B TW I331448B TW 96102559 A TW96102559 A TW 96102559A TW 96102559 A TW96102559 A TW 96102559A TW I331448 B TWI331448 B TW I331448B
Authority
TW
Taiwan
Prior art keywords
signal
frequency
coupled
switch control
voltage
Prior art date
Application number
TW96102559A
Other languages
Chinese (zh)
Other versions
TW200816634A (en
Inventor
Chien Wei Kuan
Original Assignee
Analog Integrations Corp
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 Analog Integrations Corp filed Critical Analog Integrations Corp
Publication of TW200816634A publication Critical patent/TW200816634A/en
Application granted granted Critical
Publication of TWI331448B publication Critical patent/TWI331448B/en

Links

Landscapes

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

Description

九、發明說明: 【發明所屬之技術領域】 本I明係關辦脈訊號處理,尤指_麵比解比㈣,其依據 電壓來设定一内部頻率並比較一外部頻率和該内部頻率、一種 '員率s成$ ’其採用該鮮比m來合成―時脈訊號,以及相關 方法。 【先前技術】 在積體電路m域巾,—外接式的接购in)係常常被用 來接收外。(5時脈’其中該外部時脈具有與一内部所產生的時脈 :不同的頻率,因此,積體電路必須是可以判斷出内部時脈和外 部時脈之二頻率,以及決定那—個時脈被選作為誠電路所需的 時脈。在習知領域中’―相位頻率偵·、—計數器以及複數個 ,位邏輯即可組合出—頻率娜器,其_來決定—電路内部所 需之頻率的日械訊號’㈣’㈣她鮮_器、該計數器以 及該複數個數位邏輯所組合成_率選擇^會烟積體電路之大 部份面積,因而提高了積體電路的製造成本。 請參考第1圖,第i圖所示係習知頻率比較器1〇的示意圖。 習知頻率比較器⑴包含有一頻率偵測電路11、一第一計數電路 12、一第二計數電路13以及-判斷邏輯14。當—第—時脈訊號加 和一第二時脈訊號IN2同時輸人至頻率偵測電路u時,對應於第 -時脈訊號抓和第二時脈訊號in2之一第一重置訊號咖^和 1331448 • 一第二重置訊號航2會分別被傳送至第一計數電路12和第二計 數電路,接著,第-重置訊#uRSTl和第二重置訊敍阳會 分別重置第-計數電路12以及第二計數電路13以開始分別計數 . 第一時脈訊號IN1和第二時脈訊號IN2之時脈週期。若第一時脈 • 訊號1N1之鮮係比第二時脈訊號IN2之頻率來得㈣,一溢出 訊號on會被輸出,接著,另一溢出訊號0F2亦會被輸出。溢出 訊號OFb OF2會被輸出至判斷邏# 14,最後,判斷邏輯14便會 φ 依據溢出訊號0F1、OF2輸出一狀態訊號來顯示第一、第二時脈 訊號im、in2之頻率關係。請參考美國專利號6_9浙,其係 揭露另-種習知的頻率比較器,其詳細内容於此不另費述。 另一方面,在積體電路接收一外部頻率時,積體電路需要用 該外部頻率來合成複數個任意頻率之訊號,或者積體電路需利用 該外部頻率來提供複數個時脈訊號,且該複數個時脈訊號具有不 -樣之相位’因此,—頻率合成减—頻率乘法器便亦需建立在 ®積體電路内。 【發明内容】 因此本發明的目的之一係在於提供一種類比頻率比較器,其 依據一電壓來設定一内部頻率以及比較一外部頻率和該内部頻 率、一種頻率合成器,其採用該頻率比較器來合成一時脈訊號, 以及相關方法。 1331448 ^ 本發明之一實施例提供了一種頻率比較器,用來比較一第一 訊號和一第二訊號之頻率。該頻率比較器包含有一頻率偵測電 路、一頻率產生器、一電荷泵電路以及一判斷邏輯耦。該頻率偵 測電路用來依據該第一訊號和一輸入電壓來產生一參考訊號;該 頻率產生器用來依據該輸入電壓來產生該第二訊號;該電荷泵電 路耦接於該頻率偵測電路和該頻率產生器,用來依據該參考訊號 和該第二訊號中之一訊號來致能一充電電流以提高一電壓位準, • 以及用來依據該參考訊號和該第二訊號令之另一訊號來致能一放 電電流以減低該電壓位準;以及該判斷邏輯耦接於該電荷泵電 路’用來依據該電壓準位來決定該第一訊號和該第二訊號之頻率 之間的一頻率關係。 本發明之另一實施例提供了一種頻率合成器,用來依據一第 一訊號來產生一第二訊號。該頻率合成器包含有一頻率偵測電 路、一頻率產生器、一電荷泵電路以及一調整電路。該頻率偵測 電路用來依據該第一訊號和一第一輸入電壓來產生一參考訊號; 該頻率產生器用來依據一第二輸入電壓來產生該第二訊號;該電 荷系電路耦接於該頻率偵測電路和該頻率產生器,用來依據該參 考訊號和該第二訊號中之一訊號來致能一充電電流以提高一電壓 位準,以及用來依據該參考訊號和該第二訊號十之另一訊號來致 能一放電電流以減低該電壓位準;以及該調整電路耦接於該電荷 栗電路、該頻率偵測電路以及該頻率產生器,用來依據該電壓準 位來調整該頻率偵測電路以及該頻率產生器,以調整該參考訊號 8 1331448 、 和該第二訊號之頻率。 本發明之另一實施例提供了一種頻率比較方法,用來比較一 第一訊號和一第一訊號之頻率。該頻率比較方法包含有:依據該第 ' —訊號和一輸入電壓來產生一參考訊號;依據該輸入電壓來產生 該第二訊號;依據該參考訊號和該第二訊號中之一訊號來致能一 充電電流以提高一電壓位準,以及依據該參考訊號和該第二訊號 Φ 中之另一訊號來致能一放電電流以減低該電壓位準;以及依據該 電壓準位來決定該第一訊號和該第二訊號之頻率之間的一頻率關 係。 本發明之另一實施例提供了一種頻率合成方法,用來依據一 第一訊號來產生一第二訊號。該頻率合成方法包含有:依據該第一 訊號和一第一輸入電壓來產生一參考訊號;依據一第二輸入電壓 來產生該第二訊號;依據該參考訊號和該第二訊號中之一訊號來 致能一充電電流以提高一電壓位準,以及依據該參考訊號和該第 一§fl號中之另一訊號來致能一放電電流以減低該電壓位準;以及 依據該電壓準位來調整該參考訊號和該第二訊號之頻率。 【實施方式】 在說明書及後續的巾請專·巾使用了某些詞彙來指稱 特定的餅。蘭躺巾具有通常知識者射理解,硬體製造商 可能會用獨的名詞來稱詞—個元件。本說明書及後續的申請 9 丄划丄448 專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件 在功能上的差異來作輕分的準則。在通篇朗#及後續的請求 項當中所提及的「包含」係為—敝式的躲,故應轉成「包 含但不限定於」。以外,「雛」—詞在聽包含任何直接及間接 的電氣連接手段。因此,若文中描述—第—裝置祕於一第二裝 置’則代表該第-裝置可直接電氣連接於該第二裝置,或透過其 他裝置或連接手段間接地電氣連接至該第二裝置。 請參考第2圖,第2圖係本發明頻率比較器1〇〇之一實施例 的示意圖。頻率比較器1〇〇係用來比較一第一訊號&(即一外部時 脈訊號)和一第二訊號S2(即一内部時脈訊號)之頻率,而頻率比較 器100包含有一頻率偵測電路10卜一頻率產生器102、一電荷泵 電路103、一判斷邏輯104以及一偏壓產生器105,其中頻率偵測 電路101係依據第一訊號S!和一輸入電壓VrQse來產生一參考訊號 Sr,頻率產生器102係依據諱輸入電壓Vr〇sc來產生第二訊號&, 電荷泵電路103係耦接於頻率偵測電路ιοί和頻率產生器1〇2,用 來依據參考訊號Sr或第二訊號S2來致能(enable)—充電電流Ic以提 昇一電壓準位Voset;並且用來依據參考訊號Sr和第二訊號&中的 另一個訊號來致能(enable)—放電電流Ide以降低電壓準位v<jset。判 斷邏輯104耦接於電荷泵電路1〇3,其係用來依據由電荷泵電路 103所輸出的電壓準位Voset來分辦第一訊號Si和第二訊號S2之間 的頻率關係;另一方面’偏壓產生器105係耦接於頻率偵測電路 101以及頻率產生器102,用來產生輸入電壓Vrosc。 1331448 、 請注意,在此一實施例中,充電的操作係由參考訊號s所 控制,而放電的操作則是由第二訊號心所控制,然而,此並非為 , 本發明之限制條件。舉例來說,在本發明之另一設計中,放電操 作可由參考訊號Sr所控制,而充電操作則由第二訊號s所控制', 而第一訊號3丨和第二訊號S2之間的頻率關係可以依據電壓準位 Voset來加以分辦。 • 以下所述係揭露頻率比較器100之内部元件間的操作。依據 本發明第2圖所揭露之實施例,頻率偵測電路1〇1包含有一第一 銀窗波產生II 1G11以及ϋ較n聰,其中第—織波產生 器1011係耦接於第一訊號Sl以轉換第一訊號Sl至一第一鋸齒波 訊號swl,以及第一比較器1012係耦接於第一鋸齒波訊號心丨和 輸入電壓Vrcs。,絲比較第—職訊號Swi和輸人電壓V咖以產 生參考訊號Sr。第一鋸齒波產生器1011包含有一單一脈波產生電 Φ路1011a、—第一電容C1、一第-電流源I!、-第-開關Wi、-第二開關W2以及一開關控制電路1〇llb,而如第2圖所示,單一 ,波產生電路lGlla係減於第—訊號\,用來於第_訊號^之 每週期產生一單一脈波訊號(onepulsesignai)(m Spi);第一電容 c’輕接於第一麵波產生器應之__輸㈣點%以及一第一 參考電壓vss(即-接地蝴;第—電流源接於—第二參考 電壓vdd(即-電源電虔);第一開關Wi係輕接於第一電流源心和 第一鑛齒波產生器1011之輸出端點Νι之間,用來依據一第一開 關控制訊號Scl來選擇性地輕接第一電流源L至第一電容C1;第 丄幻1448 、 二開關W2係耦接於第一參考電壓vss和第一鋸齒波產生器1011 之輸出端點N!之間,用來依據一第二開關控制訊號sc2來選擇性 地輕接第一電容〇^至第一參考電壓vss;以及開關控制電路1011b 係耦接於單一脈波產生電路1011a、第一開關w!以及第二開關 W2’用來依據第一單一脈波產生電路l〇lla之一輸出訊號Spl來產 生第一開關控制訊號Scl和第二開關控制訊號Sc2。 φ 請再次參考第2圖’頻率產生器102包含有一第二鋸齒波產 生器1021以及一第二比較器1〇22。第二鋸齒波產生器1〇21係耦 接於第二訊號I以轉換第二訊號S2成為一第二鋸齒波訊號Sw2, 而第二比較器1022係耦接於第二鋸齒波訊號和輸入電壓 vrosc’用來比較第二鋸齒波訊號Sw2和輸入電壓Vr〇sc以產生第二訊 號S2。此外’第二鋸齒波產生器ι〇2ι包含有一第二電容Q、一 第二電流源I2、一第三開關Ws、一第四開關W4以及一開關控制 電路1〇21a,其中第二電容C2係輕接於第二錯齒波產生器1021之 -輸出端點n2和第-參考電慶Vss之間;第二電流源12係輕接於 第二參考電壓Vdd ;第三開關w3係減於第二電流源12和第二鑛 齒波產生益1021之輸出端點n2之間,用來依據一第三開關控制 訊號sc3來選擇性地輕接第二電流源l2至第二電容C2;第四開關 搞接於第二鑛齒波產生器應之輸出端點&和第一參考電 壓vss之間,用來依據一第四開關控制訊號h來選擇性地輛接第 •二電容C2至第一參考電壓、以及開關控制電路1021a係搞接於 第二訊號s2、第三開關w3以及第四開關W4,用來依據由第二鑛 12 -1波產生ϋ臟之輸出端N2所輸㈣第二訊號32來產生第三開 關控制訊號Sc3以及第四開關控制訊號Sc4。 .…此外’判斷邏輯104係輕接於電壓準位卩及-第三參考 賴Vr3以輸出—指示訊號Vid,其侧來指示出第—訊號义和第 二訊號Sk_頻率關係。在本實施例中偏壓產生器1〇5包含 有-電阻Rref以及-參考龍產生電路咖,其中參考電壓產生 鲁電路顧係_於電阻Rref以依據電阻‘之電阻值來設定輸入 電壓Vrosc。請注意,參考電壓產生電路1〇5卜頻率偵測電路1⑴、 頻率產生器102、電荷泵電路103以及判斷邏輯1〇4均係整合於一 單晶片中,而電阻RreH系設置於該單晶片之外部,換句話說,外部 電阻Rref之電阻值可輕易地被調整,而在實際操作上,當電阻Ια 以外接的方式耦接於參考電壓產生電路1〇51時,輸入電壓Vr〇sc 就被设定好了,其中輸入電壓vrosc會決定頻率產生器1〇2所產生 Φ 的第二訊號S2之頻率&。輸入電壓Vr〇sc之設定將於下詳述。 請參考第3圖,第3圖係第1圖所示之偏壓產生器105之一 實施例的示意圖。經由以閉迴路方式所連接之誤差放大器1〇52以 及一傳輸電晶體(pass transistor),一第四參考電壓Vr4係耦接於電 阻Rref以產生一參考電流Iref,其中Ire产Vr4/Rref。參考電流Iref會接 著被一電流鏡電路1053所複製(mirror)以產生一電流鏡電流 Imirror ’而如熟習此項技藝者所習知的,電流鏡電路1〇53之電流鏡IX. Description of the invention: [Technical field to which the invention pertains] The present invention relates to the processing of pulse signals, in particular to the ratio of the surface to the ratio (4), which sets an internal frequency according to the voltage and compares an external frequency with the internal frequency, A 'rate rate s into $' which uses the fresh ratio m to synthesize the - clock signal, and related methods. [Prior Art] In the integrated circuit m-zone, the external connection in) is often used for reception. (5 clocks where the external clock has a different frequency than an internally generated clock; therefore, the integrated circuit must be able to determine the frequency of the internal clock and the external clock, and determine which one The clock is selected as the clock required by the Cheng circuit. In the field of knowledge, 'phase frequency detection, - counter and plural, bit logic can be combined - frequency nano, its _ to decide - circuit inside The required frequency of the Japanese mechanical signal '(4)' (4) her fresh _ device, the counter and the plurality of digital logic are combined into a large area of the NOx selection circuit, thereby improving the manufacturing of the integrated circuit Please refer to Fig. 1. Fig. 1 is a schematic diagram of a conventional frequency comparator 1〇. The conventional frequency comparator (1) includes a frequency detecting circuit 11, a first counting circuit 12, and a second counting circuit. 13 and - judgment logic 14. When the -th clock signal plus a second clock signal IN2 is simultaneously input to the frequency detection circuit u, corresponding to the first-clock signal capture and the second clock signal in2 a first reset signal coffee ^ and 1331448 • one The second reset signal will be transmitted to the first counting circuit 12 and the second counting circuit, respectively, and then the first-reset signal #uRST1 and the second reset signal will reset the first-counting circuit 12 and The second counting circuit 13 starts to respectively count the clock cycles of the first clock signal IN1 and the second clock signal IN2. If the first clock signal 1N1 is less than the frequency of the second clock signal IN2 (4) An overflow signal on will be output, and another overflow signal 0F2 will be output. The overflow signal OFb OF2 will be output to the judgment logic #14. Finally, the judgment logic 14 will output φ according to the overflow signals 0F1 and OF2. The status signal indicates the frequency relationship between the first and second clock signals im and in2. Please refer to U.S. Patent No. 6_9, which discloses another conventional frequency comparator, the details of which are not described herein. On the other hand, when the integrated circuit receives an external frequency, the integrated circuit needs to use the external frequency to synthesize a plurality of signals of any frequency, or the integrated circuit needs to use the external frequency to provide a plurality of clock signals, and the Multiple time signals Therefore, the frequency synthesis subtraction-frequency multiplier also needs to be built in the integrated circuit. [Invention] Therefore, one of the objects of the present invention is to provide an analog frequency comparator. An internal frequency is set according to a voltage, and an external frequency and the internal frequency are compared, a frequency synthesizer is used to synthesize a clock signal, and a related method. 1331448 ^ An embodiment of the present invention provides a The frequency comparator is configured to compare the frequencies of a first signal and a second signal. The frequency comparator includes a frequency detecting circuit, a frequency generator, a charge pump circuit and a determining logic coupling. Generating a reference signal according to the first signal and an input voltage; the frequency generator is configured to generate the second signal according to the input voltage; the charge pump circuit is coupled to the frequency detecting circuit and the frequency generator The method is configured to enable a charging current according to one of the reference signal and the second signal to increase a voltage level. And activating a discharge current to reduce the voltage level according to the reference signal and the other signal of the second signal; and the determining logic is coupled to the charge pump circuit to be used according to the voltage level Determining a frequency relationship between the first signal and the frequency of the second signal. Another embodiment of the present invention provides a frequency synthesizer for generating a second signal based on a first signal. The frequency synthesizer includes a frequency detecting circuit, a frequency generator, a charge pump circuit, and an adjusting circuit. The frequency detecting circuit is configured to generate a reference signal according to the first signal and a first input voltage; the frequency generator is configured to generate the second signal according to a second input voltage; the charge system is coupled to the The frequency detecting circuit and the frequency generator are configured to enable a charging current to increase a voltage level according to one of the reference signal and the second signal, and to use the reference signal and the second signal according to the reference signal and the second signal Another signal of ten is used to enable a discharge current to reduce the voltage level; and the adjustment circuit is coupled to the charge pump circuit, the frequency detection circuit and the frequency generator for adjusting according to the voltage level The frequency detecting circuit and the frequency generator adjust the frequency of the reference signal 8 1331448 and the second signal. Another embodiment of the present invention provides a frequency comparison method for comparing the frequencies of a first signal and a first signal. The frequency comparison method includes: generating a reference signal according to the first signal and an input voltage; generating the second signal according to the input voltage; and enabling the signal according to the reference signal and the second signal a charging current to increase a voltage level, and a discharging current according to the other of the reference signal and the second signal Φ to reduce the voltage level; and determining the first according to the voltage level A frequency relationship between the signal and the frequency of the second signal. Another embodiment of the present invention provides a frequency synthesizing method for generating a second signal according to a first signal. The frequency synthesizing method includes: generating a reference signal according to the first signal and a first input voltage; generating the second signal according to a second input voltage; and according to the reference signal and one of the second signals Enabling a charging current to increase a voltage level, and enabling a discharging current to reduce the voltage level according to the reference signal and another signal in the first §fl; and according to the voltage level Adjust the frequency of the reference signal and the second signal. [Embodiment] In the specification and subsequent towels, some words are used to refer to a specific cake. The blue lying towel has the usual knowledge to understand, and the hardware manufacturer may use the unique noun to refer to the word-component. This manual and subsequent applications 9 丄 丄 448 The patent scope does not use the difference in name as the way to distinguish the components, but the criterion for the lighter division of the components in terms of functional differences. The "contains" mentioned in the article "Land" and the subsequent requests are "hidden" and should be converted to "including but not limited to". In addition, the word "catch" - the word contains any direct and indirect electrical connection means. Thus, if a second device is described herein, it means that the first device can be directly electrically connected to the second device or indirectly electrically connected to the second device through other devices or means. Please refer to Fig. 2, which is a schematic diagram of an embodiment of the frequency comparator 1 of the present invention. The frequency comparator 1 is used to compare the frequencies of a first signal & (ie an external clock signal) and a second signal S2 (ie an internal clock signal), and the frequency comparator 100 includes a frequency detect The measuring circuit 10 includes a frequency generator 102, a charge pump circuit 103, a determining logic 104 and a bias generator 105. The frequency detecting circuit 101 generates a reference according to the first signal S! and an input voltage VrQse. The signal generator 102 generates a second signal according to the input voltage Vr〇sc, and the charge pump circuit 103 is coupled to the frequency detecting circuit ιοί and the frequency generator 1〇2 for using the reference signal Sr. Or the second signal S2 enables - the charging current Ic to raise a voltage level Voset; and is used to enable - discharge current according to another signal in the reference signal Sr and the second signal & Ide to lower the voltage level v < jset. The determining logic 104 is coupled to the charge pump circuit 1〇3 for dividing the frequency relationship between the first signal Si and the second signal S2 according to the voltage level Voset outputted by the charge pump circuit 103; The bias generator 105 is coupled to the frequency detecting circuit 101 and the frequency generator 102 for generating an input voltage Vrosc. 1331448, Please note that in this embodiment, the charging operation is controlled by the reference signal s, and the discharging operation is controlled by the second signal heart. However, this is not a limitation of the present invention. For example, in another design of the present invention, the discharge operation can be controlled by the reference signal Sr, and the charging operation is controlled by the second signal s, and the frequency between the first signal 3 丨 and the second signal S 2 The relationship can be divided according to the voltage level Voset. • The following describes the operation between the internal components of the frequency comparator 100. According to the embodiment of the present invention, the frequency detecting circuit 101 includes a first silver window wave generating II 1G11 and a second wave, wherein the first wave generator 1011 is coupled to the first signal. Sl converts the first signal S1 to a first sawtooth wave signal swl, and the first comparator 1012 is coupled to the first sawtooth wave signal heart and the input voltage Vrcs. The silk compares the first job signal Swi and the input voltage V coffee to generate the reference signal Sr. The first sawtooth generator 1011 includes a single pulse wave generating electric Φ path 1011a, a first capacitor C1, a first current source I!, a -th switch Wi, a second switch W2, and a switch control circuit 1 Llb, and as shown in Fig. 2, the single, wave generating circuit lGlla is subtracted from the first signal\, and is used to generate a single pulse signal (m Spi) in each cycle of the first signal ^; The capacitor c' is lightly connected to the first surface wave generator __transmission (four) point % and a first reference voltage vss (ie - grounding butterfly; the first current source is connected to - the second reference voltage vdd (ie - power supply第一); the first switch Wi is lightly connected between the first current source core and the output end point 第一ι of the first stolen tooth wave generator 1011 for selectively tapping the first switch control signal Scl a current source L is connected to the first capacitor C1; the second flip-flop 1448 and the second switch W2 are coupled between the first reference voltage vss and the output terminal N! of the first sawtooth generator 1011, and are used according to a second Switching control signal sc2 to selectively connect the first capacitor 至 to the first reference voltage vss; and the switch control circuit 1011b is coupled to The first pulse control circuit 1011a, the first switch w!, and the second switch W2' are configured to generate the first switch control signal Scl and the second switch control signal according to one of the output signals Spl of the first single pulse wave generating circuit 101a. Sc2. φ Please refer to FIG. 2 again. The frequency generator 102 includes a second sawtooth generator 1021 and a second comparator 1 〇 22. The second sawtooth generator 1 〇 21 is coupled to the second signal I. The second sawer signal 102 is coupled to the second sawtooth wave signal and the input voltage vrosc' for comparing the second sawtooth wave signal Sw2 and the input voltage Vr〇sc. The second sawtooth generator ι〇2ι includes a second capacitor Q, a second current source I2, a third switch Ws, a fourth switch W4, and a switch control circuit. 21a, wherein the second capacitor C2 is lightly connected between the output terminal end n2 of the second staggered wave generator 1021 and the first reference voltage Vss; the second current source 12 is lightly connected to the second reference voltage Vdd; The third switch w3 is reduced from the second current source 12 and the second mineral tooth wave Between the output terminal n2 of the benefit 1021, for selectively connecting the second current source 12 to the second capacitor C2 according to a third switch control signal sc3; the fourth switch is connected to the second mine tooth wave generation The output terminal & and the first reference voltage vss are used to selectively connect the second capacitor C2 to the first reference voltage and the switch control circuit 1021a according to a fourth switch control signal h The second signal s2, the third switch w3, and the fourth switch W4 are connected to generate the third switch control signal according to the fourth signal 32 outputted by the output terminal N2 generated by the second mine 12-1 wave. Sc3 and the fourth switch control signal Sc4. In addition, the 'decision logic 104 is lightly connected to the voltage level 卩 and the third reference VVr3 to output the indication signal Vid, the side of which indicates the relationship between the first signal and the second signal Sk_ frequency. In the present embodiment, the bias generator 1 〇 5 includes a -resistor Rref and a reference volt generating circuit, wherein the reference voltage generates a ruin circuit to the resistor Rref to set the input voltage Vrosc according to the resistance value of the resistor ‘. Please note that the reference voltage generating circuit 1〇5, the frequency detecting circuit 1(1), the frequency generator 102, the charge pump circuit 103, and the determining logic 1〇4 are all integrated in a single chip, and the resistor RreH is disposed on the single chip. Externally, in other words, the resistance value of the external resistor Rref can be easily adjusted. In actual operation, when the resistor Ια is externally coupled to the reference voltage generating circuit 1〇51, the input voltage Vr〇sc is It is set, in which the input voltage vrosc determines the frequency & of the second signal S2 generated by the frequency generator 1〇2. The setting of the input voltage Vr〇sc will be described in detail below. Please refer to FIG. 3, which is a schematic diagram of an embodiment of the bias generator 105 shown in FIG. 1. A fourth reference voltage Vr4 is coupled to the resistor Rref via a error amplifier 1〇52 connected in a closed loop manner and a pass transistor to generate a reference current Iref, wherein Ire produces Vr4/Rref. The reference current Iref is then mirrored by a current mirror circuit 1053 to produce a current mirror current Imirror'. The current mirror of the current mirror circuit 1〇53 is known to those skilled in the art.

比值(current mirror ratio ) Nmirror 可由 P 型電晶體(PMOS 13 1331448 ' 加—_2,或其他可行的裝置來直接碰,另-方面,輸入 電壓vrosc可以將電流鏡電济LlmhT〇r流通一電阻Ri來得到,因此, 。請注意,第3圖所示的電路架構僅為方 .便本發明實施例之描述,然而此並非用來作為本發明之限制條件。 依據以上所述的單一脈波產生電路1〇lla,當第一訊號&被 輸入時,單一脈波產生電路1〇Ua會於第一訊號&之每一週期產 _ 生單一脈波訊號spl給接下來的電路元件,如此就可以避免第一訊 號8!之工作週期(dutycycle)不穩定的問題。請參考第4圖,第4 圖係第2圖所示之單一脈波產生電路1〇lla之一實施例的示意 圖。單一脈波產生電路1011a包含有複數個反相器Invi、Inv2、複數 個電晶體Me Ms、My Μ?、一第三電容Q、一電阻心以及一反 及閘(NAND gate)NG。首先,第一訊號Sl會被反相器Ιην1、複數個 電晶體Μ*、Ms、Μό、、第三電容C3以及電阻R2所組成之一 鲁延遲單元(delay unit)所延遲以產生一延遲訊號Sdelay(如第4圖所 示)接耆’延遲訊號Sdeiay會被輸入至反及閘NG,然後,反及閘 NG便比較延遲訊號以及第一訊號I以輸出單一脈波訊號 Spi(如苐5圖所示)’第5圖係為第4圖和第2圖所示之延遲訊號 Sdelay、第一訊號S丨、單一脈波訊號Sy以及第一鋸齒波訊號§wl的 時序圖。由於延遲單元之操作可輕易地為熟習此項技藝者所瞭 解,因此於此不另贅述。另一方面,請注意,第4圖所示的電路 架構僅為方便本發明實施例之描述,然而此並用來作為本發明之 限制條件,亦即任何可以產生本發明所需的單一脈波訊號Spl之單The current mirror ratio Nmirror can be directly touched by a P-type transistor (PMOS 13 1331448 'plus -_2, or other feasible devices. On the other hand, the input voltage vrosc can flow the current mirror LLMhT〇r to a resistor Ri Therefore, it should be noted that the circuit architecture shown in FIG. 3 is only a description of the embodiments of the present invention, but this is not intended to be a limitation of the present invention. According to the single pulse generation described above. The circuit 1〇lla, when the first signal & is input, the single pulse wave generating circuit 1〇Ua generates a single pulse signal spl to the next circuit component in each cycle of the first signal & It is possible to avoid the problem that the duty cycle of the first signal 8! is unstable. Please refer to Fig. 4, which is a schematic diagram of an embodiment of a single pulse wave generating circuit 1?lla shown in Fig. 2. The single pulse wave generating circuit 1011a includes a plurality of inverters Invi, Inv2, a plurality of transistors Me Ms, My Μ?, a third capacitor Q, a resistor core, and a NAND gate NG. First, The first signal Sl will be inverted by the inverter Ιην1 And a plurality of transistors Μ*, Ms, Μό, a third capacitor C3, and a resistor R2 are delayed by a delay unit to generate a delay signal Sdelay (as shown in FIG. 4). The delay signal Sdeiay will be input to the inverse gate NG. Then, the gate NG will compare the delay signal with the first signal I to output a single pulse signal Spi (as shown in Fig. 5). The timing diagrams of the delay signal Sdelay, the first signal S丨, the single pulse signal Sy, and the first sawtooth wave signal §wl shown in Fig. 2, because the operation of the delay unit can be easily used by those skilled in the art. In other words, please note that the circuit architecture shown in FIG. 4 is only for convenience of description of the embodiments of the present invention, but is also used as a limitation of the present invention, that is, any Single pulse signal Spl required by the present invention

Claims (1)

~'Ί 、申請專利範圍: 一種頻率比較器,用來比較一第一訊號和一第二訊號之 頻率,包含有: —頻率偵測電路,用來依據該第一訊號和一輸入電壓 來產生一參考訊號; 一頻率產生器,用來依據該輸入電壓來產生該第二訊 號; 一電荷泵電路,耦接於該頻率偵測電路和該頻率產生 器,用來依據該參考訊號和該第二訊號中之一訊 號來致能(enable) —充電電流以提高一電壓位 準’以及用來依據該參考訊號和該第二訊號中之 另一訊號來致能(enable)—放電電流以減低該電 壓位準;以及 —判斷邏輯,耦接於該電荷泵電路,用來依據該電壓 準位來決定該第一訊號和該第二訊號之頻率之 間的一頻率關係。 •如申凊專利範圍第1項所述之頻率比較器,其中該頻率 偵測電路包含有: 一第一鋸齒波產生器,耦接於該第一訊號,用來將該 第一訊號轉換成一第一鋸齒波訊號;以及 —第一比較器,耦接於該第一鋸齒波訊號和該輸入電 壓,用來比較該第一鋸齒波訊號和該輸入電壓以 產生該參考訊號。 如申請專利範圍第2項所述之頻率比較器,其中該第一 鑛齒波產生器包含有: 一單一脈波產生電路,耦接於該第一訊號,用來於該 第一訊號之每一週期產生一單一脈波訊號(〇ne pulse signal); 第一電谷’輕接於該第一鋸齒波產生器之一輸出端 點以及一第一參考電壓; 一第一電流源,耦接於一第二參考電壓; —第一開關,耦接於該第一電流源和該第一鋸齒波產 生器之該輸出端點,用來依據一第一開關控制訊 號來選擇性地耦接該第一電流源於該第一電容; —第二開關,耦接於該第一鋸齒波產生器之該輸出端 點以及該第一參考電壓,用來依據一第二開關控 制訊號來選擇性地耦接該第一電容於該第一參 考電壓;以及 —開關控制電路,耦接於該單一脈波產生電路、該第 一開關以及該第二開關,用來依據該單一脈波產 生電路之一輪出訊號來產生該第一開關控制訊 號以及該第二開關控制訊號。 如中明專利_第1項所述之頻率比較器,其中該頻率 29 產生器包含有: 一第二鋸齒波產生器,耦接於該第二訊號,用來將該 第二訊號轉換成一第二鋸齒波訊號;以及 一第一比較器,耦接於該第二鋸齒波訊號和該輸入電 壓’用來比較該第二鋸齒波訊號和該輸入電壓以 產生該第二訊號。 •如申請專利範圍第4項所述之頻率比較器,其中該第二 鋸齒波產生器包含有: 一第二電容,耦接於該第二鋸齒波產生器之一輸出端 點以及一第一參考電壓; 一第二電流源,耦接於一第二參考電壓; 一第三開關’耦接於該第二電流源和該第二鋸齒波產 生器之該輸出端點,用來依據一第三開關控制訊 號來選擇性地耦接該第二電流源於該第二電容; 一第四開關,耦接於該第二鋸齒波產生器之該輸出端 點以及該第一參考電壓,用來依據一第四開關控 制訊號來選擇性地耦接該第二電容於該第一參 考電壓;以及 一開關控制電路’耦接於該第二訊號、該第三開關以 及該第四開關,用來依據從該第二比較器之—輪 出端點輸出的該第二訊號來產生該第三開關控 制訊號以及該第四開關控制訊號。 ⑶ 1448 •如中請專利範圍第!項所述之頻率比較器,其中_斷 邏輯係輕接於該電壓準位和一第三參考,用來輸 出一指示訊號來表示該第-訊號和該第二訊號之間的 頻率的該頻率關係。 .如申請專利範圍第i項所述之頻率比較器,更包含有: —電阻;以及 -參考電壓產生電路,耦接於該電阻,用來依據該電 阻之電阻值來設定該輸入電壓; 其中該參考電墨產生電路、該頻率该測電路、該頻率 產生器、該電荷泵電路以及該判斷邏輯均整合於一單 晶片中,而該電阻則外接於該單晶片。 頻率合成器,用來依據一第一訊號來產生一第二訊 號’包含有: 一頻率偵測電路,用來依據該第一訊號和一第一輸入 電壓來產生一參考訊號; 一頻率產生器,用來依據一第二輸入電壓來產生該第 二訊號; 一電荷泵電路,耦接於該頻率偵測電路和該頻率產生 器,用來依據該參考訊號和該第二訊號中之一訊 號來致能(enable) —充電電流以提高一電壓位 準,以及用來依據該參考訊號和該第二訊號中之 31 另一訊號來致能(enable) —放電電流以減低該電 壓位準;以及 調整電路,搞接於该電荷粟電路、該頻率偵測電路 以及該頻率產生器,用來依據該電壓準位來調整 該頻率偵測電路以及該頻率產生器,以調整該參 考訊號和該第二訊號之頻率。 如申请專利範圍第8項所述之頻率合成器,更包含有: 低通遽波器,搞接於該電荷栗電路和該調整電路之 間,用來對該調整電路所輸出之該電壓準位進行 低通濾波。 10·如申請專利範圍第8項所述之頻率合成器,其中該頻 率偵測電路包含有: —第一鋸齒波產生器,耦接於該第一訊號,用來將該 第一訊號轉換成一第一鋸齒波訊號;以及 —第一比較器,耦接於該第一鋸齒波訊號和該第一輸 入電壓,用來比較該第一鋸齒波訊號和該第一輸 入電壓以產生該參考訊號。 1L如申請專利範圍第1〇項所述之頻率合成器,其中該第 一鋸齒波產生器包含有: 一單一脈波產生電路,耦接於該第一訊號,用來於該 32 第一訊號之每一週期產生一單一脈波訊號(One pulse signal); 第電谷’輕接於該第一鑛齒波產生器之一輸出端 點以及一第一參考電壓; 一第一電流源,耦接於一第二參考電壓; 一第一開關’耦接於該第一電流源和該第一鋸齒波產 生器之該輸出端點,用來依據一第一開關控制訊 號來選擇性地耦接該第一電流源於該第一電容; 一第二開關’耦接於該第一鋸齒波產生器之該輸出端 點以及該第一參考電壓,用來依據一第二開關控 制訊號來選擇性地耦接該第一電容於該第一參 考電壓;以及 一開關控制電路,耦接於該單一脈波產生電路、該第 一開關以及該第二開關,用來依據該單一脈波產 生電路之一輸出訊號來產生該第一開關控制訊 號以及該第二開關控制訊號。 12·如申請專利範圍第11項所述之頻率合成器,其中該頻 率產生器包含有: 一第二鋸齒波產生器,耦接於該第二訊號,用來將該 第二訊號轉換成一第二鑛齒波訊號;以及 一第二比較器,耦接於該第二鋸齒波訊號和該第二輸 入電壓,用來比較該第二鋸齒波訊號和該第二輸 33 入電壓以產生該第二訊號。 如申印專利la圍帛12項所述之頻率合成器,其中該第 二鑛齒波產生器包含有· —第二電容’接於該第二㈣波產生H之-輸出端 點以及該第一參考電麗· 一第二電流源,耦接於該第二參考電壓; 一第三開關,耦接於該第二電流源和該第二鋸齒波產 生器之S玄輸出端點,用來依據一第三開關控制訊 號來選擇性地耦接該第二電流源於該第二電容; 一第四開關,耦接於該第二鋸齒波產生器之該輸出端 點以及該第一參考電壓,用來依據一第四開關控 制汛號來選擇性地耦接該第二電容於該第一泉 考電壓;以及 一開關控制電路,耦接於該第二訊號、該第三開關以 及該第四開關,用來依據從該第二比較器之一輪 出知點輸出的該第二訊號來產生該第三開關控 制訊號以及該第四開關控制訊號。 14.如申請專利範圍第13項所述之頻率合成器,其中該第 一輸入電壓係不同於該第二輸入電壓,以及該調整電 路依據該電荷泵電路所輸出的該電壓準位來調整該第 一輪入電壓以及該第二輸入電壓。 34 15. 如申請專利範圍第14項所述之頻率合成器,其中該調 整電路係-分Μ電路,該分㈣路之—端點係輕接於 該第一比較器和該第二比較器中之 分壓電路之一輸出端點耦接於該第 比較器中另一比較器。 一比較器,以及該 一比較器和該第二 16·如中請專職圍第15項職之頻率合成器,其中該分 壓電路包含有複數個電阻;該頻率侦測電路、該頻率 產生器以及該電荷泵電路均整合於—單晶片中以及 該調整電路之該複數個電阻中之至少一個電阻係外接 於該單晶片。 7·如申請專職圍第13項所述之頻率合成器,其中該第 一輸入電壓係相同於該第二輸人電壓,以及該調整電 路依據該電荷果電路所輸出之該電壓準位調整該第一 電流源和該第二電流源。 A如:請專利範圍第13項所述之頻率合成器,其中該第 =電壓係相同於該第二輸入電壓,以及該調整電 ==荷系電路所輸出之該電壓準位調整該第一 罨谷和該第二電容。 器’其中該頻 19.如申請專利範圍第8項所述之頻率合成 35 1331448 率產生器包含有: 一第二鋸齒波產生器’耦接於該第二訊號,用來將該 第二訊號轉換成一第二鋸齒波訊號;以及 一第二比較器’麵接於該第二鋸齒波訊號和該第二輸 入電壓’用來比較該第二鋸齒波訊號和該第二輸 入電壓以產生該第二訊號。 20.如申請專利範圍第19項所述之頻率合成器,其中該第 一鑛齒波產生器包含有: 一第二電容,耦接於該第二鋸齒波產生器之一輸出端 點以及一第一參考電壓; 一第二電流源,耦接於一第二參考電壓; 第二開關,耦接於該第二電流源和該第二鋸齒波產 生器之該輸出端點,用來依據一第三開關控制訊 號來選擇性地耦接該第二電流源於該第二電容; 一第四開關’輕接於該第二鋸齒波產生器之該輸出端 點以及該第一參考電壓,用來依據一第四開關控 制訊號來選擇性地耦接該第二電容於該第一參 考電壓;以及 —開關控制電路,耦接於該第二訊號、該第三開關以 及該第四開關,用來依據從該第二比較器之一輪 出端點輸出的該第二訊號來產生該第三開關控 制訊號以及該第四開關控制訊號。 36 丄叫448 2l.—種頻率比較方法,用來比較一第一訊號和一第二訊 號之頻率,包含有: (a) 依據該第一訊號和一輸入電壓來產生一參考訊號; (b) 依據該輸入電壓來產生該第二訊號; (c) 依據該參考訊號和該第二訊號中之一訊號來致能 (enable)—充電電流以提高一電壓位準,以及依 據s玄參考訊號和該第一訊?虎中之另一訊號來致 能(enable)—放電電流以減低該電壓位準;以及 (d) 依據該電壓準位來決定該第一訊號和該第二訊號 之頻率之間的一頻率關係。 2 ’如申請專利範圍第21項所述之頻率比較方法,其中步 驟(a)包含有: 將該第一訊號轉換成一第一鋸齒波訊號;以及 比較該第一鋸齒波訊號和該輸入電壓以產生該來考 訊號。 如申請專利範圍第22項所述之頻率比較方法,其中將 該第-訊號轉換成該第-鑛齒波訊號之步驟包含有· 於該第-訊號之每-週期產生—單—脈波訊號(〇邱 pulse signal); 提供一第一電容; 提供一第一電流源; 37 1331448 依據一第一開關控制訊號來選擇性地耦接該第一電 流源於該第一電容; 依據一第二開關控制訊號來選擇性地耦接該第一電 容於一第一參考電壓;以及 依據相對於該第一訊號之每一週期之該單一脈波訊 號來產生該第一開關控制訊號以及該第二開關 控制訊號。 24. 如申請專利範圍第21項所述之頻率比較方法,其中步 驟(b)包含有: 將該第二訊號轉換成一第二鑛齒波訊號;以及 比較該第二鑛齒波訊號和該輸入電壓以產生該第二 訊號。 25. 如申請專利範圍第24項所述之頻率比較方法,其中將 該第二訊號轉換成該第二鋸齒波訊號之步驟包含有: 提供一第二電容; 提供一第二電流源; 依據一第三開關控制訊號來選擇性地耦接該第二電 流源於該第二電容; 依據一第四開關控制訊號來選擇性地耦接該第二電 容於該第一參考電壓;以及 依據該第二訊號產生該第三開關控制訊號以及該第 38 1331448 四開關控制訊號 如申請專利範圍第21項所述之頻率比較方法,其中步 驟⑷包含有依據該電壓準位和—第三參考電壓輸出— 指示訊號來表示該第-訊號和該第二訊號之間的 的該頻率關係。 27. 如中請專利範圍第21項所述之解㈣方法,更包含 有: 提供一電阻;以及 依據該電阻之電阻值來設定該輸入電壓。 28. —頻率合成方法’用來依據一第一訊號來產生一第二 戒’包含有: (e)依據該第一訊號和一第一輸入電壓來產生一參考 訊號; (0依據一第二輸入電壓來產生該第二訊號; (g) 依據該參考訊號和該第二訊號中之一訊號來致能 (enable)—充電電流以提高一電壓位準,以及依 據該參考訊號和該第二訊號中之另一訊號來致 月b (enable) —放電電流以減低該電壓位準;以及 (h) 依據該電壓準位來調整該參考訊號和該第二訊號 之頻率。 39 ^31448 29·如申請專利範圍第28項所述之頻率合成方法,更包含 有: 對該電壓準位進行低通濾波。 30·如申請專利範圍第28項所述之頻率合成方法,其中步 驟(e)包含有: 將該第一訊號轉換成一第一鋸齒波訊號;以及 比較該第一鋸齒波訊號和該第一輸入電壓以產生該 參考訊號。 31·如申請專利範圍第30項所述之頻率合成方法,其中將 該第一訊號轉換成該第一鋸齒波訊號之步驟包含有: 於該第一訊號之每一週期產生一單一脈波訊號(〇ne pulse signal); 提供一第一電容; 提供一第一電流源; 依據一第一開關控制訊號來選擇性地耦接該第一電 流源於該第一電容; 依據一第二開關控制訊號來選擇性地耦接該第一電 容於一第一參考電壓;以及 依據相對於該第一訊號之每一週期之該單一脈波訊 號來產生該第一開關控制訊號以及該第二開關 控制訊號。 40 1331448 * 32·如申請專利範圍第31項所述之頻率合成方法,其中步 驟(f)包含有: 將該第·一訊號轉換成一第二鑛齒波訊號;以及 比較該第二錯齒波訊號和該第二輸入電壓以產生該 第二訊號。 33. 如申請專利範圍第32項所述之頻率合成方法,其中將 該第二訊號轉換成該第二鋸齒波訊號之步驟包含有: 提供一第二電容; 提供一第二電流源; 依據一第二開關控制訊號來選擇性地搞接該第二電 流源於該第二電容; 依據一第四開關控制訊號來選擇性地搞接該第二電 容於該第一參考電壓;以及 依據該第二訊號來來產生該第三開關控制訊號以及 該第四開關控制訊號。 34. 如申請專利範圍第%項所述之頻率合成方法,其中該 第一輸入電壓係不同於該第二輸入電壓,以及步驟(h) • 依據該電壓準位來調整該第一輸入電壓以及該第二輸 - 入電壓。 35. 如申請專利範圍第33項所述之頻率合成方法其中該 41 第輸入電壓係相同於該第二輸入電壓,以及步驟⑻ 依據該電壓準位來調整該第-電流源以及該第二電流 源。 如申請專利範圍第33項所述之頻率合成方法,其中該 第一輸入電壓係相同於該第二輸入·,以及步驟⑻ 依據該電壓準位來調整該第一電容以及該第二電容。 37. 如中請專利範圍第28項所述之頻率合成方法,其中步 驟00包含有: 將該第二訊號轉換成-第二鑛齒波訊號;以及 比較該第二鑛齒波訊號和該第二輸入電壓以產生該 第二訊號。 38. 如申請專利範圍帛37項所述之頻率合成方法,其中將 s亥第二訊號轉換成一第二鋸齒波訊號之步驟包含有: 提供一第二電容; 提供一第二電流源; 依據一第三開關控制訊號來選擇性地耦接該第二電 流源於該第二電容; 依據一第四開關控制訊號來選擇性地耦接該第二電 容於一第一參考電壓;以及 依據該第·一说號來來產生该第二開關控制訊麥以及 42 1331448 該第四開關控制訊號。 十一、圖式: 43 1331448 替 30修 ¥·千 & ρ>~ 'Ί , the scope of the patent application: a frequency comparator for comparing the frequency of a first signal and a second signal, comprising: - a frequency detecting circuit for generating the first signal and an input voltage a reference signal; a frequency generator for generating the second signal according to the input voltage; a charge pump circuit coupled to the frequency detecting circuit and the frequency generator for using the reference signal and the first One of the two signals is enabled to enable a charging current to increase a voltage level and to enable a discharge current based on the other of the reference signal and the second signal to reduce The voltage level is coupled to the charge pump circuit for determining a frequency relationship between the first signal and the frequency of the second signal according to the voltage level. The frequency comparator of claim 1, wherein the frequency detecting circuit comprises: a first sawtooth generator coupled to the first signal for converting the first signal into a first signal The first sawtooth wave signal; and the first comparator is coupled to the first sawtooth wave signal and the input voltage for comparing the first sawtooth wave signal and the input voltage to generate the reference signal. The frequency comparator of claim 2, wherein the first mineral wave generator comprises: a single pulse wave generating circuit coupled to the first signal for each of the first signals One cycle generates a single pulse signal; the first voltage valley is lightly connected to one of the output terminals of the first sawtooth generator and a first reference voltage; a first current source is coupled a second reference voltage coupled to the first current source and the output end of the first sawtooth wave generator for selectively coupling the first switch control signal The first current is generated from the first capacitor; the second switch is coupled to the output end of the first sawtooth generator and the first reference voltage for selectively selecting according to a second switch control signal The first capacitor is coupled to the first reference voltage; and the switch control circuit is coupled to the single pulse wave generating circuit, the first switch and the second switch for using one of the single pulse wave generating circuits Signaling to generate the first The switch control information number and the second switch control signal. The frequency comparator of the first aspect of the invention, wherein the frequency 29 generator comprises: a second sawtooth generator coupled to the second signal for converting the second signal into a first And the first saw is coupled to the second sawtooth signal and the input voltage 'for comparing the second sawtooth signal and the input voltage to generate the second signal. The frequency comparator of claim 4, wherein the second sawtooth generator comprises: a second capacitor coupled to an output end of the second sawtooth generator and a first a second current source coupled to a second reference voltage; a third switch 'coupled to the output terminal of the second current source and the second sawtooth generator for a third switch control signal to selectively couple the second current source to the second capacitor; a fourth switch coupled to the output end of the second sawtooth generator and the first reference voltage The second capacitor is selectively coupled to the first reference voltage according to a fourth switch control signal; and a switch control circuit is coupled to the second signal, the third switch, and the fourth switch, And generating the third switch control signal and the fourth switch control signal according to the second signal outputted from the rounding end of the second comparator. (3) 1448 • Please ask for the scope of patents! The frequency comparator of the item, wherein the _ break logic is lightly connected to the voltage level and a third reference for outputting an indication signal to indicate the frequency of the frequency between the first signal and the second signal relationship. The frequency comparator of claim i, further comprising: a resistor; and a reference voltage generating circuit coupled to the resistor for setting the input voltage according to a resistance value of the resistor; The reference ink generating circuit, the frequency measuring circuit, the frequency generator, the charge pump circuit and the determining logic are all integrated in a single wafer, and the resistor is externally connected to the single wafer. The frequency synthesizer is configured to generate a second signal according to a first signal. The method includes: a frequency detecting circuit configured to generate a reference signal according to the first signal and a first input voltage; and a frequency generator The second pump is configured to generate the second signal according to a second input voltage. The charge pump circuit is coupled to the frequency detecting circuit and the frequency generator for using one of the reference signal and the second signal. Enable - a charging current to increase a voltage level, and to enable - discharge current to reduce the voltage level according to the reference signal and 31 of the second signals; And adjusting the circuit, connecting the charge transistor circuit, the frequency detecting circuit and the frequency generator, and adjusting the frequency detecting circuit and the frequency generator according to the voltage level to adjust the reference signal and the The frequency of the second signal. The frequency synthesizer of claim 8 further comprising: a low-pass chopper connected between the charge pump circuit and the adjustment circuit for outputting the voltage level to the adjustment circuit The bits are low pass filtered. The frequency synthesizer of claim 8, wherein the frequency detecting circuit comprises: a first sawtooth generator coupled to the first signal for converting the first signal into a The first sawtooth wave signal; and the first comparator is coupled to the first sawtooth wave signal and the first input voltage for comparing the first sawtooth wave signal and the first input voltage to generate the reference signal. The frequency synthesizer of the first aspect of the invention, wherein the first sawtooth generator comprises: a single pulse wave generating circuit coupled to the first signal for the 32 first signal Each cycle generates a single pulse signal; the first valley is connected to one of the output terminals of the first sonar generator and a first reference voltage; a first current source, coupled Connected to a second reference voltage; a first switch 'coupled to the first current source and the output end of the first sawtooth generator for selectively coupling according to a first switch control signal The first current is generated by the first capacitor; the second switch is coupled to the output end of the first sawtooth generator and the first reference voltage for selecting according to a second switch control signal The first capacitor is coupled to the first reference voltage; and a switch control circuit is coupled to the single pulse wave generating circuit, the first switch and the second switch for using the single pulse wave generating circuit An output signal to generate A first switch control information number and the second switch control signal. The frequency synthesizer of claim 11, wherein the frequency generator comprises: a second sawtooth generator coupled to the second signal for converting the second signal into a first a second spur wave signal; and a second comparator coupled to the second sawtooth wave signal and the second input voltage for comparing the second sawtooth wave signal and the second input 33 input voltage to generate the first Second signal. The frequency synthesizer of claim 12, wherein the second mineral tooth wave generator comprises: a second capacitor 'connected to the second (four) wave to generate an output terminal of H and the first a second current source coupled to the second reference voltage; a third switch coupled to the second current source and the S-shaped output terminal of the second sawtooth generator for The second current source is selectively coupled to the second capacitor according to a third switch control signal; a fourth switch coupled to the output terminal of the second sawtooth generator and the first reference voltage The second capacitor is selectively coupled to the first capacitor according to a fourth switch control nickname; and a switch control circuit is coupled to the second signal, the third switch, and the first The fourth switch is configured to generate the third switch control signal and the fourth switch control signal according to the second signal outputted from one of the second comparators. 14. The frequency synthesizer of claim 13, wherein the first input voltage is different from the second input voltage, and the adjusting circuit adjusts the voltage level according to the voltage level output by the charge pump circuit. The first round-in voltage and the second input voltage. The frequency synthesizer of claim 14, wherein the adjustment circuit is a branching circuit, and the end of the sub-fourth circuit is lightly connected to the first comparator and the second comparator One of the output terminals of the voltage dividing circuit is coupled to another comparator in the first comparator. a comparator, and the comparator and the second 16th, for example, the frequency synthesizer of the 15th job of the full-time division, wherein the voltage dividing circuit comprises a plurality of resistors; the frequency detecting circuit, the frequency generating And the charge pump circuit are integrated in the single wafer and at least one of the plurality of resistors of the adjustment circuit is externally connected to the single wafer. 7. The frequency synthesizer of claim 13, wherein the first input voltage is the same as the second input voltage, and the adjusting circuit adjusts the voltage level according to the voltage level output by the electric circuit a first current source and the second current source. A frequency synthesizer according to claim 13, wherein the first voltage is the same as the second input voltage, and the adjusting power == the voltage level output by the load circuit adjusts the first Shibuya and the second capacitor. The frequency synthesis 19. The frequency synthesis 35 1331448 rate generator as described in claim 8 includes: a second sawtooth generator 'coupled to the second signal for the second signal Converting into a second sawtooth wave signal; and a second comparator 'surfaced to the second sawtooth wave signal and the second input voltage' for comparing the second sawtooth wave signal and the second input voltage to generate the first Second signal. The frequency synthesizer of claim 19, wherein the first mineral tooth wave generator comprises: a second capacitor coupled to an output end of the second sawtooth generator and a a first reference voltage; a second current source coupled to a second reference voltage; a second switch coupled to the output terminal of the second current source and the second sawtooth generator for a third switch control signal to selectively couple the second current source to the second capacitor; a fourth switch 'lightly connected to the output end of the second sawtooth generator and the first reference voltage The second capacitor is selectively coupled to the first reference voltage according to a fourth switch control signal; and the switch control circuit is coupled to the second signal, the third switch, and the fourth switch. The third switch control signal and the fourth switch control signal are generated according to the second signal outputted from one of the second comparators. 36 丄 448 2l. A frequency comparison method for comparing the frequency of a first signal and a second signal, comprising: (a) generating a reference signal according to the first signal and an input voltage; (b Generating the second signal according to the input voltage; (c) enabling (enable) charging current according to one of the reference signal and the second signal to increase a voltage level, and according to the s-reference signal And the first signal of the first one of the tigers is enabled to enable the discharge current to reduce the voltage level; and (d) determining the frequency of the first signal and the second signal according to the voltage level A frequency relationship between them. 2 'A frequency comparison method as described in claim 21, wherein the step (a) comprises: converting the first signal into a first sawtooth wave signal; and comparing the first sawtooth wave signal with the input voltage Generate the test number. The frequency comparison method of claim 22, wherein the step of converting the first signal into the first-tooth wave signal comprises: generating a single-pulse signal in each cycle of the first signal Providing a first capacitor; providing a first current source; 37 1331448 selectively coupling the first current source to the first capacitor according to a first switch control signal; The switch control signal selectively couples the first capacitor to a first reference voltage; and generates the first switch control signal and the second according to the single pulse signal relative to each period of the first signal Switch control signal. 24. The frequency comparison method of claim 21, wherein the step (b) comprises: converting the second signal into a second mineral tooth wave signal; and comparing the second mineral tooth wave signal with the input Voltage to generate the second signal. 25. The frequency comparison method of claim 24, wherein the converting the second signal into the second sawtooth signal comprises: providing a second capacitor; providing a second current source; a third switch control signal for selectively coupling the second current source to the second capacitor; selectively coupling the second capacitor to the first reference voltage according to a fourth switch control signal; The second signal generates the third switch control signal and the 38 1331448 four-switch control signal, as described in claim 21, wherein the step (4) includes the voltage level and the third reference voltage output. The indication signal indicates the frequency relationship between the first signal and the second signal. 27. The method of claim (4) of claim 21, further comprising: providing a resistor; and setting the input voltage according to a resistance value of the resistor. 28. The frequency synthesis method is configured to generate a second ring according to a first signal, comprising: (e) generating a reference signal according to the first signal and a first input voltage; (0 according to a second Inputting a voltage to generate the second signal; (g) enabling a charging current according to one of the reference signal and the second signal to increase a voltage level, and according to the reference signal and the second Another signal in the signal is caused by a monthly b (enable) - discharge current to reduce the voltage level; and (h) adjusting the frequency of the reference signal and the second signal according to the voltage level. 39 ^31448 29· The frequency synthesizing method as described in claim 28, further comprising: low-pass filtering the voltage level. 30. The frequency synthesizing method according to claim 28, wherein the step (e) includes And converting the first signal into a first sawtooth wave signal; and comparing the first sawtooth wave signal and the first input voltage to generate the reference signal. 31. The frequency synthesis method as claimed in claim 30 The step of converting the first signal into the first sawtooth wave signal includes: generating a single pulse signal in each cycle of the first signal; providing a first capacitor; providing a first capacitor a first current source; selectively coupling the first current source to the first capacitor according to a first switch control signal; selectively coupling the first capacitor to a first according to a second switch control signal a reference voltage; and generating the first switch control signal and the second switch control signal according to the single pulse signal with respect to each period of the first signal. 40 1331448 * 32 · as claimed in claim 31 The frequency synthesizing method, wherein the step (f) comprises: converting the first signal into a second mineral tooth signal; and comparing the second wrong tooth signal and the second input voltage to generate the second signal 33. The frequency synthesizing method of claim 32, wherein the converting the second signal into the second sawtooth signal comprises: providing a second capacitor; Providing a second current source; selectively connecting the second current source to the second capacitor according to a second switch control signal; selectively connecting the second capacitor according to a fourth switch control signal a first reference voltage; and generating the third switch control signal and the fourth switch control signal according to the second signal. The frequency synthesis method according to claim 100, wherein the first input voltage system Different from the second input voltage, and step (h): adjusting the first input voltage and the second input-in voltage according to the voltage level. 35. The frequency synthesis method as described in claim 33 Wherein the 41st input voltage is the same as the second input voltage, and the step (8) adjusts the first current source and the second current source according to the voltage level. The frequency synthesizing method of claim 33, wherein the first input voltage is the same as the second input, and the step (8) adjusts the first capacitor and the second capacitor according to the voltage level. 37. The frequency synthesis method of claim 28, wherein the step 00 includes: converting the second signal into a second mineral tooth wave signal; and comparing the second mineral tooth wave signal with the first Two input voltages are generated to generate the second signal. 38. The frequency synthesis method of claim 37, wherein the step of converting the second signal into a second sawtooth signal comprises: providing a second capacitor; providing a second current source; The third switch control signal is selectively coupled to the second current source to the second capacitor; the second capacitor is selectively coupled to the first reference voltage according to a fourth switch control signal; · A second indicator to generate the second switch control microphone and 42 1331448 the fourth switch control signal. XI. Schema: 43 1331448 for 30 repairs ¥·千 &ρ> 一 S 1331448One S 1331448 ms— 一 年月日修正替換頁Ms—one year, month, day, correction, replacement page Η 被Η being >一 •3S> one • 3S qlloCN] ;r 个 Idco US L sc\]叫110¾ _ -丨了 驾^丨η4· L」qlloCN] ;r Idco US L sc\] is called 1103⁄4 _ -丨了驾^丨η4· L" 自 i 1331448From i 1331448 函COI竦 1331448 ——; 年月曰修正替沒買i ,1Letter COI竦 1331448 ——; Year of the month 曰 correction did not buy i, 1
TW96102559A 2006-09-20 2007-01-23 Frequency comparator, frequency synthesizer, and related methods thereof TWI331448B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US82622006P 2006-09-20 2006-09-20

Publications (2)

Publication Number Publication Date
TW200816634A TW200816634A (en) 2008-04-01
TWI331448B true TWI331448B (en) 2010-10-01

Family

ID=39250690

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96102559A TWI331448B (en) 2006-09-20 2007-01-23 Frequency comparator, frequency synthesizer, and related methods thereof

Country Status (3)

Country Link
JP (1) JP2008079274A (en)
CN (1) CN101150319B (en)
TW (1) TWI331448B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI751878B (en) * 2021-01-06 2022-01-01 瑞鼎科技股份有限公司 Charge pump circuit

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035507B (en) * 2009-09-30 2013-01-02 联咏科技股份有限公司 frequency generator
TWI411208B (en) * 2009-12-14 2013-10-01 Realtek Semiconductor Corp Charge pump and method thereof
TWI437820B (en) * 2010-12-31 2014-05-11 鈺創科技股份有限公司 Voltage hold circuit
CN102955492B (en) * 2011-08-18 2014-12-10 祥硕科技股份有限公司 Reference current generating circuit
US8570080B2 (en) * 2011-09-08 2013-10-29 Via Technologies, Inc. Frequency-control circuits and signal generation devices using the same
CN103106882A (en) * 2013-01-23 2013-05-15 深圳市华星光电技术有限公司 Clock control circuit, driving circuit and liquid crystal display device
CN103974487B (en) * 2013-01-24 2016-05-25 普诚科技股份有限公司 LED driver
CN103346783B (en) * 2013-07-25 2016-09-14 中科院微电子研究所昆山分所 A kind of quickly frequency discrimination method and quickly descriminator
CN105391311A (en) * 2015-07-10 2016-03-09 嘉兴百盛光电有限公司 Circuit for achieving periodic frequency swiping on SG2525 power specialized chip
TWI736009B (en) * 2019-11-07 2021-08-11 連恩微電子有限公司 Frequency detection circuit and method
CN111600576B (en) * 2020-04-27 2023-06-09 杭州电子科技大学 A synchronous trigger pulse generating circuit
CN114661498B (en) * 2020-12-22 2025-09-16 扬智科技股份有限公司 electronic devices
CN114564068B (en) * 2022-03-02 2023-07-14 重庆吉芯科技有限公司 Adaptive current generation circuit and method applied to high-speed ADC input buffer
CN115765459B (en) * 2023-01-05 2023-04-14 艾科微电子(深圳)有限公司 Control circuit and method for DC/DC converter, DC/DC converter circuit and electronic equipment
CN117353729B (en) * 2023-10-24 2024-04-05 苏州优达光电子有限公司 A resistor-capacitor isolation coupler
CN120639085B (en) * 2025-08-12 2025-11-18 广东匠芯创科技有限公司 Level shift circuit, control method thereof and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5226980B2 (en) * 1973-07-26 1977-07-18
JPS58198906A (en) * 1982-05-15 1983-11-19 Sony Corp Frequency comparator
US4797908A (en) * 1984-09-14 1989-01-10 Kabushiki Kaisha Toshiba Voltage-resonance type power supply circuit for X-ray tube

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI751878B (en) * 2021-01-06 2022-01-01 瑞鼎科技股份有限公司 Charge pump circuit

Also Published As

Publication number Publication date
TW200816634A (en) 2008-04-01
CN101150319B (en) 2010-09-29
JP2008079274A (en) 2008-04-03
CN101150319A (en) 2008-03-26

Similar Documents

Publication Publication Date Title
TWI331448B (en) Frequency comparator, frequency synthesizer, and related methods thereof
TWI279988B (en) Spread spectrum clock generation circuit, jitter generation circuit and semiconductor device
US6960925B2 (en) Input buffer with automatic switching point adjustment circuitry, and synchronous DRAM device including same
TWI477946B (en) Calibration device and related method for phase difference between data and clock
US20090058483A1 (en) Duty cycle correcting circuit and method
JP5009919B2 (en) A / D converter
US20100207694A1 (en) Pll circuit and oscillator device
EP2415171A1 (en) Techniques for non-overlapping clock generation
JP2009213228A (en) Dc converter
JP4265894B2 (en) DC / DC converter control circuit and DC / DC converter
JP2004228713A (en) Voltage conversion circuit, semiconductor integrated circuit device including the same, and mobile terminal
JP3761858B2 (en) Clock signal generation circuit
CN115133764B (en) Low EMI high frequency Buck controller circuit
JP3768895B2 (en) Pulse signal transition delay adjustment circuit and integrated circuit
JP5724663B2 (en) Delay circuit and system
US20030155985A1 (en) Stable oscillator
US20080122491A1 (en) Frequency comparator, frequency synthesizer, and related methods thereof
US7834794B2 (en) A/D converter
US10581416B2 (en) External and dual ramp clock synchronization
TW201214969A (en) Frequency generator with frequency jitter
JP2008136031A (en) Semiconductor integrated circuit device
Athanasopoulos et al. Circuit design and simulation of a transmit beamforming ASIC for high-frequency ultrasonic imaging systems
KR100679862B1 (en) Frequency multiplier using delay locked loop
US20070069762A1 (en) Input buffer with automatic switching point adjustment circuitry, and synchronous DRAM device including same
JP2010157923A (en) Clock generating circuit

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees