The invention discloses a multi-channel threshold self-adaptive liquid level detection
system and method and a storage medium. 1, initial calibration of a detection probe: before liquid level detection starts, a single-
chip microcomputer collects a
voltage value VOUT of an output end of a filtering protection circuit in real time, and when the height of detected liquid reaches a set height of the detection probe, the single-
chip microcomputer outputs the
voltage value VOUT to the output end of the filtering protection circuit; the
single chip microcomputer calculates a regulation and control reference
voltage value VDAC ref through an embedded program according to the calibration reference voltage value VOUT ref collected at the moment, and stores the regulation and control reference voltage value VDAC ref and the calibration reference voltage value VOUT ref; 2, after liquid level detection is started, the
single chip microcomputer collects the voltage value VOUT of the output end of the filtering protection circuit in real time and compares the voltage value VOUT with VOUT ref, the change trend is calculated through a sliding
algorithm, and when the deviation between the VOUT and the VOUT ref exceeds + / -5%, the
single chip microcomputer readjusts the VDAC value output to the adjustable
reference circuit according to the formula (1). The
detection threshold value is automatically adjusted according to solution characteristics, accurate judgment is achieved, and stability is high; meanwhile, an
analog circuit design is adopted, and the manufacturing cost is low.