Go to Post Yeah those design flaws kill you in the end. You especially hate finding out about them in competition. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 08-01-2012, 22:34
konk25's Avatar
konk25 konk25 is offline
Registered User
AKA: Kishan Shah
FRC #2935 (COUGARS)
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Canada
Posts: 12
konk25 is an unknown quantity at this point
Post Motor Speed Controllers

Hi,

Can someone tell me how can we control the speed of a motor? I want to use a sensor or something so that I dont have to control the speed manually.

There are things like motor controllers but I am not sure if that works.

Your help will be great.

Thank you.
__________________
  #2   Spotlight this post!  
Unread 08-01-2012, 22:37
aeniug2's Avatar
aeniug2 aeniug2 is offline
Registered User
AKA: Joseph
FRC #2879 ("Orange Thunder")
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: St. Louis park
Posts: 150
aeniug2 will become famous soon enoughaeniug2 will become famous soon enough
Re: Motor Speed Controllers

You would have to have a sensor collect data to be interpreted by the code, which would control the motor speed/direction through a motor controller such as a jaguar.
__________________
  #3   Spotlight this post!  
Unread 08-01-2012, 22:38
Brandon_L Brandon_L is offline
Someone told me there was food here
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,200
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Motor Speed Controllers

The jaguars that came in your kit are motor controllers.

If you use the electricity-is-water analogy, the jaguars are like your faucet. it controls the flow of electricity to the motors. With a sensor and the right programming, you can control motors however you wish.

Victors are also another option, they function just like a Jaguar but work better with certain motors.
Spikes are another option, but are just on/off/reverse with no speed control.

EDIT: Worth noting that any sensors you use DO NOT plug into the Jaguar directly. They would hook up to one of the cRio slots. through programming you then adjust the motor speed.
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors

Last edited by Brandon_L : 08-01-2012 at 22:43.
  #4   Spotlight this post!  
Unread 08-01-2012, 22:42
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Motor Speed Controllers

There are physical motor speed controllers, such as Victors and Jaguars, which adjust the voltage applied to the motor in response to software commands.

If you need more precise speed control (closed-loop), you would need a sensor which measures speed (such as an encoder, or if the speed is high enough a high-speed light sensor and code wheel on the shaft/wheel to be measured), and either code on the robot to control the speed or a Jaguar which internally does closed-loop control, but requires the CAN bus.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 08-01-2012, 22:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,066
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Motor Speed Controllers


Quote:
Originally Posted by Brandon_L View Post
EDIT: Worth noting that any sensors you use DO NOT plug into the Jaguar directly. They would hook up to one of the cRio slots. through programming you then adjust the motor speed.
You can plug an encoder directly into the Jag. The processor in the Jag has software to do closed-loop speed control. You must be using CAN bus instead of PWM to access this functionality.


  #6   Spotlight this post!  
Unread 08-01-2012, 22:48
Brandon_L Brandon_L is offline
Someone told me there was food here
AKA: Brandon Liatys
FRC #2180 (Zero Gravity)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Newark, NJ
Posts: 1,200
Brandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond reputeBrandon_L has a reputation beyond repute
Re: Motor Speed Controllers

Quote:
Originally Posted by Ether View Post



You can plug an encoder directly into the Jag. The processor in the Jag has software to do closed-loop speed control. You must be using CAN bus instead of PWM to access this functionality.


^^Correcto.

I use pwm, sorry.
__________________
FRC 2495 - Hamilton West Robotics [2007-2014] - whats a..."hive mind"?
FRC 3929 - Atomic Dragons [2012-2013]
FRC 2180 - Zero Gravity [2017-]

Just trying to collect all the possible team colors
  #7   Spotlight this post!  
Unread 08-01-2012, 22:55
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Motor Speed Controllers

Kishan,
If you intend to control the speed of a motor without operator intervention, you need some method of telling the software what speed you want the motor to turn at. You can just turn the motor on to some predetermined value and let it run. Many teams want the motor to change speed under certain conditions or shut off when a condition has been met. For that application you will need something that senses the speed the at which the motor is turning at and an additional sensor that will allow your software to determine whether the motor is running faster or slower than you want or it has driven the robot to the prescribed distance. Many teams use some form of rotary encoder on the drive system for instance, to drive the robot in autonomous. This can be a gear tooth counter, a rotating encoder or a digital pot connected to the motor shaft or wheel shaft. The same holds true for mechanisms like arms. The motor is driven under software until a sensor on the arm is satisfied.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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 15:17.

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