View Single Post
  #2   Spotlight this post!  
Unread 09-03-2011, 08:36
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Protecting against runaway PID

I would use the limit switch, along with safe mechanical stops. I believe you can poll the limit switch inputs on the Jaguars over CAN (assuming you're using it) and you could have the robot program check that periodically, if you see it set, you can tag a flag in your program, display an alert indicator on the Dashboard and switch to some kind of backup Vbus control mode or something.

I'd definitely put the limit switches in, the only way to keep a closed loop control system safe is to keep the loop closed, even if its just barely closed by a limit switch.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
Reply With Quote