The invention discloses an anti-interference capacitive touch button controller and a realization method, belonging to the technical field of touch sensing. The controller includes touch keys,
electrode capacitors, sampling capacitors, antistatic resistors, electronic components, counters and registers. One end of the touch button is grounded through the
electrode capacitance, and the other end is connected to the first reset switch, charging switch, and
charge transfer switch through an antistatic
resistor; the other end of the first reset switch is grounded; the other end of the charging switch is connected to the power supply VDD, and the
charge transfer switch is connected to the other One end is connected to the sampling
capacitor, the second reset switch and electronic components; the other end of the sampling
capacitor and the second reset switch are both grounded, the electronic components are output to the counter, and the counter is connected to the register. Through the pulse
clock with variable
charge and discharge frequency, the spectrum energy during touch is evenly distributed within a certain range of frequencies, avoiding
resonance with the energy peak of high-frequency interference signals, improving the robustness of charge migration acquisition and detection, and improving the anti-interference ability.