Go to Post Remember those two words people. Gracious Professionalism. - Elgin Clock [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-03-2011, 05:30
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Protecting against runaway PID

This is in C++. What are some ways to prevent runaway of the motor when using the PID controller with an encoder when the encoder is not plugged in, it fails or the wire comes loose? The only thing I can think of is monitoring the encoder for changes over time and if the motor is driving beyond a certain threshhold and the encoder is not changing, turn off the motor. The PID controller could be applying a small amount of power to hold the arm still but in this case the encoder would probably be changing small amounts, as its not being held perfectly still.

Also, we could have a limit switch connected to the jaguar to turn it off if the arm reaches its limits. Plus safe mechanical stops.

Thanks,
Brian
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
 


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 17:45.

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