Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   paper: New Control Functions - Drive System Testing (http://www.chiefdelphi.com/forums/showthread.php?t=131593)

Ether 19-12-2014 11:28

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by RufflesRidge (Post 1415160)
It doesn't describe the implementation to the detail Ether is asking about

Actually, it just says the motor controllers on CAN are disabled. It doesn't give any details at all how that is implemented.


Thad House 19-12-2014 12:09

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by Ether (Post 1415211)
Actually, it just says the motor controllers on CAN are disabled. It doesn't give any details at all how that is implemented.


I know that in the old system, in the Firmware for the jaguars, if it did not recieve a new packet for 100ms, it would shut itself off.

Also, I have heard that the PWM's don't just turn off, they actually all get set to 0 by the FPGA. I would suspect something similar happens on the CAN bus as well. It probably just sends a 0 to all motors on the bus. Easy to implement and makes sense.

Ether 19-12-2014 12:26

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by Thad House (Post 1415218)
I know that in the old system...

To be clear: having designed and implemented many fail-safe systems in my former life, I can imagine ways to accomplish this. My question is not how it might be done, but rather how it is actually implemented in the 2015 system... and where such details are documented.



Rob Stehlik 19-12-2014 13:17

Re: paper: New Control Functions - Drive System Testing
 
This is great information, thanks for sharing. 4 CIM drivetrain anyone?

AustinSchuh 19-12-2014 15:49

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by Rob Stehlik (Post 1415231)
This is great information, thanks for sharing. 4 CIM drivetrain anyone?

We will be running a 4 CIM drivetrain.

sdcantrell56 19-12-2014 16:09

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by AustinSchuh (Post 1415264)
We will be running a 4 CIM drivetrain.

Us as well

MrForbes 19-12-2014 16:51

Re: paper: New Control Functions - Drive System Testing
 
Don't know yet. Last time we played Lunacy, we had a 2 cim drivetrain

AllenGregoryIV 19-12-2014 16:55

Re: paper: New Control Functions - Drive System Testing
 
Have any BETA teams been running 6+ CIMs and experienced problems accelerating?

Has anyone managed to pop the main breaker using the new control system?

Chris Fultz 19-12-2014 22:04

Re: paper: New Control Functions - Drive System Testing
 
When we were accelerating just our robot (140 pounds), with 4 CIM, 6 CIM or 4+2 CIM, we were above 100 amps for about .4 seconds. There is not much difference in the peak for 6 or 4+2 (about 250 amps). The peak for the 4 CIM was just over 200 amps. We could run about 11 FPS, with the 4+2 approaching 12 (mini-CIMs have a higher output speed).

When we were pushing another robot (Victors in braking mode, 130 pounds but robot not active), the 4 CIM was above 100 amps for about 4 seconds, the 6 CIM for about 1.2 seconds and the 4+2 CIM was above for about 2 seconds. The recorded peaks were all in the 240 amp range. We could run about 7 - 8 FPS when pushing, so a significant loss in performance.

This is with our specific set up for the test - ~8:1 reduction and 4" wheels, so a theoretical top speed of ~12 FPS.

We never popped the main breaker, in any of our testing.

MrRoboSteve 21-12-2014 12:25

Re: paper: New Control Functions - Drive System Testing
 
Beta teams: are periods of brownout plotted in the driver station log viewer? Maybe a screen shot?

Mark McLeod 21-12-2014 13:30

Re: paper: New Control Functions - Drive System Testing
 
For Voltage Brownout the log viewer will show orange "Disconnected" dots or bars at the top, right under the Disable/Auto/Tele plot lines.



Here's a plot showing how the Disconnects for PWM stutter would look like. Basically a series of Disconnect dots two seconds apart-a second on/a second off/a second on/etc.


MrRoboSteve 21-12-2014 13:39

Re: paper: New Control Functions - Drive System Testing
 
Hmmm. So is it possible to distinguish from actual connectivity issues? I'm thinking about the troubleshooting procedure here:

http://wpilib.screenstepslive.com/s/...og-file-viewer

Would hope that it's not bundled with one of the other "major events" (key 10 in first image)

Mark McLeod 21-12-2014 13:46

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by MrRoboSteve (Post 1415651)
Hmmm. So is it possible to distinguish from actual connectivity issues? I'm thinking about the troubleshooting procedure here:

http://wpilib.screenstepslive.com/s/...og-file-viewer

Would hope that it's not bundled with one of the other "major events" (key 10 in first image)

It can be distinguished from other Disconnect events in that data is still being received from the robot. There are no vertical orange bars showing where data from the robot is totally missing.
Other Disconnect events, e.g., loss of robot power, will also show a blank for all the other robot readings (battery voltage, robot CPU %, etc.).

Oblarg 21-12-2014 14:25

Re: paper: New Control Functions - Drive System Testing
 
Quote:

Originally Posted by MrForbes (Post 1415280)
Don't know yet. Last time we played Lunacy, we had a 2 cim drivetrain

We had a 0-CIM drive train in lunacy.

Thad House 22-12-2014 17:01

Re: paper: New Control Functions - Drive System Testing
 
So I went and found our logs from IRI. This was a 100lb robot geared for 15.9 FPS.




Sorry about the giant picture im trying to figure out how to shrink it.


All times are GMT -5. The time now is 09:23.

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