0
\$\begingroup\$

I'm driving two 12 V "PC" fans in parallel with this schematic:

Schematic

FAN_CTRL is connected to an MCU PWM.

With this design, my bench 12 V power supply is crackling. T2 is 2N7002.

I put scope between GND and T1's drain. Here's the screenshot:

Scope output

Now zooming a lot on X and unzooming on Y:

Scope output#2

Voltage peak is 160 V. What's wrong with my design?

\$\endgroup\$
7
  • 1
    \$\begingroup\$ How did you get the value of C2? Its way to high and the wrong type! \$\endgroup\$
    – MatsK
    Aug 16, 2021 at 11:06
  • 1
    \$\begingroup\$ What's your decoupling on the +12V rail? What's your probing situation? Please provide a photo of it. \$\endgroup\$
    – winny
    Aug 16, 2021 at 11:13
  • \$\begingroup\$ What frequency is the PWM? About 30–60 Hz works well. \$\endgroup\$ Aug 16, 2021 at 12:42
  • 1
    \$\begingroup\$ The EMC from the motor has the reverse polarity than the power source. And a smaller value is more suitable to snubb short EMC spikes so 100nF - 1uF would have been my guess. And the capacitors voltage should also be much higher 100-400v as a thumb rule. \$\endgroup\$
    – MatsK
    Aug 16, 2021 at 13:36
  • 1
    \$\begingroup\$ Different filters would help you to smooth the voltage, see electronics.stackexchange.com/questions/361593/… and electronics.stackexchange.com/questions/131318/… \$\endgroup\$
    – MatsK
    Aug 16, 2021 at 13:40

1 Answer 1

2
\$\begingroup\$

Remember that the voltage on an inductor is L*di/dt. When you turn on the FET and apply the 12 volts, the current increases, depending on the inductance. If it was possible to change the current in the inductor to zero instantaneously, the di/dt would be infinitely large, as would the voltage.

In your case, your current path is back into the power supply, which apparently cannot sink this current. Instead your voltage rises to the breakdown voltage of the IRF520. Your polarized capacitor will conduct when reverse biased, so it doesn't help in your circuit.

What you need is a large enough capacitor from 12V to ground to absorb this current to limit the voltage rise, or a snubber with a resistive element or transzorb to dissipate this energy. I might start by placing your 3900uf capacitor between 12 volts and ground as near to the motors as you can, and add a 1uF ceramic in parallel to handle the high frequency component.

Good luck!

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.