Go to Post Being the GDC is not an easy job, anything can happen. Lunacy happened ::rtm:: - Conor Ryan [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 19-01-2013, 14:06
EyalD EyalD is offline
Registered User
FRC #1943
 
Join Date: Jan 2013
Location: Israel
Posts: 6
EyalD is an unknown quantity at this point
Using the Magnetic Encoder

Hello!
This year we decided to try out the magnetic encoder (model AS5145B)
so before we try it we need to find out exactly how to wire it so we won't do something wrong and destroy it.

In addition, we'll really appreciate an instruction on how to set it up and use it with a motor (Cim for example).

Thank you very much!
  #2   Spotlight this post!  
Unread 19-01-2013, 14:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Using the Magnetic Encoder

Quote:
Originally Posted by EyalD View Post
Hello!
This year we decided to try out the magnetic encoder (model AS5145B)
so before we try it we need to find out exactly how to wire it so we won't do something wrong and destroy it.
https://wpilib.screenstepslive.com/s...control-system


  #3   Spotlight this post!  
Unread 19-01-2013, 14:10
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Using the Magnetic Encoder

Quote:
Originally Posted by EyalD View Post
In addition, we'll really appreciate an instruction on how to set it up and use it with a motor (Cim for example).
PID tutorials
https://decibel.ni.com/content/docs/DOC-14709
http://www.controlguru.com/pages/table.html
http://www.inpharmix.com/jps/PID_Con...ms_Robots.html
http://www.chiefdelphi.com/forums/sh...2&postcount=12
http://brettbeauregard.com/blog/2011...-introduction/
http://www.education.rec.ri.cmu.edu/...edmovement.pdf



Last edited by Ether : 19-01-2013 at 14:14.
  #4   Spotlight this post!  
Unread 19-01-2013, 14:47
EyalD EyalD is offline
Registered User
FRC #1943
 
Join Date: Jan 2013
Location: Israel
Posts: 6
EyalD is an unknown quantity at this point
Re: Using the Magnetic Encoder

Thank you! But I actually meant to ask: how do I physically attach the magnet to the CIM motor?
  #5   Spotlight this post!  
Unread 20-01-2013, 20:38
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Using the Magnetic Encoder

Quote:
Originally Posted by EyalD View Post
I actually meant to ask: how do I physically attach the magnet to the CIM motor?
What is the CIM motor attached to ?


  #6   Spotlight this post!  
Unread 20-01-2013, 23:55
sg999 sg999 is offline
Programming Lead, Co-Captain 2013
AKA: Bella
FRC #0999 (Mecharams)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Connecticut
Posts: 44
sg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to behold
Re: Using the Magnetic Encoder

I'm not sure what other teams are doing (or even how we're supposed to be mounting the encoders), but we're using one motor per gearbox, so someone on our team is machining a mount for us to attach the encoder to where the other motor is supposed to go. We're also enlargening the hole in the magnet, so we can just stick the magnet right onto the shaft.
__________________
There is always time-whether or not you use it productively is up to you.

2012-WIWI 6th seed (Thanks for being awesome alliance partners, 1991 and 178)

2014-present College student at Caltech (math/CS)
  #7   Spotlight this post!  
Unread 21-01-2013, 00:01
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Using the Magnetic Encoder

So, to my understanding, the magnet is supposed to be mounted on a shaft (CIM motor shaft/output shaft/etc) and then the chip is supposed to be placed just a millimeter in front of the motor?
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #8   Spotlight this post!  
Unread 21-01-2013, 00:06
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Using the Magnetic Encoder

Quote:
Originally Posted by ksafin View Post
So, to my understanding, the magnet is supposed to be mounted on a shaft (CIM motor shaft/output shaft/etc) and then the chip is supposed to be placed just a millimeter in front of the motor?
Draw a sketch to illustrate what you think your words are saying.

This will avoid much misunderstanding.



  #9   Spotlight this post!  
Unread 21-01-2013, 00:14
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Using the Magnetic Encoder

__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #10   Spotlight this post!  
Unread 21-01-2013, 00:22
sg999 sg999 is offline
Programming Lead, Co-Captain 2013
AKA: Bella
FRC #0999 (Mecharams)
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Connecticut
Posts: 44
sg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to beholdsg999 is a splendid one to behold
Re: Using the Magnetic Encoder

Correct, except you are allowed to be in a range of .5mm to 1.5mm, according to the sheet that came with the encoder.
__________________
There is always time-whether or not you use it productively is up to you.

2012-WIWI 6th seed (Thanks for being awesome alliance partners, 1991 and 178)

2014-present College student at Caltech (math/CS)
  #11   Spotlight this post!  
Unread 21-01-2013, 00:30
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Using the Magnetic Encoder

Seems much more difficult to put on than the USDigital Encoders..
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #12   Spotlight this post!  
Unread 21-01-2013, 00:41
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,074
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: Using the Magnetic Encoder

..
Attached Thumbnails
Click image for larger version

Name:	941.png
Views:	114
Size:	30.6 KB
ID:	13592  Click image for larger version

Name:	942.png
Views:	104
Size:	57.0 KB
ID:	13593  
  #13   Spotlight this post!  
Unread 21-01-2013, 09:31
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: Using the Magnetic Encoder

Quote:
Originally Posted by sg999 View Post
I'm not sure what other teams are doing (or even how we're supposed to be mounting the encoders), but we're using one motor per gearbox, so someone on our team is machining a mount for us to attach the encoder to where the other motor is supposed to go. We're also enlargening the hole in the magnet, so we can just stick the magnet right onto the shaft.
What gearbox are you using? Ones from AndyMark have an extension to the output shaft that's designed for mounting the E4P quadrature encoders. You could put your magnetic sensor there.
  #14   Spotlight this post!  
Unread 21-01-2013, 10:19
akoscielski3's Avatar
akoscielski3 akoscielski3 is offline
Mentor (1114), Alumni (772)
AKA: Aaron Koscielski
FRC #1114 (Simbotics)
Team Role: Mentor
 
Join Date: Jul 2010
Rookie Year: 2006
Location: LaSalle, Ontario, Canada
Posts: 1,066
akoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond reputeakoscielski3 has a reputation beyond repute
Re: Using the Magnetic Encoder

We're using these encoders also. I almost Guarantee you you're suppose to mount them to the gear box. not the motor shaft.

I am trying to mount this encoder to a Ball shifter right now, hope it works out.
__________________
Hall of Fame Team 1114 Simbotics
2013-Present
Host of Simbot Solidworks Series
Team 772 Sabre Bytes
2010-2013

Dean's List Finalist 2013 Waterloo Regional
  #15   Spotlight this post!  
Unread 21-01-2013, 15:53
Nikhil Bajaj Nikhil Bajaj is offline
MATLAB Fan
FRC #0461 (Westside Boiler Invasion)
Team Role: Mentor
 
Join Date: Feb 2003
Rookie Year: 2002
Location: West Lafayette, Indiana
Posts: 101
Nikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond reputeNikhil Bajaj has a reputation beyond repute
Send a message via AIM to Nikhil Bajaj
Re: Using the Magnetic Encoder

For what it is worth, if you look at the AS5145B data sheet, in Table 4 (Magnetic Input Specifications) it gives a maximum frequency of rotation of 153 rpm. I would be wary of putting that on the output of a CIM, but I could be interpreting the data sheet incorrectly.
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 11:14.

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