![]() |
Which shaft encoder to use?
I'm currently designing a holonomic drive system, and I want to use shaft encoders to measure wheel speeds. What kind of encoders should I use for this purpose? I tried looking in the DigiKey catalog, but I don't know much of anything about sensors (I'm an ME student), so I couldn't decide which type of encoder I should use.
Also, how does one mount an encoder on a shaft? I know some people use gearing for potentiometers, to increase resolution, but would you do the same thing to an encoder (if it were running at too many RPMs, perhaps)? The shaft I'd be measuring is 1/2", and spinning at 150-470 RPMs, depending on which gear the transmission is in. Anyways, I'd appreciate any help I can get on either question (which to buy, and how to mount). Thanks! |
Re: Which shaft encoder to use?
Quote:
Also, make sure to get an optical encoder rather than a mechanical one, and don't get any with detents (detents are spots where the encoder "clicks" into position, often used with knobs on stereo controls or whatnot). |
Re: Which shaft encoder to use?
A good way to couple it to the shaft is to drill and tap a hole in the shaft for a socket head cap screw, something like #10 would be good if your shaft it big enough. Then, heat shrink the head of the screw to the shaft of the encoder leaving a little space in between. The ridges on the head of the screw and the surface area of the relatively long shaft encoder shaft will prevent slippage. Now you have a very cheap flexible coupling. I would recommend mounting the encoder with a rather thin piece of sheet metal so that has some flex too. Rigidly mounting/coupling encoders can cause them to wear and/or break.
|
Re: Which shaft encoder to use?
Quote:
Also, what did you use to attach the encoders with your 1:1 gearing? |
Re: Which shaft encoder to use?
Quote:
We did this in 2004, and had some problems with it. The biggest being since your putting the wheels out at angles on the edges it leaves little room to mount the encoder, if you cant get the encoder inline with the shaft then it doesnt work very well, also the tubing we used to make the couplers would load sometimes when we changed directions. Also, since they were mounted outside the wheel they were very prone to breaking in a hit, even with lexan convering. This year we devised a much better plan that gave us no issues except when the encoders were shimmed wrong and hit the rollers on the wheel and snapped the encoder shaft. We bought small timing belt and pullies from sdp-si and mounted the encoder to the side of the gearbox. You can see it in this picture, near the middle. I dont remeber any of the info on the encoders, they were quadrature and cost like 25 dollars each i think. |
Re: Which shaft encoder to use?
[quote=Jeff Waegelin]I'm currently designing a holonomic drive system, and I want to use shaft encoders to measure wheel speeds.QUOTE]
One remark if I may; we did a holonomic drive this year and there was so much slip in the wheel to the surface that indexing the drive motors wasn't going to be useful. This was because all of the wheels were running in crab and any little imperfection in the drive surface would make the wheels skip. Anyway the solution was to lock all four motors into a loop using a yaw sensor, after which we didn't care about the individual speed of each motor. The downside is there is enough slip in the absolute direction gained from integrating the yaw sensor that we couldn't keep the field oriented steering, maybe we can solve that for next year. |
Re: Which shaft encoder to use?
Quote:
|
Re: Which shaft encoder to use?
Quote:
|
Re: Which shaft encoder to use?
I'll throw this out as something completely different. A good encoder will probably cost 50 to 60$. The problem with encoders is that they require the use of interrupts in programming. Two encoders isn't too bad. 4 gets a little tighter to implement. Add a couple timer routines and things get complicated. I've just started playing around with a hacked optical mouse as a alternative to an encoder. Basically an optical mouse can track movement of a surface. The Aligent 2610 chip that I'm using can track up to 10 inches per second, however I've found its better to keep the disk that the mouse is sensing to 6-8 inches per second max. Using 2 wire serial communications the mouse returns the number of counts since the last request. The 2610 resolution is 400 dpi. That's a high resolution non-contact tachometer for about 12$ and no interrupts to program and debug. The chip does the counting for you, just poll it often enough that the registers don't overflow. I've only just started playing but it looks good. There were some threads on here about optical mice. Note that the Aligent mice chips are optimized for an almond colored texture Formica surface. The mouse lens needs to be 2mm from the surface. At higher velocities it's critical. I'm looking to use it to track and log valve linkage movement.
|
Re: Which shaft encoder to use?
Quote:
The encoders look exactly like pots and have all the standard hardware and mounting bushing attached. The shaft is 1/4" dia. and about 1/2" long so a shaft coupler works well. If you are looking for something cheap and dirty, Digikey does sell some optical couplers that you could incorporate into a wheel encoder of your own. All you need to do is design a interupting wheel that can be attached to whatever shaft you are trying to count and position the opto coupler so that the wheel breaks the light path. This is the same design that a computer mouse uses. Open one up and you will get an idea how it all goes together, keeping in mind that the mouse is a higher resolution than you will need. Reflective opto couplers also work well. We have used the Banner sensors looking at alternating white and black patches on our wheels for many years. |
Re: Which shaft encoder to use?
Quote:
|
Re: Which shaft encoder to use?
Quote:
![]() |
Re: Which shaft encoder to use?
Thanks for the pic, Dave.
Jeff, it is easy to see from the picture the rough resolution of this type of sensor. The wheel is about 6" dia. |
Re: Which shaft encoder to use?
I know that our programmers found that with holonomic drive the higher resolution you have the better things work. And it takes quite a while to get 4 encoders running and not crashing the R/C
|
Re: Which shaft encoder to use?
I was looking at the Digikey catalog, and I found something that might work. It's made by Grayhill, and is part number 61C11-01-08-02, found on page 1262 of the Digikey catalog. Would these encoders work for my purpose? Bear in mind that this is a summer prototype project, so it doesn't necessarily have to go through a full season of use and abuse. If they aren't up to it, I can spend the extra money on the Bourns encoders, but I'd prefer not to, if don't need to.
|
| All times are GMT -5. The time now is 20:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi