Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2147

NI9411 wrong frequency measurement of flow sensors / 24 impulse signals

$
0
0

Hello Ni Forum,

I already searched for similar problems, but haven't found anything helpful. So I'm posting our problem here. I'm apologizing in advance for bad english, it's not my mother tongue

We're encountering some strange behaviour of our NI9411 Module. We're using it in a Compact Rio with some other modules (2x Analog In).

Our goal is to measure the frequency of three flow sensors (impulse high = 24V, 0-22kHz) among with a torque sensor (TTL 5V, 30-60kHz) and a speed sensor (TTL 5V, 0-51,2kHz).

They are wired as follows:

DI0a = torque sensor
DI1a = flow sensor 1
DI2a = speed sensor channel A
DI3a = speed sensor channel B
DI4a = flow sensor 2
DI5a = flow sensor 3

Correspondig ports b are left unconnected, as it is said in the data sheet. All ground ports of sensors are connected to COM port of 9411. The module was connected to a 24V power supply.

Now the torque and speed sensor measurement works fine. But measuring the signals of the flow sensors seems to be difficult.

If an external frequency generator (impulse high about 9V, f=1,000kHz) is connected to port DI1a instead of the sensor signal, LabView shows exactly 1,000kHz. DI5a showed an avarage of 10 Hz, with a range from 10 to 60 Hz. DI4a equaled constant zero. The flickering up to 60Hz of DI5a was gone after disconnecting the 24V supply of the module. This changed nothing on the phenomenon described below.

If the signal high impulse voltage is raised, the measured signal frequency goes up to 1300 Hz @ 24V signal high impulse voltage. The signal additionally raises, if an oscilloscope is connected to DI1a, to 2180 Hz (range 2110 to 2240Hz). However, there is no change of frequency if the osci is connected to DI5a. With the 24V supply connected, DI5a showed a frequency up to 600Hz @ 24V signal high impulse voltage on DI1a, also rising when connecting the osci on DI1a. As mentioned, there was no frequency measured on DI5a after disconnecting the 24V power supply.

The signals of the generator showed some peaks on each edge (rising and falling) with values for example of 11V above high impuls voltage of 9V (20V together). That may causes that wrong frequency measurement.

The signals of the flow sensors do not have such peaks, the LabView-frequency nevertheless does not match the real frequency, as shown below (all values in Hz):

 

LabViewideal values
Flow Sensor 1Flow Sensor 2Flow Sensor 1Flow Sensor 2
460012200740,66760,0
6400135001481,37500,7
9700164002962,68982,0
12900195004443,810463,2



We're kind of helpless now. How can we get the signals of the flow sensors measured the right way? Are we doing something essentially wrong? Thanks in advance for offered help. I hope, I've given any necessary information. Any missing details will of course be delivered.

 

Puls-Measure-VI is attached beneath.

Regards,

Johannes Rost


Viewing all articles
Browse latest Browse all 2147

Trending Articles