Talking about the Causes and Types of Deviation of Independent Buttons of MCU

Simply put, enter the electronics, whether it is to learn pure simulation, or to learn microcontrollers, DSP, ARM and other processors, or our FPGA, generally do not need to press the button. Button: Human-computer interaction control, mainly used for control of the system, release of signals, etc. So here, the buttons on the FPGA are debounced and have to be said!

First, why should we debounce?

Talking about the Causes and Types of Deviation of Independent Buttons of MCU

As shown in the above figure, when the button is pressed for a short time, due to the jitter on the hardware, jitter of several milliseconds is often generated. At this time, if the signal is collected, it will inevitably lead to misoperation and even system collapse. Similarly, the button is released. At that moment, the hardware will produce jitter correspondingly, which will have the same consequences. Therefore, in analog or digital circuits, we must avoid collecting signals and operating at the most unstable time.

This is generally the principle of debounce. Generally can be divided into the following:

(1) Delay

(2) N low counts

(3) low pass filtering

In digital circuits, (1) (2) methods are generally produced. This will be described in detail later.

Second, various debounce

1. Analog circuit button debounce

For analog circuits, the general debounce is used for capacitor debounce or Schmitt trigger circuit, and will not be described again.

Talking about the Causes and Types of Deviation of Independent Buttons of MCU

OTHERS Oil Filter

FOR OTHERS Oil Filter

Others Oil Filter,Others Car Oil Filter,Others Automobile Oil Filter,Others Auto Oil Filter

Zhoushan Shenying Filter Manufacture Co., Ltd. , https://www.renkenfilter.com

This entry was posted in on