SO, Even if the output of one logic gate goes to the input of another logic gate, still need to put a TVS/Series resistor between them?
Only where "circuit stuff" connects to "cable stuff".
So, for instance, the 1a-Y Xor Gate to the 1b-A XOR Gate, there's a 360 resistor going to the OptoMOS, and a 100k pull-down. That circuit/trace would need a TVS AND a series resistor between the two Gates? But, from 1i-Y to 1a-A, no need, because it's a direct connection with nothing between those two logic devices?
Still kinda confused on what needs.
When "circuit stuff" connects to "circuit stuff" you don't need to worry (unless you're expecting dirty static-charged beasts to lick your board in normal operation).
If you say EVERY input needs 100k in series with a TVS, and EVERY output needs a 100ohm and TVS, regardless of connection, then I understand and will draw it up that way. However, for the Gates that have the output going to a resistor and LED, would I need another series resistor AND the TVS as well??
If the LED is on a cable, perhaps.
If the LED is mounted near a metal enclosure, doubtful.
The operational case would be, if the LED is close enough to the surface that a spark can jump to one of its leads, it might be a hazard. But most holders are deep enough that that's extremely unlikely. (The IEC 61000-4-5 air discharge test waves up to 15kV static over the surface, and zaps whatever it can find. If it's all good solid plastic, no jumps means you're probably not going to even notice it going on.)
As for the full schematic... that's... 20 logic chips? And a, what the hell, like 50 inch sheet of paper? My browser viewer doesn't even want to zoom out far enough to see the whole thing!
This is in serious need of some logic reduction. I think I was seeing you could dump about half of them with some simple rearrangements..
At the power input, J9: you have a somewhat vulnerable semiconductor, Q1. A bidirectional TVS from its drain to ground (i.e., just after the fuse), rated for at most 80% of Q1 Vdss, would help it survive. TVSs are usually rated to fail shorted, so although you're still not guaranteed anything (maybe it'll physically blow out anyway?), it's at least more likely that it fails shorted (reducing the voltage on the circuit even further) and takes the fuse out, making for an easy repair. U4 is rated 35V, so it would make sense to use Vdss >= 35V for Q1, and, say, a 24V TVS. Like an SMAJ24CA (the -CA parts are bidirectional).
The OptoMOS has isolation so you don't need to worry about anything on the LED (driving) side. You will have to be weary that anything connected to J2-J9 is limited to 60V (transient or otherwise) and 100mA. Resistive loads up to 48V are fine, or even moderately inductive loads. I wouldn't recommend relay or solenoid coils, at least at full voltage. Maybe derating to 24V or less would be better. You can address that by adding a 48V bidirectional TVS across each switch output. However, protecting them against current overload would be much more difficult.
The isolation barrier is only 1500V or so, which isn't much against say 15kV of ESD (if they can be exposed to such, and need to withstand it). One simple way to address that: use a 1nF "Y1" style capacitor to sink the ESD charge. This is how Ethernet maintains an isolated communication channel, yet passes ESD with only a 1kV barrier -- part of the reason it's so popular, reliable and powerful, despite its otherwise difficulty to implement and use.
Also, what good is the 2.2k pullup to +5 if the switch contacts are otherwise floating? Where's the ground reference? And if one side is intended to be grounded (I don't know), why use SSRs at all, why not an "open collector" (or open drain) type transistor output?
Connectors:
- Board to board connectors are generally considered OK. J20, J21, J23, J24, J26, J28: no need to screw with. (I will note: it's probably better to put the series resistors for the LEDs near the source pins, rather than on the display board. Transmission line stuff.)
- Series 10 ohm resistors: J32, J36, etc. V_IN pin.
- All the TVS stuff you have a choice on: probably best to put it on the J32, J36, etc. inputs (and outputs where applicable), as well as J29, J33, etc. (same idea). Or instead of J23, J36, etc., you can push it up to the main board, on J19 / J20.1.
I've got to admit, as schematics go, I've seen some bad ones, but as far as human readability, I think this one takes the cake -- it's quite sufficiently horrible to try to follow any single line, there are no ground or supply symbols, and despite that, everything is neatly laid out! Seems like it was autogenerated from a netlist or something. Weird.
Tim