[go: up one dir, main page]

CN102571083B - The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system - Google Patents

The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system Download PDF

Info

Publication number
CN102571083B
CN102571083B CN201010606218.3A CN201010606218A CN102571083B CN 102571083 B CN102571083 B CN 102571083B CN 201010606218 A CN201010606218 A CN 201010606218A CN 102571083 B CN102571083 B CN 102571083B
Authority
CN
China
Prior art keywords
clock
phase
quadrature
wave
generating
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.)
Active
Application number
CN201010606218.3A
Other languages
Chinese (zh)
Other versions
CN102571083A (en
Inventor
王悦
王铁军
李维森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rigol Technologies Inc
Original Assignee
Beijing Rigol Technologies Inc
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 Beijing Rigol Technologies Inc filed Critical Beijing Rigol Technologies Inc
Priority to CN201010606218.3A priority Critical patent/CN102571083B/en
Publication of CN102571083A publication Critical patent/CN102571083A/en
Application granted granted Critical
Publication of CN102571083B publication Critical patent/CN102571083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)

Abstract

本发明实施例提供一种数字控制振荡器、正交载波的产生方法及正交调幅调制系统,该数字控制振荡器包括:DDS地址累加器、相位寄存器、相位加法器、合路开关、波表存储器和分路开关。通过本发明实施例,产生的正交载波具有严格的相位正交性和幅度一致性,增益误差小;并且载波频率分辨率高、切换时间短、载波相位连续;此外,设备结构简单、成本低。

Embodiments of the present invention provide a digitally controlled oscillator, a method for generating a quadrature carrier wave, and a quadrature amplitude modulation system. The digitally controlled oscillator includes: a DDS address accumulator, a phase register, a phase adder, a combiner switch, and a wave table memory and shunt switch. Through the embodiment of the present invention, the generated orthogonal carrier has strict phase orthogonality and amplitude consistency, and the gain error is small; and the carrier frequency resolution is high, the switching time is short, and the carrier phase is continuous; in addition, the device structure is simple and the cost is low .

Description

数字控制振荡器、正交载波的产生方法及正交调幅调制系统Digital control oscillator, quadrature carrier generation method and quadrature amplitude modulation modulation system

技术领域 technical field

本发明涉及正交调幅调制技术领域,特别涉及一种数字控制振荡器、正交载波的产生方法及正交调幅调制系统。The invention relates to the technical field of quadrature amplitude modulation, in particular to a digitally controlled oscillator, a method for generating a quadrature carrier and a quadrature amplitude modulation system.

背景技术 Background technique

正交幅度调制(QAM,QuadratureAmplitudeModulation)是一种振幅和相位相结合的高阶调制方式,具有较高的频带利用率和较好的功率利用率。因此被广泛应用于中、大容量数字微波通信系统、有线电视网络高数据传输、卫星通信等领域。Quadrature Amplitude Modulation (QAM, QuadratureAmplitudeModulation) is a high-order modulation method that combines amplitude and phase, and has higher frequency band utilization and better power utilization. Therefore, it is widely used in medium and large capacity digital microwave communication systems, high data transmission of cable television networks, satellite communications and other fields.

所谓正交振幅调制,就是用两个独立的基带波形对两个相互正交的同频载波进行抑制载波的双边带调制,利用这种已调信号在同一带宽内频谱的正交性来实现两路并行的数字信息传输。所以,两个载波的正交性(幅度差、相位差、频率差)对QAM调制系统具有很大的影响。The so-called quadrature amplitude modulation is to use two independent baseband waveforms to suppress the double sideband modulation of two mutually orthogonal carriers of the same frequency. Parallel transmission of digital information. Therefore, the orthogonality (amplitude difference, phase difference, frequency difference) of the two carriers has a great influence on the QAM modulation system.

QAM信号的一般表达式为:s(t)=I·cos(ωct)+Q·sin(ωct),其中I、Q为基带信号,cos(ωct)、sin(ωct)为两个正交的载波。The general expression of QAM signal is: s(t)=I cos(ωct)+Q sin(ωct), where I and Q are baseband signals, cos(ωct) and sin(ωct) are two orthogonal carrier.

基于上述公式的笛卡儿架构的QAM调制方案的实现方框图如图1所示。这种结构的QAM调制器通常包含编码器101,脉冲整形滤波器102、103,载波产生模块104,两个乘法器105、106,以及加法器107。编码器101首先对输入位流作电平转换分成两路,再分别映射到星座图中的星座点的位置,形成同相(I,In_phase)信号和正交(Q,Quadrature)信号。为了减少码间干扰以及提高频谱利用率,让I和Q分别通过脉冲整形滤波器102、103,通常是平方根升余弦滤波器。滤波后的输出分别与相互正交的两路载波相乘,以分别产生同相和正交分量,并将两路分量相加就可以得到已调QAM输出信号s(t)。The realization block diagram of the QAM modulation scheme of the Cartesian architecture based on the above formula is shown in Fig. 1 . A QAM modulator of this structure generally includes an encoder 101 , pulse shaping filters 102 , 103 , a carrier generation module 104 , two multipliers 105 , 106 , and an adder 107 . The encoder 101 first performs level conversion on the input bit stream and divides it into two channels, and then maps them to the positions of the constellation points in the constellation diagram respectively to form an in-phase (I, In_phase) signal and a quadrature (Q, Quadrature) signal. In order to reduce intersymbol interference and improve spectrum utilization, I and Q are respectively passed through pulse shaping filters 102 and 103, usually square root raised cosine filters. The output after filtering is multiplied by two carrier waves which are orthogonal to each other to generate in-phase and quadrature components respectively, and the QAM output signal s(t) can be obtained by adding the two components together.

上述正交调制实现过程有模拟和数字两种方法。由于模拟器件的一致性和稳定性都不够理想,因此很难保证两路正交通路之间幅度的一致性及相位的正交性,这就大大影响了系统的性能。随着数字技术的飞速发展,数字方法实现正交调制由于具有较好的正交性而得到广泛的采用。There are two methods for realizing the above-mentioned quadrature modulation: analog and digital. Since the consistency and stability of the analog devices are not ideal, it is difficult to ensure the consistency of the amplitude and the orthogonality of the phase between the two quadrature paths, which greatly affects the performance of the system. With the rapid development of digital technology, digital methods to realize quadrature modulation are widely used because of their better orthogonality.

目前,已经出现数字方法实现正交调制的技术方案。文献《DDS在正交调制技术中的应用》(《电子技术应用》,2002年,第28卷,第03期)公开了一种基于笛卡儿架构的直接数字频率合成(DDS,DirectDigitalSynthesizer)卫星调制电路。该电路以DDS芯片AD9854作为核心芯片产生两路正交载波。载波产生模块部分的原理框图如图2所示。它主要由高速数字信号处理器DSP、AD9854、时钟产生电路、带通滤波器、放大器、倍频器、开关电路等组成。At present, there have been technical solutions for realizing quadrature modulation by digital methods. The document "Application of DDS in Orthogonal Modulation Technology" ("Application of Electronic Technology", 2002, Volume 28, Issue 03) discloses a direct digital frequency synthesis (DDS, DirectDigitalSynthesizer) satellite based on Cartesian architecture modulation circuit. The circuit uses the DDS chip AD9854 as the core chip to generate two orthogonal carrier waves. The functional block diagram of the carrier generation module is shown in Figure 2. It is mainly composed of high-speed digital signal processor DSP, AD9854, clock generation circuit, band-pass filter, amplifier, frequency multiplier, switch circuit and so on.

其中,DDS芯片AD9854具有正交两路信号输出功能。根据对AD9854的杂散指标分析,它达不到输出频带内的宽带杂散指标要求,所以选择AD9854杂散抑制比较好的频段(实际输出频率的一半),然后再进行倍频。由于宽带输出信号的谐波抑制也很难做得好,所以先对AD9854输出的A、B两路信号进行分路,然后再分别倍频以提高谐波抑制度,同时进一步降低杂散。Among them, the DDS chip AD9854 has two orthogonal signal output functions. According to the analysis of the spurious index of AD9854, it can't reach the requirement of broadband spurious index in the output frequency band, so select the frequency band (half of the actual output frequency) with better spurious suppression of AD9854, and then perform frequency multiplication. Since the harmonic suppression of the broadband output signal is also difficult to do well, the A and B signals output by the AD9854 are first split, and then frequency multiplied to improve the harmonic suppression and further reduce the spurious.

以其中A通道为例,其中一路输出信号频率为26~35MHz,经放大、2倍频、滤波后输出52~70MHz信号;另一路输出35~44MHz信号,经放大、2倍频、滤波后输出70~88MHz信号,最终产生所要求的52~88MHz的正弦信号。B通道的原理与A通道相同。Taking channel A as an example, one of the output signals has a frequency of 26-35MHz, and outputs a 52-70MHz signal after being amplified, doubled, and filtered; the other one outputs a 35-44MHz signal, and is output after being amplified, doubled, and filtered. 70 ~ 88MHz signal, and finally produce the required sine signal of 52 ~ 88MHz. The principle of the B channel is the same as that of the A channel.

但是在实现本发明的过程中,发明人分析图2载波产生电路的实现过程,发现不可避免的存在如下问题:AD9854芯片本身价格不菲。而且,受限于AD9854芯片的杂散指标,该卫星调制电路还要根据不同的载波频段,对AD9854芯片输出的正交信号分别作放大、二倍频和带通滤波。因此该电路控制复杂、成本也很高。However, in the process of realizing the present invention, the inventor analyzed the realization process of the carrier generation circuit in Fig. 2 and found that the following problems inevitably existed: the AD9854 chip itself is expensive. Moreover, limited by the spurious index of the AD9854 chip, the satellite modulation circuit also performs amplification, frequency doubling and band-pass filtering on the quadrature signal output by the AD9854 chip according to different carrier frequency bands. Therefore, the circuit control is complicated and the cost is high.

并且,AD9854芯片输出的2路载波并非严格的相位正交,而是存在0.2~1度的相位偏差。由此产生的两路载波也会存在载波偏移误差。载波偏移不影响星座图上I、Q点的位置,对已调QAM信号质量不会造成很大的影响。但从已调信号的频谱上看,会出现基带泄露,因此需要带通滤波器将其滤除,否则会影响后续的功率放大电路。Moreover, the two carrier waves output by the AD9854 chip are not strictly in phase quadrature, but have a phase deviation of 0.2 to 1 degree. The resulting two-way carrier will also have a carrier offset error. Carrier offset does not affect the positions of I and Q points on the constellation diagram, and does not have a great impact on the quality of modulated QAM signals. However, from the frequency spectrum of the modulated signal, there will be baseband leakage, so a band-pass filter is required to filter it out, otherwise it will affect the subsequent power amplifier circuit.

此外,AD9854芯片内嵌了两个数字/模拟转换器(DAC)用于输出模拟的两路载波。由于制造工艺的限制,很难生产出理想的、完全线性的DAC。当把数字化的正弦波输入到一个实际的DAC,在DAC的输出端得到的不仅是一个正弦波,而且还有它的多次谐波分量(称为谐波失真)以及这些谐波分量的镜像分量。两路载波的谐波失真最终引起已调QAM信号失真,时域上出现寄生的幅度调制,频域上出现镜像干扰。由于这种失真与已调信号处于同一频段,很难使用带通滤波器滤除。In addition, the AD9854 chip embeds two digital/analog converters (DACs) for outputting two analog carriers. Due to the limitations of the manufacturing process, it is difficult to produce an ideal, completely linear DAC. When a digitized sine wave is input to an actual DAC, not only a sine wave is obtained at the output of the DAC, but also its multiple harmonic components (called harmonic distortion) and the mirror images of these harmonic components portion. The harmonic distortion of the two carriers eventually causes the modulated QAM signal to be distorted, spurious amplitude modulation appears in the time domain, and image interference appears in the frequency domain. Because this distortion is in the same frequency band as the modulated signal, it is difficult to filter it out with a bandpass filter.

发明内容 Contents of the invention

本发明实施例提供一种数字控制振荡器、正交载波的产生方法及正交调幅调制系统,目的在于使得正交载波具有严格的相位正交性和幅度一致性,避免增益误差,并且设备结构简单、节约成本。Embodiments of the present invention provide a digitally controlled oscillator, a method for generating a quadrature carrier, and a quadrature amplitude modulation system, with the purpose of making the quadrature carrier have strict phase orthogonality and amplitude consistency, avoiding gain errors, and Simple and cost-effective.

为达到上述目的,本发明实施例提供数字控制振荡器,该数字控制振荡器包括:DDS地址累加器、相位寄存器、相位加法器、合路开关、波表存储器、分路开关;In order to achieve the above object, the embodiment of the present invention provides a digitally controlled oscillator, which includes: a DDS address accumulator, a phase register, a phase adder, a combiner switch, a wavetable memory, and a shunt switch;

所述DDS地址累加器在第一时钟的作用下,对载波频率控制字进行累加,并将累加后的结果发送给相位寄存器和相位加法器;The DDS address accumulator accumulates the carrier frequency control word under the action of the first clock, and sends the accumulated result to the phase register and the phase adder;

所述相位寄存器在所述第一时钟的作用下,寄存和截位所述累加后的结果,获得产生正弦波的地址信息;Under the action of the first clock, the phase register registers and truncates the accumulated result to obtain address information for generating a sine wave;

所述相位加法器在所述第一时钟的作用下,截位所述累加后的结果后加上90°的相位偏移,获得产生余弦波的地址信息;Under the action of the first clock, the phase adder truncates the accumulated result and adds a phase offset of 90° to obtain address information for generating cosine waves;

所述合路开关在第二时钟的作用下,将所述产生正弦波的地址信息和所述产生余弦波的地址信息合并;所述第二时钟与所述第一时钟同源,且所述第二时钟的频率为所述第一时钟的频率的两倍;Under the action of the second clock, the combination switch combines the address information generating the sine wave and the address information generating the cosine wave; the second clock is of the same source as the first clock, and the the frequency of the second clock is twice the frequency of the first clock;

所述波表存储器在所述第二时钟的作用下,根据所述合路开关的结果对波表进行寻址并输出波表数据;Under the action of the second clock, the wavetable memory addresses the wavetable according to the result of the combiner switch and outputs wavetable data;

所述分路开关在所述第一时钟的作用下,根据所述波表数据输出余弦波信号和正弦波信号,产生所需的正交载波。Under the action of the first clock, the shunt switch outputs a cosine wave signal and a sine wave signal according to the wavetable data to generate a required quadrature carrier.

本发明实施例还提供一种正交载波的产生方法,所述方法包括:The embodiment of the present invention also provides a method for generating an orthogonal carrier, the method comprising:

在第一时钟的作用下,DDS地址累加器对载波频率控制字进行累加,并将累加后的结果发送给相位寄存器和相位加法器;Under the action of the first clock, the DDS address accumulator accumulates the carrier frequency control word, and sends the accumulated result to the phase register and the phase adder;

所述相位寄存器寄存和截位所述累加后的结果,获得产生正弦波的地址信息;所述相位加法器截位所述累加后的结果后加上90°的相位偏移,获得产生余弦波的地址信息;The phase register registers and truncates the accumulated result to obtain address information for generating a sine wave; the phase adder truncates the accumulated result and adds a 90° phase offset to obtain a cosine wave generated address information;

在第二时钟的作用下,合路开关将所述产生正弦波的地址信息和所述产生余弦波的地址信息合并;其中,所述第二时钟与所述第一时钟同源,且所述第二时钟的频率为所述第一时钟的频率的两倍;Under the action of the second clock, the combining switch combines the address information generating the sine wave and the address information generating the cosine wave; wherein, the second clock is of the same source as the first clock, and the the frequency of the second clock is twice the frequency of the first clock;

波表存储器根据所述合路开关的结果对波表进行寻址并输出波表数据;The wavetable memory addresses the wavetable according to the result of the combination switch and outputs wavetable data;

在所述第一时钟的作用下,分路开关根据所述波表数据输出余弦波信号和正弦波信号,产生所需的正交载波。Under the action of the first clock, the shunt switch outputs a cosine wave signal and a sine wave signal according to the wavetable data to generate a required quadrature carrier.

本发明实施例还提供一种正交调幅调制系统,所述正交调幅调制系统包括:现场可编程门阵列,所述现场可编程门阵列包括如上所述的数字控制振荡器。An embodiment of the present invention also provides a quadrature amplitude modulation modulation system, the quadrature amplitude modulation modulation system includes: a field programmable gate array, and the field programmable gate array includes the above-mentioned digitally controlled oscillator.

本发明实施例的有益效果在于,通过数字振荡器输出的正交载波具有严格的相位正交性和幅度一致性,增益误差小;并且载波频率分辨率高、切换时间短、载波相位连续;此外,设备结构简单、成本低。The beneficial effect of the embodiment of the present invention is that the quadrature carrier output by the digital oscillator has strict phase orthogonality and amplitude consistency, and the gain error is small; and the carrier frequency resolution is high, the switching time is short, and the carrier phase is continuous; in addition , The device structure is simple and the cost is low.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,并不构成对本发明的限定。在附图中:The drawings described here are used to provide further understanding of the present invention, constitute a part of the application, and do not limit the present invention. In the attached picture:

图1是现有技术的正交幅度调制的原理框图;Fig. 1 is a functional block diagram of quadrature amplitude modulation in the prior art;

图2是现有技术的基于专用芯片的正交载波的实现框图;Fig. 2 is the realization block diagram of the orthogonal carrier wave based on dedicated chip of prior art;

图3是本发明实施例的数字控制振荡器的构成示意图;3 is a schematic diagram of the composition of a digitally controlled oscillator according to an embodiment of the present invention;

图4是本发明实施例的正交载波的产生方法的流程图;FIG. 4 is a flowchart of a method for generating an orthogonal carrier according to an embodiment of the present invention;

图5是本发明实施例的正交调幅调制系统的构成示意图。FIG. 5 is a schematic diagram of a quadrature amplitude modulation system according to an embodiment of the present invention.

具体实施方式 detailed description

为使本发明的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例作进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

本发明实施例提供一种数字控制振荡器(NCO,NumericalControlledOscillator),如图3所示,该数字控制振荡器包括:DDS地址累加器301、相位寄存器302、相位加法器303、合路开关304、波表存储器305、分路开关306;其中,An embodiment of the present invention provides a numerically controlled oscillator (NCO, NumericalControlledOscillator), as shown in FIG. Wave table memory 305, shunt switch 306; Wherein,

DDS地址累加器301在第一时钟的作用下,对载波频率控制字K进行累加,并将累加后的结果发送给相位寄存器302和相位加法器303;The DDS address accumulator 301 accumulates the carrier frequency control word K under the action of the first clock, and sends the accumulated result to the phase register 302 and the phase adder 303;

相位寄存器302在第一时钟的作用下寄存和截位DDS地址累加器301累加后的结果,获得As,作为产生正弦波的地址信息;The phase register 302 registers and truncates the accumulated result of the DDS address accumulator 301 under the action of the first clock, and obtains As as the address information for generating the sine wave;

相位加法器303在第一时钟的作用下截位DDS地址累加器301累加后的结果后,加上90°的相位偏移,获得Ac,作为产生余弦波的地址信息;The phase adder 303 truncates the accumulated result of the DDS address accumulator 301 under the action of the first clock, and adds a phase offset of 90° to obtain Ac as the address information for generating the cosine wave;

合路开关304在第二时钟的作用下,将Ac和As合并;其中,第二时钟与第一时钟同源,且第一时钟的频率为fc,第二时钟的频率为2fc;第二时钟的频率为第一时钟的频率的两倍,第一时钟的周期为第二时钟的周期的两倍;Combiner switch 304 combines Ac and As under the action of the second clock; wherein, the second clock is of the same source as the first clock, and the frequency of the first clock is fc, and the frequency of the second clock is 2fc; the second clock The frequency is twice the frequency of the first clock, and the period of the first clock is twice the period of the second clock;

波表存储器305在第二时钟的作用下,根据合路开关304的结果对波表进行寻址并输出波表数据;The wavetable memory 305 addresses the wavetable according to the result of the combiner switch 304 and outputs wavetable data under the action of the second clock;

分路开关306在第一时钟的作用下,根据波表数据输出余弦波信号和正弦波信号,产生所需的正交载波。Under the function of the first clock, the shunt switch 306 outputs the cosine wave signal and the sine wave signal according to the wavetable data to generate the required quadrature carrier.

在本实施例中,每来一个频率为fc的第一时钟,DDS地址累加器301对载波频率控制字K累加一次。累加后的N位结果同时送给相位寄存器302和相位加法器303。In this embodiment, the DDS address accumulator 301 accumulates the carrier frequency control word K every time the first clock with frequency fc comes. The accumulated N-bit result is sent to the phase register 302 and the phase adder 303 at the same time.

在本实施例中,为了取得极高的频率分辨率,DDS地址累加器301的位宽N要求很大;不过限于体积和成本,波表存储器305的容量对应的地址位宽Y通常远小于DDS地址累加器301的地址位宽N。所以,相位寄存器302和相位加法器303必须对地址截位后再寻址波表存储器305。In this embodiment, in order to obtain extremely high frequency resolution, the bit width N of the DDS address accumulator 301 is required to be very large; however, due to size and cost constraints, the address bit width Y corresponding to the capacity of the wavetable memory 305 is usually much smaller than that of the DDS The address bit width of the address accumulator 301 is N. Therefore, the phase register 302 and the phase adder 303 must truncate the address before addressing the wavetable memory 305 .

在本实施例中,根据关系式:sin(α+π/2)=cos(α),在频率为fc的第一时钟下,相位加法器303首先截位DDS地址累加器301的结果,然后对其加上90度的相位偏移(具体地,就是对高2bit加上二进制数“01”,低位不变),这样,可以得到相加后的值Ac,作为产生余弦波的地址。In this embodiment, according to the relational expression: sin(α+π/2)=cos(α), under the first clock whose frequency is fc, the phase adder 303 first truncates the result of the DDS address accumulator 301, and then Add a 90-degree phase offset to it (specifically, add the binary number "01" to the upper 2 bits, and keep the lower bits unchanged), so that the added value Ac can be obtained as the address for generating the cosine wave.

在本实施例中,在频率为2fc的第二时钟下,合路开关304将Ac、As合并为一路。具体地,在第一时钟的前半个周期,将Ac作为波表存储器305的读取地址;在第一时钟的后半个周期,将As作为波表存储器305的读取地址。In this embodiment, under the second clock frequency of 2fc, the combining switch 304 combines Ac and As into one. Specifically, in the first half cycle of the first clock, Ac is used as the read address of the wavetable memory 305; in the second half cycle of the first clock, As is used as the read address of the wavetable memory 305.

在本实施例中,波表存储器305内存储了一个周期的正弦波波表数据(地址空间为2Y,Y为波表存储器的地址位宽)。具体地,波表存储器305在第一时钟的前半个周期输出Ac所寻址的波表数据,在第一时钟的后半个周期输出As所寻址的波表数据。并将读出的波表数据送给分路开关306。In this embodiment, the wavetable memory 305 stores one period of sine wave wavetable data (the address space is 2 Y , and Y is the address bit width of the wavetable memory). Specifically, the wavetable memory 305 outputs the wavetable data addressed by Ac in the first half period of the first clock, and outputs the wavetable data addressed by As in the second half period of the first clock. And send the read wave table data to the shunt switch 306 .

在本实施例中,每来一个频率为fc的第一时钟,分路开关306输出2路波表数据,一个是由Ac寻址得到的余弦波信号sin,另一个是由As寻址得到的正弦波信号cos。sin、cos是数字化的正余弦波,位宽等于波表存储器305的数据位宽;二者频率均为fc*K/2N,其中,K为载波频率控制字,N为DDS地址累加器301的地址位宽。通常N>Y,在具体实现时,可截取DDS地址累加器的N位输出中的Y位,作为波表存储器的读取地址。In this embodiment, every time a first clock with frequency fc comes, the shunt switch 306 outputs 2 channels of wavetable data, one is the cosine wave signal sin obtained by addressing Ac, and the other is obtained by addressing As Sine wave signal cos. Sin and cos are digitized sine and cosine waves, and the bit width is equal to the data bit width of the wave table memory 305; the frequency of both is fc*K/2 N , where K is the carrier frequency control word, and N is the DDS address accumulator 301 The address bit width. Usually N>Y, in actual implementation, the Y bit in the N-bit output of the DDS address accumulator can be intercepted as the read address of the wavetable memory.

在本实施例中,该数字控制振荡器通过现场可编程门阵列(FPGA,Field-ProgrammableGateArray)实现。In this embodiment, the digitally controlled oscillator is implemented by a Field-Programmable Gate Array (FPGA, Field-Programmable Gate Array).

由上述实施例可知,通过数字振荡器输出的正交载波具有严格的相位正交性和幅度一致性,增益误差小;因为两路载波是从同一个波表存储器中取出的,所以幅度严格相等,避免了载波增益误差;两路载波的相位严格相差90度,也就不存在正交载波的相位偏移。It can be seen from the above embodiments that the quadrature carrier output by the digital oscillator has strict phase orthogonality and amplitude consistency, and the gain error is small; because the two carrier waves are taken out from the same wavetable memory, the amplitudes are strictly equal , to avoid the carrier gain error; the phase difference of the two carriers is strictly 90 degrees, so there is no phase offset of the quadrature carrier.

并且,载波频率分辨率高,载波频率等于fc*K/2N,只要DDS地址累加器的位宽N足够大,就可以得到足够高的频率分辨率;Moreover, the resolution of the carrier frequency is high, and the carrier frequency is equal to fc*K/2 N. As long as the bit width N of the DDS address accumulator is large enough, a sufficiently high frequency resolution can be obtained;

载波频率切换时间短,当数字震荡器接收到新的载波频率控制字后,只需几个频率为fc的时钟脉冲,就可以产生新的频率的正交载波;The switching time of the carrier frequency is short. When the digital oscillator receives the new carrier frequency control word, it only needs a few clock pulses with frequency fc to generate the quadrature carrier wave of the new frequency;

载波频率捷变的相位连续,载波输出频率的改变是通过改变频率控制字实现的,实现上改变的是载波的相位增长速率,而载波相位本身是连续的。The phase of carrier frequency agility is continuous, and the change of carrier output frequency is realized by changing the frequency control word. What is changed in realization is the carrier phase growth rate, and the carrier phase itself is continuous.

此外,采用全数字结构且易于FPGA实现,所以非常有利于QAM调制功能的实现;结构简单、成本低。In addition, it adopts an all-digital structure and is easy to realize by FPGA, so it is very beneficial to the realization of QAM modulation function; the structure is simple and the cost is low.

本发明实施例还提供一种正交载波的产生方法,如图4所示,所述方法包括:The embodiment of the present invention also provides a method for generating an orthogonal carrier, as shown in FIG. 4, the method includes:

步骤401,在第一时钟的作用下,DDS地址累加器对载波频率控制字进行累加,并将累加后的结果发送给相位寄存器和相位加法器;Step 401, under the action of the first clock, the DDS address accumulator accumulates the carrier frequency control word, and sends the accumulated result to the phase register and the phase adder;

步骤402,在第一时钟的作用下,相位寄存器寄存和截位累加后的结果,获得产生正弦波的地址信息;相位加法器截位累加后的结果后加上90°的相位偏移,获得产生余弦波的地址信息;Step 402, under the action of the first clock, the phase register registers and truncates and accumulates the result to obtain the address information for generating the sine wave; the phase adder adds a 90° phase offset to the truncated and accumulated result to obtain Generate the address information of the cosine wave;

步骤403,在第二时钟的作用下,合路开关将产生正弦波的地址信息和产生余弦波的地址信息合并;其中,第二时钟与第一时钟同源,且第二时钟的频率为第一时钟的频率的两倍;Step 403, under the action of the second clock, the combiner switch combines the address information generating the sine wave and the address information generating the cosine wave; wherein, the second clock has the same source as the first clock, and the frequency of the second clock is the first twice the frequency of a clock;

步骤404,在第二时钟的作用下,波表存储器根据合路开关的结果对波表进行寻址并输出波表数据;Step 404, under the action of the second clock, the wavetable memory addresses the wavetable according to the result of the combiner switch and outputs wavetable data;

步骤405,在第一时钟的作用下,分路开关根据波表数据输出余弦波信号和正弦波信号,产生所需的正交载波。Step 405 , under the action of the first clock, the shunt switch outputs the cosine wave signal and the sine wave signal according to the wave table data to generate the required quadrature carrier wave.

在步骤403实施时,合路开关将产生正弦波的地址信号和产生余弦波的地址信号合并,具体包括:When step 403 is implemented, the combining switch combines the address signal generating the sine wave and the address signal generating the cosine wave, specifically including:

在第一时钟的前半个周期,将产生余弦波的地址信息作为波表存储器的读取地址信息;在第一时钟的后半个周期,将产生正弦波的地址信息作为波表存储器的读取地址信息。In the first half cycle of the first clock, the address information that generates the cosine wave is used as the read address information of the wave table memory; in the second half cycle of the first clock, the address information that generates the sine wave is used as the read address information of the wave table memory Address information.

在本实施例中,波表存储器存储一个周期的正弦波波表,在步骤404实施时,波表存储器根据合路开关的结果对波表进行寻址并输出波表数据,具体包括:In this embodiment, the wavetable memory stores a sine wave wavetable of one period. When step 404 is implemented, the wavetable memory addresses the wavetable according to the result of the combining switch and outputs the wavetable data, specifically including:

在第一时钟的前半个周期,根据产生余弦波的地址信号在正弦波波表中寻址,输出寻址后得到的波表数据;在第一时钟的后半个周期,根据产生正弦波的地址信号在正弦波波表中寻址,输出寻址后得到的波表数据。In the first half cycle of the first clock, address in the sine wave table according to the address signal that generates the cosine wave, and output the wave table data obtained after addressing; in the second half cycle of the first clock, according to the address signal that generates the sine wave The address signal is addressed in the sine wave table, and the wave table data obtained after addressing is output.

在本实施例中,产生方法通过现场可编程门阵列实现。In this embodiment, the generation method is realized by a field programmable gate array.

由上述实施例可知,通过上述方法产生的正交载波具有严格的相位正交性和幅度一致性,增益误差小;并且载波频率分辨率高、切换时间短、载波相位连续;此外,设备结构简单、成本低。It can be seen from the above embodiments that the orthogonal carrier generated by the above method has strict phase orthogonality and amplitude consistency, and the gain error is small; and the carrier frequency resolution is high, the switching time is short, and the carrier phase is continuous; in addition, the device structure is simple ,low cost.

本发明实施例还提供一种正交调幅调制系统,如图5所示,该正交调幅调制系统包括:FPGA501,该FPGA501包括前述的数字控制振荡器5011。The embodiment of the present invention also provides a quadrature amplitude modulation modulation system, as shown in FIG. 5 , the quadrature amplitude modulation modulation system includes: FPGA501, and the FPGA501 includes the aforementioned digitally controlled oscillator 5011.

如图5所示,进一步地,该正交调幅调制系统还包括:中央处理单元502和时钟电路503;其中,As shown in FIG. 5, further, the quadrature amplitude modulation system further includes: a central processing unit 502 and a clock circuit 503; wherein,

中央处理单元502为FPGA501设置载波频率控制字和调制频率控制字、以及调制类型(可设置FPGA501选择本地待调制数据,调制类型为内调;也可设置由模数转换器送入的I、Q数据,调制类型为外调)。时钟电路503为FPGA501提供高精度的稳定时钟源。Central processing unit 502 is provided with carrier frequency control word and modulation frequency control word and modulation type (FPGA501 can be set to select the data to be modulated locally, and modulation type is internal adjustment for FPGA501; also can be set by the I, Q that analog-to-digital converter sends in data, the modulation type is external transfer). The clock circuit 503 provides a high-precision stable clock source for the FPGA 501 .

如图5所示,进一步地,该正交调幅调制系统还包括:用户接口504、Flash存储器505、同相模数转换器(I_ADC)506、正交模数转换器(Q_ADC)507和调制波表存储器508;其中,As shown in Figure 5, further, the quadrature amplitude modulation modulation system also includes: user interface 504, Flash memory 505, in-phase analog-to-digital converter (I_ADC) 506, quadrature analog-to-digital converter (Q_ADC) 507 and modulation wave table memory 508; wherein,

中央处理单元502实现系统控制及信号处理,通过用户接口504接收用户控制;并将Flash存储器505中存储的内置文件、或者用户接口504下发的待调制文件编码成I、Q数据后发送给FPGA501。其中,可按照用户设置的QAM调制类型编码,例如16QAM、64QAM、8PSK等。The central processing unit 502 realizes system control and signal processing, and receives user control through the user interface 504; and the built-in file stored in the Flash memory 505 or the file to be modulated issued by the user interface 504 is encoded into I and Q data and then sent to the FPGA501 . Among them, it can be coded according to the QAM modulation type set by the user, such as 16QAM, 64QAM, 8PSK and so on.

用户接口504接收用户本地或者远程控制,可包括通过通用接口总线(GPIB,General-PurposeInterfaceBus)、局域网(LAN,LocalAreaNetwork)、通用串行总线(USB,UniversalSerialBus)等方式。Flash存储器505存储内置的待调制文件。The user interface 504 receives the user's local or remote control, including through a general-purpose interface bus (GPIB, General-PurposeInterfaceBus), a local area network (LAN, LocalAreaNetwork), a universal serial bus (USB, UniversalSerialBus) and the like. Flash memory 505 stores built-in files to be modulated.

FPGA501将中央处理单元502编码后的I、Q数据发送给调制波表存储器508,调制波表存储器508存储I、Q数据;当用户要求正交调幅调制输出时,FPGA501从调制波表存储器508中读出待调制数据。FPGA501 sends the I, Q data encoded by central processing unit 502 to modulation wave table memory 508, and modulation wave table memory 508 stores I, Q data; Read out the data to be modulated.

同相模数转换器506和正交模数转换器507分别用于将外部输入的I、Q数据的模拟信号转换为数字形式,发送给FPGA501。The in-phase analog-to-digital converter 506 and the quadrature analog-to-digital converter 507 are respectively used to convert the analog signals of the I and Q data input from the outside into digital forms and send them to the FPGA 501 .

如图5所示,进一步地,该正交调幅调制系统还包括:数模转换器509和模拟电路510;As shown in Figure 5, further, the quadrature amplitude modulation modulation system further includes: a digital-to-analog converter 509 and an analog circuit 510;

数模转换器(DAC)509将FPGA501输出的数字形式的正交调幅调制信号转换为模拟信号;模拟电路510处理数模转换器509输出的模拟信号,包括滤波、衰减、放大等。The digital-to-analog converter (DAC) 509 converts the digital quadrature amplitude modulation signal output by the FPGA 501 into an analog signal; the analog circuit 510 processes the analog signal output by the digital-to-analog converter 509, including filtering, attenuation, and amplification.

如图5所示,FPGA501具体还包括:时钟模块5012、CPU接口模块5013、调制控制器5014、第一乘法器5015、第二乘法器5016和加法器5017;其中,As shown in Figure 5, the FPGA501 specifically further includes: a clock module 5012, a CPU interface module 5013, a modulation controller 5014, a first multiplier 5015, a second multiplier 5016 and an adder 5017; wherein,

时钟模块5012对时钟电路503提供的时钟进行频率合成,产生所需要的频率为fc的第一时钟和频率为2fc的第二时钟,第二时钟与第一时钟同源,且第二时钟的频率为第一时钟的频率的两倍。The clock module 5012 performs frequency synthesis on the clock provided by the clock circuit 503 to generate the required first clock with a frequency of fc and a second clock with a frequency of 2fc, the second clock has the same source as the first clock, and the frequency of the second clock is twice the frequency of the first clock.

CPU接口模块5013实现FPGA501与中央处理单元502的通信,将中央处理单元502下发的数据解析为频率控制字后发送给数字控制振荡器5011,并将待调制数据以及调制频率字送给调制控制器5014。The CPU interface module 5013 implements the communication between the FPGA 501 and the central processing unit 502, parses the data issued by the central processing unit 502 into frequency control words and sends them to the digital control oscillator 5011, and sends the data to be modulated and the modulation frequency words to the modulation control device 5014.

调制控制器5014在输出正交调幅调制信号前,将待调制数据写入到调制波表存储器508;在输出正交调幅调制信号时,将I数据发送给第一乘法器5015、将Q数据发送给第二乘法器5016。Before outputting the quadrature amplitude modulation modulation signal, the modulation controller 5014 writes the data to be modulated into the modulation wavetable memory 508; when outputting the quadrature amplitude modulation modulation signal, the I data is sent to the first multiplier 5015, and the Q data is sent to the first multiplier 5015. to the second multiplier 5016.

其中,如果用户要求内部调制,则调制控制器5014以调制频率字所决定的调制频率(即QAM调制的符号率)从调制波表存储器508中取出待调制的I、Q数据,并发送给乘法器模块;如果用户要求外部调制,则调制控制器5014通过与同相模数转换器506、正交模数转换器507之间的通信接口,将转换后的I、Q数据送给乘法器模块。Among them, if the user requires internal modulation, the modulation controller 5014 takes out the I and Q data to be modulated from the modulation wave table memory 508 at the modulation frequency determined by the modulation frequency word (that is, the symbol rate of QAM modulation), and sends them to the multiplier If the user requires external modulation, the modulation controller 5014 sends the converted I and Q data to the multiplier module through the communication interface with the in-phase analog-to-digital converter 506 and the quadrature analog-to-digital converter 507.

第一乘法器5015实现I数据与数字控制振荡器5011输出的余弦波信号的相乘,第二乘法器5016实现Q数据与数字控制振荡器5011输出的正弦波信号的相乘;The first multiplier 5015 realizes the multiplication of the I data and the cosine wave signal output by the digitally controlled oscillator 5011, and the second multiplier 5016 realizes the multiplication of the Q data and the sine wave signal output by the digitally controlled oscillator 5011;

加法器5017对第一乘法器5015送来的同相分量和第二乘法器5016送来的正交分量进行求和,并将求和后的结果发送给数模转换器509。The adder 5017 sums the in-phase component sent by the first multiplier 5015 and the quadrature component sent by the second multiplier 5016 , and sends the summed result to the digital-to-analog converter 509 .

由上述实施例可知,通过数字振荡器输出的正交载波具有严格的相位正交性和幅度一致性,增益误差小;因为两路载波是从同一个波表存储器中取出的,所以幅度严格相等,避免了载波增益误差;两路载波的相位严格相差90度,也就不存在正交载波的相位偏移。It can be seen from the above embodiments that the quadrature carrier output by the digital oscillator has strict phase orthogonality and amplitude consistency, and the gain error is small; because the two carrier waves are taken out from the same wavetable memory, the amplitudes are strictly equal , to avoid the carrier gain error; the phase difference of the two carriers is strictly 90 degrees, so there is no phase offset of the quadrature carrier.

并且,载波频率分辨率高,载波频率等于fc*K/2N,只要DDS地址累加器的位宽N足够大,就可以得到足够高的频率分辨率;载波频率切换时间短,当数字震荡器接收到新的载波频率控制字后,只需几个频率为fc的时钟脉冲,就可以产生新的频率的正交载波;载波频率捷变的相位连续,载波输出频率的改变是通过改变频率控制字实现的,实现上改变的是载波的相位增长速率,而载波相位本身是连续的。Moreover, the resolution of the carrier frequency is high, and the carrier frequency is equal to fc*K/2 N. As long as the bit width N of the DDS address accumulator is large enough, a sufficiently high frequency resolution can be obtained; the switching time of the carrier frequency is short, and when the digital oscillator After receiving the new carrier frequency control word, only a few clock pulses with frequency fc can generate the quadrature carrier wave of the new frequency; the phase of the carrier frequency agility is continuous, and the change of the carrier output frequency is controlled by changing the frequency It is implemented by words, and what is changed in implementation is the phase growth rate of the carrier, and the carrier phase itself is continuous.

此外,采用全数字结构且易于FPGA实现,所以非常有利于QAM调制功能的实现;数字形式的正交载波直接与数字形式的I、Q数据相乘,避免使用传统实现方法中的两个载波DAC,也就避免了DAC非线性失真所造成的两路正交载波的谐波失真,同时也降低了成本。In addition, it adopts an all-digital structure and is easy to realize by FPGA, so it is very beneficial to the realization of QAM modulation function; the quadrature carrier in digital form is directly multiplied by I and Q data in digital form, avoiding the use of two carrier DACs in traditional implementation methods , which avoids the harmonic distortion of the two orthogonal carrier waves caused by the nonlinear distortion of the DAC, and also reduces the cost.

本领域普通技术人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can further appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the hardware and Interchangeability of software. In the above description, the components and steps of each example have been generally described according to their functions. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above have further described the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention and are not intended to limit the scope of the present invention. Protection scope, within the spirit and principles of the present invention, any modification, equivalent replacement, improvement, etc., shall be included in the protection scope of the present invention.

Claims (13)

1.一种数字控制振荡器,其特征在于,所述数字控制振荡器包括:DDS地址累加器、相位寄存器、相位加法器、合路开关、波表存储器和分路开关;1. A digitally controlled oscillator, characterized in that, said digitally controlled oscillator comprises: a DDS address accumulator, a phase register, a phase adder, a combiner switch, a wavetable memory and a shunt switch; 所述DDS地址累加器在第一时钟的作用下,对载波频率控制字进行累加,并将累加后的结果发送给相位寄存器和相位加法器;The DDS address accumulator accumulates the carrier frequency control word under the action of the first clock, and sends the accumulated result to the phase register and the phase adder; 所述相位寄存器在所述第一时钟的作用下,寄存和截位所述累加后的结果,获得产生正弦波的地址信息;Under the action of the first clock, the phase register registers and truncates the accumulated result to obtain address information for generating a sine wave; 所述相位加法器在所述第一时钟的作用下,截位所述累加后的结果后加上90°的相位偏移,获得产生余弦波的地址信息;Under the action of the first clock, the phase adder truncates the accumulated result and adds a phase offset of 90° to obtain address information for generating cosine waves; 所述合路开关在第二时钟的作用下,将所述产生正弦波的地址信息和所述产生余弦波的地址信息合并;所述第二时钟与所述第一时钟同源,且所述第二时钟的频率为所述第一时钟的频率的两倍;Under the action of the second clock, the combination switch combines the address information generating the sine wave and the address information generating the cosine wave; the second clock is of the same source as the first clock, and the the frequency of the second clock is twice the frequency of the first clock; 所述波表存储器在所述第二时钟的作用下,根据所述合路开关的结果对波表进行寻址并输出波表数据;Under the action of the second clock, the wavetable memory addresses the wavetable according to the result of the combiner switch and outputs wavetable data; 所述分路开关在所述第一时钟的作用下,根据所述波表数据输出余弦波信号和正弦波信号,产生正交载波。Under the action of the first clock, the shunt switch outputs a cosine wave signal and a sine wave signal according to the wavetable data to generate a quadrature carrier wave. 2.根据权利要求1所述的数字控制振荡器,其特征在于,所述合路开关具体用于:2. The digitally controlled oscillator according to claim 1, wherein the combining switch is specifically used for: 在所述第一时钟的前半个周期,将所述产生余弦波的地址信息作为所述波表存储器的读取地址信息;In the first half cycle of the first clock, the address information for generating the cosine wave is used as the read address information of the wavetable memory; 在所述第一时钟的后半个周期,将所述产生正弦波的地址信息作为所述波表存储器的读取地址信息。In the second half period of the first clock, the address information for generating the sine wave is used as the read address information of the wavetable memory. 3.根据权利要求2所述的数字控制振荡器,其特征在于,所述波表存储器存储一个周期的正弦波波表,所述波表存储器具体用于:3. The digitally controlled oscillator according to claim 2, wherein the wave table memory stores a cycle of sine wave wave table, and the wave table memory is specifically used for: 在所述第一时钟的前半个周期,根据所述产生余弦波的地址信息在所述正弦波波表中寻址,输出寻址后得到的波表数据;In the first half cycle of the first clock, addressing in the sine wave table according to the address information for generating the cosine wave, outputting the wave table data obtained after addressing; 在所述第一时钟的后半个周期,根据所述产生正弦波的地址信息在所述正弦波波表中寻址,输出寻址后得到的波表数据。In the second half cycle of the first clock, according to the address information for generating the sine wave, the sine wave table is addressed, and the wave table data obtained after addressing is output. 4.根据权利要求1所述的数字控制振荡器,其特征在于,所述数字控制振荡器通过现场可编程门阵列实现。4. The digitally controlled oscillator according to claim 1, wherein the digitally controlled oscillator is realized by a field programmable gate array. 5.一种正交载波的产生方法,其特征在于,所述方法包括:5. A method for generating an orthogonal carrier, characterized in that the method comprises: 在第一时钟的作用下,DDS地址累加器对载波频率控制字进行累加,并将累加后的结果发送给相位寄存器和相位加法器;Under the action of the first clock, the DDS address accumulator accumulates the carrier frequency control word, and sends the accumulated result to the phase register and the phase adder; 所述相位寄存器寄存和截位所述累加后的结果,获得产生正弦波的地址信息;所述相位加法器截位所述累加后的结果后加上90°的相位偏移,获得产生余弦波的地址信息;The phase register registers and truncates the accumulated result to obtain address information for generating a sine wave; the phase adder truncates the accumulated result and adds a 90° phase offset to obtain a cosine wave generated address information; 在第二时钟的作用下,合路开关将所述产生正弦波的地址信息和所述产生余弦波的地址信息合并;其中,所述第二时钟与所述第一时钟同源,且所述第二时钟的频率为所述第一时钟的频率的两倍;Under the action of the second clock, the combining switch combines the address information generating the sine wave and the address information generating the cosine wave; wherein, the second clock is of the same source as the first clock, and the the frequency of the second clock is twice the frequency of the first clock; 波表存储器根据所述合路开关的结果对波表进行寻址并输出波表数据;The wavetable memory addresses the wavetable according to the result of the combination switch and outputs wavetable data; 在所述第一时钟的作用下,分路开关根据所述波表数据输出余弦波信号和正弦波信号,产生正交载波。Under the action of the first clock, the shunt switch outputs a cosine wave signal and a sine wave signal according to the wavetable data to generate a quadrature carrier wave. 6.根据权利要求5所述的产生方法,其特征在于,所述合路开关将所述产生正弦波的地址信号和所述产生余弦波的地址信号合并,具体包括:6. The generating method according to claim 5, wherein the combining switch combines the address signal generating the sine wave and the address signal generating the cosine wave, specifically comprising: 在所述第一时钟的前半个周期,将所述产生余弦波的地址信息作为所述波表存储器的读取地址信息;In the first half cycle of the first clock, the address information for generating the cosine wave is used as the read address information of the wavetable memory; 在所述第一时钟的后半个周期,将所述产生正弦波的地址信息作为所述波表存储器的读取地址信息。In the second half period of the first clock, the address information for generating the sine wave is used as the read address information of the wavetable memory. 7.根据权利要求6所述的产生方法,其特征在于,所述波表存储器存储一个周期的正弦波波表,所述波表存储器根据所述合路开关的结果对波表进行寻址并输出波表数据,具体包括:7. generation method according to claim 6, is characterized in that, described wave table memory stores the sine wave wave table of one cycle, and described wave table memory addresses wave table according to the result of described combining switch and Output wavetable data, including: 在所述第一时钟的前半个周期,根据所述产生余弦波的地址信号在所述正弦波波表中寻址,输出寻址后得到的波表数据;In the first half cycle of the first clock, addressing in the sine wave table according to the address signal generating the cosine wave, outputting the wave table data obtained after addressing; 在所述第一时钟的后半个周期,根据所述产生正弦波的地址信号在所述正弦波波表中寻址,输出寻址后得到的波表数据。In the second half cycle of the first clock, according to the address signal for generating the sine wave, the sine wave table is addressed, and the wave table data obtained after addressing is output. 8.根据权利要求5所述的产生方法,其特征在于,所述产生方法通过现场可编程门阵列实现。8. The generating method according to claim 5, characterized in that, the generating method is realized by a field programmable gate array. 9.一种正交调幅调制系统,其特征在于,所述正交调幅调制系统包括:现场可编程门阵列,所述现场可编程门阵列包括如权利要求1所述的数字控制振荡器。9. A quadrature amplitude modulation modulation system, characterized in that the quadrature amplitude modulation modulation system comprises: a field programmable gate array, and the field programmable gate array comprises the digitally controlled oscillator as claimed in claim 1. 10.根据权利要求9所述的正交调幅调制系统,其特征在于,所述正交调幅调制系统还包括:中央处理单元和时钟电路;10. The quadrature amplitude modulation modulation system according to claim 9, characterized in that, the quadrature amplitude modulation modulation system further comprises: a central processing unit and a clock circuit; 所述中央处理单元为所述现场可编程门阵列设置载波频率控制字和调制频率控制字、以及调制类型;所述时钟电路为所述现场可编程门阵列提供时钟源。The central processing unit sets a carrier frequency control word, a modulation frequency control word, and a modulation type for the field programmable gate array; the clock circuit provides a clock source for the field programmable gate array. 11.根据权利要求10所述的正交调幅调制系统,其特征在于,所述正交调幅调制系统还包括:用户接口、Flash存储器、同相模数转换器、正交模数转换器和调制波表存储器;11. quadrature amplitude modulation modulation system according to claim 10, is characterized in that, described quadrature amplitude modulation modulation system also comprises: user interface, Flash memory, in-phase analog-to-digital converter, quadrature analog-to-digital converter and modulation wave table memory; 所述中央处理单元实现系统控制及信号处理,通过所述用户接口接收用户控制;并将所述Flash存储器中存储的内置文件、或者所述用户接口下发的待调制文件编码成同相或正交数据后发送给所述现场可编程门阵列;The central processing unit realizes system control and signal processing, receives user control through the user interface; and encodes the built-in file stored in the Flash memory or the file to be modulated issued by the user interface into in-phase or quadrature Send the data to the field programmable gate array; 所述调制波表存储器存储所述中央处理单元编码后的同相或正交数据;所述同相模数转换器和正交模数转换器分别用于将外部输入的同相或正交数据的模拟信号转换为数字形式,发送给所述现场可编程门阵列。The modulated wave table memory stores the encoded in-phase or quadrature data of the central processing unit; the in-phase analog-to-digital converter and the quadrature analog-to-digital converter are used to convert the externally input in-phase or quadrature data into analog signals converted into digital form and sent to the FPGA. 12.根据权利要求11所述的正交调幅调制系统,其特征在于,所述正交调幅调制系统还包括:数模转换器和模拟电路;12. The quadrature amplitude modulation modulation system according to claim 11, characterized in that, the quadrature amplitude modulation modulation system further comprises: a digital-to-analog converter and an analog circuit; 所述数模转换器将所述现场可编程门阵列输出的数字形式的正交调幅调制信号转换为模拟信号;所述模拟电路处理所述数模转换器输出的模拟信号。The digital-to-analog converter converts the digital quadrature amplitude modulation signal output by the field programmable gate array into an analog signal; the analog circuit processes the analog signal output by the digital-to-analog converter. 13.根据权利要求12所述的正交调幅调制系统,其特征在于,所述现场可编程门阵列还包括:时钟模块、CPU接口模块、调制控制器、第一乘法器、第二乘法器和加法器;13. quadrature amplitude modulation system according to claim 12, is characterized in that, described field programmable gate array also comprises: clock module, CPU interface module, modulation controller, first multiplier, second multiplier and Adder; 所述时钟模块对所述时钟电路提供的时钟进行频率合成,产生所需要的第一时钟和第二时钟,所述第二时钟的频率为所述第一时钟的频率的两倍;The clock module performs frequency synthesis on the clock provided by the clock circuit to generate the required first clock and second clock, and the frequency of the second clock is twice the frequency of the first clock; 所述CPU接口模块实现所述现场可编程门阵列与所述中央处理单元的通信,将所述中央处理单元下发的数据解析为载波频率控制字后发送给所述数字控制振荡器,并将待调制数据以及调制频率控制字送给所述调制控制器;The CPU interface module realizes the communication between the field programmable gate array and the central processing unit, parses the data issued by the central processing unit into a carrier frequency control word and sends it to the digitally controlled oscillator, and The data to be modulated and the modulation frequency control word are sent to the modulation controller; 所述调制控制器在输出正交调幅调制信号前,将待调制数据写入到所述调制波表存储器;在输出正交调幅调制信号时,将同相数据发送给所述第一乘法器、将正交数据发送给所述第二乘法器;Before outputting the quadrature amplitude modulation modulation signal, the modulation controller writes the data to be modulated into the modulation wavetable memory; when outputting the quadrature amplitude modulation modulation signal, sends the in-phase data to the first multiplier, sending the quadrature data to the second multiplier; 所述第一乘法器实现所述同相数据与所述数字控制振荡器输出的余弦波信号的相乘,生成同相分量,所述第二乘法器实现所述正交数据与所述数字控制振荡器输出的正弦波信号的相乘,生成正交分量;The first multiplier implements the multiplication of the in-phase data and the cosine wave signal output by the digitally controlled oscillator to generate an in-phase component, and the second multiplier implements the quadrature data and the digitally controlled oscillator The multiplication of the output sine wave signals generates quadrature components; 所述加法器对所述第一乘法器送来的同相分量和所述第二乘法器送来的正交分量进行求和,并将求和后的结果发送给所述数模转换器。The adder sums the in-phase component sent by the first multiplier and the quadrature component sent by the second multiplier, and sends the summed result to the digital-to-analog converter.
CN201010606218.3A 2010-12-24 2010-12-24 The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system Active CN102571083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010606218.3A CN102571083B (en) 2010-12-24 2010-12-24 The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010606218.3A CN102571083B (en) 2010-12-24 2010-12-24 The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system

Publications (2)

Publication Number Publication Date
CN102571083A CN102571083A (en) 2012-07-11
CN102571083B true CN102571083B (en) 2016-01-20

Family

ID=46415663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010606218.3A Active CN102571083B (en) 2010-12-24 2010-12-24 The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system

Country Status (1)

Country Link
CN (1) CN102571083B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109525526B (en) * 2018-12-24 2024-05-28 南京屹信航天科技有限公司 Baseband processing unit for satellite-borne measurement and control equipment
CN109857188B (en) * 2019-01-08 2020-06-23 优利德科技(中国)股份有限公司 A method, device and system for generating pulse wave based on DDS
CN111800248B (en) * 2020-05-28 2023-03-14 韦臣龙 Communication method and device based on virtual carrier data mode

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5313279A (en) * 1992-09-10 1994-05-17 Thomson Consumer Electronics Digital carrier combining apparatus in a multiple QAM digital television signal receiver

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7437391B2 (en) * 2004-06-14 2008-10-14 Agilent Technologies, Inc. Numerically controlled oscillator and method of operation

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5313279A (en) * 1992-09-10 1994-05-17 Thomson Consumer Electronics Digital carrier combining apparatus in a multiple QAM digital television signal receiver

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于可编程逻辑器件的DDS设计;唐颖;《浙江树人大学学报》;20050331;第5卷(第2期);第110页左栏第2段、第111页左栏倒数后两段、右栏第1-4段、图2 *
正交幅度调制器的设计与实现;张潇;《中国优秀硕士学位论文全文数据库信息科技辑》;20070715(第1期);第29页4.1.2第1段、第35页倒数第1段、第36页第1-3段、第37页第1段 *

Also Published As

Publication number Publication date
CN102571083A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
Vankka et al. Direct digital synthesizers: theory, design and applications
CN105141560B (en) A kind of multi-standard signal imitation device and method
US6339621B1 (en) One bit digital quadrature vector modulator
CN103179066B (en) Multiple phase-shift keying MPSK modulator approaches, device and function signal generator
TWI429210B (en) Radio frequency transmitter, wireless communication unit, and method of generating radio frequency for transmitting over radio frequency interface
JP6983331B2 (en) Radio frequency (RF) transmitter and RF transmission method
CN108347278B (en) High-speed bandwidth modulation method and system adapted to variable rate
CN103873160B (en) A kind of method and device for the phase hit for improving digital phase modulation
JP2014506414A (en) Wireless audio device using quadrature modulation system
US20140177755A1 (en) Rf transmitter, integrated circuit device, wireless communication unit and method therefor
CN109150213B (en) Digital predistortion system
CN102571083B (en) The production method of numerically-controlled oscillator, quadrature carrier and quadrature amplitude modulation system
CN103179063B (en) A kind of shift keying modulation device and method
CN103179079B (en) Production method, device and the digital signal generator of quadrature amplitude modulation signal
CN108881099B (en) A system and method for generating a communication signal
US7379509B2 (en) Digital intermediate frequency QAM modulator using parallel processing
US7554471B2 (en) System and method for improving linearity of a DAC
JP3147000B2 (en) Pseudo GMSK modulator
CN115022141B (en) GMSK signal digital modulation transmitting device and method
Webber et al. Implementing a/4 shift D-QPSK baseband modem using the TMS320C50
CN115276704B (en) Up-conversion link system and device suitable for broadband digital TR chip
Van Zeijl et al. On the attenuation of DAC aliases through multiphase clocking
Morales et al. Table‐based PWM for all‐digital RF transmitters
US7515647B2 (en) Digital frequency converter
CN103873409B (en) A modulator, signal generator and method for generating π/4-DQPSK modulated signal

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