03-09-2016 03:08 PM
Hi everyone,
I'm trying to design a labview code to control a proportional valve on an airbrake system (dumping). Does anyone has a written code to control these kind of valves?
thanks
03-10-2016 10:36 AM
Could you tell us more about exactly what your application needs to do so that even if we do not have code we could at least point you in the right direction and find relevant resources for you?
03-10-2016 12:31 PM
Thanks for the reply.
Actually I'm doing my internship in a company. They gave me a compact rio 9074 and Labview software They showed me an airbrake system of a locomotive. their main objective is for me to :
1. Design a labview program to monitor and read the Pressures of the air reservoirs in the airbrake.
2. Send an output to open the valves for dumping the air
3. And setup a multi-client Server system so all the computers in the network can be able to access the airbrake unit
At this point in time, I have been able to designed the multiclient server system using the STM in NI website.. I'm able to read the pressures from all the reservoirs. and send them over the entire network.
The challenge I'm having now is to control those valves from my host computers. I wanted to use the PWM option in Crio, but the Crio 9074 they gave me doesn't have that option activated. It only have the counter and the quadrature options for digital signal.
The airbrake has two proportional valves, digital and analog valves. I was thinking of using a PID Controller since this valves are proportional but don't really know how to do it or maybe some other way.
I have a copy of the data sheets for the valves
Thanks
03-11-2016 02:39 PM
Hi micahdan,
What inputs do the valves need in order to be controlled? Do you have a particular module that is outputting those signals?
03-11-2016 03:09 PM
Thanks for the reply,
the valve needs A PWM input with a frequency range of 80Hz to 6Kz. I' m suppose to use the DO module to control it but the compactrio does not support PWM FOR any of the modules. the Valve is a Burkert Type 6223 and the controller of the valve is Burkert type 8065
03-14-2016 05:08 PM
I did some searching for PWM on cRIO and noticed that the NI Example Finder within LabVIEW has an example that might be helpful for you. If you open up the example finder and navigate through Hardware Input and Output -> CompactRIO -> NI Scan Engine -> Advanced, there is a Specialty Digital Configuration - Pulse Width Modulation Mode.lvproj. The route and VI may be slightly different depending on your version of LabVIEW.
Take a look and see if this is helpful for your application! Its existence, at the very least, seems to be evidence that there is some PWM capabilities on the cRIO
03-15-2016 07:50 AM
thanks for your help men. so grateful