6

[Edit: revised my complete post]

I have a problem with a project I'm currently working on, and I would really appreciate some help.

I created 10pcs of 100W RGB LED modules that are communicating via DMX512. Already two times now, my MAX485 transceiver IC's have blown out on several different units. It happens on either power on, or power off (can't tell the difference), but never DURING operation. Most MAX485's blown end up with their A or B input connected to GND or VCC. Some don't short out, but simply stop receiving. Anyway, the problem seems to be coming from the RS485 side of the chip (although I'm not 100% sure).

Now I've optained the MAX485 cheap on Ebay, and I'm starting to think they might be fake or flawed. But I'm not sure about that. My plan is to replace them with real SN75176AP transceivers, that I can order from a reputable company. (The SN75176AP is more cheap than the MAX485, and I heard also more rugged). But before I do, I wonder if I've overlooked some error in my schematic that causes them to blow. Hence my first question here on the forum :-). Below is the schematic: (part numbers might be different from the ones mentioned in the comments)

All 10 units are powered by the same transformer, with soft-start relay that closes automatically after 10 seconds. The transformer is a 28-29VAC, 40A (heavy) 'old-fashioned' transformer. This leads to about 40VDC after rectification. Transformer

Then the schematic of one unit. There are ten of these in total, all connected to the same transformer.

Power: LM2596 is a switching regulator that can handle 40V on the input Power

Logic: Logic

LED drivers an FAN: LED and FAN

Old situation with R18 still in, and unidirectional D10&D11 (7V working voltage suppressor diodes). R18 was based upon this article Page 19 - 4.5.2. OLD SITUATION

New desired situation with R18 taken out and 12V bidirectional suppressor diodes (untested). NEW SITUATION


The DMX controller looks like this: (Vcc comes straight from a 5V, 1A wall-wart SMPS) CONTROLLER


My main concerns are:

  • C1-C9 are 9x 1mF capacitors. Because there are 9 of them, they have a very low ESR. Combined with 20m of wiring going to these modules, what about inductance. Could that create a pulse destroying my MAX485's? Even with D1 and soft start in place?
  • My theory at the moment is that the (fake?) Ebay MAX485's can't handle RS485 signal being present on the line while not being powered. Sometimes my DMX controller is on, and the transformer is off. This should not be a problem according to the datasheet, but if they are fake, it might be?
  • If I omit R18 (previously R2,R3 - sorry about the different numbering), what about large currents through my DMX GND line, as there are 10 of these units with the GND's connected to each other in this situation. Maybe I need just ONE bridge rectifier near my transformer, and take out the ones in the units? But I'd need a 40A bridge - if it's not nessecary I'd rather keep things as they are.
  • AND MOSTLY: Do you see any reason why the MAX485 could blow out?

(This is a working prototype. So apart from the MAX485 blowing out every now and then, everything works. Also the DMX communication. My question is really focused on why does the MAX485 blow out. If there's no real reason, I'd like to think it's because they are fake Ebay ones, and try real SN75176AP's. Making big changes at this stage of development will involve lots of work as the modules are already finished and ready to be used. So I'd like to prevent big changes as much as possible.)

Thank you so much for your help. Also to the ones already commenting and answering. Great!

MartinF
  • 1,230
  • 7
  • 13
  • 4
    Why do you feel you need to have 9,000 uF power supply reservoir capacitors? Don't buy chips from ebay is my advice. – Andy aka Aug 01 '18 at 11:34
  • 3
    R2 and R3 are disallowed according to the DMX Standard. Any such series resistance has to be less than 100 ohms and is only allowed if the resistance between the data link common and the chassis is less than 20 ohms. – Martin Aug 01 '18 at 12:18
  • 1
    Yep, R2 and R3 are a problem, get rid and if you really want to do DMX right, use isolated receivers. D4, D5 are also a problem as the valid RS485 common mode voltage is +12, -7, so you really need something that will allow the line to go negative. Now are you sure your voltage regulators are good with only electrolytic decoupling? I wouls add a few hundred nF of ceramic right at the pins. If it comes to that, what decoupling do you have on the RS485 chips? – Dan Mills Aug 01 '18 at 14:09
  • @Andy aka: The Vf of the green LED is 31V. The dropout of my buck regulator is 1,6V. When I want to power with 28VAC, and I lose 2V at the bridge rectifier, I have a max. ripple of 5V. At 3A (50Hz), I need 6mF. With -20% tolerance, I need 7.2mF. So 9mF might be on the safe side, but I think it's acceptable. – MartinF Aug 01 '18 at 14:38
  • @Martin: I've put in R2 and R3 because of [this article](http://www.ti.com/lit/an/slla070d/slla070d.pdf) Page 19 - 4.5.2. I realise now that the 100R resistor is in the wrong place, but I wouldn't know where else to put it. Moving it one node (dot) to the left, in series with the GND power supply line to the MAX485 doesn't make sense to me, or does it? If I'd just omit those, what would happen with the difference in Vf of by bridge rectifiers when under/not under load? I think this would lead to large currents through the DMX GND line. – MartinF Aug 01 '18 at 15:02
  • @DanMills: Isolated receivers would be lovely, but not really an option for me because I'd need a separate PSU to power them, which is not what I want. How can I put in transient protection AND allowing the line to go negative? Any suggestions? Both the regulator and the MAX485 have 100nF ceramic X7R caps to decouple them. I didn't want to make the schematic too complex. Sorry about not mentioning them. – MartinF Aug 01 '18 at 15:05
  • 1
    @MartinF Ever heard "the devil is in the details"? The things you've omitted from the schematics could be the culprits. Although I concur that R2 and R3 should go. As well as half of the power supply. – Maple Aug 02 '18 at 04:33
  • @Maple: Point taken. I'll post an 'answer' with the full schematic. Losing R2 and R3 is no problem, I can just solder in a wire bridge. But I still have the question about DMX GND line current when doing that. What do you mean with half the power supply needs to go? Anyway, maybe the full schematic will shed some light... – MartinF Aug 02 '18 at 09:28
  • Small GND line current is actually a good thing - it means the wire does its job, which is equalizing common mode. High GND current means you have big problem somewhere, that needs to be addressed. My comment on power supply reflected my puzzlement on why you need two of them to power two chips. – Maple Aug 02 '18 at 10:29
  • Re "Isolated receivers ... not really an option for me because I'd need a separate PSU to power them". You are thinking about _isolated ports_. In DMX specification "isolated receivers" means their GND is not connected to earth ground (chassis). – Maple Aug 02 '18 at 18:30
  • @Maple: Ah that clarifies a lot. To have isolated reveivers; would that mean a different RS485 driver IC, or just leaving the GND unconnected? Is the latter an option for me? – MartinF Aug 02 '18 at 19:05
  • 1
    @MartinF It is not exactly that simple and not enough space here. See updated answer. – Maple Aug 03 '18 at 19:54

1 Answers1

5

Nothing jumps at me right away from the complete schematics. The bus is properly terminated and failsafed. No path for 12V to make it to the bus or stuff like that. To answer your questions:

  • I think the culprit is the unfortunate combination of chosen power scheme, those GND resistors and suppressors. Multiple rectifiers and long power lines created common mode difference, the resistors allowed this difference to go negative and suppressors shorted bus to the ground.

  • There should not be large GND currents in properly grounded system. As @Dan mentioned in the very first comment, the DMX standard recommends grounded GND line in controller unit and isolated in all the receivers. Having one transformer and multiple rectifiers is not the right thing to do this. Ideally, each unit should be powered by it's own supply and ground line will do the rest. If that is not doable then having controller on its own supply is certainly worse than having one big supply for everything. 40A SMPS is not much more expensive than that wall-wart. You might even have old ATX PCU lying around.

  • bidirectional suppressors won't shunt the bus if common mode goes negative while still protecting it from high spikes.

UPDATE

Also, if you look at the beginning of MAX485 datasheet, there is a list of new transceivers available. Some of those have ESD protection, fail-safe built-in and only 1/4 unit load.

You've mentioned that having bus voltage while Vcc disconnected is not a problem according to the datasheet. I could not find this info in datasheet. Could you point it out? Because in my experience very few chips in general can tolerate this condition. The protection diodes on inputs start bleeding voltage to power rails, chip enters this intermittently powered condition and usually ends up burned out.

UPDATE 2

To have isolated reveivers; would that mean a different RS485 driver IC, or just leaving the GND unconnected? Is the latter an option for me?

"To ground or not to ground?" battle rages on internet for ages. The RS-485 standard requires common network ground. In fact, it specifically recommends those 100 Ohm resistors you had in original schematics. However keep in mind that it also assumes earth ground connection and isolated supply at each node. The DMX standard requires "signal common" wire. But it recommends grounding this wire at transmitter only and isolating the receivers.

In your case there are two problems. First, for MAX485 chip network ground and circuit ground are the same. Second, your LED modules are high-power devices located elsewhere, most likely far from controller. You want them grounded. Furthermore, with heatsinks and chassis-mounted parts chances for GND of LED module coming in contact with local earth ground are quite high.

If I were you I would do the following (consider this IMHO only, somebody might have better ideas)

  • Get rid of AC power distribution. The EMI alone is good enough reason for this, not to mention all the problems with common mode it creates. Rectify and move half of the electrolytes to the main power supply, however keep at least one of those in the modules. Distribute 40VDC.

  • Add buck converter (similar to LED modules) to DMX controller and power it from the same distribution line. You can keep your wall-wart, if you wish, but route power line to controller anyway, for the sole purpose of connecting to power ground.

With power distribution taken care of, I see two wiring options for network itself. The preferred one is more expensive.

  • Replace MAX485 transceivers to isolated MAX1480A or MAX1490A which include both transformer and transformer driver. There are also chips with driver only for use with small external transformer.

  • Connect twisted pair only. If you notice loss of performance in noisy environment you can connect STP shield (or unused UTP pairs) as per datasheet.

  • Note that in this case signal common is floating, power common is grounded at controller only. Earth ground contact with LED module chassis should not be a problem for power line unless there is huge voltage potential.

  • The network wiring is essentially independent of power supply, so even mix of central distribution and individual supplies is possible.

isolated transceivers

Second option uses your existing transceivers, so it is cheaper.

  • Use negative power line as signal common. This is to avoid ground loops. Important: this also means you cannot distribute power directly from supply, power line should follow bus topology.

  • Take care of keeping power lines from direct contact with chassis. Connect circuit ground to chassis with protection resistors. Grounding any or all nodes is safe.

  • Use low capacitance bidirectional TVS.

non-isolated wiring

Finally, here is the wiring for individual isolated power supplies. Note that common signal ground once again wired through RG45, however it is isolated from earth ground.

isolated supply, non-isolated transceivers

Maple
  • 11,755
  • 2
  • 20
  • 56
  • I agree about unfortunate power scheme. Looking back I'd done it differently. I really hope I can get things to work without big changes. About the SMPS: I need 40V, that a big culprit. I designed the project around this transformer I had lying around. It saves a lot of cost to have just 1 power source this way. Bad choice in hindsight, but It's what I chose at the time :-( – MartinF Aug 02 '18 at 18:55
  • 1
    Thanks for the tip on the new MAX's. The datasheet, in the 'absolute maximum ratings' section states 'Receiver Input Voltage (A, B) = -8V to +12.5V. No mention of Vcc, whereas the other (TTL/CMOS) inputs do mention Vcc in the equasion (-0.5V to (VCC+ 0.5V). Hence I think the A and B input are Vcc independent. Since I used Ebay ones though, they might be fake and not able to handle this condition... – MartinF Aug 02 '18 at 18:59
  • Thank you so much for your effort! Option 2 sounds good to me, since cost is indeed a factor. I do have a question: You say *"you cannot distribute power directly from supply, power line should follow bus topology"*. What does that mean? Do you mean the power should be wired in the same way as the DMX signal, like in a *chain*? Because right now it's more like in a *star* network. – MartinF Aug 05 '18 at 13:01
  • 1
    Yes, that's exactly what I mean. In option #2 the ground wire is used both for power distribution and as "signal common" for DMX/RS485. That is why it is isolated from chassis/earth ground and there is no common wire between RJ45 connectors. But this also means that for reliable communication the ground should follow the signal. Think of it as third DMX wire. Note that option #1 uses floating ground (or shield if you connect it), so it is independent of power distribution. You can do star, chain or any mix of the two with that option. – Maple Aug 05 '18 at 16:37
  • 1
    I included option #2 only as a last ditch effort to salvage as much as possible from existing development. As I explained, running power ground and signal ground to each device creates ground loops. If you want to keep your existing transceivers then the only other option is to have fully isolated power supplies for each LED module. I don't think this would be cheaper than replacing transceivers. – Maple Aug 05 '18 at 16:47
  • 1
    Added wiring with isolated power supplies, which is basically typical RS485 network, nothing DMX specific here. But as I said, it is probably most expensive option. – Maple Aug 05 '18 at 19:35
  • @MartinF I just noticed that I accidentally inserted unfinished schematics for isolated power supplies. Of course with isolated supplies there is no connection to earth ground, although you might consider adding one resistor connection at controller only, to keep common mode from floating too far away. Updated now. My apologies. – Maple Aug 13 '18 at 19:54
  • No problem. I already thought some things were mixed up, but I got enough input to understand what you meant and figure it out. Thanks for the update! – MartinF Aug 13 '18 at 20:02
  • Where did you draw the images in? They look good. – MartinF Aug 13 '18 at 20:06
  • 1
    Funny, it's second time I've been asked about that. In MS Word 2007 :) – Maple Aug 13 '18 at 20:11