This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IPD_HFI test with Matlab

Other Parts Discussed in Thread: MOTORWARE

Hello,

 

Actually I´m working on my Bachelor Thesis. I tried to test the IPD_HFI and AFSEL Lib that where released with the Motorware Version: 01_01_00_16. To determine the accuracy of the Library I set up an environment with Simulink and the Simscape Library from Mathworks. The TI-TMS320F28069 is included as a PIL.

To simulate the PSM Motor I used the Simscape Model: http://de.mathworks.com/help/physmod/sps/ref/permanentmagnetsynchronousmotor.html

The inductances of this motor are a function of the rotor angle.
The rotor angle detection isn´t working. I think the IPD_HFI lib inject a positive and a negative voltage to differentiate the north from the south pole. The current answers let the lib determine in which position the North Pole is located. According to the polarity of the Voltage the current increases or decreases in a real motor. The matlab model do not support current changes that are dependent to the magnetic field surrounding the coil.

The inductance is only a function of the rotor angle the current do not affect the inductance. I think with this PSM Modell it is not possibly to test your Libary.

Can you confirm this statement?

 

  • I would agree with your findings
  • Hi Tobias,

    I was able to contact some of my colleagues at MathWorks to look at your question.  Here is their feedback and suggestion:

     

    ---

     

    Simscape provides a motor model that allows you to specify inductance as a function of rotor angle and current.  It is the FEM-Parameterized PMSM block in Simscape Electronics.  You can see the documentation for the model here:

     

    http://www.mathworks.com/help/physmod/elec/ref/femparameterizedpmsm.html

     

    If you have inductance data rather than flux linkage data, you would need to write a simple MATLAB script to determine the flux linkage from the inductance data. This would be a better starting point for your test model. Another alternative is to use the PMSM model in ThreePhaseExamples_lib for which you have access to Simscape source code, so you could modify it to support exactly what you need.

     

    ---

     

    Thanks,

    -Brian

  • Hello Brian,

    Thank you for your answer. I have already request a trial version of the Simscape Electronicst to test the FEM-Parameterized PMSM. I did not find the ThreePhaseExamples_lib which you mentioned in your answer. Can you tell me where i have access to this Example?

    Thanks

    Tobias

  • Hi Tobias,

    Just type ThreePhaseExamples_lib at the MATLAB command line to open this library.  See below.

    Cheers,

    -Brian