Go to Post ...UFH nominations are like jello, there is always room for one more. - Barry Bonzack [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 06-03-2014, 15:15
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
URGENT: wheel grinding noise

On our robot, during practice we have experienced a problem where when we stop feeding joystick input one of the wheels twitches and makes a grinding noise (gearbox grinding) before stopping. It didn't have a this problem before and it's running the same code as it was before. Mechanical insists it's programming issue. Any help is appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-03-2014, 15:18
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: URGENT: wheel grinding noise

Quote:
Originally Posted by xXhunter47Xx View Post
On our robot, during practice we have experienced a problem where when we stop feeding joystick input one of the wheels twitches and makes a grinding noise (gearbox grinding) before stopping. It didn't have a this problem before and it's running the same code as it was before. Mechanical insists it's programming issue. Any help is appreciated.
Mechanical always insists its a programming issue What are the lights on the motor controller doing? Are you doing anything differently when driving than you were before? Are you positive no code changes were made?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-03-2014, 15:23
tim-tim's Avatar
tim-tim tim-tim is offline
Simplicity by Design...
AKA: Tim Miedzinski
FRC #0836 (The RoboBees)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Hollywood
Posts: 605
tim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond repute
Re: URGENT: wheel grinding noise

I believe your best bet is to ask some of the teams at the San Diego Regional (the one you are at) for some help. A few that come to mind are 987 and 1538. They should be able to help you troubleshoot and identify the problem and possible solutions.

As a mechanical person, it sounds like a mechanical problem (programming has very little control over grinding). Have you check the gears for proper engagement and alignment? Did you grease the gears at install? Are the motors hot? There are many potential issues, but without knowing more and seeing or hearing the problem it's hard to tell.
__________________
The RoboBees

Tim's Shortcuts Anderson Powerpoles and Crimper, Star/Tube Nuts
Reply With Quote
  #4   Spotlight this post!  
Unread 06-03-2014, 15:30
mgerber's Avatar
mgerber mgerber is offline
Shoddy Programmer
AKA: Max Gerber
FRC #0223 (Xtreme Heat)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: New Jersey
Posts: 21
mgerber is on a distinguished road
Re: URGENT: wheel grinding noise

Does the grinding occur when the robot is disabled? If it does, it's definitely mechanical. Otherwise it may very well be programming. Maybe the joystick doesn't return exactly to 0 when you take your hand off it? Try deadbanding the input or using a different joystick. You could also try calibrating your speed controller.
Reply With Quote
  #5   Spotlight this post!  
Unread 06-03-2014, 15:43
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: URGENT: wheel grinding noise

The wheels twitch for a bit before settling when we stop input.
By twitching I mean the wheels run back and forth at high speeds

Last edited by xXhunter47Xx : 06-03-2014 at 15:54.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-03-2014, 16:46
Kevin Phan's Avatar
Kevin Phan Kevin Phan is offline
College Student
FRC #0357 (Royal Assault)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2010
Location: PA, United States
Posts: 95
Kevin Phan will become famous soon enoughKevin Phan will become famous soon enough
Re: URGENT: wheel grinding noise

I have experience a phenomenon where the wheels runs without input. Check the dashboard and make sure the joysticks are set to the right usb. Check your code if you have something that takes control of the drive from the joystick. Maybe calibration on the speed controllers are wrong. Run it live and probe the outputs. Could be the joystick, so check on the windows gamepad settings to check if the joystick returns to the center.
Reply With Quote
  #7   Spotlight this post!  
Unread 08-03-2014, 07:39
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: URGENT: wheel grinding noise

Do you have encoders with speed or position control running? If there is slack in the drivetrain, the control algorithm has trouble making small adjustments because of the lag between its input and a response of the encoder.

A possibly related odd thing I saw yesterday on a robot was a frame short that caused 6V drop, a breaker trip, and then it would repeat at about 3Hz even when the joysticks were centered. They kept working on the isolation of the motor output wires from the frame and also changed out the Digital Breakout and the issue went away, but I still don't entirely understand what was restarting the cycle.

When it is glitching do you have any diagnostic messages, any large voltage drops, any other symptoms that occur at the same time/rate?

Greg McKaskle
Reply With Quote
  #8   Spotlight this post!  
Unread 08-03-2014, 10:27
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: URGENT: wheel grinding noise

We just said "screw it" and scrapped CANBus, because no other teams were dealing with CANBus and Labview, so we went back to PWM.
Reminder to self, no more Mecanum drive.
Reply With Quote
  #9   Spotlight this post!  
Unread 13-03-2014, 23:42
Tim Lehmann4967's Avatar
Tim Lehmann4967 Tim Lehmann4967 is offline
A Sentient Being
FRC #4967 (That O.N.E Team (Our Next Engineers))
Team Role: Alumni
 
Join Date: Dec 2013
Rookie Year: 2006
Location: In a gravitational field
Posts: 57
Tim Lehmann4967 will become famous soon enough
Re: URGENT: wheel grinding noise

So I know you said it was gearbox, but I just wanted to bring up that it could easily be bearings. Our bot started making a clicky/grinding sound and it turned out to be a bad hex bearing.
Reply With Quote
  #10   Spotlight this post!  
Unread 14-03-2014, 00:08
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: URGENT: wheel grinding noise

Quote:
Originally Posted by Tim Lehmann4967 View Post
So I know you said it was gearbox, but I just wanted to bring up that it could easily be bearings. Our bot started making a clicky/grinding sound and it turned out to be a bad hex bearing.
It was a code issue. It was grinding because the wheel was getting an input from something (still haven't figured it out), and it would twitch back and forth, making a grinding noise.
__________________
College sux yo
Reply With Quote
  #11   Spotlight this post!  
Unread 14-03-2014, 08:12
Tim Lehmann4967's Avatar
Tim Lehmann4967 Tim Lehmann4967 is offline
A Sentient Being
FRC #4967 (That O.N.E Team (Our Next Engineers))
Team Role: Alumni
 
Join Date: Dec 2013
Rookie Year: 2006
Location: In a gravitational field
Posts: 57
Tim Lehmann4967 will become famous soon enough
Re: URGENT: wheel grinding noise

Quote:
Originally Posted by xXhunter47Xx View Post
It was a code issue. It was grinding because the wheel was getting an input from something (still haven't figured it out), and it would twitch back and forth, making a grinding noise.
Alright, glad you got it working.
Reply With Quote
  #12   Spotlight this post!  
Unread 14-03-2014, 08:58
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: URGENT: wheel grinding noise

Quote:
Originally Posted by xXhunter47Xx View Post
It was a code issue. It was grinding because the wheel was getting an input from something (still haven't figured it out), and it would twitch back and forth, making a grinding noise.
Priority 1 is always safety.

It sounds like you do (did?) have encoders with a PID loop (running on CAN Jaguars) on the wheels that is marginally stable due to slack in the mechanical system. Removing the slack (tighten the chain) will help. Closed loop systems have trouble with non-linear delays. This is one reason many Mecanum systems are direct drive. We also square our joystick inputs [ joy * abs(joy) to preserve sign] to improve drive-ability and reduce the sensitivity to the joystick returning to center.

So one mechanical tweak and one software tweak. Closed loop systems are fantastic when they work and adapt to changing environments well but tend not to fail gracefully. Keep pushing your bot (and your team) to higher levels of performance. It does show on the field.
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 20:15.

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