So, I have this automation project that amounts to a glorified "smart switch". Basically, there's an MCU and some other stuff in a box with a bunch of relays sitting along a mains conduit that needs to control the downstream power. Where it gets a little interesting is that I need this to be as reliable as possible, particularly when it comes to ensuring that it turns off.
I'm feeling pretty okay in terms of
signalling that it should turn off, and
probably the several series relays won't all decide to weld at the same time... but I'd like to be really sure.
As the main relays are 1NC/5NO force-guided, it's fairly straight-forward to detect if they
should be open but
aren't. Acting on this, when I also want the whole shebang to be able to handle 20A (@120VAC), is a little trickier. I'd rather not pay $100+ for a shunt trip breaker, nor for the sort of braking resistor (also well into three-figure territory) I'd need to ensure reliable tripping of a normal breaker or fuse. However, I
will have a dedicated GFCI upstream.
As earlier noted, there's an easily detected steady-state that occurs if a relay welds. However, since this same state is a
transition state when the relay opens under normal operation, I couldn't just pass it straight into a STB anyway. (In fact, I'd probably want opto-isolation and a separate power supply if I went that route, which is even more argument against a STB.) Since I need to build a board for this anyway, for about $15 I can grab a more modest resistor (and heat sink, and etc.) and use that to create a deliberate ground fault, tripping the breaker that way. For signal filtering, an RC delay is reliable and sufficient. (This particular application isn't especially time-critical; a few seconds delay is unlikely to matter.)
Before getting into the specific design, is this approach at all reasonable?Anyway, my current iteration of the schematic and PCB is attached. Some more specific questions:
- Is the fuse on the AC side (F1) overkill? (Alternatively, is there a way to replace it with a PTC that will allow the necessary current to flow long enough to trip the GFCI, but interrupt the circuit if the GFCI doesn't trip?)
- Is this a reasonable RC configuration, or should I be using more capacitance with less resistance? (Or vice versa?)
- Is this approach using copper pours reasonable, or should I be using only traces on the back? (Should I be using traces instead of a ground plane? It would be trivial to run a short ground trace for Q1, C1, R2, T2)
- Is the SA18CA (VR = 24V, VBR < 30V, VC ≈ 39V) a reasonable choice given 0.55mm clearance? Do I need more clearance (hard) and/or a TVS that will limit the reverse voltage to something lower? Can I go with something that has a higher breakdown voltage and will kill the coil's magnetic field faster?
- On the outside chance this would activate and the breaker doesn't trip, is this going to turn into a fire-starter? (Is there an easy way to mitigate that, that isn't expensive and ideally takes very little board space?)
- Am I doing anything else that's stupid?

The AC traces are 2mm and are duplicated on both the front and back. The front/back pours connecting the HS and mounting hole are for thermal conductivity, as this is intended to be mounted in a metal case. They probably won't do much, but I figure they won't hurt. If I've done the math right, R1 should see ~120mA RMS (~15W), which should be more than enough to trip a GFCI. The "sense" lines all run through SSR "logic" back to a single +12V; any or all possible paths can be interrupted or continuous.