Skip to content

Trimming, Numerical Linearization and Control example project

License

Notifications You must be signed in to change notification settings

kkkiq/PMSM-Control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMSM-Control

Trimming, Numerical Linearization and Control example project. Project made along with Control Systems laboratory class (2022.2) at Instituto Federal Fluminense (IFF).

On week 1 folder, there is an axample on how to use numerical analysis to search for a desirable operation point (also known as trimming process).

On week 2, I undergo through the numerical linearization process. Prof. Christopher Lum has an amazing source of info about this process here.

On week 3, the trimming and numerical linearization process is done again, but with more complex techniques after the teacher's evaluation. the fmincon() command is used to search for the operation point, and the computation of the matrices are done automatically. At the end, the non-linear PMSM model and its linearization around the operation point are compared.

lin_vs_nonlin

On week 4, we design the controller. The architecture chosen is PI. We use the linear model as plant, and use the state augmentation method to produce a state feedback vector. For more info, check chapter 12 of Ogata's Modern Control Engineering Handbook.

Id_step Iq_step omega_step

On week 5, we briefly try to introduce the concepts of monte carlo simulation, running the nonlinear controlled simulation with noises on its measurements, inputs, and parameters.

About

Trimming, Numerical Linearization and Control example project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages