Go to Post So measure not by the masses, but by the sparks that you generate. - Kims Robot [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #13   Spotlight this post!  
Unread 10-12-2015, 18:26
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: VEXpro 2016

Quote:
Originally Posted by nuclearnerd View Post
There's a big asterisk on the "absolute encoder" thing. It's still a relative encoder, but it includes it's own counter. It's nice not to have to implement a counter on the rio, but you would still have the problem of the zero changing every time you start up the robot. An actual absolute encoder would give the proper reading no matter how often the sensor had been turned off and moved. (see page 22 of the encoder user guide here: http://content.vexrobotics.com/vexpr...User-Guide.pdf)
The sensor provides both an absolute and a relative position. The "absolute position" is an absolute 12bit encoded value that wraps every rotation. This works similarly to the MA3 absolute analog encoder which gives you an absolute voltage (0 to 3.3V) for one full rotation.

You can think of it like having an MA3 analog encoder and a relative quadrature encoder both kitted in one, which solves several challenges in closed-looping.

If you don't move the mechanism and you power cycle the sensor, the bottom 12bits of the analog position remains unchanged.

Yes both the absolute and relative positions count the wrap arounds. But this doesn't mean you lose the benefit of absolute position. If you're application does not need wrap-around counting (like a continuous swerve) its pretty easy to add in the number of whole rotations to your 12 bit target position to achieve what you want. In fact this gives you the benefit of absolute position, plus you get to decide which direction you want to servo (always clockwise, always counterclockwise, or choose the path with smallest distance.)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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