Results 1 to 12 of 12

Thread: Help! Consistent Gecko Fault or Servo Stall

  1. #1
    Banned
    Join Date
    Jul 2003
    Location
    longmont, CO
    Posts
    67
    Downloads
    0
    Uploads
    0

    Help! Consistent Gecko Fault or Servo Stall

    Arrg!! My machine is working well, but has the repeatability of a blind squirrel. I can't run more than 40-50 lines of code before an axis will fault for some reason. I can't seem to find any possible explanation for this. I don't know if this is the servos stalling or what.

    I am running G320's with 1000 PPR Renco differential encoders and Electrocraft 60v servos. I am a little unsure here. I called Mariss and he said a diff. encoder could be used as a TTL so long as only channels A and B were connected. He also said I could use 10 ft cables no problem as the geckos can filter noise, but at 45,000 Hz isn't it more than likely that the servos will fall 128 counts behind?

    The only other cause that I can come up with is my ballscrews are too tight and I am stalling the servos. I set about 100 lbs of preload so it takes a fair amount of force to turn them over, but I can still do it by hand so a 720 oz-in should have no problems right? The machine snapped one of my cutters like a twig today so I am also skeptical about this cause. Please help.


  2. #2
    Registered Bubba's Avatar
    Join Date
    Mar 2004
    Location
    LaGrange, GA USA
    Posts
    1,494
    Downloads
    0
    Uploads
    0
    Noah,
    If you have differential encoders, they generally take about 125 ma of current. The Gecko can only supply 50:{(
    You have to run an external power supply for the encoder and put a resistor on the drive (forget which pins), but it is in the instruction sheet.

    Had the same problem!
    Art
    AKA Country Bubba (Older Than Dirt)


  3. #3
    Banned
    Join Date
    Jul 2003
    Location
    longmont, CO
    Posts
    67
    Downloads
    0
    Uploads
    0
    I am currently powering the encoders off my computer's USB port since they are powered at 5 volts. I will try another supply today though as I am not sure if Windows is capable of shutting off power to those ports every once in a while.


  4. #4
    Registered HomeCNC's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    779
    Downloads
    0
    Uploads
    0
    Are you using Mach 2 as your controller? If so when I first setup the new version on my router my servo system did the same thing. The code would run for about 20 to 45 seconds and then with a very fast shake, one drive or two would fault.

    I had to play with the speed and acceleration in Mach 2 before it would stay running smoothly.

    I did not have this problem with an older version of Mach 2. When I upgraded to the new release I had all my setting the same. Art must have made some changes that made the system more sensitive.
    Thanks

    Jeff Davis (HomeCNC)
    http://www.homecnc.info


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


  • #5
    Banned
    Join Date
    Jul 2003
    Location
    longmont, CO
    Posts
    67
    Downloads
    0
    Uploads
    0
    Thanks guys. I switched to a separate +5v supply and that seemed to fix everything. Thats too bad though. I had really wanted to use the USB supply. I am still thinking of resetting the preload on my screws anyway as 100 lbs seems a bit excessive. How much preload do you normally have to apply to a rolled ballscrew to eliminate backlash?


  • #6
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    100 inch lbs? I don't know, but that sounds a bit much. It may cause flaking of the raceways. The backlash is eliminated when there is zero longitudinal shift. The screw should feel quite solid in the nut, but should not feel gritty as you roll it. If there are any tight spots in the screw's length, then back off the preload until it will go over the tight spot without much force. That is about as tight as you can run it, IMO
    First you get good, then you get fast. Then grouchiness sets in.

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


  • #7
    Banned
    Join Date
    Jul 2003
    Location
    longmont, CO
    Posts
    67
    Downloads
    0
    Uploads
    0
    Yeah, I thought 100 lbs. was too much. I will back it off. One last question. Mariss said it would be possible to use the other set of outputs from the encoder (A& and B&) as computer inputs to get a fully closed loop system. I noticed Mach 2 accepts quadrature inputs for 3 encoders. Does this mean mach 2 is capable of error correcting closing the servo loop?


  • #8
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,295
    Downloads
    0
    Uploads
    0
    No, Mach2 can't close the loop. I think the inputs are for jogging wheels.? You'd need to find software that does close the loop. $$$
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  • #9
    Banned
    Join Date
    Jul 2003
    Location
    longmont, CO
    Posts
    67
    Downloads
    0
    Uploads
    0
    Ok, thanks for all your help guys.


  • #10
    Registered
    Join Date
    Apr 2004
    Location
    usa
    Posts
    439
    Downloads
    0
    Uploads
    0
    ger21 so is there really closed loop software that works with gecko's via the printer port.? I wouldnt might looking into it if you know the name of some.

    anything that runs as fast as the mach2 ?

    thanks


  • #11
    Moderator ynneb's Avatar
    Join Date
    Feb 2004
    Location
    Oz
    Posts
    2,579
    Downloads
    0
    Uploads
    0
    When people talk about "closed loop", what do they mean?
    Could some one explain it to me in very simple terms?
    Thanks
    Being outside the square !!!


  • #12
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    Benny,
    In an "intelligent system", not only does the controller have to issue a movement command, it also needs to receive verification that the position was reached as commanded. This is the so called servo "loop".

    In a typical stepper system, the movement commands are issued, but no check is carried out to see if the movement succeeded in execution. This is "open loop".

    In a servo system, the controller monitors the encoder position. There is logic built in that compares the current commanded position to the actual position of the encoder. As soon as there is a discrepancy, this generates an error signal in the controller. This error signal is amplified by the servo amps into a useful voltage and current to drive the servo motor. The motor turns, and all the while the controller is looking at the feedback from the encoder.

    As the current encoder position is fed back and compared to the commanded position, the controller decreases the error signal, because the positional error is decreasing as the motor moves the machine. The servo amp also cuts back on the voltage applied to the motor. So an equilibrium is reached when the encoder shows zero error between the present and the commanded position. Then motion stops.

    So if there is a large inertial load on the servo motor during the movement, the controller is still looking at the encoder feedback, the error signal still exists for as long as it takes for the encoder to reach the equilibrium position. If the motor turns, the encoder counts, and thus there is some "intelligence" to the circuit because the feedback loop is always reporting, and the motor will receive voltage until such time as the fuse blows, or it reaches position.
    First you get good, then you get fast. Then grouchiness sets in.

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


  • Similar Threads

    1. Servos or Steppers..... and other gecko related questions
      By UKRobotics in forum Gecko Drives
      Replies: 11
      Last Post: 04-19-2004, 03:14 PM
    2. steppers or servo drives
      By mmjpotter in forum Gecko Drives
      Replies: 14
      Last Post: 03-30-2004, 03:56 PM
    3. Servo on Taig with Gecko
      By Jcadwell in forum Gecko Drives
      Replies: 4
      Last Post: 03-09-2004, 12:13 AM
    4. To Gecko, or not to Gecko...that is the question!
      By samualt in forum Gecko Drives
      Replies: 11
      Last Post: 09-22-2003, 09:42 PM
    5. gecko servo steps
      By balsaman in forum Gecko Drives
      Replies: 4
      Last Post: 06-20-2003, 12:27 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.