Hi there o/,
I’m designing an LED driver board based around spare parts I found in my boxes. It features 8 channels at 4V with up to 0.5A each, and 4 channels with 3.3V at up to 0.2A. The LEDs are PWM-switched using a BC337 (for the 0.5A channels) or a 2N2222A (for the 0.2A channels), driven by 2N2369 which are driven by an off-board microcontroller (STM32F103).
The voltage is regulated by a PTN78020 (4V rail), LMO78_03-1.0 (3.3V rail) and LMO78_05-0.5 (5V rail for off-board microcontroller) respectively. I’m using 12V as input voltage for all of these, coming in through a 2.6A fuse.
I chose the track widths for low voltage drop and I intend to have this two-layer board made with 35μm copper. I’ll fill the board with GND (should I maybe fill with the 4V rail instead? or split it in 3.3VP and 4V depending on the location?)
The PWM frequency is ~7.8 kHz (64 MHz MCU clock straight to the timer, which then counts up to 8191), with pulse widths down to 31ns or 125ns (depending on what I can squeeze out of the final wires). (In a breadboard-based test setup, I noted that the BC337 isn’t really quick in turning off when switching 0.5A (up to 2us delay!), possibly because of the capacitance of the LEDs themselves. I intend to compensate for that in software using temporal dithering and other mitigations.)
The high frequency could also pose issues at some places I suppose. I plan to add some staggering to the timers to avoid hitting the regulators with the LEDs switching on at the same time always. In addition, I added extra capacitance close to the BC337/2N2222A driving the LEDs (I’m not yet sure what size that capacitance will be, I may experiment a bit if soldering SMD (my first time!) isn’t going to be too much of a hassle).
So, boiling this down, I appreciate any feedback you might want to give, in particular around the following:
- Ease of SMD soldering – I never did it before, so if there’s anything I can do to simplify this re trace layout, please let me know.
- High-current + High-frequency PCB: Anything I should change here?
Quick tour: top half are the 0.5A channels, lower right are the 0.2A channels, lower left / left third are connectors and regulators. I tried to keep the +V tracks on the back. I hope you can appreciate the symmetry :-).
Happy to share the PCB and schematics files if that helps anyone understanding this (the forum won’t let me upload them at this stage, so I’ll have to find someplace else).
Looking forward to your input!