Results 1 to 8 of 8

Thread: Mach/Granite losing position

  1. #1
    Registered
    Join Date
    Jan 2009
    Location
    US
    Posts
    68
    Downloads
    0
    Uploads
    0

    Mach/Granite losing position

    Hello all,

    I'm having an issue with the lathe I'm building. I'm using Mach3 and a smoothstepper to control a VSD-E in dualDC mode to drive two electrocraft brush DC servos. For the most part the setup runs well, but I'm losing position slightly. The X axis isn't bad, but the Z axis can lose or gain .010-.015" while running a part. Occasionally even more. I'm using US Digital encoders at 4000 counts per rev, with a 5 tpi ball screw giving me 20,000 counts per inch. I've played with the PID settings in DCtool, and gotten the following error down to 6-8 counts max, with the drive set to trip at 12 counts error. Settling time is around 50ms on both axes. The curves don't look great, but those numbers don't sound bad to me.

    A bigger issue is when machining an arc or angle (chamfer), I can really lose position (.020" or more.)

    Where should I begin looking to sort this issue? Mach? SS? VSD?

    Mechanically, the machine is tight. Ways, ballscrews, belts, etc. are in very good condition so I don't suspect that to be the problem.

    Also, the step multiplier in the drive is set to 1 for both axes.

    Any ideas? I much appreciate the help!

    Kevin


  2. #2
    Registered
    Join Date
    Jul 2007
    Location
    USA
    Posts
    167
    Downloads
    0
    Uploads
    0
    What CAM software are you using?

    I use MecSoft CAM and have had a similar issue on my cnc machine. I checked every on my machine. Turns out that the CAM software was causing the drifting in the cutting process. I re-computed the gCode and it took care of my problem. I want to say it was some sort of numerical rounding issue in the math. Not sure, but it was just weird in that my drifting only took place on two letters of A and S in the wording of allspark.

    All the other letters had no drifting taking place. Which pointed the problem away from the actual machine hardware and pushed the issue some place in the software computational issues.

    My fix to my drift was re computing the gCode. And I was using ARC's in my cutting process.


  3. #3
    Registered
    Join Date
    Jan 2009
    Location
    US
    Posts
    68
    Downloads
    0
    Uploads
    0
    I'm writing the code by hand. I did change from constant velocity to exact stop mode, which helped immensely, but still slowly loses position.

    Kevin


  4. #4
    Registered
    Join Date
    Jul 2007
    Location
    USA
    Posts
    167
    Downloads
    0
    Uploads
    0
    I did the constant velocity to exact stop mode but saw no differences.

    Are you able to track the issue to any particular piece in the code?


  • #5
    Registered
    Join Date
    Jan 2009
    Location
    US
    Posts
    68
    Downloads
    0
    Uploads
    0
    The issue is most noticeable during arc and angle movements, i.e. when interpolating movements between two axes. Straight line moves in a single axis rarely showed problems.


  • #6
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1,201
    Downloads
    0
    Uploads
    0
    It is probably either caused by noise in step/dir signals or encoder signals. Can you post photos of your installation & wiring? Maybe there's some problem that we can spot.


  • #7
    Registered
    Join Date
    Jan 2009
    Location
    US
    Posts
    68
    Downloads
    0
    Uploads
    0
    I don't have any photos, but both the encoder wiring and CMD wiring is done using double shielded (foil covered by braid) cable. The encoder shielding grounds to the drive, and the CMD shielding grounds to the breakout board. The encoders have caps on them across the power and ground connections to suppress noise there, as well as resistors or caps across the differential pairs at the drive (whatever was recommended in the drive manual, I don't remember.)

    For what its worth, I have a VFD running my spindle, and having that on doesn't seem to make the problem worse. VFDs are generally quite noisy.

    Thanks for the replies,

    Kevin


  • #8
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1,201
    Downloads
    0
    Uploads
    0
    Hmm, sounds like shielding is well done.

    If the problem occurs only with acs, it means that two drives/motors interfere with each other. Solution to it may be found from ferrite beads:

    EMI suppression cores - Granite Devices Knowledge Wiki

    Also, try separating wires and electronics little bit further from each other.

    Let me know if this helps!


  • Similar Threads

    1. Mach 3 Losing Z Position
      By TaK in forum Mach Software (ArtSoft software)
      Replies: 1
      Last Post: 12-03-2010, 10:36 PM
    2. KM-1 losing position?
      By Radius in forum HURCO
      Replies: 16
      Last Post: 09-18-2010, 03:19 AM
    3. losing position, lots of position
      By cyclestart in forum LinuxCNC (formerly EMC2)
      Replies: 8
      Last Post: 01-24-2010, 02:50 AM
    4. T32 Losing position
      By apylus444 in forum Mazak, Mitsubishi, Mazatrol
      Replies: 2
      Last Post: 07-26-2008, 11:57 PM
    5. losing position in X
      By martsto in forum Milltronics
      Replies: 3
      Last Post: 03-15-2007, 09:55 PM

    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.