Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Low Res Optical Encoders for Speed Control (http://www.chiefdelphi.com/forums/showthread.php?t=107275)

KrazyCarl92 26-07-2012 18:24

Re: Low Res Optical Encoders for Speed Control
 
By the way, we were able to get the robot shooting about 50% last night without speed control. This was using the camera feed to the driver station for manual aiming and we had driver voltage control on the shooter motors. We may work toward integrating a simple non-PID speed control algorithm and vision processing from there. The vision processing part was complete during the build season, we just need speed control that works in PWM or to get our CAN working.

Ether 26-07-2012 18:53

Re: Low Res Optical Encoders for Speed Control
 
Quote:

Originally Posted by KrazyCarl92 (Post 1179414)
I could post pictures if anyone is interested.

If it's not too much trouble, please do.



KrazyCarl92 26-07-2012 21:56

Re: Low Res Optical Encoders for Speed Control
 
Quote:

Originally Posted by Ether (Post 1179423)
If it's not too much trouble, please do.



posted here, there are 3 pictures:
http://www.chiefdelphi.com/media/photos/38088?

Ether 26-07-2012 23:16

Re: Low Res Optical Encoders for Speed Control
 
Quote:

Originally Posted by KrazyCarl92 (Post 1179416)
We may work toward integrating a simple non-PID speed control algorithm

Were you thinking of trying a bang-bang controller, or perhaps a take-back-half?



Ether 26-07-2012 23:17

Re: Low Res Optical Encoders for Speed Control
 
Quote:

Originally Posted by KrazyCarl92 (Post 1179457)
posted here, there are 3 pictures:
http://www.chiefdelphi.com/media/photos/38088?

Thanks. You got a lot of hits. I guess there was some interest :-)



KrazyCarl92 27-07-2012 10:46

Re: Low Res Optical Encoders for Speed Control
 
Quote:

Originally Posted by Ether (Post 1179481)
Were you thinking of trying a bang-bang controller, or perhaps a take-back-half?



We haven't decided exactly yet. Haven't hooked the encoder backup since we stopped using it in competition, so that's the first step along with verifying that it works.

I had thought of a bang-bang approach where we base the original voltage on motor curves, then if the speed drops X% below the target speed, raise the voltage by Y%, or if the speed exceeds the target by X%, lower the voltage by Y%. X would be the max allowable deviation from the target speed and Y would be an experimentally determined voltage correction. If its between 100-X % and 100+X %, we would apply no voltage correction.

I'd also like to see what the students come up with. After reading about take back half control here:
http://www.edn.com/design/analog/432...ence-algorithm
that seems like a good option. It looks like a good opportunity to explore different speed control options so we may try multiple approaches to see what gives us the best results (at least that's what I would like to see).

Ether 27-07-2012 11:17

Re: Low Res Optical Encoders for Speed Control
 
Quote:

Originally Posted by KrazyCarl92 (Post 1179548)
I had thought of a bang-bang approach where we base the original voltage on motor curves, then if the speed drops X% below the target speed, raise the voltage by Y%, or if the speed exceeds the target by X%, lower the voltage by Y%. X would be the max allowable deviation from the target speed and Y would be an experimentally determined voltage correction. If its between 100-X % and 100+X %, we would apply no voltage correction.

There's a lengthy discussion (and paper) of bang-bang here, if you haven't seen it yet:

http://www.chiefdelphi.com/forums/sh...d.php?t=105679


Here's a thread (and paper) on take-back-half:

http://www.chiefdelphi.com/forums/sh...d.php?t=105965






All times are GMT -5. The time now is 04:38.

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