Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   [Help] Problems with Encoders and PID Control (http://www.chiefdelphi.com/forums/showthread.php?t=135584)

Hoover 24-03-2015 17:48

Re: [Help] Problems with Encoders and PID Control
 
Your concern is warranted. As it is we won't pass inspection.

The LED's on our PDP are blinking amber even when the robot is enabled. The team says they've never been anything different. That would have included our first tournament.

I did do a close look for debris. We have been very diligent about debris and chaff this year.

We are out of time now.

Ether 24-03-2015 17:56

Re: [Help] Problems with Encoders and PID Control
 
Quote:

Originally Posted by Hoover (Post 1461754)
The LED's on our PDP are blinking amber even when the robot is enabled. The team says they've never been anything different. That would have included our first tournament

No sarcasm at all intended, but was it also that way when you first did the benchtop checkout of the control system in early January?



Mark McLeod 24-03-2015 19:15

Re: [Help] Problems with Encoders and PID Control
 
Quote:

Originally Posted by Hoover (Post 1461754)
The LED's on our PDP are blinking amber even when the robot is enabled. The team says they've never been anything different. That would have included our first tournament.

That is what is called a sticky fault and just indicates that sometime in the past the battery voltage dropped below the brownout cutoff.

It stays amber through power cycles until you explicitly clear the fault using the roboRIO WebDash.

Hoover 24-03-2015 19:43

Re: [Help] Problems with Encoders and PID Control
 
Quote:

Originally Posted by Ether (Post 1461759)
No sarcasm at all intended, but was it also that way when you first did the benchtop checkout of the control system in early January?



Sarcasm is deserved as I was stubborn on the voltage check. But what has happened is largely due to being a rookie to the new tech. (We had signed up for the beta program but didn't make it, so there's that). I had been thinking of deleting my posts due to sheer embarrassment, but it is a learning experience and has at least that merit.


Quote:

Originally Posted by Mark McLeod (Post 1461781)
That is what is called a sticky fault and just indicates that sometime in the past the battery voltage dropped below the brownout cutoff.

It stays amber through power cycles until you explicitly clear the fault using the roboRIO WebDash.

From what I've researched it looks like we clear the sticky fault by doing a self test. I will do that at my next opportunity.

My question is, once this is done, will it clear up the problem (assuming it no longer exists). In other words, could everything be ok now but we are still in this condition because we haven't done the clear sticky fault?

ozrien 24-03-2015 20:29

Re: [Help] Problems with Encoders and PID Control
 
As far as the sticky fault in the PDP, that's just for your diagnostics. If you clear it and then notice it get set again, that just means your PDP saw <6.5 V since the last time you cleared it. That doesn't affect your robot behavior in any way, it's just a trouble code for your sake.

As far as the encoder, did you actually confirm that it wasn't getting power due to the roborio-power-fault (which has nothing to do with the PDP sticky fault)?

Mark McLeod 24-03-2015 20:40

Re: [Help] Problems with Encoders and PID Control
 
Quote:

Originally Posted by Hoover (Post 1461792)
My question is, once this is done, will it clear up the problem (assuming it no longer exists). In other words, could everything be ok now but we are still in this condition because we haven't done the clear sticky fault?

The amber status lights on the PDP aren't really a problem, they are just information.
If you clear them to green again, then you can check them after each match to see if you had any brownouts.

Alan Anderson 24-03-2015 21:30

Re: [Help] Problems with Encoders and PID Control
 
Quote:

Originally Posted by Hoover (Post 1461707)
Yeah... speaking of voltage, we are not getting any voltage on the power pin for DIO on the roboRio.

I assume your encoder is intended to be powered from that pin. That would definitely explain why you're not getting the results you want.

Quote:

Originally Posted by Hoover (Post 1461731)
We know about the 'brownout condition' of the roboRio but we don't think it is in that state as the power light is normal.

What power light are you referring to? What do you mean by "normal"? The Power LED on the roboRIO ought to be green. It turns red if there is a problem with one of the power buses -- for example, the DIO power pins.

Quote:

We get 3.3 volts from power to signal pins. We get no voltage from the power to ground pin.
That is consistent with something shorting the DIO power bus to ground. The DIO signal pins have a resistor to 3.3 volts. There are two things to check immediately: look for debris in the roboRIO connectors (and remove it if found), and make sure nothing connected to the DIO pins is inappropriately connecting power to ground.

Hoover 17-04-2015 16:23

Re: [Help] Problems with Encoders and PID Control
 
In the end the roboRio was deemed defective by NI, another one was sent to us, then this one was returned.

Much help was provided by the CSA at our last regional event. We opened the roboRio and found a lot of chaff inside. It was mostly Delron plastic shavings, but it showed us how much chaff can get inside and it was a lot. We should probably have considered some sort of housing for the roboRio, however in this case it was not the problem.

The CSA then initiated an RMA with NI while at the event Though we could have done this ourselves, we highly appreciated the help.

Since we could find no visible shorts between the pins, there was nothing else we could do. NI concurred hence the RMA.

A more fortunate ending would have been to find an actual pin short. In this case we would have expected the power light to change from red to green upon eliminating the short.


All times are GMT -5. The time now is 06:30.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi