I have built a device that consists of 10 PCBs connected by a backplane PCB. Each PCB contains various logic gates and a varying number of status LEDs for debugging purposes.
Never before in my life have I constructed any circuits even remotely this complex. However, by connecting some switches to the device inputs and some LEDs (and drivers) to the device outputs, today I have been able to confirm that, after weeks of designing and building, the device appears to be doing exactly what I designed it to do. Yay! :-D
However, something weird is happening: If I make more LEDs turn on, they all get darker! 8-O
It's as if the device is somehow running out of power. But I can't figure out how that can be... Here's what I do know so far:
- The power supply is definitely still in constant voltage mode. It sees the current increase, and continues to supply the same voltage.
- If I turn on more LEDs on a particular PCB, all the PCBs get darker, not just the affected one.
- Various LEDs outside the device do not get darker, despite being part of the same circuit and being powered by exactly the same power supply.
- The logic functions appear to be being performed correctly, in spite of the brightness weirdness. Most particularly, the digital outputs must be being driven at approximately the right levels.
- Certain input combinations also affect the brightness even if no LEDs turn on or off. (I presume certain inputs make the gates draw more current, and this is just a different manefestation of the same issue.)
- When I tested the PCBs individually, the same effect was just barely detectable. But with all 10 PCBs, the effect is pretty drastic.
I am most confused as to how two LEDs connected to the same power rails driven by the same power supply can have such drastically different brightnesses. Is my PCB enclosure possessed, perhaps?
A full schematic would be huge, but here is a rough sketch:
Hopefully this gives a flavour of what I've built. (I've only drawin 3 PCBs rather than all 10, but in reality there are 10 PCBs connected to the backplane.)
D1 through D5 seem to illuminate normally, however D6 to D14 get dimmer as more of them illuminate. If I turn on, say, D6 + D7 + D8, then they get dimmer, and so does (say) D11 if it's on. But D1 seems unaffected. It's as if there's a current bottleneck somewhere...