Go to Post What is the coefficient of friction between butt and carpet? - JVN [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2015, 20:50
crollison crollison is offline
Registered User
AKA: Chris Rollison
FRC #4809 (Black Knight Robotics)
Team Role: Coach
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Marceline, MO
Posts: 57
crollison is an unknown quantity at this point
Motor Questions

Standard Drivetrain, Labview, currently arcade drive. Have always had the same problem each year, hoping to figure out how to solve it. I have seen this referenced somewhere else, but the answer wasn't real clear. Basically, when you push joystick forward, 1 side of the drivetrain always starts just a little ahead of the other and will favor that side in power. If you reverse it, it's the opposite side. I've read somewhere that it has to do with the "natural direction of the motor and since one is going backwards, then its just going to do this", unfortunately, I didn't understand the solution.

It is possible to drive, but you have to favor one side slightly. Even tried tanking drive, it didn't help much either. Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2015, 21:18
Ky0t3's Avatar
Ky0t3 Ky0t3 is offline
Registered User
AKA: Wiley Jordan
FRC #5178 (Nerdy Birds)
Team Role: Electrical
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Arkansas
Posts: 11
Ky0t3 is an unknown quantity at this point
Re: Motor Questions

we had the same problem, we tried taking the gearboxes apart multiple times but nothing helped. We just had our programmer compensate, I think thats the only way to fix it.

Last edited by Ky0t3 : 07-02-2015 at 21:46.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2015, 21:35
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Motor Questions

Quote:
Originally Posted by Ky0t3 View Post
we had the same problem, we tried taking the gearboxes apart multiple times but nothing helped. We just had our programmer compensate, I think thats the only way to fix it.
In the future, could you post using the default font size, it easier on the eyes and not as distracting.

To answer the OP's question, you probably need to calibrate your motor controllers. The procedure varies depending on what type of controller you are using.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2015, 21:41
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Motor Questions

Quote:
Originally Posted by Ky0t3 View Post
we had the same problem, we tried taking the gearboxes apart multiple times but nothing helped. We just had our programmer compensate, I think thats the only way to fix it.
...why are you yelling?

lopsided98 is right if you're using PWM. That might help normalize it.

What you were alluding to is the fact that CIMs (like many motors) are slightly more efficient in one direction then the other (a direction bias). When you move forward one side of your robot has the CIMs spinning clockwise and the other side has motors that spin counter-clockwise. So one side will take advantage of operating in it's bias while the other side won't.

Also traditionally your robot's chassis would change over the season creating even more asymmetric characteristics. But then again this year's game doesn't really allow for robot contact, so this this might not hold true this year.

Experienced teams will use encoders, gyro, and other forms of feedback to keep the robot going straight. It's a normal part of the challenge of making a great robot.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2015, 22:52
crollison crollison is offline
Registered User
AKA: Chris Rollison
FRC #4809 (Black Knight Robotics)
Team Role: Coach
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Marceline, MO
Posts: 57
crollison is an unknown quantity at this point
Re: Motor Questions

Already calibrated, guess we will have to figure out the advanced programming.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2015, 09:17
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Motor Questions

If you can better characterize this and determine whether this is primarily an issue at the low input values or is consistent across the speed range you will operate in, you can do an open-loop compensation. Just reduce the eager side by some amount, like perhaps a linear transform. I'd suggest making some coefficients that are placed on a panel or in a global. Run the code and tweak the bias and slope to see if this is good enough.

Depending on the weight distribution and wear-n-tear on the robot, you may need to update this at some point. You may also want to do the test on carpet or a close approximation.

Greg McKaskle
Reply With Quote
  #7   Spotlight this post!  
Unread 08-02-2015, 10:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Motor Questions

How did you calibrate the motor speed controllers? Doing that should have corrected the "one side starts before the other" issue.

Make sure that the code is opening the kind of speed controller that you actually have installed. Jaguars and Talons do not respond exactly the same, and if the hardware and software don't match you can get the symptoms you describe.
Reply With Quote
Reply


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 21:22.

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