Jump to content
OMRON Forums

Question about velocity and lookahead


ScottB

Recommended Posts

I have a question regarding lookahead on the Power PMAC and how to get arcs more accurate.   We have a linear move at 2000 inches/min going into an semicircle with 0.1" radius at 330 IPM, followed by another linear move at 2000 IPM.  Point A is where the semicircle should start and Point B is where the semicircle should end.  The inner path shown is the actual path the PowerPMAC uses.  

image.png.05936d455638f3b0e1edcf3646c8c735.png

What I was expecting to happen with lookahead enabled (Coord[1].LookAheadSize = 2048) is that the Y axis would slow down from 2000 IPM to 330 IPM at Point A so the desired path is maintained.  The following is the same motion commanded on a Beckhoff control using their lookahead algorithm.  You can see the Y axis Velocity slows down to 330 before the X axis starts to move.  The path is maintained.  

image.png.1becd6224d061d3507935dcee7cca89a.png

The following plot is the velocity on the PowerPMAC.  The Y axis does slow down but not slow enough when the X axis starts.  The end result is that instead of a rounded slot, we get an egg shape.  

image.png.155a24763237037b00427cc69be90021.png

The only way we can get the shape to be close to accurate is to either program exact stops at points A and B (not desirable) or set the Ta and Ts very small (5 mSec) which causes the machine to shake pretty violently.  Is there a way to get the lookahead control to reduce the velocity smoothly so that when it hits the tangent point of the arc, it is at the programmed arc velocity?   I have tried explicitly specifying a feedrate on the arc, letting the acceleration limits of the motor slow the arc down, and using Coord[].MaxCirAccel to slow down the velocity of the arc.  They all seem to yield the same velocity plot above.  

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I recommend checking the deviation of the command trajectory first.

The look-ahead function of PMAC will not tamper with the trajectory, but if the blend parameter of PMAC is not set properly, it may lead to deviations in the instruction trajectory.

Usually Ta Ts will affect the accuracy of the trajectory blend, you can try to set Ta Ts to 0 at this position.The premise of setting Ta Ts to 0 is that the Look ahead function is set correctly, otherwise the machine will vibrate.

 

Edited by Sangmo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...