Author Topic: Understanding commercial LED backlighting circuits (I don't!)  (Read 3093 times)

0 Members and 1 Guest are viewing this topic.

Offline suicidal_orange

  • * Global Moderator
  • Thread Starter
  • Posts: 4771
  • Location: England
Understanding commercial LED backlighting circuits (I don't!)
« on: Sat, 06 February 2016, 06:02:49 »
I'm sick of not understanding commercial LED circuits.  Each time a question comes up I look, get confused, then run away.  This is no longer acceptable!

Here is a nice pic of a Pok3r PCB I'm borrowing from someone going by the name of yabbadabado on imgur, the circuit looks the same as other boards.



There is a trace connecting the "+" legs for the LEDs going down the column of keys 3, E, D, C - makes sense.

But then the trace continues to the resistor for each LED, and from the other end of the resistor to the other leg of the LED - by my understanding this puts the resistor and LED in parallel?

Every circuit I can find from the newbie LED on a breadboard tutorial to a DIY RGB matrix clearly shows a resistor in series (one per row or column in the case of the matrix)


Please can anyone explain what commercial keyboard designers are doing and why, or correct my understanding of what I'm seeing if that's the problem?  I need to understand :thumb:
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline suicidal_orange

  • * Global Moderator
  • Thread Starter
  • Posts: 4771
  • Location: England
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #1 on: Fri, 12 February 2016, 02:29:55 »
*bump*

200 views and no replies - even a "yeah, that's parallel and they're being dumb" would be something :confused:
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline rowdy

  • HHKB Hapster
  • * Erudite Elder
  • Posts: 21175
  • Location: melbourne.vic.au
  • Missed another sale.
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #2 on: Fri, 12 February 2016, 03:30:41 »
I can only sympathise and say that this exceeds my humble understanding too.
"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 vextanys

  • Posts: 40
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #3 on: Fri, 12 February 2016, 06:16:03 »
I could be wrong, but the columns are connected to a single resistor (R40 at the top), and each LED is connected in parallel to an inductor (marked LR12, LR20, etc). I would hazard a guess that the inductors are there to "smooth" the PWM brightness and/or LED matrix between the output cycles so that each LED can be individually controlled.

Offline xondat

  • i'm not a star
  • * Maker
  • Posts: 5366
  • Location: United Kingdom
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #4 on: Fri, 12 February 2016, 07:19:18 »
yeah, that's parallel and they're being dumb

who am I kidding I have no idea how this **** works

Offline Oobly

  • * Esteemed Elder
  • Posts: 3929
  • Location: Finland
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #5 on: Fri, 12 February 2016, 08:18:07 »
IF the traces truly go to either side of the resistor, then that's a PCB design flaw and it simply won't work. This could be the reason they say you can't add LED's to a Pok3r: https://geekhack.org/index.php?topic=74170.0

All the LED's should actually be wired parallel, but in series with a current limiting resistor.

From what I can tell, the one pad of each resistor should go to ground instead of the positive terminal of the LED.
Buying more keycaps,
it really hacks my wallet,
but I must have them.

Offline obones

  • Posts: 7
  • Location: France
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #6 on: Fri, 12 February 2016, 10:18:29 »
Is this a single sided PCB? If not, it would be interesting to see what's on the other side, connected to the LED legs.
If that's single sided, then the resistor value would give an indication as to what is happening. Can you tell us what the markings on them are?

Offline suicidal_orange

  • * Global Moderator
  • Thread Starter
  • Posts: 4771
  • Location: England
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #7 on: Fri, 12 February 2016, 12:34:32 »
Thanks Rowdy and xondat - glad to know I'm not alone in this :))

@vextanys interesting suggestion - I don't know what an inductor does and it seems crazy to label it LRx rather than Ix but I'll look into it.

@Oobly - I agree with your "shoulds" but you can add LEDs to this very PCB.  Most work at least...  That was the thread that sparked this one.

@obones - the pic is huge, click it then click the arrow-square thing in the bottom right corner to make it even bigger and you can read all the labels :)  It's definitely double sided...
120/100g linear Zealio R1  
GMK Hyperfuse
'Split everything' perfection  
MX Clear
SA Hack'd by Geeks     
EasyAVR mod

Offline tufty

  • Posts: 347
  • Location: French Alps
Re: Understanding commercial LED backlighting circuits (I don't!)
« Reply #8 on: Fri, 19 February 2016, 08:43:45 »
I could be wrong, but the columns are connected to a single resistor (R40 at the top), and each LED is connected in parallel to an inductor (marked LR12, LR20, etc). I would hazard a guess that the inductors are there to "smooth" the PWM brightness and/or LED matrix between the output cycles so that each LED can be individually controlled.
Generally you'd use inductors in parallel with LEDs as a "flyback" circuit, enabling you to, for example, drive it with very low voltages.  Connect a LED / inductor pair to (for example) a 1.5V battery *the "wrong" way round*, then disconnect the battery.  Hey presto, the LED flashes.

CBA to work out if that's what's going on here, though.

Edit - here you go - http://web.engr.oregonstate.edu/~traylor/ece112/beamer_lectures/led_flasher.pdf