Go to Post You know this crazy ChiefDelphi... nothing but useless information and kids ranting about pizza. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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-02-2013, 18:06
AmLameBro AmLameBro is offline
Registered User
FRC #4034
 
Join Date: Jan 2013
Location: Pelham. NH
Posts: 6
AmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really nice
Jaguar Issues at the Last Minute

Intro: The Jaguars are no longer working, although they once were. They blink yellow even when the code is deployed and the robot enabled. Here is a list of all the things we have tried, as well as the circumstances surrounding the sudden loss of function.

For a start, the robot was working and driving during the first week. Recently, though, we built the final electrical box and it was rewired. Now, the Jaguars never change from blinking yellow always.

This is not an obvious solution. We have triple and quadruple checked every connection and cannot find the issue:
-battery is connected to PDD
-PDD is supplying 12V power w/ 20 amp breaker to digital sidecar
-Digital sidecar has two PWM cables each going to a jaguar
-Each jaguar is plugged into the PDD with a 40 amp breaker using large gauge wire.
-The black is going to black and the red is going to red.
-The V+/V- port wires are going to the PDD.
-The M+/M- port wires are going to the motors.
-All lights are good to go on cRIO, DLink, PDD, and digital sidecar.
-The large signal light is on and does respond to the robot being turned on.
-The PWM cables are plugged in correctly: black to ground and white to signal.
-The arguments for the constructor in the code(Java) are correct.

And so on and so forth. Solutions we have tried include:
-Replacing the PWM cables
-Replacing the wires going into/out of the Jaguars
-Replacing the Jaguars entirely
-Rolling back to old code when the robot was first working.

Further, I have dashboard values for the jaguars: when I move the joysticks(yes, they're plugged in and coded), the values change. It seems that my input is being sent, but lost somewhere along the way between the laptop and the DLink.

Lastly, the relay lights still work; the compressor and solenoid relay buttons work completely, so the problem doesn't appear to be with the digital sidecar.

If anyone can offer advice, I would be very thankful indeed.
  #2   Spotlight this post!  
Unread 15-02-2013, 18:11
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is online now
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,551
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Jaguar Issues at the Last Minute

From what you said it sounds like the PWM value isn't getting to the Jaguar. Do you have a servo or a different speed controller you could test with?

Did you try downloading default code or some known working program.

Have you replaced the Sidecar 37 pin cable?
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
  #3   Spotlight this post!  
Unread 15-02-2013, 18:17
AmLameBro AmLameBro is offline
Registered User
FRC #4034
 
Join Date: Jan 2013
Location: Pelham. NH
Posts: 6
AmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really nice
Re: Jaguar Issues at the Last Minute

Yes, the 37-pin connector from slot 2 of the cRIO to the sidecar has been
fixed. Else, it would not have worked before.

We have tested with a total of four Jaguars; none of them ever stopped blinking orange.

The problem is definitely not with the code; there were literally zero changes to the driving portion from the time before when it still worked. All additions have been to other components: rangefinder, small motors, compressor/solenoid, etc.
  #4   Spotlight this post!  
Unread 15-02-2013, 18:21
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is online now
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,551
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Jaguar Issues at the Last Minute

Have you replaced the cable since it stopped working? Even a ribbon cable that worked at one point can break and stop passing PWM signals.

If you think you have swapped everything try swapping everything else. PD Board, Digital Module, and anything else that could even remotely fix the problem. Do them one at a time so you can isolate where the problem is.

Also double check the PWM connections and cables, change to different motor ports that you are using on the sidecar.

If you have a second digital module put in slot 4 (assuming 4-slot cRIO) and try to run of of that one.
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
  #5   Spotlight this post!  
Unread 15-02-2013, 18:24
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,991
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Jaguar Issues at the Last Minute

Remove and turn the sidecar over, and shake. Maybe something got in there, this will shake it out.

Disconnect everything from the Sidecar, then just connect one Jaguar. There may be something weird with the outputs.

Do you have an oscilloscope? If so, look at the PWM signal itself.

Just grasping at straws here, but you never know.
__________________

I am N2IRZ - What's your callsign?
  #6   Spotlight this post!  
Unread 15-02-2013, 18:26
AmLameBro AmLameBro is offline
Registered User
FRC #4034
 
Join Date: Jan 2013
Location: Pelham. NH
Posts: 6
AmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really nice
Re: Jaguar Issues at the Last Minute

Quote:
Originally Posted by AllenGregoryIV View Post
Have you replaced the cable since it stopped working? Even a ribbon cable that worked at one point can break and stop passing PWM signals.

If you think you have swapped everything try swapping everything else. PD Board, Digital Module, and anything else that could even remotely fix the problem. Do them one at a time so you can isolate where the problem is.

Also double check the PWM connections and cables, change to different motor ports that you are using on the sidecar.

If you have a second digital module put in slot 4 (assuming 4-slot cRIO) and try to run of of that one.
Thank you for the suggestions; we'd thought of those, but we decided to consider alternatives before redoing everything.

Also, I just thought of another potential problem: is the PWM cable going into the Jaguar supposed to be. . .well, loose? When we insert a PWM cable into a Spike Relay, there is a good satisfying click. With the Jaguar, though, it just sort of slides in and slides out easily.
  #7   Spotlight this post!  
Unread 15-02-2013, 18:33
TogetherSword8 TogetherSword8 is offline
Registered User
FRC #0888 (Robotiators)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Glenelg High School
Posts: 85
TogetherSword8 is an unknown quantity at this point
Re: Jaguar Issues at the Last Minute

Yeah, the Jaguar PWM cable is a lot looser than the spikes. Are you sure that you are putting them in correctly, with Black on the right, and Red in the middle, and White on the left? Assuming the hooks are on the side i call the front. the pwm slot is towards the left.
  #8   Spotlight this post!  
Unread 15-02-2013, 18:43
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: Jaguar Issues at the Last Minute

Quote:
Originally Posted by AmLameBro View Post
Also, I just thought of another potential problem: is the PWM cable going into the Jaguar supposed to be. . .well, loose? When we insert a PWM cable into a Spike Relay, there is a good satisfying click. With the Jaguar, though, it just sort of slides in and slides out easily.
I put tabs on the front of the Jaguar so that you can slide the PWM wire under the tab and then up and over into the PWM connector. That helps keep them in and also is strain relief. The connector is slightly larger to accept multiple types of 1x3 0.1" connectors.

-Scott
  #9   Spotlight this post!  
Unread 15-02-2013, 18:50
AmLameBro AmLameBro is offline
Registered User
FRC #4034
 
Join Date: Jan 2013
Location: Pelham. NH
Posts: 6
AmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really nice
Re: Jaguar Issues at the Last Minute

Quote:
Originally Posted by TogetherSword8 View Post
Yeah, the Jaguar PWM cable is a lot looser than the spikes. Are you sure that you are putting them in correctly, with Black on the right, and Red in the middle, and White on the left? Assuming the hooks are on the side i call the front. the pwm slot is towards the left.
Yes, I was able to discern the tiny (-),(+), and S marks on the PWM port. Black is going to negative, red to positive, and white to signal.

I am now posting from home, our group having decided to just call it a day. After some discussion with the electrical fellas, though, we decided that the prime suspect is the 37-pin connector for various reasons.

1: There is no light display on the digital sidecar to verify that the connector works
2: We are using a light ribbon cable, which is less sturdy than the bulky ones used by computer monitors
3: In addition with the aforementioned reason, the ribbon cable was twisted a lot recently due to the (mistakenly) too small electrical box.
4: It would account for both the Jaguars not working and is less inconsistent than previous reasons (both jaguars broke, both PWM cables were frayed beyond repair, etc.)

On the morrow, we shall spend all day troubleshooting various issues. I thank you all for the help and I'll post the aftermath of this situation.
  #10   Spotlight this post!  
Unread 15-02-2013, 18:55
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
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: Jaguar Issues at the Last Minute


Put the robot up on blocks so you can run it in-place.

Unplug the PWM cable at the Jag and measure the voltage between signal and ground with a cheap digital voltmeter on the DC setting.

You should get a reading of roughly between 1 and 2 volts DC, and you should see the voltage change within that range when you move the throttle.


  #11   Spotlight this post!  
Unread 15-02-2013, 18:58
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
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: Jaguar Issues at the Last Minute

Quote:
Originally Posted by AmLameBro View Post
Black is going to negative, red to positive, and white to signal.
Just for the record: the middle (red) wire is not required for the Jag (and the same is true for Vic and Talon).


  #12   Spotlight this post!  
Unread 15-02-2013, 19:43
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,991
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Jaguar Issues at the Last Minute

Quote:
Originally Posted by AmLameBro View Post
is the PWM cable going into the Jaguar supposed to be. . .well, loose?
We use putty (think silly putty or similar) to make sure our PWM cables stay in place on the jaguars, along with those little clippies on the case.

Please let us know if the 37-pin cable does the trick!
__________________

I am N2IRZ - What's your callsign?
  #13   Spotlight this post!  
Unread 16-02-2013, 00:36
toastnbacon toastnbacon is offline
Registered User
AKA: James
FRC #3169 (Saintborgs)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Edmond
Posts: 97
toastnbacon is a jewel in the roughtoastnbacon is a jewel in the roughtoastnbacon is a jewel in the roughtoastnbacon is a jewel in the rough
Re: Jaguar Issues at the Last Minute

It sounds like that ribbon cable. But if not, I would try sending the default code, see if the problem remains. That's the fastest way I know to figure out if the problem is electrical or in the software. But I would bet on that cable.
__________________
"This must be what going insane feels like."-Simon Tam, Firefly
  #14   Spotlight this post!  
Unread 16-02-2013, 17:36
AmLameBro AmLameBro is offline
Registered User
FRC #4034
 
Join Date: Jan 2013
Location: Pelham. NH
Posts: 6
AmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really niceAmLameBro is just really nice
Re: Jaguar Issues at the Last Minute

(Skip ahead to the bold if you just want to find out what happened. Otherwise, enjoy this sordid tale of love and loss)

I have just returned from a very long session in which the entire team tried to, among other things, get the goshdarn Jaguars working again. In the end, we were successful, but the tale is one of such stupidity that it should be engraved in drool upon a failed math test.

Titanic efforts were made in every aspect to resolve the issue; we tried resetting the cRIO, completely redoing wiring that everyone knew was right, exhausting every online source even vaguely related to our issue, and so on. Historians will speak of the countless hours spent wasting time in this manner, for the real issue, unknown until the eleventh hour, was not due to a lack of competence, but a staggering amount of incompetence.

You see, on Monday everything was fine and dandy. On Tuesday and Wednesday, work was being done on the final electrical box, and I, as the team programmer, decided to take those days off. Woe to me that I should have been absent, for it was then and there that the unthinkable happened: non-electricians were assigned to re-do the wiring.

Understand, fellows, that the amount of work required by the regular electrical people had dwindled steadily once the configuration was figured out. Much effort in the first few weeks was spent trying to figure it out, as we are only a second year team, with most of the heavy lifters having graduated last year. Towards the final weeks, though, the electrical people stopped attending as often. Thus, the irregulars were assigned the all-too-important task of re-wiring everything.

So basically, the wiring guys here messed up. A lot. Fried the bajeezus out of the digital sidecar, but only to such an extent that the PWM ports didn't work. Due to the relay ports still working, everyone was misled endlessly. We just switched out the digital sidecar and everything went back to being fine and dandy. Fortunately, they didn't break the cRIO.

The lesson to take from this? Be steadfast and vigilant in observing whoever gets to work on the electrical components. Beware the dangers of reverse polarity, of voltage oversupply, of DSC power port going into analog breakout. Resist the time-saving demons, for they will only consume you in the long run. Heed the fragility of the electrical components.
  #15   Spotlight this post!  
Unread 17-02-2013, 16:34
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,058
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: Jaguar Issues at the Last Minute

Quote:
Originally Posted by AmLameBro View Post
The lesson to take from this?
Have someone experienced and competent inspect all wiring before allowing anyone to turn the main breaker on.


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


All times are GMT -5. The time now is 03:02.

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