|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Bizzare Quaderature Behavior
We have spec-ed a 61K64 Grayhill quaderature encoder in part of our design this year. We have given them supply current from both a voltage regulator and from the +5/GND pins on the RC's digital in/out ports. Initially they functioned flawlessly, responding to rotation with the expected:
00 01 11 01 00 pattern, perfectly in phase and everything. Life was good. But after testing them individually with LEDs, I hooked them up to the RC and they weren't functioning at all. Assuming it was a programming error, I tried everything I could think of and exausted all reasonable possibilites. I went back to my LED test rig and found the encoders were behaving in a bizzare manner. Upon first being connected they would function as described above, but then one output (usually the B output) would start to blink slowly, even when the encoders weren't being rotated. It's blink rate would steadily increase until it was on fully! Disconnecting and reconnecting the power did nothing. If the whole setup was allowed to sit for a while without being on, the encoders would once again function briefly before "decaying". Am I right in assuming these have been fried internally? I can't imagine what else would cause this behavior... |
|
#2
|
||||
|
||||
|
Re: Bizzare Quaderature Behavior
sounds like toast :c(
do you have a spec sheet for them? are you sure they are designed to run at 5VDC? LEDs normally need a series resistor to limit current, but also, when they are blown they dont work at all blinking is weird. are you sure its not your power supply that is switching on and off? can you meter the power pins to the encoder? maybe you have a breaker cycling or something weird? |
|
#3
|
||||
|
||||
|
Re: Bizzare Quaderature Behavior
I looked at the data sheet from your postd link
they are 5VDC parts, so you dont need a series resistor - if you connected them to 5V (check your supply with a meter) and did not wire them backwards they should be ok. how are you testing the output? meter or a scope would be best. You do know that there are blinking leds (your testing LEDs maybe?) that look just like normal LEDs, right? |
|
#4
|
|||||
|
|||||
|
Re: Bizzare Quaderature Behavior
Quote:
I just wanted to make sure they were fried, get a second opinion as it were. |
|
#5
|
||||
|
||||
|
Re: Bizzare Quaderature Behavior
test them with a known good 5VDC supply, and with a voltmeter on the output. Make sure the voltmeter is on DC (some default to DC or AC when your turn them on).
the output should be on or off when the shaft is not rotating, and you should be able to slowly rotate it and see the outputs change. If your meter has a frequency function you should be able to see the freq change as you rotate the shaft. A scope would be excellent for this. |
|
#6
|
|||||
|
|||||
|
Re: Bizzare Quaderature Behavior
Did I say ammemeter? I meant voltmeter...
We checked them initially with an O-scope, and since then have been using the LEDs as ghetto logic probes. |
|
#7
|
||||
|
||||
|
Re: Bizzare Quaderature Behavior
Quote:
-Kevin |
|
#8
|
||||
|
||||
|
Re: Bizzare Quaderature Behavior
something else: when the encoder has one LED right on the edge (between being full on and full off) it can twitch back and forth. Thats why there are two outputs, when one changes state you ignore it until the other one changes state.
If one LED is blinking its possible the encoder is turned so that sensor is on the edge of a mark? |
|
#9
|
|||||
|
|||||
|
Re: Bizzare Quaderature Behavior
Bjorn,
Were you using LEDs without current limiting resistors? The stated output drive on the endcoder is only 16ma. If you hung a normal LED on that output, without series resistors to limit current, you have likely fried the output(s). |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Servo behavior question / advanced servo/PIC programming question | DanL | Electrical | 12 | 18-10-2005 18:33 |
| Bad behavior in the hotels. | Tiki | General Forum | 45 | 26-03-2005 23:39 |
| Un-Gracious & Professional Behavior at AZ Team Social | Weightmn | General Forum | 27 | 23-03-2005 12:09 |
| Selecting Autonomous Behavior | Gobiner | Programming | 5 | 22-01-2003 09:44 |