Electronic – What could cause impulse noise on switch closure

emcnoiseswitches

I have a simple SPST NO Tact switch which is creating a noise pulse in a very sensitive receiver. Moving the switch, shielding etc is not possible.

I need to understand how the switch is creating is creating this noise, so I can kill it.

Switch Scnematic

R2 could be increased in value, but I tried that without improvement. This seems to suggest that it's the discharging of parasitic capacitance at the switch that is causing the noise.

R3 was originally intended to help prevent ESD near the switch from reaching the processor, but it also should prevent that trace capacitance from contributing to the noise.

Switch Layout

The R3 and R2 are located right at the switch, which should minimize any parasitic trace capacitance that would be discharged when the switch closes.

I've tried adding 1k in series with the ground side of the switch, thinking the noise was caused by discharging the parasitic capacitance, but that didn't make any noticeable change.

I tried 1nF across the switch, and not surprisingly the noise got worse. That seems to align with the idea that it's parasitic capacitance at the switch causing the noise when the switch closes.
Adding C across the switch would also be a bad idea long term because the discharge current would exceed the switch rating unless I also added series R to the cap…

So, can anyone explain the mechanism by which the switch is creating bursts of RF noise on closure and/or how to prevent that?

EDIT: We proved it's the switch by removing R3, and tying TP7 to VCC through 10k, so that the processor can't see the switch. The contacts are a collapsing metal dome which touches metal contacts. I had to dissect a switch to find that out, the data sheet doesn't explicitly say so, but the resistance is 0.1 ohm max which hints that it's metallic contacts.

So it is the discharge of the internal capacitance, equalizing the voltage between the contacts, which is radiating the noise.

I'm starting to think that we just need to find a conductive rubber switch, and there may be NO practical solution to the original switch.

Edit: I'm well aware of the bounce, and debouncing is done in SW. In the test where we disconnected R3, the RF pulses were still observed with no change at all, while the switch was physically disconnected from the processor input, and that input tied high to simulate the unpushed switch.
This is the first time I've seen this phenomenon in this type of switch.

You can see a similar phenomenon if you have a sensitive receiver, antenna, and two screwdrivers. Set up the receiver down near 500kHz, and then simply touch the metal screwdriver shafts together near the antenna while holding the plastic handles. You'll hear clicking in the receiver. More or less strongly depending on the distance and the stored charge on the metal shafts. In this case the switch is < 0.1 inch from the antenna, and we force a charge of 3.3V when the switch is open.

Best Answer

A metal-dome switch generates a significant mechanical impulse when it is pressed. If your design includes ceramic capacitors (especially MLCCs), this impulse may be inducing microphonic effects in these capacitors. You can try to confirm this by tapping the board while it is in use.

Using a less mechanically "clicky" switch will solve the problem. So will using different types of capacitors.

Related Topic