0
\$\begingroup\$

I control a 24V solenoid valve via PWM controlled MOSFET. I have a 1N4007 diode parallel to the solenoid. If I put a 2.2uF electrolytic capacitor directly next to the solenoid it works properly, without the capacitor it does not. I am asking if I could get rid of the cap, if I replace the 1N4007 with this 40V Schottky diode instead: 1N5819HW enter image description here

\$\endgroup\$
9
  • \$\begingroup\$ Please get rid of that capacitor. 1N5819HW should be good. \$\endgroup\$ – winny Nov 3 '20 at 9:11
  • \$\begingroup\$ What's the length of the solenoid wires from the board? \$\endgroup\$ – TonyM Nov 3 '20 at 9:15
  • \$\begingroup\$ the length of the wires is 10cm \$\endgroup\$ – Pj Toopmuch Nov 3 '20 at 9:18
  • 1
    \$\begingroup\$ Rules and guidelines for drawing good schematics Ground is down, supply is up, MOSFET, BJT and op amps are drawn in a sane manner from left to right, never rotated. And so on. \$\endgroup\$ – Lundin Nov 3 '20 at 9:54
  • 1
    \$\begingroup\$ @TonyM Well it confused me and it apparently confused the designer too, since they have placed both the cap and the flyback diode wrong. Sane is kind of meaningful, because it makes the design correct instead of incorrect... \$\endgroup\$ – Lundin Nov 3 '20 at 10:17
2
\$\begingroup\$

I have a 1N4007 diode parallel to the solenoid.

No you don't - not according to your schematic - the anode is connected to ground: -

enter image description here

The flyback diode needs to be in parallel with the solenoid. Look where you have it connected - it is ineffective how you have connected it. If you want to get rid of the capacitor fix how you connected it - i.e. place it where you have connected the capacitor (cathode to +24 volts). 1N400x is fine for this unless you are using anything significantly faster than 1 kHz PWM or the solenoid is taking more than an amps.

\$\endgroup\$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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