SlideShare ist ein Scribd-Unternehmen logo
1 von 22
Control position for servo motor Ac withTI Dsp f28335. (Id and Iq model)
(http://processors.wiki.ti.com/index.php/TMS320C2000_Motor_Control_Primer)
It is the original speed control with a fourth pid for position control. And a second
qep2 module to have the real position count.
http://tbirobotics.com/download/---> HVPM_Sensored-SIVA.c
The problem is that motor spins abruptly. Motor damages. Ever have overshoot
at end profile. I add a little low pass filter to init more smoothly ( not a fast 0 to 1).
Now motor does not damage. (see clear blue line)
The same before in matlab figure. All are real time measures. The PID works
bad. Impossible to get better adjusting parameters.
People use S-curve instead of 0-1 transitions for comanded position control
motor. This is an example that uses Adept robots.
EXAMPLE 1: Maxon motor.
EPOS_Application_Note_Position_Regulation_with_Feed_Forward_En.pdf
EXAMPLE 2: Parker
ServoFundamentals.pdf
EXAMPLE 3a: Delta Tau.
PMACTUNINGPRO.pdf This model use discrete formulation, how uses dsp.
EXAMPLE 3b: Delta Tau.
Turbo PMAC User Manual.pdf
Observe the two parameters Kvff and Kaff. Gains of speed and acc profiles.
I will use these parameters.
EXAMPLE 4: Kollmorgen
Kollmorgen AKD_User_Guide_(Parameter_Command-Fieldbus)_en-us Rev
G.pdf
Alternative 1a: Jacques Richalet propose use PFC.
The trajectory of reference is
Alternative 1b: Jacques Richalet propose for motor control a cascade of three
PFC.
Now for motor position control I generate 3 profiles on Pc at real time. I send by
usb. I inject them on the three pid loops.
If I only use the position profile (newpi_iq.Kff = 0 ; newpi_spd.Kff= 0), I have a
delay between comanded position and real position ( blue lines)
If I use the three profiles (newpi_iq.Kff = 1.8 ; newpi_spd.Kff= 0.58), the delay
between commanded and real position is minimal.
The problem is than with short cicles, the robot-slide have a real limit of 60
pieces for minute, to work with precision and smoothly.
If the s-curve is shorter, then the control is not good. At the end of movement,
the slide have oscilations ever different. The movement is not smoothly neither
precise.
Now the pi that I use is from Ti motor library.
Pag 5 of DMC MATH.pdf
Pag 2 of DMC MATH.pdf modified to incorporate Kff
Pag 2 of DMC MATH.pdf modified to incorporate Kff
Pag 1 of file NEWPI.H
The macro is not complicated for pi
The use of pi macro is very simple.
file HVPM_Sensored-SIVA.c
To Jacques:
The macro for PFC which would it be?
Will be complicated?
The profiles will be derived from exponentials?

Weitere ähnliche Inhalte

Andere mochten auch

Starlah-Rose Endangered Species
Starlah-Rose Endangered SpeciesStarlah-Rose Endangered Species
Starlah-Rose Endangered Species
ebbett
 
Derechos fundamentales en el derecho de la información
Derechos fundamentales en el derecho de la informaciónDerechos fundamentales en el derecho de la información
Derechos fundamentales en el derecho de la información
Johaquin Bartra
 
10221資訊新科技發展趨勢
10221資訊新科技發展趨勢10221資訊新科技發展趨勢
10221資訊新科技發展趨勢
雅婷 楊
 
Case study: Loạn sản xơ sọ hàm mặt
Case study:  Loạn sản xơ sọ hàm mặtCase study:  Loạn sản xơ sọ hàm mặt
Case study: Loạn sản xơ sọ hàm mặt
Phòng Khám An Nhi
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
supakeat
 

Andere mochten auch (14)

Starlah-Rose Endangered Species
Starlah-Rose Endangered SpeciesStarlah-Rose Endangered Species
Starlah-Rose Endangered Species
 
Derechos fundamentales en el derecho de la información
Derechos fundamentales en el derecho de la informaciónDerechos fundamentales en el derecho de la información
Derechos fundamentales en el derecho de la información
 
Fdfp conf 2013_presentation
Fdfp conf 2013_presentationFdfp conf 2013_presentation
Fdfp conf 2013_presentation
 
ISARCAMP: elance / Katrin Hippler - shareconomy in der arbeitswelt
ISARCAMP: elance / Katrin Hippler - shareconomy in der arbeitsweltISARCAMP: elance / Katrin Hippler - shareconomy in der arbeitswelt
ISARCAMP: elance / Katrin Hippler - shareconomy in der arbeitswelt
 
Kalrashukla ICSE SSC X Classes Prospectus
Kalrashukla ICSE SSC X Classes Prospectus Kalrashukla ICSE SSC X Classes Prospectus
Kalrashukla ICSE SSC X Classes Prospectus
 
10221資訊新科技發展趨勢
10221資訊新科技發展趨勢10221資訊新科技發展趨勢
10221資訊新科技發展趨勢
 
Case study: Loạn sản xơ sọ hàm mặt
Case study:  Loạn sản xơ sọ hàm mặtCase study:  Loạn sản xơ sọ hàm mặt
Case study: Loạn sản xơ sọ hàm mặt
 
Cómo entrar en Hotmail (1/2)
Cómo entrar en Hotmail (1/2)Cómo entrar en Hotmail (1/2)
Cómo entrar en Hotmail (1/2)
 
Monsanto
MonsantoMonsanto
Monsanto
 
in the eye of the bull
in the eye of the bullin the eye of the bull
in the eye of the bull
 
MA defense presentation
MA defense presentationMA defense presentation
MA defense presentation
 
First aid kit
First aid kitFirst aid kit
First aid kit
 
โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์โครงงานคอมพิวเตอร์
โครงงานคอมพิวเตอร์
 
Rrr roundtable
Rrr roundtableRrr roundtable
Rrr roundtable
 

Ähnlich wie Control position for servo motor

D0255033039
D0255033039D0255033039
D0255033039
theijes
 
Plc and hmi based stenter machine poster
Plc and hmi based stenter machine posterPlc and hmi based stenter machine poster
Plc and hmi based stenter machine poster
Rakshita Upadhyay
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronics
Alex Folz
 
Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)
Ronza Sameer
 
Robotics Report final.compressed (1)
Robotics Report final.compressed (1)Robotics Report final.compressed (1)
Robotics Report final.compressed (1)
Kael Kristjanson
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond Brunkow
 

Ähnlich wie Control position for servo motor (20)

Pid controller
Pid controllerPid controller
Pid controller
 
LinuxCNC for Fun & Profit
LinuxCNC for Fun & ProfitLinuxCNC for Fun & Profit
LinuxCNC for Fun & Profit
 
D0255033039
D0255033039D0255033039
D0255033039
 
Plc and hmi based stenter machine poster
Plc and hmi based stenter machine posterPlc and hmi based stenter machine poster
Plc and hmi based stenter machine poster
 
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
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronics
 
Analysis and Design of Conventional Controller for Speed Control of DC Motor ...
Analysis and Design of Conventional Controller for Speed Control of DC Motor ...Analysis and Design of Conventional Controller for Speed Control of DC Motor ...
Analysis and Design of Conventional Controller for Speed Control of DC Motor ...
 
CE150--Hongyi Huang
CE150--Hongyi HuangCE150--Hongyi Huang
CE150--Hongyi Huang
 
Computer numerical controlled machine project
Computer numerical controlled machine projectComputer numerical controlled machine project
Computer numerical controlled machine project
 
Pi controller ieee format
Pi controller ieee formatPi controller ieee format
Pi controller ieee format
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning
 
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLABDesign of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
Design of Fuzzy Logic Controller for Speed Regulation of BLDC motor using MATLAB
 
Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24
 
Reviews of Cascade Control of Dc Motor with Advance Controller
Reviews of Cascade Control of Dc Motor with Advance ControllerReviews of Cascade Control of Dc Motor with Advance Controller
Reviews of Cascade Control of Dc Motor with Advance Controller
 
Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)Report no.6..(bipolar motor n DC motor)
Report no.6..(bipolar motor n DC motor)
 
Robotics Report final.compressed (1)
Robotics Report final.compressed (1)Robotics Report final.compressed (1)
Robotics Report final.compressed (1)
 
Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15Raymond.Brunkow-Project-EEL-3657-Sp15
Raymond.Brunkow-Project-EEL-3657-Sp15
 
Speed control of Separately Excited DC Motor using various Conventional Contr...
Speed control of Separately Excited DC Motor using various Conventional Contr...Speed control of Separately Excited DC Motor using various Conventional Contr...
Speed control of Separately Excited DC Motor using various Conventional Contr...
 
Self-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed ControlSelf-Tuning Fuzzy PID Design for BLDC Speed Control
Self-Tuning Fuzzy PID Design for BLDC Speed Control
 
Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...Optimal and pid controller for controlling camera’s position in unmanned aeri...
Optimal and pid controller for controlling camera’s position in unmanned aeri...
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 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...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Control position for servo motor

  • 1. Control position for servo motor Ac withTI Dsp f28335. (Id and Iq model) (http://processors.wiki.ti.com/index.php/TMS320C2000_Motor_Control_Primer) It is the original speed control with a fourth pid for position control. And a second qep2 module to have the real position count. http://tbirobotics.com/download/---> HVPM_Sensored-SIVA.c
  • 2. The problem is that motor spins abruptly. Motor damages. Ever have overshoot at end profile. I add a little low pass filter to init more smoothly ( not a fast 0 to 1). Now motor does not damage. (see clear blue line)
  • 3. The same before in matlab figure. All are real time measures. The PID works bad. Impossible to get better adjusting parameters.
  • 4. People use S-curve instead of 0-1 transitions for comanded position control motor. This is an example that uses Adept robots.
  • 5. EXAMPLE 1: Maxon motor. EPOS_Application_Note_Position_Regulation_with_Feed_Forward_En.pdf
  • 7. EXAMPLE 3a: Delta Tau. PMACTUNINGPRO.pdf This model use discrete formulation, how uses dsp.
  • 8. EXAMPLE 3b: Delta Tau. Turbo PMAC User Manual.pdf Observe the two parameters Kvff and Kaff. Gains of speed and acc profiles. I will use these parameters.
  • 9. EXAMPLE 4: Kollmorgen Kollmorgen AKD_User_Guide_(Parameter_Command-Fieldbus)_en-us Rev G.pdf
  • 10. Alternative 1a: Jacques Richalet propose use PFC. The trajectory of reference is
  • 11. Alternative 1b: Jacques Richalet propose for motor control a cascade of three PFC.
  • 12. Now for motor position control I generate 3 profiles on Pc at real time. I send by usb. I inject them on the three pid loops.
  • 13. If I only use the position profile (newpi_iq.Kff = 0 ; newpi_spd.Kff= 0), I have a delay between comanded position and real position ( blue lines)
  • 14. If I use the three profiles (newpi_iq.Kff = 1.8 ; newpi_spd.Kff= 0.58), the delay between commanded and real position is minimal.
  • 15. The problem is than with short cicles, the robot-slide have a real limit of 60 pieces for minute, to work with precision and smoothly.
  • 16. If the s-curve is shorter, then the control is not good. At the end of movement, the slide have oscilations ever different. The movement is not smoothly neither precise.
  • 17. Now the pi that I use is from Ti motor library. Pag 5 of DMC MATH.pdf
  • 18. Pag 2 of DMC MATH.pdf modified to incorporate Kff
  • 19. Pag 2 of DMC MATH.pdf modified to incorporate Kff
  • 20. Pag 1 of file NEWPI.H The macro is not complicated for pi
  • 21. The use of pi macro is very simple. file HVPM_Sensored-SIVA.c
  • 22. To Jacques: The macro for PFC which would it be? Will be complicated? The profiles will be derived from exponentials?