The invention relates to the technical field of
signal processing, in particular to a large-bandwidth
signal source bandwidth flatness compensation method and device based on an FPGA (
Field Programmable Gate Array), and the method comprises the steps: playing
signal data with required bandwidth through an
analog front end based on the FPGA, and measuring an original amplitude-
frequency response curve of the signal data through a frequency
spectrograph; calculating the amplitude-
frequency response of the compensation filter, obtaining a compensation filter coefficient, and quantifying the compensation filter coefficient; sending the quantized compensation filter coefficient to an FPGA to compensate the signal data, playing the signal data through an
analog front end, and measuring a first pre-compensation amplitude-
frequency response curve in a
Nyquist frequency range through a frequency
spectrograph; and determining a frequency range exceeding the set bandwidth flatness according to the first pre-compensation amplitude-frequency response curve, and performing independent compensation. Therefore, the influence caused by nonlinearity of a DAC device and related circuits is overcome, the amplitude-frequency response of a large-bandwidth
signal source is effectively compensated, the signal flatness in the bandwidth is improved, and the stability and reliability of the
system are enhanced.