Go to Post i wish ours was done so i could get some sleep - keagara [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 24-02-2011, 11:36
jrz126 jrz126 is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Erie, PA
Posts: 12
jrz126 is an unknown quantity at this point
Jag loses potentiometer reading

Our robot has a double jointed arm with a pot. at each joint.

During driver tryouts, we lost the readings from one of the potentiometers. The position was reading exactly 0. It was still connected as far as i could tell. It reads 0.3 and very noisy when disconnected. (since the signal lead is floating, its basically like an antenna)

We have it programed so the joysticks control the arms by setting %VBus. Pressing and holding a button will put it into PID control and move to the corresponding setpoint, release the button and it goes back to open loop.
So I was able to reconfigure the jag while it was running, but it didnt fix the problem. I had to powercycle it to get it back.
Oh and the open loop still worked with the joysticks, but my safety limits (in labview, not the soft limits on the Jag) had restricted the movement.

Anyone see this before? any way to fix it without a powercycle?
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2011, 19:59
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Jag loses potentiometer reading

You lost the position from the potentiometer?
I'm almost certain it's an electrical problem, but I won't rule anything out until we have more details.
What are you doing when you lose the signal? Does it come back intermittently?

Also, it'd be nice to see how you're configuring the Jaguar. Are you enabling it once you're done?
__________________
-- Marshal Horn
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2011, 20:21
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Jag loses potentiometer reading

Quote:
Originally Posted by jrz126 View Post
Our robot has a double jointed arm with a pot. at each joint.

During driver tryouts, we lost the readings from one of the potentiometers. The position was reading exactly 0. It was still connected as far as i could tell. It reads 0.3 and very noisy when disconnected. (since the signal lead is floating, its basically like an antenna)

We have it programed so the joysticks control the arms by setting %VBus. Pressing and holding a button will put it into PID control and move to the corresponding setpoint, release the button and it goes back to open loop.
So I was able to reconfigure the jag while it was running, but it didnt fix the problem. I had to powercycle it to get it back.
Oh and the open loop still worked with the joysticks, but my safety limits (in labview, not the soft limits on the Jag) had restricted the movement.

Anyone see this before? any way to fix it without a powercycle?
The first thing to check is if the pot is still functional. Use a multi meter to verify that you have +5 volts across it. Then verify you are getting a variable signal out of the wiper as you move the arm.
Honestly, from the description you gave, it sounds like the pot is broken internally. Could it have been driven past it's mechanical stop? If so, so bye bye to that one.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2011, 20:39
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Jag loses potentiometer reading

Good idea!
Make sure it is 3 volts across the potentiometer; the Jaguar only supplies 3v there, where the Analog Breakout supplies 5.

Did you say it worked again once you did a power cycle?
__________________
-- Marshal Horn
Reply With Quote
  #5   Spotlight this post!  
Unread 09-03-2011, 07:58
jrz126 jrz126 is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Erie, PA
Posts: 12
jrz126 is an unknown quantity at this point
Re: Jag loses potentiometer reading

oops. forgot about this thread.

I think I found the problem. When switching between open/closed loop I had reinitialized all the closed loop params, but I forgot the feedback type on one of the motors. So it was looking for encoder pulses instead of the pot value.
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 02:42.

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