![]() |
pic: Encoder Noise
|
Re: pic: Encoder Noise
How many samples did you set the FPGA to average?
|
Re: pic: Encoder Noise
Is this with the bot on the ground, or supported on blocks? If there is no load on the drivetrain then this seems pretty normal. We've been able to attribute this to backlash and the accompanying rattle within the drivetrain. With a "real" load the measurement should be more well-behaved since the masses are 10x-100x larger and the backlash-induced rattle goes away. Overdamping of the measurement (by cranking up the number of averages) brings it's own set of problems.
|
Re: pic: Encoder Noise
This was on blocks. I am using 50 for the config timer. I have not tried it on the ground yet but plan on doing that this weekend. Thanks for the advice
|
Re: pic: Encoder Noise
Quote:
|
Re: pic: Encoder Noise
Quote:
|
Re: pic: Encoder Noise
Quote:
|
Re: pic: Encoder Noise
What is the "config timer encoder block"?
|
Re: pic: Encoder Noise
Quote:
|
Re: pic: Encoder Noise
Quote:
|
Re: pic: Encoder Noise
Quote:
|
Re: pic: Encoder Noise
Quote:
We are using these and we were decoding in 4x with 10 samples being averaged. |
Re: pic: Encoder Noise
Quote:
What is the complete part number of the part you're using (including CPR, bearing type, etc)? Were you reading counts from the FPGA and dividing by elapsed time, or reading the rate from the FPGA? Please post code if you have it. @jhersh: (if you are following this thread) would there be any advantage, tolerance-wise, to change the sample size to an even multiple of 4 (say 12 or 8) so that the averaging would always take place over an integer number of cycles? |
Re: pic: Encoder Noise
Quote:
We were reading the rate from the FPGA. I'l post some code when I get a chance. |
Re: pic: Encoder Noise
Quote:
At 7K RPM you are exceeding the speed the FPGA could handle if your S4 were at max tolerance for quadrature phase error: Code:
Welcome to RLaB. New users type `help INTRO' |
| All times are GMT -5. The time now is 01:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi