1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. KUKA Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

SLIN motion velocity Profile

  • gonca_santos11
  • July 11, 2024 at 3:25 PM
  • Thread is Unresolved
  • gonca_santos11
    Posts
    13
    • July 11, 2024 at 3:25 PM
    • #1

    Hello everyone,

    I am working on a project that requires to discover the equations of motion for the SLIN motion, however i cannot find information about the velocity profile of this motion anywhere. Furthermore since it is only possible to define the maximum velocity in cartesian coordinates but not the acceleration, I cannot understand how the motion planner is able to create the trajectory with only the initial and final points and the maximum velocity.

    Thank you in advance.

  • Go to Best Answer
  • panic mode July 11, 2024 at 3:34 PM

    Approved the thread.
  • Fubini
    Reactions Received
    270
    Trophies
    9
    Posts
    1,866
    • July 11, 2024 at 5:37 PM
    • #2
    Quote from gonca_santos11

    I am working on a project that requires to discover the equations of motion for the SLIN motion, however i cannot find information about the velocity profile of this motion anywhere.

    This is no public knowledge. Basically it is a third order time optimal profile along a given geometric path.

    Quote from gonca_santos11

    Furthermore since it is only possible to define the maximum velocity in cartesian coordinates but not the acceleration,

    Not true. Motion planner for SLIN by default uses cartesian velocity and axis torques and torque derivativs to define the time optimal trajectory. This info can be found in the spline section of your system integrators manual. Cartesian acceleration can be added optionally by $spl_velrestr. Again lookup documentation.

    Quote from gonca_santos11

    I cannot understand how the motion planner is able to create the trajectory with only the initial and final points and the maximum velocity

    Not true. It uses info on velocity, acceleration (torques acc_axis) and jerk (gear_jerk), load data, ..... In short trajectory planning involves calculating the robots dynamic equations in combination with a phase plane method.

    You need the info why and to what purpose if I may ask?

    Fubini

  • gonca_santos11
    Posts
    13
    • July 11, 2024 at 7:03 PM
    • #3

    I am doing my master thesis on mechanical engineering which involves using SLIN motions to perform a trajectory with any given velocity profile

  • Fubini
    Reactions Received
    270
    Trophies
    9
    Posts
    1,866
    • July 11, 2024 at 7:21 PM
    • #4

    And it must be a SLIN and no LIN? LIN would be easier. Its a filtered second order phase synchronized trapzoidal profile in Cartesian space. So no dynamic model involved.

    Fubini

  • Fubini
    Reactions Received
    270
    Trophies
    9
    Posts
    1,866
    • July 11, 2024 at 8:15 PM
    • Best Answer
    • #5

    Similar trajectory planning but third order for slin can be activated by setting $spl_vel_mode to #CART.

    You could lookup ruckig on github or ruckig.com to get the idea. Its not exactly what KSS does but similar. Also reflexxes lib might be worth checking out.

    Fubini

  • gonca_santos11 July 17, 2024 at 6:28 PM

    Selected a post as the best answer.
  • gonca_santos11
    Posts
    13
    • July 18, 2024 at 3:48 PM
    • #6
    Quote from Fubini

    Similar trajectory planning but third order for slin can be activated by setting $spl_vel_mode to #CART.

    I have tested both the $spl_vel_mode #cart and $spl_vel_restr in simulation (KUKA SIM PRO with officelite) and they seem to give the same results to each other so it left me wondering what their pratical difference is since in the system variables manual I could not get a clear explanation.

    Also when using SLIN with #CART the time it takes to get to the programmed acceleration is much bigger compared to LIN, I have increased $JERK.CP which resulted in a slight improvement but I was wondering if there is some way to further reduce this time?

    Thank you in advance,

  • Fubini
    Reactions Received
    270
    Trophies
    9
    Posts
    1,866
    • July 18, 2024 at 5:43 PM
    • #7

    What values are assigned to acceleration? What acc/jerk do you use for orientation?

    In case of #opt axis specific values are used $acc_axis[], $gear_jerk[]. In case of #cart cartesian ones $acc and $jerk are used. This includes ori component.

    Do you use inline forms or expert programs?

    Also lookup system integrators manual. This stuff is explained in there and not the system variables documentation.


    Fubini

  • gonca_santos11
    Posts
    13
    • July 18, 2024 at 7:44 PM
    • #8
    Quote from Fubini

    What values are assigned to acceleration? What acc/jerk do you use for orientation?

    In case of #opt axis specific values are used $acc_axis[], $gear_jerk[]. In case of #cart cartesian ones $acc and $jerk are used. This includes ori component.

    Do you use inline forms or expert programs?

    Also lookup system integrators manual. This stuff is explained in there and not the system variables documentation.


    Fubini

    Display More

    I use the INI folder to start the program and the rest is all written by me.

    I am using 100 for jerk.cp and 0.2 for acc.cp, I did not change the values of acc/jerk for orientation because i was testing for a linear path with no change in the orientation.

    In the tests I have done the jerk is always bigger near the programmed velocity than when the speed is closed to zero which I dont understand.

    Images

    • 0.4vel.jpg
      • 15.08 kB
      • 560 × 420
      • 10

    Edited once, last by gonca_santos11 (July 18, 2024 at 8:06 PM).

  • Fubini
    Reactions Received
    270
    Trophies
    9
    Posts
    1,866
    • July 18, 2024 at 8:21 PM
    • #9

    Might be a friction effect. Maybe also elasticity compensation. Maybe maximal torques reached. Maybe ...

    Which mode? OPT or CART? With what spl_velstr? Which trace channel is used to record? ...

    Its very tedious having to ask for the complete info all the time. Either provide full info and conditions results are based on or post your complete test program and procedure. Everything else will lead only to guess work.

    Fubini

  • gonca_santos11
    Posts
    13
    • July 19, 2024 at 10:17 AM
    • #10
    Code
    DEF slinvel()
    INI
    $BWDSTART = FALSE
    PFAT_ACT = PDEFAULT
    FDAT_ACT = FHOME
    $H_POS = XHOME
    PTP XHOME
    
    $SPL_VEL_MODE = #CART
    $JERK.CP = 100
    $ACC.CP = 0.2
    $VEL.CP = 0.4
    SLIN {X 100}
    
    WAIT SEC 0.1
    $TRACE.NAME[]="slinvel"
    $TRACE.MODE = #T_START
    SLIN {X 1300}
    WAIT SEC 0.1
    $TRACE.MODE = #STOP
    
    END
    Display More

    The trace channel used was KRCIpo CartVEL_CmdIpo and the acceleration was obtained by calculating the difference quotient.

    The test was performed with a KUKA KR22 R1610-2 using SIM PRO and Officelite with KSS V8.3.38.

    Thank you for the help.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download