Solenoid valve baseline

Hi, I know there is a lot of info on solenoid valves on the forums, but I am looking to establish myself a starting point. I need a solenoid valve (or any valve that can be controlled, really) that will allow me to open and close the valve fairly rapidly (less than 1 second) so I can control the level of liquid in a container. There will constantly be liquid on one side (the top side of the valve when in vertical position), and the valve will open for a short amount of time until a few mL are dispensed and then close. I read alot about needing a DAQ or a relay board, but is there anything out there that I can just plug into the wall to power and then have a usb or other wire run to my PXI to easily open and close it? I have PXI card slots 4130,2564,8232,4065,8101.
For example, could I just use something like the coleparmer valve below and just supply 24V from the PXI 4130 to open it and then remove voltage to close it?
http://www.coleparmer.com/Product/Cole_Parmer_Low_Flow_Direct_Lift_Proportioning_Solenoid_Valve_0_02...
http://www.grainger.com/Grainger/RED-HAT-Solenoid-Valve-6WTP4?Pid=search
Solved!
Go to Solution.

The PXI-4130 is capable of sourcing 20V at 2 amp which should be more than adequate to drive the valve (the current requirements are missing from the spec sheet on the website) but it's kind of like bringing a bazooka to a fist fight. The PXI-2564 is better suited becuase its' a simple bank of contacts but you will need an external 24 V supply.
Going USB could add a whole other layer of complexity depending on the device driver. If you have labview and access to the hardware you listed then this type of application is relatively simple to create.
Here is a great article on implementing a closed loop on/off controller: https://decibel.ni.com/content/docs/DOC-16199.
And to answer your orignal question...yes, solenoids usually work as you described - apply power to open, remove it to close.
Philip
CLD

Similar Messages

  • Opening & closing a solenoid valve using ni usb-6009

    Hi,
    I am very new to labview so any help would be apprciated.
    I am using the ni usb-6009 as a power source for my solenoid valve. The valve is 12vdc but because the max output voltage for the ni usb-6009 is 5v i have designed and build an op-amp circuit which will amplify the voltage. I want to create a vi that will give a +5v digital output when a push button is pressed and 0v when the push button is off. What would be the most efficient way of doing this? Thank you.
    Solved!
    Go to Solution.

    How much current does the solenoid draw? You say that you are powering the solenoid from the USB-6009 so just converting the voltage from 5V to 12V will not work - there is a current limit of 8.5mA on the 6009 which will not be enough to power the solenoid. You will need to use an external supply that can provide sufficient current to drive the coils of the solenoid and then use a transistor circuit to switch on the supply from the digital output of the 6009 (which can't draw more than 8.5mA).
    Once you've got your circuit right, you can use MAX Test Panels, the Data Acquisition Express VIs or the DAQmx palette in LabVIEW to control the digital output. There are lots of examples in LabVIEW on how to do this
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I think you're asking 2 different questions.
    The PID control toolset is for using PID loops for control; it's just software.
    The DAQ card and scxi chassis are hardware. If you have the appropriate signal conditioning cards in your chassis to control/monitor your solenoid valve, then you can run a PID loop.
    I believe the simple answer is: the PID control toolset is the best way to do control, but there are simple PID VI's (even on this website) that you can download and use for simple control.
    Mark

  • How to actuate 20 solenoid valves using labview

    I want to perform an action of detaching materials from a fixture by actuating 20 pneumatic pistons controlled by 20 solenoid valves.
    If the valve is actuated the piston moves and stays in the location for 1 sec and then return back. Each of these cylinders should be able to be controlled separately.
    Kindly provide me with the necessary equipments i should buy.
    How can i control 20 solenoids using a DAQ card.  is it possible? 
    Also i need to accept around 20 Digital Signals too.
    Could you specify any card that will meet the spec.?
    Thank you in advance.
    Regards
    grugh
    Regards
    Grugh Mike
    Success is Everything !!

    With the equipment that you have, a good choice would be Opto-22 series for the G4 series of the Opto-22. Select the screw terminal base and an ODC module appropriate to your power/voltage requirements. this will use the TTL digital output to control a power solid state relay. If you look to the other signal conditioning products from NI, they will allow you to do the same thing as well.
    Stu McFarlane
    Viewpoint Systems, Inc.

  • Solenoid Valve with Labview

    Hey everyone,
    Im brand new to LabView and I am in need of some assitance. Ive attached a picture of my block diagram setup. I need help with making the LabView code in order to help run this setup. I want to use LabView to activate my photoelectric sesnor, which when tripped will activate my solenoid valve immediately. The maximum allowable time between the photoelctric sensor being tripped to the valve opening cannot be greater than 50 milliseconds. I would also like to active my high speed camera 1 second prior to the electric sensor being activated. I have included the parts I am using in a list below. Thanks for all the help in advance.
    Solenoid Valve: SV-282 from Omega
    Photoelectric Sensor: Comet 14101A6517
    Output cDAQ: NI-9472 (powered by external power supply "NI PS-15 24V")
    Input cDAQ: NI-9421
    Camera: Phantom v7.3 (connected through ethernet)
    In summary: with labview, activate camera, activate photo sensor which when tripped will open solenoid valve immediately.
    Shervin Aslani
    Attachments:
    IMG_20130730_142033.jpg ‏2537 KB

    You're at the fun stage of the project!  You can start to write instrument drivers while (at the same time) learning how to program a state machine.
    I LOVE starting projects   I hate the tedium of finishing them... until they're done, then I love it again.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Solenoid Valve control with DAQ

    Hello everyone,
    I would like to control 6 solenoid valves (6-24 VDC, 6W) and a small solenoid pump (12VDC) from a NI USB-6212 DAQ. I have been thinking about using a ULN2803 integrated circuit to increase the DO signal coming from the DAQ to 12VDC and use that to power the solenoids. Would this work?
    Any help would be greatly appreciated.
    Thanks!

    The 2803 will work, but you will need more than one since the max current through the die is 2.5A total. At 12V, your solenoids will draw 500mA each, that times 6 solenoids is 3A total. Also note that 500mA is the upper limit of the ouput drive, you may want to parallel two drivers together for each pump (just to be safe).
    I could not find the current rating of the pump so once you know that figure, plan on spreading your loads between the 2803's accordingly.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Controlling Solenoid Valves for a water level application with LabVIEW:

    Hello,
    I am trying to control the water level in a tank using solenoid valves with LabVIEW.
    I have an ultrasonic sensor that is going to measure the water level in the tank, I have the working VI (attached) for how the sensor measures the water level, I have made the vi so that it measures the distance the water level is away from the sensor (the sensor is attached to the top of the bucket). The vi which is attached also calculates the volume as more water is added into the bucket (the bucket is frustum shaped). 
    What works: VI interacts with ultrasonic sensor. VI measures the distance the water level is away from the sensor, VI calculates the volume in the bucket as more water is added. 
    What I am trying to do now: I want to have another bucket (filled with water) sitting above my bucket with the sensor on it, and with a solenoid valve attached to that bucket, and another bucket sitting below my bucket with the sensor on it (not filled with water). I want to interface these solenoid valves with LabVIEW in a way, that the user can enter in say "70%" as the desired percentage of water in the bucket with the sensor, and LabVIEW controls the the valve on the bucket to fill up the bucket with the sensor up to 70% and if there is any overshoot, there will be another valve attached to the bucket with the sensor that will let water out to go into the empty bucket).
    Basically, turn on and off the valves based on how much more water needs to be added into the bucket and what the desired percentage is. 
    The equipment that I have is:
    Ultrasonic sensor: http://www.amazon.com/Ultrasonic-Module-HC-SR04-Distance-Arduino/dp/B004U8TOE6
    Solenoid Valves: http://www.ebay.com/itm/ws/eBayISAPI.dll?ViewItem&item=290763981675&ssPageName=ADME:LU:US:3160
    3 buckets.
    I need some ideas on how I can complete the rest of this project. Thank you in advance! Please see the attached vi.
    Attachments:
    Sensor.vi ‏28 KB

    Thinking off the top of my head, if it were me, I'd start with the master-slave design pattern.
    In the master loop, put your vi for reading the level.
    In the slave loop, put very simple logic that looks at the value coming from the notifier and takes one of three actions each time a notification is received:
    If the level is greater than the setpoint (+some "empirically determined" hysteresis value, say 1-2%) open the valve to let water out of the middle bucket.
    If the level is equal to the setpoint (+- the same hysteresis value) make sure both valves are closed.
    If the level is less than the setpoint (-the same hysteresis value) open the valve to let water into the middle bucket.
    Repeat until you're done.
    You will probibly want to figure out a better way to stop things than what is shown in the design pattern template - using an error to stop works, but in the long run limits your options.
    Oh yes, when shutting down, there is one thing that you will need to be sure that you do - to prevent wet feet. But I'll leave that for you to figure out as well.
    Mike...
    PS: This is homework right?
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Control solenoid valves

    Hello All,
    I need to control 3 solenoid valves (MHP1-M1H-3/2o-M3-PI), using labview. The activation protocol is like this:
    valve1 On for 2 seconds, and then Off for 1 sencond, this should start with pressing a bottom and stop after specific number of on-off cycles (for example after 100 times on-off), again with bottom.
    valve 2 and 3 have the same protocol, but they should start after a 'delay=1 second' respectively after eachother. 
    Since I am a new user to Labview, could you please help me how I can programm these tasks.
     I have attached the task description.
    Thank you very much.

    Matin88 wrote:
    I need to control 3 solenoid valves (MHP1-M1H-3/2o-M3-PI), using labview. The activation protocol is like this:
    valve1 On for 2 seconds, and then Off for 1 sencond, this should start with pressing a bottom and stop after specific number of on-off cycles (for example after 100 times on-off), again with bottom
    valve 2 and 3 have the same protocol, but they should start after a 'delay=1 second' respectively after eachother. 
    Since I am a new user to Labview, could you please help me how I can programm these tasks.
     I have attached the task description.
    Thank you very much.
    You've forgot to attach the description. And why don;t you try something or atleast come up with a flowchart.
    You for trials, you can possibly use LED's on the front (representing the valves) as shown below.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Linear mixing gradient with solenoid valves

    Hello Everyone, 
    I have finally come to a problem in labview that is over my head. Until now I have been making small programs using MC DAQ-USB 1208 or USB 1608 to run my programs and have gotten pretty good at reading block diagrams but still struggle with making them.
    I am looking to control a series of solenoid valves of a proportional valve to dispense two liquids to create a linear gradient. For those of you not familiar with how a proportional valve works, if you programmed it to deliver 75% of A-solvent and 25% of B-solvent, the valves would open A-B-A-B-A-B… in a 75:25 ratio of opening times. To deliver a gradient like i am wanting, the ratio of the opening times of the various proportioning valves will change during the gradient to change the overall concentration.
    I have done all the math which i have attached below and have included a setup of my system as well. There will be two pumps, each with a different flow rate. One pump, P2 will be used to pull the gradient from the proportional valve into a loop of known volume. once the loop is filled, a 6 port 2-way valve will be switched and using the second pump, P2, the liquid will be pushed though the outlet.
    Below I think i have included everything that will be on the project window. There will be a series of steps with each step having time and %B as inputs (we can ignore pump flow rate because it will be a constant). Those inputs translate to the picture below to generate the slope. There are also a series of constants listed to the right that will not change throughout gradient formation. The equations of the program are listed at the bottom and if someone could assist me in getting this program off the ground that would be amazing.
    Any questions or clarifications I would be glad to make and any assistance would greatly be appreciated. And I am runing LV2013 64-bit.
    Attachments:
    2015-05-22 12-11-16.pdf ‏529 KB
    Screen Shot 2015-05-09 at 1.35.32 PM.png ‏23 KB

    Attached is the VI for what I have come up with for my project. I have a few questions. I have a circuit that I have attached that has a relay controled by a DO on my DAQ. I am using MC USB-1208LS. I have the VI set up where i am tracking the percent A and B along the gradient time but I am wondering how to take a snapshot of this at the duration of time/cycle (~4 seconds) and tell that to send a signal to the DO. The relay I am using is axicom fp2 d3023 and will have solenoid A open when given signal and closed when it isnt and vise versa for B. I have attached the circuit for the solenoids (already tested) and A will be in pin 2 on the relay and B in pin 4 and the 5 V signal from the DAQ is getting amplified to 12V and in pin 3. If someone could help me with how to send a signal (it would be a snapshot of the %A and that would be multiplied by the time per cycle to tell it how long to give the signal for in milliseconds. That would get repeated for the entire duration of the gradient (or total number of cycles). 
    Attachments:
    Screen Shot 2015-06-20 at 7.55.29 AM.png ‏23 KB
    Time Per Cycle v2.vi ‏43 KB

  • Best configuration for Solenoid Valve control

    Hello everyone,
    I'm really new with everything that concerns Controllers or Relays so any help would be very appreciated.
    I want to control 5 solenoid valves (website) with the following specifications:
    Rated Voltage: 12 or 24 VDC, Allowable Voltage fluctuation:10%, Power consumption (when 24V rated voltage): 1.5W (0.06A)
    I want to use LabView to control them. I saw at a similar post that I would need a digital I/O device a Relay Driver and a 24V generator.
    I was thinking of using these:
    NI 6501
    relay driver (uln2003)
    and a 24V power generator.
    Is this enough to control the valves with LabView or do I need something else?
    Thank you for your help!
    Ilan
    Solved!
    Go to Solution.

    Yes, that combination should be adequate.  The ULN2003 is designed for exactly that type of application and works well.
    Usually in English we refer to power supplies when talking about devices to convert ac power line voltages to lower voltage DC.
    In addition to LabVIEW you will need a DAQ driver for the USB-6501. On Windows it will be DAQmx. On Mac or Linux the dirver is DAQmx Base. The driver is a separate installation from LV, although it may come on the same disks.
    Lynn

  • PFI Pin Trigger for a Solenoid Valve

    I am currently trying to trigger a solenoid valve based on an analog input (level=5 and slope=falling). I need to do this as fast as possible (5 micro-s delay at most). I talked to some people at NI and they recommended using a reference trigger and routing the signal to a PFI pin. I attempted this but it is triggering on the rising edge even though I clearly stated falling edge in the code of the program. I am confused. The code seems like it should work, however it does not. I would appreciate any help.
    Thanks,
    M^2
    Attachments:
    Solenoid_Trigger_PFI.vi ‏35 KB

     Hi M^2,
     The DAQmx Export Signal.vi you have in there is routing a Reference Trigger event to the PFI9 line. I'm not sure this is what you are wanting to do.
    Your application sounds like the following:
      1. Acquire a analog input when a trigger condition is met. This trigger condition is a falling edge of the analog input signal.
    The VI you attached should work, I made a slight change to the source of the trigger condition and removed the DAQmx Export Signal. The analog signal to be monitored should be wired to pin 20, the source is "/Dev1/APFI0". Where Dev1 is whatever name your daq card is known by to MAX.
     I hope this helps! Please consider the suggestion made by falkpl as well, that would definetly cause the trigger slope to be exactly reversed.
     Best regards,
    MatthewW
    Applications Engineer
    National Instruments
    Attachments:
    Solenoid_Trigger_APFI0.vi ‏32 KB

  • Solenoid valve interface with labview

    Hi, currently i have a solenoid valve (NVZ110) with 24Vdc , "+" & "-" terminals) and I have:
    CFP-DIO-550
    CFP-AO-200
    CFP-AO-210
    CFP-AI-112
     My question which module should I use to open and close the valve? Also, I couldn't find a tutorial on how to create a simple vi to control this valve using LabView. Does someone have a simple example VI?
    Solved!
    Go to Solution.

    Here is the manual:
    http://www.ni.com/pdf/manuals/371324c.pdf
    The 550 only accomdates DC outputs, that may explain why the valve is not actuating. Hopefully you did not wire a 24VAC source to the 550, it may be damaged if you did.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Pic to solenoid valve

    How can i control a solenoid valve(normally opened) to let it close , using a pic microcontroller. The solenoid valve requires 24v dc and consumes upto 1 Amp of current. I cannot figure out how can i supply 24v dc to the solenoid valve using a microcontroller(PIC16F887).

    Hello,
    We currently only support 4 microcontroller models, and the one you want is not one of them. Try looking into forums and learning websites for microcontrollers as you will not be able to simulate one in Multisim.
    Kind regards,
    Miguel V
    National Instruments

  • PH control with solenoid valve

    Hello everyone, I want to make pH control in biogas production. Many reference said that the optimum pH for biogas production is ranges from 6.8-7.4. I want to use acid and base reagent as an addition when pH value exceed its ranges. The problem is that I only have a solenoid valve (on-off valve) so I think I can't use PID or Fuzzy controller. Can you tell me how to make controller that suitable for this system?Thank You
    Regards
    juventom

    I found some idea for this case (attachment), but the VI still has a problem. When pH value exceed the limit and exceed the limit time (t1) I want to make open valve time (t2) and mixer time (t3) undisturbed (must appropriate with state diagram) but the problem is when pH value (slider) return to allowed limit while in valve&mixer state, it immediately return to initial state (check pH value). Can you help me fix this VI? Thank You
    note: in this VI t1=5s t2=3s t3=3s t4=5s
    Regards
    juventom
    Attachments:
    pHStateDiagram.JPG ‏36 KB
    pHControl.vi ‏60 KB

  • Solenoid valves control

    Hey everyone 
    I've designed pressure system(dp cell) with a manifold of 8 ports at each of which solenoid valve. What I'm trying to do is to control the valve through labview so the open 1 at the time,  stay open for 30 seconds then  close and another one is opened and so on. I've attached the data sheet of the valves. I'm using Cdaq 9178 with NI:9203 and Ni :9472.  
    The valves are normally closed and the fluid passing through them is silicon oil. 
    I've been trying to look at different examples but I got confused. 
    I should be grateful for any advice or suggestion you give. (I started using labview only  few weeks ago).
    Best Regards
    Rajab
    Solved!
    Go to Solution.
    Attachments:
    PU220AD (1) (2).pdf ‏578 KB

    Hi ToeCutter
    I've attached an example that I think suits my application, However when I try to edit the type Def to change the number of valve the code went blank.  
    I using Ni9472 (dig. output to energies the valves through Solid state relay.  The valves should open sequentially at equal time interval let say(4 valves, each one should stay open 25 sec.). 
    The code is some thing like that:
    1. Open V1 (25sec)(through Ni 9472) and start pressure measurement  ( through analog input using Ni 9203)
    2. Close V1 and open V2. the pressure is continuously measured
    and so on for the rest of the valves 
    could you please suggest the best way to do that.?
    Is it better to write one vi to control the valves and  separate one to write the measurements. AS for my overall data acquisition system.  I'm planning to measure pressure temperature, flow rate of my  flow rig with one VI ( using Ni 9203)
    to give you the full picture of my date acquisition system: 
    All the instrumentation should be triggered (using trigger out from one of the devices) to give simultaneous measurements,( the valves are part of my pressure measurements only).  So once the first device is on the rest of the devices will be triggered as well as the valves control vi. 
    Best Regards 
    Rajab 
    Attachments:
    example3.vi ‏67 KB

Maybe you are looking for