I am panning to build a soldering station and would like get myself clear about driving MOSFET to control heating element using microcontroller.
Microcontroller will be ATmega328p (Arduino Pro Mini) and MOSFET planning to use is IRLZ44N. Heating element rated 50W at 24V .
- I am planning to use PWM frequncy around 30 kHz. Is there anything bad with this frequencey particulary for this application?
As per MOSFET datasheet.
- \$t_{d(on)} = 11 ns\$
- \$t_r = 84 ns\$
- \$t_{d(off)} = 26 ns\$
- \$t_f = 15 ns\$.
If I want to limit total ON and OFF time within 1% of a PWM cycle. Then least PWM cycle druration I can have will be (\$t_{d(on)} + t_r + t_{d(off)} + t_f) \times 100 = 13600 ns\$. So I can use PWM frequencey upto 73529 Hz (73 kHz) without problem. Could you please confirm my calculations are correct?
- Is it necessary to have MOSFET driver circuit instead of driving MOSFET directly with MCU output pin for this application?
My calculation tells I can directly drive MOSFET with MCU output pin. As per the datasheet \$Q_g = 48 nC\$. With PWM frequencey 30 kHz, maximum current required to charge/discharge MOSFET gate will be:
\$48 \times 10^{-9} / (1 / 30000) = 0.00144 A = 1.44 mA\$.
(Update: My above calculation is incorrect as per @Unimportant's comment below. Without resister it would take \$48/95 = 505 mA\$ to charge the gate, which is undesirable for ATmega328p IO pin. So, there should be a resister or gate driver)
So, current will be well within the allowed limit (40 mA) and I think MOSFET can be directly driven by IO pin in my application. Could you please confirm my finding?
Thanks in advance.