Go to Post I put the encrypted manual file onto a 5-1/4" floppy disk, so I'll have it with me when I go to the kickoff event and pick up the kit. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 14-01-2008, 19:04
Larry R Larry R is offline
Registered User
FRC #1258
Team Role: Electrical
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Kirkland, WA
Posts: 23
Larry R is on a distinguished road
Send a message via MSN to Larry R
Problem with 2008 gear tooth sensor

My problem is that the "S" output is steady at about 4v DC with the output pulses riding on top of this DC voltage. The pulses are much wider than last year's sensor. The pulses are about .5v p-p and are 10 mS wide. Reversing the gear direction reverses the duty cycle so the pules are about 25 mS.

I was expecting the output to swing from 0 to about +5v with the narrow uS pulses as with last year's sensor.

I checked the +5, Gnd and +12 connections and voltages.

My question: has anyone had problems with this year's gear tooth sensor?

Thanks, Larry
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2008, 19:17
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

We have the same problem! But the voltage is around 3.68 VDC and it varies as you bring metal objects up to the sensor.

Our other sensor worked great with a clean 0 to 5 VDC square waveform. This is our second one and it has not worked properly since wiring it up.

I took a lot of care wiring it up and can guarantee that it was not abused. From the Allegro data sheet I conclude that the sensor is not working properly. The output voltage from the sensor stays around 0.8 VDC above ground, and it should be higher according to the data sheet. IMHO the sensor is bad.

Where can we get replacement sensors BOARDS?!
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2008, 19:44
Larry R Larry R is offline
Registered User
FRC #1258
Team Role: Electrical
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Kirkland, WA
Posts: 23
Larry R is on a distinguished road
Send a message via MSN to Larry R
Re: Problem with 2008 gear tooth sensor

Thanks for the reply. I just measured it and you're right. Mine shows 3.62v. It must be a goner. I'll try the other one. We will need a replacement ASAP.

Thanks, Larry
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2008, 08:33
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

As a backup plan, we will try a Honeywell sensor in the gearbox. This is relatively inexpensive, readily available from DigiKey and reliable. We used them last year.
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
Reply With Quote
  #5   Spotlight this post!  
Unread 15-01-2008, 14:55
Larry R Larry R is offline
Registered User
FRC #1258
Team Role: Electrical
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Kirkland, WA
Posts: 23
Larry R is on a distinguished road
Send a message via MSN to Larry R
Re: Problem with 2008 gear tooth sensor

Ok, thanks for the info. I just ordered a pair of the Honeywell sensors.
I checked your links and some others in order to accumulate a knowledge base for the software needed for these sensors. I'm assuming the IFI white paper you recommended is this one: http://www.ifirobotics.com/docs/time...004-jan-14.pdf.

In that time is short, I would appreciate any pointers or links that would help our team put the software together as soon as possible. I checked a number of postings on this forum already and found lots of tips and tricks for using gear tooth sensors. Our goal is to read the GTS output to assist with dead reckoning while in autonomous (hybrid) mode. I know we can do much more but this is priority one.

Did you mount the Honeywell GTS in the gear boxes or on a sprocket somewhere in the drive train?

Again, thank you for the help.
-Larry
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2008, 06:53
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

We are attempting to mount the Honeywell sensors in the gearboxes today. If it is successful, I will post photos.

As for the the software, we used INT2 and INT3 on digital inputs 1 and 2 to count the GTSs.

I posted examples of this code in the other Honeywell thread. Be sure you fix the "INT3P" problem in the MPLAB *.h file as described in other Delphi threads or you can't compile.

Good Luck!
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2008, 21:46
Gamer930's Avatar
Gamer930 Gamer930 is offline
Team 930 and 171 Alumni
AKA: Justin
no team
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2002
Location: New Berlin, WI
Posts: 388
Gamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to behold
Re: Problem with 2008 gear tooth sensor

Has anyone found replacement order form for the actual KOP Sensor?? We got one mounted and it works great. . . Got the second one mounted and seems fried. . .

Or is there another team that isn't using theirs and would be willing to sell to us??
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
Reply With Quote
  #8   Spotlight this post!  
Unread 18-01-2008, 00:20
Larry R Larry R is offline
Registered User
FRC #1258
Team Role: Electrical
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Kirkland, WA
Posts: 23
Larry R is on a distinguished road
Send a message via MSN to Larry R
Re: Problem with 2008 gear tooth sensor

Tim, did you get the Honeywell sensors mounted? Did you post pix somewhere?

Two of the Honeywell sensors, 1GT101DC, arrived today and after setting them up in my test fixture, I don't see any output. I am looking for pulses similar to the KOP sensors for 2008 and 2007.

I am using 12 for power and connect the output to my Tek 465 scope. My fixture uses a servo with a big metal gear rotating about 60 RPM. I can feel the tug of the magnet. I see no pulses.

They seem pretty simple - is there some trick? Are the pulses narrower than the KOP sensors? I tried various horiz sweep rates but nothing.
Thanks, Larry
Reply With Quote
  #9   Spotlight this post!  
Unread 18-01-2008, 08:29
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

The sensors require a pull-up resistor between the power and signal leads. When we connect the PWM cable to the sensor we add the resistor at the joint and then put a piece of heat-shrink over the whole joint for protection.

I don't remember the exact value, but something around 5K ohm should be sufficient. You can check with the scope.

When assembled, we plug the PWM cable right into the DIO port and use the RC 5VDC to run the sensor. Works great. The output is high when no metal is sensed in front of the sensor, and low when something is there. You can test with a DVM and a screwdriver.

I will post pictures this weekend... forgot to take pictures last night.
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
Reply With Quote
  #10   Spotlight this post!  
Unread 18-01-2008, 13:21
Larry R Larry R is offline
Registered User
FRC #1258
Team Role: Electrical
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Kirkland, WA
Posts: 23
Larry R is on a distinguished road
Send a message via MSN to Larry R
Re: Problem with 2008 gear tooth sensor

Thank you for the suggestion! I see in the Honeywell spec sheet that the output is "sink" - no doubt open collector. I sure missed that. Following your suggestion, I used a 4.7K pull-up resistor and also tried using +5v and it works great. I get the low going (from about +5v to gnd) pulses at about 20 mS in width. I like that output! Instead of uS spikes, I see pulses with mS duration. I think this will be easier to work with.

I will look forward to the pictures. After seeing the form factor of these GTS, I know for sure they will not be mounted in the gear boxes.

To be sure I understand your post, you connected the pulled up output to any digital I/O pin on the robot controller and ran the GTS off the +5v supplied by the controller. Right? And the software you are using to count gear teeth has been pretty much posted - am I right about that also? I gathered a lot of programming info following your links on other posts.

This brings up my final question. From looking at the software, it seemed to me that due to the narrow uS spikes that the KOP gear tooth sensor outputs, you employed an interrupt-driven approach: " In the RC we used interrupts 2 and 3 (on RC DIO pins 1 and 2). Every time the gear tooth stimulates a low-to-high transition on the signal pin, an interrupt is thrown. "

I note that you referred to a low to high transition generating an interrupt. However the Honeywell units make a high to low. I am assuming the interrupt is edge sensitive and not level sensitive. Am I right about this?

Thanks a million for all your help!
Cheers, Larry
Reply With Quote
  #11   Spotlight this post!  
Unread 18-01-2008, 21:05
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

Quote:
Originally Posted by Larry R View Post

This brings up my final question. From looking at the software, it seemed to me that due to the narrow uS spikes that the KOP gear tooth sensor outputs, you employed an interrupt-driven approach: " In the RC we used interrupts 2 and 3 (on RC DIO pins 1 and 2). Every time the gear tooth stimulates a low-to-high transition on the signal pin, an interrupt is thrown. "

I note that you referred to a low to high transition generating an interrupt. However the Honeywell units make a high to low. I am assuming the interrupt is edge sensitive and not level sensitive. Am I right about this?

Thanks a million for all your help!
Cheers, Larry
The RC triggers the interrupt on the edge type, rising or falling. Since the sensor gives a repeating square pulse as the gear teeth fly by, you get both types and simply have to choose one. Glad you got it working. We calculated a resolution of 0.07 inches of robot travel per tick in our setup.
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
Reply With Quote
  #12   Spotlight this post!  
Unread 19-01-2008, 20:04
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

We got the new sensor installed and verified on the Andy Mark gearboxes today!

Yea! The results are posted here.
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
Reply With Quote
  #13   Spotlight this post!  
Unread 21-01-2008, 20:46
Bochek's Avatar
Bochek Bochek is offline
Registered User
AKA: Adam Bochek
FRC #2200 (MMRambotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Burlington, Ontario, Canada
Posts: 577
Bochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud ofBochek has much to be proud of
Re: Problem with 2008 gear tooth sensor

We are having the same problem, One of our gear tooth sensors works fine but the other sits at around 3.6 V

Wonder if everyone's boards are like this?

- Bochek
__________________
-----------------------------------------------
Adam Bochek - FRC 2200
http://www.mmrambotics.com
http://www.watchfirstnow.com
Reply With Quote
  #14   Spotlight this post!  
Unread 22-01-2008, 00:02
Gamer930's Avatar
Gamer930 Gamer930 is offline
Team 930 and 171 Alumni
AKA: Justin
no team
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2002
Location: New Berlin, WI
Posts: 388
Gamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to behold
Re: Problem with 2008 gear tooth sensor

Quote:
Originally Posted by Bochek View Post
We are having the same problem, One of our gear tooth sensors works fine but the other sits at around 3.6 V

Wonder if everyone's boards are like this?

- Bochek
Nearly positive that everyone sensor is like this. . . we got 3.6v on the bad one also
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
Reply With Quote
  #15   Spotlight this post!  
Unread 22-01-2008, 07:23
Tim Skloss's Avatar
Tim Skloss Tim Skloss is offline
Dr. Skloss
FRC #0930
Team Role: Parent
 
Join Date: Jan 2002
Rookie Year: 2000
Location: Waukesha, WI, USA
Posts: 73
Tim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the roughTim Skloss is a jewel in the rough
Re: Problem with 2008 gear tooth sensor

Quote:
Originally Posted by Gamer930 View Post
Nearly positive that everyone sensor is like this. . . we got 3.6v on the bad one also
FROM THE FIRST Q&A WEBSITE:

[quoted] "The gear tooth sensors provided in the Kit Of Parts are a limited-supply item. Additional KoP gear tooth sensors are not available. However, there are commercial gear tooth sensors that provide similar functionality that are available from a number of electronic supply houses.[end quote]

So there you have it. This year we essentially get only one GTS that is usable.

Our team did this to fix it.
__________________
---------------
FIRST Mentor and Team Leader
C.O.R.E 2062 a NASA, GE Volunteers and Rockwell Automation FRC Team
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gear Tooth Sensor marco_alchemy Electrical 7 06-02-2008 09:54
Help with Gear Tooth Sensor RedOctober Electrical 3 27-01-2006 18:38
Gear Tooth Sensor Talha Electrical 1 23-01-2006 21:29
gear tooth sensor connecting problem nirty Electrical 2 23-01-2006 12:17
Gear Tooth Sensor AMIRAM Electrical 2 22-01-2006 04:09


All times are GMT -5. The time now is 07:58.

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