This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RPM Measurement

Other Parts Discussed in Thread: TMS320F28069

Hi everyone

I am using a C2000 microcontroller (TMS320F28069 to be specific) to measure RPM of a rotating shaft. The sensor that I have mounted to detect these pulses is a Hall-effect based one. I need to take input from this sensor and determine the RPM (based on the number of pulses per revolution). Which module (CAP/QEP) should I use to perform this action? I am looking to implement this logic using Simulink and need to know the right block that I must use to perform this action.

I am sure this must have been asked and done before, please feel free to guide me to the correct thread if this question is a repetition.

Thanks in advance.

Dheeraj

  • Hi Dheeraj,

    I can't help with the Simulink implementation, but normally one would use a capture (CAP) unit for this purpose.  You would setup the module to time-stamp a rising or falling edge and measure the time between consecutive edges.  From that you calculate RPM.

    Regards,

    Richard