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.

Want to use individual acceleration and deceleration Hz/sec in Insta-FOC.

Other Parts Discussed in Thread: TMS320F28069F

I am using TMS320F28069F controller in my own board and developing for AC induction motor. I want to use individual acceleration and deceleration Hz/sec in my control system.

There is a USER_MAX_ACCEL_Hzps define variable, but this variable is related same Hz/sec for acceleration and deceleration speed profile.

Anyone have idea how to use individual acceleration and deceleration Hz/sec?

  • Amtec,

    in the user.h this just sets the initial value, you can change the acceleration anytime you like. Notice we added an interface to this variable through the gMotorVars structure, so you have an example of how to do so.

                // set the speed acceleration
                CTRL_setMaxAccel_pu(ctrlHandle,_IQmpy(MAX_ACCEL_KRPMPS_SF,gMotorVars.MaxAccel_krpmps));

    You will just need to have some logic in your application or motion profile that updates the acceleration (which is also deceleration) for the different rates you want to use, based on the change in speed command.  BTW - The SpinTAC suite in InstaSPIN-MOTION is very helpful for just this sort of issue.