Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/13/05 14:01
Read: times


 
#105139 - did you forget the mistletoe?
Responding to: ???'s previous message
1) your micro does not capture very fast outputs from the QD

The quadrature decoder output is 32 bits wide and is read as 4 bytes one after the other. The decoder presents this output on its data bus and latch it on data bus. The micro reads it directly through 8 port pins. The byte to be read [ ie. one among 4 ] is selected by SEL1 and SEL2 signals generated by micro. When OE is pulled low the selected byte is latched on encoder data bus. Micro reads the bytes one by one by first making proper byte selection using SEL1 and SEL2 signals and then making OE low, thus there is no question of very fast or very slow output from quadrature decode.

your answer does not answer my question, so I will rephrase
1) if the QD counts at 100kHz+ (possible at oscillations) will your micro offload the QD fast enough?

2) you are using a QD with single ended output or are treating a differential output as single ended.

fed to AM26LS32 to make it single ended.

Interesting concept, I never thought of using a 485 receiver to receive anything but output from a 485 transmitter.

3) you have some relays or such on the board that generate enough noise to upset the readings.

And if at all there would have been noise problem it wouldnt show effect only while stopping the motor.

There actually is a unique "activity" when stopping the motot: breaking the power to it.


In my case if i run motor continously then decoder is giving very accurate reading of shaft position. But every time i stop it there is an error produced which is cummulative and goes on increasing every time i stop the motor.
Are you, in effect, saying that the error always is too high a count?

4) you have a defective component.
I too thought the same initially and changed motor encoder and control board but still problem exists.

referring to nordic mythology: did you forget the mistletoe?

5) just a thought: If one or both of the differential lines give reverse output (a and b reversed) what would happen? My immediate thought is nothing, but maybe if you think about it there is a problem.

Erik

nordic mythology, mistletoe:
The story is that all trees and plants were asked by the gods not to be the arrow that killed Balder and they forgot to ask the mistletoe.

So very often you check "everything" and days later find the stupid little thing you forgot such as e.g. a cable.

THUS remember the mistletoe


List of 63 messages in thread
TopicAuthorDate
shaft encoder & HCTL2032 with stepper.            01/01/70 00:00      
   2032 clock            01/01/70 00:00      
      Re: 2032 Clock.            01/01/70 00:00      
   Correct Freq.            01/01/70 00:00      
      discusses the clocking            01/01/70 00:00      
         and one more            01/01/70 00:00      
   Clock = 32MHz still decoder cheating.            01/01/70 00:00      
      Damper ?            01/01/70 00:00      
         Re: Damper.            01/01/70 00:00      
            Sp            01/01/70 00:00      
               Re: Sp.            01/01/70 00:00      
                  closed loop systems            01/01/70 00:00      
                     and            01/01/70 00:00      
                  What is the reason for vibration?            01/01/70 00:00      
                     Re: Vibration Source.            01/01/70 00:00      
                        Vibration or resonance..?            01/01/70 00:00      
                           Stepper motor action            01/01/70 00:00      
                              Exactly...            01/01/70 00:00      
                                 OK            01/01/70 00:00      
                                    ringing            01/01/70 00:00      
                                       depends on factors            01/01/70 00:00      
                                       Just visualize any mechanical drive stop            01/01/70 00:00      
                        Possible tests            01/01/70 00:00      
                           Bummer isn't it ?            01/01/70 00:00      
      I know this, but has not seen it with tr            01/01/70 00:00      
         lower the clock            01/01/70 00:00      
            exactly            01/01/70 00:00      
               Re: Exactly.            01/01/70 00:00      
      errors            01/01/70 00:00      
         oscillation            01/01/70 00:00      
   Not Sure.            01/01/70 00:00      
      what does the scope say?            01/01/70 00:00      
         oscillator            01/01/70 00:00      
   Tried Frequencies from 25kHz to 33MHz.            01/01/70 00:00      
      you have something defective            01/01/70 00:00      
         Mechanics            01/01/70 00:00      
            I agree            01/01/70 00:00      
               any mechab=nical, however bad should giv            01/01/70 00:00      
                  Sloppy            01/01/70 00:00      
         RE: defective.            01/01/70 00:00      
            did you forget the mistletoe?            01/01/70 00:00      
               Re: offload.            01/01/70 00:00      
                  I mixed up 2 HCTLxxx chips.            01/01/70 00:00      
   Why encoder?            01/01/70 00:00      
      Reference            01/01/70 00:00      
         absolute encoder            01/01/70 00:00      
            expensive.            01/01/70 00:00      
               absolute encoders            01/01/70 00:00      
               the real problem with absolute encoders            01/01/70 00:00      
                  Nah            01/01/70 00:00      
      Re: Why Encoder.            01/01/70 00:00      
   Encoder with stepper            01/01/70 00:00      
   Problem Solved.            01/01/70 00:00      
      "Solved" ?            01/01/70 00:00      
         Re: Resonance.            01/01/70 00:00      
      "problem solved" does not jive            01/01/70 00:00      
         Re: Misleading encoder.            01/01/70 00:00      
            HCTL-2032 encoder counting problem            01/01/70 00:00      
   Torsion Damper.            01/01/70 00:00      
      Capture ?            01/01/70 00:00      
         Stepper motor with shaft encoder            01/01/70 00:00      
         Re: Capture.            01/01/70 00:00      
   Stepper motor            01/01/70 00:00      

Back to Subject List