![]() |
Question about encoders and degree measurements?
Our team needs to use encoders to get degree measurements out of a wheel. Only problem is, the encoders are mounted on the motor, and we cannot re-mount them anywhere else. The gear ratio is 1 motor rotation is 1.2 wheel rotations, and 497 encoder pulses is 1 motor revolution. How would we go about getting the wheel degree measurements from the encoder on the motor?
|
Re: Question about encoders and degree measurements?
Quote:
times 1.2 wheel revs per motor rev times 360 degrees per wheel rev (1/497)*(1.2/1)*(360/1) = 0.869 degrees per encoder pulse |
Re: Question about encoders and degree measurements?
Quote:
Anyway, 497 encoder pulses = 1 motor rotation = 1.2 rotation = 436 degrees. Therefore, one pulse = 432 degrees / 497 = 0.869 degrees. |
Re: Question about encoders and degree measurements?
1 Attachment(s)
Quote:
And as GeeTwo mentioned, make sure that 1.2 number is correct. |
Re: Question about encoders and degree measurements?
:eek:
Quote:
(1 motor revolution / 497 pulses) * (1.2 wheel revolution / 1 motor revolution) * (360 wheel degrees / 1 wheel revolution) The revolutions all cancel each other, leaving the units as wheel degrees / pulse. OOPS - didn't see the picture there:eek: |
Re: Question about encoders and degree measurements?
Quote:
|
Re: Question about encoders and degree measurements?
Quote:
Are you sure the encoder is mounted directly on the motor? AndyMark sells a 7 "PPR" encoder, but that spec probably means 7 CPR (cycles per rev). Interestingly, 497 = 71*7. Coincidence? |
Re: Question about encoders and degree measurements?
Quote:
|
Re: Question about encoders and degree measurements?
Quote:
Quote:
Quote:
|
Re: Question about encoders and degree measurements?
Alright, now that first competition is over, team secrecy is over. We're using these things: http://www.andymark.com/product-p/am-3009.htm. We need to get rotation correct by mapping joystick degrees to wheel rotation. We got everything else working, but the wraparound is a major problem. Thanks for all the help so far, everyone!
|
| All times are GMT -5. The time now is 10:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi