please dont rip this site

Light Emitting Diode Matrix Display

Smooth Scrolling in LED Matrix Displays

Paul B Webster says:

[when makeing LED matrix displays scroll no matter what you do, the digits always look like they are duplicated by 1 pixel.]

...that's one of two "trade secrets" of Times Square displays. The other is keeping the letters straight as they scroll, since the multiplexing is actually sweeping up or down through the rows, which produces a slant when the characters move.

As I see it, the problem with scrolling is that the letter spends a certain time in one position, then suddenly steps to the next. Your eyes OTOH, track the letters with a smooth movement either in fact, or virtually, using their terrific signal processing and a pixel resolution much finer than the display. (Obviously the "double width" effect will disappear somewhat with distance.)

Consequently, what the eyes see is a line of text whose smooth movement is modulated by a 1 pixel peak-to-peak sawtooth, blurring it to an extra pixel width.

The only remedy I can see for this is to use PWM to blur the transfer from one character to the next, dividing the pixel shift interval into at least four sub-periods with corresponding durations in the "old" and "new" pixel positions i.e. 4:0, 3:1, 2:2 and 1:3.

Interestingly, this is absolutely dead easy to do using the logic you should already have to drive the display; it is just a matter of serially loading the data into the row registers, waiting the required proportion of the multiplex time, then shifting in just one more bit (and re-latching presuming you have latching registers) for the remainder of the multiplex time. It will *not* be necessary to re-load the entire row.

Now as to *why* this should improve the appearance when by my analogue, you still have a "sawtooth" (indeed, a larger one!) imposed on the steady text movement, is largely intuitive. In the original case, all parts of the "sawtooth" were equally bright, so defining a moving pixel, whereas in the altered version, the pixel's intensity is proportional to how close it is to the average position.

Plot of "jitter" on movement with original algorithm:


****                            ****                            ****
    ****                            ****                            **
        ****                            ****
            ****                            ****
                ****                            ****
                    ****                            ****
                        ****                            ****
                            ****                            ****

Plot of "jitter" on movement with PWM algorithm:



*                               *                               *
    *                               *                               *
        **                              **
            **                              **
                ***                             ***
                    ***                             ***
                        ****                            ****
                            ****                            ****
 ***                             ***                             ***
     ***                             ***                             *
          **                              **
              **                              **
                   *                               *
                       *                               *

Note that peak jitter is actually nearly doubled!

Comments:


file: /Techref/io/led/scrolling.htm, 4KB, , updated: 2010/5/26 14:19, local time: 2024/10/7 13:01,
TOP NEW HELP FIND: 
44.220.251.236:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.sxlist.com/Techref/io/led/scrolling.htm"> Smooth Scrolling in LED Matrix Displays</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to www.sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .