How to calculate accurate Sample time for PWM generator block & Current Controller (Here I am using Torque Controller with FOC Controller & 3 Phase IPMSM)
27 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
adhavan d
le 16 Août 2023
Réponse apportée : Mohamad Nazir
le 28 Août 2023
Hi,
I don't know how to calculate accurate sample time for PWM generator block & Current Controller.Here i am using FOC with TORQUE controller for three phase ipmsm.
for my project :speed - 9500 rpm , torque -1 Nm, Power - 1.1kw ,Fsw - 16000 Hz.
when i am increased sample time from 10e-5 to 10e-6 for current controller ,machine output's Torque result is without ripples and within limited bandwidth.
when i am increased sample time from 10e-6 to 10e-7 for current controller ,machine output's Torque result is without ripples and within limited bandwidth.and Most torque accurracy level is higher when i am using 10e-7 than 10e-6.
i don't know what is exact sample time for pwm generator and current controller.
I want to know exact sample time for PWM generartor and current controller.
how to choose exact sample time for all project(Please tell any common formula or method for choosing exact sample time for pwm generator and current controlller)
Notes:in my model,i used 50 samples 16000hz*50 samples = 800000 ,Ts=1/800000 = 1.2500e-05 .The torque is dropped after 1 sec for 1nmand 9500 rpm.
when samples are increased greater than 100 ,torque are stabilized.but,i don't know which sample time and samples are best to use for model.
0 commentaires
Réponse acceptée
Mohamad Nazir
le 28 Août 2023
The general rule is Nyquist's theorem which is a sampling frequency at least 10x the frequency of the signal you are trying to sample. For the PWM generator for example it is at least 10x the switching frequency (10x 16000hz).
As for the control loop bandwidth the same logic is applied, in case of current and torque controllers the control loop bandwidth should be at least 10x faster than the electrical time constant of the machine (L/R).
0 commentaires
Plus de réponses (0)
Communautés
Plus de réponses dans Power Electronics Control
Voir également
Catégories
En savoir plus sur C2000 Microcontroller Blockset dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!