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.

TMS320F28069M: Questions about Motorware Lab21-IPD_HFI

Part Number: TMS320F28069M
Other Parts Discussed in Thread: MOTORWARE

Hi all,

     I encounter some questions as below when I debug the Lab21 of motorware. Hope you can give me any advice if you know about these.

1. Which control mode (current/speed/position) can this lab operation? if Lab21 can run in different control  mode, how to change control mode and set reference?

2. I found two figures of HFI current wave in "InstaSpin_labs.pdf" as below. Are they from same test condition?   I think they look very different.  

figure 1:

  

figure 2:

3. What is the function of parameter "gThrottle_Result"? Does it influence the IPD_HFI effects?

4. I want to evaluate the effects of IPD_HFI function when rotor is standstill,   How to judge the IPD_HFI operation is finish and how to read the result of angle position from IPD_HFI?

 

Thanks!

 

  • 1. It's a sensorless FOC, doesn't support position control. Refer to lab05a and lab05b to set torque or speed control mode.
    2. Figure 2 is the zoom out of figure 1.
  • Hi Yanming, 

         You mean set  the parameter "gMotorVars.Flag_enableSpeedCtrl"  to enable speed control, right? 

         flag_enableSpeedCtrl = EST_doSpeedCtrl(estHandle) & gMotorVars.Flag_enableSpeedCtrl;  // proj_lab21.c    line 812:

         In current control mode, how to set the reference?  gThrottle_Result?

         Do you know what is the flag about the finish of IPD_HFI?
        

         Thanks!