Go to Post ... Proof that the Unsung FIRST Heroes paves the way! - Joe Matt [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 15-11-2005, 16:57
Validius's Avatar
Validius Validius is offline
There is a shadow following me.....
AKA: Mark Ratering
FRC #1549 (Washtenuts)
Team Role: College Student
 
Join Date: Feb 2005
Rookie Year: 2005
Location: South Lyon
Posts: 159
Validius will become famous soon enoughValidius will become famous soon enough
Send a message via AIM to Validius
Algorithim question: 4 wheel steering and power

I am making a prototype drivetrain in which all 4 wheels are (independantly) powered and al four wheels can swivle. The rear 2 wheels will always stay paralell and the front two will always stay paralel. Is there a standard algorithm for a software differential that takes into account the angle of all four wheels, and the desired speed and outputs the indevidual speed needed for each motor?
__________________
When a sociaty comes to believe that human life is not inherently worth living, it is a slippery slope to the gas chamber. You wind up on a low road that twists past Columbine and leads toward Auschwitz.

-Peggy Noonan
  #2   Spotlight this post!  
Unread 15-11-2005, 17:28
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Algorithim question: 4 wheel steering and power

Quote:
Originally Posted by Validius
I am making a prototype drivetrain in which all 4 wheels are (independantly) powered and al four wheels can swivle. The rear 2 wheels will always stay paralell and the front two will always stay paralel. Is there a standard algorithm for a software differential that takes into account the angle of all four wheels, and the desired speed and outputs the indevidual speed needed for each motor?
Are you considering 360° swivelling action on each wheel (i.e. swerve/strafe drive), or something like Quadrasteer (i.e. double-Ackerman, which, I believe, 301 implemented in 2004)?

Actually, true Ackerman steering (i.e. car steering) doesn't keep the wheels parallel; there's a small angle between them to compensate for the differing radii of curvature of the paths of the left and right wheels, during a turn. To create this angle, you can either implement a mechanical linkage at either end (like a car), or instead, drive the rotation of each wheel independently (rather hard with only a few motors); if you don't care about a little bit of wheel slip (which increases with the sharpness of the turn), you can keep the wheels parallel, and just deal with the speed (like a differential).

So, I would guess that the algorithm would involve finding the radius of curvature of the outside wheel's path, then subtracting the track width, and multiplying the speed of the inside wheel by that ratio (slowing it down, because of the shorter path length in a given turn). I suppose you could derive this from the intended speed and direction, but I don't pretend to know how.
  #3   Spotlight this post!  
Unread 15-11-2005, 17:41
Validius's Avatar
Validius Validius is offline
There is a shadow following me.....
AKA: Mark Ratering
FRC #1549 (Washtenuts)
Team Role: College Student
 
Join Date: Feb 2005
Rookie Year: 2005
Location: South Lyon
Posts: 159
Validius will become famous soon enoughValidius will become famous soon enough
Send a message via AIM to Validius
Re: Algorithim question: 4 wheel steering and power

Quote:
Originally Posted by Tristan Lall
Are you considering 360° swivelling action on each wheel (i.e. swerve/strafe drive), or something like Quadrasteer (i.e. double-Ackerman, which, I believe, 301 implemented in 2004)?

Actually, true Ackerman steering (i.e. car steering) doesn't keep the wheels parallel; there's a small angle between them to compensate for the differing radii of curvature of the paths of the left and right wheels, during a turn. To create this angle, you can either implement a mechanical linkage at either end (like a car), or instead, drive the rotation of each wheel independently (rather hard with only a few motors); if you don't care about a little bit of wheel slip (which increases with the sharpness of the turn), you can keep the wheels parallel, and just deal with the speed (like a differential).

So, I would guess that the algorithm would involve finding the radius of curvature of the outside wheel's path, then subtracting the track width, and multiplying the speed of the inside wheel by that ratio (slowing it down, because of the shorter path length in a given turn). I suppose you could derive this from the intended speed and direction, but I don't pretend to know how.
:edit:

I dont care about a little wheel slip caused by different radius while turning. If i get the algorithm correct the slip should be minimal because the motor will be driving the wheel less in the inner wheel then the outer.

i mean 360 swivel. However, i plan on having these wheels in all sorts of different directions. I need an algorithm that will produce when the front wheels are at 25 degrees and the rear may be at -20 degrees (arbatrary numbers). Or when the front are at 45 degrees and the rear are at 40 (almost a perfect strafe but with ust a touch of turn) The front wheels will be mechanically linkes together as far as turning and so will the rear wheels.
__________________
When a sociaty comes to believe that human life is not inherently worth living, it is a slippery slope to the gas chamber. You wind up on a low road that twists past Columbine and leads toward Auschwitz.

-Peggy Noonan

Last edited by Validius : 15-11-2005 at 18:09.
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
Question of the Week!!! (8/24/04) Andy Grady General Forum 27 27-08-2004 19:00
Question of the Week!!! (7/19/04) Andy Grady General Forum 23 23-07-2004 13:21
Question of the Week!!! (6/14/04) Andy Grady General Forum 23 01-07-2004 15:54
A question about control system options computhief263 Control System 7 04-02-2004 14:46


All times are GMT -5. The time now is 12:07.

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