TWI469528B - Direct digital frequency synthesizer - Google Patents
Direct digital frequency synthesizer Download PDFInfo
- Publication number
- TWI469528B TWI469528B TW100125024A TW100125024A TWI469528B TW I469528 B TWI469528 B TW I469528B TW 100125024 A TW100125024 A TW 100125024A TW 100125024 A TW100125024 A TW 100125024A TW I469528 B TWI469528 B TW I469528B
- Authority
- TW
- Taiwan
- Prior art keywords
- electrically connected
- unit
- adder
- frequency synthesizer
- coefficient
- Prior art date
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Description
本發明係有關於一種直接頻率合成器,特別係有關於一種可有效提升頻譜解析度及運算速度之直接頻率合成器。 The invention relates to a direct frequency synthesizer, in particular to a direct frequency synthesizer which can effectively improve spectral resolution and operation speed.
習知直接頻率合成器200,請參閱第4圖所示,該直接頻率合成器200係包含一相位累加器210、一電性連接該相位累加器210之唯讀記憶體220及一電性連接該唯讀記憶體220之數位類比轉換器230,其中該相位累加器210係可接收一相位累加單位,該唯讀記憶體220係具有一記憶體221、一數位運算單元222及一輸出級223,該直接頻率合成器200係以查表的方式,以取得儲存於該唯讀記憶體220中之弦波值,惟,該直接頻率合成器200包含該唯讀記憶體220,因此電路面積仍無法有效縮小,此外,查表法的方式將使得該直接頻率合成器200的運算速度大幅下降。 The conventional direct frequency synthesizer 200, as shown in FIG. 4, includes a phase accumulator 210, a read-only memory 220 electrically connected to the phase accumulator 210, and an electrical connection. The digital analog converter 230 of the read-only memory 220, wherein the phase accumulator 210 can receive a phase accumulating unit, the read-only memory 220 has a memory 221, a digital operation unit 222, and an output stage 223. The direct frequency synthesizer 200 is configured to look up the sine wave value stored in the read-only memory 220. However, the direct frequency synthesizer 200 includes the read-only memory 220, so the circuit area is still In addition, the manner of the look-up table method will greatly reduce the operation speed of the direct frequency synthesizer 200.
本發明之主要目的係在於提供一種直接頻率合成器,其係包含一相位累加器及一相位振幅轉換器,該相位振幅轉換器係具有一第一補數單元、一電性連接該第一補數單元之第一加法器、一電性連接該第一補數單元及該第一加法器之第二係數單元、一電性連接該第一加法器之平方器、一電性連接該第一補數單元及該平方器之第一係數單元、一電性連接該第一補數單元之第三係數 單元、一電性連接該第一係數單元及該第三係數單元之第二加法器以及一電性連接該第二加法器之第二補數單元。本發明係藉由該些係數單元、該第一加法器、該第二加法器及該平方器,並利用數學方程式中的逼近法,求取進似理想弦波之輸出,由於本發明所模擬之弦波和理想弦波之誤差能有效降低,因此本發明具有高頻譜純度之特性,此外,當本發明應用於蛋白質頻移偵測時,由於直接頻率合成器具有高頻譜純度,因此可確保中心頻率在掃頻的範圍內有最高之可判斷峰值,又,本發明無須經由查表,因此可有效提升運算速度。 The main object of the present invention is to provide a direct frequency synthesizer comprising a phase accumulator and a phase amplitude converter, the phase amplitude converter having a first complement unit and an electrical connection a first adder of the number unit, a second coefficient unit electrically connected to the first complement unit and the first adder, a squarer electrically connected to the first adder, and an electrical connection a complement unit and a first coefficient unit of the squarer, and a third coefficient electrically connected to the first complement unit And a second adder electrically connected to the first coefficient unit and the third coefficient unit and a second complement unit electrically connected to the second adder. According to the present invention, the coefficient unit, the first adder, the second adder, and the squarer are used, and an approximation method in a mathematical equation is used to obtain an output of an ideal sine wave, which is simulated by the present invention. The error between the sine wave and the ideal sine wave can be effectively reduced, so the present invention has the characteristics of high spectral purity, and in addition, when the present invention is applied to protein frequency shift detection, since the direct frequency synthesizer has high spectral purity, it can ensure The center frequency has the highest judging peak within the range of the sweep frequency. Moreover, the present invention does not need to check the table, so the operation speed can be effectively improved.
請參閱第1圖,其係本發明之一較佳實施例,一種直接頻率合成器100,係包含一相位累加器110及一電性連接該相位累加器110之相位振幅轉換器120,其中該相位振幅轉換器120係具有一第一補數單元121、一電性連接該第一補數單元121之第一加法器122、一電性連接該第一補數單元121及該第一加法器122之第二係數單元124、一電性連接該第一加法器122之平方器125、一電性連接該第一補數單元121及該平方器125之第一係數單元123、一電性連接該第一補數單元121之第三係數單元126、一電性連接該第一係數單元123及該第三係數單元126之第二加法器127以及一電性連接該第二加法器127之第二補數單元128,該直接頻率合成器100係藉由上述電路架構,並採用一種應用於該直接頻率合成器100之二階非均分拋物線取樣法以達成高頻譜純度之功效,該取樣法之方程式係為y=ai*(x+bi)2+ci(1≦i≦M),其中y 為弦波振福、ai為該第一係數單元123所產生之第一係數,係用以控制弦波之斜率、bi為該第二係數單元124所產生之第二係數,係用以控制弦波之上下移動、ci為該第三係數單元126所產生之第三係數,係用以控制弦波之左右移動、x為該第一補數單元121所產生之輸入訊號、M為四分之一弦波之切割線段數、i為非均分之區段。 Referring to FIG. 1 , a direct frequency synthesizer 100 includes a phase accumulator 110 and a phase amplitude converter 120 electrically connected to the phase accumulator 110. The phase amplitude converter 120 has a first complement unit 121, a first adder 122 electrically connected to the first complement unit 121, a first connection to the first complement unit 121, and the first adder. a second coefficient unit 124 of 122, a squarer 125 electrically connected to the first adder 122, a first coefficient unit 123 electrically connected to the first complement unit 121 and the squarer 125, and an electrical connection a third coefficient unit 126 of the first complement unit 121, a second adder 127 electrically connected to the first coefficient unit 123 and the third coefficient unit 126, and a second electrically coupled to the second adder 127 The two-complement unit 128, the direct frequency synthesizer 100 adopts the above circuit architecture, and adopts a second-order non-uniform parabola sampling method applied to the direct frequency synthesizer 100 to achieve high spectral purity, and the sampling method The equation is y=a i *(x+b i ) 2 +c i (1≦i≦M), where y is the sine wave vibration, a i is the first coefficient generated by the first coefficient unit 123, and is used to control the slope of the sine wave, and b i is the second The second coefficient generated by the coefficient unit 124 is used to control the upper and lower movement of the sine wave, and c i is the third coefficient generated by the third coefficient unit 126, which is used to control the left and right movement of the sine wave, and x is the first coefficient. The input signal generated by the complement unit 121, M is the number of cut line segments of the quarter-wave, and i is a non-equal segment.
請再參閱第1圖,在本實施例中,該第一補數單元121係電性連接該相位累加器110,且該相位累加器110係具有一第三加法器111及一暫存器112,該暫存器112電性連接該第三加法器111,該相位累加器110係用以提供該相位振幅轉換器120所需之相位,該第二補數單元128係電性連接該相位累加器110及該第一補數單元121,此外,該第一係數單元123係具有複數個選擇器123a、複數個第一移位暫存器123b及複數個第一多工器123c,各該選擇器123a係電性連接各該第一移位暫存器123b,各該第一移位暫存器123b係電性連接各該第一多工器123c,該些選擇器123a係電性連接該平方器125,該些第一多工器123c係電性連接該第一補數單元121及該第二加法器127,另外,該第二係數單元124係具有一第二移位暫存器124a及一電性連接該第二移位暫存器124a之第二多工器124b,該第二多工器124b係電性連接該第一補數單元121及該第一加法器122,又,該第三係數單元126係具有一第三移位暫存器126a及一電性連接該第三移位暫存器126a之第三多工器126b,該第三多工器126b係電性連接該第一補數單元121及該第二加法器122,在本實施例中,其另具有一第四加法器130及一第四係數單元 140,該第四加法器130係電性連接該第二補數單元128,該第四係數單元140係電性連接該第四加法器130,該第四係數單元140係用以產生補償微調係數,以作為弦波訊號之最後修正。 Referring to FIG. 1 again, in the embodiment, the first complement unit 121 is electrically connected to the phase accumulator 110, and the phase accumulator 110 has a third adder 111 and a register 112. The register 112 is electrically connected to the third adder 111. The phase accumulator 110 is configured to provide a phase required by the phase amplitude converter 120. The second complement unit 128 is electrically connected to the phase accumulating. The first coefficient unit 123 has a plurality of selectors 123a, a plurality of first shift registers 123b and a plurality of first multiplexers 123c, each of which is selected. Each of the first shift register 123b is electrically connected to each of the first multiplexers 123c, and the selectors 123a are electrically connected to the first shift register 123b. The squarer 125 is electrically connected to the first complement unit 121 and the second adder 127. In addition, the second coefficient unit 124 has a second shift register 124a. And a second multiplexer 124b electrically connected to the second shift register 124a, the second multiplexer 124b is electrically connected The first complement unit 121 and the first adder 122, the third coefficient unit 126 has a third shift register 126a and a third electrically coupled register 126a. The third multiplexer 126b is electrically connected to the first complement unit 121 and the second adder 122. In this embodiment, the fourth multiplexer 126b further has a fourth adder 130 and a first Four coefficient unit The fourth adder 130 is electrically connected to the second complement unit 128. The fourth coefficient unit 140 is electrically connected to the fourth adder 130, and the fourth coefficient unit 140 is configured to generate a compensation trimming coefficient. As the final correction of the sine wave signal.
請再參閱第1圖,該直接頻率合成器100之控制方法如下,輸入共32位元之相位累加單位於該相位累加器110中,接下來,將該相位累加器110之輸出以相位截斷技術取得20位元,並將其最高位元[19]當作控制輸出弦波上下對稱的控制訊號,另將次高位元[18]當作控制輸出弦波之左右對稱的控制訊號,之後,將剩餘18位元之輸入訊號x與該第二係數單元124所產生之第二係數bi相加後,經由該平方器125平方,再以該第一係數單元123之位移功能而達到乘法之效果,在本實施例中,透過該第一係數單元123之該些選擇器123a選擇所對應之弦波區段斜率,各該選擇器123a係能選擇16段非均分區段位移量之其中一段,將選擇後之12組位移量相加即為對應之弦波區段斜率,最後,將位移後之訊號與該第三係數單元126所產生之第三係數ci相加,即完成非均分拋物線內插法之模擬弦波運算。請參閱第2圖及第3圖所示,本發明係透過軟體進行分均分取樣法與均分取樣法之模擬,由模擬結果可知,非均分取樣法之無雜散動態範圍(Spurious-free Dynamic Range,SFDR)為68.67dB,均分取樣法之無雜散動態範圍為64.72dB,非均分較均分取樣法之無雜散動態範圍提升3.95dB,其改善原因在於我們將弦波中較為線性的區段以同一斜率進行位移運算,而其餘斜率變動較大的弦波區段則均分為15等分, 因此其模擬之弦波相較於均分取樣法更趨近於理想弦波。 Referring to FIG. 1 again, the direct frequency synthesizer 100 is controlled as follows. A phase accumulating unit of a total of 32 bits is input to the phase accumulator 110. Next, the output of the phase accumulator 110 is phase truncated. Obtain 20 bits, and use the highest bit [19] as the control signal for controlling the upper and lower symmetry of the output sine wave, and the sub-high bit [18] as the control signal for controlling the left and right symmetry of the output sine wave. The remaining 18-bit input signal x is added to the second coefficient b i generated by the second coefficient unit 124, and then squared by the squarer 125, and then the multiplication effect is achieved by the displacement function of the first coefficient unit 123. In this embodiment, the selectors 123a of the first coefficient unit 123 select the slope of the corresponding sine wave segment, and each of the selectors 123a can select one of the 16 segments of the non-average segment displacement amount. Adding the selected 12 sets of displacements is the slope of the corresponding sine wave segment, and finally, adding the shifted signal to the third coefficient c i generated by the third coefficient unit 126, that is, completing the non-equalization Parabolic interpolation Count. Referring to Figures 2 and 3, the present invention simulates the split-score sampling method and the average-sampling method through software. From the simulation results, the spurious-free dynamic range of the non-uniform sampling method (Spurious- The free dynamic range (SFDR) is 68.67dB, the spurious-free dynamic range of the equal-sampling method is 64.72dB, and the spurious-free dynamic range of the non-averaged equal-sampling method is 3.95dB. The improvement is due to the sine wave. The more linear segments are shifted by the same slope, and the other sine wave segments with larger slope changes are divided into 15 equal parts, so the simulated sine wave is closer to ideal than the even sampling method. Sine wave.
本發明係藉由該第一加法器122、該第二加法器127、該平方器125、該第一係數單元123、該第二係數單元124及該第三係數單元126,並利用數學方程式採逼近法,以求取進似理想弦波之輸出,由於本發明所模擬之弦波和理想弦波之誤差能有效降低,因此本發明具有高頻譜純度之特性,此外,當本發明應用於蛋白質頻移偵測時,由於直接頻率合成器100具有高頻譜純度特性,因此可確保中心頻率在掃頻的範圍內有最高之可判斷峰值。 The present invention utilizes the first adder 122, the second adder 127, the squarer 125, the first coefficient unit 123, the second coefficient unit 124, and the third coefficient unit 126, and utilizes mathematical equations. The approximation method is used to obtain the output of the ideal sine wave. Since the error of the sine wave and the ideal sine wave simulated by the present invention can be effectively reduced, the present invention has the characteristics of high spectral purity, and further, when the present invention is applied to proteins In the frequency shift detection, since the direct frequency synthesizer 100 has a high spectral purity characteristic, it is ensured that the center frequency has the highest judging peak in the range of the sweep frequency.
本發明之保護範圍當視後附之申請專利範圍所界定者為準,任何熟知此項技藝者,在不脫離本發明之精神和範圍內所作之任何變化與修改,均屬於本發明之保護範圍。 The scope of the present invention is defined by the scope of the appended claims, and any changes and modifications made by those skilled in the art without departing from the spirit and scope of the invention are within the scope of the present invention. .
100‧‧‧直接頻率合成器 100‧‧‧Direct frequency synthesizer
110‧‧‧相位累加器 110‧‧‧ phase accumulator
111‧‧‧第三加法器 111‧‧‧ third adder
112‧‧‧暫存器 112‧‧‧ register
120‧‧‧相位振幅轉換器 120‧‧‧Phase Amplitude Converter
121‧‧‧第一補數單元 121‧‧‧First complement unit
122‧‧‧第一加法器 122‧‧‧First Adder
123‧‧‧第一係數單元 123‧‧‧First coefficient unit
123a‧‧‧選擇器 123a‧‧‧Selector
123b‧‧‧第一移位暫存器 123b‧‧‧First shift register
123c‧‧‧第一多工器 123c‧‧‧First multiplexer
124‧‧‧第二係數單元 124‧‧‧Second coefficient unit
124a‧‧‧第二移位暫存器 124a‧‧‧Second shift register
124b‧‧‧第二多工器 124b‧‧‧Second multiplexer
125‧‧‧平方器 125‧‧‧ square
126‧‧‧第三係數單元 126‧‧‧ third coefficient unit
126a‧‧‧第三移位暫存器 126a‧‧‧ Third shift register
126b‧‧‧第二多工器 126b‧‧‧Second multiplexer
127‧‧‧第二加法器 127‧‧‧second adder
128‧‧‧第二補數單元 128‧‧‧second complement unit
130‧‧‧第四加法器 130‧‧‧fourth adder
140‧‧‧第四係數單元 140‧‧‧fourth coefficient unit
200‧‧‧直接頻率合成器 200‧‧‧Direct frequency synthesizer
210‧‧‧相位累加器 210‧‧‧ phase accumulator
220‧‧‧唯讀記憶體 220‧‧‧Read-only memory
221‧‧‧記憶體 221‧‧‧ memory
222‧‧‧數位運算單元 222‧‧‧Digital unit
223‧‧‧輸出級 223‧‧‧Output level
230‧‧‧數位類比轉換器 230‧‧‧Digital Analog Converter
第1圖:依據本發明之一較佳實施例,一種直接頻率合成器之電路圖。 Figure 1 is a circuit diagram of a direct frequency synthesizer in accordance with a preferred embodiment of the present invention.
第2圖:依據本發明之一較佳實施例,該直接頻率合成器以非均分取樣法所模擬之模擬圖。 Figure 2: A simulation of the direct frequency synthesizer simulated by a non-uniform sampling method in accordance with a preferred embodiment of the present invention.
第3圖:依據本發明之一較佳實施例,該直接頻率合成器以均分取樣法所模擬之模擬圖。 Figure 3: A simulation diagram of the direct frequency synthesizer simulated by a uniform sampling method in accordance with a preferred embodiment of the present invention.
第4圖:習知直接頻率合成器之電路方塊圖。 Figure 4: Circuit block diagram of a conventional direct frequency synthesizer.
100‧‧‧直接頻率合成器 100‧‧‧Direct frequency synthesizer
110‧‧‧相位累加器 110‧‧‧ phase accumulator
111‧‧‧第三加法器 111‧‧‧ third adder
112‧‧‧暫存器 112‧‧‧ register
120‧‧‧相位振幅轉換器 120‧‧‧Phase Amplitude Converter
121‧‧‧第一補數單元 121‧‧‧First complement unit
122‧‧‧第一加法器 122‧‧‧First Adder
123‧‧‧第一係數單元 123‧‧‧First coefficient unit
123a‧‧‧選擇器 123a‧‧‧Selector
123b‧‧‧第一移位暫存器 123b‧‧‧First shift register
123c‧‧‧第一多工器 123c‧‧‧First multiplexer
124‧‧‧第二係數單元 124‧‧‧Second coefficient unit
124a‧‧‧第二移位暫存器 124a‧‧‧Second shift register
124b‧‧‧第二多工器 124b‧‧‧Second multiplexer
125‧‧‧平方器 125‧‧‧ square
126‧‧‧第三係數單元 126‧‧‧ third coefficient unit
126a‧‧‧第三移位暫存器 126a‧‧‧ Third shift register
126b‧‧‧第二多工器 126b‧‧‧Second multiplexer
127‧‧‧第二加法器 127‧‧‧second adder
128‧‧‧第二補數單元 128‧‧‧second complement unit
130‧‧‧第四加法器 130‧‧‧fourth adder
140‧‧‧第四係數單元 140‧‧‧fourth coefficient unit
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100125024A TWI469528B (en) | 2011-07-14 | 2011-07-14 | Direct digital frequency synthesizer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100125024A TWI469528B (en) | 2011-07-14 | 2011-07-14 | Direct digital frequency synthesizer |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201304425A TW201304425A (en) | 2013-01-16 |
TWI469528B true TWI469528B (en) | 2015-01-11 |
Family
ID=48138280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100125024A TWI469528B (en) | 2011-07-14 | 2011-07-14 | Direct digital frequency synthesizer |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI469528B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI651937B (en) * | 2017-11-23 | 2019-02-21 | 國立中山大學 | Rom-less direct digital frequency synthesizer |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI634751B (en) * | 2017-06-19 | 2018-09-01 | 國立中山大學 | Rom-less direct frequency synthesizer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7715472B2 (en) * | 2005-10-25 | 2010-05-11 | Broadcom Corporation | Equalizer architecture for data communication |
US20100118201A1 (en) * | 2008-11-13 | 2010-05-13 | So-Young Jeong | Sound zooming apparatus and method synchronized with moving picture zooming function |
TW201021427A (en) * | 2008-11-26 | 2010-06-01 | Univ Nat Sun Yat Sen | Direct digital frequency synthesizer and method for calculating coefficients |
-
2011
- 2011-07-14 TW TW100125024A patent/TWI469528B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7715472B2 (en) * | 2005-10-25 | 2010-05-11 | Broadcom Corporation | Equalizer architecture for data communication |
US20100118201A1 (en) * | 2008-11-13 | 2010-05-13 | So-Young Jeong | Sound zooming apparatus and method synchronized with moving picture zooming function |
TW201021427A (en) * | 2008-11-26 | 2010-06-01 | Univ Nat Sun Yat Sen | Direct digital frequency synthesizer and method for calculating coefficients |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI651937B (en) * | 2017-11-23 | 2019-02-21 | 國立中山大學 | Rom-less direct digital frequency synthesizer |
Also Published As
Publication number | Publication date |
---|---|
TW201304425A (en) | 2013-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104753502B (en) | A kind of DDS signal generator and its implementation based on FPGA | |
CN109521992B (en) | Linear frequency modulation signal generation method without multiplier based on CORDIC algorithm | |
TWI469528B (en) | Direct digital frequency synthesizer | |
CN109104169B (en) | Signal synthesis method of parallel-architecture high-speed triangular wave signal generator | |
US8583714B2 (en) | ROM-based direct digital synthesizer with pipeline delay circuit | |
JP3752237B2 (en) | A / D converter | |
KR101085106B1 (en) | Direct digital frequency synthesizer using hybrid digital to analog converter and synthesizing method thereof | |
JP2013025467A (en) | Approximation operation circuit for logarithmic function | |
US9098426B2 (en) | Digital serial multiplier | |
CN102891680B (en) | Direct frequency synthesizer | |
EP3082255B1 (en) | Device and method for generating sine wave | |
CN102394644A (en) | Fitting method of cosine signal | |
JP6724515B2 (en) | AD converter | |
JP5206603B2 (en) | Shift calculator | |
KR20160101509A (en) | Frequency synthesizer using nonlinear digital to analog converter and method thereof | |
TWI634751B (en) | Rom-less direct frequency synthesizer | |
JP7547046B2 (en) | Data conversion device, data conversion method, and program | |
Abd El-Azeem et al. | High performance interpolation filter using direct computation | |
JPS594061B2 (en) | Interpolation calculation circuit | |
JP5528096B2 (en) | Signal processing apparatus, signal processing method, and program | |
CN113595552B (en) | Nonlinear calibration method and device applied to digital-to-analog converter | |
JP2021093667A (en) | Signal output device | |
Pfleiderer et al. | Numerically controlled oscillator with spur reduction | |
TWI237448B (en) | Method for interleaving data frame and circuit thereof | |
KR20070069259A (en) | A definite galua field conveter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |