computergeek1507 / PB_16

Open source FPP PB16 Pixel Controller
Other
69 stars 25 forks source link

Mosfet switch on ports #2

Open sslupsky opened 3 years ago

sslupsky commented 3 years ago

Due to the safety issues with pixels, I wonder if it would be a good idea to put a mosfet on each port so they can be shut down? The mosfets could have a common gate signal. When the show is over, FPP could turn off the power to the pixels.

Kosh42 commented 3 years ago

I'd argue the "safety issue" is to do with cheapest price point pixels rather than quality pixels, but argument for another day.

In this case I believe that if you want to shut down the pixels side, but keep the controller live, you'd power it from aux with a 5V input, them just shut down the pixel PSU feeding the main port inputs.

It's how I plan to do it, from a safety and efficiency point of view.

sslupsky commented 3 years ago

Agreed. Race to the bottom and we are not in control of the design of the pixels so the suppliers make crazy mistakes. It would be nice to control the power to the pixels from FPP. This would provide people that want to have permanent lights a bit of a better safety margin. It would also give Scott's design an additional feature the other controllers do not have. If people are concerned about the cost of adding the extra fets, we could add some 0 ohm resistors to bypass them and allow people to build without the fets.

processor83 commented 3 years ago

im sure its possible alredy to control a relay with some GPIO to turn on or off the power supply source. If using hp power supply you can take adventage of the standby 5V and the enable pin... for meanwell power supply you can have a 5V power supply and control a contactor to turn on off the AC source or even control a smart plug so i dont see any need to make huge modification to the controller here.

sslupsky commented 3 years ago

But that solution requires two power supplies. One to run the board and another for the pixels. The better solution is to have the control on the controller. A TI eFuse costs less than $0.50, are UL/CSA listed and provides an electronically resettable output. So, you can get rid of the thermal fuses and fuse holders and the cost of those components.

processor83 commented 3 years ago

Do you have the part number? How may gpio it would need to control all those fuses?

sslupsky commented 3 years ago

TPS2595, TPS25947, TPS25980 are some parts I think would work for this application. You could connect the EN pin of all the fuses together and use one GPIO to turn them on/off. If you want to control them all individually, you would require one GPIO per fuse. Or, use an I2C port expander and drive the EN pins from that and use the I2C bus.

Note, these are SMD parts so that is one issue that conflicts with one of the goals of the project to keep everything through hole. JLCPCB offers an SMD assembly service so it may be possible to simply order the boards with the SMD parts and then complete the through hole assembly after that.

sslupsky commented 3 years ago

Note, the max current of the TPS2595 is 4A. All pixel strings sold these days come with 22 AWG wire so the current limit of an output port should be limited to the wire capacity which is 3A for 22 AWG wire. Thus the TPS2595 would be suitable.

ptr727 commented 2 years ago

FET's switching the DC output sounds like an interesting idea, I was considering relays or SSR's in front of the PSU's. I'm contemplating building a DIN enclosure next season, AC breaker, 5V DIN PSU for controller, and multiple 10A (12V, 24V, 48V) DIN PSU's per light group, maybe 2 to 4 outputs per PSU, resettable fuses, I2C INA236 / ACS712 current monitoring, dedicated injection outputs running 24/48V DC-DC 12V at end of long runs.

processor83 commented 1 year ago

i made some test with HP server power supply they have 12 stanby power and i used a mini buck converter and feed the beaglebone from this all the time and a gpio at the begening of the schedule to turn on the power supply and turn off at the end of the show i used opto coupler to protect the gpio it work pretty good and need only one psu...