Multi-DAC-based broadband high-precision arbitrary waveform synthesis method

文档序号:1963374 发布日期:2021-12-14 浏览:14次 中文

阅读说明:本技术 一种基于多dac的宽带高精度任意波形合成方法 (Multi-DAC-based broadband high-precision arbitrary waveform synthesis method ) 是由 赵文浩 刘科 郭广坤 刘航麟 付在明 肖寅东 张朋 侯东 于 2021-08-24 设计创作,主要内容包括:本发明公开了一种基于多DAC的宽带高精度任意波形合成方法,通过配置采样时钟的相位和采样点的分解以实现采样率的提升和分辨率的提升。假设有2~(Q)个DAC的并行结构,均分为a组分辨率提升结构,每组2~(b)个DAC,通过该分配方式可以将系统的采样率提升a倍,分辨率提升b倍;这样使得本发明可以通过灵活的配置方法,自由的选择采样率和分辨率的提升倍数,具有非常好的扩展性和灵活性,能够适应当今社会对信号合成的需求。(The invention discloses a multi-DAC-based broadband high-precision arbitrary waveform synthesis method, which realizes the improvement of the sampling rate and the improvement of the resolution by configuring the phase of a sampling clock and the decomposition of a sampling point. Suppose that is provided with 2 Q The parallel structure of the DACs is equally divided into a groups of resolution improvement structures, and each group is 2 b The DAC can improve the sampling rate of the system by a time and improve the resolution by b time through the distribution mode; therefore, the invention can freely select the sampling rate and the lifting multiple of the resolution ratio through a flexible configuration method, has very good expansibility and flexibility, and can meet the requirements of the current society on signal synthesis.)

1. A broadband high-precision arbitrary waveform synthesis method based on multi-DAC is characterized by comprising the following steps:

(1) setting parameters;

setting the number of DACs to 2QVertical resolution n of DACDAC(ii) a Setting a sampling rate lifting multiple a and a vertical resolution lifting digit b, wherein a is less than or equal to 2QB is less than or equal to Q, and a.2b=2Q

(2) Grouping the DACs according to the sampling rate lifting multiple and the vertical resolution lifting digit;

the DACs are evenly divided into a groups in sequence, and each group is 2bA plurality of; wherein each group has 2bOne DAC for lifting b-bit verticalsThe resolution ratio of the a group is used for increasing the sampling rate of the system by a time;

(3) calculating the binary resolution of the waveform data to be synthesized;

according to the vertical resolution n of the DACDACAnd a vertical resolution increasing digit b, the binary resolution of the waveform data to be synthesized calculated by the upper computer is nDAC+ b bit;

(4) the upper computer enables the binary resolution to be n through the PCIe bus interfaceDAC+ b, sending the waveform data to be synthesized and the corresponding control command to the FPGA;

wherein, the control command includes: memory address set by user, length of waveform data to be synthesized, and sampling clock frequency f of DACsSampling rate lifting multiple a and vertical resolution lifting digit b;

(5) setting the frequency and phase of a sampling clock;

the FPGA drives a clock management chip to generate a clock with the frequency fsThe a-way clock of (1) is marked as sample _ clk0,sample_clk1,…,sample_clki,…,sample_clka-1And the a-way clock is used as the sampling clock of the a-group DAC; the initial output phase of each path of sampling clock is as follows:

(6) and c times frequency division is respectively carried out on the a-path sampling clock to obtain a-path data clock, which is recorded as data _ clk0,data_clk1,…,data_clki,…,data_clka-1

(7) The FPGA drive memory read-write control module executes write operation first and then executes the operation;

the specific process of the write operation is as follows: the memory read-write control module receives waveform data to be synthesized and writes the received waveform data into the waveform memory through the memory interface controller according to a memory address set by a user;

the specific process of the read operation is as follows: the memory read-write control module is used for setting the memory address according to the user andthe waveform data length reads corresponding waveform data from the waveform memory, and the parallel a.c groups of waveform data are read out every clock, wherein the w-th clock reading data is recorded as x0(w),x1(w),…,xi(w),…,xac-1(w);

(8) And decomposing the parallel a and c path waveform data into 2 paths by performing resolution reduction processing on the parallel a and c path waveform data through a data decomposerbA binary resolution of nDACThe data of (a);

(9) a c 2 is transmitted through a data distributorbThe road waveform data is distributed as a.2bSet of c-way parallel data for a.2 respectivelybPerforming data synthesis by using a chip DAC; wherein, the first1·2b+l2Group dataUsed in the l < th > DAC group1Group I2Performing data synthesis by using the DACs; wherein l1Indicating the group order in which the current data corresponds to the DAC,/2Indicating the serial number, l, of the current data corresponding to the DAC in the group3Indicates the l-th in each set of data3-1 data;

(10) assigning a.2 in step S8bGroup data are respectively stored in a.2bIn FIFO;

(11) using the data clock data _ clk0,data_clk1,…,data_clki,…,data_clka-1From a 2bSequentially reading out data from the FIFO, wherein1·2b+l2The data clock used by FIFO isThe data read out was:

(12) a.2 output from FIFO in step S10bGroup data is respectively processedParallel-serial conversion to serialize and output parallel c-path data to a.2bA DAC;

(13) the DAC carries out digital-to-analog conversion on the digital signals output in series under the drive of the sampling clock, so that the digital signals are converted into analog signals; wherein, the first1·2b+l2The data clock used by DAC is

(14) And adding the analog signals output by all the DACs by using the combiner, and filtering the image frequency components in the analog signals by using the low-pass filter to obtain the synthesized waveform required by the user.

2. The multi-DAC based wideband high-precision arbitrary waveform synthesis method according to claim 1, wherein in the step (8), the specific method for performing resolution reduction processing on the a-c path waveform data is as follows:

(8.1) parallel a.c path waveform data x0(w),x1(w),…,xi(w),…,xac-1(w) performing right shift by n bits respectively to obtain the basic distribution code value k of the DAC0(w),k1(w),…,ki(w),…,kac-1(w), and each base allocation code value satisfies:

(8.2) calculating a remainder value after data are uniformly distributed: r is0(w),r1(w),…,ri(w),…,rac-1(w) wherein ri(w)=xi(w)-2n·ki(w), and each remainder satisfies: r is not less than 0i(w)≤2n-1;

(8.3) decomposing the a.c path waveform data into 2 according to the base allocation code value and the residual valuebA binary resolution of nDACThe data of (a):

wherein x isij(w) denotes the ith and jth decomposed data at the w-th clock.

Technical Field

The invention belongs to the technical field of waveform generators, and particularly relates to a multi-DAC-based broadband high-precision arbitrary waveform synthesis method.

Background

The arbitrary waveform generator is a signal source widely applied to electronic equipment, equipment development, production and maintenance guarantee, and can solve the problems that a real signal scene is difficult to reproduce or the risk cost is extremely high and the like. For example, the whole machine debugging and performance identification of the radar completely adopt a real target (such as an airplane) to provide a test signal for the radar, so that a large amount of manpower and material resources are consumed, the development progress is influenced, even the realization cannot be realized under certain conditions (such as severe weather), and a broadband high-precision arbitrary waveform generator is an ideal tool for solving the problem. With the rapid development of the fields of related electronic information such as modern communication, aerospace detection, artificial intelligence, radar detection and the like, electronic systems become more and more bulky, the complexity of electronic signals is higher and higher, especially the frequency range of the signals is widened continuously, and the sporadic nature and the instantaneity of the signals are also increased rapidly, so that the requirements of higher precision and bandwidth are also provided for any waveform generator serving as test equipment.

In an arbitrary waveform generator based on the DDS technique, the sampling rate determines the output signal bandwidth and the vertical resolution determines the output signal accuracy. The most direct method for increasing the sampling rate and the vertical resolution of an arbitrary waveform generator is to select a digital-to-analog converter (DAC) with high sampling rate and high vertical resolution, but under the background that a high-performance commercial chip is limited, an effective way for increasing the sampling rate and the vertical resolution of a system is from the aspect of system-level design. In the existing method, the limitation of devices can be broken through by a parallel pseudo-interpolation technology and a split-phase parallel storage technology to realize the improvement of the sampling rate, but the method for improving the vertical resolution is not reported yet.

Disclosure of Invention

The invention aims to overcome the defects of the prior art and provides a multi-DAC-based broadband high-precision arbitrary waveform synthesis method, which adopts a low-precision digital-to-analog converter (DAC) to realize high-precision arbitrary waveform synthesis, so that the sampling rate and the vertical resolution are improved by using DAC resources to generate required signals.

In order to achieve the above object, the present invention provides a method for synthesizing a wideband high-precision arbitrary waveform based on multiple DACs, which is characterized by comprising the following steps:

(1) setting parameters;

setting the number of DACs to 2QVertical resolution n of DACDAC(ii) a Setting a sampling rate lifting multiple a and a vertical resolution lifting digit b, wherein a is less than or equal to 2QB is less than or equal to Q, and a.2b=2Q

(2) Grouping the DACs according to the sampling rate lifting multiple and the vertical resolution lifting digit;

the DACs are evenly divided into a groups in sequence, and each group is 2bA plurality of; wherein each group has 2bThe DAC is used for improving b-bit vertical resolution, and the group a is used for improving a times of system sampling rate;

(3) calculating the binary resolution of the waveform data to be synthesized;

according to the vertical resolution n of the DACDACAnd a vertical resolution increasing digit b, the binary resolution of the waveform data to be synthesized calculated by the upper computer is nDAC+ b bit;

(4) the upper computer enables the binary resolution to be n through the PCIe bus interfaceDAC+ b, sending the waveform data to be synthesized and the corresponding control command to the FPGA;

wherein, the control command includes: memory address set by user, length of waveform data to be synthesized, and sampling clock frequency f of DACsSampling rate lifting multiple a and vertical resolution lifting digit b;

(5) setting the frequency and phase of a sampling clock;

the FPGA drives a clock management chip to generate a clock with the frequency fsThe a-way clock of (1) is marked as sample _ clk0,sample_clk1,…,sample_clki,…,sample_clka-1And the a-way clock is used as the sampling clock of the a-group DAC;the initial output phase of each path of sampling clock is as follows:

(6) and c times frequency division is respectively carried out on the a-path sampling clock to obtain a-path data clock, which is recorded as data _ clk0,data_clk1,…,data_clki,…,data_clka-1

(7) The FPGA drive memory read-write control module executes write operation first and then executes read operation;

the specific process of the write operation is as follows: the memory read-write control module receives waveform data to be synthesized and writes the received waveform data into the waveform memory through the memory interface controller according to a memory address set by a user;

the specific process of the read operation is as follows: the memory read-write control module reads corresponding waveform data from the waveform memory according to a memory address and waveform data length set by a user, each clock reads parallel a.c groups of waveform data, wherein the w-th clock read data is recorded as x0(w),x1(w),…,xi(w),…,xac-1(w);

(7) Respectively carrying out resolution reduction processing on the parallel a and c paths of waveform data through a data decomposer;

(7.1) parallel a.c path waveform data x0(w),x1(w),…,xi(w),…,xac-1(w) performing right shift by n bits respectively to obtain the basic distribution code value k of the DAC0(w),k1(w),…,ki(w),…,kac-1(w), and each base allocation code value satisfies:

(7.2) calculating a remainder value after data are uniformly distributed: r is0(w),r1(w),…,ri(w),…,rac-1(w) wherein ri(w)=xi(w)-2n·ki(w) and each residueThe value satisfies: r is not less than 0i(w)≤2n-1;

(7.3) decomposing the a.c path waveform data into 2 according to the base allocation code value and the residual valuebA binary resolution of nDACThe data of (a):

wherein x isij(w) indicating the ith path of jth decomposed data under the w clock;

(8) a c 2 is transmitted through a data distributorbThe road waveform data is distributed as a.2bSet of c-way parallel data for a.2 respectivelybPerforming data synthesis by using a chip DAC; wherein, the first1·2b+l2Using group data for I < th > in DAC group1Group I2And D, performing data synthesis by using the DAC:

wherein l1Indicating the group order in which the current data corresponds to the DAC,/2Indicating the serial number, l, of the current data corresponding to the DAC in the group3Indicates the l-th in each set of data3-1 data;

(9) assigning a.2 in step S8bGroup data are respectively stored in a.2bIn FIFO;

(10) using the data clock data _ clk0,data_clk1,…,data_clki,…,data_clka-1From a 2bSequentially reading out data from the FIFO, wherein1·2b+l2The data clock used by FIFO isThe data read out was:

(11) a.2 output from FIFO in step S10bThe group data are respectively converted into parallel and serial, so that the parallel c-path data are serialized and output to a.2bA DAC;

(12) the DAC carries out digital-to-analog conversion on the digital signals output in series under the drive of the sampling clock, so that the digital signals are converted into analog signals; wherein, the first1·2b+l2The data clock used by DAC is

(13) And adding the analog signals output by all the DACs by using the combiner, and filtering the image frequency components in the analog signals by using the low-pass filter to obtain the synthesized waveform required by the user.

The invention aims to realize the following steps:

the invention relates to a multi-DAC-based broadband high-precision arbitrary waveform synthesis method, which realizes the improvement of the sampling rate and the improvement of the resolution by configuring the phase of a sampling clock and the decomposition of a sampling point. Suppose that is provided with 2QThe parallel structure of the DACs is equally divided into a groups of resolution improvement structures, and each group is 2bThe DAC can improve the sampling rate of the system by a time and improve the resolution by b time through the distribution mode; therefore, the invention can freely select the sampling rate and the lifting multiple of the resolution ratio through a flexible configuration method, has very good expansibility and flexibility, and can meet the requirements of the current society on signal synthesis.

Meanwhile, the multi-DAC-based broadband high-precision arbitrary waveform synthesis method also has the following beneficial effects:

(1) the invention utilizes the parallel waveform synthesis of a plurality of DACs, breaks through the performance limit of devices, realizes the synthesis of high-bandwidth and high-precision waveform signals, and can realize a plurality of sampling rates and vertical resolution matching modes;

(2) the digital-to-analog converter with low sampling rate realizes signal synthesis with high sampling rate, and has important significance for sampling rate of an off-chip burst device;

(3) the invention utilizes the designed waveform data allocation strategy, can enable the waveform synthesis to have a collocation mode with various sampling rates and vertical resolutions, and flexibly allocate hardware resources to meet different test requirements;

(4) the invention adopts the high-performance FPGA, can directly utilize abundant logic resources to complete the multi-path sampling clock phase configuration and the distribution of waveform data while realizing the high-speed data synthesis and transmission, and in addition, the FPGA is used as a programmable logic device and has the advantages of convenient design and free debugging, secondary development of users and customization of self required functions.

Drawings

FIG. 1 is a flow chart of a multi-DAC-based broadband high-precision arbitrary waveform synthesis method of the present invention;

FIG. 2 is a schematic diagram illustrating a sampling rate a times increased by parallel pseudo interpolation of the DAC of the a-path;

FIG. 3 is a schematic structural diagram of a way of DAC parallel pseudo interpolation for realizing a-time sampling rate increase;

FIG. 4 is a schematic diagram of the lifting principle of the dual channel vertical alternation scheme;

FIG. 5 is 2bThe structure diagram of increasing b bits of resolution by using the parallel pseudo interpolation of the DAC is shown;

FIG. 6 is a schematic diagram of an acquisition device based on a multi-resolution digital waveform synthesis architecture;

fig. 7 is a flow chart of waveform data.

Detailed Description

The following description of the embodiments of the present invention is provided in order to better understand the present invention for those skilled in the art with reference to the accompanying drawings. It is to be expressly noted that in the following description, a detailed description of known functions and designs will be omitted when it may obscure the subject matter of the present invention.

Examples

Fig. 1 is a block diagram of an embodiment of the present invention based on an OFDMA converged access network system.

In this embodiment, as shown in fig. 1, the method for synthesizing a multi-DAC-based wideband high-precision arbitrary waveform of the present invention includes the following steps:

s1, setting parameters;

setting the number of DACs to 2QVertical resolution n of DACDAC(ii) a Setting a sampling rate lifting multiple a and a vertical resolution lifting digit b, wherein a is less than or equal to 2QB is less than or equal to Q, and a.2b=2Q

S2, grouping the DACs according to the sampling rate lifting multiple and the vertical resolution lifting digit;

in this embodiment, we can rearrange the DACs under each specific condition in order to fully utilize the hardware resources. If the hardware resources are shared by 2QOne DAC, we can divide all the DACs into a groups, each group has 2bA DAC; wherein each group has 2bThe DAC is used for improving b-bit vertical resolution, and the a group is used for improving a times of system sampling rate. So distributed, 2 of each groupbThe DAC can be regarded as an enhanced DAC with the resolution increased by b bits, the system also becomes a sampling rate multiplication structure consisting of a enhanced DACs, and the sampling rate of the system is improved by a times. For example, if there are 4 DACs in the hardware resource, the combination can be divided into 1 × 4, 2 × 2, 4 × 1, and the combination of 1 × 4 will not increase the sampling rate of the system, but the resolution of the system will increase by two bits; the combination of 2 x 2 not only increases the sampling rate of the system by two times, but also increases the resolution of one bit; the combination of 4 x 1 improves the sampling rate by four times without changing the system resolution.

The following detailed description of the prompting principle is provided:

(1) and the sampling rate promotion principle:

FIG. 2 is a schematic diagram illustrating a principle of a-way DAC parallel pseudo-interpolation for achieving a-fold increase of sampling rate, assuming that the sampling rate is afsWith a sampling period of TsA collection system with output frequency foThe sine wave of (a) is sampled, the number of waveform samples per cycle is N, and N is afs/fo. If the sampling rate of the DAC is only fsIf the output frequency of the original signal is to be maintained, the number of waveform samples involved in waveform recovery needs to be reduced to N/4, which may cause loss of waveform detail information. The parallel pseudo-interpolation technique is to divide waveform sampling points into a parts and combine the parts by a-channel DACIn which the 0 th, a,2 a.,. ka.. the spots are synthesized by channel 1, the 1 st, a +,2a +,. the ka + 1.. the spots are synthesized by channel 2, and so on. Then, the sampling clock module adjusts the phase of each sampling clock to realize the effect shown in fig. 2, and the number of the synthesized waveform sampling points is increased to a by the parallel pseudo-interpolation technology in the sampling clock period of one DAC, so the sampling rate of the waveform synthesis system is increased to afs. The implementation structure is shown in fig. 3.

(2) The principle of improving the vertical resolution is as follows:

FIG. 4 is a schematic representation of the boosting principle of the two-channel vertical alternation scheme, with a DAC resolution of nDACBit, in commonA quantized code value, the quantization step being represented asThe 'channel 0' in FIG. 4(a) is an ideal analog-to-digital conversion curve when the voltage value is (-0.5V)ref,+0.5Vref) When the range is uniformly increased, the DAC keeps a constant quantization code value in a conversion interval, and the deviation between a quantization result and a real value, namely a quantization error, can be found by comparing the real value of the voltage with the quantization code value, wherein the maximum value of the quantization error is one quantization step'channel 1' is to increase the analog biasThe analog-to-digital conversion curve is added with analog offset, so that the original lower voltage can obtain a larger quantization code value, and the curve moves leftwards

Thus, two alternate conversion curves are obtained, because the bias is added in the vertical voltage direction of the one-dimensional signalTherefore, this method is called a vertical alternating sampling method. And then, directly accumulating the two conversion curves, namely the process of directly accumulating the two groups of synchronously sampled quantized values, so that the combined analog-to-digital conversion curve becomes the conversion curve shown in fig. 4 (b). It can be seen that the maximum quantization error of this curve is reduced to 1/2 for 'channel 0' in figure 4(a),i.e. the quantization step becomesAfter applying the vertical alternation method of two channels, the vertical resolution is from nDACBit lifting to nDAC+1 bit, resulting in a resolution improvement of 1 bit.

From the above principle, it is known that the resolution is improved by increasing the quantization code amount in the vertical direction. The resolution of the system is improved by b bits by the structure of fig. 5. First, the resolution is nDACThe high resolution waveform samples of + b are stored in a data memory. The clock divider generates clocks (clk0, clk1, …, clk (2) of phases related to the sampling clockb-1)). The data distributor then reduces the high resolution data to 2 at each clock cyclebEach resolution is nDACTo the DAC. Finally, 2 is putbThe analog outputs of the DACs are added together to obtain the final output. Thus, a vertical synthesis structure with higher waveform resolution is established with a low resolution DAC.

In the present embodiment, in order to realize flexible control over the DAC array, as shown in fig. 6, an architecture of "FPGA + DAC" is adopted in hardware. It can be obtained from the figure that the input of the system is waveform data compiled by an industrial personal computer, and the resolution is nDAC+ b. In this embodiment, the circuit still installs PCIe circuit interface, and the industrial computer waveform data of mainly being used for transmits to FPGA fast, through this interface, can also carry out real time control to whole device.

S3, calculating the binary resolution of the waveform data to be synthesized;

according to the vertical resolution n of the DACDACAnd a vertical resolution increasing digit b, the binary resolution of the waveform data to be synthesized calculated by the upper computer is nDAC+ b bit;

s4, the upper computer sets the binary resolution as n through PCIe bus interfaceDAC+ b, sending the waveform data to be synthesized and the corresponding control command to the FPGA;

wherein, the control command includes: memory address set by user, length of waveform data to be synthesized, and sampling clock frequency f of DACsSampling rate lifting multiple a and vertical resolution lifting digit b;

s5, setting the frequency and the phase of a sampling clock;

the FPGA drives a clock management chip to generate a clock with the frequency fsThe a-way clock of (1) is marked as sample _ clk0,sample_clk1,…,sample_clki,…,sample_clka-1And the a-way clock is used as the sampling clock of the a-group DAC; the initial output phase of each path of sampling clock is as follows:

s6, dividing the a-path sampling clock by c times respectively to obtain a-path data clock, data _ clk0,data_clk1,…,data_clki,…,data_clka-1

S7, the FPGA drives the memory read-write control module to execute the write operation first and then execute the read operation;

the specific process of the write operation is as follows: the memory read-write control module receives waveform data to be synthesized and writes the received waveform data into the waveform memory through the memory interface controller according to a memory address set by a user;

the specific process of the read operation is as follows: the memory read-write control module reads corresponding waveform data from the waveform memory according to a memory address and waveform data length set by a user, each clock reads parallel a.c groups of waveform data, wherein the w-th clock read data is recorded as x0(w),x1(w),…,xi(w),…,xac-1(w);

S7, respectively carrying out resolution reduction processing on the parallel a and c paths of waveform data through a data decomposer;

s7.1, parallel a and c path waveform data x0(w),x1(w),…,xi(w),…,xac-1(w) performing right shift by n bits respectively to obtain the basic distribution code value k of the DAC0(w),k1(w),…,ki(w),…,kac-1(w), and each base allocation code value satisfies:

s7.2, calculating a remainder value after data are uniformly distributed: r is0(w),r1(w),…,ri(w),…,rac-1(w) wherein ri(w)=xi(w)-2n·ki(w), and each remainder satisfies: r is not less than 0i(w)≤2n-1;

S7.3, respectively decomposing the a and c path waveform data into 2 according to the basic distribution code value and the residual valuebA binary resolution of nDACThe data of (a):

wherein x isij(w) indicating the ith path of jth decomposed data under the w clock;

in this embodiment, the waveform data is distributed differently for different DAC configurations. As shown in Table 1, the waveform data value is 2bK + r, then divided by the number of DACs per group 2bIf the quotient is k and the remainder is r, the received waveform data value of the first r DACs in each group is k +1, and the waveform data value of the following DACs is i.

TABLE 1 waveform data Allocation Table

S8, using data distributor to distribute a, c and 2bThe road waveform data is distributed as a.2bSet of c-way parallel data for a.2 respectivelybPerforming data synthesis by using a chip DAC; wherein, the first1·2b+l2Using group data for I < th > in DAC group1Group I2And D, performing data synthesis by using the DAC:

wherein l1Indicating the group order in which the current data corresponds to the DAC,/2Indicating the serial number, l, of the current data corresponding to the DAC in the group3Indicates the l-th in each set of data3-1 data;

in this example, a · c · 2 is given belowbThe road waveform data is distributed as a.2bThe specific values of the group c-path parallel data are as follows:

group 1 data: x is the number of0,0(w),xa,0(w),…,xai,0(w),…,xa(c-1),0(w)

Group 2 data: x is the number of0,1(w),xa,1(w),…,xai,1(w),…,xa(c-1),1(w)

……

……

J.2 thb+ k sets of data: x is the number ofj,k-1(w),xa+j,k-1(w),…,xai+j,k-1(w),…,xa(c-1)+j,k-1(w)

……

The (a-1) 2b+1 set of data:

xa-1,0(w),xa+a-1,0(w),…,xai+a-1,0(w),…,xa(c-1)+a-1,0(w)

……

a and 2 thbGroup data:

s9, assigning a.2 to step S8bGroup data are respectively stored in a.2bIn FIFO;

s10, using data clock data _ clk0,data_clk1,…,data_clki,…,data_clka-1From a 2bSequentially reading out data from the FIFO, wherein1·2b+l2The data clock used by FIFO isThe data read out was:

s11, outputting a.2 from FIFO in step S10bThe group data are respectively converted into parallel and serial, so that the parallel c-path data are serialized and output to a.2bA DAC;

s12, the DAC carries out digital-to-analog conversion on the digital signals output in series under the driving of the sampling clock, so that the digital signals are converted into analog signals; wherein, the first1·2b+l2The data clock used by DAC is

As shown in FIG. 7, the data transmitted from the upper computer to the FPGA is ac data with bit width nDACThe waveform sample point of + b is decomposed into a.c.2 by a data decomposerbWay data bit width is nDACThe waveform samples of (1), the data are divided into a.2bThe group is obtained by combining the two groups,store these data into a.2bA FIFO, then using the data clockRead out the first1Data acquisition in a FIFOAfter data parallel-serial conversion, sending to DAC, and sampling at sampling clockIs down-converted to an analog signal.

And S13, adding the analog signals output by all the DACs by using the combiner, and filtering the image frequency components in the analog signals by using a low-pass filter to obtain the synthesized waveform required by the user.

Although illustrative embodiments of the present invention have been described above to facilitate the understanding of the present invention by those skilled in the art, it should be understood that the present invention is not limited to the scope of the embodiments, and various changes may be made apparent to those skilled in the art as long as they are within the spirit and scope of the present invention as defined and defined by the appended claims, and all matters of the invention which utilize the inventive concepts are protected.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:通过使用欺骗时钟及细粒度频率控制实现的向后兼容性

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!