Peak power multi-pulse parameter measuring method

文档序号:648636 发布日期:2021-05-14 浏览:7次 中文

阅读说明:本技术 一种峰值功率多脉冲参数测量方法 (Peak power multi-pulse parameter measuring method ) 是由 刘元商 苏发 李强 李金山 冷朋 殷大鹏 张宇森 夏天亮 于 2020-12-22 设计创作,主要内容包括:本发明公开了一种峰值功率多脉冲参数测量方法,属于测量技术领域。本发明通过基于FPGA的回读技术和采样数据统计技术,一次测量可以同时完成屏内所有脉冲的上升时间、下降时间、脉冲宽度、脉冲周期、关闭时间等脉冲参数的测量,从而满足了用户对复杂脉冲调制信号多个脉冲的参数测量需求,同时由于是对满屏内采样数据的处理,脉冲参数的测量精度和准确度更高,并且不受屏内脉冲个数的影响。(The invention discloses a peak power multi-pulse parameter measuring method, and belongs to the technical field of measurement. According to the invention, through the read-back technology based on the FPGA and the sampling data statistical technology, the pulse parameters such as the rise time, the fall time, the pulse width, the pulse period, the closing time and the like of all pulses in the screen can be simultaneously measured by one-time measurement, so that the requirement of a user on the parameter measurement of a plurality of pulses of a complex pulse modulation signal is met, and meanwhile, the measurement precision and the accuracy of the pulse parameters are higher due to the processing of the sampling data in the full screen, and the method is not influenced by the number of the pulses in the screen.)

1. A peak power multi-pulse parameter measurement method is characterized in that: adopting FPGA, comprising the following steps:

step 1: determining the position index of each edge in the full screen based on the read-back technology of the FPGA; the method specifically comprises the following steps:

step 1.1: according to the trigger position locked by the FPGA and parameters including horizontal scales, horizontal start and trigger delay set by a user, calculating the start address and length of the FPGA to be read back from an internal sampling memory RAM, and sending the start address and length to the FPGA for starting read back;

step 1.2: each sampling clock of the FPGA reads a piece of sampling data from the sampling memory RAM and sequentially sends the read sampling data to a digital comparator inside the FPGA;

step 1.3: latching the position index of each trigger edge through a digital comparator and a trigger level given by a user;

step 1.4: after the read-back is finished, the position indexes of all the trigger edges are subjected to subsequent processing;

step 2: determining the top amplitude and the bottom amplitude of the pulse by adopting a sampling data statistical algorithm according to the sampling data of the full screen; the method specifically comprises the following steps:

step 2.1: sorting all the sampling data according to the size sequence so as to count the frequency count of the whole sampling data occupied by each sampling data;

step 2.2: taking the data with the maximum data frequency as the amplitude of the pulse;

and step 3: calculating pulse parameter values of all pulses in the full screen according to the amplitude values of the bottom and the top; the method specifically comprises the following steps:

step 3.1: calculating an ADC index value corresponding to any level point of each trigger edge according to the position index of the trigger edge given in the step 1;

step 3.2: and converting the index values into time values according to the sampling frequency, and calculating pulse parameter values of all pulses in the full screen.

Technical Field

The invention belongs to the technical field of measurement, and particularly relates to a peak power multi-pulse parameter measurement method.

Background

In making peak power measurements, various pulse parameters need to be measured: the pulse parameters are calculated by performing various processes on the pulse data to obtain an index value along the time axis for each edge.

The most approximate scheme of the invention is to adopt a pure software processing method to perform data processing and operation on trace data of a full screen (501 pixel points), and finally convert the trace data into an edge time axis based on pixel positions so as to calculate each pulse parameter value.

Since there are only 501 full-screen pixels, data processing can be performed only based on these pixels, which results in a large error of the measured pulse parameters, and as the number of full-screen pulses increases, the calculation error increases sharply, and even when the number of pulses reaches a certain degree, the measurement of the pulse parameters cannot be completed. Meanwhile, due to the pure software processing mode, the speed is relatively slow, and if the number of processed pulses is too large, the measuring speed is greatly reduced, and the user experience is influenced.

Disclosure of Invention

Aiming at the technical problems in the prior art, the invention provides the peak power multi-pulse parameter measuring method which is reasonable in design, overcomes the defects in the prior art and has a good effect.

In order to achieve the purpose, the invention adopts the following technical scheme:

a peak power multi-pulse parameter measurement method adopts an FPGA and comprises the following steps:

step 1: determining the position index of each edge in the full screen based on the read-back technology of the FPGA; the method specifically comprises the following steps:

step 1.1: according to the trigger position locked by the FPGA and parameters including horizontal scales, horizontal start and trigger delay set by a user, calculating the start address and length of the FPGA to be read back from an internal sampling memory RAM, and sending the start address and length to the FPGA for starting read back;

step 1.2: each sampling clock of the FPGA reads a piece of sampling data from the sampling memory RAM and sequentially sends the read sampling data to a digital comparator inside the FPGA;

step 1.3: latching the position index of each trigger edge through a digital comparator and a trigger level given by a user;

step 1.4: after the read-back is finished, the position indexes of all the trigger edges are subjected to subsequent processing;

step 2: determining the top amplitude and the bottom amplitude of the pulse by adopting a sampling data statistical algorithm according to the sampling data of the full screen; the method specifically comprises the following steps:

step 2.1: sorting all the sampling data according to the size sequence so as to count the frequency count of the whole sampling data occupied by each sampling data;

step 2.2: taking the data with the maximum data frequency as the amplitude of the pulse;

and step 3: calculating pulse parameter values of all pulses in the full screen according to the amplitude values of the bottom and the top; the method specifically comprises the following steps:

step 3.1: calculating an ADC index value corresponding to any level point of each trigger edge according to the position index of the trigger edge given in the step 1;

step 3.2: and converting the index values into time values according to the sampling frequency, and calculating pulse parameter values of all pulses in the full screen.

The invention has the following beneficial technical effects:

the invention provides a multi-pulse parameter measuring method in microwave peak power measurement, which can simultaneously complete the measurement of pulse parameters such as rise time, fall time, pulse width, pulse period, closing time and the like of all pulses in a screen by one-time measurement through a read-back technology and a sampling data statistical technology based on an FPGA (field programmable gate array), thereby meeting the parameter measurement requirements of a user on a plurality of pulses of a complex pulse modulation signal, and simultaneously, the measurement precision and accuracy of the pulse parameters are higher due to the processing of sampling data in a full screen, and the method is not influenced by the number of the pulses in the screen.

Drawings

FIG. 1 is a schematic diagram of the read-back process of the FPGA.

Fig. 2 is a statistical diagram of sampled data of a multi-pulse signal.

Detailed Description

The invention is described in further detail below with reference to the following figures and detailed description:

the basic idea of the invention is as follows:

(1) position index of each edge in full screen is determined by read-back technology based on FPGA

According to the trigger position locked by the FPGA and the parameters such as horizontal scale, horizontal Start, trigger delay and the like set by a user, software calculates the Start address (Start) and Length (Length) of the FPGA needing to be read back from a sampling storage RAM, and sends the Start address and Length (Length) to the FPGA to Start the read back.

(2) According to the full-screen sampling data, determining the top amplitude and the bottom amplitude of the pulse by adopting a sampling data statistical algorithm, which is specifically as follows:

and sorting all the sampling data according to the size sequence so as to count the frequency count of the whole sampling data occupied by each sampling data. And finally, the maximum data frequency is used as the amplitude of the pulse.

As shown in fig. 2, the bottom and top amplitudes are determined using a sampled data statistical technique.

The ADC values of any level points such as 10%, 50% and 90% can be obtained through the amplitude values of the bottom and the top, then the ADC index values corresponding to any level points such as 10%, 50% and 90% of each trigger edge can be obtained according to the position index of the trigger edge given in the step (1), and the ADC index values are converted into time values according to the sampling frequency, so that the pulse parameter values of all pulses in the full screen can be calculated.

On the premise of ensuring the measuring speed, the parameter measurement of all pulses in the full screen can be completed by one-time measurement without being influenced by the number of the pulses in the screen, and the measuring accuracy is higher.

It is to be understood that the above description is not intended to limit the present invention, and the present invention is not limited to the above examples, and those skilled in the art may make modifications, alterations, additions or substitutions within the spirit and scope of the present invention.

5页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:通信机房直流用电设备用电量计量装置及其应用方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!