-5

Solenoid Valves (control). Can I use solenoid valves in different positions by microcontroller?

Best regard

  • i have no idea what you are asking. ... what do you mean by `different positions`? ... downvote for poor explanation – jsotola Dec 15 '17 at 03:53
  • Three words: Pulse width modulation (PWM) –  Dec 15 '17 at 04:43
  • @jsotola I think the user is asking about how to control different positions of the solenoid (how much the spring is compressed). –  Dec 15 '17 at 04:51
  • @KingDuken, there is no description of the valve. there is no way to even guess what kind of valve it is and how the valve operates. all we know is that there is a solenoid involved. – jsotola Dec 15 '17 at 05:04

1 Answers1

2

Most solenoid valves are typically either normally closed or normally open, like relays, so you'll only get two positions. However (it was unclear in your question) a search does turn up true multiple position solenoid valves; here's a patent on one of them:

https://www.google.com/patents/US3859547

... but I'm a bit hard pressed to know where you might find one.

Controlling solenoids or solenoid valves of any size will usually require a transistor or other device, since an Arduino will only put out 40 mA per pin. For example, Adafruit has a small 5V solenoid that requires 1.1 Amps to drive it, and so therefore, a transistor:

https://www.adafruit.com/product/2776

In theory, you could turn on the solenoid for N time periods and and off for M time periods to control some sort of process (pulse width modulation (PWM), as some have noted). A true proportional valve, controlled by a variable voltage or current can also be used. Proportional solenoids do exist, for example:

https://www.solenoidsolutionsinc.com/proportional-valves/

and http://deltrol-controls.com/products/proportional-valves.

PWM is used to control the position of those valves. One reference for the details on construction are here:

https://www.sunhydraulics.com/sites/default/files/media_library/tech_resources/TT_US_coils-N.pdf

The key element is:

With electro proportional solenoid valves, the power to the coil is controlled with a current control device, a proportional amplifier.

On how to drive a simple solenoid:

MOSFET as a switch to control 12 solenoid valves using arduino

The canonical answer to this sort of question seems to be here:

Proportional Solenoid Valve + Arduino

asylumax
  • 139
  • 6
  • That's not true. You can control the compression of the solenoid spring depending the magnetic field produced by the current. In other words, a solenoid's position is not limited by two positions (spring fully uncompressed, spring fully compressed). This answer also doesn't answer the OP's question. The asker is not asking how to drive a solenoid with a microcontroller. The asker is asking how the position of a solenoid can be controlled. –  Dec 15 '17 at 04:46
  • @KingDuken, that is incorrect. the OP has failed to specify if the reference is to the position of the solenoid or to the position of the valve. .... with such a vague question, any answer provided is a valid answer. – jsotola Dec 15 '17 at 05:10
  • @KingDuken - Yes, there are proportionally controlled solenoid valves. I've updated the answer. – asylumax Dec 15 '17 at 11:50
  • 2
    This disaster of a question should not have been answered at all. – Olin Lathrop Dec 15 '17 at 12:01
  • That is true. The question is rather vague. So I apologize. –  Dec 15 '17 at 21:51