How can i link the powersys domain with my BLDC motor model?

7 views (last 30 days)
Hello I have been working on creating a motor model for BLDC (trapezoidal) motor using d-q frame. It is running fine in motoring mode as i use voltage measurement port to connect to the inverter . But i observed that the current drawn from DC source was 18mA but the motor phase currents were around 4A. I doubt this is because i have not linked powersys domain block to my motor model. Therefore i'm not able to run the motor in regenerative mode while the BLDC motor model from MATLAB works fine. If anyone has clue about this problem it will be very useful. I'm attaching few images

Accepted Answer

Brandon Eidson
Brandon Eidson on 9 Mar 2017
Edited: Brandon Eidson on 10 Mar 2017
Hey Om, the issue you are facing is a common one. I have inspected the model you sent over. The root of the issue if that you are only feeding source (voltage) information from the physical domain to the Simulink model. You are not feeding back any load (current) information from the Simulink Model to the physical domain.
The "power_VariableInductor" model shipped with MATLAB illustrates how to properly interface between Simulink and the physical domain. Please execute that command in your MATLAB Command Window to open the example. Then look under the mask of the "Variable Inductance" subsystem to see how the inductor model is implemented in Simulink and connected to the physical domain.
I have added the proper implementation to the model you sent, and it appears to work as expected. You can find it attached.

More Answers (1)

Christoph Hahn
Christoph Hahn on 1 Mar 2017
Hi Om Sharma,
thanks for your question. Can you please attach your model (or a simplified version of it). This will allow us to reproduce your observation.
Thanks, Cheers Christoph
  1 Comment
Om Sharma
Om Sharma on 1 Mar 2017
Hello sir i have attached the simplified version of my BLDC motor model. Please help me to add & link the powersysdomain in my BLDC motor model.

Sign in to comment.

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!