The gain of the detection circuit R9 / (R1 + R2 + R3 + R4) requires that when the voltage of the measured side reaches the highest value, the detected output voltage is lower than 3.3V, and there must be a certain amount of surplus. It is necessary to select t = r9c1 reasonably for the filtering time, so that it can adapt to the measured rate of change.