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.

What the function of the maxAccel in the speed control loop

Other Parts Discussed in Thread: MOTORWARE

Now I'm using the LaunchPad F28027F and 8301.In the motorware examples program,i can't find the function of the maxAccel in the speed control loop.

1:How does it work in the speed loop?  

2:If I change to the current control ,which function would help increase the response speed of the current loop except the PI controller.

Thanks advance.

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

    1. there is a TRAJECTORY module that creates the reference input to the speed controller based on the existing reference and a delta that is generated from the MaxAccel.

    2. you could adjust the current control rate through the DECIMATION section in user.h or increase the Kp gain of the current loops. Or create your own current controllers.