Does anyone know how to built a circuit to drive boost control solenoids?
No, but I may be able to help. Until now, I didn't even know what a boost control solenoid was, and when I read that "The kit includes all the necessary fittings to plumb your wastegate", I started to wonder whether it was something I'd be best to avoid - maybe a euphemism for colostomy surgery!
I believe it's a pin valve that opens/closes at the specified frequency of 30 Hz (unlike proportional solenoids where the pin is held open at different heights).
Right, as I understand it the solenoid opens and closes at a rate of 31 Hz with a duty cycle from 10% to 90% to allow the desired amount of airflow through it. The drive circuit needs to provide 12V at several amps, with a rectangular wave at a frequency of 31 Hz with a variable duty cycle. Is that right?
However, I tried to drive the solenoid with constant current pwm using a ssr but the valve will not open and close at any frequency between 10-500 Hz that I tried. It just stays open and I cannot modulate the flow. The circuit I used is attached.
You say you used "constant current" using an "ssr" (solid state relay), but the circuit you attached is a constant voltage driver using a transistor...?
So does the solenoid change state at all? From what I've read so far, in these boost controllers, the solenoid's default (un-energised) state is open, so you seem to be saying that it never closes at all. Is that right? Have you tried connecting 12V directly across the solenoid terminals to check that it closes? It is designed for pulsed operation but this shouldn't damage it. If in doubt, connect it just very briefly. It should go clunk and switch the airflow to the other port, and when you disconnect the 12V supply it should go clunk and switch the airflow back.
Once the solenoid is responding properly to 12V DC you can look into the driver circuit. Here are some thoughts I had on the driver for you to think about later.
I don't know how these solenoids are typically driven. It's normally all internal to the ECU. I know they want 12V DC and they aren't polarised. Based on my limited experience with solenoids, I think the schematic you posted should be suitable except for the suppression diode. You see, when the transistor turns off, and the solenoid is supposed to "drop out" (return to its default, de-energised state), the inductance in the solenoid "tries" to keep the current flowing. This causes a "back-EMF" or "inductive kickback" that tries to pull the transistor collector above the positive supply rail. If the collector voltage goes too high, the transistor could be damaged, so it's normal to connect a diode as shown in your schematic, to absorb this kickback pulse and prevent damage to the transistor, but the presence of this diode significantly increases the amount of time taken for the magnetic field to collapse in the solenoid, and therefore the length of time before the solenoid drops out. This will probably be significant if the solenoid is being activated and deactivated 31 times per second. At 90% duty cycle the OFF-time is only 3.2 milliseconds. The effect will be that the solenoid will stay activated, especially at high duty cycles. The answer is to use a different type of suppression that doesn't allow the current to flow so easily, such as various combinations of resistors, capacitors, diodes and zener diodes. The suppression circuit allows the transistor's collector voltage to exceed the positive supply rail, but not so much that the transistor is damaged. This reduces the current flow and allows the magnetic field in the solenoid to collapse quickly. Also, you make sure the transistor has a suitably high voltage rating. This is nicely explained in
http://relays.te.com/appnotes/app_pdfs/13c3311.pdf in relation to relays, which are a type of solenoid. In this case I suggest a diode and resistor in series, connected across the solenoid:
transistor collector ------------------- solenoid coil --------------------- +12V
. . . . . . . . . . . . . . . . .| . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . . . . . . . . .---------|>|-------------------\/\/\/\/\/------
. . . . . . . . . . . . . . . . . . . . diode . . . . . . . resistor
. . . . . . . . . . . . . . . . . . MBR340 . . . . . . 22R/5W
It would be better to have a zener diode in there as well, but then you need more information about the solenoid so you can calculate power dissipation. If you have an oscilloscope that would be very useful for optimising the suppression circuit.