586,133 active members*
3,936 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2012
    Posts
    139

    Trajectory Planner Break Angle question

    I'm noticing that the break angle parameter doesn't seem to be working as expected. Just as an example, I have a 90 degree turn made from 18 line segments...let's just say 20. So there's approximately 5 degrees between each line segment. My break angle is set to 10 degrees, but the motion still stutters around the curve unless I set the break angle to 15 degrees or so. I don't understand why.

    I've included the file. Look at the curves near Y=0. It stutters around every one of those with a break angle set to 10 degrees.

    Attachment 181240

    edit: Sorry....meant to say near X=0. There are several 90degree curves in that area.

  2. #2
    Join Date
    May 2006
    Posts
    4045
    Hi John,

    Hmmm... What are your Trajectory Planner Settings? I suspect what is happening is that the Collinear Tolerance setting is allowing multiple segments to be combined which results in a larger angles. Segments are combined together based on the Collinear Tolerance before checking the Break Angle. This is normally a good thing. For example a 1 microinch zig-zag would be smoothed out and not result in an unnecessary stop. See here.

    But in your case the opposite is happening. The Collinear Tolerance is telling the trajectory planner there is no need to do all those tiny segments as several can be combined together and still meet the accuracy specification. But then the resulting path has bigger angles.

    If I did the math right for the 125mil radius curve in your GCode the 18 Segments are each only about 10 mils long and combining two changes the path by only 0.4 mils.

    Please try reducing the Collinear Tolerance to see if it resolves the issue.

    Regards
    TK
    http://dynomotion.com

  3. #3
    Join Date
    Nov 2012
    Posts
    139
    Thank you, Tom. I think I have the tolerance set to .001. I think I'll set the tolerance in KMotionCNC to .0001 and see what it does. It sounds like you are on to something. It also explains why it doesn't seem to stutter at every line segment but only about half of them going around the turns. I'll try it in the morning when I get back into the shop, but your explanation makes perfect sense.

  4. #4
    Join Date
    Nov 2012
    Posts
    139
    I couldn't resist. Went into the shop and tried it. My Collinear Tolerance is now .0001 and that fixed it right up. My current settings are:

    Break Angle: 10
    CL Tolerance: 0.0001
    Corner Tolerance: 0.001
    Facet Angle: 0.5

    And it's running like a champ. This has been bugging me on and off for weeks. Thanks for the help, Tom!

    This should almost be a sticky. I've seen other people with break angle settings of 50 degrees and things like that, and I wonder if they're not running into the same issue.

    -john

Similar Threads

  1. Trajectory Planner Control
    By sdavenport in forum Dynomotion/Kflop/Kanalog
    Replies: 5
    Last Post: 07-11-2012, 03:00 AM
  2. What values are the velocity and acceleration in Trajectory planner?
    By volkl_ac3 in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 06-27-2012, 02:24 PM
  3. Trajectory page
    By hts_thai_bk in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 06-07-2010, 07:43 AM
  4. Trajectory planning of EMC 2.0
    By Hebert in forum LinuxCNC (formerly EMC2)
    Replies: 1
    Last Post: 10-16-2006, 06:12 PM
  5. step angle question??
    By kywoodwrkr in forum DIY CNC Router Table Machines
    Replies: 7
    Last Post: 02-22-2005, 05:04 PM

Posting Permissions

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