CN101854172A - Numerical control oscillator parallel design method based on two-dimensional sine table - Google Patents
Numerical control oscillator parallel design method based on two-dimensional sine table Download PDFInfo
- Publication number
- CN101854172A CN101854172A CN200910081281A CN200910081281A CN101854172A CN 101854172 A CN101854172 A CN 101854172A CN 200910081281 A CN200910081281 A CN 200910081281A CN 200910081281 A CN200910081281 A CN 200910081281A CN 101854172 A CN101854172 A CN 101854172A
- Authority
- CN
- China
- Prior art keywords
- phase
- sine table
- dimensional sine
- parallel
- numerical control
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Landscapes
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
Abstract
The invention discloses a numerical control oscillator parallel design method based on a two-dimensional sine table, which comprises the following steps that: step 1: a group of two-dimensional sine table which comprises a plurality of rows and a plurality of lines of data is established; step 2: a phase accumulator is driven by a working lock to produce a digital phase accumulated valve according to a frequency control word, and outputs the same to a phase truncation device; step 3: the phase truncation device truncates the digital phase accumulated valve, converts the phase accumulated value into the address of a lookup table, and outputs the value to the two-dimensional sine table; step 4: the address of the lookup table serves a line number to search the two-dimensional sine table, searches and outputs a line of data of the sine table every time, is driven by the working clock, and continuously outputs and obtains M circuits of parallel digital sequences; comprised the traditional parallel numerical control oscillators, the novel parallel numerical control oscillator design method has higher delay resolution, better phase continuity and less hardware resource consumption.
Description
Technical field
The present invention relates generally to a kind of method for designing of digital controlled oscillator, relates in particular to a kind of numerical control oscillator parallel design method based on two-dimensional sine table.
Background technology
In recent years, along with Direct Digital frequency synthesis (DDS, Direct Digital Synthesis) development of technology, digital controlled oscillator (NCO, Numberically Controlled Oscillator) as the core of DDS, because advantages such as its output signal frequency precision height, switching time is short, control is simple have obtained using widely in many aspects such as radar, communication, radio and television, instrument and meters.
Digital controlled oscillator mainly comprises phase accumulator and function generator two large divisions.Phase accumulator adds up to the frequency control word of input, obtain the digit phase of each clock cycle correspondence, again with in this digit phase input function generator, table look-up or after a series of phase-magnitude changes, just can obtain the sin cos functions value corresponding with input phase.
When utilizing hardware to realize digital controlled oscillator, be subject to the working clock frequency of hardware platform, often need to adopt parallel structure.Fig. 1 shows the structured flowchart of existing four tunnel parallel digital controlled oscillators, existing parallel digital controlled oscillator comprises a phase accumulator 101, four phase regulators 102,103,104,105, four identical phase truncation devices 106,107,108,109, and four identical sine tables 110,111,112,113.Four phase regulators are responsible for adjusting the phase difference between four road parallel signals, make four way word signals of final output can realize the splicing of frequency and phase place, obtain one road sinusoidal digital signal continuous, Quad Data Rate.
Though this implementation structure has reduced clock frequency, the hardware resource of digital controlled oscillator consumption is doubled, computation complexity increases, and the strict phase relation between each road parallel signal is difficult to guarantee.
Summary of the invention
The invention provides a kind of numerical control oscillator parallel design method, can reduce of the consumption of parallel digital controlled oscillator, improve the phase continuity of output Serial No. hardware resource based on two-dimensional sine table.
Described numerical control oscillator parallel design method based on two-dimensional sine table comprises the steps:
The first step: set up one group of two-dimensional sine table, comprise several rows, some columns certificates; The data member of every row is represented the some sampled points of every road parallel signal in the sinusoidal wave monocycle, and the data member of every row is represented each sinusoidal sampled point of each road parallel signal constantly, and each phase difference of going between two adjacent data members is
Each phase difference that is listed as between two adjacent data members is
Wherein, f
CLKBe working clock frequency, f
0Be the centre frequency of digital controlled oscillator, M is the number of parallel signal, and H is the columns of two-dimensional sine table, i.e. sampling number in each sinusoidal wave monocycle;
Second step: phase accumulator produces the digit phase accumulated value according to frequency control word, and exports to the phase truncation device under the driving of work clock;
The 3rd step: the phase truncation device blocks the phase-accumulated value of numeral, and phase-accumulated value is converted to the look-up table address, and exports two-dimensional sine table to;
The 4th step: the look-up table address number is used for searching two-dimensional sine table as row, searches a columns certificate of output sine table at every turn, and under work clock drove, output obtained the parallel Serial No. in M road continuously, and the sample rate of Serial No. is f
CLK, centre frequency is f
0
Beneficial effect of the present invention:
This new parallel digital controlled oscillator method for designing of the present invention, more existing parallel digital controlled oscillator time delay resolution is higher, and phase continuity is better, less hardware resource consumption.
Description of drawings
Fig. 1 is the block diagram that existing four tunnel parallel digital controlled oscillators are shown;
Fig. 2 is the block diagram based on four tunnel parallel digital controlled oscillators of two-dimensional sine table that illustrates according to exemplary embodiment of the present invention;
Fig. 3 is the block diagram that illustrates according to the two-dimensional sine table in the parallel digital controlled oscillator of exemplary embodiment of the present invention;
Embodiment
Reference is below in conjunction with the detailed description of accompanying drawing to exemplary embodiment, and the method for advantage of the present invention and characteristics and realization can more easily be understood.
Fig. 2 is the block diagram based on four tunnel parallel digital controlled oscillators of two-dimensional sine table according to exemplary embodiment of the present invention.Digital controlled oscillator according to exemplary embodiment of the present invention comprises: phase accumulator 202, phase truncation device 203 and two-dimensional sine table 204.
Accumulator 202 is with frequency control word f
DDSBe step-length, under the driving of clock, produce phase-accumulated value φ
Acc, and the phase-accumulated value φ that will produce
AccOutput to phase truncation device 203.
Frequency control word f
DDSCan determine by following formula:
Wherein, f
CLKBe working clock frequency, f
0Be the centre frequency of digital controlled oscillator, N is phase-accumulated value φ
AccNumber of bits.
Then, the phase-accumulated value φ of 203 pairs of generations of phase truncation device
AccBlock, be about to phase-accumulated value φ
AccW the binary digit that move to right, what obtain sine table searches address φ
Tab, the figure place that moves to right W can calculate by following formula:
W=N-log
2H
Wherein, N is phase-accumulated value φ
AccNumber of bits, H is the length of two-dimensional sine table 204, it is the sampling number in each sinusoidal wave monocycle, in the present embodiment, it is any positive integer of 2 time power that H can be chosen for as required, it only can influence the signal to noise ratio of digital controlled oscillator output sequence and spuious, can not influence the basic function of digital controlled oscillator.
Fig. 3 illustrates the block diagram according to the two-dimensional sine table in the parallel digital controlled oscillator shown in Figure 2 of exemplary embodiment of the present invention.
The one-dimension array structure that is different from traditional sine table, two-dimensional sine table are a kind of two-dimensional array structures, have 4 row, H row.Data member is considered to generate from the angle of phase place: each phase difference of going between two adjacent data members is
Each phase difference that is listed as between two adjacent data members is
The numerical value of the data member of sine table calculates by following formula:
Wherein, A is the quantization amplitude of sine table; M is the row number of sine table, and value gets 0,1,2,3; N is the row number of sine table, and value gets 0,1 ..., H-1.
Sine table lookup address φ
TabNumber be used to search two-dimensional sine table as row.Once search output one columns certificate, promptly four sampled points under work clock drives, are exported continuously and are obtained four way word sequence S
OSC1, S
OSC2, S
OSC3And S
OSC4Four way word sequence S
OSC1, S
OSC2, S
OSC3And S
OSC4Centre frequency be f
0, initial phase is followed successively by 0,
Two-dimensional sine table can design in mathematical softwares such as Matlab in advance and finish, and the double-precision floating point computing among the Matlab is higher than the fixed-point calculation precision in the hardware, and is beneficial to the processing that rounds up, and reduces the error of calculation.
Claims (1)
1. the numerical control oscillator parallel design method based on two-dimensional sine table is characterized in that: comprise the steps:
The first step: set up one group of two-dimensional sine table, comprise several rows, some columns certificates; The data member of every row is represented the some sampled points of every road parallel signal in the sinusoidal wave monocycle, and the data member of every row is represented each sinusoidal sampled point of each road parallel signal constantly, and each phase difference of going between two adjacent data members is
Each phase difference that is listed as between two adjacent data members is
Wherein, f
CLKBe working clock frequency, f
0Be the centre frequency of digital controlled oscillator, M is the number of parallel signal, and H is the columns of two-dimensional sine table, i.e. sampling number in each sinusoidal wave monocycle;
Second step: phase accumulator produces the digit phase accumulated value according to frequency control word, and exports to the phase truncation device under the driving of work clock;
The 3rd step: the phase truncation device blocks the phase-accumulated value of numeral, and phase-accumulated value is converted to the look-up table address, and exports two-dimensional sine table to;
The 4th step: the look-up table address number is used for searching two-dimensional sine table as row, searches a columns certificate of output sine table at every turn, and under work clock drove, output obtained the parallel Serial No. in M road continuously, and the sample rate of Serial No. is f
CLK, centre frequency is f
0
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910081281 CN101854172B (en) | 2009-04-01 | 2009-04-01 | Numerical control oscillator parallel design method based on two-dimensional sine table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910081281 CN101854172B (en) | 2009-04-01 | 2009-04-01 | Numerical control oscillator parallel design method based on two-dimensional sine table |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101854172A true CN101854172A (en) | 2010-10-06 |
CN101854172B CN101854172B (en) | 2013-01-09 |
Family
ID=42805472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910081281 Expired - Fee Related CN101854172B (en) | 2009-04-01 | 2009-04-01 | Numerical control oscillator parallel design method based on two-dimensional sine table |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101854172B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103427837A (en) * | 2013-08-27 | 2013-12-04 | 东南大学 | Method for generating wideband numerical control oscillation signal |
CN105450256A (en) * | 2015-11-16 | 2016-03-30 | 中国电子科技集团公司第十研究所 | Broadband frequency hopping digital signal generation system |
US10156135B2 (en) | 2015-04-08 | 2018-12-18 | Halliburton Energy Services, Inc. | Phase compensated fixed-point numerically controlled oscillator for downhole logging |
CN111984056A (en) * | 2020-07-10 | 2020-11-24 | 中国人民解放军战略支援部队航天工程大学 | GPU (graphics processing Unit) texture cache and accumulated error compensation based numerically-controlled oscillator and implementation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3675146A (en) * | 1971-03-08 | 1972-07-04 | J Michael Langham | Digital variable frequency oscillator |
CN1355655A (en) * | 2000-11-23 | 2002-06-26 | 华为技术有限公司 | Digital method for generating local oscillation signal and numeral controlled oscillator |
CN1437316A (en) * | 2002-02-08 | 2003-08-20 | 刘建 | Numerically controlled vibrator and its sinusoidal and cosine signal generating method |
US20080304609A1 (en) * | 2007-06-06 | 2008-12-11 | Losic Novica A | Phase/frequency estimator-based phase locked loop |
CN101335509A (en) * | 2007-06-29 | 2008-12-31 | 大唐移动通信设备有限公司 | Method and digital control oscillator for sinusoidal and cosine signal generator |
-
2009
- 2009-04-01 CN CN 200910081281 patent/CN101854172B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3675146A (en) * | 1971-03-08 | 1972-07-04 | J Michael Langham | Digital variable frequency oscillator |
CN1355655A (en) * | 2000-11-23 | 2002-06-26 | 华为技术有限公司 | Digital method for generating local oscillation signal and numeral controlled oscillator |
CN1437316A (en) * | 2002-02-08 | 2003-08-20 | 刘建 | Numerically controlled vibrator and its sinusoidal and cosine signal generating method |
US20080304609A1 (en) * | 2007-06-06 | 2008-12-11 | Losic Novica A | Phase/frequency estimator-based phase locked loop |
CN101335509A (en) * | 2007-06-29 | 2008-12-31 | 大唐移动通信设备有限公司 | Method and digital control oscillator for sinusoidal and cosine signal generator |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103427837A (en) * | 2013-08-27 | 2013-12-04 | 东南大学 | Method for generating wideband numerical control oscillation signal |
CN103427837B (en) * | 2013-08-27 | 2016-01-27 | 东南大学 | A kind of broadband digital oscillator generation method |
US10156135B2 (en) | 2015-04-08 | 2018-12-18 | Halliburton Energy Services, Inc. | Phase compensated fixed-point numerically controlled oscillator for downhole logging |
CN105450256A (en) * | 2015-11-16 | 2016-03-30 | 中国电子科技集团公司第十研究所 | Broadband frequency hopping digital signal generation system |
CN111984056A (en) * | 2020-07-10 | 2020-11-24 | 中国人民解放军战略支援部队航天工程大学 | GPU (graphics processing Unit) texture cache and accumulated error compensation based numerically-controlled oscillator and implementation method |
Also Published As
Publication number | Publication date |
---|---|
CN101854172B (en) | 2013-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101807089B (en) | Waveform signal generator with optionally adjustable output signal offset | |
CN107819456B (en) | High-precision delay generator based on FPGA carry chain | |
CN106802593B (en) | Radar echo simulator high-precision delay control method and radar echo simulator | |
CN102882517B (en) | Device and method for generating low-distortion low-frequency sinusoidal signal | |
CN105404495B (en) | For modulating the high speed PRBS generator and method for generation of wide-band transducer | |
CN101247137B (en) | Ultra-broadband analogue signal parallel sampling system based on accidental projection | |
CN101854172B (en) | Numerical control oscillator parallel design method based on two-dimensional sine table | |
CN109521992B (en) | Linear frequency modulation signal generation method without multiplier based on CORDIC algorithm | |
CN109085879A (en) | A kind of high-precision DDS frequency synthesizer for the multi-functional calibration platform of electricity | |
CN101109973A (en) | Waveform generator based on direct numerical frequency synthesizer | |
CN101509968A (en) | High dynamic high precision intermediate frequency simulation satellite signal generating method | |
CN104462689A (en) | Linear nearest neighbor quantum circuit generator | |
CN102929837B (en) | High-speed fixed point fast fourier transformation (FFT) processor based on field programmable gate array (FPGA) and processing method for high-speed fixed point FFT processor | |
CN102346809B (en) | Method for converting blasting-vibration acceleration into velocity | |
CN107436619A (en) | A kind of high-precision low-cost digital sine wave generating device | |
CN106972833A (en) | It is a kind of can any multiple resampling digital up converter | |
CN100392976C (en) | High order sigmatriangle noise shaping interpolator for direct digital frequency synthesis | |
CN103365827A (en) | Computing method of high-precision sine/cosine function | |
CN103095297B (en) | Method for generating accurate frequency by direct digital frequency synthesizer | |
Liu et al. | Method of high timing resolution pulse synthesis based on virtual sampling | |
CN105302225B (en) | A kind of production method of guinea pig echo frequency signal | |
Shan et al. | Design and implementation of a FPGA-based direct digital synthesizer | |
Ryabov et al. | Physical work principles of digital computational synthesizers of multiphase signals | |
CN101894095B (en) | Fast Hadama changer and method | |
CN103065039B (en) | A kind of High-accuracy sine/cosine function calculation method based on Euler's formula |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130109 Termination date: 20150401 |
|
EXPY | Termination of patent right or utility model |