Go to Post You can reduce the size of your wench. - ngreen [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 07-02-2014, 06:37
mstfldmr mstfldmr is offline
Registered User
FRC #2905
 
Join Date: Jan 2014
Location: Turkey
Posts: 10
mstfldmr is an unknown quantity at this point
Counting number of turns

Hello,

how can we count the number of dc motor turns with the allowed parts?
  #2   Spotlight this post!  
Unread 07-02-2014, 07:28
chi-town-biker chi-town-biker is offline
Registered User
FRC #3135 (Robotic Colonels)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Chicago
Posts: 46
chi-town-biker is an unknown quantity at this point
Use an encoder.
  #3   Spotlight this post!  
Unread 07-02-2014, 07:38
TheKeeg's Avatar
TheKeeg TheKeeg is offline
Michigan Tech Engineering
AKA: Keegan Harrington
FRC #0068 (Truck Town Thunder)
Team Role: College Student
 
Join Date: Jun 2012
Rookie Year: 2013
Location: Ortonville, Michigan
Posts: 77
TheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud of
Re: Counting number of turns

Something like this:

http://www.andymark.com/product-p/am-0180.htm
  #4   Spotlight this post!  
Unread 07-02-2014, 07:43
mstfldmr mstfldmr is offline
Registered User
FRC #2905
 
Join Date: Jan 2014
Location: Turkey
Posts: 10
mstfldmr is an unknown quantity at this point
Re: Counting number of turns

we don't have them. and we don't have time to order them from US. any other suggestions?
  #5   Spotlight this post!  
Unread 07-02-2014, 08:17
TheKeeg's Avatar
TheKeeg TheKeeg is offline
Michigan Tech Engineering
AKA: Keegan Harrington
FRC #0068 (Truck Town Thunder)
Team Role: College Student
 
Join Date: Jun 2012
Rookie Year: 2013
Location: Ortonville, Michigan
Posts: 77
TheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud of
Re: Counting number of turns

Quote:
Originally Posted by mstfldmr View Post
we don't have them. and we don't have time to order them from US. any other suggestions?
Do you have a string potentiometer?
  #6   Spotlight this post!  
Unread 07-02-2014, 08:47
mstfldmr mstfldmr is offline
Registered User
FRC #2905
 
Join Date: Jan 2014
Location: Turkey
Posts: 10
mstfldmr is an unknown quantity at this point
Re: Counting number of turns

Quote:
Originally Posted by TheKeeg View Post
Do you have a string potentiometer?

is it different than a regular potentiometer?
  #7   Spotlight this post!  
Unread 07-02-2014, 08:55
Chadfrom308's Avatar
Chadfrom308 Chadfrom308 is offline
Slave to the bot
AKA: Chad Krause
FRC #0308 (The Monsters)
Team Role: Driver
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Novi
Posts: 272
Chadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to beholdChadfrom308 is a splendid one to behold
Re: Counting number of turns

What is turning? Wheels? Warm drive? Arm?

Try to get your hands on an encoder or gear tooth sensor (hall effect sensor) (Pretty much the same as an encoder)

Potentiometers normally go only 1-10 turns, encoders dont have a limit.
  #8   Spotlight this post!  
Unread 07-02-2014, 08:58
Pranit T's Avatar
Pranit T Pranit T is offline
Find the power to inspire.
FRC #0188 (Woburn Robotics)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto, Ontario
Posts: 22
Pranit T has a spectacular aura aboutPranit T has a spectacular aura aboutPranit T has a spectacular aura about
Re: Counting number of turns

If you have a light sensor/photoreflective sensor, you can put a pulley in front of it, and paint it half white and half black. Connect the pulley to the motor. You can now track the number of times the motor rotates based on the number of times the light sensor counts it sees the white or black pass by.

You can fine tune this by adding more sections of black/white rather than just one of each colour. We did this on our 2009 bot to tune the PID for the shooting wheel.
__________________
Team 188: Woburn Robotics Alumnus, Mentor

2013 FRC World Champions (1241, 1477, 610)
  #9   Spotlight this post!  
Unread 07-02-2014, 09:42
TheKeeg's Avatar
TheKeeg TheKeeg is offline
Michigan Tech Engineering
AKA: Keegan Harrington
FRC #0068 (Truck Town Thunder)
Team Role: College Student
 
Join Date: Jun 2012
Rookie Year: 2013
Location: Ortonville, Michigan
Posts: 77
TheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud ofTheKeeg has much to be proud of
Re: Counting number of turns

Quote:
Originally Posted by mstfldmr View Post
is it different than a regular potentiometer?
Yes, it measures distance by the unraveling of a string around a spool. I was going to suggest that you could wrap the string around whatever you are counting the rotations of and use the circumference of the "wheel" to figure out the number of rotations, but it would only work if the rotating object only has to rotate a small number of times like a winch and it cannot rotate very fast. I have never seen this on a robot, but it could work I suppose. Could you reveal what this would be used for?

http://www.andymark.com/product-p/am-2618.htm

Last edited by TheKeeg : 07-02-2014 at 09:44.
  #10   Spotlight this post!  
Unread 07-02-2014, 10:08
chi-town-biker chi-town-biker is offline
Registered User
FRC #3135 (Robotic Colonels)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Chicago
Posts: 46
chi-town-biker is an unknown quantity at this point
Digikey in Turkey sells many types of encoders but not made by US Digital. Maybe someone can find a comparable model. I'm not sure I can match all the specs.
  #11   Spotlight this post!  
Unread 07-02-2014, 10:14
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
Re: Counting number of turns

It depends on what your purpose is:

As others have suggested, the standard approach in many cases is encoders; there are other types available as well, there were some magnetic encoders in First choice this year, and I found a few of these in our electronics boxes (we didn't order them that I know of, so they may have come in the kit this year or last), which if you can get them sourced from the EU may be much easier to get.

If you are measuring wheel speed, you can also build a hall effect sensor quite easily with some magnets, a few discrete electical components and one latching hall effect sensor like this (see the datasheet on sparkfun and build the typical 3-wire circuit). These work well in high velocity measurements like a shooter wheel, but not for high precision stuff like drive trains or arms where a single revolution is a big movement.

If you need to control the position of an arm, a simple potentiometer (ideally one with 10Kohms of resistance, definitely more than 1Kohm), the poteniometer can tell you the exact position of an object (you need to convert the voltage to degrees manually though) but they aren't typically built to withstand high speeds (even continuous potentiometers would not be a good idea for anything that spins over a 120rpm or so)
  #12   Spotlight this post!  
Unread 07-02-2014, 10:36
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 238
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: Counting number of turns

If you have been around since Logomotion the line tracking sensors will work to give you a simple rotation feedback for a 'slow moving' shaft.

You could also try using the encoders inside an the older style 'ball' mouse. But this will take a little bit of electronic work on your part to interface it to the digital sidecar.
  #13   Spotlight this post!  
Unread 07-02-2014, 11:00
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 507
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
Re: Counting number of turns

Quote:
Originally Posted by Tem1514 Mentor View Post
If you have been around since Logomotion the line tracking sensors will work to give you a simple rotation feedback for a 'slow moving' shaft.
I guess that depends on your definition of slow... Our frisbee shooter wheel ran at 3600 RPM direct coupled to CIM, with essentially the same photoeye from Banner as the AB line trackers. We also had three reflectors per revolution, to increase the "encoder" ticks. The cRio handles these speeds without issue.

http://www.chiefdelphi.com/forums/sh...d.php?t=105965

Edit: found the line tracker part number was/is 42EF-D1MNAK-A2 looking up the data sheet from AB shows a 1ms response time. For round numbers, say you only want to push it to 1 Rev per 5ms that still gets you to 12,000 RPM range.
We accurately recorded 5000rpm with 3 pulses per rev last year using the encoder class, last year with the banner sensor.
__________________
The sooner we get behind schedule, the more time we have to catch up.


Last edited by tr6scott : 07-02-2014 at 11:24.
  #14   Spotlight this post!  
Unread 07-02-2014, 11:03
BBray_T1296's Avatar
BBray_T1296 BBray_T1296 is offline
I am Dave! Yognaut
AKA: Brian Bray
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Rockwall, TX
Posts: 947
BBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond reputeBBray_T1296 has a reputation beyond repute
Re: Counting number of turns

Quote:
Originally Posted by TheKeeg View Post
Yes, it measures distance by the unraveling of a string around a spool. I was going to suggest that you could wrap the string around whatever you are counting the rotations of and use the circumference of the "wheel" to figure out the number of rotations, but it would only work if the rotating object only has to rotate a small number of times like a winch and it cannot rotate very fast. I have never seen this on a robot, but it could work I suppose. Could you reveal what this would be used for?

http://www.andymark.com/product-p/am-2618.htm
I know Team 2468 used the Andymark String Pot last year to measure their shooter height. It was quite ingenious.
__________________
If molecular reactions are deterministic, are all universes identical?

RIP David Shafer: you will be missed


  #15   Spotlight this post!  
Unread 07-02-2014, 11:16
Abhishek R Abhishek R is offline
Registered User
FRC #0624
Team Role: Alumni
 
Join Date: Mar 2013
Rookie Year: 2012
Location: Texas
Posts: 892
Abhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond reputeAbhishek R has a reputation beyond repute
Re: Counting number of turns

Quote:
Originally Posted by Pranit T View Post
If you have a light sensor/photoreflective sensor, you can put a pulley in front of it, and paint it half white and half black. Connect the pulley to the motor. You can now track the number of times the motor rotates based on the number of times the light sensor counts it sees the white or black pass by.

You can fine tune this by adding more sections of black/white rather than just one of each colour. We did this on our 2009 bot to tune the PID for the shooting wheel.
This works quite well. We used it in both 2012 and 2013 for our shooter wheels.
__________________
2012 - 2015 : 624 CRyptonite
Team Website
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 22:53.

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