Go to Post It's not about going for any of the awards. Awards are to recognize what you are doing for First, your team, and the community. - SaraBailey [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 24-03-2011, 21:20
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Magnetic Encoder Advice

We have been relying on the kit magnetic (rotary) encoder to measure the position of an arm, with decent success. However, at one point today, our encoder just stopped giving us good data (0 for position, 0 for magnetic field strength.) We are using it in SPI mode. We've ensured all proper wiring--and it's definitely giving a signal--when it doesn't, it reads 255, not 0.

Anyone else face similar problems/have suggestions?
  #2   Spotlight this post!  
Unread 24-03-2011, 22:38
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Magnetic Encoder Advice

The KOP magnetic encoder is ok as a demo board. For our robot we prefer a more rugged device. This year we are using Vishay 981He and last year Cherry AN8. Both are automotive qualified. They have some electrostatic protection and are sealed. They are both analog. Couldn't find a spi or i2c device I liked that was with in our budget.
  #3   Spotlight this post!  
Unread 24-03-2011, 23:12
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Magnetic Encoder Advice

My advice: replace the encoder board. If other teams at your event followed suggestions, at least a couple of them will have unused Kit of Parts components to share.
  #4   Spotlight this post!  
Unread 25-03-2011, 13:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: Magnetic Encoder Advice

Quote:
Originally Posted by Gdeaver View Post
This year we are using Vishay 981He
Do you know if the 360-degree continuous-rotation model has essentially no "dead zone" when transitioning from 360 to zero? It's not clear from the datasheet.


  #5   Spotlight this post!  
Unread 25-03-2011, 14:22
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,047
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Magnetic Encoder Advice

Quote:
Originally Posted by Ether View Post
Do you know if the 360-degree continuous-rotation model has essentially no "dead zone" when transitioning from 360 to zero? It's not clear from the datasheet.

Unicorn drive?

I love the Cherry AN8 1640 used last year - 48/3193 are using it on our arms this year, with much success.

Mouser sells these for $45:

http://www.mouser.com/ProductDetail/...qh3niR4xw% 3d

Data Sheet:

http://www.cherrycorp.com/english/se...AN8_Series.pdf

Also have to buy some Delphi automotive connectors and terminals, both of which Mouser sells and are in stock.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
  #6   Spotlight this post!  
Unread 25-03-2011, 17:45
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
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: Magnetic Encoder Advice

Quote:
Originally Posted by Travis Hoffman View Post
Unicorn drive?
Yeah :-)


Quote:
I love the Cherry AN8 1640 used last year - 48/3193 are using it on our arms this year, with much success.

Mouser sells these for $45:

http://www.mouser.com/ProductDetail/...qh3niR4xw% 3d

Data Sheet:

http://www.cherrycorp.com/english/se...AN8_Series.pdf
The graph in the lower-left corner of the second page of the datasheet seems to strongly imply no dead zone - it shows a sharp saw-tooth transition from max back to min. Has that been your experience?

I was specifically inquiring about the Vishay 981HE.


  #7   Spotlight this post!  
Unread 25-03-2011, 17:54
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,370
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: Magnetic Encoder Advice

They have no dead band. How ever they are dependent on the supply voltage. if they are given 5 volts they will give an analog voltage from 0 deg - .5 volts and 360 deg 4.5. If the supply voltage was 4.95 then it would be .495 to 4.45.
This isn't a problem with the analog break outs this year but was noticeable last year. We did manage to eat a Vishay this year from a mechanical failure. They work great as long as we don't smash them. The Cherry AN8 served us well last year too. Ideal for pivot drive and arm sensing.
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 23:46.

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