The invention discloses a narrow pulse acquisition
algorithm based on a JESD204B interface, and relates to the technical field of
signal acquisition. The method comprises the steps of firstly calculating initial
noise, a preset effective multiple and a preset effective number of times; then, the JESD204B interface data is subjected to preprocessing; then calculating the
maximum amplitude in single-time received data through a three-stage pipeline; and finally, judging whether the acquired data is valid or invalid according to the set
noise and the specific value, adaptively updating the
noise value, and filtering burrs (including fixed noise and
burst noise) with a certain width. According to the
algorithm, the characteristic that data received by a JESD204B interface of a high-speed ADC is continuous acquisition points is utilized, the
maximum amplitude in a single data packet is calculated, the
maximum amplitude is compared with a preset noise value through a
ratio method, and the validity / invalidity judgment of a narrow pulse
signal is completed. The method has the advantages of
low complexity, high anti-interference performance and flexible
algorithm. The problems that in the prior art, the collected data volume is large, the
data processing algorithm is complex, and burrs cannot be processed are solved.