I'm updating an existing system.
The system had this:
+24v | .------. | load | |\ +3.3v '------' | \| | | \ ||-' --| >---R1--|| | / ||>. | /| | |/=== '---< PWR_GNDdriver
Where PWR_GND is a long wire to the system power supply, and "load" is any one of a variety of resistive, inductive, and capacitive loads.
Nasty. I don't like all these different GNDs, but that's what I'm handed.
The original circuit wasn't applying enough Vgs to guarantee saturating the FET, so I increased Vdd to +5v. Okay, that works.
Next, the ~200nS switching time put a nnnnasty glitch on the 1-meter long PWR_GND wire.
Twisting PWR_GND and the +24v supply line helped reduce inductance a lot, cutting the gltich in better than half. Adding ferrites took some of the edge off the current slew, further suppressing the glitch, but it's still troublesome.
So, I've knocked down the slew rate. T(fall) = t(rise) = 3uS. That's fast enough to avoid SOA problems, but