The capacitor circuit has the advantage that could can't mis-drive. If a transistor of the half bridge stays turned on for longer than the msec required, nothing will happen. The half bridge chip (usually) already prevents that both transistors are enabled at the same time. This is great when you develop firmware and might end up with one pin staying high for too long.
With a direct drive, the flip dort magnet wire could quickly burn through if you leave half an amp for too long.
A bigger advantage of the capacitor approach is that you save power (though you could handle that centrally).
A downside of the capacitor approach is that capacitors can slowly leak, but for the application that does not matter much, I suppose. It just has to look nice.
If the output sticks low, no biggie, it's low, the valve is off.
If the output sticks high, no biggie, the drive capacitor will charge in a second or so and pass no more current to the pump capacitor, which will discharge and shut the valve.
> With a direct drive, the flip dort magnet wire could quickly burn through if you leave half an amp for too long.
Quite often you see solenoid drivers that avoid that with PWM. The airbag driver pack in my old Range Rover does this, as did the Hydractive suspension controller in my old Citroën. In the Citroën the microcontroller directly drove a Darlingon transistor to turn the solenoid on to open valves in the "cross feed" pipes in the suspension. Because that needs to switch quickly against a high pressure hydraulic feed, it needs a lot of current, but because "soft mode" with the valves open is the normal mode for the suspension with the solenoid energised you couldn't leave that current on for a long time.
So what it did was it pulsed the solenoid on for about 250ms and then pulsed it at 50Hz or so, audible as a faint buzz under the car somewhere when everything else was off and clearly audible at certain frequencies on Long Wave radio while driving - very useful for diagnostics! You'd hear the buzz drop out and come back as it switched from soft to hard mode when you threw it around corners.
Similarly the airbag driver module for the Range Rover uses six bloody great big MOSFETs driven by a surprisingly complex analogue circuit with an opamp and a couple of transistors to pulse the solenoid on for 100ms or so and then pulse it at 30% duty cycle at some high frequency.
The valves are held closed by air pressure so they need that initial whack of current to open them, but then they can be held by far less current - well, 30% of the normal current, I guess - once the return spring and air pressure has been overcome.
What's this circuit called?