Possible mistake in PMSM current_controllers in a demo model
Mostrar comentarios más antiguos
I refer to "Current_Controllers" block included in
mcb_pmsm_foc_hall_f28069m
It contains internally two individual controllers: d-axis V_ref is the output of PU_Controller_Id, q-axis V_ref is the output of PI_Controller_Iq, as shown in the follwing picture:

This seems to me wrong, since in PMSM there is coupling between d-axis and q-axis.
The PMSM equations are as follows (from Motor Control Blockset official documentation):

I.e., if we neglect resistance and dynamic terms, as is usually done for control system determination:
v_d=-omega*L_q*i_q
v_q=omega*(L_d*i_d+lambda_pm)
so any error on i_q impacts only on v_d, and any error on i_d impacts on v_q.
This is confirmed by the following figure, taken from a reference quoted by Matworks itself in the MCB:

My question is: does anyone agree that this code is wrong? Just in case, does anyone has a fix (i.e. a fixed version) for this PMSM current controller?
Thanks a lot.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Motor Control Blockset en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!