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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/12/05 11:15
Read: times


 
#105068 - Why encoder?
Responding to: ???'s previous message
Hi Prahlad,
why are you using the stepper motor with encoder? I mean steppers can be precisely controlled by the processor. If your application is only 60RPM (or upto 200RPM) then why are you using encoder, better you use a variable as char or int(8 bit or 16 bit depends) and just add or subtract the number of steps in it.
If you want a Shaft position:---
Considering the Sanyo Denki motor is 1.8 deg step angle.
Always subtract this variable by 200(If you are programming the L297 in full step mode) or 400(if you are programming the L297 in half step) if it is greater than that value. You can use an additional bit for sign(say + for CW and - for CCW) then you can easily find out what your shaft position is based on the value in the variable by multiplying it with the step angle of stepper motor.

If you want number of rotations or you have converted rotary into linear position:---

then you can count the number of rotations in one more variable Considering the Sanyo Denki motor is 1.8 deg step angle.
After you give 200(Full step) or 400(half step) pulses to L297 then count as one revolution and use sign bit for froward / rverse direction.

If you are saying that your shaft vibrates then its because you are not getting perfect holding. How many phase stepper are you using?
If it is 6 leads then for 50kg cm motor the current required will be more than 2A/phase in bipolar connections. And then your L297 and L298 combination will not work effectively. You need to cascade multiple L298s or use seperate 2 MOSFET bridges.

Also if you are using the current control of L297 inbuilt chopper then use it on inhibit lines instead of A, B, C, D lines. This is one of the common problem while designing the L297 + L298 drive.

The most important thing is the basic phenomena of stepper is to exhibit hystresis (As Steave said, stepper moves in discrete step angles and so he suggested to put rubber type disk to your motors shaft) What I mean is it gives resonance around the step angle and then settle to the final position, which hampers the accuracy of stepper and this may be resulting in your encoders output error.

Regards
Sarang


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