12-01-2008 04:27 AM
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.
Solved! Go to Solution.
12-01-2008 08:50 AM
12-01-2008 08:51 AM
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
12-02-2008 01:32 AM
Good point,
wonder why i didnt had that idea
Thanks for the moment