When a mechanical relay switches on or off, its contacts do not close or open cleanly in a single instant. Instead, they often create intermittent connections before settling into a stable state. This phenomenon is known as switch debouncing issue. It happens because the switch terminals possess mechanical inertia, causing