Possible mistake in PMSM current_controllers in a demo model
2 views (last 30 days)
Show older comments
Massimo Ceraolo
on 1 Sep 2022
Commented: Massimo Ceraolo
on 5 Sep 2022
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.
0 Comments
Accepted Answer
Abhi Shankar Abhinav
on 2 Sep 2022
In thi reference example the controller does not take the cross coupling into account for the closed loop control. For closed control it is not required to formulate the current control with the cross coupling. If you are looking for an example of current controller which has the decoupling feedforward, try Field-Weakening Control (with MTPA) of PMSM.
More Answers (0)
See Also
Categories
Find more on Motor Parameter Estimation and Plant Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!