Go to Post I have a feeling this is going to be a really good year.:) - Richard Wallace [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2016, 10:45
Andrew Duerner Andrew Duerner is offline
Registered User
FRC #5818
 
Join Date: May 2013
Rookie Year: 2012
Location: Santa Barbara, CA
Posts: 26
Andrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud of
775pro encoders

Hi Everybody,

We have more 775pro encoders in stock. These directly attach to the back of the 775pro motor. 12 counts per rev, quadrature encoding.

http://www.armabot.com/encoders.html

Best wishes for your robot builds!
__________________
Andrew Duerner
Mechanical Engineer
Owner/Operator - www.armabot.com
Mentor FRC1717 2012-2013
Mentor FRC5818 2016
Armabot and FRC team involvement are unaffiliated.
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2016, 12:12
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: 775pro encoders

Quote:
Originally Posted by Andrew Duerner View Post
We have more 775pro encoders in stock. These directly attach to the back of the 775pro motor. 12 counts per rev, quadrature encoding.
What do you mean by 12 "counts" per rev?

A quadrature encoder has 4 edge transitions per cycle.

Do you mean 12 cycles per rev, or 12 edge transitions per rev?



Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2016, 13:38
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: 775pro encoders

Quote:
Originally Posted by Ether View Post
What do you mean by 12 "counts" per rev?

A quadrature encoder has 4 edge transitions per cycle.

Do you mean 12 cycles per rev, or 12 edge transitions per rev?




Good question.

How many RISING edges per channel per rev?
Also, how well are the falling edges positioned wrt the rising edges (how close to 50% duty cycle is it?)
Finally how well are the two channels oriented (90 degree being optimal -- thus quad in the name)?

Dr. Joe J.

P.S. Can you share a screen shot of an o-scope trace of the two signals?

P.P.S. Can you provide some photos of the sensor assembled on the motor?
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
  #4   Spotlight this post!  
Unread 17-01-2016, 14:23
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: 775pro encoders

Quote:
Originally Posted by Joe Johnson View Post
How many RISING edges per channel per rev?
Yes, that would be a very clear way to specify it.


Quote:
Also, how well are the falling edges positioned wrt the rising edges (how close to 50% duty cycle is it?)
Finally how well are the two channels oriented (90 degree being optimal -- thus quad in the name)?
In their datasheet for the E4P, US Digital calls the former "symmetry" and the latter "quadrature delay". See attachment.


Attached Thumbnails
Click image for larger version

Name:	E4P phase specs.jpg
Views:	108
Size:	82.0 KB
ID:	19768  
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2016, 16:21
iambujo iambujo is offline
Mentor
FRC #2729 (Storm)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2008
Location: NJ
Posts: 84
iambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to alliambujo is a name known to all
Re: 775pro encoders

Interesting concept Andrew. Do you have any detailed photos of the design and how it functions on the motor? Does it work by placing something (magnet? optical disk?) on the backshaft of the 775Pro?
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2016, 03:11
Andrew Duerner Andrew Duerner is offline
Registered User
FRC #5818
 
Join Date: May 2013
Rookie Year: 2012
Location: Santa Barbara, CA
Posts: 26
Andrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud of
Re: 775pro encoders

Quote:
Originally Posted by Ether View Post
What do you mean by 12 "counts" per rev?

A quadrature encoder has 4 edge transitions per cycle.

Do you mean 12 cycles per rev, or 12 edge transitions per rev?



12 edge transitions per rev. I'll get some pictures up tomorrow. Have a good evening!
__________________
Andrew Duerner
Mechanical Engineer
Owner/Operator - www.armabot.com
Mentor FRC1717 2012-2013
Mentor FRC5818 2016
Armabot and FRC team involvement are unaffiliated.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2016, 07:28
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: 775pro encoders

Quote:
Originally Posted by Andrew Duerner View Post
12 edge transitions per rev. I'll get some pictures up tomorrow. Have a good evening!
Per Channel or Per BOTH Channels?

I suppose you must mean that each channel has 12 edges because this is possible with a 6 pole magnet (N-S-N-S-N-S) and you'd get an edge at each N>S or S>N transition.

I'm not sure how to even do the alternative.

Screen shots of O-scope traces of the two signals showing a full rev. would be great.

Dr. Joe J.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2016, 16:28
Andrew Duerner Andrew Duerner is offline
Registered User
FRC #5818
 
Join Date: May 2013
Rookie Year: 2012
Location: Santa Barbara, CA
Posts: 26
Andrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud of
Re: 775pro encoders

Exactly, each channel, the disk has six magnetic poles.

Attached are some pictures of the design.
Attached Thumbnails
Click image for larger version

Name:	RS7 encoder front.JPG
Views:	259
Size:	117.9 KB
ID:	19817  Click image for larger version

Name:	RS7 encoder side.JPG
Views:	200
Size:	118.4 KB
ID:	19818  
__________________
Andrew Duerner
Mechanical Engineer
Owner/Operator - www.armabot.com
Mentor FRC1717 2012-2013
Mentor FRC5818 2016
Armabot and FRC team involvement are unaffiliated.
Reply With Quote
  #9   Spotlight this post!  
Unread 20-01-2016, 11:08
Andrew Duerner Andrew Duerner is offline
Registered User
FRC #5818
 
Join Date: May 2013
Rookie Year: 2012
Location: Santa Barbara, CA
Posts: 26
Andrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud ofAndrew Duerner has much to be proud of
Re: 775pro encoders

Here is a screenshot of the waveform for an unloaded 775pro motor running at around 9 volts.
Attached Thumbnails
Click image for larger version

Name:	encoder waveform.jpg
Views:	271
Size:	388.7 KB
ID:	19826  
__________________
Andrew Duerner
Mechanical Engineer
Owner/Operator - www.armabot.com
Mentor FRC1717 2012-2013
Mentor FRC5818 2016
Armabot and FRC team involvement are unaffiliated.
Reply With Quote
  #10   Spotlight this post!  
Unread 20-01-2016, 11:37
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: 775pro encoders

Quote:
Originally Posted by Andrew Duerner View Post
Here is a screenshot of the waveform for an unloaded 775pro motor running at around 9 volts.
Very noticable quadrature error.


Reply With Quote
  #11   Spotlight this post!  
Unread 20-01-2016, 12:03
Richard Wallace's Avatar
Richard Wallace Richard Wallace is offline
I live for the details.
FRC #3620 (Average Joes)
Team Role: Engineer
 
Join Date: Jan 2003
Rookie Year: 1996
Location: Southwestern Michigan
Posts: 3,663
Richard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond reputeRichard Wallace has a reputation beyond repute
Re: 775pro encoders

Quote:
Originally Posted by Ether View Post
Very noticable quadrature error.


Yes, and the duty is not very close to 50%, either.

The two channels will be useful for telling which direction the motor is turning. Using more than the rising (or falling) edges of one channel will add jitter to the speed measurement, making the speed loop either less effective, or increasing sensitivity of its stability on tuning.

In a shooter geared 2:1 per Ether's recommendation, this gives maybe 7 or 8 useful speed samples during the loaded part of a shot. The speed regulator will be trying to boost voltage to compensate that ~ 8 millisecond load transient, with boost adjustments 16 times per millisecond (controller output modulation frequency). It will be interesting to see how well the 775pro, this encoder, and a Talon SRX can regulate wheel speed during a shot load. Factors to influence the regulation include shooter wheel moment of inertia, speed regulator tuning, supply voltage feed-forward, ball compression, wheel compression, wheel-to-ball friction, etc.
__________________
Richard Wallace

Mentor since 2011 for FRC 3620 Average Joes (St. Joseph, Michigan)
Mentor 2002-10 for FRC 931 Perpetual Chaos (St. Louis, Missouri)
since 2003

I believe in intuition and inspiration. Imagination is more important than knowledge. For knowledge is limited, whereas imagination embraces the entire world, stimulating progress, giving birth to evolution. It is, strictly speaking, a real factor in scientific research.
(Cosmic Religion : With Other Opinions and Aphorisms (1931) by Albert Einstein, p. 97)
Reply With Quote
  #12   Spotlight this post!  
Unread 20-01-2016, 13:05
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 938
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: 775pro encoders

Quote:
Originally Posted by Andrew Duerner View Post
Here is a screenshot of the waveform for an unloaded 775pro motor running at around 9 volts.
Are those "downward" spikes in the first Hi period on the left and the two High periods at the right of the blue trace real? Can you post a scope shot with the scope set up with long/infinite persistence?
Reply With Quote
  #13   Spotlight this post!  
Unread 21-01-2016, 22:34
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,648
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: 775pro encoders

Quote:
Originally Posted by Joe Johnson View Post
Per Channel or Per BOTH Channels?

I suppose you must mean that each channel has 12 edges because this is possible with a 6 pole magnet (N-S-N-S-N-S) and you'd get an edge at each N>S or S>N transition.

I'm not sure how to even do the alternative.

Screen shots of O-scope traces of the two signals showing a full rev. would be great.

Dr. Joe J.
I am an idiot some times. For Hall effect sensors, one pole, one edge*

12 edges would need 12 poles (N-S-N-S-N-S-N-S-N-S-N-S).

Joe J.


*unless it was one off those "reed switch replacement" Halls that go on based on the field strength being above a threshold in either the N or the S direction, this would be a terrible choice for this application so I think we can all agree that me being an idiot at times is the best answer and move on.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
Reply With Quote
  #14   Spotlight this post!  
Unread 21-01-2016, 22:39
Munchskull's Avatar
Munchskull Munchskull is offline
CAD Designer/ Electrical Consaltant
AKA: Anthony Cardinali
FRC #0997 (Spartan Robotics)
Team Role: CAD
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Corvallis, OR
Posts: 527
Munchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to beholdMunchskull is a splendid one to behold
Re: 775pro encoders

My one of my mentors wants to know if they can handle 19000rpm
__________________
“In theory, theory and practice are the same. In practice, they are not.” ― Anonymous
Anthony Cardinali
4th year of FRC
Class of 2017



Reply With Quote
  #15   Spotlight this post!  
Unread 21-01-2016, 23:01
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: 775pro encoders

Quote:
Originally Posted by Munchskull View Post
My one of my mentors wants to know if they can handle 19000rpm
Well, it was designed specifically for the 775Pro whose free speed is 18730 so I would hope the sensor can mechanically and electrically handle that speed. Andrew, can you post an oscope trace at full speed?

As for the FPGA, the new higher FPGA sampling speed should handle it, even with the quadrature errors shown on the oscope trace posted earlier in this thread:

Code:
19000	rpm
316.7	revs/sec
3	cycles per rev (assuming 6-pole magnet w Hall sensor)
4	edges per cycle (quadrature)
12	edges per rev (quadrature)
3800	edges/sec (quadrature)
40.7	quadrature error (degrees)
182.6%	quadrature error (percent)
6937	edges/sec (with quadrature error)
If you are going to use this for speed control of a shooter wheel, follow the advice Richard gave in his earlier post and use rising edges only in one channel only, to give the cleanest (jitter-free) speed signal (especially if using bang-bang control).


Attached Thumbnails
Click image for larger version

Name:	RS7 symmetry error.jpg
Views:	36
Size:	36.4 KB
ID:	19843  Click image for larger version

Name:	RS7 quadrature error.jpg
Views:	26
Size:	28.8 KB
ID:	19844  

Last edited by Ether : 21-01-2016 at 23:27.
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 08:56.

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