Go to Post Do you think it's important? Is it actually possible for the students to change the lives of the mentors? - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 05-02-2010, 11:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,086
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
jaguar speed control of mecanum wheels

Two series of questions:

1) all the Jaguar literature I have been able to find speaks of the PWM input signal as being a "speed" signal. Is this really true, or is the term being used loosely? Is the jaguar somehow sensing the back-emf on the motor power leads and using this to sense motor speed, and using this in a closed-loop circuit to control motor speed? Or does the PWM signal simply map into a voltage command to the motor (in which case the speed would vary with load)?

2) with a robot that is using mecanum wheels, how critical is it that the individual wheel speeds be accurately controlled? is it sufficient to just send the PWM signal to the jaguars as mentioned above? or do we need to install an encoder on each wheel? if an encoder is necessary, can we run that encoder signal directly back to the jaguar? in other words, does the jaguar have built-in motor speed control if the encoder is wired to it? Or do we have to wire the encoders back to the cRIO and write our own speed controller in software?

I know some of these questions could be answered by some simple tests, but I don't have access to the hardware right now and am trying to gather as much info as possible before our next team meeting.

Thanks.


~
  #2   Spotlight this post!  
Unread 05-02-2010, 11:45
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,785
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: jaguar speed control of mecanum wheels

Ether,
There is really two different PWM signals associated with speed controllers that we use. The INPUT or command PWM uses a hobby standard control that specifies a PWM pulse width coded for speed and direction. The output of our speed controllers are also PWM switching (pulse rep rate) at 150 Hz for the Victors and 15kHz for the Jaguars. Full throttle in one direction of the other produces a direction connection to battery through the "H" bridge contained in each controller. In the Jaguar, there is a short pulse even at full throttle that is used to keep the drive cap charged. The Jaguar User's Manual has info on all of it's functions and includes schematics.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 05-02-2010, 11:46
lscime lscime is offline
Registered User
AKA: Luke Scime
FRC #2614 (Mountaineer Area RoboticS (MARS))
Team Role: Alumni
 
Join Date: Jun 2008
Rookie Year: 2008
Location: Morgantown, WV
Posts: 73
lscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to beholdlscime is a splendid one to behold
Re: jaguar speed control of mecanum wheels

As far as I know the PWM signals only tell the Jaguar to adjust it's output voltage, there is no feedback from the motors to the Jaguars. I do believe that you can wire say a limit switch directly to the Jaguar to make it stop or start (or brake or coast) but I know of no way to hook an optical encoder-type device to the Jaguar directly.
We are using Holonomic Mecanum drive this year and it functions fine without using a PID loop to adjust the wheel speeds (although we did that last year for traction-control ).

Good Luck!
  #4   Spotlight this post!  
Unread 05-02-2010, 12:31
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,086
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: jaguar speed control of mecanum wheels

Quote:
Originally Posted by Al Skierkiewicz View Post
The Jaguar User's Manual has info on all of it's functions and includes schematics.
Hi Al,

These are the only Jag docs I've been able to find so far:

BDC_RDK_Datasheet.pdf
JaguarGettingStarted.pdf
Jaguar_One_Pager.pdf
MDL-BDC&BDC24_FAQ.pdf
MDL-BDC24_BDC_COMM.pdf
MDL-BDC24_GSG.pdf
MDL_BDC24_Datasheet.pdf

Could you please post a link to the User Manual you mentioned that has schematics? It's probably obvious but I am not finding it.

Thanks.


~
  #5   Spotlight this post!  
Unread 05-02-2010, 12:32
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: jaguar speed control of mecanum wheels

The servo signal input to the Jaguar controls the voltage output. There isn't built-in closed-loop control when using the servo signal input.

You can definitely connect an optical encoder to the Jaguar. Please see the Getting Started Guide at www.luminarymicro.com/jaguar for an overview on all the possible control modes that the Jaguar supports.

You can connect encoders, limit switches, and/or analog potentiometers (or other analog signals) to the Jaguar inputs. Using CAN, you can change the mode to control voltage, speed, position (like a hobby servo, for example, imagine a CIM motor that holds position like a servo!), and current and then change parameters for P, I, and D so that the Jaguar does all the closed-loop control for you.

-David
  #6   Spotlight this post!  
Unread 05-02-2010, 12:42
JamJam263 JamJam263 is offline
Registered User
FRC #0263
 
Join Date: Feb 2009
Location: Lk Ronkonkoma
Posts: 27
JamJam263 is a glorious beacon of lightJamJam263 is a glorious beacon of lightJamJam263 is a glorious beacon of lightJamJam263 is a glorious beacon of lightJamJam263 is a glorious beacon of light
Re: jaguar speed control of mecanum wheels

Quote:
Originally Posted by Ether View Post
Two series of questions:

1) all the Jaguar literature I have been able to find speaks of the PWM input signal as being a "speed" signal. Is this really true, or is the term being used loosely? Is the jaguar somehow sensing the back-emf on the motor power leads and using this to sense motor speed, and using this in a closed-loop circuit to control motor speed? Or does the PWM signal simply map into a voltage command to the motor (in which case the speed would vary with load)?

2) with a robot that is using mecanum wheels, how critical is it that the individual wheel speeds be accurately controlled? is it sufficient to just send the PWM signal to the jaguars as mentioned above? or do we need to install an encoder on each wheel? if an encoder is necessary, can we run that encoder signal directly back to the jaguar? in other words, does the jaguar have built-in motor speed control if the encoder is wired to it? Or do we have to wire the encoders back to the cRIO and write our own speed controller in software?

I know some of these questions could be answered by some simple tests, but I don't have access to the hardware right now and am trying to gather as much info as possible before our next team meeting.

Thanks.


~
It depends on the method your using to control the Jaguars for both answers.

1)
If you're using PWM then no technically its not controlling speed. It more or less controls voltage which has a direct relationship with motor speed.
If you're using CAN to control the Jaguars then you have more control options including Speed.

2) A system will always work without a feedback like encoders, however it's always better to have some sort of feedback to increase traction, and position control. Also nothing is constant with robots, a slight change in battery voltage and have a drastic impact in control over time.

If using PWM then the encoders have to be wired to the digital inputs on the side car, and any code for traction control has to be done by the programmer.
If using CAN then the encoders can be directly wired to the Jaguars, which have built in ability to help with speed and traction control with a few simple lines of set-up code.
__________________
Favorite 2009 quotes:

"Do we really need all of the cRIO or can we cut it in half to save weight?"

  #7   Spotlight this post!  
Unread 05-02-2010, 12:43
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,086
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: jaguar speed control of mecanum wheels

Quote:
Originally Posted by lscime View Post
As far as I know the PWM signals only tell the Jaguar to adjust it's output voltage, there is no feedback from the motors to the Jaguars. I do believe that you can wire say a limit switch directly to the Jaguar to make it stop or start (or brake or coast) but I know of no way to hook an optical encoder-type device to the Jaguar directly.
We are using Holonomic Mecanum drive this year and it functions fine without using a PID loop to adjust the wheel speeds (although we did that last year for traction-control ).

Good Luck!
Hi lscime,

Thanks for sharing your experience with mecanum without closed-loop control of drive wheels. I think that's what we are going to settle for this year because giving our brand-new software guys another task would be too much at this point I think.


~

Last edited by Ether : 05-02-2010 at 12:47. Reason: wrong name
  #8   Spotlight this post!  
Unread 05-02-2010, 13:02
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,086
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: jaguar speed control of mecanum wheels

Quote:
Originally Posted by JamJam263 View Post
If you're using CAN to control the Jaguars then you have more control options including Speed.

If using CAN then the encoders can be directly wired to the Jaguars, which have built in ability to help with speed and traction control with a few simple lines of set-up code.

Quote:
Originally Posted by dyanoshak View Post
Using CAN, you can change the mode to control voltage, speed, position (like a hobby servo, for example, imagine a CIM motor that holds position like a servo!), and current and then change parameters for P, I, and D so that the Jaguar does all the closed-loop control for you.

Thanks guys. I see this requires CAN to implement, which none of our guys if familiar with. It may be too late in the game to go this route. Maybe next year :-(


~
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the speed on a jaguar in C++ DillonMartine Programming 3 01-02-2009 11:26
pic: Jaguar Speed Controller Padre_Vez Extra Discussion 15 31-01-2009 14:41
Mecanum Wheels tennispro9911 Technical Discussion 6 07-11-2008 00:04
Drive Control, Wheel Speed Calibration, and Rapid Speed Changes 7-11number1 Programming 3 23-01-2008 20:36
Friction coefficients for Omni wheels and Mecanum wheels from AndyMark Andy Baker Technical Discussion 11 16-12-2006 19:40


All times are GMT -5. The time now is 09:43.

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