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.

Regarding motor_ratedFlux

Other Parts Discussed in Thread: MOTORWARE

Hi Chris and all,

I am using Instaspin-lab5a to control a PMSM. I am trying to understand the use and the function of some parameters.

1) #define USER_MOTOR_RATED_FLUX  

What's the function of USER_MOTOR_RATED_FLUX in motorware ? 

2) #define USER_MOTOR_MAX_CURRENT 

Does motorware has a current limiter using USER_MOTOR_MAX_CURRENT ? But I could not find that kind of limit in CTRL_runOnLine_User, PID_setMinMax  or PID_run.  Or is that use only for errorCode generation ?

Thanks

  • 1. this is a motor parameter ID'd by InstaSPIN and used by FAST to model the motor. The flux is measured during operation and this variable is used to set the "window" to look for the flux value. It is critical for low speed operation of FAST.

    2. this variable sets the maximum output of the speed controller (if it is being used), which sets the maximum IqRef_A command to the torque control system. It is used to set the PID limit through CTRL.
  • Thank you chris,

    One more thing, In my case I am not using FAST estimator to produce electrical angle in lab5a. I am using resolver to measure the rotor angle of the motor and use it to produce electrical angle in CTRL_runOnLine_User. As you have mentioned, the motor_ratedFlux value will not effect to my system. Am I correct?
    And since I am not using FAST estimator to produce electrical angle, I hope voltage sensors are also not be useful in my system. Am I correct?

    thanks
  • correct, rated_flux and the phase voltage measurements are only used by FAST.
    the bus voltage is being used by the SVM though for bus compensation