Mosfet issues simple PID heater

I am trying to make a PID controlled head block, but have had two mosfets croak. Can somebody verify that my wiring and code are correct? I have pwm voltage coming in and out of the mosfet driver, but it if the same voltage, so now I am wondering if I damaged the driver and the mosfets or just the mosfets, and what the problem is.

project_code.ino (3.59 KB)

The little tiny breadboard at the bottom is so funny. This is not an acceptable way to draw a schematic here.

Yeah, a person with a PhD drew this, and it wasn't me. The code was attached.

Please supply a circuit diagram that identifies what the components are, not how they look like.

Also explain what's the heating element, and how you drive it.

What is the output voltage of the AC/DC power supply at the upper right?

12V 30 amp supply. The mosfet is rated 12V 25A. I was assigned these parts for a project.

Parts are as follows:

Mosfet driver is a TC4427

arduino: https://www.amazon.com/ELEGOO-ATmega2560-ATMEGA16U2-Compatible-Arduino/dp/B01H4ZLZLQ/ref=sr_1_4?crid=3H0RCEZNU3KAZ&keywords=arduino+mega+2560&qid=1554051436&s=gateway&sprefix=arduino+mega%2Caps%2C160&sr=8-4

Power supply: https://www.amazon.com/eTopxizu-Universal-Regulated-Switching-Computer/dp/B00D7CWSCG/ref=sr_1_3?keywords=3d+printer+power+supply&qid=1550003637&s=gateway&sr=8-3

Inlet module: https://www.amazon.com/URBEST-Module-Switch-Socket-IEC320/dp/B00ME5YAPK/ref=pd_bxgy_147_img_2/138-2112417-8215869?_encoding=UTF8&pd_rd_i=B00ME5YAPK&pd_rd_r=898d956a-2f05-11e9-af4d-7fcf5515c0e8&pd_rd_w=Es9ez&pd_rd_wg=j6Eh5&pf_rd_p=6725dbd6-9917-451d-beba-16af7874e407&pf_rd_r=A6C4JSDQPJVYV1RWG9Z1&psc=1&refRID=A6C4JSDQPJVYV1RWG9Z1

Heater: https://www.amazon.com/MakerHawk-Anti-Vibration-Accessories-Aluminum-Extrusion/dp/B07GWQLG6Y/ref=sr_1_10?keywords=extruder+block&qid=1550004222&s=gateway&sr=8-10

Hotbed: https://www.amazon.com/ReliaBot-Expansion-Heating-Controller-Current/dp/B078S6221G/ref=sr_1_16?crid=15XFMDQJUFDWJ&keywords=3d+printer+mosfet&qid=1550003922&s=gateway&sprefix=3d+printer+mos%2Cindustrial%2C139&sr=8-16

Encoder: https://www.amazon.com/WGCD-KY-040-Degree-Encoder-Arduino/dp/B07B68H6R8/ref=sr_1_4?keywords=encoder+knob&qid=1554051402&s=gateway&sr=8-4

...I have pwm voltage coming in and out of the mosfet driver, but it if the same voltage, so now I am wondering if I damaged the driver and the mosfets...

The TC4427 should bump the PWM voltage to 12V (in this case) so there's a problem there. What does the output look like when not connected to the MOSFET board?

If the MOSFET is not being driven hard enough it may be more resistive than it would otherwise be and will get hot for higher drain currents. If the heating is bad enough the FET may fail.

You may want to consider adding some capacitors between the VDD and GND pins of the 4427 per the datasheet, figure 4:

So I have been messing with it and my FET will not turn on without 12V (pwm=2000) into the driver as opposed to limiting the PWM range to 0-255. So I am guessing the driver is fried.

jscates00:
So I have been messing with it and my FET will not turn on without 12V (pwm=2000) into the driver as opposed to limiting the PWM range to 0-255. So I am guessing the driver is fried.

Do you have an oscilloscope? If so, can you capture the input and output waveforms?

I was assigned these parts for a project.

So it's your course work!

Mark

Still you really should draw a complete schematic of the system.

How is it built up exactly? Breadboard or proper PCB or dead bug style?

Which exact FET type?

holmes4:
So it's your course work!

So what if it is? Why can't using a forum be a legitimate use of all the resources available to us? As long as the asker cites the forum as a source, and doesn't fall foul of the "own unaided work except as cited" kind of rule, just like with any other source, what's wrong with it?

It's your prerogative, as always of course, to assist or not to assist.

Hi
Your code uses an LCD screen, is that connected so you can read what the setpoint and heater temperature are?

Do you have or have access to a DMM?

Thanks.. Tom... :slight_smile: