One of the key elements of electronics design beyond the elementary workings of the circuits is the thermal management and the EMC (Electro Magnetic Compatibility). On a 3D-printer controller board, the MOSFETs tend to be one of the major contributors to both the EMC part as well as the thermal management part.

For Replicape Rev B, I've opted to cut out the gate drivers on the MOSFETs in favour of having the gates driven directly form the PWM driver (PCA9685). The main reason for this was to cut down cost in order to reach the target price of $99 MSRP, but this was only after careful consideration and calculation of the expected heat dissipation from the MOSFETs driving the extruder heaters and heated build plate. I do not recommend doing this if you are going to drive the MOSFETs directly from a BeagleBone Black. It has a mere 6 mA source current and 4 mA sink current on the output pins as well as only 3.3 V output causing the MOSFETs to spend more time in transitions and (most likely) have a higher Rdson value due to the lower gate voltage.

The first prototype board is now back, thank you Elmatica for the quick service and supberb PCBs! I can compare the calculations to actual measurements to better calculate the heat dissipation from each of the MOSFETs. The strange thing is that the rise time across the load did not change for the worse as expected, instead it improved! Considerably!

Here is a picture of the layout of the PCB. The MOSFETs are those three in line with the fuse. The fuse is the yellow thing.

Here are some of the important parameters:

PWM frequency: 1 KHz

Replicape Rev A4A:

Gate voltage:

Rise time measured across load:

Fall time measured across load:

at is

Replicape Rev B1:

Gate voltage:

Fall time measured across load:

Rise time measured across load:

at is

**Why has it improved?**

Looking at the schematic for the Rev A4A and the Rev B1 board, the difference is the lack of a gate driver in the latter. The gate drivers from the Rev A4 board has a drive capacity of 500 mA both source and sink. This is great if the load that is being switched is in close proximity to the MOSFET, but on a 3D-printer, the load is usually located about a meter away from the board, causing the heater cable to act as an antenna. Therefore, a series resistor of was introduced in series on the gate pin order to limit the rise and fall times and thus limit the bandwidth of the "antenna". Apparently, the guy doing the calculations on the series resistor was a little eager so the resulting slope became too flat. By removing the gate driver and the series resistor, the slope is instead limited by the maximum source and sink currents of the PWM driver, 10 mA and 25 mA respectively.

The rest of this post will show the calculations on where power is dissipated in the MOSFET and compare the two designs.

**Power dissipation during on-time.**

To get a base-line on what the worst case heat dissipation is, calculations are done for a MOSFET being fully-on (in saturation) 100% of the period. Looking at the data sheet for AON6758 (figure 3), the for. All measurements have been done with a 40W @ 12 V heater element giving a current of

and having a resistance of

Knowing the current through the heater and the on-resistance of the MOSFET, we can calculate the power dissipated in the MOSFET:

On Replicape Rev A4A, the gate driver gave a of 12 V which in turn gave an , giving a heat dissipation of 0.033 W.

**Power dissipation during off-time**

For completeness, I'm including the power dissipation during off-time as well. Intuitively it is negligible, but let's grab the boob and do the math to be sure.

Looking at the data sheet, the leakage current when the MOSFET is fully off is

for

In this case all the voltage lies across the drain-source, so we have

This is an order of magnitude lower than on-time, but this increases as a function of temperature up to a reported 100 mA for a junction temperature of 125 degrees.

**Power dissipation during transitions.**

So what about during the transitions? To calculate that, it's necessary to look at the power as a function of time. The average power is the integral of the pulse divided by the period. Look:

Looking at the rise and fall transitions, we can approximate the curve by a second order polynomial curve. With a little trial and error,

I landed on the following values:

From this, the drain current was calculated and also the voltage across the drain and source of the MOSFET giving the necessary

parameters for modelling the power dissipated in the MOSFET during the transitions. Here is a plot of the , the drain current and the resulting power dissipated. Note that even though the peak power reaches 10 W, this is only for a short time. The picture below shows the plot of the voltage across the MOSFET, the current going through it and the resulting power being dissipated during a rise transition.

Some quick calculations reveal that

Using the values from before, reveals an effect loss of 7.66 W during the rise transition. a Similar value can be expected during the fall transition.

**Steady state heat dissipation**

For a 50% duty cycle at 1 KHz the average dissipation will then be **0.78 W**. Now please note that this is a fairly crude first order

approach to the heat dissipation calculations. Still, with the right layout with at least 1 in^2 copper, the packages should be able to dissipate between 2.6 and 4.1 W according to the data sheet which is far below what these calculations show. Comparing this to some of the other boards that has had this calculation done for them, it looks pretty good!

## 5 COMMENTS

BentA few questions in random order. :-)

Did you try, for curiosity's sake, to just reduce the series resistor?

As you say, it would likely alleviate the problem, but it would be interesting to explore the difference in this application, with or without a gate driver, on equal terms.

What kind of load did you use for the measurements?

I'm guessing it is a purely resistive load, but how would the two circuits compare with the heaters as load? (with a more suitable series resistor, of course)

Of course, I may be a bad guesser..

Elias Bakken1) I've not tried reducing the series resistance on the A4A revision with the gate driver, but that would be interesting in order to verify the theory. I'll see if I cannot get that done!

2) I used 40 W heater elements from China: http://www.aliexpress.com/item/Single-end-cartridge-heater-dia-6-x-L20mm-12V-40W-140cm-lead-cable-mini-cartridge-heater/738354287.html They are wire wound, so they are probably pretty inductive.

3) Yes, you are a bad guesser. This setup is totally realistic :)

BentThen I must say, those are excellent results. :D

SwaroopSir,

For Vgs = 12V, you have written R(ds on)= 3m Ohm

and for Vgs = 5V, you have written R(ds on)= 4m Ohm,

can you please elaborate on how you computed the values of R(ds on) for different Vgs,

Is there a equation relating the two. I have come across only this equation:

R(ds on) = Vds/Id when Vgs=constant,

how to obtain R(ds on) values for different Vgs values?

Thanks

Farrukh ZiaIf i want to make an RF amplifier of 1KW, Power Mosfet of what rating should be chosen for this purpose ? futher given i have to use a power supply of 300VDC. What is the difference between power dissipation and power handling of a MOSFET ?