Go to Post As far as we know, FIRST could replace football by 2018! - Adam Richards [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-12-2013, 16:10
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
lightweight, inexpensive speed controllers

I was interested in building a quadrocopter, the classic robot enthusiast project. I know generally what to do, except when it comes to speed controllers. The speed controllers used in FRC are way too heavy, too expensive, and require the wrong amount of voltage. I am looking for a light, inexpensive speed controller that can support a 5v input, as well as PWM functioning. Anyone have any ideas?
  #2   Spotlight this post!  
Unread 02-12-2013, 16:13
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,064
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: lightweight, inexpensive speed controllers

I'm using http://www.hobbyking.com/hobbyking/s...ontroller.html for mine.

It's not running yet so I can't attest to it's quality but they came highly recommended to me by various sources. Plus, they were cheap enough.
__________________




.
  #3   Spotlight this post!  
Unread 02-12-2013, 16:18
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,413
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: lightweight, inexpensive speed controllers

Quote:
Originally Posted by tilky View Post
I was interested in building a quadrocopter, the classic robot enthusiast project. I know generally what to do, except when it comes to speed controllers. The speed controllers used in FRC are way too heavy, too expensive, and require the wrong amount of voltage. I am looking for a light, inexpensive speed controller that can support a 5v input, as well as PWM functioning. Anyone have any ideas?
You'll have to provide more information to get good direction out of us

What type of motors are you looking to use, brushed DC similar to a CIM in function, or something else? Specs are very helpful.

For your application, using several power MOSFETs would be appropriate. I'd assume your propellers only need to spin in one direction (powered by DC motors), so you wouldn't have to use a full H-bridge.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #4   Spotlight this post!  
Unread 02-12-2013, 16:41
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: lightweight, inexpensive speed controllers

thank you for the quick replies. Thanks Andrew, that is definitely cheap enough and seems to work fine (as long as you can verify that it does support PWM). As for EFoote's reply, can you elaborate on how to use a MOSFET?
  #5   Spotlight this post!  
Unread 02-12-2013, 16:54
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,064
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: lightweight, inexpensive speed controllers

Quote:
Originally Posted by tilky View Post
thank you for the quick replies. Thanks Andrew, that is definitely cheap enough and seems to work fine (as long as you can verify that it does support PWM). As for EFoote's reply, can you elaborate on how to use a MOSFET?

I can confirm it'll use PWM since that's what the arduino I have as my controller outputs and I just double checked the open source code I'm using and it uses PWM.
__________________




.
  #6   Spotlight this post!  
Unread 02-12-2013, 16:55
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,413
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: lightweight, inexpensive speed controllers

I'l try to explain as best I can, but I'm not quite sure what your background is / how much you already know.

MOSFET is an acronym for metal–oxide–semiconductor field-effect transistor.

You can use a MOSFET in your circuit as an on and off switch. You would use the PWM output of your micro controller to control the speed of your motor by turning your motor on and off very quickly with the MOSFET, much as the motor controllers used in FRC.

Since your motor only spins in one direction, you only need a single MOSFET to control the motor. The motor controllers used in FRC use H-bridges, which are a combination of 4 transistors.

Here is an example of a single MOSFET driving a motor. By varying the duty cycle of the PWM signal, the motor's speed can be controlled.

EDIT:source - http://www.picotech.com/applications/pwm_drivers/
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!

Last edited by efoote868 : 02-12-2013 at 16:57. Reason: added source
  #7   Spotlight this post!  
Unread 02-12-2013, 16:59
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: lightweight, inexpensive speed controllers

the picture is broken so I can't see it, but I think I know kind of how it works. Because PWM by its design is pulses, a MOSFET just sends out 5v whenever it gets a positive signal from PWM?
  #8   Spotlight this post!  
Unread 02-12-2013, 17:04
AlexH AlexH is offline
Registered User
no team
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2010
Location: PA
Posts: 215
AlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to all
Re: lightweight, inexpensive speed controllers

Quote:
Originally Posted by Andrew Schreiber View Post
I'm using http://www.hobbyking.com/hobbyking/s...ontroller.html for mine.

It's not running yet so I can't attest to it's quality but they came highly recommended to me by various sources. Plus, they were cheap enough.

i've run that esc on a battlebot. they do pretty much exactly what the descriptions says.

soft start is annoying if you are trying to start with a heavy load on the motor and go full throttle but otherwise i can't complain.

yes they are pwm based.
__________________
My Instructables

Last edited by AlexH : 02-12-2013 at 17:10. Reason: i accidentally a word
  #9   Spotlight this post!  
Unread 02-12-2013, 17:04
efoote868 efoote868 is offline
foote stepped in
AKA: E. Foote
FRC #0868
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2005
Location: Noblesville, IN
Posts: 1,413
efoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond reputeefoote868 has a reputation beyond repute
Re: lightweight, inexpensive speed controllers

It depends on the MOSFET, but yes, sending a high signal will either turn it off / on.

Also, very important in the image that I haven't described yet is the snubber diode. Since a motor is an inductive load, simply turning it off while it's running is enough to destroy most MOSFETs / circuits.
__________________
Be Healthy. Never Stop Learning. Say It Like It Is. Own It.

Like our values? Flexware Innovation is looking for Automation Engineers. Check us out!
  #10   Spotlight this post!  
Unread 02-12-2013, 17:10
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: lightweight, inexpensive speed controllers

thanks for the pointer about the diode. finally, any suggestions about specific mosfets to buy (don't forget, will be operating at 5v)? and do i need to use resistors at any point, whether from the PWM signal etc.

oh, and is a "snubber diode" a specific type of diode or will any type do?
  #11   Spotlight this post!  
Unread 02-12-2013, 17:16
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: lightweight, inexpensive speed controllers

Have you played with transistors before? A MOSFET, as mentioned earlier, is a very high powered transistor. Typically, though it is possible not to, you would have a filter capacitor attached. When the MOSFET is turned on, it will fill up the capacitor a little. If the MOSFET is on a greater portion of time, say, 1 second, the motor will get more power, and thus spin faster. However, if you have the MOSFET on for a lesser portion of the second, the motor would get a lower power and be slower. This will only work on brushed motors, and maybe those brushless motors with a built-in controller, like the ones in the computer you are using. If you are using brushless motors, like most quadcopter builders, you would need an ESC, a speed controller meant for brushless motors, much like the ones Andrew suggested. Also, why are you running 5 volts? What Battery technology are you using? If you are building a small flying machine, 3.7 volts (1s LiPo) may work. However, for most medium-large quadrotors, 7.4v (2s LiPo) or 11.1v (3s LiPo) would be optimal. If using Arduino for the controls, have a 5v regulator powering the control system, but have the motors/escs running off unregulated voltage. The ESCs that Andrew suggested have a built in UBEC (Universal Battery Eliminator Circuit), a wierd name for a buck voltage regulator, rated for 5v, 2 Amp. That should fall aplenty to power your Arduino and any other circuits. Some of these can severely reduce your cost, without reducing your quality. As a matter-of-fact, you may be able to get a better quality than those expensive ESCs from HobbyKing!

I would like to know what is your prefered power source, to help you get better information
  #12   Spotlight this post!  
Unread 02-12-2013, 17:17
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,064
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: lightweight, inexpensive speed controllers

Quote:
Originally Posted by AlexH View Post
i've run that esc on a battlebot. they do pretty much exactly what the descriptions says.

soft start is annoying if you are trying to start with a heavy load on the motor and go full throttle but otherwise i can't complain.

yes they are pwm based.
They are programmable, perhaps it's an option to turn off soft start? It's not really an issue for me, I shouldn't ever be going to full throttle suddenly.
__________________




.
  #13   Spotlight this post!  
Unread 02-12-2013, 17:21
AlexH AlexH is offline
Registered User
no team
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2010
Location: PA
Posts: 215
AlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to all
Re: lightweight, inexpensive speed controllers

Quote:
Originally Posted by Andrew Schreiber View Post
They are programmable, perhaps it's an option to turn off soft start? It's not really an issue for me, I shouldn't ever be going to full throttle suddenly.
yeah there is way to turn it off. i just wanted to point out that soft start is a thing because i was having cogging issues and thought it was the motor for the longest time before i tried disabling soft start.
__________________
My Instructables
  #14   Spotlight this post!  
Unread 02-12-2013, 17:25
yash101 yash101 is offline
Curiosity | I have too much of it!
AKA: null
no team
 
Join Date: Oct 2012
Rookie Year: 2012
Location: devnull
Posts: 1,191
yash101 is an unknown quantity at this point
Re: lightweight, inexpensive speed controllers

Quote:
Originally Posted by tilky View Post
why would this not work with brushless motors?
As far as I can see, that speed controller is meant for 3-phase motors, AKA. brushless motors. That's why there are two input wires and three output wires!
  #15   Spotlight this post!  
Unread 02-12-2013, 17:27
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: lightweight, inexpensive speed controllers

yea I'm stupid with the voltage thing. wanted to only have one power source, but that wouldn't work too well.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi