Heater bed mosfet setup has problems
Latchup, ground loop, gate pickup, linear region overheat, unprotected gate, poor heatsink attachment, usb spikes ...
When the fet latches or dies it does so continuously ON.
I wanted a cheap circuit to make it work reliably & more safely.
This also allows a smoothie to control the 400W heater.
First go works after moving a few connections around.
I started with a fet driver IC from microchip
(TC4432)
that is latchup protected.
Unfortunately the Arduino isn't & so an opto-isolator is needed to prevent this.
I've added jumper connections for thermostatic switches to be added to the bed.
If the bed overheats the gate drive is switched off.
This is much easier than running 17 amp bed power through the thermoswitches.
So small low current thermoswitches are used with thin flexible wiring.
If the sensor wires break then the heating turns off.
As there is a lot of noisy unshelided currents nearby so I've used 10mA for the opto drive & control circuit switching to make it less likely to respond to pickup.
A twisted pair gate drive with return earth is also used for the same reason.
There are optional bits of the circuit depending on how worried you are about your wiring.
Fuse for the gate drive if you think the bed wires might short out from wear & tare.
eg The bed temp OK led.
Redid the board layout & came up with this from the circuit above.
Fuse not added as mine is inline from the psu 24V


Approximate Component list
URLs more for reference than being the cheapest supplier
Arduino
2 - Pin strip
1 - Twisted pair jumper cable (2 pin socket to socket)
Heater Buffer
4 - Jumper wires
1 - Crimp blade socket for 24V from PSU to board
1 - Bolt for securing mosfet to bed plate
Thermoswitch
1 - Twisted pair thermoswitch cable (2 pin socket to solder wired ends)
2 - Thermoswitches MICROTHERM T11A15005U112L310100 THERMAL SWITCH, NC, 150°C, 2 at least
Hysteresis 30+-15 K so 105C to 120C switch back on
Mount thermoswitches in series away from fan airflow.
Stripline isn't really rated for 17 amps. Making the holes a little bigger allows the spade connectors to be against the fet pins. Soldering together keeps almost all of the current switched going direct from pin to spade.
Right angle spades I bought have a handy bend in them.
The mosfet pins are not quite the right spacing but near enough with a little bending.
Both need the holes making bigger to fit.
Adjusted mosfet & round file

Bigger holes with blades pushed into the stripboard
Bigger holes with blades pushed into the stripboard & mosfet pushed through to the other side.
Mosfet pins pushed through to the other side right next to the blades
First (repeated) pic shows the soldering that goes between the blade & mosfet pin on the 'front' of the stripline board.
And the 90 degree bend to screw the fet to the base plate, you'll need to make a hole.
Do not attach the mosfet to the Alu extrusions it doesn't let the heatpad get the heat out.
The pad is still needed to keep the fet isolated from the baseplate but the top hat isn't as it's built into the mosfet.
Arduino needed a ground reference for the opto so I added a pair of pins for easy plugging into & then joined to a nearby ground.
Hot melt glue toughens up the area from being pulled around.
Second (repeated) pic shows the spacers.
I used 6mm, they were a bit short so use 8mm.
This depends where you solder the mosfet & bend it.
Any questions/mistakes that need fixing just ask.
Enjoy,
Chris