Saturday, January 4, 2020

An ATmega brushless sensored motor driver v02

Brushless electric motor (BLDC motors) are synchronous motors that are powered by a DC electric source via an integrated inverter/switching power supply, which produces an AC electric signal to drive the motor. Hall sensored motors uses hall effect sensors or a rotary encoder to directly measure the rotor's position.
For an introduction to BLDC motors, you can take look at my sensored motor driver post, here:

This library implements a brushless sensorled motor dirver for AVR ATmega.

Take this library:

This is exacly the same library as the previous linked, so, for further information on this library please look at the link above.
There are just a few difference due to the hall sensor presence. The motor position this time it is discovered using hall sensors insted of using the the ZC crossing detection.
When we get the hall sensor status, we can select the next hall sensor status we expect after the step emission. The hall sensor status expected to current status is defined in the bldc.h file.
The picture below reports the commutation step agains the next status expected.

Once again, this is a simple implementation of a sensored driver, there are improvements that can be made to make this driver works even better. The purpose of this implementation is to offer a simple yet hackable way to run a bldc sensored motor.

  • find the source code for this project on the sensorless post linked above

  • read risk disclaimer
  • excuse my bad english

1 comment:

  1. This way my colleague Wesley Virgin's story launches in this SHOCKING AND CONTROVERSIAL VIDEO.

    Wesley was in the military-and shortly after leaving-he unveiled hidden, "mind control" tactics that the CIA and others used to get anything they want.

    As it turns out, these are the EXACT same methods tons of famous people (especially those who "come out of nothing") and the greatest business people used to become rich and successful.

    You probably know how you use only 10% of your brain.

    That's because most of your BRAINPOWER is UNTAPPED.

    Perhaps that expression has even occurred INSIDE your very own mind... as it did in my good friend Wesley Virgin's mind around seven years ago, while riding an unregistered, garbage bucket of a car without a driver's license and on his banking card.

    "I'm absolutely fed up with going through life check to check! When will I finally make it?"

    You've been a part of those those types of questions, ain't it so?

    Your very own success story is waiting to be written. Go and take a leap of faith in YOURSELF.

    Watch Wesley Virgin's Video Now!