13

I was surprised to learn that a mechanical switch (SPST) bounces when it is opened. What causes the contact to temporarily return to touching?

Does this phenomenon only happen with certain types of switches (e.g., with sliding switches but not with most pushbuttons)?

Richard Hansen
  • 294
  • 2
  • 9
  • 3
    Here is a [switch debouncing article](http://www.ganssle.com/debouncing.htm) by "The Ganssle Group" which may be of interest. – JYelton Jan 02 '13 at 18:04

3 Answers3

14

Basically no substance is perfectly smooth, or inelastic. When two objects come together with any force, there is kinetic energy that needs to die down upon contact. So you get some "ringing", plus since the surface isn't smooth the contact makes/breaks a bit randomly until settling (e.g. even with a sliding switch the contact resistance will vary upon movement)

It happens with all switches; sliding, pushbutton, relay, etc, though sliding or wetted contacts (e.g. mercury) are better. It also happens upon opening the switch, not just on closing. Some are better than others - you can get some awful ones that will bounce for tens of ms, and some good ones that settle within <5ms.

To add more on the opening of the switch, it's due to the irregular surfaces opening in a not perfectly perpendicular manner. The widely varying resistance this creates appears similar to the bounce during closing. When pressure is released, one part of the contact may disengage, but another part may briefly obtain a lower resistance than it had previously, the more irregular the surface and the more of an angular force between the contacts, the more pronounced this effect is likely to be.

Although it looks smooth to our eye, the copper surface looks rather different under a microscope:

Copper Surface

Oli Glaser
  • 54,990
  • 3
  • 76
  • 147
  • 1
    I understand why there's bouncing when two contacts come together. I'm interested in why there is bouncing when two contacts are pulled apart. – Richard Hansen Jan 02 '13 at 18:33
  • It's more to do with the contact smoothness here rather than bounce, creating varying resistance as the contacts separate. Basically all of the contact does not separate at the same time (the direction of travel will not be perfectly perpendicular to the other contact, so you get the wiping action mentioned by Olin and David) – Oli Glaser Jan 02 '13 at 18:40
2

Think about the reverse. What if you were tasked with designing a switch that did not bounce on opening. How would you guarantee at the microscopic level that the two conductors always moved away monotonically without any wiping action (sliding, which can cause momentary opening and closing)? You have to consider that everything is a spring at that level, no matter how rigid it may seem at a macroscopic level. Even if it were somehow possible to not have any wiping action as the contacts separate, how do you guarantee there will not be any oscillation of the contacts as they move away? You have to consider the velocity starts out at 0, so even a little backlash or ringing due to breaking of the static friction can be significant.

Think about it and describe us a dry mechanical switch that won't bounce if you actually think that is possible.

Kortuk
  • 13,362
  • 8
  • 60
  • 85
Olin Lathrop
  • 310,974
  • 36
  • 428
  • 915
  • 3
    Olin is right, but I'd like to add a little. By "wiping action", Olin means that the two contacts slide against each other. One contact does not simply lift off the other, but it also slides. You can see this by putting your elbows against your hips and pressing your hands together in a praying pose. Think of your hands as the contacts and your arms are springs. Now press one hand harder against the other so that your hands are not centered on your body. You're hands will slide. Any reasonable switch will always have some spring action on the contacts and thus some sliding and bouncing. –  Jan 02 '13 at 17:16
  • What about relays? Do their contacts disengage without wiping action? – dext0rb Jan 02 '13 at 17:18
  • 1
    @DavidKessner: So if Olin is right, why not +1? :) –  Jan 02 '13 at 17:23
  • All mechanical contacts will do this; including relays. – gbarry Jan 02 '13 at 17:53
  • @David: Good point. I added a little to my answer, and your comment also serves to clarify "wiping action". – Olin Lathrop Jan 02 '13 at 17:58
  • @gbarry: Relays are just switches driven by electrical means. Bouncing comes from the switch itself regardless of how it is driven. A solid monotonic driving action like in a relay can lessen bouncing, but at the microscopic level it's still just two contacts with some springyness, backlash, ringing, and static friction moving away from each other. – Olin Lathrop Jan 02 '13 at 18:01
  • @DavidKessner: I like your explanation. If you post it as an answer I'll accept. – Richard Hansen Jan 02 '13 at 18:39
  • @VladLazarenko Good point. I just did a +1. –  Jan 02 '13 at 19:25
  • @OlinLathrop Feel free to plagiarize my comment and put it into your answer. I would edit your answer myself, but I don't want to step on any toes. –  Jan 02 '13 at 19:28
  • 8
    I edited the first sentence, there is not a need to write in such a way that clearly states you think the user is at fault for not realizing the answer. If you feel a question is below you dont answer, dont insult the user or you will not be welcome to continue on this site. – Kortuk Jan 03 '13 at 02:50
1

In the 1950s and early 1960s I worked as an electrical engineer in a team designing high current (>100 amps) regulated dc power supplies. We had been using magnetic amplifiers for control, but then what we called SCRs (Silicon Controlled Rectifiers, now called Thyristors) began to appear. They were very susceptible to overloads, and would blow faster than the fuses available, so one way to protect them was a "crowbar", that is a switch that short circuited the transformer secondary winding, so that the supply was cut off from the SCRs, and fuses in the supply line would blow -- the hefty transformer and its cabling could take the shock safely. The trouble was that there was an awful lot of dangerous, and frighteningly noisy, sparking as the switch inevitably bounced. The clever engineers in the research lab did design a "no bounce" switch, but it needed very delicate adjustment so was no good for production equipment. In the end improved fuse design and more robust SCRs made it unnecessary.

As I recall from a high speed film of the switch, an upper contact descended on to a lower one, and the combination was sprung so that they stayed together as they recoiled and swung up and down. When we tested one there were indeed no sparks from the switch, but a loose connection to the transformer went off with an almighty bang. (before the t dotters and eye crossers complain, yes I know it should be "there was no spark", but what I wrote sounds more like reality)

Harry Weston
  • 2,170
  • 3
  • 24
  • 28