Go to Post The biggest fallacy in FIRST is the belief we are just a bunch of different teams. We are ONE BIG TEAM with a lot of sub teams for the purpose of competition. - Al Skierkiewicz [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
  #12   Spotlight this post!  
Unread 28-02-2012, 22:58
jaysun jaysun is offline
Registered User
no team
 
Join Date: Feb 2012
Rookie Year: 2000
Location: USA
Posts: 17
jaysun is an unknown quantity at this point
Re: Consistent encoder rate

Quote:
Originally Posted by slijin View Post
That's an extraordinarily noisy signal. Is the green the moving average and the red the IIR? Also, just out of curiosity: how are you obtaining the encoder input, through a Jaguar or the DSC?

I don't know about you, but we ran into issues with scratched encoder wheels and damaged encoder wires (there was no visible damage; I assume it was internal from abusive zip-tying, but swapping out the wire resolved the issue).

A bit of advice I've been given by my mentor (although I've never personally experienced this problem) is to always separate signal runs from power runs so that the power runs don't induce noise in the signal; if they have to cross, run them at right angles. Ether would be able to elaborate more on this.
I should clarify my last post and note that my video was not based off my actual data. I generated the "measurement" (green line) by adding a random number to the rate I set - in reality the "amplitude" of the noise is about half of that. The red line is the IIR, and the blue line is the moving average.

With the optical encoder I use the DSC.

Yes, I made sure the encoder wheels were not scratched - I scratched a lot of them when we first started using them last year. We did twist the encoder wires with a hand drill to make the wiring look good - maybe that's a problem?

Thanks for the ideas. I'll try to use a new, different encoder cable and separate the power and data wires and see if the rate I get is any less noisy.

Last edited by jaysun : 28-02-2012 at 23:01.
 


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 20:12.

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