Fixed speed measurement error by encoder

reza hakimi_20486
reza hakimi_20486 Altair Community Member
edited August 2023 in Community Q&A

Hello
I have used the following circuit to calculate the speed of a bldc generator, but after the encoder output is reset, this circuit has an error in calculating the speed. What solution do you suggest to fix this error?
Green diagram of encoder counter output alarm
And the red graph is the calculated speed

Tagged:

Answers

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited August 2023

    Please check how you calculate the speed (Nm_rpm) from the output of the encoder (Count).

    This is your algorithm design issue, not a PSIM problem.

    In the picture, you used a discrete differentiator. At each reset of the counter, dx/dt is huge, as it should be.