I am using STM32g431CB for running a BLDC motor with TIM1 for PWM generation and TIM4 for hall sensor output with hall sensor mode.
My motor is running now.I want to measure the rpm of the motor.How can i measure the rpm of motor using hall sensor?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-01-20 11:38 PM
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-01-21 5:44 AM
Hello,
If you use HALL sensor as main speed sensor, you can use "MC_GetAverageMecSpeedMotor1_F()" that return the rotation speed in RPM and Float format from HALL sensor.
If you use HALL Sensor as auxiliary speed sensor, you can use "MC_GetMecAuxiliarySpeedAverageMotor1_F()" that return the rotation speed in RPM and Float format from HALL sensor.
Best regards.
If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
Best regards.
GMA
