The application discloses a high-speed spectral
confocal signal processing system and method based on Zynq, which comprises the following steps: 1, collecting original
linear array spectral images through a parallel multi-path
source synchronous interface and decoding and receiving; 2, loading a pre-calibration dark
signal to a hardware cache through a soft and hard collaborative mechanism to perform pixel-by-pixel operation to subtract the dark
signal in real time; 3, extracting and counting electrical black reference pixel values in real time, and dynamically correcting the electronic
background noise; 4, adopting a Savitzky-Golay filter with fixed-point solidification and
logic optimization,
random noise is smoothed under the premise of retaining spectral peak characteristics; 5, a sub-pixel peak searching method is deployed in hardware, which is a low-
delay and high-precision sub-pixel peak searching method realized through dynamic adjustment of a local peak searching interval by cross-frame threshold prediction, based on first-order central difference and weighted
linear fitting. According to the characteristics of high-speed spectral
confocal measurement, the application efficiently adapts programmable logic resources, realizes pipeline
processing in a soft and hard collaborative manner, and can meet the requirements of high-speed and high-precision and low-cost industrial measurement.