Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

DC current is not what i'm expecting PMSM

0 votes

The DC link currents in the DC-AC 3P inverter are not something that I expect. The motor is a 15 pola PMSM. All of the motor parameters are added.

I'm getting a negative current in the DC link, and I suspect the lack of load parameters or something in the regulation segment.

Any help would be appriciated.

Thank you
asked Sep 22, 2020 by qre4ever (16 points)
The user community cannot offer you any help without a model in this case, please provide that if you can.
Hi Krist,

I thought I added it before. Anyways, it's there now :)

1 Answer

0 votes
The big issue here is the alignment of your current reference and the DQ axis convention of the PMSM. Your controller is issuing a d-axis current setpoint, and the result is current in both the d-axis and q-axis.

In the convention used for the PMSM model in PLECS, the q-axis is aligned with phase a winding at rotor angle 0 and leads the d-axis by 90 degrees.  The magnet flux is on the d-axis, so positive q-axis current produces positive torque. It looks like there a phase shift parameter added to the electrical angle to try and address this, but I don't believe it has the intended effect.  Take a look at the DQ current flow in the original model.

Attached is a model where the speed controller output is into the q-axis, and the phase shift parameter you were using was set to zero.

There likely remain some issues for you to sort out, but that was the big change to get positive DC current flow.
answered Sep 25, 2020 by Bryan Lieblick (904 points)