Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Sensors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=173)
-   -   Problem with 2008 gear tooth sensor (http://www.chiefdelphi.com/forums/showthread.php?t=61665)

Larry R 14-01-2008 19:04

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

Tim Skloss 14-01-2008 19:17

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?!

Larry R 14-01-2008 19:44

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

Tim Skloss 15-01-2008 08:33

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.

Larry R 15-01-2008 14:55

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

Tim Skloss 16-01-2008 06:53

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!

Gamer930 16-01-2008 21:46

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??

Larry R 18-01-2008 00:20

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

Tim Skloss 18-01-2008 08:29

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.

Larry R 18-01-2008 13:21

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

Tim Skloss 18-01-2008 21:05

Re: Problem with 2008 gear tooth sensor
 
Quote:

Originally Posted by Larry R (Post 680834)

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.

Tim Skloss 19-01-2008 20:04

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.

Bochek 21-01-2008 20:46

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

Gamer930 22-01-2008 00:02

Re: Problem with 2008 gear tooth sensor
 
Quote:

Originally Posted by Bochek (Post 683171)
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

Tim Skloss 22-01-2008 07:23

Re: Problem with 2008 gear tooth sensor
 
Quote:

Originally Posted by Gamer930 (Post 683311)
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.


All times are GMT -5. The time now is 02:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi