Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 03:22:19 15:22


Login with username, password and session length


Pages: [1]
Print
Author Topic: [Req] micro BLDC motor controller  (Read 6818 times)
0 Members and 1 Guest are viewing this topic.
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« on: October 18, 2013, 02:09:15 14:09 »

Hi everyone

I'm a long time follower and reader of this forum but I don't post so often.
I would like to ask you insight and help regarding the following system:

I am trying to design a Brushless flat DC motor controller.
After reading some documents from Microchip and several other articles on BLDC motors, my idea is to use a microcontroller, a pre-driver, a driver and finally the motor, being this the classic approach.

In the end, the objective is to control the torque of the motor. For this I will need to measure a current of the coils and use this value in a PID controller. But before this phase I will try to measure the speed of the motor using the signal of one of the Hall sensors and control it with a PI controller. The PI or PID algorithm will be implemented on the mirocontroller. The whole system needs to interface with I2C to receive commands for torque and speed values and send back measurement of both parameters.


For now, I have a motor from Faulhaber model 1509 006B. It has 3 hall sensors and weights about 7 grams. the maximum torque it can generate is 0.52mNm.  Its possible that in the future as the design progresses, I will change the motor model, but always something similar or at least in the same dimensions as this motor.
Since the motor is a micro BLDC, I am having some problems in finding a suitable driver and pre-driver for this small motor. Although there is a lot of information on the internet, everything I find relates to high power motor drivers and much bigger motors, than the one I'm planning to use. The PCB with all of these components needs to be very small and possibly to be attached to the back of the motor itself, so PCB area and number of components is a big issue, specially with these big high power packages.


I've decided that I will use 6 MOSFETs N-Channel for the final power stage in a half bridge topology (if possible everything integrated on the same chip package), but I also know that the high side needs to have a higher voltage to allow the respective mosfet to be turned on. Not sure tough which model to select.

I'm also seeing two very interesting solutions from Fairchild and ST. From Fairchild the models FCM8201 and FCM8531, which are predrivers that also take care of all the hall sensor and phase actuation. The FCM8531, even has a 8051 uController on the same silicon die and this allows to integrate even more blocks under the same chip.
ST has the model L6235 which seems very nice because it also manages the hall sensor and coil commutation and has a 3 phase h bridge integrated, but it is way too big and powerfull for the motor I have.
Does anyone has previous experience with these chips? I'm not sure if these options allow torque control.


Another possibility is to ignore the pre-driver, and attack the last power half-bridge stage directly with the micro controller. But for this I would need a different topology of bridge thats does not need a variable voltage on the gate of the high part of the bridge.


I remembered that hard drives use small BLDC motors but currently I don't have any broken hard drive just to check what the manufacturer used.
Currently I'm a bit lost and I cannot exchange any ideas about implementation methods with my colleagues since they don't have any electronics background. Does anyone would be so kind to share some ideas, thoughts, suggestions, etc regarding my approach?
Thanks for taking the time to read this long text.
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #1 on: October 20, 2013, 06:25:44 06:25 »

For what kind of control, speed/torque/position?

For speed control only there are some single chip solution for this, do not remember exactly but try Allegromicro.

-ichan
Logged

There is Gray, not only Black or White.
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« Reply #2 on: October 20, 2013, 10:40:24 10:40 »

Hi

Thanks for the reply Ichan.

The final objective is to control torque, but my idea was to use speed control as an intermediate step.
Correct me if I'm wrong, but I think I cannot separate speed and torque control.
Logged
Parmin
Hero Member
*****
Offline Offline

Posts: 582

Thank You
-Given: 494
-Receive: 133


Very Wise (and grouchy) Old Man


« Reply #3 on: October 20, 2013, 10:43:27 22:43 »

+1 Allegro
Logged

If I have said something that offends you, please let me know, so I can say it again later.
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« Reply #4 on: October 21, 2013, 09:15:59 09:15 »

Hi Parmin

I checked Allegro and I'll go for the model A4938.
I will try to use a very simple and small uC that has I2C and can handle torque and speed control algorithms, and interface it with the A4938.
I still need to completely understand how to create these algorithms based only in the FG output they provide.
For speed I know that I have to calculate the rotor speed with the FG output and create a feedback algorithm (PI maybe), but for torque its not very clear. Do you have any idea about this and how is this accomplished? Does anyone can suggest any book/paper/weblink related to this topic?

The solution from Fairchild seemed quite good in the beginning but the problem is that they charge almost 200$ for the programing tool and software, which is an investment that I prefer to apply on other tools, since I already have several other uC programming tools. I also think that I would spend much more time with this rather complex solution (it can even be better than in terms of performance than the Allegro and it would reduce the PCB area) than with the Allegro chip.



Thanks
Logged
Parmin
Hero Member
*****
Offline Offline

Posts: 582

Thank You
-Given: 494
-Receive: 133


Very Wise (and grouchy) Old Man


« Reply #5 on: October 21, 2013, 11:07:20 23:07 »

Write to them and ask the same question.
They do answer.
Logged

If I have said something that offends you, please let me know, so I can say it again later.
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« Reply #6 on: October 22, 2013, 11:05:25 11:05 »

Actually I already tried to contact Allegro Microsystems with two emails, since the model A4938 cannot be bought anywhere. I'll wait and see their reply.

Thanks

Logged
sgoum
Junior Member
**
Offline Offline

Posts: 70

Thank You
-Given: 94
-Receive: 68


« Reply #7 on: October 22, 2013, 02:07:14 14:07 »

Take a look here

http://www.cypress.com/?rID=61487
Logged
kreutz
Active Member
***
Offline Offline

Posts: 183

Thank You
-Given: 983
-Receive: 125


« Reply #8 on: October 22, 2013, 02:15:25 14:15 »

Take also a look at this: http://www.atmel.com/Images/doc32126.pdf
Logged
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« Reply #9 on: October 22, 2013, 08:39:56 20:39 »

Thanks for the info  Grin

Meanwhile and since I already have the chip, I've started using the L6235 from ST and see if I can use it to some how do what I intend
Logged
nordiceng
Newbie
*
Offline Offline

Posts: 29

Thank You
-Given: 1
-Receive: 11


« Reply #10 on: October 27, 2013, 12:27:04 12:27 »

In high performance electric drives , there are two main control methods , the first one called field oriented control (FOC) and the second is direct torque control (DTC) .Each of these control techniques can be realized using sensored or sensorless approach. What approach you are trying to do so.

Posted on: October 27, 2013, 12:25:30 12:25 - Automerged

what is the parameter of BLDC motor
Logged
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« Reply #11 on: October 28, 2013, 10:58:09 10:58 »

Hi nordiceng

Thank you for the reply.
I will use the technique that minimizes the torque ripple but I need to read more about these two techniques before deciding which one to use.



                                                                         
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #12 on: October 29, 2013, 04:02:34 16:02 »

Haven't yet see the motor parameters.

For small motor 3x dual NP channel logic level mosfet is a good choice, just use a small transistor for driving the P mosfet, then the bridge can be controlled directly by MCU. It can be very compact pcb layout.

-ichan
Logged

There is Gray, not only Black or White.
ShellTox
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 9
-Receive: 0


« Reply #13 on: October 29, 2013, 11:48:50 23:48 »

Thanks for the reply Ichan. When I have more time I will dedicate a bit to select some dual NP mosfet and follow your advice.
Currently I'm developing other parts of the system (I2C network with the uC that will interface with the ST L6235 model). Meanwhile, I'm still thinking about Fairchild solution that includes FOC algorithms.
http://www.youtube.com/watch?v=4OWOrRd6DFw&html5=1

I'm just a bit afraid that I maybe building a bazuka to kill a fly. I've already read about your suggestion before, but discarded it because it seemed one of the "old" methods. After the charge pumps became more popular, everyone started to use the 6 N-ch mosfet topology and abandoned all the rest.

Btw, from Allegro Microsystems, not a word  Sad
I also asked some questions in the ST forum about the model L6235 but the same. No replies. It makes you think about the "customer support" they offer, after giving them some money for their products comparing for example with this forum. Thanks for the feedback!
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC