LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure RPM via rising edges (Drehzahlmessung via Flankenzählung)

Solved!
Go to solution

Hello,

i need to measure the RPM of a fan via an optical sensor. At the moment i am counting the raising edges for 1s an multiply the edges with 60 to get the rpm.It works so far.

the problem is, that i cant wait 1s everytime. If i lower the timing (for example 0,1s) my RPM has a big jitter because i have to multiply the edges with 600 and every lost edge has a huge inpact.

Hope you guys got any solution.

 

Hallo,

ich benötige eine Drehzalmessung eines Lüfters via Lichtschranke. Momentan zähle ich die steigenden Flanken für eine Sekind und multipliziere die gezählten Flanken mit 60 um auf die Umdrehungen pro Minute zu erreichen.

Das Problem ist, dass 1s für meine Messung zu lange dauert. Wenn ich mit dem Timing kleiner werde (z.B. 0,1s) hat das eine riesige Streuung meiner Drehzahl zur folge da ich die Flanken nun mit 600 multiplizieren muss und jede nicht gezähle Flanke nun einen riesigen Einfluß auf meine Drehzahl hat.

Ich hoffe mir kann bei diesem Problem geholfen werden.

 

 

 

 

0 Kudos
Message 1 of 4
(4,566 Views)
Instead of counting edges, why don't you get the frequency of the signal instead?  Then convert the Hz to rpm.
Message 2 of 4
(4,536 Views)
Solution

Markus,

 

have you tried Counter Input > Frequency instead of Counter Input > Count Edges ?

 

Schon mal die Frequenzmessungs-Funktion probiert anstatt selbst die Flanken zu zählen?

 

 

Gruß

Anke 

Message 3 of 4
(4,535 Views)

Good point,

wonder why i didnt had that idea Smiley Happy

Thanks for the moment

0 Kudos
Message 4 of 4
(4,519 Views)