04-19-2018 04:43 AM
Hi everyone,
I am trying to Display the Mass flow rate in kg/hr using NI9361 and cDaQ 9185. The Signal is connected to PFI0 9 and 28 respectively.
The device specs are:
Output type: Pulse
Pulse width: 100ms
Pulse valuse: 1kg per Pulse
Range: 0 - 7500kg/h
Problem: The Previous and current values are mostly same. and difference between them is Zero. so the flowrate is also 0. But the device Displays it as 800kg/hr.
Please find the attached VI as jpg.
Please guide to get the correct values.
Thanks in advance
Best Regards,
Deepa
04-19-2018 05:14 AM
Hi Deepa,
Problem: The Previous and current values are mostly same. and difference between them is Zero. so the flowrate is also 0.
That's no problem. It's a fact and it's your measurement value!
Pulse valuse: 1kg per Pulse… But the device Displays it as 800kg/hr.
At 800kg/h and 1kg/pulse you get 800kg/3600s*1pulse/1kg=0.222pulse/s. Simple math, eh?
So there will be 4s without pulse and one pulse in the 5th second…
Maybe you should increase the time per iteration?
Maybe you should apply some averaging to your measurement values?
Maybe you should measure the time between the pulses (for low flow rates)?
When using pulses to measure flowrates you ALWAYS need to decide between accuracy and measurement speed!
04-27-2018 07:33 AM
Thanks for your reply GerdW.
The Output of the flow meter is Passive: open collector, 30 V DC, 250 mA.
Am I measuring it right with NI 9361?
04-27-2018 07:41 AM
04-27-2018 08:17 AM
04-27-2018 08:23 AM
Hi Deepa,
why don't you read about open collector and pull-up resistor on Wikipedia?
You should learn the electronics basic before using them!
I'm pretty sure Endress&Hauser explain, how to use their devices, in several AppNotes or WhitePapers. Did you search for them?
04-27-2018 08:41 AM
Thanks a lot for the advice.
Will read about Basics. and try to get the result.
05-03-2018 05:00 AM
I could finally see the pulse on the oscilloscope. As the Output is Passive I provided a external supply voltage to the Output terminals of the flowmeter. I found this in one of their Manual.
Thanks for the help