This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. 

Try our online
PLC Simulator FREE.
Click here now to try it.

New Here? Please read this important info!!!
February 13th, 2018, 02:17 PM  #1 
Member
Join Date: Dec 2005
Location: Deinze
Posts: 83

Modified sine curve motion
I already succeeded in programming a function to find parameters of fifth order polynomial, in the runtime of a motion controller.
To use if at runtime the cam has to be calculated. Next to polynomials there also exist sine curves for cam profiles. More in specific, when should I use the modified sine curve? When does it have an advantage to a polynomial? I suppose a modified sine curve is a sine curve where the first and last part are not a pure sine, but the middle part is. If I should write a function to be executed at runtime in the controller, to calculate a modified sine curve, based on start and end position and velocity, how should I start? What function should be used in the first and last part? For the sine part, how to calculate amplitude, phase and period? 
February 13th, 2018, 05:02 PM  #2 
Member

When you say sine curve do you mean scurve?
scurves start and end a ramp with the acceleration at 0. This can be done with half a sine wave but it is not clear what you are trying to do. A sine is generated using a polynomial. Usually the order is very high. A fifth order polynomial will execute faster than a sine function. The motion profiles are similar. The peak acceleration using a sine function is 1.57 or PI/2 times the average acceleration. The peak acceleration using a 5th order polynomial is 1.5 times the average acceleration. You can see there isn't much difference. I do not know what you mean by modified sine curve. To do what you want to do requires calculus. The motion controller should have these functions built into firmware. You should not need to write them.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon 
Bookmarks 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)  
Thread Tools  
Display Modes  


Similar Topics  
Thread  Thread Starter  Forum  Replies  Last Post 
Motion : quadratic parabolic speed curve  aand74  LIVE PLC Questions And Answers  9  October 17th, 2016 10:34 PM 
Editing Mutiple Motion Tasks in a Kollmorgen AKD over Modbus TCP/IP  Eric Nelson  LIVE PLC Questions And Answers  0  March 19th, 2015 08:55 PM 
CANopen motion controller  wim_  LIVE PLC Questions And Answers  8  October 20th, 2010 01:24 PM 
Blended Motion. What Controller?  Orn Jonsson  LIVE PLC Questions And Answers  13  January 16th, 2008 08:59 AM 
Hydraulic Control Advances  Jasonc24  LIVE PLC Questions And Answers  14  June 16th, 2005 01:52 AM 