Go to Post One thing that always strikes me at FRC competitions is seeing the little nerds reveling in the same kind of self-celebrating bravado the high school jocks have always indulged in. - gvarndell [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-17-2009, 04:12 AM
vamfun vamfun is offline
Mentor :Contol System Engineer
AKA: Chris
FRC #0599 (Robodox)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2003
Location: Van Nuys, California
Posts: 182
vamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of lightvamfun is a glorious beacon of light
Send a message via AIM to vamfun
Kit Encoders...Why x2 and x4 have extra noise!?

We are sticking with x1!

Team 599 measured the 2009 Kit E4P encoder rates and found that using x4 mode the error in rate was about 6% at a robot speed of 10 fps. In the x1 mode, this error dropped to around 2%. No measurements were made with x2. In discussing this with Joe Ross (Team 330), he suggested that the phase errors could be the problem. In reviewing the encoder specifications, I think he is correct. We recommend that teams only use the x1 mode when using the Kit or Andy Mark SuperShifter encoders unless they are just counting pulses.

As I interpret the USDigital specifications and how the WPILIB encoder.cpp code works it seems clear that in the x2, and x4 modes the symmetry and quadrature errors would come into play, Eg, for just the A channel there can be 16 to 30% symmetry differences between 1 and 0 state widths which would show up in the x2 mode. In the x4 mode, the variations due to quadrature can cause 10 to 60% alone. These of course are the worst case errors over the environment.

Since the dist/pulse is assumed constant for all pulses then the distances and rates have errors proportional to the phase variations. Our encoders seem to have smaller errors but they are significant relative to the control signals which they are used for. Operating in the x1 with added digital filtering makes them usable.

For those that want to look further see http://usdigital.com/assets/general/...atasheet_0.pdf


USDigital.com Data Sheet excerpt for the AEDR module which is referenced for the E4P encoder( not sure which 8300 we have)

Symmetry Error (Ch A) 15 deg typical, 55 deg max
Symmetry Error (Ch B) 25 deg typical, 75 deg max
Quadrature Error between Ch A and Ch B 12 deg typical, 60 deg max.
Definitions:
Symmetry:

A measure of the relationship between (1 state) and (0 state) in electrical degrees, nominally 180 electrical degrees.

Quadrature:

The phase lag or lead between channels A and B in electrical degrees, nominally 90 electrical degrees.
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Encoders — Noise keehun NI LabVIEW 5 01-19-2009 01:37 AM
Anybody have extra solenoid wires? HypnoticSheep General Forum 3 05-22-2007 08:09 PM
Why are four states needed with Quadratuer encoders? Issues Programming 14 11-11-2005 03:02 PM
Anybody have any Extra optical sensors? Techno_Girl General Forum 0 02-25-2004 02:42 PM
anyone in NH have an extra ball or 2? archiver 2000 2 06-23-2002 11:07 PM


All times are GMT -5. The time now is 09:42 AM.

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