TWI343716B - Digital-to-analog converter and method thereof - Google Patents

Digital-to-analog converter and method thereof Download PDF

Info

Publication number
TWI343716B
TWI343716B TW96129641A TW96129641A TWI343716B TW I343716 B TWI343716 B TW I343716B TW 96129641 A TW96129641 A TW 96129641A TW 96129641 A TW96129641 A TW 96129641A TW I343716 B TWI343716 B TW I343716B
Authority
TW
Taiwan
Prior art keywords
digital
code
digit
value
digit code
Prior art date
Application number
TW96129641A
Other languages
Chinese (zh)
Other versions
TW200826510A (en
Inventor
Chia Liang Lin
Original Assignee
Realtek Semiconductor 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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Publication of TW200826510A publication Critical patent/TW200826510A/en
Application granted granted Critical
Publication of TWI343716B publication Critical patent/TWI343716B/en

Links

Description

1343716 七、指定代表圖: (一) 、本案指定代表圖為:第(2)圖。 (二) 、本案代表圖之元件符號簡單說明: 200 :數位對類比轉換器; 210 :數位碼產生器; 220、230:解碼器;以及 240、250:切換電路陣列。 八、本案若有化學式時,請揭示最能顯示發明特徵的化學式: 無0 九、發明說明: 【發明所屬之技術領域】 本發明係關於一種數位對類比轉換器,特別是有關 於一種能改善數位對類比轉換器内之單調性 (monotonicity)之方法及裝置。 【先前技術】 數位對類比轉換器(digital-to-analog converter, DAC)對於許多應用電路而言是一種重要的裝置。數位 對類比轉換器為一種類比電路,其具有的多種輸出特性 係藉由一數位控制字元(digital control word)所控制。 本技術領域大體上係有關於一數位對類比轉換器,且可 1343716 應用在一泛用型的數位對類比轉換器,例如:使用在一 數位控制振盪器(digitally contro丨led〇sciUat〇r DC 上之應用。 ’ 數位控制振盪器為一種用以產生一周期性信號之裝 ' 置,其中此周期性信號具有由該數位控制字元所控制之 頻率。數位控制振盪器通常包含一可調整電路元件 (adjustable circuit element),其數值用以決定此數位控 φ 制振盪器之振盪頻率。此數位控制字元係用來設定該可 調整電路元件之數值以決定振盪頻率。舉例來說,一具 有近似於4=1/你#)之振盪頻率之LC振盪器可用來^ 現一數位控制振盪器,其具有一固定的電感1及一可變 ;=電容器C。此可變的電容器c之電容值由該數位控制 子元來控制。因為數位控制振盪器接收該數位控制字元 及輸出對應該數位控制字元之一類比信號,所以數位控 制振盪器亦為一數位對類比轉換器之一實施例。 Φ 第1A圖為一習知數位控制之可變電容器1〇〇之示意 圖。此可變電容器100包含一解碼器(decoder) 11〇 了 一固定電容器(fixed capacitor ) CF、複數個切換電容器 (如 C0,Cl, C2)及複數個開關(swjtch)(如 s〇, S1, S2 )。此解碼器11 〇接收一數位控制字元w且產生複數 - 個二進制資料(binary data)(如 D[0], D[1],D[2])以分 別地控制該些開關。此可變電容器1〇〇之總有效電容值 (effective capacitance)為 Ce// ·Ι)/^ +C7 · D/77+C2 。因此,此一可變電容器! 〇〇之一 Lc 振盪器之振盪頻率係藉由數位控制字元W來決定。 1343716 此數位控制振盪器之三種重要性質為範圍 ' - (range )、解析度(resolution )及單調性(monotonicity )。 此可調整電路元件之數值之範圍及精確度(granularity ) 分別地決定出此數位控制振盪器之範圍及解析度。舉例 ’ 來說,先前所提及的LC振盪器之解析度係由在此些切 , 換電容器中(如CO, Cl,C2)之最小電容值來決定,同 時,範圍係由最大總有效電容值(如Ce// ( max ) …)及最小總有效電容值(如Q/y{min) φ )來決定。如果此可調整電路元件之數值一同變化 時(當該數位控制字元增加或減少時,而使各電容值隨 之增加或減少),則此數位控制振盪器之單調性將會顯現 出來。舉例來說’如果一較大的控制字元產生一較大的 '總有效電容值時,則先前所提及的LC振盪器之單調性 - 亦會被顯現出來》 一數位控制振盪器通常被加入至一數位式鎖相迴路 (digital phase lock loop,DPLL )以產生一目標頻率之一 • 輸出時脈。用於數位控制振盪器之一數位控制字元係採 用一閉迴路方式,以控制數位控制振盪器之振盪頻率。 此數位控制字元具有一有限的解析度(Umited resolution),且此數位控制振盪器之瞬時的振盪頻率也 具有一有限的解析度。事實上,此數位控制振盪器之瞬 時振盪頻率不可能與此目標頻率一樣地精確。一習知的 數位式鎖相迴路通常需要一嚴格單調(strictly monotonic)數位控制振盪器以確保能穩定操作。舉例來 說,一較大數位控制字元對應一較大輸出頻率時’則此 數位式鎖相迴路將試圖減少此數位控制字元以降低高於 ^43716 之—輸出頻率’或試圖增加此數位控制字元以 迴路之—㈣内頻率。在—穩定數位式鎖相 #Λ甘^内,此數位控制字元通常在兩數值之間變 ψ 2 ,兩數值之其一符合稍微高於目標頻率之一輸 f頻率而兩數值之另—則符合稍微低於目標頻率之-輸 出頻率,使得一平均輸出頻率接近於該目標頻率。 ^此數位控制字元的變動導致輸出時脈内產生多個不 • 需要的抖動(jiUer)。這些抖動可藉由增加數位控制振盪 器之解析度而減少,使得瞬時振盪頻率可更接近於目標 , 頻率。然而,由於雜訊的發生,一數位式鎖相迴路易^ 到干擾,該數位式鎖相迴路的穩態值會因為前述的干擾 而紐暫地漂離。幸運的是,如果此數位控制振盪器為單 調狀態,則此干擾之效應僅會暫時地(temp〇rary )發生。 舉例來說,如果此數位控制字元因干擾的存在而漂移偏 高(或偏低),此數位式鎖相迴路將偵測到該輸出頻率過 高(或過低)而將減低(或增加)該數位控制字元之平 φ 均值以糾正此錯誤。然而’若此數位控制振盈器不為嚴 格單調狀態時,此數位式鎖相迴路可能在一錯誤方向上 調整數位控制字元,而造成該些抖動的增加或迴路的不 穩定性。 有一種方法係使用一溫度計碼解碼架構 (thermometer-code decoding scheme )以確保一數位押 制振盪器能處於嚴格單調狀態。第1B圖,係繪示將二 數位控制字元W映射(map)為8個二進制資料(如 D1,…D7)之一溫度計碼解碼之一範例。請參閱先前所’ 1343716 提及的LC振盪器之實施例,在此數位控制字元w 每一增加的改變量將導致一額外的控制位元被啟你 =此總有效電容值。藉此,可保證數位控制振蘯器 單調性。一般而言,在沒有使用溫度計碼解碼架構了 要保證單調性是十分困難的。然而,此溫度計碼解 構通常需要非常多個切換電容器。因此,如何減少數^ 控制振盪器所使用之切換元件的個數,且實朽上 (virtual )依然能確保單調性是一急待解決的問題' 【發明内容】 為解決上述之問題,本發明係提出一種數位對類比 : 轉換器(或稱為數位控制類比電路),其包含一數位碼產 生器,係接收一數位輸入字元(或數位控制字元)及依 據此數位輸入字元之方式而至少產生第一數位碼及第二 數位碼,其令該方式由此數位碼產生器之一狀態而決 定。在一實施例中,當偵測到第二數位碼存有一環繞 • ( Wrap_ar〇Und)情況時,此數位碼產生器發生一狀態轉 換。在一實施例中,在不依賴一嚴格溫度計碼解碼^構 (strictly thermometer-code decoding scheme)之下,於 穩態運作期間,此數位碼產生器改變此些狀態以增進數 位對類比轉換器之單調性(m〇n〇t〇nicky )。 在本發明之一應用實施例中,此數位輸入字元係映 射而使知此第-數位碼表示此數位冑入字元之最高有效 位兀(mos^significant bh,MSB)及第二數位碼表示此 數位輸入子元之最低有效位元(ΙμΜ ⑽, 1343716 LSB)。一種偵測該環繞情況之方法係為決定此第二數位 碼何時以數值方式增加來對應此數位輸入字元之一數值 的減少或以數值方式減少來對應此數位輸入字元之一數 值的增加。在一實施例中,此第一數位碼具有一第一範 ,數值,而此第二數位碼具有一第二範圍數值,且第二 範圍數值與第一範圍數值部分重疊。舉例來說,此第二 數位碼具有一最大數值,其大於(如,至少兩倍)由此 第一數位碼之一最低有效位元所表示之一數值。 ▲在本發明之一實施例中,此有限狀態機具有一第一 狀態及一第二狀態。此第二數位碼在第一狀態内係藉 由以,數位輸入字元作為一被除數(dividend)來執行二 模運算(m〇dul〇operati〇n)而產生,而此第二數位碼在 第二狀態内,係經由以此數位輸入字元及一偏移量 (offset)之一總和作為一被除數來執行一模運算而產 生。一公約數(common divisor )係使用在該第一狀態之 模運算及該第二狀態之模運算。在一實施例中,此^移 量具有一數值,其小於(如,幾乎是—半的)此公約數 之一數值。 在本發明之一實施例甲,此數位對類比轉換器更包 含一第一解碼器及一第二解碼器(如二進制碼解碼器或 隱度计碼解碼器)。此第一解碼器將第—數位碼映射為第 一群之二進制資料,及一第一切換電路陣列可產生一第 一類比信號以對應該第一群之二進制資料。此第二解碼 器將第二數位碼映射為第二群之二進制資料及一第二 切換電路陣列可產生一第二類比信號以對應該第二群之 1343716 二進制資料。此第-類比輸出信號及第二 之-組合產生與此數位輸入字元符合比Π 二1例來說,每一群之二進制資料控制在各自 源)内的一群切換電路以產生—類電流 比輸出以被&供至-共通電路結點以符合該數位對類 比轉換益,-輸出信號。在一應用實施例中,此數 類比轉換ϋ被使用在-數位控制振,且此輸出值為 -可變電容值以根據數位輸人字元而決定—振錢率: 再者,本發明提出一種將一數位輸入字元轉換為一 類比信號(或數位控制一類比電路)之方法,其二: 根據此數位輸入字元及一法則(scheme)以產生一^一 數位碼及-第二數位碼,其中該法則係由—可變狀離之 一數值而被決定。舉例來說,此方法在一第一演算^及 -第二演算法間進行切換(tGggle)(或交換(_如)) =以f生此第二數位碼,其中該切換的時機係為:無論 -數值)至-相對高值(如,接近一最高=之^^ 或從一相對高值(如,接近一最大值之一數值)至在一 短時間期間内一相對低值(如,U時脈周期或一少量的 時脈周期)產生一快速(abrupt)或瞬間(別如如)改變。 〜在了實施例中,此第一數位碼用於表示此數位輸入 字兀之最高有效位元而第二數位碼表示此數位輸入字元 之最低有效位元。一種在此第二數位碼内偵測出這些快 速改變(如,一邊界情況(boundary condition)或一環 1343716 繞情況)之方法,係包含丨決定此第二數位碼何時以數值 ' 的增加來對應此數位輸入字元之一減少的數值或以數值 的減少來對應此數位輸入字元之一增加的數值。此第一 數位碼及第二數位碼的數值範圍可部分重疊。在一實施 例中,此第一數位碼之最低有效位元具有一數彼該數 , 值幾乎為此第二數位碼之一最大值之一半。 在一實施例中,此第一演算法包含以此輸入字元作 • 為二被除數之一第一模運算而此第二演算法包含以此輸 ^子元及一偏移量之一總和作為一被除數之一第二模運 算。一公約數(common divisor)被使用在該第一模運算 及該第二模運算,該公約數具有一數值,係大於(如, 幾乎為兩倍的)該偏移量之一數值。此第一數位碼藉由 - 除以一差異值(difference)而被產生,其中此差異值為 數位輸入字元與此第二數位碼之間的偏移量。 此第一數位碼被轉換為一第一類比輸出信號且此第 % 二數位碼被轉換為一第二類比輸出信號,其中此第一類 比輸出信號及此第二類比輸出信號之一組合係導致一類 比k號符合該數位輸入字元。在一實施例中,此第一數 位碼及此第二數位碼分別被解碼為各自的第一及第二群 之二進制資料。在一應用實施例中,此第一數位碼藉由 使用一二進制碼解碼器而映射為該第一群之二進制資 料,同時,此第二數位碼藉由使用一溫度計碼解碼器而 映射為該第二群之二進制資料。此第一群之二進制資料 係控制在第一切換電路陣列内的一第一群之開關而此第 一群之二進制資料則係控制在第二切換電路陣列内的一1343716 VII. Designated representative map: (1) The representative representative of the case is: (2). (2) The symbol of the symbol of the representative figure in this case is briefly described: 200: digital to analog converter; 210: digital code generator; 220, 230: decoder; and 240, 250: switching circuit array. 8. If there is a chemical formula in this case, please disclose the chemical formula that best shows the characteristics of the invention: None 0. Description of the invention: [Technical field of invention] The present invention relates to a digital-to-analog converter, and in particular to an improvement A method and apparatus for digital to monotonicity in an analog converter. [Prior Art] A digital-to-analog converter (DAC) is an important device for many application circuits. Digital to analog converter is an analog circuit with multiple output characteristics controlled by a digital control word. The art is generally related to a digital-to-analog converter, and 1343316 can be applied to a general-purpose digital-to-analog converter, for example, using a digitally controlled oscillator (digitally contro丨led〇sciUat〇r DC) The application of 'Digital Control Oscillator is a device for generating a periodic signal, wherein the periodic signal has a frequency controlled by the digital control character. The digitally controlled oscillator usually includes an adjustable circuit. An adjustable circuit element whose value is used to determine the oscillation frequency of the digitally controlled φ oscillator. This digital control character is used to set the value of the adjustable circuit component to determine the oscillation frequency. For example, one has An LC oscillator approximating the oscillation frequency of 4 = 1 / you #) can be used to control a digitally controlled oscillator having a fixed inductance 1 and a variable; = capacitor C. The capacitance value of this variable capacitor c is controlled by the digital control sub-element. Since the digitally controlled oscillator receives the digital control word and outputs an analog signal corresponding to one of the digital control characters, the digitally controlled oscillator is also an embodiment of a digital to analog converter. Φ Figure 1A is a schematic diagram of a conventional digitally controlled variable capacitor 1〇〇. The variable capacitor 100 includes a decoder 11 with a fixed capacitor CF, a plurality of switching capacitors (such as C0, Cl, C2), and a plurality of switches (swjtch) (eg, s〇, S1, S2). The decoder 11 receives a digital control character w and generates a plurality of binary data (e.g., D[0], D[1], D[2]) to control the switches separately. The effective capacitance of this variable capacitor 1 Ce is Ce / / · Ι) / ^ + C7 · D / 77 + C2 . Therefore, this variable capacitor! The oscillation frequency of one of the Lc oscillators is determined by the digital control character W. 1343716 The three important properties of this digitally controlled oscillator are the range ' - (range ), resolution, and monotonicity. The range and accuracy of the values of the adjustable circuit components determine the range and resolution of the digitally controlled oscillator, respectively. For example, the resolution of the previously mentioned LC oscillator is determined by the minimum capacitance of the cut capacitors (such as CO, Cl, C2), and the range is determined by the maximum total effective capacitance. The value (such as Ce / / ( max ) ...) and the minimum total effective capacitance value (such as Q / y {min) φ ) is determined. If the value of the tunable circuit component changes together (as the digital control character increases or decreases, so that each capacitance value increases or decreases), the monotonicity of the digitally controlled oscillator will be revealed. For example, 'If a larger control character produces a larger 'total effective capacitance value, then the monotonicity of the previously mentioned LC oscillator will also be revealed." A digitally controlled oscillator is usually Add to a digital phase lock loop (DPLL) to generate one of the target frequencies • Output the clock. One of the digital control characters used in the digitally controlled oscillator is a closed loop to control the oscillation frequency of the digitally controlled oscillator. This digital control character has a finite resolution, and the instantaneous oscillation frequency of this digitally controlled oscillator also has a limited resolution. In fact, the instantaneous oscillation frequency of this digitally controlled oscillator cannot be as accurate as this target frequency. A conventional digital phase-locked loop typically requires a strictly monotonic digitally controlled oscillator to ensure stable operation. For example, when a larger digit control character corresponds to a larger output frequency, then the digital phase-locked loop will attempt to reduce the digit control character to lower the output frequency above ^43716 or attempt to increase this digit. The control character is in the loop - (iv) the internal frequency. In the stable digital phase lock phase, the digital control character usually changes between two values ψ 2 , one of the two values meets the frequency of one of the target frequencies slightly higher than the frequency of the f and the other two values - Then, the output frequency is slightly lower than the target frequency, so that an average output frequency is close to the target frequency. ^ This change in the digital control character causes multiple undesired jitters (jiUer) in the output clock. These jitters can be reduced by increasing the resolution of the digitally controlled oscillator so that the instantaneous oscillation frequency can be closer to the target and frequency. However, due to the occurrence of noise, a digital phase-locked loop is prone to interference, and the steady-state value of the digital phase-locked loop will temporarily drift away due to the aforementioned interference. Fortunately, if this digitally controlled oscillator is monotonic, the effect of this interference will only occur temporarily (temp〇rary). For example, if the digital control character drifts too high (or too low) due to the presence of interference, the digital phase-locked loop will detect that the output frequency is too high (or too low) and will decrease (or increase) ) The digital control word's flat φ mean to correct this error. However, if the digitally controlled oscillator is not strictly monotonic, the digital phase-locked loop may adjust the digital control characters in the wrong direction, causing such jitter or loop instability. One method uses a thermometer-code decoding scheme to ensure that a digitally held oscillator is in a strictly monotonic state. Fig. 1B is a diagram showing an example of decoding a two-digit control character W into one of eight binary data (e.g., D1, ... D7). Referring to the embodiment of the LC oscillator mentioned in the previous '14331716, each incremental change in the digital control character w will cause an additional control bit to be turned on = this total effective capacitance value. This ensures that the digital control oscillator is monotonic. In general, it is very difficult to ensure monotonicity without using a thermometer code decoding architecture. However, this thermometer code destructuring typically requires a very large number of switching capacitors. Therefore, how to reduce the number of switching elements used in the control oscillator, and the fact that the virtuality can still ensure monotonicity is an urgent problem to be solved. [Invention] In order to solve the above problems, the present invention A digital pair analogy is proposed: a converter (or digital control analog circuit) that includes a digital code generator that receives a digital input character (or digital control character) and enters a character based on the digital input character At least the first digit code and the second digit code are generated, which is determined by the state of one of the digit code generators. In one embodiment, when the second digit code is detected to have a wraparound (Wrap_ar〇Und) condition, the digital code generator undergoes a state transition. In one embodiment, the digital code generator changes the states during steady state operation to enhance the digital to analog converter, without relying on a strict thermometer-code decoding scheme. Monotonic (m〇n〇t〇nicky). In an application embodiment of the present invention, the digital input character is mapped such that the first-digit code represents the most significant bit mos (mos^significant bh, MSB) and the second digit code of the digit-input character. Represents the least significant bit of this digit input sub-unit (ΙμΜ (10), 1343716 LSB). A method for detecting the surround condition is to determine when the second digit code is numerically increased to correspond to a decrease in the value of one of the digit input characters or to decrease numerically to correspond to an increase in the value of one of the digit input characters. . In one embodiment, the first digit code has a first norm value, and the second digit code has a second range value, and the second range value partially overlaps the first range value. For example, the second digit code has a maximum value that is greater than (e.g., at least twice) a value represented by one of the least significant bits of the first digit code. ▲ In one embodiment of the invention, the finite state machine has a first state and a second state. The second digit code is generated in the first state by performing a two-module operation (m〇dul〇operati〇n) by using the digit input character as a dividend (dividend), and the second digit code is generated. In the second state, a one-module operation is performed by using one of the digital input characters and an offset (offset) as a dividend. A common divisor uses a modulo operation in the first state and a modulo operation in the second state. In one embodiment, the shift has a value that is less than (e.g., almost - half) one of the common divisors. In an embodiment of the invention, the digital to analog converter further includes a first decoder and a second decoder (e.g., a binary code decoder or a hidden code decoder). The first decoder maps the first-digit code to the binary data of the first group, and a first switching circuit array generates a first analog signal to correspond to the binary data of the first group. The second decoder maps the second digit code to the binary data of the second group and a second array of switching circuits to generate a second analog signal to correspond to the 1343716 binary data of the second group. The first analog output signal and the second combination are compared with the digital input character. In the first example, the binary data of each group controls a group of switching circuits in respective sources to generate a current-to-current ratio output. To be used by the & to the common circuit node to match the digital pair analogy conversion, - output signal. In an application embodiment, the analog to digital conversion is used in the digital control, and the output value is a variable capacitance value to be determined according to the digital input character - the vibration rate: Furthermore, the present invention proposes A method of converting a digital input character into an analog signal (or a digital control analog circuit), and second: inputting a character and a rule according to the digit to generate a digital code and a second digit A code, wherein the law is determined by a variable value from one of the values. For example, the method switches between a first algorithm and a second algorithm (tGggle) (or exchanges (_)) = the second digit code is generated by f, wherein the timing of the switching is: Whether -valued to - relatively high value (eg, close to a highest = ^^ or from a relatively high value (eg, a value close to a maximum) to a relatively low value over a short period of time (eg, A U-clock cycle or a small number of clock cycles produces an abrupt or an instantaneous (as well) change. ~ In an embodiment, the first digit code is used to indicate that the digit input word is most valid. The second digit code represents the least significant bit of the digit input character. A type of fast change is detected in the second digit code (eg, a boundary condition or a ring 1343716) The method includes determining, by the time value, the value of the second digit code corresponding to the decrease of one of the digit input characters or the decrease of the value corresponding to the increment of one of the digit input characters. Digital code and second digit code The range of values may be partially overlapping. In an embodiment, the least significant bit of the first digit code has a number of ones, the value being almost one-half of the maximum of one of the second digit codes. In an embodiment, The first algorithm includes the first modulo operation as one of the two divisors by the input character, and the second algorithm includes the sum of one of the input sub-elements and an offset as a dividend a second modulo operation. A common divisor is used in the first modulo operation and the second modulo operation, the common divisor having a value greater than (e.g., almost twice) the offset One of the values. This first digit code is generated by dividing by - a difference, where the difference is the offset between the digit input character and the second digit code. The digital code is converted into a first analog output signal and the second binary code is converted into a second analog output signal, wherein the combination of the first analog output signal and the second analog output signal results in an analogy k Number corresponds to the digit input character. In an implementation The first digital code and the second digital code are respectively decoded into binary data of the respective first and second groups. In an application embodiment, the first digital code is obtained by using a binary code decoder. Mapping to the binary data of the first group, and the second digit code is mapped to the binary data of the second group by using a thermometer code decoder. The binary data of the first group is controlled by the first switching circuit. a first group of switches in the array and the binary data of the first group is controlled in the second switching circuit array

J 12 1343716 =二群之開關。再藉由將此第-切換電路陣列之 =此第二切換電路陣列之—輸出端轉接以產生此類 處。 以:詳細地討論目前較佳的實施例。然而應被理解 的疋’本發明提供許多可適用的發明觀念,而這些 ,體現於很寬廣多樣的料具體背景中。所討論“ 疋具體的實施例僅是說明使用本發明的特定方 曰 不會限制本發明的範圍。 【實施方式】 本發明關於—種用於將—數位輸人字讀換為一類 tb輸出信號之方法及裝置。以下列舉數個實施例來詳細 地討論。然而應被理解的是,本發明提供許多可適用的 發明觀念,而這些觀念能被體現於很寬廣多樣的特定具 體背景中。所討論的特定具體的實施例僅是說明使用ς 發明的特定方式,而且不會限制本發明的範圍。例如. 先前提及的,數位對類比轉換器(或數位控制類比電路 係用於數位控制振盪器應用上。 請參閱第2圖,其為根據本發明繪示的一數位對類 比轉換器200之電路。此數位對類比轉換器2〇〇包含一 數位,產生電路(可由一除法電路、解碼電路或是一有 限狀態機(finite state machine)來實現)210,係用於 接收一數位輸入字元(w)以產生兩輸出數位碼(wj 與W2)。一粗略解碼器(c〇arse(jec〇der) 220係將一第 13 1343716 一數位碼(wi)解碼(或映射)為B1位元的資料 或第一組之二進制資料)及一精細解碼器 (fme decoder) 230將一第二數位碼(W2)解碼為兩; B2位元的資料(如,D2[〇:2 B2__一第二組之二^ 資料)。此第-組之二進職料被用來提供至—粗略切換 電路陣列(coarse switched_circuit array ) 24〇 且用押 制在此粗略切換電路陣列24〇内之複數個(如,B ^ 換電路。此第二組之二進制資料被用來提供至一精細 換電路陣列250且用來控制在此精細切換電路陣列 内之複數個(如’兩倍的Β2)切換電路。此粗略切 路陣列240之輸出端及此精細切換電路陣列250之給屮 端被耦接至-共通電路結點以產生該數位對類比轉“ 〇之一類比輸出信號。所謂的“粗略,,與“精細,,僅 度(調整刻度)的差別,其電路架構大致相似。在 ,中,6亥精細解碼器230為一溫度計碼解碼器,同時, ’旦略解碼器220可為一二進制碼解碼器或是為一、w声 碼解碼器。 疋苟/ 皿度汁 a &在一實施例甲,這些切換電路陣列240、250的實現 位控制可變電容器。其電路相同於或近似於第i :所,、曰不的數位控制可變電容器。在另一實施例中 二換2陣列24G、25G的實現係用以作為數位 睛參閱第3圖’第3圖騎示作為一數位控制電 :::(current S0urce)之一實施例,其中該數位控制電 机源300係包含複數個電流源31〇、31丨、 電流藉由將一二進制控制信_接至= .〇SFET)之一閘極端來實現,其中該二進制 1343716 控制信號例如是來自該第一組或該第二組之二進制資料 之一資料位元。 藉由參照第1圖之實施範例可知,這些切換電路陣 列240、250被實現以作為在—運用電路中的該些數位控 制電容器。此粗略切換電路陣列24〇包含B1 ^電容^ (如,C0〇),C1(”,CW··)與由該第一組之二進制資料 (如’ D1[0],Dl[l],Dl[2]··.)分別地控制此m個開關。 同樣地,此精細切換電路陣列250包含兩倍的B2個電 容器(如,C0(2),C1(2),C2(2),等.等)及由該第二组之二 進制資料(如,等等)分別地控制 此兩倍的B2個開關。在一實施例中,此精細解碼器23〇 為一溫度計碼解碼器且在此精細切換電路陣列25〇内的 。亥些電谷器具有本質上(substantjaiiy )相同的(或幾乎 相同)電容值’其中此電容值以一精細電容值〇(ηη〇來表 >【、° 在一實施例中,同樣地,此粗略解碼器220也為一 ^度碼解碼器及在此粗略切換電路陣列24〇内的該些電 谷器大致上為均等加權(equally weighted )(如,具有幾 乎相同電容值,其中此電容值以一粗略電容值C(c°arse) 來表不)。在另一實施例中,此粗略解碼器22〇為一二進 ,碼解碼器及在此粗略切換電路陣列240内的該些電容 器t乎以2的次方(p〇wer )而被加權。舉例來說,此些 ^谷器具有各自的近似值y.Ckoarse}、^l.c^oarse}、 ' ' )及等等。在另一實施例,此粗略電容值c(c°arse) 幾乎為B2倍的該精細電容值c(fine)。換言之,在精細切 15 1343716 換電路陣列250内此兩倍的B2個電容器之最大總合電 ' 容值幾乎為在粗略切換電路陣列240内此Bi個電容器 之中最小電容值的兩倍。在粗略切換電路陣列24〇内此 個電谷器之中幾乎為最小電容值之粗略電容值 c(e°ai"se)也可稱之為粗略切換電路陣列24〇之最‘低有效位 元(LSB)。此精細電容值係為用於在精細切換電 路陣列250内每一該些電容器之一般電容值且亦稱之為 精細切換電路陣列25〇之最低有效位元。在上述特定的 • 範例中,粗略切換電路陣列240之最低有效位元比精細 切換電路陣列250之最低有效位元幾乎高於(大於)B2 倍。 當該數位碼產生電路210之一實施例為一除法電路 時’該第一數位碼(W1 )係為該數位輸入字元(w)與 一除數的商,該第二數位碼(W2)係為該數位輸入字元 (W)與該除數的餘數,其中該除數係與切換電路陣列 240、250的比例有關。另一實施例,該數位碼產生電路 鲁 210可由一硬體或是軟體或是兩者混合所實現,換言 之,該第一數位碼(W1 )與該第二數位碼(W2)可由 解碼或是查表而產生。 在另一實施例中’該數位碼產生電路210係由一有 限狀態機(finite state machine, FSM ) 400 所實現。第 4 圖係繪示有限狀態機400。此有限狀態機400係接收一 數位控制字元W及產生一第一輸出字元wi與一第二輸 出字元W2。在一實施例中’此有限狀態機4〇〇包含一 第一暫存器(register, REG) 420,係用以接收該數位控 1343716 制字元w及輸出符合該數位校制字元之一預定值 (previous value )之一預定控制字元。同樣地, 一第一模運算器(modulus operator )(或模運算電路) MOD 410也接收該數位控制字元及藉由執行下列數學運 算W2(〇)=m〇d ( W,2.B )以產生一第一中間字元W2(0)。 換言之,在數位控制字元除以2·Β之除法運算之後,此 第一中間字元為一模數(modulus )〇B可為任一正整數。 在一實施例中,B為一 2的次方的正整數,如此設計可 以簡化硬體的線路。一實施例中,在第2圖之精細解碼 W 器230為一溫度計碼解碼器,b等同於B1。 此數位控制字元亦提供至一第一加總器(summing operator) 460’亦是將數位控制字元與一偏移量(〇ffset) (B )結合在一起。此第一加總運算器460之一輸出信 號被提供至一第二模運算器MOD 411,且經執行下列數 學運算式:W2(1)= mod ( W+B,2B )而產生一第二中間字 元W2(1)。亦是’將數位控制字元與該偏移量之一總和除 φ 以2B之除法運算之後,此第二中間字元為一模數 (modulus) 〇 此第一中間字元與此第二中間字元被提供至一第一 多工器(multiplexer) 430以產生一第二輸出字元W2。 該第二輸出字元W2係根據一可變狀態STATE之該數值 來從第一中間字元W2(0)與第二中間字W2(1)間被選出。 此第一中間字元W2(0)與第二中間字元W2(1)亦被提 供至一第二多工器431以產生一暫時性(tentative )字元 1343716 W2(tent)。此暫時性字元W2(tent)係根據一先前的可變狀態 STATE(pfev)之數值來從第一中間字元W2(G)與第二中間字 W2(1)間被選出。一第二暫存器REG421接收該可變狀態 STATE及輸出該先前的可變狀態STATE(prev)。 當然,尚有其他實施方式,例如:只利用一個模運 算電路、一加總器、以及一多工器。藉由加總器以輸出 W+B之數值;多工器的輸入端接收W+B與W之數值, 並依據該可變狀態STATE選擇其一(W+B或W)以輸 出至該模運算電路;該模運算電路將輸入數值(W+B或 W)進行模運算以產生該第二輸出字元W2。 此第二輸出字元W2提供至一第三暫存器REG 422 以產生一先前的第二輸出字元W2(pfev)以符合該第二輸 出字元之先前值。此先前的第二輸出字元W2 _ev)被提 供至一邏輯電路LOGIC 450。此邏輯電路450亦接收該 數位控制字元W、該先前的數位控制字元W(I^ev)及該暫 時性字元W2(tent)’並經執行下列邏輯運算: TOGGLE= ( ( W>W(prev) & W2(tent) <W2(prev) ) | (W<w(prev) & W2 (tent) > W2(prev))) 以產生一邏輯信號TOGGLE。而在上述方程式中, 符號“&”代表一邏輯“AND”運算,符號Τ’代表一邏輯 “OR”運算。前述邏輯運算係為決定出在該第二輸出字元 内的一環繞(wrap-around)狀況之一種方法。當然,使 用其他的方法也可達成此一狀況。舉例而言,本發明於 另一實施例中,數位碼產生器(即上述之有限狀態機400) 1343716 亦包含一偵測電路,用於偵測一邊界情況(boundary condition )。此邊界情況即為判斷上述環繞(wrap-around ) 狀況之依據。其由一隨著數位輸入信號值遞減而遞增之 第二數位碼,或由一隨著數位輸入信號值遞增而遞減之 第二數位碼值所定義。 此邏輯信號TOGGLE被提供至一邏輯運算器XOR 440。此邏輯運算器XOR 440亦接收該先前的可變狀態 STATE(prev)以產生此可變狀態STATE。舉例來說,此可 變狀態STATE之目前數值係將邏輯信號TOGGLE及先 前的可變狀態 STATE(pi_ev)執行一邏輯互斥或 (exclusive-OR )運算而被導出。無論此邏輯信號 TOGGLE何時為高(或被設為高),貝|J此可變狀態STATE 會改變狀態。最後,此有限狀態機400更包含一第二加 總運算器461及一除法器470,藉由執行下列數學運算 式W1 = ( W-W2 ) /B以產生第一輸出字元W1。 第5圖係繪示第4圖之有限狀態機400之一狀態示 意圖。舉例來說,此有限狀態機400具有兩種狀態:一 第一狀態(如,State 0或STATE=0 )及一第二狀態(如, State 1或STATE=1 )。在此第一狀態中,該第一及第二 輸出字元經下列運算而被導出:J 12 1343716 = Switch of the two groups. The output of the second switching circuit array is switched by the output of the first switching circuit array to generate such a location. To: discuss the presently preferred embodiments in detail. However, it should be understood that the present invention provides a number of applicable inventive concepts which are embodied in a wide variety of material contexts. The specific embodiments discussed are merely illustrative of specific ways in which the invention may be used without limiting the scope of the invention. [Embodiment] The present invention relates to reading a digital input word for a tb output signal. The method and apparatus are discussed in detail below with reference to a number of embodiments. It should be understood, however, that the present invention is to be construed as being limited to the specific embodiments. The specific embodiments discussed are merely illustrative of specific ways of using the invention and do not limit the scope of the invention. For example, as previously mentioned, digital to analog converters (or digitally controlled analog circuits are used for digitally controlled oscillations). Please refer to FIG. 2, which is a circuit of a digital-to-analog converter 200 according to the present invention. The digital-to-analog converter 2 includes a digit, a generating circuit (which can be decoded by a dividing circuit) The circuit is implemented by a finite state machine 210 for receiving a digital input character (w) to generate two output numbers Code (wj and W2). A coarse decoder (c〇arse(jec〇der) 220 system decodes (or maps) a 13 1343716 one-digit code (wi) into B1 bit data or a first group of binary data. And a fine decoder (fme decoder) 230 decodes a second digit code (W2) into two; B2 bit data (eg, D2 [〇: 2 B2__ a second group of two data). This first-group second feed is used to provide a plurality of coarse switched circuit arrays (24) and is used to clamp a plurality of (for example, B^-changing circuits) within the coarse switching circuit array 24''. The second set of binary data is used to provide to a fine-switching circuit array 250 and to control a plurality of (eg, 'double Β 2) switching circuits within the fine switching circuit array. This coarse tangential array 240 The output terminal and the donor terminal of the fine switching circuit array 250 are coupled to the - common circuit node to generate the digital pair analogy "" analog output signal. The so-called "rough," and "fine, only degree The difference in the (adjusted scale) is similar in its circuit architecture. The 6-Hai fine decoder 230 is a thermometer code decoder. Meanwhile, the 'Dan decoder 220 can be a binary code decoder or a w code decoder. 疋苟 / 皿汁a & In an embodiment A, the implementation bits of the switching circuit arrays 240, 250 control the variable capacitors. The circuits are the same as or similar to the i-th, the digital control variable capacitors. In another embodiment, the two-switches 2 array 24G, 25G implementation is used as a digital eye, see Figure 3, Figure 3, as an example of a digital control::: (current S0urce), where the digital control motor source 300 contains A plurality of current sources 31〇, 31丨, the current is achieved by connecting a binary control signal to one of the gate terminals of the = 〇SFET), wherein the binary 1343716 control signal is, for example, from the first group or the second One of the binary data of the group. As can be seen by reference to the embodiment of Figure 1, these switching circuit arrays 240, 250 are implemented as the digitally controlled capacitors in the operating circuit. The coarse switching circuit array 24A includes B1 ^capacitors ^ (eg, C0 〇), C1 (", CW··) and binary data from the first group (eg, 'D1[0], Dl[l], Dl [2]···.) separately control the m switches. Similarly, the fine switching circuit array 250 includes twice as many B2 capacitors (eg, C0(2), C1(2), C2(2), etc. And the second set of B2 switches are separately controlled by the second set of binary data (eg, etc.). In an embodiment, the fine decoder 23 is a thermometer code decoder and is here The fine switching circuit array 25 。 亥 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些 些In an embodiment, the coarse decoder 220 is also a gradual code decoder and the plurality of voltaic devices in the coarse switching circuit array 24 大致 are substantially equal weighted (eg, Has almost the same capacitance value, wherein the capacitance value is represented by a coarse capacitance value C (c°arse). In another embodiment, this rough The decoder 22 is a binary, and the code decoder and the capacitors in the coarse switching circuit array 240 are weighted by a power of 2. For example, such a device There are respective approximations y.Ckoarse}, ^lc^oarse}, '') and the like. In another embodiment, the coarse capacitance value c(c°arse) is almost B2 times the fine capacitance value c (fine In other words, the maximum total capacitance of the double B2 capacitors in the fine cut 15 1343716 circuit array 250 is almost twice the minimum capacitance of the Bi capacitors in the coarse switching circuit array 240. The coarse capacitance value c (e°ai"se) of the minimum capacitance value among the electric grids in the coarse switching circuit array 24〇 can also be referred to as the most 'low effective bit of the coarse switching circuit array 24〇. Element (LSB). This fine capacitance value is the least significant bit used for each of the capacitors in the fine switching circuit array 250 and is also referred to as the least significant bit of the fine switching circuit array 25A. • In the example, the least significant bit ratio of the coarse switching circuit array 240 is finer than The least significant bit of the switching circuit array 250 is almost higher than (greater than) B2 times. When one embodiment of the digital code generating circuit 210 is a dividing circuit, the first digital code (W1) is the digital input character. (w) with a divisor of the divisor, the second digit code (W2) is the remainder of the digit input character (W) and the divisor, wherein the divisor is related to the ratio of the switching circuit arrays 240, 250 In another embodiment, the digital code generating circuit 210 can be implemented by a hardware or a software or a mixture of the two. In other words, the first digital code (W1) and the second digital code (W2) can be decoded or It is generated by looking up the table. In another embodiment, the digital code generation circuit 210 is implemented by a finite state machine (FSM) 400. Figure 4 illustrates a finite state machine 400. The finite state machine 400 receives a digital control character W and generates a first output character wi and a second output character W2. In an embodiment, the finite state machine 4 includes a first register (REG) 420 for receiving the digital control 1343716 character w and outputting one of the digital calibration characters. One of the predetermined values is a predetermined control character. Similarly, a first modulus operator (or modulo operation circuit) MOD 410 also receives the digital control character and performs the following mathematical operation W2(〇)=m〇d ( W,2.B ) To generate a first intermediate character W2 (0). In other words, after the digital control character is divided by the division operation of 2·Β, the first intermediate character is a modulus 〇B can be any positive integer. In one embodiment, B is a positive integer of a power of two, so designed to simplify the hardware circuitry. In one embodiment, the fine decoding device 230 in Fig. 2 is a thermometer code decoder, and b is equivalent to B1. The digital control character is also provided to a first summing operator 460' which also combines the digital control character with an offset (〇ffset) (B). An output signal of one of the first summation operators 460 is supplied to a second modulo operator MOD 411, and a second is generated by executing the following mathematical expression: W2(1)= mod ( W+B, 2B ) Intermediate character W2 (1). Also, after the sum of the digital control character and the offset is divided by φ by 2B, the second intermediate character is a modulus, the first intermediate character and the second intermediate The characters are provided to a first multiplexer 430 to produce a second output character W2. The second output character W2 is selected from the first intermediate character W2(0) and the second intermediate word W2(1) according to the value of a variable state STATE. The first intermediate character W2(0) and the second intermediate character W2(1) are also provided to a second multiplexer 431 to generate a tentative character 1343716 W2 (tent). The temporary character W2 (tent) is selected from the first intermediate character W2 (G) and the second intermediate word W2 (1) according to the value of a previous variable state STATE (pfev). A second register REG421 receives the variable state STATE and outputs the previous variable state STATE (prev). Of course, there are other implementations, such as using only one mode of operation, one adder, and one multiplexer. The value of W+B is output by the adder; the input of the multiplexer receives the values of W+B and W, and selects one (W+B or W) according to the variable state STATE to output to the mode. An arithmetic circuit that performs a modulo operation on the input value (W+B or W) to generate the second output character W2. The second output word W2 is provided to a third register REG 422 to generate a previous second output character W2 (pfev) to conform to the previous value of the second output word. This previous second output character W2_ev) is provided to a logic circuit LOGIC 450. The logic circuit 450 also receives the digital control character W, the previous digital control character W (I^ev) and the temporary character W2 (tent)' and performs the following logical operations: TOGGLE= ( ( W > W(prev) & W2(tent) <W2(prev) ) | (W<w(prev) & W2 (tent) > W2(prev))) to generate a logic signal TOGGLE. In the above equation, the symbol "&" represents a logical "AND" operation, and the symbol Τ' represents a logical "OR" operation. The aforementioned logical operation is a method of determining a wrap-around condition within the second output character. Of course, this can be achieved by using other methods. For example, in another embodiment of the present invention, the digital code generator (ie, the finite state machine 400 described above) 1343716 also includes a detection circuit for detecting a boundary condition. This boundary condition is the basis for judging the above wrap-around condition. It is defined by a second digit code that is incremented as the digital input signal value is decremented, or by a second digit code value that is decremented as the digit input signal value is incremented. This logic signal TOGGLE is supplied to a logic operator XOR 440. The logical operator XOR 440 also receives the previous variable state STATE(prev) to generate the variable state STATE. For example, the current value of this variable state STATE is derived by performing a logical exclusive OR or exclusive-OR operation on the logical signal TOGGLE and the previous variable state STATE (pi_ev). Regardless of when this logic signal TOGGLE is high (or set to high), this variable state STATE will change state. Finally, the finite state machine 400 further includes a second summation operator 461 and a divider 470 for generating the first output character W1 by performing the following mathematical operation W1 = (W-W2) /B. Fig. 5 is a view showing a state of a finite state machine 400 of Fig. 4. For example, the finite state machine 400 has two states: a first state (e.g., State 0 or STATE = 0) and a second state (e.g., State 1 or STATE = 1). In this first state, the first and second output characters are derived by the following operations:

Wl=( W- mod( W, 2.B)) /B ;及 W2=mod( W,2.B)。 而在此第二狀態中,該第一及第二輸出字元經下列 運算而被導出:Wl=( W- mod( W, 2.B)) /B ; and W2=mod( W,2.B). In this second state, the first and second output characters are derived by the following operations:

Wl= ( W-mod ( W+B, 2 B)) /B ;及 W2=mod ( W+B, 2.B)。Wl=( W-mod ( W+B, 2 B)) /B ; and W2=mod ( W+B, 2.B).

19 1343716 在一實施例中,當此邏輯信號TOGGLE係被設置為 * 1時’此有限狀態機400從一狀態轉換另一狀態。當此 第二輸出字元存有一環繞(wrap-around)情況時,此邏輯 信號TOGGLE係被設置為1。對於偵測此環繞狀況之— 方法係藉由決定此數位控制字元W之一目前數值何時 大於此數位控制字元之一先前數值’同時,此第二輸出 字元之一暫時性字元小於此數位控制字元之一先前數值 (換言之,即此第二輸出字元之一暫時性字元小於此第19 1343716 In one embodiment, when the logic signal TOGGLE is set to *1, the finite state machine 400 transitions from one state to another. When the second output character has a wrap-around condition, the logic signal TOGGLE is set to one. The method for detecting the surround condition is to determine when the current value of one of the digital control characters W is greater than a previous value of one of the digital control characters. Meanwhile, one of the second output characters is less than the temporary character. The previous value of one of the digit control characters (in other words, one of the second output characters is less than this temporary character)

φ 二輸出字元之一先前數值);或者,此數位控制字元W 之一目前數值何時小於此數位控制字元之一先前數值, 同時,此第二輸出字元之一暫時性字元大於此數位控制 字疋之一先前數值(換言之,即此第二輸出字元之一暫 時,字7L大於此第二輸出字元之一先前數值此第二輸 出予元之暫時性數值以一推測(aSSumpti〇n )而被決定出 此有限狀態機400仍保持在一目前狀態。對於偵測該第 二輸出字元於何時產生環繞,透過其它方法來實施亦是 可能的。 在一數位式鎖相迴路(digita丨phase丨〇仏1〇叩)的應 ,實施例中,此數位控制字元係以一閉迴路 c广ed-l〇op)方式來產生’且在該迴路内多種快速改 個干f (ghtCh),大數值(big VaUie)改變或多 =狀,)並不被期望在穩態運作期間裡發生。在穩 ί數值二私此數位控制字元通常在兩數值或在-小範 2果用於數位控制字元之該些數值產生 i β聋 =别出碼之極值(extreme value)的一數 則此第二輪出碼可能發生環繞以對應在數位控制 20 1343716 字元内多種變動(或輕微地改變)。舉 出碼可在接近第二輸㈣之相對低值 此 ,相”值(如,具有在-接⑽的範圍以: 變化量)之間來回㈣(G副ate)以對應 植φ two output characters one of the previous values); or, one of the digital control characters W is less than the previous value of one of the digital control characters, and one of the second output characters is greater than the previous character The digital control word is one of the previous values (in other words, one of the second output characters is temporarily, the word 7L is greater than one of the previous output characters, and the second value is the temporary value of the second output of the element. ASSumpti〇n) is determined that the finite state machine 400 is still in a current state. It is also possible to detect when the second output character is generated by other methods. In a digital phase lock The loop (digita丨phase丨〇仏1〇叩) should, in the embodiment, the digital control character is generated in a closed loop c ed-l〇op) and is quickly changed in the loop. Dry f (ghtCh), big value (big VaUie) change or more = shape, is not expected to occur during steady state operation. In the case of a stable value, the digital control character is usually used in two values or in the small value of the number of control characters to generate i β 聋 = the number of extreme values of the extra code. Then the second round of code out may occur around to correspond to multiple changes (or slight changes) within the digital control 20 1343716 characters. The code can be close to the second low value of the second input (four). The phase value (for example, having the range of the - (10) range: the amount of change) (four) (G ate) to correspond to

況下此數位控制料的—少量增加/減少。在此同H 第-輸出碼係藉由取得快速值變化量而進行補償,、 ,些變化量係在大約相同數值_但對於第二輸出二 言為一相反方向(>’在-假設值不2 ’亦是此第一輸 :之-最低有效位元以趨近高倍的第二輸出碼之— 最低有效位元而被權重)。 • f 一實施财,在第一及第二輸出碼内的該些快速 會相互偏移’不會對—已結合的輸出信號有明顯 η/ 如由第一及第二輸出碼所控制的一總有效電容 值)。然而,事實上,有限的元件容忍度(t〇lerance)及 其他製造的限制因素可產生於已結合輸出信號之一干 擾。舉例來說,由於在粗略切換電路陣列24〇及精細切 • 換電路陣列250内的該些電容器的有限的元件容忍度, 所以當第一輸出碼之最低有效位元不會正好高於第二輸 出碼之最低有效位元的B倍權重,因此,在總有效電容 上將會發生一干擾(glitch )。在一實施例中,當第二輸 出石馬發生環繞時,此總有效電容值產生一不被期望的快 速變化。 在—實施例中,此有限狀態機400用於偵測可能在 第二輸出碼内的該些環繞情況(或該些邊界情況),且切 換一可變狀態STATE而使得一狀態改變。一不同組之方 21 1343716 程式係被用來導出此第一及第二輸出碼之一不同狀離’ .-因此,能防止在第一及第二輸出碼内不被期望的快^改 變。舉例來說,此邏輯信號TOGGLE被設置為丨以表示 可能的s玄些環繞情〉兄(或接近第二輸出碼之邊界極限值 (boundary limit)之第二輸出碼)及此有限狀態機4〇〇 改變至一不同狀態,其中該不同狀態係為第二輸出碼具 有較接近的自身範圍中間的一數值。 不同狀態之改變可能不會消除在一已結合輸出碼内 一初始干擾,其中已結合輸出碼係由第一及第二輸出碼 所控制。然而,此第二輸出碼W2被偏離(或調整以遠 離)自身的邊界值(或極值〇及2B)且在改變這些狀態 之後,則被集中至自身的中階值(mid_range value)(如二 近乎為B)。因此,任一干擾或快速改變皆成為一次事件 (one-time event)。而這些狀態改變的頻率在某種程度 上依據B (或此第二輸出碼之範圍)而定。 • 在一實施例中,此第二輸出碼之範圍顯著地變大 (如,一相對大的B)致使這些狀態改變不常發生在數 位式鎖相迴路應用電路内的穩態操作期間。 第ό A圖及第6B圖顯示對應一數位控制字元之總有 效電容值之圖示以繪示本發明之某些準則。舉例來說, 在穩態操作期間,此數位控制字元在接近一穩態值 的一範圍内變動。如果有限狀態機400目前處於第—狀 態時(STATE 0),且此穩態值幾乎為2.B之一整數倍數 (multiple ),一環繞情況可能為了第二輸出碼而發生以 22 1343716 對應在此數位控制字元内之多個變動。如 =中可知’此環繞情況必然地會造成總第有6二圖二 生非預』的跳動(jump)(或快速變化)。如第从圖所 =〇當ot控第制1元=在w(ss) 土2B㈣動且此有限狀態 :二〇處於第一狀態時,此總有效電容值可具有快速變 為了降低在此總有效電容值内的快速變, 出碼之一可能的環繞情況時,此有;狀 :働:第-狀態切換至第二狀態(STATEi=;、 在第一輸出碼内的多個環繞情況或進一步減少在她有效 電容值内的快速變化量’同時,如第6B圖所示::數 :控制字70持續在穩態值w㈣周圍變動 機彻經切換至第二狀態而有效地再次 值之第二輸出碼。 w⑻在:匕t狀態内’ #果此數位控制字元漸漸趨向 -,則在此第二輸出碼内的多種環繞情況可能會發 二因此,如果沒有強烈干擾下使得此數位控制字元產 接近於B時,此第二輸出碼不會發生環繞並藉 广位控制子元來對應多種穩態變動,且此總有效電 ^值在穩態運作期間平滑地變化(如,沒有快速變化 二)a。错由選擇足夠大的Β值,在此第二輸出碼内的任 繞情況將不會超過在—數位式鎖相迴路之該些穩態 運作内的一次事件。 23 1343716 組踩實施例中,此第二輸出倾傳送至—溫度計碼 J = i如’精細解碼器23〇)以產生用於控制-可變 ::二?;制資料’其中可變電容值為總有效電容值 、、θ产就以此數位式鎖相迴路之應用範疇而論,此 ςϋ解碼器有效地把此總有效電容值實際地將此數 ^控制子70之一單調性功能給顯現出來。再者,一二 二$解碼器係根據此第二輸出碼而可被用來產生二進制 範例中,以二進制資料係控制具2的次= ί二:的該些切換電容器’而總有效電容值内的最 =仍疋在―環繞情況下發生。雖然—嚴格單調性不 冉破確保,但財效電容值的_變化仍僅為—次 且只有在一環繞情況下才發生。 、雖然本發明已以較佳實施例揭露如上,然其並非用 二限定本發明’任何熟習此技藝者’在不脫離本發明之 精神和範圍内’當可作各種之更動與潤飾,因此本發明 之保護範圍當視後附之申料圍所界定者為準。 【圖式簡單說明】 第1A圖係繪示一習知之數位控制可變電容器之一 範例示意圖; 、第1B圖係繪示將一數位控制字元w映射為8個二 進制資料之一溫度計碼解碼之一範例; 第2圖係根據本發明之一實施例係繪示一數位控制 類比電路之一方塊示意圖; 第3圖係繪示一切換電流源陣列之一實施例圖; 24 1343716 第4圖係繪示用於在第二圖内該數位控制類比電路 之一有限狀態機之一實施例方塊示意圖; 第5圖係繪示用於在第4圖内該有限狀態機之一狀 態示意圖; 第6A圖係繪示一類比輸出信號之一轉移函數以對 應一數位輸入字元之一曲線圖(graph ),其中此數位輸 入字元處於在穩態運作期間一類比輸出信號劇烈改變^ 一情景(scenario)之下;以及Under the circumstance of this digital control material - a small increase / decrease. Here, the H-first output code is compensated for by taking the fast value change, and some of the changes are about the same value _ but for the second output, the opposite direction (> 'in--hypothetical value Not 2' is also the first input: the least significant bit is weighted by the second most significant bit of the second output code that is close to the high power. • f is implemented, the fasts in the first and second output codes are offset from each other 'do not—the combined output signal has a significant η/ as controlled by the first and second output codes Total effective capacitance value). However, in fact, limited component tolerance and other manufacturing constraints can result from interference with one of the combined output signals. For example, due to the limited component tolerance of the capacitors in the coarse switching circuit array 24 and the fine switching circuit array 250, the least significant bit of the first output code is not exactly higher than the second The B-weight of the least significant bit of the output code, therefore, a glitch will occur on the total effective capacitance. In one embodiment, this total effective capacitance value produces an undesired rapid change when the second output rocker wraps around. In an embodiment, the finite state machine 400 is configured to detect the surrounding conditions (or boundary conditions) that may be within the second output code and to switch a variable state STATE to cause a state change. A different set of squares 21 1343716 is used to derive one of the first and second output codes from each other. Thus, it is possible to prevent undesired changes in the first and second output codes. For example, the logic signal TOGGLE is set to 丨 to indicate a possible sth. > or a second output code that is close to the boundary limit of the second output code and the finite state machine 4 〇〇 changes to a different state, wherein the different state is a value in which the second output code has a relatively close range of its own range. Changes in different states may not eliminate an initial interference in a combined output code, wherein the combined output code is controlled by the first and second output codes. However, this second output code W2 is deviated (or adjusted to be away from) its own boundary value (or extreme value 〇 and 2B) and after changing these states, it is concentrated to its own mid-range value (eg The second is almost B). Therefore, any disturbance or rapid change becomes a one-time event. The frequency of these state changes is somewhat dependent on B (or the range of this second output code). • In one embodiment, the range of the second output code is significantly larger (e.g., a relatively large B) such that these state changes do not occur frequently during steady state operation within the digital phase locked loop application circuit. Figures A and 6B show graphical representations of the total effective capacitance values corresponding to a digital control character to illustrate certain criteria of the present invention. For example, during steady state operation, the digital control character varies over a range close to a steady state value. If the finite state machine 400 is currently in the first state (STATE 0) and the steady state value is almost an integer multiple of 2.B, a surround condition may occur for the second output code with 22 1343716 corresponding to This number controls multiple changes within a character. As can be seen in =, this surround situation will inevitably cause a jump (or rapid change) in the total. As shown in the figure from the figure = 〇 ot control system 1 yuan = in w (ss) soil 2B (four) move and this finite state: when the second 〇 is in the first state, the total effective capacitance value can have a rapid change to this total A rapid change in the effective capacitance value, when one of the possible surrounding conditions is available, this is the case: 働: the first state is switched to the second state (STATEi=;, multiple surrounds within the first output code or Further reducing the amount of rapid change in her effective capacitance value 'at the same time, as shown in Fig. 6B:: number: control word 70 continues to change around the steady state value w (four) to completely switch to the second state and effectively again The second output code. w(8) is in the state of 匕t. ##The digital control character gradually tends to-, then multiple surround conditions in the second output code may be sent. Therefore, if there is no strong interference, this digit is made. When the control word production is close to B, the second output code does not wrap around and the wide control sub-element is used to correspond to various steady-state changes, and the total effective electric value changes smoothly during steady state operation (eg, There is no rapid change two) a. The mistake is chosen by a large enough Depreciation, the round-robin situation in this second output code will not exceed one event in the steady-state operation of the digital phase-locked loop. 23 1343716 In the group stepping embodiment, this second output is dumped. To - thermometer code J = i such as 'fine decoder 23 〇' to generate for control - variable:: two? The data 'in which the variable capacitance value is the total effective capacitance value, and the θ production is the application range of the digital phase-locked loop, the ςϋ decoder effectively takes this total effective capacitance value to actually count this number ^ One of the monotonic functions of the control unit 70 is revealed. Furthermore, the one-two-two decoder can be used to generate a binary paradigm according to the second output code, and the binary data system controls the second switching capacitors of the second = ί2: and the total effective capacitance value The most = inside is still in the "surrounding" situation. Although the strict monotonicity is not smashed, the _ change in the value of the capacitor is still only - and only occurs in a surround condition. The present invention has been disclosed in the above preferred embodiments, and it is not intended to limit the invention, and it is intended that the invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection of the invention is subject to the definition of the attached claim. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1A is a schematic diagram showing an example of a conventional digitally controlled variable capacitor; FIG. 1B is a diagram of mapping a digital control character w to one of eight binary data. 1 is a block diagram showing one of the digital control analog circuits according to an embodiment of the present invention; FIG. 3 is a diagram showing an embodiment of a switching current source array; 24 1343716 4 A block diagram showing an embodiment of a finite state machine for the digital control analog circuit in the second figure; FIG. 5 is a schematic diagram showing a state of the finite state machine in FIG. 4; The 6A diagram depicts a transfer function of one of the analog output signals to correspond to a graph of one of the digits of the input character, wherein the digitized input character is in a state in which the analog output signal changes drastically during steady state operation. Under the scenario);

雁一Ϊ 6i圖係繪示一類比輸出信號之一轉移函數以對 之一曲線圖,其中此數位輸入字元處 現象類比輸出信號具有多個緩和地轉移 同狀緣 有限狀態機切換(toggling)至一不The geese Ϊ6i diagram shows a transfer graph of one of the analog output signals in a pair of graphs, wherein the phenotype analog output signal at the digit input character has a plurality of gradual transfer morphological finite state machine switching (toggling) To one

25 1343716 【主要元件符號說明】 100 :可變電容器; 200 :數位對類比轉換器; 210 :數位碼產生電路; 110、220、230 :解碼器; 240、250 :切換電路陣列; 300 :切換電流源陣列; 310、311、312 :電流源; 400 :有限狀態機; 410 :第一模運算器; 411 :第二模運算器; 420 :第一暫存器REG ; 421 :第二暫存器REG ; 422 :第三暫存器REG ; 430 :第一多工器; 431 :第二多工器; 440 :邏輯運算器XOR ; 450 :邏輯電路LOGIC ; 460 :第一加總運算器; 461 :第二加總運算器; 470 :除法器;以及 S0〜S3 :開關。 2625 1343716 [Description of main component symbols] 100: Variable capacitor; 200: Digital to analog converter; 210: Digital code generation circuit; 110, 220, 230: Decoder; 240, 250: Switching circuit array; 300: Switching current Source array; 310, 311, 312: current source; 400: finite state machine; 410: first mode operator; 411: second mode operator; 420: first register REG; 421: second register REG; 422: third register REG; 430: first multiplexer; 431: second multiplexer; 440: logic operator XOR; 450: logic circuit LOGIC; 460: first summation operator; : second sum totalizer; 470: divider; and S0~S3: switch. 26

Claims (1)

1343716 .十、申請專利範圓·· I.一種數位對類比轉換器,包含: -數位碼產生器,係根據—數位輸入信號用以至少產生—第〜 數位石馬與-第二數位碼,該數位碼產生器具有一第一狀態邀 —第二狀態,其中,當該數位碼產生器_到該第二數位碼 存有-環繞(而p-around)狀況日夺,則該數位碼產生器 狀態轉換; • 第一解碼器,係依據該第一數位碼以輸出-第一群資料; -第二解碼H ’係依據該第二紐碼以輸出—第二群資料; 一第-切換電路_,係根據該第―戦料以產生 貞 輸出信號;以及 -第二切換電路陣列,係根據該第二群資料以產生—第二類比 輸出信號,其中,該第-類比輸出信號與該第二類比輸出信 號之組合係導致-對應該數位輸入信號之一類比輸出信號。 § 2·如第1項所述之數位對類比轉換器,其中該環繞狀況之偵測 係偵測該第二數位碼因該數位輸入信號之數值減少而增加數值 或δ亥第一數位碼因該數位輸入信號之數值增加而減少數值。 « ' 4 3.如第1項所述之數位對類比轉換器,其中該數位碼產生器包 含有:一第一模數運算器,係用以接收該數位輪入信號,並對 該數位輸入訊號來進行一第一演算法’以產生相應於該第一狀 態下之該第二數位碼,·以及一第二模數運算器,係用以接收該 27 1343716 99年11月26日修正替換頁 . 數位輸入彳§號,並對該數位輸入信號來進行一第二演算法,以 · 產生相應於該第二狀態下之該第二數位碼。 . 4. 如第3項所述之數位對類比轉換器,其中該數位碼產生器另 包含有:一訊號運算單元,根據該第二數位碼與該數位輸入信 號以產生該第一數位媽。 5. 如第1項所述之數位對類比轉換器,其.中該第一切換電路陣 列包含有複數個切換電流源(switched current source),且碎些切 秦 換電流源之開閉係吩別由該第一群資料中之個別位元值所控 制。 I 6·如第1項所述之數位對類比轉換器,其中該第二切換電路陣 列包含有複細_電流源,且該些_賴狀_係糾 由該第二群資料中之個別位元值所控制。 7. 如第!項所述之數位對類比轉換器,其中該第一數位碼表示 · 該數位輸入信號之高有效位元且具有一第一範圍之數值,該第 二數位碼表補數位輸人信號之低魏位元且具有—第二範 之數值,及該第二糊之數值触第—_之數值部分地轉。, 8. 如第7項所述之數位對類比轉換器,其中該第二數位碼且 一最大值,且該最大值係為由該第—數位碼之低有效位元職 28 叫 3716 99年Π月26日修正替換頁 示的數值之至少兩倍。 9.如第1項所述之數位對類比轉換器,其中該第二數位碼在該 第一狀態内,係經由以該數位輸入信號為一被除數(dividend)來 執行一模運算(modulo operation)來產生,及該第二數位碼在該 第一狀態内,係經由以該數位輸入信號及一偏移量(〇ffset)之一 總和為一被除數來執行一模運算來產生。1343716 . X. Patent Application Fan I·. A digital-to-analog converter comprising: - a digital code generator for generating at least - a digital horse and a second digital code according to a digital input signal, The digital code generator has a first state invitation-second state, wherein the digital code generator is generated when the digital code generator_to the second digital code has a wraparound (and p-around) condition State conversion; • a first decoder that outputs - the first group data according to the first digit code; - a second decoding H' is based on the second new code to output - a second group data; a first switching circuit _, according to the first material to generate a chirp output signal; and - the second switching circuit array is based on the second group data to generate a second analog output signal, wherein the first analog output signal and the first The combination of the two analog output signals results in an analog output signal corresponding to one of the digital input signals. § 2. The digital-to-analog converter of item 1, wherein the detection of the surround condition detects that the second digit code increases the value or the first digit code of the digital digit due to the decrease of the value of the digit input signal The value of the digital input signal is increased to decrease the value. The digital-to-analog converter of item 1, wherein the digital code generator comprises: a first modulo operator for receiving the digital round-in signal and inputting the digital input Signaling to perform a first algorithm 'to generate a second digit code corresponding to the first state, and a second modulo operator for receiving the 27 1343716 revised correction on November 26, 1999 Page. The digit is input to the § §, and a second algorithm is performed on the digit input signal to generate the second digit code corresponding to the second state. 4. The digital-to-analog converter of item 3, wherein the digital code generator further comprises: a signal operation unit, and inputting the signal according to the second digital code and the digital number to generate the first digital mother. 5. The digital-to-analog converter of item 1, wherein the first switching circuit array includes a plurality of switched current sources, and the switching elements of the switching current source are broken. Controlled by individual bit values in the first group of data. The digital-to-analog converter of item 1, wherein the second switching circuit array includes a complex-current source, and the _ _ _ _ _ _ _ _ _ _ _ _ _ _ The value is controlled by the value. 7. As the first! The digital-to-analog converter of the item, wherein the first digital code represents an upper significant bit of the digital input signal and has a value of a first range, and the second digit code table complements the low-dimensional bit of the input signal And having a value of - the second norm, and the value of the second paste touches the value of -_ partially. 8. The digital-to-analog converter of item 7, wherein the second digit code has a maximum value, and the maximum value is the lower significant bit of the first digit code. 28 is called 3716 99 years. At least two times the value shown on the replacement page is corrected on the 26th of the month. 9. The digital-to-analog converter of claim 1, wherein the second digit code is in the first state by performing a modulo operation by using the digit input signal as a dividend (modulo) The operation is performed, and the second digit code is generated in the first state by performing a modular operation by using a sum of the digital input signal and an offset (〇ffset) as a dividend. 10.如第9項所述之數位對類比轉換器,其中—公約數 di W)被械H狀繩運算賤帛二雜之該模運 算,且該偏移量實質上為該公約數的一半。 H.如第1項所述之數位對類比轉換器,其中該第—解碼器與該 第二解碼器之至少其中之—為—二進制碼解碼器。10. The digital-to-analog converter according to item 9, wherein - the common divisor (di W) is operated by the mechanical H-string, and the offset is substantially half of the common divisor . H. The digital-to-analog converter of item 1, wherein at least one of the first decoder and the second decoder is a binary code decoder. 泛如第1項所述之數位_轉絲,射鄕—解碼器與該 第二解碼n之至少其巾之―為―溫度計碼解碼器。 η,如第1項所述之數位馳比轉翻,其巾料—城電路陣 列與5玄第《一切換電路陣列之至少其φ夕_ , 電容器 、 <一包含一數位控制可變 其中_對_換 29 1343716 99年11月26日修正替換頁 !5•如第Μ項所述之數位對類比轉換器,其中該類比輸出信號 為係由-可㈣容值所決定,其巾該可變電容值係根據該數位 輸入信號而決定一振堡頻率。 !6.如第1項所述之數位對類比轉換器,其中該數位碼產生器包 含有:-憤測電^用於價測-邊界情況⑽如㈣⑽邮岭 其中該邊界情況係由-對應用於該數位輸入信號之—遞減值的 該第二數位碼之遞增值所定義,或由一對應用於該數位輸入信 號之一遞增值的該第二數位碼之一遞減值所定義。 Π.-種將-數位輸入信號轉換為一類比信號之轉換方法,該方 法包含: 根據該數錄人雜以產^ —帛—數_與—第二數位 碼,該第一數位碼係相應於該數位輸入信號之高有效 位元,該第二數位碼係相應於該數位輸入信號之低有 效位元; 冨偵測到a亥第一數位碼存有一環繞(wrap — ar〇un(J)狀況 時,則在至少二演算法之間進行切換以產生該第二數 位碼; 轉換该第一數位碼為一第一類比輪出信號; 轉換邊第二數位碼為一第二類比輪出信號;以及 結合該第-類比輸出信號與該第二類比輸出信號以產生 30 T343716 • 99年11月26日修正替換頁 對應於該數位輸入信號之一類比輸出信號。 18.如第17項所述之方法,其中偵測到該第二數位碼是否存有 5¾¼繞咏況包含.债測該第二數位碼的一快速變化,以決定出 該第二數位碼是否存有該環繞狀況,其中該快速變化係為該數 位輸入彳。號之數值減少而δ玄第一數位碼增加數值,或因該數位 輸入信號之數值增加而該第二數位碼減少數值。 ^ 19.如第17項所述之方法,其中該第一數位碼及該第二數位碼 具有重疊範圍之數值。 20. 如第17項所述之方法,其中該第一數位碼之最低數值實質 上為5亥第'一數位碼之最大數值之至少一半。 21. 如第17項所述之方法,其中在至少二演算法之間進行切換 以產生該第二數位碼的步驟包含有: 在第廣算法與-第一次算法之間進行切換以產生該第二數 位碼’其中該第-演算法包含以該數位輸人信號作為一被除數 之-第-模運算及該第二演算法以該數位輸人信號及一偏移量 之一總和作為一被除數之一第二模運算。 22·如第21項所述之方法,其中產生第-數位碼之步驟包含有. 計算該被除數與該第二數位碼的—差異值;以及對該差異值進 31 1343716 年替換頁 行除法以產生該第一數位碼 =如第21項所述之方法,射—公姻細在該第一模運 异及該第二模運算,該公約數實質上為該偏移量的兩倍。 =第η項所述之方法,其中轉換該第一數位碼之步驟,更 ^有:提供—第—解碼器將該第—數位碼映射為 料;以及使用該第-群資料來控制—第一 2 該第-_輸&錄。 州以產生 25.如第24摘述之方法,其巾雜 位::為:第二群資料;㈣_第二群f料來控H -切換電路陣列以產生該第二類比輪出信號。 第 解碼器 之至少其中之一係為一 項所述之方法,其中該第—㈣⑽«二 ‘進制竭解碼器 該第二解碼器 27‘如第25項所述之方法,其 之$小甘+ . 丹甲3亥第—解碼器與 其中之一係為一溫度計石馬解喝器。 28.如第25項所述之方法,其 切換電路陣狀至少其中:切換電路陣列與該第二 、 匕含有一數位控制可變電容器。 32 1343716 ., r'· , ___ ^ I 99 年 11 月 26 日 • 29.如第25項所述之方法,其中該第一切換電路陣列與該第二 • 切換電路陣列之至少其中之一包含有複數個切換電流源 (switched current source) ° 30. —種轉換方法,係將广數位輸入信號轉換為一類比信號,該 方法包含有:根據該數位輸入信號以產生一第一數位碼;根據 狀態彳§號選擇操作在一第一狀態或一第二狀態下,產生該第 φ 二數位碼,其中’該第一數位碼係相應於該數位輸入信號之高 有效位元,該第二數位碼係相應於該數位輸入信號之低有效位 疋;轉換該第一數位碼為一第一類比輸出信號;轉換該第二數 位碼為一第二類比輸出信號;以及結合該第一類比輸出信號與 該第二類比輸出信號以產生對應於該數位輸入信號之一類比輸 出信號。 31. 如第30項所述之方法,還包括有:偵測該第二數位碼之一 • 祕情況(boundarycondition)以輸出該狀態信號,其中該邊界情 況係由-對應用於該數位輸入信號之一遞減值的該第二數位碼 之遞增值所定義’或由一對應用於該數位輸入信號之一遞增值 • 的該第二數位碼之一遞減值所定義。 3=·如第3G項所述之方法,還包括有:侧該第二數位碼的一 環繞(wrap—ar_d)狀況以輸出該狀態信號。 33 31如第32·述之方法,^ 從-相對低數值至-相對:數::况係為該第二數位瑪 數值的狀況。 射问數值或從該相對高數值至該相尉低 34·如第30 速變化以翻心數位鱗 快 •數位竭 35.如第3G項所述之方法,其中該第—數位码及該第 具有重疊範圍之數值。 36·如第30項所述之方法,其中該第—數位碼之最健值實質 上為該第二數位碼之最大數值之至少一半。 37.如第30項所述之方法,其中在該第一與該第二狀態下分別 使用-第-演算法與-第二法,其中該第_法包含以 该數位輸入信號為作為一被除數之一第一模運算;以及該第二 次算法以該數位輸入信號及一偏移量之一總和作為一被除數之 一第二模運算。 38.如第37項所述之方法,其中一公約數被使用在該第一模運 算及該第二模運算,該公約數實質上為該偏移量的兩倍。 十一、圓式:The digital _transfer, the 鄕-decoder and the second decoding n are at least the thermometer code decoder. η, as shown in the first item, the digital ratio is turned over, and the towel-city circuit array and the 5 Xuan-di "a switching circuit array of at least its φ _, the capacitor, < one contains a digital control variable _对_换29 1343716 November 26, 1999 revised replacement page! 5• The digital-to-analog converter as described in the above item, wherein the analog output signal is determined by the - (iv) capacitance value, The variable capacitance value determines the vibration frequency of the train based on the digital input signal. The digital-to-analog converter of item 1, wherein the digital code generator comprises: - an anger test for the price measurement - boundary condition (10), such as (d) (10), and the boundary condition is determined by - The increment value of the second digit code applied to the decrement value of the digital input signal is defined by a pair of decrement values of the second digit code applied to an increment value of the digit input signal. Π.- A method for converting a digital-to-digital input signal into an analog signal, the method comprising: recording, according to the number, a product, a 帛-number _ and a second digit code, the first digital code system corresponding The high-order bit of the digit input signal, the second digit code corresponds to the low-order bit of the digit input signal; 冨 detecting that the first digit of the code has a surround (wrap — ar〇un(J In the case of a situation, switching between at least two algorithms to generate the second digit code; converting the first digit code to a first analog round-out signal; converting the second digit code to a second analog round And combining the first analog output signal with the second analog output signal to generate 30 T343716. The modified replacement page of November 26, 1999 corresponds to an analog output signal of the digital input signal. 18. As recited in item 17 The method for detecting whether the second digit code has a circumscribing condition comprises: determining a rapid change of the second digit code to determine whether the second digit code has the surround condition, wherein The rapid change is The digital input 彳. The value of the number is decreased and the δ 第一 first digit code is increased by the value, or the second digit code is decreased by the value of the digital input signal. ^ 19. The method of claim 17, wherein The first digit code and the second digit code have a value of an overlapping range. 20. The method of claim 17, wherein the lowest value of the first digit code is substantially the maximum value of the 5th digit of the first digit code. The method of claim 17, wherein the step of switching between the at least two algorithms to generate the second digit code comprises: switching between the broad algorithm and the first algorithm Generating the second digit code 'where the first algorithm includes a digital input signal as a dividend - a modulo operation and the second algorithm uses the digital input signal and an offset The method of claim 21, wherein the step of generating the first-digit code comprises: calculating a difference between the dividend and the second digit code. Value; and the difference value into 31 134371 6-year replacement page row division to generate the first digit code = the method according to item 21, the shot-marriage fine is different from the second mode operation in the first mode, and the common divisor is substantially the deviation The method of item n, wherein the step of converting the first digit code further comprises: providing - the first decoder mapping the first digit code into a material; and using the first - Group data to control - the first 2 of the first - _ lose & record. State to produce 25. As described in the 24th, the paper miscellaneous:: for: the second group of materials; (four) _ second group f Controlling the H-switching circuit array to generate the second analog wheeling signal. At least one of the decoders is a method as described, wherein the first (four) (10) «two' hexadecimal decoder is the second The decoder 27' is the method described in item 25, wherein the $3 is a small thermometer. The Dane-3Hide-Decoder is one of the thermometers. 28. The method of clause 25, wherein the switching circuit array is at least wherein: the switching circuit array and the second, 匕 comprise a digitally controlled variable capacitor. The method of claim 25, wherein at least one of the first switching circuit array and the second switching circuit array comprises: There are a plurality of switching current sources (30). The conversion method converts the wide-bit input signal into an analog signal, and the method includes: inputting a signal according to the digit to generate a first digit code; State § § selection operation in a first state or a second state, the φ second digit code is generated, wherein 'the first digit code corresponds to a high significant bit of the digit input signal, the second digit The code system corresponds to the low significant bit of the digital input signal; converting the first digital code to a first analog output signal; converting the second digital code to a second analog output signal; and combining the first analog output signal And outputting a signal analogous to the second analog to produce an analog output signal corresponding to the digital input signal. 31. The method of claim 30, further comprising: detecting one of the second digit codes • a boundary condition to output the status signal, wherein the boundary condition is - corresponding to the digital input signal The decrement value of the second digit code is defined by an increment value or is defined by a pair of decrement values of the second digit code applied to one of the digit input signals. 3= The method of item 3G, further comprising: a wrap-ar_d condition of the second digit code to output the status signal. 33 31 The method described in the 32nd, ^ from - relatively low value to - relative: number:: the condition is the condition of the second digital value. The number of the question is from the relatively high value to the phase 34 34. If the 30th speed is changed to turn the heart digits, the scale is fast. The number is as described in Item 3G, wherein the first digit code and the first A value with an overlapping range. The method of claim 30, wherein the most significant value of the first digit code is substantially at least half of a maximum value of the second digit code. The method of claim 30, wherein the first algorithm and the second method are respectively used in the first state and the second state, wherein the third method includes the digital input signal as a One of the first modulo operations; and the second algorithm uses the sum of the digital input signal and an offset as a second modulo operation of a dividend. 38. The method of clause 37, wherein a common divisor is used in the first mode operation and the second mode operation, the common divisor being substantially twice the offset. Eleven, round:
TW96129641A 2006-08-11 2007-08-10 Digital-to-analog converter and method thereof TWI343716B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US82207806P 2006-08-11 2006-08-11

Publications (2)

Publication Number Publication Date
TW200826510A TW200826510A (en) 2008-06-16
TWI343716B true TWI343716B (en) 2011-06-11

Family

ID=39085636

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96129641A TWI343716B (en) 2006-08-11 2007-08-10 Digital-to-analog converter and method thereof

Country Status (2)

Country Link
CN (1) CN101123437A (en)
TW (1) TWI343716B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI419476B (en) * 2010-03-17 2013-12-11 Elan Microelectronics Corp Low Power Cycle Analog Analogue Digital Converters and Their Methods for Reducing Power Consumption
CN103401558B (en) * 2013-08-26 2016-10-05 华为技术有限公司 The processing method and processing device that in a kind of digital-to-analogue conversion, data are average
KR20180102866A (en) * 2017-03-08 2018-09-18 에스케이하이닉스 주식회사 Symbol Interference Cancellation Circuit

Also Published As

Publication number Publication date
TW200826510A (en) 2008-06-16
CN101123437A (en) 2008-02-13

Similar Documents

Publication Publication Date Title
Vankka et al. Direct digital synthesizers: theory, design and applications
Chen et al. A calibration-free 800 MHz fractional-N digital PLL with embedded TDC
JP7132554B2 (en) High linearity phase interpolator
US7352297B1 (en) Method and apparatus for efficient implementation of digital filter with thermometer-code-like output
TW201006120A (en) Dynamic calibration techniques for digitally controlled oscillator
US6396313B1 (en) Noise-shaped digital frequency synthesis
US7492297B2 (en) Digital-to-analog converter and method thereof
JP2010526519A (en) Circuit and method for dynamically selecting circuit elements
TWI343716B (en) Digital-to-analog converter and method thereof
US20190268008A1 (en) Apparatus for Digital Phase-Locked Loop and Associated Methods
US6587863B1 (en) Multiphase, interleaved direct digital synthesis methods and structures
Yoon et al. A DLL-based quadrature clock generator with a 3-stage quad delay unit using the sub-range phase interpolator for low-jitter and high-phase accuracy DRAM applications
US8319563B2 (en) Digitally controlled oscillator
US6583654B2 (en) Clock synchronization device
US20240030925A1 (en) Digitally Calibrated Programmable Clock Phase Generation Circuit
TW507424B (en) Direct digital synthesizer
US6501815B1 (en) Loadable divide-by-N with fixed duty cycle
Wu et al. Resilient cell-based architecture for time-to-digital converter
US11936392B2 (en) Phase locked loop, electronic device, and method for controlling phase locked loop
CN114710154A (en) Open-loop fractional frequency divider and clock system based on time division multiplexing gain calibration
KR101658949B1 (en) Frequency synthesizer using nonlinear digital to analog converter and method thereof
CN110289856B (en) Dynamic phase shift and decimal frequency division system based on PLL circuit
US8443023B2 (en) Frequency synthesis rational division
US20050220181A1 (en) Phase-locked loop with incremental phase detectors and a converter for combining a logical operation with a digital to analog conversion
CN110048716B (en) Digital-to-analog converter