Project Question - Motor Control
macgyver007
Posts: 2
Hey All
Not to long ago I was given a "What's a Microcontroller?" kit and I got about half way through it and had to start up classes.· I have a bit of spare time right now and I stumbled uppon this cool r/c toy.· I thought to myself, wow that's pretty sweet, but I don't have almost a 1000 dollars to spend on that, I wonder if I can build anything similar·myself.· So the other day I decided to start step by step.· I have alot of programming knowledge, c++, java, VHDL etc but I'm a little weak on the hardware side.· So I have hit my first wall and I'm hoping this is an easy enough question for you all.· What I'd like to do is program my homework board to say power on four small brushless DC motors, I can get these really cheap and powerful at hobby stores.· But there are several problems I can think of....
Maybe I'm just a little stupid for trying this but I thought it would be a cool idea and a fun project.· Any suggestions or ideas, I would greatly appreciate them.
Thanks all!
Not to long ago I was given a "What's a Microcontroller?" kit and I got about half way through it and had to start up classes.· I have a bit of spare time right now and I stumbled uppon this cool r/c toy.· I thought to myself, wow that's pretty sweet, but I don't have almost a 1000 dollars to spend on that, I wonder if I can build anything similar·myself.· So the other day I decided to start step by step.· I have alot of programming knowledge, c++, java, VHDL etc but I'm a little weak on the hardware side.· So I have hit my first wall and I'm hoping this is an easy enough question for you all.· What I'd like to do is program my homework board to say power on four small brushless DC motors, I can get these really cheap and powerful at hobby stores.· But there are several problems I can think of....
- If i remember from a while ago those types of brushless motors can take up to 12V so I don't know how to supply that much power to it using the microcontroller?
- The pins on the microcontroller only go "low" or "high" any ideas on how I make the output voltage variable?
Maybe I'm just a little stupid for trying this but I thought it would be a cool idea and a fun project.· Any suggestions or ideas, I would greatly appreciate them.
Thanks all!
Comments
http://www2.towerhobbies.com/cgi-bin/wti0001p?&I=LXGKC7&P=7
I do not really need a feedback line, I don't really see a need for one, so I can go brushed.
So what you're saying is that I would need to use something like this...
http://www.parallax.com/detail.asp?product_id=28020
to control for example these types of motors...
http://www2.towerhobbies.com/cgi-bin/wti0001p?&I=LXEBD8&P=0
Sorry for the disorganization, and thank you very much for your help.
The feedback lines for brushless motors are there because there no brushes (so the rotor winding's polarity must be switched by an external controller), but thats unimportant. Standard DC motors work just fine unless you looking to go really fast (with greater likelyhood of your model disintegrating into a million pieces upon impact with a wall). Take a look at this page·of Parallax's products, they are all motor contol modules and many combine the PWM and the H-bridge. PWM is used to control the speed of the motor, the H-bridge allows you to operate the motor in forward and reverse. So depending on your needs, you'll need one or both. If you need both, get a motor contoller board that does both for you. Id suggest going through the specs of each of the products and see what thier voltage and current handling is, and get a feel for what each is capable of doing, then look at DC motors for thier voltage, current, speed and torque·then try to pick which motor and controller best suit your needs.
no problem, glad to be of help.
Post Edited (Paul Baker) : 6/21/2005 3:50:19 AM GMT
Using a BS or an SX controller, you can nicely control such motors. I don't think you need to reverse the direction of rotation, so you'd only need to control the RPMs. To generate an analog signal, just generate a (digital) PWM signal, and run it through a low-pass filter. Depending on the input impedance of the RPM control line, an OP-Amp might be necessary to buffer the signal - in this case, you can use the OP-amp as an active low-pass filter.
On the other hand, such brushless DC motors with integrated controllers are more expensive than brushed motors with the required electronics to drive them. IMO, you just need brushed DC motors driven by PWM signals generated by a BS or an SX. As you can't directly drive the motors from BS/SX outputs, you will need some power drivers. You should have a look at the various types of available IGBTs (Isolated Gate Bipolar Transistors). These devices nicely combine the low on-resistance of bipolar transistors (i.e. less power dissipation) with the high-impedance inputs of power FETs. This means that you can control such IGBTs directly with BS/SX outputs.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G