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 Speciesebbett
 
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ónJohaquin Bartra
 
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 arbeitsweltISARNETZ
 
Kalrashukla ICSE SSC X Classes Prospectus
Kalrashukla ICSE SSC X Classes Prospectus Kalrashukla ICSE SSC X Classes Prospectus
Kalrashukla ICSE SSC X Classes Prospectus Kalrashukla Classes
 
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ặtPhò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

LinuxCNC for Fun & Profit
LinuxCNC for Fun & ProfitLinuxCNC for Fun & Profit
LinuxCNC for Fun & ProfitAlastairDSilva
 
D0255033039
D0255033039D0255033039
D0255033039theijes
 
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 posterRakshita Upadhyay
 
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
 
Folza_paper_mechatronics
Folza_paper_mechatronicsFolza_paper_mechatronics
Folza_paper_mechatronicsAlex Folz
 
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 ...IJERA Editor
 
Computer numerical controlled machine project
Computer numerical controlled machine projectComputer numerical controlled machine project
Computer numerical controlled machine projectMuhammad Zaighum Farooq
 
control system lab 02 - PID tuning
control system lab 02 - PID tuning control system lab 02 - PID tuning
control system lab 02 - PID tuning nalan karunanayake
 
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 MATLABijsrd.com
 
Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24Memo Love
 
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 Controllerijsrd.com
 
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-Sp15Raymond Brunkow
 
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...IJERA Editor
 
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 ControlGRD Journals
 
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...Zac Darcy
 

Ä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

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Kürzlich hochgeladen (20)

Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

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?