Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to use hall sensor of BLDC motor to calculate rpm of motor

Status
Not open for further replies.

vikasingh1210

Newbie level 3
Newbie level 3
Joined
Jul 2, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,301
Hi.........

I want to build a bldc motor controller. I want to use the reading of hall sensor for rpm measurement also.

Should I use interrupts of one of hall sensor and start timer and then do the calculations
But what in case of overflow of timer

Kindly suggest some other method

Thank you..........
 

You may use the hall sensor pulse change to trigger an interrupt.
Then you can measure the time span between each interrupt.
A little bit of basic math to get the frequency in RPM and done!

In case of overflow you should think better about the timer clock.
You should use a timer with at least 16-bit with a prescaler.
Then you can drive it with a low frequency oscillator like 32.768Khz.

But depending of your motor, you shouldn't need a separated oscillator assuming that you're going to use a MCU to do it.

Also you can do different measurements, you measure the time between two hall sensors or the period of only one.
In case of measuring between two hall sensors, the period will be shorter, thus you will probably have no overflows.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top