Tuesday, 23 August 2016

7segmentdisplay - Why do 7 segment LED displays break apart when I brush my teeth?


This question might sound silly, but it is very serious (although geeky, I must admit). When I use my electric toothbrush in front of my alarm clock (one of those with a big red LED display), the numbers seem to break apart. Why?



With my current alarm clock the first 3 segments (a,b,c) make one group and the other 4 make another one. The striking thing is that both groups seem to slowly oscillate, in anti-phase. I cannot affirm that the grouping is the same for every display of the kind -- and I cannot check now because I only have this one LED display at home -- but I've seen this illusion on many different displays in the past.


I think this illusion is fascinating (told you I'm a geek) and I would like to understand why it is...


I believe that it has something to do with 1) the vibrations of the toothbrush making my eyes oscillate in their orbits so the image seems to move (a bit like when you touch your eye on the side with your finger and the whole image seems to move), 2) with the periodic refresh of the segments. I suspect that the two groups I'm seeing actually correspond to two groups of bars blinking in sync, so there really are two groups, (but why do they dislocate like that?) 3) with our periodic perceptual "refresh rate". Something similar to what makes us see car wheels as stationary when they rotate at a certain speed.


I must say my competence in electronics is close to zero, so my questions might be trivial to you guys. How does the refresh of the line segments in a 7 segments display happen? Is it cycling (a,b,c,d,e,f,g,a,b,c...)? How come I see two groups, then? At what frequency are the LEDs blinking? I understand some of these questions depend on the specifications of my alarm clock, but since I've seen this illusion on basically every type of LED display I passed by with my toothbrush (microwave, VHS video recorder (yes the story started long ago. I bought the toothbrush I'm now using just for understanding this silly illusion, but it was actually as a teenager that I noticed it)...), I guess there is something constant there...



Answer



Yes, it sounds like you are seeing artifacts of toothbrush frequency vibrating your head and therefore your eyes, and that beating against the LED refresh frequency.


This is a similar effect to eating potato chips (actually anything crunchy) while watching the LED display. In that case the head vibrations are more random, so parts of the LED display will appear to jump around randomly. Some segments will be displayed during a head-high part of a vibration, and others during head-low. These will appear in different locations.


LEDs are refreshed all kinds of ways. A lot has to do with how clever or competent the engineer was that wrote the firmware. I've seen naive refresh algorithms that simply do each digit in order. Those have the most apparent flicker for any one refresh rate. Better means interleave digits, sortof like interlacing of old TV scans lines. The whole display is still refreshed at the same rate, but the apparent flicker is at least in part related to the interlace rate. There are fancy schemes which interleave both digits and segments, but these are often not possible with common displays where whole digits are already partially wired together.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...