SlideShare une entreprise Scribd logo
1  sur  20
copyright 2011 controltrix corp www. controltrix.com
www.controltrix.com
Trajectory generation for Servo motor
drives
copyright 2011 controltrix corp www. controltrix.com
Requirement
• To move (linear or rotary )motor from point A to B
• Generate a trajectory (periodic position command )
• Smooth motion
• As fast as possible
• Limit jerks, acceleration and speed to specified value
• Load inertia is known but variable
copyright 2011 controltrix corp www. controltrix.com
Requirements.
• Minimum distance A to B can be small
• Real time computation (though motor is running)
• Long trajectories are possible (limited processor memory real
time while motor is moving calculations)
• Trajectories are always from standstill to standstill
• Trajectory is defined as instantaneous value of position, velocity
and acceleration to be commanded to the control system
copyright 2011 controltrix corp www. controltrix.com
• Floating point (Pseudo (IQ) or true) support
• Digital signal processor (finite periodic sampling time ~ 1ms)
• Memory is limited to 500 samples
• Trajectory generation and data use occurs in a circular buffer
• Trajectory generation will fill buffer (provided it is empty ) at 10 X
data consumption
Given
copyright 2011 controltrix corp www. controltrix.com
Divide trajectory into regimes
e.g. for positive direction movement
• Constant positive jerk (acceleration increase )
• Constant positive acceleration (vel increase ,jerk =0)
• Constant negative jerk (acceleration decrease to 0)
• Constant positive velocity(cruise mode) (jerk=0,acc=0)
• midpoint
Method
copyright 2011 controltrix corp www. controltrix.com
• Constant positive velocity (cruise mode) (jerk=0,acc=0)
• Constant negative jerk (acceleration decrease to –ve value)
• Constant negative acceleration (vel decrease ,jerk = 0 )
• Constant positive jerk (acceleration increase to 0)
• Stop is position B
Method.
copyright 2011 controltrix corp www. controltrix.com
Ideal case
Zone 1 2 3 4 5 6 7 8
Zone1: Standby
Zone2: Const +ive jerk
Zone3: Const +ive acc
Zone4: Const -ive jerk
Zone5: Const vel
Zone6: Const -ive jerk
Zone7: Const -ive acc
Zone8: Const +ive jerk
Jerk
velocity
position
acceleration
copyright 2011 controltrix corp www. controltrix.com
Simple calculations using basic equations of motion
a(k) = a(k-1) + J(k-1).T
v(k) = v(k-1) +a(k-1).T
S(k) =S(k-1) + v(k-1).T + 1/2 . a(k-1) . T . T
Where
J=jerk ,a = acc, v =velocity ,S = position
Mirror image based solution
Real time computation (with motor running)
Limiting to maximum permissible limits for (j, a, v)
Advantages
copyright 2011 controltrix corp www. controltrix.com
• Overshoot /undershoot at the end (numerical errors , finite
sampling, slight unsymmetry between the first and second half) do
not allow velocity and acceleration to converge to 0 simultaneously
• Small Span trajectories cannot be supported (as midpoint can be
hit before cruise mode)
• Variable inertia -> maximum acceleration varies  hence span
varies
• Jerky trajectory termination
Challenges
copyright 2011 controltrix corp www. controltrix.com
Zone 1 2 3 4 5 6 7 8 9 10
Undershoot due to numerical errors
Zone1: Init
Zone2: Const +ive jerk
Zone3: Const +ive acc
Zone4: Const -ive jerk
Zone5: Const vel
Zone6: Const -ive jerk
Zone7: Const -ive acc
Zone8: Const +ive jerk
Jerk
velocity
position
acceleration
A
B
midpoint
copyright 2011 controltrix corp www. controltrix.com
Jerk
acceleration
velocity
position
B
A
Zone 1 2 3 4 5 6 7 8 9 10
Overshoot due to numerical errors
Zone1: Init
Zone2: Const +ive jerk
Zone3: Const +ive acc
Zone4: Const -ive jerk
Zone5: Const vel
Zone6: Const -ive jerk
Zone7: Const -ive acc
Zone8: Const +ive jerk
midpoint
copyright 2011 controltrix corp www. controltrix.com
• Real time compensation for over/undershoot for smooth
termination
• Smooth correction
• Errors due to discrepancies in symmetry fixed in real time
Proposed method
copyright 2011 controltrix corp www. controltrix.com
• Smaller spans supported (by backward scaling)
• Variable inertia programmable (by scaling)
• Trajectory is almost always nearly symmetric
• Simple computation
• Fixed and floating point implementations
Proposed method
copyright 2011 controltrix corp www. controltrix.com
Minimum span
Zone 1 2 3 4 5 6 7 8
Zone1: Init
Zone2: Const +ive jerk
Zone3: Const +ive acc
Zone4: Const -ive jerk
Zone5: Const vel
Zone6: Const -ive jerk
Zone7: Const -ive acc
Zone8: Const +ive jerk
midpoint
copyright 2011 controltrix corp www. controltrix.com
• Servo motor drives
• Machine tool industry
• Position control
• Robotics
Target Application
copyright 2011 controltrix corp www. controltrix.com
Experimental Results
• 30 revolutions
• 3X inertia
• forward direction
• 3200 rpm cruise
speed
Red : actual velocity
Blue: actual position
copyright 2011 controltrix corp www. controltrix.com
Experimental Results.
• 30 revolutions
• 3X inertia
• 3200 rpm cruise speed
• opposite direction
Red : actual velocity
Blue: actual position
copyright 2011 controltrix corp www. controltrix.com
Experimental Results..
Red : velocity
Blue: position
• 5 revolutions
• 3X inertia
• 3200 rpm cruise speed
• span near limiting span
Red : actual velocity
Blue: actual position
copyright 2011 controltrix corp www. controltrix.com
Experimental Results…
• 5 revolutions
• 3X inertia
• 3200 rpm cruise speed
• near limiting span
• opposite direction
Red : actual velocity
Blue: actual position
copyright 2011 controltrix corp www. controltrix.com
Thank You
www.controltrix.com

Contenu connexe

En vedette

Projects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.comProjects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.comcontroltrix
 
Digitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensationDigitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensationcontroltrix
 
Prac - Current & voltage in a circuit
Prac - Current & voltage in a circuitPrac - Current & voltage in a circuit
Prac - Current & voltage in a circuitcristalbeam
 
Current mode circuits & voltage mode circuits
Current mode circuits & voltage mode circuits Current mode circuits & voltage mode circuits
Current mode circuits & voltage mode circuits Kevin Gajera
 

En vedette (6)

Trixboxguide
TrixboxguideTrixboxguide
Trixboxguide
 
Projects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.comProjects completed and value addition. controltrix.com
Projects completed and value addition. controltrix.com
 
Digitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensationDigitally controlled power supply - a perspective on slope compensation
Digitally controlled power supply - a perspective on slope compensation
 
Prac - Current & voltage in a circuit
Prac - Current & voltage in a circuitPrac - Current & voltage in a circuit
Prac - Current & voltage in a circuit
 
NI Presenation Delta
NI Presenation DeltaNI Presenation Delta
NI Presenation Delta
 
Current mode circuits & voltage mode circuits
Current mode circuits & voltage mode circuits Current mode circuits & voltage mode circuits
Current mode circuits & voltage mode circuits
 

Similaire à Trajectory generation for Servo motor drives

Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesanusheel nahar
 
Handheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometerHandheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometercontroltrix
 
Handheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometerHandheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometeranusheel nahar
 
Servo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking errorServo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking errorcontroltrix
 
Filtering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking errorFiltering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking erroranusheel nahar
 
Embedded Programming for Quadcopters
Embedded Programming for QuadcoptersEmbedded Programming for Quadcopters
Embedded Programming for QuadcoptersRyan Boland
 
Pic18 f4520 and robotics
Pic18 f4520 and roboticsPic18 f4520 and robotics
Pic18 f4520 and roboticsSiddhant Chopra
 
Trixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problemsTrixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problemscontroltrix
 
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...controltrix
 
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...anusheel nahar
 
Kollmorgen .servostar600 with_gold_line_xt_tb_catalog
Kollmorgen .servostar600 with_gold_line_xt_tb_catalogKollmorgen .servostar600 with_gold_line_xt_tb_catalog
Kollmorgen .servostar600 with_gold_line_xt_tb_catalogElectromate
 
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusionGlobal Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusionanusheel nahar
 
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusionGlobal Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusioncontroltrix
 
Advanced Motor Control Technologies – Part 2
Advanced Motor Control Technologies – Part 2Advanced Motor Control Technologies – Part 2
Advanced Motor Control Technologies – Part 2Design World
 
Symposium Poster Final
Symposium Poster FinalSymposium Poster Final
Symposium Poster FinalWasseem Bel
 
Kollmorgen servostar600 with_gold_line_bhmh_tb_catalog
Kollmorgen servostar600 with_gold_line_bhmh_tb_catalogKollmorgen servostar600 with_gold_line_bhmh_tb_catalog
Kollmorgen servostar600 with_gold_line_bhmh_tb_catalogElectromate
 
KnightGearCDR.pptx
KnightGearCDR.pptx KnightGearCDR.pptx
KnightGearCDR.pptx GobhinathS
 

Similaire à Trajectory generation for Servo motor drives (20)

Trajectory generation for Servo motor drives
Trajectory generation for Servo motor drivesTrajectory generation for Servo motor drives
Trajectory generation for Servo motor drives
 
Handheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometerHandheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometer
 
Handheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometerHandheld device motion tracking using MEMS gyros and accelerometer
Handheld device motion tracking using MEMS gyros and accelerometer
 
Servo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking errorServo Motor Drive Velocity Tracking-Reducing tracking error
Servo Motor Drive Velocity Tracking-Reducing tracking error
 
Filtering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking errorFiltering servo motor- Reducing velocity tracking error
Filtering servo motor- Reducing velocity tracking error
 
Embedded Programming for Quadcopters
Embedded Programming for QuadcoptersEmbedded Programming for Quadcopters
Embedded Programming for Quadcopters
 
Pic18 f4520 and robotics
Pic18 f4520 and roboticsPic18 f4520 and robotics
Pic18 f4520 and robotics
 
Trixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problemsTrixboxbeta - One stop solution for all your design problems
Trixboxbeta - One stop solution for all your design problems
 
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
Velocity Estimation from noisy Measurements - Sensor fusion using modified Ka...
 
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
Velocity Estimation from noisy Measurements-Sensor fusion using modified Kalm...
 
Kollmorgen .servostar600 with_gold_line_xt_tb_catalog
Kollmorgen .servostar600 with_gold_line_xt_tb_catalogKollmorgen .servostar600 with_gold_line_xt_tb_catalog
Kollmorgen .servostar600 with_gold_line_xt_tb_catalog
 
Global Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusionGlobal Positioning System ++_Improved GPS using sensor data fusion
Global Positioning System ++_Improved GPS using sensor data fusion
 
Global Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusionGlobal Positioning System ++ : Improved GPS using sensor data fusion
Global Positioning System ++ : Improved GPS using sensor data fusion
 
Advanced Motor Control Technologies – Part 2
Advanced Motor Control Technologies – Part 2Advanced Motor Control Technologies – Part 2
Advanced Motor Control Technologies – Part 2
 
Robotics - introduction to Robotics
Robotics -  introduction to Robotics  Robotics -  introduction to Robotics
Robotics - introduction to Robotics
 
Symposium Poster Final
Symposium Poster FinalSymposium Poster Final
Symposium Poster Final
 
Lecture2
Lecture2Lecture2
Lecture2
 
Kollmorgen servostar600 with_gold_line_bhmh_tb_catalog
Kollmorgen servostar600 with_gold_line_bhmh_tb_catalogKollmorgen servostar600 with_gold_line_bhmh_tb_catalog
Kollmorgen servostar600 with_gold_line_bhmh_tb_catalog
 
KnightGearCDR.pptx
KnightGearCDR.pptx KnightGearCDR.pptx
KnightGearCDR.pptx
 
Cruise Control
Cruise ControlCruise Control
Cruise Control
 

Plus de controltrix

Interior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveInterior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor drivecontroltrix
 
3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)controltrix
 
Controltrix- We make control solutions easier
Controltrix- We make control solutions easierControltrix- We make control solutions easier
Controltrix- We make control solutions easiercontroltrix
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive systemcontroltrix
 
High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback controltrix
 
Digital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner casesDigital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner casescontroltrix
 

Plus de controltrix (6)

Interior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor driveInterior Permanent Magnet (IPM) motor drive
Interior Permanent Magnet (IPM) motor drive
 
3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)3 Phase Power Factor Correction (PFC)
3 Phase Power Factor Correction (PFC)
 
Controltrix- We make control solutions easier
Controltrix- We make control solutions easierControltrix- We make control solutions easier
Controltrix- We make control solutions easier
 
Bldc motor drive system
Bldc motor drive systemBldc motor drive system
Bldc motor drive system
 
High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback High frequency Sine wave inverter -Challenges in voltage feedback
High frequency Sine wave inverter -Challenges in voltage feedback
 
Digital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner casesDigital Power Factor Correction - Handling the corner cases
Digital Power Factor Correction - Handling the corner cases
 

Dernier

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Dernier (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Trajectory generation for Servo motor drives

  • 1. copyright 2011 controltrix corp www. controltrix.com www.controltrix.com Trajectory generation for Servo motor drives
  • 2. copyright 2011 controltrix corp www. controltrix.com Requirement • To move (linear or rotary )motor from point A to B • Generate a trajectory (periodic position command ) • Smooth motion • As fast as possible • Limit jerks, acceleration and speed to specified value • Load inertia is known but variable
  • 3. copyright 2011 controltrix corp www. controltrix.com Requirements. • Minimum distance A to B can be small • Real time computation (though motor is running) • Long trajectories are possible (limited processor memory real time while motor is moving calculations) • Trajectories are always from standstill to standstill • Trajectory is defined as instantaneous value of position, velocity and acceleration to be commanded to the control system
  • 4. copyright 2011 controltrix corp www. controltrix.com • Floating point (Pseudo (IQ) or true) support • Digital signal processor (finite periodic sampling time ~ 1ms) • Memory is limited to 500 samples • Trajectory generation and data use occurs in a circular buffer • Trajectory generation will fill buffer (provided it is empty ) at 10 X data consumption Given
  • 5. copyright 2011 controltrix corp www. controltrix.com Divide trajectory into regimes e.g. for positive direction movement • Constant positive jerk (acceleration increase ) • Constant positive acceleration (vel increase ,jerk =0) • Constant negative jerk (acceleration decrease to 0) • Constant positive velocity(cruise mode) (jerk=0,acc=0) • midpoint Method
  • 6. copyright 2011 controltrix corp www. controltrix.com • Constant positive velocity (cruise mode) (jerk=0,acc=0) • Constant negative jerk (acceleration decrease to –ve value) • Constant negative acceleration (vel decrease ,jerk = 0 ) • Constant positive jerk (acceleration increase to 0) • Stop is position B Method.
  • 7. copyright 2011 controltrix corp www. controltrix.com Ideal case Zone 1 2 3 4 5 6 7 8 Zone1: Standby Zone2: Const +ive jerk Zone3: Const +ive acc Zone4: Const -ive jerk Zone5: Const vel Zone6: Const -ive jerk Zone7: Const -ive acc Zone8: Const +ive jerk Jerk velocity position acceleration
  • 8. copyright 2011 controltrix corp www. controltrix.com Simple calculations using basic equations of motion a(k) = a(k-1) + J(k-1).T v(k) = v(k-1) +a(k-1).T S(k) =S(k-1) + v(k-1).T + 1/2 . a(k-1) . T . T Where J=jerk ,a = acc, v =velocity ,S = position Mirror image based solution Real time computation (with motor running) Limiting to maximum permissible limits for (j, a, v) Advantages
  • 9. copyright 2011 controltrix corp www. controltrix.com • Overshoot /undershoot at the end (numerical errors , finite sampling, slight unsymmetry between the first and second half) do not allow velocity and acceleration to converge to 0 simultaneously • Small Span trajectories cannot be supported (as midpoint can be hit before cruise mode) • Variable inertia -> maximum acceleration varies  hence span varies • Jerky trajectory termination Challenges
  • 10. copyright 2011 controltrix corp www. controltrix.com Zone 1 2 3 4 5 6 7 8 9 10 Undershoot due to numerical errors Zone1: Init Zone2: Const +ive jerk Zone3: Const +ive acc Zone4: Const -ive jerk Zone5: Const vel Zone6: Const -ive jerk Zone7: Const -ive acc Zone8: Const +ive jerk Jerk velocity position acceleration A B midpoint
  • 11. copyright 2011 controltrix corp www. controltrix.com Jerk acceleration velocity position B A Zone 1 2 3 4 5 6 7 8 9 10 Overshoot due to numerical errors Zone1: Init Zone2: Const +ive jerk Zone3: Const +ive acc Zone4: Const -ive jerk Zone5: Const vel Zone6: Const -ive jerk Zone7: Const -ive acc Zone8: Const +ive jerk midpoint
  • 12. copyright 2011 controltrix corp www. controltrix.com • Real time compensation for over/undershoot for smooth termination • Smooth correction • Errors due to discrepancies in symmetry fixed in real time Proposed method
  • 13. copyright 2011 controltrix corp www. controltrix.com • Smaller spans supported (by backward scaling) • Variable inertia programmable (by scaling) • Trajectory is almost always nearly symmetric • Simple computation • Fixed and floating point implementations Proposed method
  • 14. copyright 2011 controltrix corp www. controltrix.com Minimum span Zone 1 2 3 4 5 6 7 8 Zone1: Init Zone2: Const +ive jerk Zone3: Const +ive acc Zone4: Const -ive jerk Zone5: Const vel Zone6: Const -ive jerk Zone7: Const -ive acc Zone8: Const +ive jerk midpoint
  • 15. copyright 2011 controltrix corp www. controltrix.com • Servo motor drives • Machine tool industry • Position control • Robotics Target Application
  • 16. copyright 2011 controltrix corp www. controltrix.com Experimental Results • 30 revolutions • 3X inertia • forward direction • 3200 rpm cruise speed Red : actual velocity Blue: actual position
  • 17. copyright 2011 controltrix corp www. controltrix.com Experimental Results. • 30 revolutions • 3X inertia • 3200 rpm cruise speed • opposite direction Red : actual velocity Blue: actual position
  • 18. copyright 2011 controltrix corp www. controltrix.com Experimental Results.. Red : velocity Blue: position • 5 revolutions • 3X inertia • 3200 rpm cruise speed • span near limiting span Red : actual velocity Blue: actual position
  • 19. copyright 2011 controltrix corp www. controltrix.com Experimental Results… • 5 revolutions • 3X inertia • 3200 rpm cruise speed • near limiting span • opposite direction Red : actual velocity Blue: actual position
  • 20. copyright 2011 controltrix corp www. controltrix.com Thank You www.controltrix.com