A simple brushless sensorless motor driver for AVR Atmega

Posted on Wednesday, October 2nd, 2013 in AVR by DP

Davide Gironi posted the brushless sensorless version of his  sensored motor driver for AVR Atmega we posted previously:

For this project, I’ve implemented a simple brushless sensoreless motor driver for AVR Atmega. The code i propose it’s not perfect, and can be improved, but for the needs i had it works.
The motor can be controlled in speed and direction (clockwise and anti-clockwise).
This project use open loop startup and bemf zero crossing detection method with ADC.
Speed change can be done only when motor is not running, ADC is used during spinning phase in zc detection so it can not be used during the motor spinning, but digital speed changing can be implemented.

This entry was posted on Wednesday, October 2nd, 2013 at 2:36 pm and is filed under AVR. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “A simple brushless sensorless motor driver for AVR Atmega”

  1. f4grx says:

    very nice. it’s an inspiration for my own project.

    So a simple resistive divider is enough to get the BEMFs? The atmel application note cited from the openbldc website uses ampli ops.

    what do you think?

    • davidegironi says:

      Yes, for me it’s enough, even without opamp.

      Before writing that code, i’ve look to many opensource existing projects (like open-bldc, SimonK firmare, or other RC stuff), I’ve find it difficult to modify that code, to add a rotation direction and a speed controller, that’s the reason why i’ve developed my code, and even for educational purpose :)

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • KH: Yeah, it's an end-user thing. Very few people would spend hundreds of hours on this kind of project and sustain it. It's more or less...
  • Max: Not quite a dinosaur if you've seen Big Hero 6 though... wait. You've watched it with your kids, didn't you? That's cheating...! ;) One of...
  • Edward Mallon: A visiting researcher dropped by our humble basement workshop with questions about the physical skill level students would need if they added one of our...
  • KH: And that looks really expensive... Only browsed the vid though, I'm an dinosaur so I had the sound off too. Nice of him to open-source...
  • Anton: I really need bus pirate!! Thanks