Go to Post Never underestimate the power of curious and impatient FIRSTers ;) - kpugh [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 25-08-2013, 13:34
Peleg2230's Avatar
Peleg2230 Peleg2230 is offline
Registered User
FRC #2230 (General Angels)
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 26
Peleg2230 is an unknown quantity at this point
Re: Encoder problems

Quote:
Originally Posted by Ether View Post
I recommend you try changing the blue "5" to "126" for high speeds (like 6000 RPM) to reduce the noise.

I'll try that but aren't your calculation showed that it is over the FPGA limits?
__________________
General Angels #2230 :
2009 IS champions + chairman's award
2011 IS finalists

Last edited by Peleg2230 : 25-08-2013 at 14:20.
Reply With Quote
  #32   Spotlight this post!  
Unread 25-08-2013, 15:27
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Encoder problems

Quote:
Originally Posted by Peleg2230 View Post
I'll try that but aren't your calculation showed that it is over the FPGA limits?
I'm not sure where you got that from. Here is the calculation I posted (with bold added for emphasis):
A US Digital 360 CPR E4P encoder outputs 2*360 = 720 total edges (360 rising + 360 falling) per rotation on each channel. So for each channel, an edge transition occurs every 1/720 of a rotation, if the symmetry is perfect (see attached excerpt from datasheet).

When using just a single channel of this encoder as a counter, and assuming perfect phase symmetry, speeds greater than (1/720)/(6.525e-6) = 212.9 rotations/sec = 12,771 RPM would cause a problem for the FPGA1.

But the symmetry is not perfect. According to the datasheet, the symmetry across the range of recommended mounting tolerance can be off by as much as 75 electrical degrees. So instead of being (1/720) of a rotation apart, some of the edges in a channel could be as close as (1/720)*((180-75)/180) of a rotation apart. So speeds greater than (1/720)*((180-75)/180)/(6.525e-6) = 124.2 rotations/sec = 7,450 RPM would cause a problem for the FPGA.

Reply With Quote
  #33   Spotlight this post!  
Unread 25-08-2013, 15:40
Peleg2230's Avatar
Peleg2230 Peleg2230 is offline
Registered User
FRC #2230 (General Angels)
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 26
Peleg2230 is an unknown quantity at this point
Re: Encoder problems

I'm still using the AS5145B and as you can see in the graph we reached the limit, When I will change it back to the E4P there won't be any problem.
Thank you very much for all the help and knowledge!
__________________
General Angels #2230 :
2009 IS champions + chairman's award
2011 IS finalists
Reply With Quote
Reply


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 04:36.

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