Structure and method for preventing potentiometer gear judgment jitter

The invention discloses a structure and a method for preventing potentiometer gear judgment jitter. The structure comprises an MCU which is connected with an adjustment module, a sensor, a power module, and a display screen. The method comprises the following steps: initializing and setting potentio...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI TAOYING, CHEN DAN, XIA BIN, ZHU PAN, LU YINCHAO, LI XIPING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a structure and a method for preventing potentiometer gear judgment jitter. The structure comprises an MCU which is connected with an adjustment module, a sensor, a power module, and a display screen. The method comprises the following steps: initializing and setting potentiometer parameters; collecting the AD value of the current potentiometer once every 10ms; accurately calculating knob gears; setting a hysteresis interval; and judging the gear according to the judgment standard and the current AD value. According to the technical scheme, the hysteresis interval is set in gear judgment, the gear jittering phenomenon is prevented, the interval is set according to needs, when the jittering range exceeds the interval, the current gear is switched, and it is avoided that when the gear signal collector of the gear device is located between different gears, switching is conducted back and forth between the adjacent gears, and misjudgment is caused; and the control accuracy of the air condi