Author Topic: Switch lifetime testers?  (Read 2483 times)

0 Members and 1 Guest are viewing this topic.

Offline obra

  • * Commercial Vendor
  • Thread Starter
  • Posts: 137
Switch lifetime testers?
« on: Mon, 29 December 2014, 14:17:27 »
Is there a Geekhack best practice or standard for switch lifetime testers? I was contemplating rigging something up with a solenoid and an Arduino, but if this has already been done, I'd love to learn what works and what doesn't.


Offline SpAmRaY

  • NOT a Moderator
  • * Certified Spammer
  • Posts: 14667
  • Location: ¯\(°_o)/¯
  • because reasons.......
Re: Switch lifetime testers?
« Reply #1 on: Mon, 29 December 2014, 14:19:38 »
It's been talked about a bunch but I don't think I've ever seen anything actually done.

Very interested in anything you might come up with. :thumb:

Offline obra

  • * Commercial Vendor
  • Thread Starter
  • Posts: 137
Re: Switch lifetime testers?
« Reply #2 on: Mon, 29 December 2014, 14:31:41 »
It's been talked about a bunch but I don't think I've ever seen anything actually done.

Very interested in anything you might come up with. :thumb:

Well, the first solenoids show up tonight :)

Offline jacobolus

  • Posts: 3661
  • Location: San Francisco, CA
Re: Switch lifetime testers?
« Reply #3 on: Mon, 29 December 2014, 14:33:01 »
To get meaningful results you probably need to test a pretty big sample of switches across different batches. I don’t think too many hobbyists can do it effectively, even if they could build a capable tester. Seems like the kind of thing worth talking to MassDrop or MK.com or WASD or somebody about, someone who handles a lot of switches of different types and could afford to build a rig that could test a bunch of switches at a time.

Offline obra

  • * Commercial Vendor
  • Thread Starter
  • Posts: 137
Re: Switch lifetime testers?
« Reply #4 on: Mon, 29 December 2014, 14:59:52 »
To get meaningful results you probably need to test a pretty big sample of switches across different batches. I don�t think too many hobbyists can do it effectively, even if they could build a capable tester. Seems like the kind of thing worth talking to MassDrop or MK.com or WASD or somebody about, someone who handles a lot of switches of different types and could afford to build a rig that could test a bunch of switches at a time.

I'm not looking for scientific results. Building a tester that can exercise switches to a specific # of presses _will_ tell me a lot about the build quality of a switch and how the spring degrades with a relatively small sample size.

The secret (and business-time justifiable) plan is actually to build a full test rig for a keyboard. Which is more on the order of a few keystrokes per key.

Offline Oobly

  • * Esteemed Elder
  • Posts: 3929
  • Location: Finland
Re: Switch lifetime testers?
« Reply #5 on: Wed, 31 December 2014, 02:30:48 »
Another option is a cam mounted to a motor, but it requires some form of roller bearing mounted to the keycap. I've been considering making something like this to wear in new MX switches. It should be pretty fast (even at just 1000rpm you'll get almost 17 presses per second). You can mount different switches at different heights to get the movement to match the bottom out distance.

The advantage of a solenoid, though, is that you can simulate bottoming out forces and I'm sure that will put a bit more strain on the springs. On the other hand, the cam will simulate slight off-angle presses, so they may give slightly different wear results.

I'd be interested in more than just the spring fatigue, but also how the tactility and smoothness change with wear.

If you do complete this project, PLEASE post your testing methods and results here. I suspect it would be very interesting and useful information for most of the users of this site.
Buying more keycaps,
it really hacks my wallet,
but I must have them.

Offline vvp

  • Posts: 887
Re: Switch lifetime testers?
« Reply #6 on: Wed, 31 December 2014, 09:46:37 »
Hmm, it looks like 2 ms should be enough to return linear 65g switch from fully pressed position to force free position. I assumed stem mass of about 0.26g (?). So one probably can go to 100 presses per second. One press takes less than 2.6 mJ of energy without friction. So friction loss should be smaller than that. It should not melt when driven by solenoid. But if cam is used then we get additional friction loses at the touch point between cam and switch stem and that may be a problem.
At 100 presses per second, it should take about 2.3 days till the switch fails. (IRC the switches should last 2e7 presses.)
I'm curious to see the results of this experiment (if there will be any).

Offline 0100010

  • Posts: 1127
  • Location: DFW, TX, US
  • Not Sure
Re: Switch lifetime testers?
« Reply #7 on: Thu, 01 January 2015, 02:28:15 »
There was a thread a couple months ago that has a video from some tech / geek site that had some guys visiting the Cherry factory in Europe.  Part of that video featured the testing of MX switches on I believe a pnuematic solenoid setup - to some tens of millions number.
  Quoting me causes a posting error that you need to ignore.

Offline obra

  • * Commercial Vendor
  • Thread Starter
  • Posts: 137
Re: Switch lifetime testers?
« Reply #8 on: Thu, 01 January 2015, 04:53:29 »
There was a thread a couple months ago that has a video from some tech / geek site that had some guys visiting the Cherry factory in Europe.  Part of that video featured the testing of MX switches on I believe a pnuematic solenoid setup - to some tens of millions number.

Yep, I've seen similar things. One of them at a small keyboard maker in Shenzhen. (They were testing their Gaote switches)


Offline CPTBadAss

  • Woke up like this
  • Posts: 14365
    • Tactile Zine
Re: Switch lifetime testers?
« Reply #9 on: Mon, 05 January 2015, 06:52:52 »
I'm pretty sure I recall a thread where QWER had a machine which tested it. I'm pretty sure it was a cam setup like Oobly mentioned and had little arms which actuated keys on a keyboard. I can't find the thread right now though :(.

Offline mkawa

  •  No Marketplace Access
  • Posts: 6562
  • (ツ)@@@. crankypants
Re: Switch lifetime testers?
« Reply #10 on: Mon, 05 January 2015, 18:53:36 »
mount a piston type solenoid above the switch driven by a relay or FET that smashes the key down every time the key registers an actuation (since it's an SPST, this is pretty straightforward). start the little perpetual motion machine and wait until it stops. time a couple cycles to determine number of live cycles.

note that this is a MTBF measurement device and not a torture test total failure deal.

to all the brilliant friends who have left us, and all the students who climb on their shoulders.

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Switch lifetime testers?
« Reply #11 on: Mon, 05 January 2015, 19:13:49 »
Is this just testing a raw switch?

Or is there any consideration given to a keycap that would suddenly find itself squashed between a suffering switch and a relentlessly pressing artificial finger?
"Because keyboards are accessories to PC makers, they focus on minimizing the manufacturing costs. But that’s incorrect. It’s in HHKB’s slogan, but when America’s cowboys were in the middle of a trip and their horse died, they would leave the horse there. But even if they were in the middle of a desert, they would take their saddle with them. The horse was a consumable good, but the saddle was an interface that their bodies had gotten used to. In the same vein, PCs are consumable goods, while keyboards are important interfaces." - Eiiti Wada

NEC APC-H4100E | Ducky DK9008 Shine MX blue LED red | Ducky DK9008 Shine MX blue LED green | Link 900243-08 | CM QFR MX black | KeyCool 87 white MX reds | HHKB 2 Pro | Model M 02-Mar-1993 | Model M 29-Nov-1995 | CM Trigger (broken) | CM QFS MX green | Ducky DK9087 Shine 3 TKL Yellow Edition MX black | Lexmark SSK 21-Apr-1994 | IBM SSK 13-Oct-1987 | CODE TKL MX clear | Model M 122 01-Jun-1988

Ị̸͚̯̲́ͤ̃͑̇̑ͯ̊̂͟ͅs̞͚̩͉̝̪̲͗͊ͪ̽̚̚ ̭̦͖͕̑́͌ͬͩ͟t̷̻͔̙̑͟h̹̠̼͋ͤ͋i̤̜̣̦̱̫͈͔̞ͭ͑ͥ̌̔s̬͔͎̍̈ͥͫ̐̾ͣ̔̇͘ͅ ̩̘̼͆̐̕e̞̰͓̲̺̎͐̏ͬ̓̅̾͠͝ͅv̶̰͕̱̞̥̍ͣ̄̕e͕͙͖̬̜͓͎̤̊ͭ͐͝ṇ̰͎̱̤̟̭ͫ͌̌͢͠ͅ ̳̥̦ͮ̐ͤ̎̊ͣ͡͡n̤̜̙̺̪̒͜e̶̻̦̿ͮ̂̀c̝̘̝͖̠̖͐ͨͪ̈̐͌ͩ̀e̷̥͇̋ͦs̢̡̤ͤͤͯ͜s͈̠̉̑͘a̱͕̗͖̳̥̺ͬͦͧ͆̌̑͡r̶̟̖̈͘ỷ̮̦̩͙͔ͫ̾ͬ̔ͬͮ̌?̵̘͇͔͙ͥͪ͞ͅ

Offline jacobolus

  • Posts: 3661
  • Location: San Francisco, CA
Re: Switch lifetime testers?
« Reply #12 on: Mon, 05 January 2015, 22:08:34 »
mount a piston type solenoid above the switch driven by a relay or FET that smashes the key down every time the key registers an actuation (since it's an SPST, this is pretty straightforward). start the little perpetual motion machine and wait until it stops. time a couple cycles to determine number of live cycles.
This isn’t actually that interesting to me.

What I’d much rather see is a force curve for the switch’s stroke measured every 100k presses up through 10-50 million. It would be very illuminating to see some kind of precise demonstration of how a switch feel changes as it wears with heavy use.

Also maybe some kind of oscilloscope measurement showing how chattery a switch is when pressed and released at each of those milestones. I’m curious whether heavy use ends up affecting the switch contacts differently in various types of switches.
« Last Edit: Mon, 05 January 2015, 22:11:12 by jacobolus »

Offline mkawa

  •  No Marketplace Access
  • Posts: 6562
  • (ツ)@@@. crankypants
Re: Switch lifetime testers?
« Reply #13 on: Tue, 06 January 2015, 07:51:46 »
i think switch actuation force has a much higher variance than you think it does. combine that with measurement error on an economical small force strain gauge and hysteresis and actuation force measurements over time aren't going to show clear trends. i think the best reasonable goal is to measure variance over time. variance will decrease over time as the switch wears, as will hysteresis. switch chatteryness is easy. take a metric for pulse length (switches chatter from brand new, so switch on time is always going to have a duration), which you'll need to debounce the switch for actuation anyway, and again keep track of variance.

to all the brilliant friends who have left us, and all the students who climb on their shoulders.

Offline mkawa

  •  No Marketplace Access
  • Posts: 6562
  • (ツ)@@@. crankypants

to all the brilliant friends who have left us, and all the students who climb on their shoulders.

Offline jacobolus

  • Posts: 3661
  • Location: San Francisco, CA
Re: Switch lifetime testers?
« Reply #15 on: Tue, 06 January 2015, 13:36:24 »
i think switch actuation force has a much higher variance than you think it does. combine that with measurement error on an economical small force strain gauge and hysteresis and actuation force measurements over time aren't going to show clear trends.
I think you’re mostly misunderstanding me. I want to show the plots of force vs. press distance at various amounts of use. For example, on Alps switches the tactile leaves should start deforming a little bit after a few million presses, so the tactile clicks aren’t going to be as crisp, and on MX switches, the little plastic bumps will start wearing down.

Quote
i think the best reasonable goal is to measure variance over time. variance will decrease over time as the switch wears, as will hysteresis.
What do you mean by variance in this context? You think the switches become more uniform after heavy use?

Why do you think hysteresis will decrease? How do you quantify hysteresis? (And which type of switch are we talking about?)

Quote
switch chatteryness is easy. take a metric for pulse length (switches chatter from brand new, so switch on time is always going to have a duration), which you'll need to debounce the switch for actuation anyway, and again keep track of variance.
I think it’s much more useful to just show a picture (or a few) of an oscilloscope plot when the switch is pressed and released.
« Last Edit: Tue, 06 January 2015, 13:41:03 by jacobolus »