Go to Post What I learned from week-1 is that once again my son has been inspired to the level that he came home after the BAE Systems Granite State FIRST Robotics Regional Competition with the biggest smile I have seen on his face for a long long time. I am truly grateful for that. - FIRST_Parent [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 09-03-2012, 20:39
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
A very weird digital sidecar problem...

So our robot was working perfectly yesterday on the practice field, but not today: when we plug in our two encoders to the digital sidecar (DIO slots 1-4), the 5V power on the sidecar fails (and thus we lose all pwm control and become a cute purple brick). Without the encoders plugged in, there are no shorts between power/ground and power/signal...

We tried replacing the encoders, the wires from the encoders to the sidecar, the sidecar, the cable from the sidecar to the bumper, and the bumper... Even replacing *ALL* of them yielded the same result.

Any ideas? It's rather too late for FLR -- we've established ourselves as a rather good fender defense and are for this regional comfortable in that role -- but for Buckeye in two weeks it would be nice to have actual speed control on our shooter...

We're stumped. Any assistance anyone could provide would be most appreciated.

Thanks!
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #2   Spotlight this post!  
Unread 09-03-2012, 20:54
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: A very weird digital sidecar problem...

Check the battery wiring to the Digital Sidecar. Make sure that the connections at both ends of both wires are grabbing all copper and not insulation.
  #3   Spotlight this post!  
Unread 09-03-2012, 21:12
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by RufflesRidge View Post
Check the battery wiring to the Digital Sidecar. Make sure that the connections at both ends of both wires are grabbing all copper and not insulation.
Already done.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #4   Spotlight this post!  
Unread 09-03-2012, 21:24
Deetman Deetman is offline
Registered User
AKA: Kevin Dieterle
no team
 
Join Date: Apr 2004
Rookie Year: 2004
Location: Philadelphia, PA
Posts: 203
Deetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond reputeDeetman has a reputation beyond repute
Re: A very weird digital sidecar problem...

Send a private message to EricVanWyk here on CD to bring his attention to this post. He is VERY familiar with the digital sidecars and its various failure modes.
__________________

FIRST Mid-Atlantic Volunteer (2012-present)
Team 1014 Alumni (2004-2005)
Team 1712 Mentor (2011-2015)
  #5   Spotlight this post!  
Unread 09-03-2012, 21:30
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by Deetman View Post
Send a private message to EricVanWyk here on CD to bring his attention to this post. He is VERY familiar with the digital sidecars and its various failure modes.
I'll do that!
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #6   Spotlight this post!  
Unread 09-03-2012, 21:49
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,355
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: A very weird digital sidecar problem...

Without having hands on, this is difficult to help troubleshoot, but what the heck, troubleshooting systems is what I've done for a living for 30+ years.

The very first thing you need to ask is: "What changed between yesterday and today? What was the last thing you did?" That might point you in the right direction. The fact that it was working yesterday and is not today is baffling. Something must have changed. If you can't think of anything at all, try the steps below, maybe you'll find something.

Start by plugging in one encoder at a time. If either one makes you loose the +5vdc, you have narrowed down the cause. If neither does by it's self, what about trying to move them to a different input,. Same result?

If neither kills it by it's self, then maybe the power supplying the board it the issue.
__________________
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
  #7   Spotlight this post!  
Unread 09-03-2012, 21:55
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 470
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by pfreivald View Post
We tried replacing the encoders, the wires from the encoders to the sidecar, the sidecar, the cable from the sidecar to the bumper, and the bumper... Even replacing *ALL* of them yielded the same result.
What kind of encoders are you using, and how are you wiring them? Are you positive that the encoder wiring is correct?

I don't have any magic answers, but can suggest a few things to try...

We use the USDigital encoders exclusively, although different models (generally E4P and E7P) and wire them with the 4-pin USDigital cable going to two separate 3-pin PWM-style connectors, but with each connector only using two conductors. One connector will have "A" and 5V; the other connector will have "B" and GND. With the way that we wire them up, it is essential that the connectors be wired the correct way round, and it is easy to get them wrong. When they are wired incorrectly, wierd sidecar behavior can result.

Another thing to check -- is the ribbon cable from the cRIO module to the Digital Sidecar ok? We had a cable which had been damaged due to a robot accident and had intermittent shorts in a couple of the conductors.

I would also suggest checking the power connections to the digital sidecar very carefully. Replace the circuit breaker if you have any reason to suspect it. Consider temporarily replacing the circuit breaker with a small (10A?) automotive fuse -- if it blows, it will do so completely and finally, making it easy to diagnose the problem.
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #8   Spotlight this post!  
Unread 09-03-2012, 21:56
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by billbo911 View Post
The very first thing you need to ask is: "What changed between yesterday and today?
This was literally a question of "it worked last night, we turned it on and went out to the field and it stopped working halfway through a match".

Quote:
Originally Posted by billbo911 View Post
Something must have changed.
Indeed. Whatever it was, we can't find it.

Quote:
Originally Posted by billbo911 View Post
Start by plugging in one encoder at a time.
Did that. Both do it. ...and they do it if they're new or old encoders, new or old cables, old or new sidecars, and old or new DIO ports... All with new or old sidecar-to-bumper cables and new or old CRIo bumpers.

We unplug the encoders, everything else works fine. We can't seem to even come up with something else to check.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #9   Spotlight this post!  
Unread 09-03-2012, 21:58
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 470
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: A very weird digital sidecar problem...

Another thought -- have you tried moving the encoder pins to different pins -- say 7-10 instead of 1-4? There may be a physical problem with the pins you are using on the sidecar.

Replacing the sidecar is a painful change (with the many cables for PWM robots) but might be worthwhile. You should be able to get one from the "spare parts" desk at the tournament.
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #10   Spotlight this post!  
Unread 09-03-2012, 21:59
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by Ken Streeter View Post
Another thought -- have you tried moving the encoder pins to different pins -- say 7-10 instead of 1-4? There may be a physical problem with the pins you are using on the sidecar.
Tried that.

Quote:
Originally Posted by Ken Streeter View Post
Replacing the sidecar is a painful change (with the many cables for PWM robots) but might be worthwhile.
And that.

I like to think that at this point we're good at troubleshooting, but this one has us extremely stumped!
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #11   Spotlight this post!  
Unread 09-03-2012, 22:00
PriyankP's Avatar
PriyankP PriyankP is offline
Registered User
FRC #0188 (Woburn Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Toronto, Canada
Posts: 87
PriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud ofPriyankP has much to be proud of
Re: A very weird digital sidecar problem...

Tried replacing the power distribution board?
__________________
Champs Schedule Highlighter App [CD Thread]

#### XYZ Regional Finalists
  #12   Spotlight this post!  
Unread 09-03-2012, 22:04
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by Deetman View Post
Send a private message to EricVanWyk here on CD to bring his attention to this post. He is VERY familiar with the digital sidecars and its various failure modes.
Considering he helped design it...

That being said, a few questions (some elementary, but bear with me):
- Which encoders are you using? (I assume the E4P from USDigital, which is what's standard in the KoP)
- Is this behavior consistent no matter which DIO (technically, the term is GPIO ) pins are used? That is, it doesn't matter which pair of pins is connected to the encoder?
- Have you double checked the encoder wiring setup? (i.e. made sure each line is isolated and not shorting to something else, and that you have +5 to +5, A and B to GPIO, and GND to GND)
- Do other digital sensors work on the GPIO pins? (If you don't have any on hand, see if any other teams have spare photoelectric sensors that you could play with).
- You said the 5V power fails; I assume this means that the 5V light turns off while the 6V and BAT lights stay on? (note to Eric: p3 of the spec sheet seems to have the 6V and "Power Input good" labels reversed)
- What do you mean by bumper? The 9403 module (the 37-pin module that plugs into the cRIO)? Something tells me that you're not plugging the DB37 into your bumper...
- Since the only remaining common at this point is the cRIO port, have you tried using a different slot for the module? Although the cRIO probably isn't your point of failure, replacing everything else does nothing else, soo...
- When you replaced parts, did you restore the original after finding that the replacement didn't fix the problem? (If a replacement has a problem, it introduces another problem to the system that you're likely to not notice, because fixing the original problem won't fix the system).
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners

Last edited by slijin : 09-03-2012 at 22:06.
  #13   Spotlight this post!  
Unread 09-03-2012, 23:01
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,770
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: A very weird digital sidecar problem...

Pat,
The power supply in the DSC is capable of several amps so it should handle two encoders. Is there any chance that someone unplugged the encoder connectors and put them back reversed? Some devices are reverse polarity protected and would produce a short if wired backwards and thereby cause the 5 volt supply to shut down. It is also possible that the power feeding the DSC has a loose wire. Does the 6 volt supply also shut down? If multiple power supplies shutdown at the same time, the input power is the likely cause.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #14   Spotlight this post!  
Unread 09-03-2012, 23:23
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: A very weird digital sidecar problem...

Like mentioned before, the DB-37 cable is plugged into a module (not a bumper), the Analog board that attaches to the Analog module is called a bumper.
Also when you tested it in the morning, was there new code deployed, or was it "permanent" code with no new deploying?
Also, did you test different power wires/connectors from the Power Distribution Board to the DSC?

And finally recently our robot's wifi would decide to restart whenever I enabled the robot (happened to be for only 1 battery), but that battery's main terminal was loose which let the robot boot fine but when it came to draw power, it crumbled. So I would check any loose connections starting with the battery. Also, test the 12V dedicated supply for the Wifi but use it on the DSC and see if it does that any more.
__________________
FRC Team 539
Student Member: 2010 Breakaway - 2014 Aerial Assist
Mentor: 2015 Recycle Rush - present

Last edited by DavisC : 09-03-2012 at 23:29.
  #15   Spotlight this post!  
Unread 10-03-2012, 00:37
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: A very weird digital sidecar problem...

Quote:
Originally Posted by pfreivald View Post
So our robot was working perfectly yesterday on the practice field, but not today: when we plug in our two encoders to the digital sidecar (DIO slots 1-4), the 5V power on the sidecar fails (and thus we lose all pwm control and become a cute purple brick). Without the encoders plugged in, there are no shorts between power/ground and power/signal...

We tried replacing the encoders, the wires from the encoders to the sidecar, the sidecar, the cable from the sidecar to the bumper, and the bumper... Even replacing *ALL* of them yielded the same result.

Any ideas? It's rather too late for FLR -- we've established ourselves as a rather good fender defense and are for this regional comfortable in that role -- but for Buckeye in two weeks it would be nice to have actual speed control on our shooter...

We're stumped. Any assistance anyone could provide would be most appreciated.

Thanks!
Hopefully I understand all of this correctly, because I haven't seen anyone say this.

It still sounds like a short in the encoder circuit. Whether it's wired wrong now, it's shorting somewhere, not sure. The power shouldn't just go out because of plugging in something unless it is shorting the power supply. Encoders are pretty dumb devices in the terms of sensors. They take in power, and give out a pulse that the cRIO counts. Plugging them into the sidecar should yield no changes at all, ever.

You should take a continuity checker, and check the black and red wire. I have a feeling that you will see 0Ω, or in other words, short circuit.

I feel that you will find that it is shorting.
I'd recommend doing the wiring again. I'd recommend YOU doing the wiring again. Only then do you know if it was a wiring fault.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
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 11:08.

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