SlideShare a Scribd company logo
1 of 7
Download to read offline
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
S-CURVE
DOCUMENTATION AND TUTORIAL FOR THE
S-CURVE ON THE COOL MUSCLE
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
Page 2
1. INTRODUCTION
The s-curve function allows the user to define a smooth response yet still
maintain a high acceleration. In many applications the ideal step response is
not one where the maximum speed is reached instantaneously. The jarring
effect of high acceleration and deceleration can damage the application, yet a
slow acceleration can slow down production dramatically. In these
applications the ideal step response is to have a slow initial acceleration,
leading into a high acceleration to a low deceleration to the required speed.
The resultant speed curve is what is known as an s-curve.
Step Response
0
50
100
150
200
250
0.0 0.1 0.2 0.3
seconds
pulses/second
S-Curve
Acceleration
High Aceleration
Low Acceleration
Figure 1: Step response of an S-Curve function.
Figure 1 shows how the s-curve can maintain advantages of both a high and
low acceleration. High overall acceleration is maintained yet jarring effects
are minimised.
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
Page 3
2. K69: S-CURVE K-PARAMETER
The K69 parameter is the most significant parameter when dealing with the
s-curve function. K69 is unit-less and acts as the gain of the function ranging
from 0 to 1024. When it is set to 0 the s-curve function is turned off, i.e. the
standard response for the given speed and acceleration is output. When set
to 1024 the response is the most defined s-curve function.
Calculated Speed
0
50
100
150
200
250
0.000 0.200 0.400 0.600
seconds
pulses/second
K69=0
K69=512
K69=1024
Figure 2: Calculated s-curve speed response by the Cool Muscle.
Figure 2 shows the response calculated by the Cool Muscle (how to capture
this response will be described in the tutorial following). As can bee seen in
the diagram by adjusting the K69 value from 0 to 1024 the s-curve becomes
more pronounced.
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
Page 4
3. S-CURVE TUTORIAL
3.1. Objectives and requirements
The objective of this tutorial is to familiarize the user with the s-curve
function in the Cool Muscle. K69 is the main parameter, however, creeping
speed (K51) and acceleration both play important roles in the forming of a
curve. Some prior knowledge of the Cool Muscle may be required. Firmware
versions 1.14 and above have the s-curve function implemented. A copy of
Cool Works Lite should be installed on the PC attached to a single Cool
Muscle through the RS232 port. Microsoft Excel, Matlab or an equivalent
graphing program should be available to plot the outputs. Follow the steps in
order to ensure full understanding of the function.
3.2. Tutorial steps
3.2.1. Step 1: ensure correct firmware version
Only firmware versions 1.14 and above have the s-curve implemented.
Open Cool Works Lite (CW Lite) and query “%100”. If version 1.14 or
above is loaded this will return some hardware and software information.
The line “SV=x.xx” is the current software version loaded.
3.2.2. Step 2: set the automatic poll and timer
The automatic poll and timer sets the Cool Muscle to constantly return
information. There are a number or modes available, which can be read
about in the manual. This tutorial is going to deal with the calculated
speed and the real speed. Set the following to program the Cool Muscle to
return the calculated speed at an interval of 15 ms.
• K66=1
• K67=15
Though in theory the more points the more accurate the curve generated
we don’t want to overload the Cool Muscle with communication.
Communication has the highest interrupt priority and can disrupt motion if
used to frequently.
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
Page 5
3.2.3. Step 3: set the dynamic values and resolution
Set the dynamic speed, acceleration and position to the following:
• a=100
• s=200
• p=7000
The resolution should be 1000 pulses/rev i.e. K37=3.
3.2.4. Step 4: set the creeping speed (K51)
K51, the creeping speed is important to the look of an s-curve. If high
initial accelerations are a problem, the creeping speed should be set as
low as possible. The creeping speed is defined as the speed from which
the motor will start its acceleration. I.e. if the creeping speed is set to 10
it will accelerate as fast as possible to 10 pps (pulses per second) and
then accelerate with the required acceleration from there. By default K51
is 10 pps but can be set down to 1pps. Set K51=1.
3.2.5. Step 5: graph the calculated speed
K69 is the s-curve parameter and sets the gain of the s-curve. Starting
with K69=0, execute the dynamic run command (^). The terminal
window of CW Lite should return the speed values at an interval of 15ms.
If it does not, return to step 2 and verify the K66 and K67 settings. Copy
and paste the values into a graphing program such as Excel or Matlab at
intervals of 15ms. Due to calculations in the Cool Muscle the values are
calculated with respect to 50000/10 and the maximum speed is 1000. By
dividing the returned number by 5 it can be normalized to the maximum
real speed. Repeat this step for K69=512 and K69=1024. Remember, the
dynamic values are absolute so set the current position back to the origin
(|2) before executing the dynamic command (^).
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
Page 6
Calculated Speed
0
50
100
150
200
250
0.000 0.200 0.400 0.600
seconds
pulses/second
K69=0
K69=512
K69=1024
Figure 3: Calculated speed curve by the Cool Muscle
MyoStat Motion Control http://www.coolmuscle.com 06/08/2003
Page 7
3.2.6. Step 6: graph the real speed
Repeat step 5 but with K66=3 to graph the real speed of the Cool Muscle.
It is not necessary to divide by 5 as the Cool Muscle is outputs the real
speed and no longer the calculated speed. The graph should look like the
following Figure 4.
Real Speed
0
50
100
150
200
250
0.000 0.200 0.400 0.600
seconds
pulses/second
K69=0
K69=512
K69=1024
Figure 4: Real speed of the Cool Muscle

More Related Content

What's hot

final year presentation
final year presentationfinal year presentation
final year presentationrao tahir
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armcesarportilla8
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole systemShubhobrata Rudra
 
Analysis & Control of Inverted Pendulum System Using PID Controller
Analysis & Control of Inverted Pendulum System Using PID ControllerAnalysis & Control of Inverted Pendulum System Using PID Controller
Analysis & Control of Inverted Pendulum System Using PID ControllerIJERA Editor
 
Advanced Mechatronics Research Final Presentation
Advanced Mechatronics Research Final PresentationAdvanced Mechatronics Research Final Presentation
Advanced Mechatronics Research Final PresentationAdnan Mostafa
 
AEV 510 Group Project 2 23 2011
AEV 510 Group Project 2 23 2011AEV 510 Group Project 2 23 2011
AEV 510 Group Project 2 23 2011marksvogel
 
Real-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumReal-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumFrancesco Corucci
 

What's hot (7)

final year presentation
final year presentationfinal year presentation
final year presentation
 
Modeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic armModeling, simulation and control of a robotic arm
Modeling, simulation and control of a robotic arm
 
Backstepping control of cart pole system
Backstepping  control of cart pole systemBackstepping  control of cart pole system
Backstepping control of cart pole system
 
Analysis & Control of Inverted Pendulum System Using PID Controller
Analysis & Control of Inverted Pendulum System Using PID ControllerAnalysis & Control of Inverted Pendulum System Using PID Controller
Analysis & Control of Inverted Pendulum System Using PID Controller
 
Advanced Mechatronics Research Final Presentation
Advanced Mechatronics Research Final PresentationAdvanced Mechatronics Research Final Presentation
Advanced Mechatronics Research Final Presentation
 
AEV 510 Group Project 2 23 2011
AEV 510 Group Project 2 23 2011AEV 510 Group Project 2 23 2011
AEV 510 Group Project 2 23 2011
 
Real-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulumReal-time PID control of an inverted pendulum
Real-time PID control of an inverted pendulum
 

Viewers also liked (20)

Standard curve
Standard curveStandard curve
Standard curve
 
Technology s curves-in_renewable_energies
Technology s curves-in_renewable_energiesTechnology s curves-in_renewable_energies
Technology s curves-in_renewable_energies
 
Social Media Course 2015
Social Media Course 2015Social Media Course 2015
Social Media Course 2015
 
Easec13 e-3-1
Easec13 e-3-1Easec13 e-3-1
Easec13 e-3-1
 
Ga2000 gp25(3) enz
Ga2000 gp25(3) enzGa2000 gp25(3) enz
Ga2000 gp25(3) enz
 
Tcf2007 dk rdg
Tcf2007 dk rdgTcf2007 dk rdg
Tcf2007 dk rdg
 
2007 02t
2007 02t2007 02t
2007 02t
 
Easec13 e-3-1
Easec13 e-3-1Easec13 e-3-1
Easec13 e-3-1
 
S curve tutorial1
S curve tutorial1S curve tutorial1
S curve tutorial1
 
Xogo do peon
Xogo do peonXogo do peon
Xogo do peon
 
Presentation name3
Presentation  name3Presentation  name3
Presentation name3
 
Gartner maturity and adoption 1
Gartner maturity and adoption 1Gartner maturity and adoption 1
Gartner maturity and adoption 1
 
Bab ii
Bab ii Bab ii
Bab ii
 
Metrología lab. clínico
Metrología lab. clínicoMetrología lab. clínico
Metrología lab. clínico
 
Construction of calibration curve for uv-spectroscopic analysis of Paracetamol.
Construction of calibration curve for uv-spectroscopic analysis of Paracetamol.Construction of calibration curve for uv-spectroscopic analysis of Paracetamol.
Construction of calibration curve for uv-spectroscopic analysis of Paracetamol.
 
Bab 2 Tinjauan Literatur
Bab 2 Tinjauan LiteraturBab 2 Tinjauan Literatur
Bab 2 Tinjauan Literatur
 
The mysterious s_curve
The mysterious s_curveThe mysterious s_curve
The mysterious s_curve
 
Calibration
CalibrationCalibration
Calibration
 
How to create calibration curve?
How to create calibration curve?How to create calibration curve?
How to create calibration curve?
 
Qr codes
Qr codesQr codes
Qr codes
 

Similar to S curve tutorial1

Two stage op amp design on cadence
Two stage op amp design on cadenceTwo stage op amp design on cadence
Two stage op amp design on cadenceHaowei Jiang
 
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...IRJET Journal
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentIsham Rashik
 
Final Project Report
Final Project ReportFinal Project Report
Final Project ReportRiddhi Shah
 
Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...
Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...
Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...IRJET Journal
 
Performance Analysis of Brushless DC Motor under Different Loading Conditions
Performance Analysis of Brushless DC Motor under Different Loading ConditionsPerformance Analysis of Brushless DC Motor under Different Loading Conditions
Performance Analysis of Brushless DC Motor under Different Loading Conditionsijtsrd
 
cruise control system
cruise control systemcruise control system
cruise control systemLusiana Diyan
 
documents.pub_solar-tracking-ppt.pdf
documents.pub_solar-tracking-ppt.pdfdocuments.pub_solar-tracking-ppt.pdf
documents.pub_solar-tracking-ppt.pdfBhPrkh2
 
Design and Implementation of a Dual Stage Operational Amplifier
Design and Implementation of a Dual Stage Operational AmplifierDesign and Implementation of a Dual Stage Operational Amplifier
Design and Implementation of a Dual Stage Operational AmplifierIRJET Journal
 
ECET 365 Entire Course NEW
ECET 365 Entire Course NEWECET 365 Entire Course NEW
ECET 365 Entire Course NEWshyamuopuop
 
Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
Sensrless Luenberger Observer Based Sliding Mode Control of DC MotorSensrless Luenberger Observer Based Sliding Mode Control of DC Motor
Sensrless Luenberger Observer Based Sliding Mode Control of DC MotorIRJET Journal
 
IRJET- Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
IRJET- 	  Sensrless Luenberger Observer Based Sliding Mode Control of DC MotorIRJET- 	  Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
IRJET- Sensrless Luenberger Observer Based Sliding Mode Control of DC MotorIRJET Journal
 
Design, analysis and controlling of an offshore load transfer system Dimuthu ...
Design, analysis and controlling of an offshore load transfer system Dimuthu ...Design, analysis and controlling of an offshore load transfer system Dimuthu ...
Design, analysis and controlling of an offshore load transfer system Dimuthu ...Dimuthu Darshana
 
7. pid controller designing for active suspension system of bike
7. pid controller designing for active suspension system of bike7. pid controller designing for active suspension system of bike
7. pid controller designing for active suspension system of bikeMubashar Sharif
 
All digital wide range msar controlled duty cycle corrector
All digital wide range msar controlled duty cycle correctorAll digital wide range msar controlled duty cycle corrector
All digital wide range msar controlled duty cycle correctoracijjournal
 

Similar to S curve tutorial1 (20)

Two stage op amp design on cadence
Two stage op amp design on cadenceTwo stage op amp design on cadence
Two stage op amp design on cadence
 
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
Compensator Design for Speed Control of DC Motor by Root Locus Approach using...
 
Linear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller AssignmentLinear Control Hard-Disk Read/Write Controller Assignment
Linear Control Hard-Disk Read/Write Controller Assignment
 
Final Project Report
Final Project ReportFinal Project Report
Final Project Report
 
Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...
Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...
Design of Compensators for Speed Control of DC Motor by using Bode Plot Techn...
 
Performance Analysis of Brushless DC Motor under Different Loading Conditions
Performance Analysis of Brushless DC Motor under Different Loading ConditionsPerformance Analysis of Brushless DC Motor under Different Loading Conditions
Performance Analysis of Brushless DC Motor under Different Loading Conditions
 
Pi controller ieee format
Pi controller ieee formatPi controller ieee format
Pi controller ieee format
 
cruise control system
cruise control systemcruise control system
cruise control system
 
Sensory Substitution
Sensory SubstitutionSensory Substitution
Sensory Substitution
 
H010245763
H010245763H010245763
H010245763
 
documents.pub_solar-tracking-ppt.pdf
documents.pub_solar-tracking-ppt.pdfdocuments.pub_solar-tracking-ppt.pdf
documents.pub_solar-tracking-ppt.pdf
 
final report updated
final report updatedfinal report updated
final report updated
 
Design and Implementation of a Dual Stage Operational Amplifier
Design and Implementation of a Dual Stage Operational AmplifierDesign and Implementation of a Dual Stage Operational Amplifier
Design and Implementation of a Dual Stage Operational Amplifier
 
ECET 365 Entire Course NEW
ECET 365 Entire Course NEWECET 365 Entire Course NEW
ECET 365 Entire Course NEW
 
Quick return mechanism
Quick return mechanismQuick return mechanism
Quick return mechanism
 
Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
Sensrless Luenberger Observer Based Sliding Mode Control of DC MotorSensrless Luenberger Observer Based Sliding Mode Control of DC Motor
Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
 
IRJET- Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
IRJET- 	  Sensrless Luenberger Observer Based Sliding Mode Control of DC MotorIRJET- 	  Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
IRJET- Sensrless Luenberger Observer Based Sliding Mode Control of DC Motor
 
Design, analysis and controlling of an offshore load transfer system Dimuthu ...
Design, analysis and controlling of an offshore load transfer system Dimuthu ...Design, analysis and controlling of an offshore load transfer system Dimuthu ...
Design, analysis and controlling of an offshore load transfer system Dimuthu ...
 
7. pid controller designing for active suspension system of bike
7. pid controller designing for active suspension system of bike7. pid controller designing for active suspension system of bike
7. pid controller designing for active suspension system of bike
 
All digital wide range msar controlled duty cycle corrector
All digital wide range msar controlled duty cycle correctorAll digital wide range msar controlled duty cycle corrector
All digital wide range msar controlled duty cycle corrector
 

More from Muhammad Sadiq Aftab (20)

Tsc
TscTsc
Tsc
 
The mysterious s_curve
The mysterious s_curveThe mysterious s_curve
The mysterious s_curve
 
The origins of the s curve in business functions
The origins of the s curve in business functionsThe origins of the s curve in business functions
The origins of the s curve in business functions
 
Scurve231 m en
Scurve231 m enScurve231 m en
Scurve231 m en
 
S curve1
S curve1S curve1
S curve1
 
S curve
S curveS curve
S curve
 
Pras s curve final
Pras s curve finalPras s curve final
Pras s curve final
 
Jce 64 2012_8_3_1036_en
Jce 64 2012_8_3_1036_enJce 64 2012_8_3_1036_en
Jce 64 2012_8_3_1036_en
 
Isarc2007 4.3 2-065
Isarc2007 4.3 2-065Isarc2007 4.3 2-065
Isarc2007 4.3 2-065
 
Innovation lifecycles
Innovation lifecyclesInnovation lifecycles
Innovation lifecycles
 
Exploring the limits_of_the_technology_s-curve
Exploring the limits_of_the_technology_s-curveExploring the limits_of_the_technology_s-curve
Exploring the limits_of_the_technology_s-curve
 
Brice dattee
Brice datteeBrice dattee
Brice dattee
 
Bowden 0
Bowden 0Bowden 0
Bowden 0
 
Accenture jumping the_s_curve
Accenture jumping the_s_curveAccenture jumping the_s_curve
Accenture jumping the_s_curve
 
4267
42674267
4267
 
1005.2122
1005.21221005.2122
1005.2122
 
109 bahmani oskooee
109 bahmani oskooee109 bahmani oskooee
109 bahmani oskooee
 
73
7373
73
 
Tsc
TscTsc
Tsc
 
Technology s curves-in_renewable_energies
Technology s curves-in_renewable_energiesTechnology s curves-in_renewable_energies
Technology s curves-in_renewable_energies
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 

S curve tutorial1

  • 1. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 S-CURVE DOCUMENTATION AND TUTORIAL FOR THE S-CURVE ON THE COOL MUSCLE
  • 2. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 Page 2 1. INTRODUCTION The s-curve function allows the user to define a smooth response yet still maintain a high acceleration. In many applications the ideal step response is not one where the maximum speed is reached instantaneously. The jarring effect of high acceleration and deceleration can damage the application, yet a slow acceleration can slow down production dramatically. In these applications the ideal step response is to have a slow initial acceleration, leading into a high acceleration to a low deceleration to the required speed. The resultant speed curve is what is known as an s-curve. Step Response 0 50 100 150 200 250 0.0 0.1 0.2 0.3 seconds pulses/second S-Curve Acceleration High Aceleration Low Acceleration Figure 1: Step response of an S-Curve function. Figure 1 shows how the s-curve can maintain advantages of both a high and low acceleration. High overall acceleration is maintained yet jarring effects are minimised.
  • 3. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 Page 3 2. K69: S-CURVE K-PARAMETER The K69 parameter is the most significant parameter when dealing with the s-curve function. K69 is unit-less and acts as the gain of the function ranging from 0 to 1024. When it is set to 0 the s-curve function is turned off, i.e. the standard response for the given speed and acceleration is output. When set to 1024 the response is the most defined s-curve function. Calculated Speed 0 50 100 150 200 250 0.000 0.200 0.400 0.600 seconds pulses/second K69=0 K69=512 K69=1024 Figure 2: Calculated s-curve speed response by the Cool Muscle. Figure 2 shows the response calculated by the Cool Muscle (how to capture this response will be described in the tutorial following). As can bee seen in the diagram by adjusting the K69 value from 0 to 1024 the s-curve becomes more pronounced.
  • 4. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 Page 4 3. S-CURVE TUTORIAL 3.1. Objectives and requirements The objective of this tutorial is to familiarize the user with the s-curve function in the Cool Muscle. K69 is the main parameter, however, creeping speed (K51) and acceleration both play important roles in the forming of a curve. Some prior knowledge of the Cool Muscle may be required. Firmware versions 1.14 and above have the s-curve function implemented. A copy of Cool Works Lite should be installed on the PC attached to a single Cool Muscle through the RS232 port. Microsoft Excel, Matlab or an equivalent graphing program should be available to plot the outputs. Follow the steps in order to ensure full understanding of the function. 3.2. Tutorial steps 3.2.1. Step 1: ensure correct firmware version Only firmware versions 1.14 and above have the s-curve implemented. Open Cool Works Lite (CW Lite) and query “%100”. If version 1.14 or above is loaded this will return some hardware and software information. The line “SV=x.xx” is the current software version loaded. 3.2.2. Step 2: set the automatic poll and timer The automatic poll and timer sets the Cool Muscle to constantly return information. There are a number or modes available, which can be read about in the manual. This tutorial is going to deal with the calculated speed and the real speed. Set the following to program the Cool Muscle to return the calculated speed at an interval of 15 ms. • K66=1 • K67=15 Though in theory the more points the more accurate the curve generated we don’t want to overload the Cool Muscle with communication. Communication has the highest interrupt priority and can disrupt motion if used to frequently.
  • 5. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 Page 5 3.2.3. Step 3: set the dynamic values and resolution Set the dynamic speed, acceleration and position to the following: • a=100 • s=200 • p=7000 The resolution should be 1000 pulses/rev i.e. K37=3. 3.2.4. Step 4: set the creeping speed (K51) K51, the creeping speed is important to the look of an s-curve. If high initial accelerations are a problem, the creeping speed should be set as low as possible. The creeping speed is defined as the speed from which the motor will start its acceleration. I.e. if the creeping speed is set to 10 it will accelerate as fast as possible to 10 pps (pulses per second) and then accelerate with the required acceleration from there. By default K51 is 10 pps but can be set down to 1pps. Set K51=1. 3.2.5. Step 5: graph the calculated speed K69 is the s-curve parameter and sets the gain of the s-curve. Starting with K69=0, execute the dynamic run command (^). The terminal window of CW Lite should return the speed values at an interval of 15ms. If it does not, return to step 2 and verify the K66 and K67 settings. Copy and paste the values into a graphing program such as Excel or Matlab at intervals of 15ms. Due to calculations in the Cool Muscle the values are calculated with respect to 50000/10 and the maximum speed is 1000. By dividing the returned number by 5 it can be normalized to the maximum real speed. Repeat this step for K69=512 and K69=1024. Remember, the dynamic values are absolute so set the current position back to the origin (|2) before executing the dynamic command (^).
  • 6. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 Page 6 Calculated Speed 0 50 100 150 200 250 0.000 0.200 0.400 0.600 seconds pulses/second K69=0 K69=512 K69=1024 Figure 3: Calculated speed curve by the Cool Muscle
  • 7. MyoStat Motion Control http://www.coolmuscle.com 06/08/2003 Page 7 3.2.6. Step 6: graph the real speed Repeat step 5 but with K66=3 to graph the real speed of the Cool Muscle. It is not necessary to divide by 5 as the Cool Muscle is outputs the real speed and no longer the calculated speed. The graph should look like the following Figure 4. Real Speed 0 50 100 150 200 250 0.000 0.200 0.400 0.600 seconds pulses/second K69=0 K69=512 K69=1024 Figure 4: Real speed of the Cool Muscle