|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
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?
|
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
Re: Question about encoders and degree measurements?
Quote:
And as GeeTwo mentioned, make sure that 1.2 number is correct. |
|
#4
|
|||||
|
|||||
|
Re: Question about encoders and degree measurements?
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 ![]() |
|
#5
|
|||||
|
|||||
|
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. |
|
#6
|
|||||
|
|||||
|
Re: Question about encoders and degree measurements?
What sort of encoder produces something odd like that?
|
|
#7
|
||||
|
||||
|
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? Last edited by Ether : 17-02-2015 at 16:10. |
|
#8
|
||||||
|
||||||
|
Re: Question about encoders and degree measurements?
Probably not. http://www.andymark.com/product-p/am-2971.htm
|
|
#9
|
|||||
|
|||||
|
Re: Question about encoders and degree measurements?
Quote:
Quote:
|
|
#10
|
||||
|
||||
|
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!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|