Go to Post Jenny - thanks for not beating any of our team members up with their own MOE sticks! That must have taken some willpower to hold yourself back! - Mr MOE [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 17-03-2010, 11:55
Boommaster713's Avatar
Boommaster713 Boommaster713 is offline
Registered User
FRC #0932 (Circuit Chargers)
Team Role: Driver
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Tulsa, OK
Posts: 11
Boommaster713 is an unknown quantity at this point
Re: fine control of robot with mecanum wheels

Something to be aware of is that during testing my team found that in order to control the robot at low speeds the motors must be given 40% of maximum voltage (to overcome the robots moment of inertia) and then once the robot is moving the power can lower slightly.
Other issues that could impact fine control is the lag time between control system and robot.

My Team's robot uses a near identical setup, 8in andymark Mechanums wheels(with black mini wheels), andy mark toughboxes, chains connecting them with andymark wheel tensioners (Fiddly to the extreme to get right, but once right they havent failed through 13+ matches)
all done open loop with no feedback, with jaguars on PWMs, and joystick mapping for fine control

Robot control is a 3 axis joystick
  #2   Spotlight this post!  
Unread 16-03-2010, 23:23
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: fine control of robot with mecanum wheels

Quote:
Originally Posted by Boommaster713 View Post
My Team this year has also run a system identical to this setup and have not had any issues regarding the control of the robot(Once setup properly). So the basic premise of too much friction and high gear ratio is not the culprit.
The basic premise was too much friction and high gear ratio to be controlled open-loop. Is your bot's wheel speed controlled open-loop or closed-loop?


Quote:
So a simple question would be what kind of control issues is your team experiencing?
"lack of fine control of robot movements, especially at low speeds"


~
  #3   Spotlight this post!  
Unread 16-03-2010, 23:36
TD912 TD912 is offline
Registered User
AKA: Chris Leung
FRC #1989 (Viking Robotics)
Team Role: College Student
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Vernon, NJ
Posts: 156
TD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud ofTD912 has much to be proud of
Re: fine control of robot with mecanum wheels

The joysticks return values between -1 and +1 for both the X and Y axes, And these values are then used to generate a signal for the speed controller. You can "curve" the output however you want. Normally, moving the joystick 50% forward would send a 0.5 signal to the contoller. Squaring it should give you finer control at lower speeds (moving the joystick 50% forward would result in a 0.25 signal being sent), while getting the square root would do the opposite (50% forward would end up sending a 0.71 signal instead!). In either case, you could still achieve full speed by moving the joysticks all the way forward. You should experiment to see what works best for you, and be sure to program in a way to keep your positive values positive, and negative values negative when squaring.

Just remember that the motors will still need to be able to produce enough force to move the robot, Plus there are things like deadband to deal with, so very low values like .1 might not appear to do anything.

Edit: By the time I typed this up, all these people replied already! Sorry if I repeated what was already said.
__________________
Zip-ties, hot glue, and duct tape.

2008 New York City Regional Champions - (41/555/1989)
2009 Brunswick Eruption 8 Finalists - (1989/56/1807)
2010 PARC XIII Champions - (25/341/1989)

Over The Bump

Last edited by TD912 : 16-03-2010 at 23:40.
  #4   Spotlight this post!  
Unread 16-03-2010, 23:46
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: fine control of robot with mecanum wheels

We are using an open loop this year and we have used it in the past for our mecanum drive, though we use direct drive and a higher gear ratio than the KOP transmissions. We aren't using encoders to control wheel speed, but we ARE using a gyro to make sure the robot stays pointed in the right direction.

We aren't experiencing control issues perhaps because of our differences. You could fairly easily increase your gear ratio (in a way) without too much trouble by changing your sprocket sizes. A smaller output sprocket and a larger wheel sprocket will slow your wheels down.

Hope this helps...
__________________
I don't need a signature.
  #5   Spotlight this post!  
Unread 16-03-2010, 23:52
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: fine control of robot with mecanum wheels

As a point of reference, we used the AndyMark 8", directly driven with 12:1 transmissions. For control we used Logitech 3d, using the 'twist' of the joystick for rotation.

They were driven by PWM, w/o feedback. Rotation/twist was scaled down.

This worked fine on both our test-bot and the final robot.
  #6   Spotlight this post!  
Unread 17-03-2010, 00:43
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: fine control of robot with mecanum wheels

Quote:
Originally Posted by Dad1279 View Post
As a point of reference, we used the AndyMark 8", directly driven with 12:1 transmissions. For control we used Logitech 3d, using the 'twist' of the joystick for rotation.

They were driven by PWM, w/o feedback. Rotation/twist was scaled down.

This worked fine on both our test-bot and the final robot.
AndyMark 8"... check
3-axis Joystick ... check
"twist" for rotation ... check
PWM ... check
no wheelspeed feedback ... check
rotation "scaled down" ... check

only difference is wheels are connected to toughbox (12.75:1) transmissions via sprocket and chain.

What kind of curve-shaping did you do on your joystick outputs before feeding them into your wheel-command-calculation algorithm ?


~
  #7   Spotlight this post!  
Unread 19-03-2010, 09:54
boomergeek's Avatar
boomergeek boomergeek is offline
Registered User
AKA: Mr. D (Dick DiPasquale)
FRC #0241 (Pinkerton Robotics)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Derry, NH
Posts: 191
boomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant futureboomergeek has a brilliant future
Re: fine control of robot with mecanum wheels

Quote:
Originally Posted by Ether View Post
...with the lack of fine control of robot movements...

~
Team 241 has 8" mecanum, direct drive toughboxes,
voltage control CAN interface

----
We are considering adding and tuning a speed control based on encoders that are already mounted.
----

There have been many factors that we have found seem to affect "the lack of fine control of robot movements..."

+ consistent CIM free run speed - (some CIMs are outliers)
+ consistent gearbox efficiency -
+ consistency of mecanum roller turn resistance- keeping these even have been a constant maintenance task for our mechanics
+ the designed lack of roundness in the 8" mecanums - at very low power, this non-linearity is noticeable.
+ weight distribution - get 4 scales one for each wheel.
+ suspension to keep all wheels firmly on the ground (we added this early based on academic research- so we really don't know how important it is to this game/surface... Are some teams with mecanums but without suspensions satisfied with the handling for the Breakaway arena?)

and probably most important-
+++ giving the driver enough practice time to truly have a chance of learning to predict the behavior of the robot based on the commands sent to it.
we locked in on using a single driver almost exclusively due to the lack of enough practice time available.


Our original optimistic plans were to have speed control (not voltage control) completed at least two week before the robot had to ship so the drivers would have substantial time to learn the machine.

We have portions of a second bot but we did not get to a cloned drivetrain (no mecanums, only 2 CIMs on it).

The teams with fields to practice on and have cloned second bots to practice with are strongly advantaged both in getting the control right and more importantly, in training the drivers to play the game well and making the most of the control that they have.

I am bit amazed on how well some drivers have done with so little driving practice especially with new mecanum drive systems.

IMO, the most important control system to tune is the one between the drivers ears...
  #8   Spotlight this post!  
Unread 20-03-2010, 13:17
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: fine control of robot with mecanum wheels

http://www.chiefdelphi.com/forums/sh...94&postcount=1

We were able to improve driveability to an acceptable level by going back to tank drive (to take advantage of our driver's previous tank-drive experience) and using one joystick's X-axis (not used for standard tank drive) for strafe. We developed an algorithm to encode the 3 joystick commands (leftY rightY rightX) into commands for forward/reverse, turn, and strafe, which could be tuned independently (see link above). With a bit of tuning, it behaves just like the familiar tank drive, except it has the ability to strafe by using the joystick X-axis when necessary.


~
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
jaguar speed control of mecanum wheels Ether Motors 7 05-02-2010 13:02
Spinning the Robot with Mecanum Wheels Teammax Technical Discussion 21 02-02-2010 18:14
Help with mecanum wheels CyDrive Programming 7 10-02-2008 16:16
Assistance with Mecanum Wheels CollmandosGrl General Forum 8 14-01-2008 17:42
Teams With Mecanum Wheels Foss@Team176 Technical Discussion 15 06-10-2005 09:38


All times are GMT -5. The time now is 14:34.

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