Pages

Friday, January 21, 2011

Update on 'How to control Orbit 62035 valve'

It has been a while since I updated my blog. Things have been quite crazy the past few months, but now I am back alive writing more blogs sparingly.

The first thing I want to share about is an update to my previous post that talked about how to control the Orbit 62035 valve. There have been a couple of missing pieces there which I would like to clarify. First, I found that a MOSFET cannot reliably control that valve. I am not sure why, but it may have to do with the on-state drain to source resistance. But using a MPSA14 (NPN darlington) works, and it requires a base current limiting resistor, so I've updated the schematic as below. Second, I was reminded that two kickback protecting diodes are needed to protect the transistor from the inductive current from the solenoid, so those are also added. These are the two main changes. The circuit below has been tested to work. Feel feel to leave comments.



Eagle schematic can be downloaded from here.

13 comments:

  1. Hi Ray,

    Thanks for this information. Couple of related questions, if you don't mind:

    1. Why T1 does not have an R3-equivalent resistor connected between emitter and ground like T2 has?

    2. I am thinking about trying an ULN2803A Darlington array as a substitute for the control circuit above:

    http://www.sparkfun.com/products/312

    Comparing the ULN2803A and MPSA14 specs I see that continuous collector current is .5A for each transistor pair in the ULN2803A versus 1.2A for the MPSA14. If the lower current rating for the Darlingtons in the array is a problem one can always connect 2 or more in parallel.

    Given the price of the ULN2803A, they seem like a good option, especially since you'd end up with less components (the clamp diodes and base resistors, for example, are included in the ULN2803A).

    Any reason you see why an ULN2803A would not be a good replacement for the control circuit?

    Cheers!

    ReplyDelete
  2. Sorry, I should have read your initial post on this topic first -- regarding (1) in my comment above I now see that you could not get the valve to close without an R3 resistor, but that to get the valve to open an R3-equivalent resistor is not needed. That explains why your control circuit does not have an R3-equivalent for T1.

    Cheers!

    ReplyDelete
  3. @eloy: yes, that's correct, the closing coil seems to require an additional power resistor in order to close properly. If you measure the resistance of the opening coil and the closing coil, they are different. I don't quite understand why (perhaps because the closing coil requires more inductive load). It's ok if you have the resistor shared by both coils -- the opening coil should still function properly.

    As to your second question, I've actually tried ULN2803A before and it didn't work. The main reason is that it doesn't support a large current. I didn't try connecting several of them in parallel, that could work. I figured that using MPSA14 is simpler and much cheaper, so I settled with it.

    ReplyDelete
  4. @eloy: by the way, the impulse current is more important than the continuous current, as the solenoid is activated/deactivated in an instant of time. So you might need to check the impulse current limit of ULN2803. Even considering price, I think MPSA14 may still be a better option: it only costs a few cents such as on mouser.com.

    ReplyDelete
  5. Great; thanks for the feedback, Ray. I'll explore both possibilities (ULN2803 an MPSA14). I am also thinking about trying the AVR's PWM for the voltage booster, per the link you shared in one of your comments here. If anything that'll be a nice learning experience :-)

    Cheers!

    ReplyDelete
  6. Ray, loved the post and built myself a shield to control three of the 62035 valves! Take a look:

    http://www.jaycollett.com/2011/05/a-new-way-to-control-water/

    ReplyDelete
  7. @Jay: Your shield looks great! I am glad that my blog was helpful for you.

    ReplyDelete
  8. @Ray, the shield I built is having a bit of an issue with some valves (I've tested 7 and 2 were like this). It works fine with some but refuses to close others. At first I thought they were "blown" but the Orbit controller will open and close them fine. I thought that the 3.9ohm resistor might not be enough for these valves so I bumped it up to 4.7ohm hoping it would allow the coil to build up enough magnetic force but still nothing. Any ideas on what may be happening? Did you measure the resistance on the controller after you took one of the resistors out of the circuit? Any insight is much appreciated!

    ReplyDelete
  9. @Jay. I've never encountered this problem. I have two of these valves and they both work fine with the circuit. I guess my 'sample' size is too small. Here is what I suggest: first, make sure no component is burnt (for example, MPSA14 might get burnt if too much current flow though it, but with the current limiting resistor this shouldn't happen). Second, try to bypass MPSA14 and apply the boosted +24v directly, for example, by shorting the collector and emitter of MPSA14. If the valve can successfully open or close, the issue must be in MPSA14 (for example, some MPSA14 has lower maximum pulse current than others). If the valve cannot close properly, the issue must be in the boosted +24v or the 3.9ohm resistor.

    Let me know what you find in the end.

    ReplyDelete
  10. Btw, some side thought while looking at your circuit: the VIN pin of the LT1303 should actually be connected to the vin pin of the Arduino. The reason is that the booster can draw a large amount of current when charging the capacitor, and if the supply is from the +5V pin of the Arduino, that may cause the Arduino to reset and get things messed up. By connecting it to the vin pin, the current will be drawn directly from your power source, and hence will not cause Arduino's regulating circuit to fail.

    I've actually encountered this problem in the past. I should have posted the issue in my blog.

    ReplyDelete
  11. Ray, thanks for catching that, I hadn't paid any attention to that in my design, I've updated it and will make a mental note of that for future shields! I found a thread where a gentlemen had gotten the specs for the valves from Orbit, 13V, 22ms pulse and 1 to 1.5 amp current max. I adjusted my shield to these specs and the silly valve still didn't fire so I'm at a loss. I mean it works fine with the factory controller and opens with my shield but won't close. I've tested 7 other valves and they all work just fine. Here's the thread....

    http://forums.x10.com/index.php?action=printpage;topic=17620.0

    ReplyDelete
  12. Ray, after troubleshooting more, it appears that the transistors are not allowing enough current to flow through the coil, even without a resistor between it and ground. I'm measuring between 300ma and 500ma when the transistor is saturated. I've tested with new transistors, etc..this explains why the valves will open but not close. Any ideas why I'm not seeing a greater current through the transistors?

    ReplyDelete
  13. @Jay: you may want to check the specification of your MPSA14. I think some manufacturers make it with lower maximum collector current (for example, some version may have 800mA while others have 1.2A)

    ReplyDelete

This blog no longer accepts new comments. Please leave comments at the new site http://rayshobby.net/

Note: Only a member of this blog may post a comment.