7
\$\begingroup\$

I want to develop a board with a WS2818 IC and three PT4115 as high current LED drivers. Input voltage shall be 12-18V. You can easily mount a Wemos D1 Mini ESP8266 board on the top edge, as the pins are in the right positions. The output current of the drivers can be selected by solder jumpers in a range between 330mA and 870mA.

I want to order the PCBs and parts at JLCPCB and LCSC, respectively, the design was made with EasyEDA.

Before ordering, I would like to know wether this design could work...

Schematic

On the left side of the schematic are the three constant current sources based on the PT4115. The inductor has 75µH and 1.15A, which should be in the specified range for the selectable currents. In the datasheet of the PT4115 it says that the rated current should be 30% to 50% higher than the output current. At 870 mA, it is still a little bit above the specifed 30% buffer, at all other currents it is well above the 50% buffer.

The diode is a RB060M-60, as it has low reverse current and is rated at 2A.

The capacitor is a 10µF/25V ceramic, and an additional wired 100µF/25V electrolytic for each IC, which is not in the schematic, as it is directly soldered to the board.

The DIM pin of the PT4115 seems to be rather sensitive to over-voltage and ESD, so it is protected by an additional resistor and Z-diode.

The three current sense resistors have certain values, so that if you connect them in parallel with the solder jumpers, the specified currents are selected. these currents are 330mA, 500mA, 700mA and 870mA. The 0.3Ohm resistor is always connected.

On the right side of the schematic, there's the WS2818, basically a WS2811 with backup input.

The diode on the voltage supply of the WS2818 has a voltage drop of 0,7 Volts. This makes it possible to run the WS2818 directly with a 3.3V input (like the ESP8266). This trick is taken from Hackaday. What I'm wondering: Is it still okay to have an input signal with a voltage of 5V. On one hand, it says the maximum voltage on the input pin is VDD+0.5V, and 5V pinut would be VDD+0.7V, on the other hand the WS2818 is specified for 5V pinut. So, can I mount the diode on every board, or should I put a solder jumper in parallel, in case you're having an 5V input (Arduino etc.)?

The PT4115 expects an active high signal on its DIM pin, whereas the WS2818 gives an active low output. For inverting and level shifting the signal, I took the circuit from the PixiFlood project.

The rest of the parts around the WS2818 are the parts recommended in its datasheet.

The three capacitors (2,2µF/25V) in parallel to the LEDs are there to reduce the ripple current, as recommended in the datasheet of the PT4115. I think this makes sense, as there may be a lot of boards on the same voltage supply, with rather long wires between them.

The LDO for the WS2818 is a Seaward SE8550, as it is small (SOT-23), cheap (4 Cents), takes input voltages up to 35V and delivers 250mA, which should be enough for WS2818 and ESP8266.

Next comes the PCB, about which I'd like to know wether it's okay like this. I tried to get all parts on 30mm x 45mm, so I can order 60 boards with panelizing via JLCPCBs special offer (2*3*10). I'm especially wondering about the current sense loop and if it's okay to share one part of it with the power supply loop, or if I should have individual traces?

The pads of the electrolytic caps are also the connections between the power supply rails of the back of the board and the LED drivers. The power supply rails on the back are as wide as possible. The connections on the SW, 12V and GND pins of the PT4115 are made with copper fills to be as wide as possible, too. The electrolytic caps are bent to 90 degrees and are mounted above the coils.

The LEDs themselves are mounted via cables, so you can easily mount them to a heatsink.

The DIM pin protection parts of the lowest PT4115 have a slightly different position. Otherwise they might collide with the mounting screws.

Will this layout work?

enter image description here enter image description here enter image description here enter image description here enter image description here

\$\endgroup\$
2
  • \$\begingroup\$ spatz have you test your above ws2818 board ? is it working perfect ? \$\endgroup\$
    – amar
    Commented Sep 4, 2023 at 11:14
  • \$\begingroup\$ @amar I have converted your answer to a comment on the original question. Spatz has not visited the site since July, so may not see your query immediately. \$\endgroup\$
    – Russell McMahon
    Commented Sep 4, 2023 at 11:51

1 Answer 1

1
\$\begingroup\$

I like your design. A lot. I have a similar design in progress but 50V rather than 12V. And a TI TLC5973 instead of WS2811 and LM3414HV driver. I looked at this as if I were buying them myself.

My main concern is it appears the thermal pad on the PT4115 is not used. You may (not sure) have to dissipate up to 0.5W x 3. I put the driver near the edge of the board and ran the thermal pad to a screw hole in case a heatsink is needed. There is a good chance you will not need to do anything as this design appears fairly efficient. I do not know if you have used this chip and have measured the temperature.

Footprint for LM3414 Driver
enter image description here



I'm especially wondering about the current sense loop and if it's okay to share one part of it with the power supply loop, or if I should have individual traces?

The current sense is just measuring the voltage across the sense resistors. You should have no problem there.



I also had a design with jumpers. I used 3M jumpers and they were expensive and a pain in the ass to use. I switched to a DIP switch, much happier.



Do you think it is possible not to use the transistors and zeners on the WS2811's outputs? The DIM high level voltage range is 2.5v to 6V and the frequency is low. But you can always short out the transistor. But I am not familiar with the PT4115.



What is "JLCPCBs special offer (2*3*10)"
Have you used JLCPCB previously?



Who is going to do the assembly?

If just buying the PCBs I would have no problem pulling the trigger on this design. But I go with the philosophy of slapping something together quick and test and debug rather than taking the time to go over things meticulously.
I typically do 3-4 different boards at a time to save on shipping costs.
I like to build a prototype before assembly.

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.