by cncdrive » Sun Jul 23, 2017 1:47 pm
One part of the problem with solenoids is the back emf generated by the coil when switching, the parallel diode will give a solution for that.
The other part is the switching transient and for that is what I advice a small ceramic capacitor, e.g. 100nF or a few hundred nanofarads across the solenoid coil,
because that will slow down the dV/dt, so the transient will be not that sharp.
A snubber could be also used or it could be used in addition, but it requires proper selection / sizing to the coil and switching parameters and for a small power part like this it is easier to just install a capacitor, because it has a low charge, so it causes no harm to the switching transistor or mosfet,
An incorrectly sized snubber will have zero or small effect on the frequency domain of the switching noise.