586,432 active members*
4,123 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Gecko Drives > Problem with servo controller (G320)
Results 1 to 20 of 20
  1. #1
    Join Date
    Jan 2007
    Posts
    18

    Problem with servo controller (G320)

    I've retrofitted my bridgeport mill with 3 MCG ID33004 servo's with 1000 count encoders. Im using Gecko 320s and Mach2 .

    The XY drives fault randomly, mostly under heavy cutting or under acceleration. If i slow it down really slowly it will works better. Also they whine most of the time.
    I've messed up a lot of parts so far by drives tripping out and the mill free wheeling, also broken cutters.
    Anyone have a similar problems ?

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    It may be due to the high encoder count. Call Gecko and see what they say.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Mar 2004
    Posts
    1806
    I had that problem with one set of encoders that I had (not knowing they were differential) and the problem was due to the fact they drew 120 ma.

    Geckos are limited to 50 ma draw on the encoders. Mine worked and then faulted out intermitently like you indicate. As soon as I changed encoders, everything was fine (or you can use an external power supply for the encoder-see documentation for proper hookup)

    As a side note, I have also run 1000 line encoders with absolutely no problem from that aspect. Mariss has given out some information on how high you can go before expecting problems and in my configurations, the limit has always been in the 3000 line area YMMV
    Art
    AKA Country Bubba (Older Than Dirt)

  4. #4
    Join Date
    Jan 2007
    Posts
    18
    The encoders are US digital. Current draw is far below 50ma.

    Why do you need a lower encoder count ? Less than 1000 lines puts it into stepper territory.

    US digital sells encoders up to 4000 lines . Isnt a high count going to give a finer resolution and a smoother cut?

  5. #5
    Join Date
    Sep 2003
    Posts
    552
    Here is a graph showing 1 encoder line. This actualy works out to be 4 quadrature encoder counts at the drive ( So basically you multiply the lines by 4 to get the true resolution.).

    The Gecko has a preset fault of +/-128 counts following error. Going with high count encoders makes this fault happen before it would with lower count encoders ( There is always following error when operating.) Also you may hit the frequency limit, If you are getting your pulses from the printer port, before you get to your maximum motor speed.

    A 500 line encoder hooked to a 5 TPI ball screw will give 0.0001" resolution.

    500 * 4 = 2,000
    2000 * 5 = 10,000
    1 / 10,000 = 0.0001

    Darek
    Attached Thumbnails Attached Thumbnails Quadrature.jpg  

  6. #6
    Join Date
    Jan 2007
    Posts
    18
    Yes, but thats encoder resolution of 0.0001" . The servo error can easily be +- 20 encoder counts at best while cutting so the machine accuracy is only 0.002" .
    I want accuracy on the mill.
    Fanuc servo's have 64000 counts per turn.

  7. #7
    Join Date
    Sep 2003
    Posts
    552
    You will have the same % of following error to encoder pulses with either encoder. The ability to maintain a small following error is dependant on the drive and motor capability more than the resolution of the encoder.

    Darek

  8. #8
    Join Date
    Jan 2007
    Posts
    18
    For the same gearing and same motor/drive, won't a finer encoder produce a smaller error ?

    Drives still not working reliably. Why is there not a dedicated error trip output. Gecko should use a connector with some more pins. Other drives i've read about have true error output to signal the mach2 to stop when an error happens.

  9. #9
    Join Date
    Sep 2003
    Posts
    552
    Quote Originally Posted by faststeve View Post
    For the same gearing and same motor/drive, won't a finer encoder produce a smaller error ?
    Like I stated before the % will be the same. What will change is the PID tuning to achieve the same response. Higher PID #'s with lower count encoders/ Lower PID #'s with higher count encoders. Where your tuning peaks out with both encoders is where you see the ability of the drive/motor to get to and maintain position.

    Darek

  10. #10
    Join Date
    May 2003
    Posts
    64

    Encoder maybe?

    1000 line encoders are nice but you may have a problem that the encoder resolution is to fine in that the Gecko only have a 4 bit(128) count error amp.
    If you were to change to a 250 or a 500 line encoder your problem should go away.
    Dan

    Quote Originally Posted by faststeve View Post
    I've retrofitted my bridgeport mill with 3 MCG ID33004 servo's with 1000 count encoders. Im using Gecko 320s and Mach2 .

    The XY drives fault randomly, mostly under heavy cutting or under acceleration. If i slow it down really slowly it will works better. Also they whine most of the time.
    I've messed up a lot of parts so far by drives tripping out and the mill free wheeling, also broken cutters.
    Anyone have a similar problems ?
    Dan Mauch
    Camtronics Inc
    [email protected]
    www.seanet.com/~dmauch

  11. #11
    Join Date
    Jan 2007
    Posts
    18
    What will change is the PID tuning to achieve the same response. Higher PID #'s with lower count encoders/ Lower PID #'s with higher count encoders.
    That doesn't really make any sense. Have you tried hi-res encoders on other servos before ? Why would Fanuc, Teknic, and others recommend hi-count encoders? For increased smoothness of course !

    If you were to change to a 250 or a 500 line encoder your problem should go away.
    Dan
    Thanks, but I think i would change the drive before i change the encoder. I want a very fine resolution.

  12. #12
    Join Date
    Aug 2005
    Posts
    828
    ^^ Mach can only do so much at 45kHz.

    Quote Originally Posted by faststeve View Post
    Fanuc servo's have 64000 counts per turn.
    You know how much a Fanuc systems costs don't you?
    Dennis

  13. #13
    Join Date
    Sep 2003
    Posts
    552
    Quote Originally Posted by faststeve View Post
    Thanks, but I think i would change the drive before i change the encoder. I want a very fine resolution.
    If the Gecko drive is putting out the maximum current the motor can handle then changing the drive will do nothing to decrease the following error.

    Darek

  14. #14
    Join Date
    Jan 2007
    Posts
    18
    I've been checking out some other servo drives and i've decided to order 3 Viper drives. They have a lot of features and have a money back garantee if im not happy.

    http://www.larkencnc.com/viper/index.shtml

    I will post how they work when i get them setup.

  15. #15
    Join Date
    Mar 2003
    Posts
    93
    I've got 3 viper servo drives running on one of my cnc routers. They work great, smooth and quiet. I like the load indicator LED's

  16. #16
    Join Date
    Mar 2003
    Posts
    93
    If the Gecko drive is putting out the maximum current the motor can handle then changing the drive will do nothing to decrease the following error.
    There is more to a servo drive than putting out current. If that was the case, we would just need a powersupply !
    Its when it outputs the current and how much that controls a servo properly.

  17. #17
    Join Date
    Sep 2003
    Posts
    552
    There was a IF in that statement.

    The motor can only handle a certain amount of current before destruction. If both drives are capable and tuned properly I would not expect to see much difference in following error : speed ratio between the two.

    Darek

  18. #18
    Join Date
    Mar 2003
    Posts
    93
    Every drive behaves differently.
    BTW, what drives have you actually used ? I've tried the Gecko, Rutex and Viper, and they all behaved differently and tuned differently.
    Some worked well, some didn't. I found the Viper to be the smoothest and most stable.

  19. #19
    Join Date
    Sep 2003
    Posts
    552
    I have not actually used Marris's, Vlad's or your drives. I have dealt with every commercial CNC system you could probably name.

    The way I see it a motor rated at a certain power (hp) can only do X amount of work. Now if 1k steps per second causes full current in both drives then sending faster pulses is only going to amount in more following error.

    Darek

  20. #20
    Join Date
    Jan 2007
    Posts
    18
    Got it running now for about a week with the viper drives. Runs fast and smooth now. No more faulting and much quieter.
    I will post pictures.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •