Go to Post 100% of the robots on Einstein in 2009 had hard plastic wheels for their drive train. - efoote868 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2014, 14:09
waddell waddell is offline
Registered User
FRC #4205 (RoboCubs)
Team Role: Mechanical
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sedro Woolley
Posts: 20
waddell is an unknown quantity at this point
Jags and CAN bus

When using the CAN interface with Jags and rotary encoders for speed sensing is there a maximum limit to cycles or pulses per revolution?

We are assuming that both of these US digital encoders, from AM, will be compatible: E4P-250-250-N-S-D-D-B and E4P-360-250-D-D-D-B.

Just want to make before we order.

Thanks,
__________________
Waddell
4205 - Mechanical mentor
  #2   Spotlight this post!  
Unread 03-02-2014, 14:16
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Jags and CAN bus

Per the Jaguar datasheet, the jaguar can handle 1 million transitions per second.
  #3   Spotlight this post!  
Unread 03-02-2014, 14:27
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,068
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: Jags and CAN bus

Quote:
Originally Posted by waddell View Post
When using the CAN interface with Jags and rotary encoders for speed sensing is there a maximum limit to cycles or pulses per revolution?

We are assuming that both of these US digital encoders, from AM, will be compatible: E4P-250-250-N-S-D-D-B and E4P-360-250-D-D-D-B.

Just want to make before we order.
Yes, there are limits, in the encoder electronics.

What are you trying to measure the speed of? What do you expect to be the approximate maximum speed of that?


  #4   Spotlight this post!  
Unread 03-02-2014, 14:31
waddell waddell is offline
Registered User
FRC #4205 (RoboCubs)
Team Role: Mechanical
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sedro Woolley
Posts: 20
waddell is an unknown quantity at this point
Re: Jags and CAN bus

Thanks for the quick reply.

Had missed that in the datasheet.
__________________
Waddell
4205 - Mechanical mentor
  #5   Spotlight this post!  
Unread 03-02-2014, 16:59
waddell waddell is offline
Registered User
FRC #4205 (RoboCubs)
Team Role: Mechanical
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sedro Woolley
Posts: 20
waddell is an unknown quantity at this point
Re: Jags and CAN bus

Ether,
I get your jist.

1M transitions disappears rather quickly when utilizing an encoder sending 360 cpr. Worst case of the 2 I listed: 1M/360=2777.

We plan to use encoders on 4.67/1 CimpleBoxes with CIMs. Max output rpm would be in the 1137 range.

Looks like we'll be safe.
__________________
Waddell
4205 - Mechanical mentor
  #6   Spotlight this post!  
Unread 03-02-2014, 17:11
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Quote:
Originally Posted by waddell View Post
1M transitions disappears rather quickly when utilizing an encoder sending 360 cpr. Worst case of the 2 I listed: 1M/360=2777.

We plan to use encoders on 4.67/1 CimpleBoxes with CIMs. Max output rpm would be in the 1137 range.
2777 revolutions per second is a lot faster then 1137 revolutions per minute. It's 2 orders of magnitude.

Last edited by Joe Ross : 03-02-2014 at 18:20.
  #7   Spotlight this post!  
Unread 03-02-2014, 18:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,068
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: Jags and CAN bus

Quote:
Originally Posted by waddell View Post
Ether,
I get your jist.
I'm not sure you did.

The E4P electronics are good up to 10000 RPM for the 360 CPR model. That's what I was referring to in my previous post.


Quote:
We plan to use encoders on 4.67/1 CimpleBoxes with CIMs. Max output rpm would be in the 1137 range.
As for the Jag, it can handle 1 million transitions per second (Joe's post). That's 1μs per transition.

For the E4P 360 CPR, there are 720 transitions per rev on each channel.

That's 1440 transitions per rev if you are using both channels.

The attachment shows the μs per transition for single-channel and 2-channel (quadrature) at 1137 RPM for the tolerances specified in the E4P datasheet.

The worst case (2 channel quadrature with max phase error) is 12.2 μs

So it appears that the Jag's sample rate is more than adequate to sample all transitions of an E4P 360 at 1137 RPM, even at worst-case phase tolerance with 2 channels in quadrature.



Attached Files
File Type: xls E4P edge transition time.xls (15.0 KB, 4 views)

Last edited by Ether : 03-02-2014 at 21:49. Reason: replaced image with working spreadsheet
Closed Thread


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 17:29.

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