Go to Post Maybe Dean Kamen can appear in Levi's advertising? - David Brinza [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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
  #15   Spotlight this post!  
Unread 05-02-2016, 17:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,091
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: pic: Custom encoder mount for Mini CIM/CIM

Quote:
Originally Posted by iambujo View Post
The AMT10 has a configurable resolution ranging from 48 up to 2048 at a max of 7500 RPMs
Assuming1 for the moment that 2048 means "rising edges per rev per channel", let's do the math if you set this up for quadrature at 7500 RPM with a 20ms control loop period:

CPR: 2048$

decoding:4$

secondsPerControlLoop: 20/1000$

FPGAsamples: 127$

edgesPerControlLoop: RPM * (1/60) * (decoding*CPR) * secondsPerControlLoop = 20,480

secondsPerEdge2: float((1/RPM) * 60 * 1/(decoding*CPR)) = 0.9766e-6

secondsPerSamplesize: secondsPerEdge * FPGAsamples = 0.1240234375e-3

As can be seen, that is way overkill for operation at that speed.



1 I am inferring that because there are a couple of odd-number PPRs in the list, namely 125 and 385. You can't have an odd number of "rising and falling edges per rev per channel" or "rising and falling edges per rev both channels"

2 This number is even smaller if quadrature tolerance is included. But the 40MHz sampling rate of the roboRIO theoretically should handle it.
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 06:47.

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