Zero-intermediate-frequency transceiving component analog-to-digital converter DC-removing method

文档序号:1469743 发布日期:2020-02-21 浏览:11次 中文

阅读说明:本技术 一种零中频的收发组件模数转换器去直流方法 (Zero-intermediate-frequency transceiving component analog-to-digital converter DC-removing method ) 是由 杜赢 张志军 谭尊林 于 2019-11-07 设计创作,主要内容包括:本发明公开了一种零中频的收发组件模数转换器去直流方法,包括以下步骤:S1.设TR为收发切换控制信号,TR=1时表示切换到发射状态;TR=0时表示切换到接收状态;AM为发射电源开关控制信号,AM=1时打开发射电源开关,AM=0时关闭发射电源开关;S2.先令TR=1,切换到发射状态,再令控制信号AM=1,打开发射电源开关,开始进行信号发射;S3.发射结束后进入延时状态,令AM=0关闭发射电源开关,在这段时间内,由模数转换器采样N个点的信号,并计算平均值;S4.延时状态结束后,令TR=0,并保持AM=0,进入接收状态,利用模数转换器输出的采样信号减去计算得到的平均值,得到去除了直流的基带信号。本发明无需计算选取不同的电阻值和电容值,也不需要进行参数调节,整个去直流过程简单方便。(The invention discloses a DC removing method for a zero intermediate frequency transceiving component analog-to-digital converter, which comprises the following steps: s1, setting TR as a receiving and transmitting switching control signal, and when TR =1, indicating that the receiving and transmitting state is switched; TR =0 indicates switching to the reception state; AM is a control signal of a transmitting power switch, the transmitting power switch is opened when AM =1, and the transmitting power switch is closed when AM = 0; s2, firstly, TR =1 is made, the state is switched to a transmitting state, then, a control signal AM =1 is made, a transmitting power switch is turned on, and signal transmission is started; s3, after the transmission is finished, a time delay state is entered, the AM =0 is made to close a transmission power switch, and in the period, the analog-to-digital converter samples signals of N points and calculates an average value; and S4, after the time delay state is finished, enabling TR =0, keeping AM =0, entering a receiving state, and subtracting the average value obtained by calculation from the sampling signal output by the analog-to-digital converter to obtain the baseband signal without direct current. The invention does not need to calculate and select different resistance values and capacitance values, does not need to adjust parameters, and has simple and convenient whole direct current removing process.)

1. A DC removing method for a zero intermediate frequency receiving and transmitting component analog-to-digital converter is characterized by comprising the following steps: the method comprises the following steps:

s1, setting the transceiving function of a transceiving component to be controlled by control signals TR and AM:

TR is a receiving and transmitting switching control signal, and when TR =1, switching to a transmitting state is indicated; TR =0 indicates switching to the reception state;

AM is a control signal of a transmitting power switch, the transmitting power switch is opened when AM =1, and the transmitting power switch is closed when AM = 0;

s2, before signal transmission, firstly enabling TR =1 to switch to a transmission state, then enabling a control signal AM =1, turning on a transmission power switch, and starting signal transmission;

s3, after the transmission is finished, a time delay state is entered, the AM =0 is made to close a transmission power switch, the TR =1 is kept for a period of time, and in the period of time, the analog-to-digital converter samples signals of N points and calculates an average value;

and S4, after the time delay state is finished, enabling TR =0, keeping AM =0, entering a receiving state, and subtracting the average value obtained by calculation from the sampling signal output by the analog-to-digital converter to obtain the baseband signal without direct current.

2. The method of claim 1, wherein the adc of the transceiver module with zero if removed from dc comprises: the step S3 includes the following sub-steps:

s301, sampling signals of N points by an analog-to-digital converter in TR =1 and AM =0 time, and transmitting the signals to an FPGA chip;

and S302, calculating the signal average value of the N points by the FPGA chip, and storing the signal average value as a basis for removing direct current.

3. The method of claim 1, wherein the adc of the transceiver module with zero if removed from dc comprises: the step S4 includes the following sub-steps:

s401, in the time of TR =0 and AR =0, the analog-to-digital converter transmits a signal acquired in real time to the FPGA chip;

and S402, subtracting the calculated average value from the real-time sampling signal by the FPGA chip, and outputting the average value to the outside, thereby obtaining the baseband signal without direct current.

Technical Field

The invention relates to the field of communication, in particular to a method for removing direct current of an analog-to-digital converter of a receiving and transmitting assembly with zero intermediate frequency.

Background

Compared with the receiver of the intermediate frequency scheme, the receiver of the zero intermediate frequency scheme has the following characteristics: 1. the receiver of the reduced cost-if scheme requires an if filter, while the zero if scheme can directly down-convert the rf signal to the baseband I, Q signal, eliminating the cost of the if filter. 2. The volume is small. 3. The weight is light. Especially military products, have stringent requirements for both weight and volume. However, the zero if scheme inevitably introduces dc, which is generated before entering the adc, and the adc does not cancel this part of the dc signal, which affects the beamforming and ultimately the decoding sensitivity, and therefore must cancel this part of the dc.

The current methods for eliminating the dc current from the adc include two methods: the first is realized by an analog circuit (R-C), which needs to calculate and select different resistance and capacitance values, and the process is complicated. The other is a digital (DSP or FPGA) solution, implemented using an IP core, instantiated similar to a DSP (IP core) of an R-C analog circuit. The disadvantage of this method is that the corresponding parameter K needs to be carefully adjusted. And the processing efficiency for high speed signals is not high.

Disclosure of Invention

The invention aims to overcome the defects of the prior art and provides a method for removing direct current of an analog-to-digital converter of a receiving and transmitting component with zero intermediate frequency.

The purpose of the invention is realized by the following technical scheme: a DC removing method for an analog-to-digital converter of a transmitting-receiving component with zero intermediate frequency comprises the following steps:

s1, setting the transceiving function of a transceiving component to be controlled by control signals TR and AM:

TR is a receiving and transmitting switching control signal, and when TR =1, switching to a transmitting state is indicated; TR =0 indicates switching to the reception state;

AM is a control signal of a transmitting power switch, the transmitting power switch is opened when AM =1, and the transmitting power switch is closed when AM = 0;

s2, before signal transmission, firstly enabling TR =1 to switch to a transmission state, then enabling a control signal AM =1, turning on a transmission power switch, and starting signal transmission;

s3, after the transmission is finished, a time delay state is entered, the AM =0 is made to close a transmission power switch, the TR =1 is kept for a period of time, and in the period of time, the analog-to-digital converter samples signals of N points and calculates an average value;

and S4, after the time delay state is finished, enabling TR =0, keeping AM =0, entering a receiving state, and subtracting the average value obtained by calculation from the sampling signal output by the analog-to-digital converter to obtain the baseband signal without direct current.

The invention has the beneficial effects that: according to the invention, only one FPGA chip is needed to be added behind an analog-to-digital converter (ADC), the average value of the signal to be eliminated is obtained within the time of TR =1 and AM =0, and the average value of the signal to be eliminated is subtracted by the real-time acquired signal in the next period, so that the direct-current-removed baseband signal is obtained; different resistance values and capacitance values do not need to be selected through calculation, parameter adjustment is not needed, and the whole direct current removing process is simple and convenient.

Drawings

FIG. 1 is a flow chart of a method of the present invention;

FIG. 2 is a schematic diagram of the ADC output signal processing according to the present invention;

fig. 3 is a schematic diagram of an embodiment of the present invention.

Detailed Description

The technical solutions of the present invention are further described in detail below with reference to the accompanying drawings, but the scope of the present invention is not limited to the following.

As shown in fig. 1, a method for dc-removing of an analog-to-digital converter of a transceiver module with zero intermediate frequency is characterized in that: the method comprises the following steps:

s1, setting the transceiving function of a transceiving component to be controlled by control signals TR and AM:

TR is a receiving and transmitting switching control signal, and when TR =1, switching to a transmitting state is indicated; TR =0 indicates switching to the reception state;

AM is a control signal of a transmitting power switch, the transmitting power switch is opened when AM =1, and the transmitting power switch is closed when AM = 0;

s2, before signal transmission, firstly enabling TR =1 to switch to a transmission state, then enabling a control signal AM =1, turning on a transmission power switch, and starting signal transmission;

s3, after the transmission is finished, a time delay state is entered, the AM =0 is made to close a transmission power switch, the TR =1 is kept for a period of time, and in the period of time, the analog-to-digital converter samples signals of N points and calculates an average value;

in the embodiments of the present application, if the transmit power supply is in the on state (AM =1) and switched to the receive state (TR = 0), in which case the transmit signal wanders in the transmit channel, eventually burning the device, so this must be avoided; therefore, in the receiving state (TR = 0), the transmission power switch must be turned off (AM = 0) a period of time ahead (1 us in the embodiment of the present application).

In the receiving state, the data converted from the ADC has a dc offset signal, and therefore, the dc-removing basis cannot be obtained in the time period (TR =0 and AM = 0); otherwise, the signal itself is processed and deformed, and the subsequent beam forming and decoding functions are affected, which must be avoided.

Therefore, we choose to obtain the dc basis (specifically, using the falling edge of AM, that is, AM =0, and TR =1 as the control signal) during the period when the transmitting power switch is turned off (AM = 0) and the receiving/transmitting state is transmitting (TR =1) (the period of time is 1 us in the embodiment), on the one hand, the transmitting state is still in the transmitting state, and the received signal itself is not affected; on the other hand, when the transmission power is turned off, there is no influence on the transmission signal (the transmitted signal is sent during the period when the transmission power is turned on (AM =1), specifically:

and S4, after the time delay state is finished, enabling TR =0, keeping AM =0, entering a receiving state, and subtracting the average value obtained by calculation from the sampling signal output by the analog-to-digital converter to obtain the baseband signal without direct current.

As shown in fig. 2, in the embodiment of the present application, an FPGA is used to process a signal output by an analog-to-digital converter (ADC), so as to complete a dc-removing design of an output signal of the ADC in a receiving state, specifically:

the step S3 includes: s301, sampling signals of N points by an analog-to-digital converter in TR =1 and AM =0 time, and transmitting the signals to an FPGA chip;

s302, the chip calculates the average value of the signals of the N points, and stores the average value as a basis for removing direct current;

the step S4 includes: s401, in the time of TR =0 and AR =0, the analog-to-digital converter transmits a signal acquired in real time to the FPGA chip;

and S402, subtracting the calculated average value from the real-time sampling signal by the FPGA chip, and outputting the average value to the outside, thereby obtaining the baseband signal without direct current.

As shown in fig. 3, in the embodiment of the present application, the FPGA is disposed at the output end of the ADC in the transceiver module, the signal output by the analog-to-digital converter (ADC) is processed to complete dc removal, and the obtained signal is output to the baseband signal processing device, in which the TR and AM signals are generated by the baseband processing device or an external device; the TR signal is used for controlling a receiving and transmitting switch, and when TR =0, the receiving and transmitting switch is switched to a receiving channel to connect the receiving channel with a receiving and transmitting antenna; when TR =1, the receiving and transmitting switch is switched to the transmitting channel to connect the transmitting channel with the receiving and transmitting antenna; in the whole embodiment, power is supplied by an external power supply, and except for the transmitting channel and the DAC, power is uniformly and directly supplied only after the transmitting and receiving assembly is started; the external power supply supplies power to the transmitting channel and the DAC through the transmitting power switch, and the on-off of the transmitting power switch is controlled by an AM signal; when AM =1, the transmitting power switch is turned on, and when AM =0, the transmitting power switch is turned off; in this embodiment, TR and AM signals generated by the baseband signal processing device or the external device need to be simultaneously transmitted to the FPGA, so as to implement dc removal processing according to steps S301 to S302 and S401 to S402.

In the embodiment of the application, the FPGA starts the operation procedure after the falling edge of the AM comes, with the signed data (signal superimposed on the dc) converted from the ADC. Assuming a signal rate of 80 MHz, the interval between the falling edge signal of AM to the falling edge signal of TR (duration AM =0, TR =1) is 1 us. Theoretically 800 points can be sampled. However, the accumulation part, the division part and the subtraction part of the operation module need to be completed in the period of time, so that the actual sampling point is far less than 800. In the program, when the falling edge of the AM is detected, the data output by the ADC is accumulated and counted in sequence, and when the counter reaches a certain number of points (i.e., a preset number of points N), the accumulation is stopped. And performing an average algorithm on the accumulated sum to obtain an average value of all sample data. Finally, in the receiving state (TR =0, AM = 0), the output data of the ADC is subtracted from the obtained average value, and a signal with dc removed is obtained.

According to the invention, only one FPGA chip is needed to be added behind an analog-to-digital converter (ADC), the average value of the signal to be eliminated is obtained within the time of TR =1 and AM =0, and the average value of the signal to be eliminated is subtracted by the real-time acquired signal in the next period, so that the direct-current-removed baseband signal is obtained; different resistance values and capacitance values do not need to be selected through calculation, parameter adjustment is not needed, and the whole direct current removing process is simple and convenient.

The foregoing is a preferred embodiment of the present invention, it is to be understood that the invention is not limited to the form disclosed herein, but is not to be construed as excluding other embodiments, and is capable of other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:能够抵销内部信号泄漏的无线收发机

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!