Go to Post There are times when all of us - myself included - need a virtual *poink* to the back of the head and someone to say "wake up and stop behaving like a three-year-old." - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #20   Spotlight this post!  
Unread 14-01-2013, 01:54
Woolly's Avatar
Woolly Woolly is offline
Programming Mentor
AKA: Dillon Woollums
FRC #1806 (S.W.A.T.)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Springfield, MO
Posts: 512
Woolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond repute
Re: Shooter Problem

Quote:
Originally Posted by Ether View Post
Try P-only and crank the gain up to the sky*. If you've got enough inertia in the wheel, and you run the loop at 10ms, that's all the tuning you should need.


* this will mimic a bang-bang controller.

Yeah, I'd say that you might want to go with a bang-bang controller.

If you get flack from your mechanical/fabricators for "slamming" the motor, do what I did, add a linear cushion within ~3% of your target speed.
Ex. For a shooter wheel capable of 10,000RPM when you're over 300 RPM lower than your setpoint, you go 100% power, when you're 150 RPM Lower, 75%, Dead on 50%, 150RPM Higher 25%, 300RPM Higher 0%.

This will mimic the PID you're trying to use, and unless you really know what you're doing when PID tuning, will be half the headache.
__________________


Team 1806 Student: 2012-2013 | Mentor: 2013-Present
 


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 16:04.

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