The application relates to a COD online detection
turbidity compensation method based on
ultraviolet absorption spectrum, which comprises the following steps: preparing gradient COD
standard solution, gradient
turbidity standard solution and
mixed solution, and measuring the absorption spectrum of various solutions; a COD
concentration prediction model and a
turbidity prediction model are established; the
ultraviolet absorption spectrum of a
mixed solution to be measured is collected, the characteristic
wavelength absorbance is extracted and substituted into the turbidity prediction model to obtain a predicted turbidity value, a turbidity interference correction coefficient and an interference reference value are calculated, and the corrected COD true
absorbance is generated; the corrected COD true
absorbance is subjected to interval average
processing, the comprehensive abnormal value is calculated, and the detection effectiveness is judged. The application has high reliability, can reduce the average relative error of COD detection through optimized modeling interval screening, multi-
wavelength collaborative turbidity identification and scene compensation strategies, and cooperates with a closed-loop abnormal judgment mechanism, so that the detection result is still accurate and stable under a complex
turbid water quality environment, and the actual
water quality treatment can be effectively guided.