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
    Commented Nov 3, 2020 at 9:11
  • \$\begingroup\$ What's the length of the solenoid wires from the board? \$\endgroup\$
    – TonyM
    Commented Nov 3, 2020 at 9:15
  • \$\begingroup\$ the length of the wires is 10cm \$\endgroup\$ Commented Nov 3, 2020 at 9:18
  • 2
    \$\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
    Commented Nov 3, 2020 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
    Commented Nov 3, 2020 at 10:17

1 Answer 1

1
\$\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\$
2
  • 1
    \$\begingroup\$ Please don't argue with other people, and don't take thing personally. I am going to clear this thread, I would suggest that you not further continue the conversation since it has digressed considerably. (Although thanks for not crossing the line and using personal insults) Revenge down-voting is not acceptable in any case. \$\endgroup\$
    – Voltage Spike
    Commented May 30, 2022 at 22:51
  • \$\begingroup\$ Is revenge (tit for tat, an eye for an eye etc.) downvoting against the site rules @VoltageSpike ? \$\endgroup\$
    – Andy aka
    Commented May 31, 2022 at 7:47

Your Answer

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

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