![]() |
Encoders (What's up with those?)
So our official season is done, but we are looking forward to some off-season events. In our attempt to remedy some weaknesses from the season we are looking to add an encoder to our shooting system. It is a miniCIM connected by ~.9 Gear ratio to a pneumatic wheel.
We have no idea what kind of sensors to look into, where to purchase them, or how to install them. Any help would be great. Thanks! |
Re: Encoders (What's up with those?)
We have never had much luck mounting US Digital encoders to flywheels. We also haven't had luck with using another motor as a tachometer. This year and last year for flywheels we used photoelectric sensors pointed at retro-reflective tape strips stuck to the wheels. We have 6 strips of the tape stuck evenly around the wheel this year. 6 ticks = 1 revolution. Our speed control has had quick responses and accuracy.
|
Re: Encoders (What's up with those?)
Photoswitches are definitely the way to go. At the wheel speeds teams are using, finding encoders with shafts is difficult. Shaftless encoders like the US digital are a little touchy, and require decent tolerances too.
Optical sensors, on the other hand, will give you excellent speed control while allowing just about any alignment you feel like. There are a number of threads on this, however, so I suggest you search some of them out. http://www.chiefdelphi.com/forums/sh...ht=photoswitch |
Re: Encoders (What's up with those?)
Quote:
Quote:
|
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
Fortunately, I just made a video this weekend explaining how it all works. (It was for the SpaceX FIRST application, hence the title). http://www.youtube.com/watch?v=zzNLlAUbbcU Edit: Might only leave this up for a little while. Watch it quick! |
Re: Encoders (What's up with those?)
Quote:
Quote:
I've used both of the following with no problem http://www.digikey.com/product-searc...256&vendor=136 http://www.usdigital.com/products/en...otary/shaft/S1 |
Re: Encoders (What's up with those?)
Quote:
No in-depth analysis. 0 to shooting speed is about one second. Recovery time between shots is about 300ms, accurate to within .2% speed (plenty close for what it's being used for). Barring human error, we can hit around 95% accuracy just from tests in the shop. On the field we're closer to 80 or 85% because of human error/flywheel wear and tear. |
Re: Encoders (What's up with those?)
Quote:
Any reason you use retroreflective tape? From what I could tell, you weren't shining a light at it. |
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
|
Re: Encoders (What's up with those?)
Quote:
And we just found retroreflective to give the best response (in terms of distance the sensor could be from the wheel). Gave us more wiggle room, so to speak. |
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
Is there a reason why you used the encoder VI, instead of the counter VI, for this non-quadrature sensor? Why did you use 6 pieces of tape, instead of just one? In an earlier post you said that your speed control is accurate to within 0.2% of point. What test equipment did you use to independently measure the wheel speed to make this determination? Are your motors directly connected to the wheel, or are there gears or belts or chains between them? What motor controllers are you using for the shooter motors? What is the range of wheel speeds you are controlling? Why did you need a custom PID? Did you try other methods (LabVIEW PID, TBH, bang-bang) and they didn't work? |
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Re: Encoders (What's up with those?)
Quote:
I don't have access to the LabVIEW help files here, so one more question: Can you tell me what the "12" input is for in the "Configure Timer" vi, and why did you chose that particular number. |
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Quote:
It works wonderfully right now, but this could be the path to making it better. |
Re: Encoders (What's up with those?)
Quote:
Try this: one piece of tape with the default sample size of 1 and setup to sample rising edges only. That way, it's always sampling the same edge of the same piece of tape, so the spacing is perfect... and with your 20ms update rate, you'll be getting a fresh reading every execution or your controller loop at wheel speeds of 3000 RPM or higher. |
Re: Encoders (What's up with those?)
Quote:
|
Re: Encoders (What's up with those?)
Sorry, didn't have any opportunity to do the tests this evening. I will send you a private message with the results when I do have a moment with the robot so as to not clutter up this thread any more.
|
Re: Encoders (What's up with those?)
Quote:
|
| All times are GMT -5. The time now is 06:08. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi