Go to Post There is a problem getting girls interested in STEM. Swift, immediate action is required. Continuing to stay the course leads to disaster. - Madison [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 26-02-2009, 10:05
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Digital Side Car Error

Hi all,

We are having some weird issues with our practice DSC, and hoping someone might have some relevant advice.

The side car will drop into a strange state after a duration of use. In this error state, the PWM outputs die, or work sporadically, but with an incorrect map of input to output. The relay 5-8 red and green leds turn on, as well.

I first found this error after driving the robot full speed into another trailer. As soon as it hit the obstacle, everything died. After troubleshooting for a while, we swapped the DSC to our backup and the problem seemed to go away, leading me to believe there was a hardware issue induced by the large shock.

After a little more testing, the 2nd side car reverted to the same (not working) state. No shock this time.

Interestingly enough I am still able to read encoder values off the DSC even though I can not output to the motors.

I have not swapped back to the original DSC yet, and the robot is still a sitting duck. I also swapped the DIO module in the cRIO before swapping to the second side car.

Any ideas?

Last edited by Tom Bottiglieri : 26-02-2009 at 10:08.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-02-2009, 10:30
JohnBoucher JohnBoucher is offline
Blue Shirt
FRC #0237
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Watertown, CT
Posts: 2,927
JohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond reputeJohnBoucher has a reputation beyond repute
Re: Digital Side Car Error

This was causing us problems.

http://www.chiefdelphi.com/forums/sh...ad.php?t=73891
Reply With Quote
  #3   Spotlight this post!  
Unread 26-02-2009, 11:18
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Digital Side Car Error

Tom,

Check the 12V power input to the DSC.

Read this thread for more background.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #4   Spotlight this post!  
Unread 26-02-2009, 11:52
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Digital Side Car Error

Quote:
Originally Posted by Mike Betts View Post
Tom,

Check the 12V power input to the DSC.

Read this thread for more background.

Mike
I will double check the wiring tonight. I am 99% sure everything is wired up correctly, but I will double check just in case. We stole some cabling, with attached wago connectors, from the competition robot before shipping. That robot had been working no problem for a few weeks. Maybe we missed something in the transplant.

The reason this seems strange though is the behavior of the relay LEDs. They only go on once everything goes down hill. I have no idea if there is any kind of built in diagnostics, but if there was, this seems like it would be it.
Reply With Quote
  #5   Spotlight this post!  
Unread 26-02-2009, 13:18
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Digital Side Car Error

Tom,

This has happened to a few teams. In one case (as well as my addled mind can recall), the 12 volts was not hooked up at all but leakage current sneaked in via the DB37 and allowed the board to function until you went to full reverse on one of the joysticks, then chaos followed...

If 12V looks good, disconnect the DB37 and look again.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...

Last edited by Mike Betts : 26-02-2009 at 13:21.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-02-2009, 00:00
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Digital Side Car Error

So I tested all of the power out tonight. Everything was wired correctly. I ran the diagnostic window and got a red light for "FPGA and COMM OK". Motors still didn't work.

We did some digging to find that the screw holding the anderson connector to the robot could sometimes cause a short between the power lines and the frame (when we wiggled the wires). Not sure how this is possible, but it happened. The cRIO was mounted to a bracket that was dangerously close to a frame member. There may have enough shock to cause both to short at the same time, but this seems highly unlikely. Beyond that all electrical components are isolated.

So I ask someone with a bit more knowledge of the guts of the DSC/DIO modules/FPGA - Is there any way the situation explained above could fry only the PWM driving circuitry on the DSC? I assumed the PWM signal came directly from the FPGA. Not sure if there is any amplification on board the DSC that could have gotten whacked out.

Thanks in advance.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-02-2009, 06:01
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: Digital Side Car Error

Quote:
Originally Posted by Tom Bottiglieri View Post
So I tested all of the power out tonight. Everything was wired correctly.
Did you test the voltage at the Digital Sidecar, or did you just verify the wiring? It's not hard for a WAGO connection to bite down on the insulation if the wire isn't stripped the proper amount.
Reply With Quote
  #8   Spotlight this post!  
Unread 27-02-2009, 06:42
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Digital Side Car Error

My vote's with Alan on this one. Please confirm that, when powered up, all 3 power LEDS are fully lit on the Digital Sidecar (all 3 LEDs next to the power input). If you're not providing 12V from the PD (typically due to clamped insulation at the PD's WAGOs per Alan's comments), the 5V power LED will be dimly lit (due to phantom power from the 37-pin cable) but the 6V and 12V LEDs will be VERY dimly lit or off.

If you've got a chassis isolation issue (you should check that too), you may have found a new path for phantom power. If all 3 power LEDs on the Digital Sidecar are lit, remove the breaker in the PD that provides DSC power and see whether the power LEDs are still lit. If so, you're sneaking power into the DSC via some other path (maybe a combination of 37-pin cable and chassis isolation). If the LEDs do turn off when you remove the breaker, you may still have a chassis isolation issue but it's hard for me to imagine how that current path could be closed. You might need to start disconnecting digital I/O devices and Spikes, Vics, Jags to find the culprit.

Russ
Reply With Quote
  #9   Spotlight this post!  
Unread 27-02-2009, 07:47
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Digital Side Car Error

Yes, we checked voltage at each component. We held them in the air, we put them on rubber pads. We tried every combination of possible power input. There is no power ghosting going on here, just a straight feed from the battery.

We ripped apart the entire system. With just a battery, cRIO, PD, and DSC, both DSCs turned on directly into this state. We could nothing with them, and every couple of minutes they drive motors at full speed for about .1s. This is with no connection to a DS, or a disabled DS.

Last edited by Tom Bottiglieri : 27-02-2009 at 07:52.
Reply With Quote
  #10   Spotlight this post!  
Unread 27-02-2009, 10:15
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Digital Side Car Error

What are you using for motor drives? Does it happen for every motor driven via the DSC? Does this happen somewhat consistently?

Does this happen when the PWM cables are disconnected from the DSC? If so, maybe your motor drive has a fault such that it's spontaneously energizing its H-bridge every once in a while (not unlike the reported Jaguar failures).

Russ
Reply With Quote
  #11   Spotlight this post!  
Unread 27-02-2009, 15:07
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Digital Side Car Error

Quote:
Originally Posted by Russ Beavis View Post
What are you using for motor drives? Does it happen for every motor driven via the DSC? Does this happen somewhat consistently?

Does this happen when the PWM cables are disconnected from the DSC? If so, maybe your motor drive has a fault such that it's spontaneously energizing its H-bridge every once in a while (not unlike the reported Jaguar failures).

Russ
For motor drives (I'm assuming you are speaking of the down stream speed controllers) we are using a mix of Jaguars and Victors. The problem is apparent on all ports. We have 7 motor controllers on the robot now, so we have only tested between 0-7 plugged in, but I assume it would be the same with more.

The random bursts have happened on a variety of motors. Sometimes only one will drive, sometimes they will all drive. I have not seen any kind of pattern to when these events occur, they just happen after a long period of the robot being powered on.

We have got our hands on a fresh DSC. We have double checked everything else in the system for isolation, and should be testing the DSC tonight. I will let you know the results.


Also, can anyone elaborate on what the "FPGA and COMMS OK" indicator on the FRC Diagnostic Window is representing?
Reply With Quote
  #12   Spotlight this post!  
Unread 28-02-2009, 02:32
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,187
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Digital Side Car Error

Quick update:

Swapped the DSC tonight. Everything seems to work fine.
Reply With Quote
  #13   Spotlight this post!  
Unread 28-02-2009, 06:19
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Digital Side Car Error

Hi.

Before assuming that you have a bad sidecar, we ran into a problem yesterday at the DC regional of the DB37 cable vibrating out of the DSC (or maybe it was that collision in auton).
This causes what looks like a progressive failue, that started with the encoders and worked it's way to PWM's.

This cable is not anchored at the DSC end, but it can be.

Take a cRIO plug-in module that you are not using (Spare analog or digital) and remove the small hex posts that the db37 screws into.

Fit these posts to the DSC, (at each end of the db37 connector) and then re-install the cable.

This makes for a solid connection.

Phil.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor

Last edited by PhilBot : 28-02-2009 at 06:22.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does the trailer have to be able to move side to side? eNyoron General Forum 1 04-01-2009 21:57
Error in code light on, trouble finding error Bryan Herbst Programming 16 12-10-2007 21:59
180:Error: syntax error help! seanl Programming 8 04-02-2007 11:31
stupid Array error: Error [1300] stack frame too l Validius Programming 7 27-01-2006 10:53
Digital Caliper as a Digital Readout on Small Mill sanddrag Technical Discussion 9 13-10-2005 22:51


All times are GMT -5. The time now is 16: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