SLLA665 April 2025 MCF8315A , MCF8315C , MCF8315C-Q1 , MCF8315D , MCF8316A , MCF8316C-Q1 , MCF8316D , MCF8329A , MCF8329A-Q1
After pass off to closed loop at a sufficient speed, there can be still some theta error, if the estimator is not fully aligned. The MCF83xx device brings down this theta error to zero, before transitioning to closed loop, at the rate of THETA_ERROR_RAMP_RATE. This state is referred as CLOSED_LOOP_UNALIGNED_STATE. The speed reference in this state follows CL_SLOW_ACC (suggested value is half of CL_ACC) .
Above parameters are to be tuned for a smoother phase current profile in handoff state, this depends on the how IQ_REF_CLOSED_LOOP varies post open loop state, which in turn depends on THETA_ERROR_RAMP_RATE, CL_SLOW_ACC, SPD_LOOP_KP and SPD_LOOP_KI.
The following are few captures to show how the THETA_ERROR_RAMP_RATE affects the IQ_REF_CLOSED_LOOP variations during handoff stage and thus current profile for a given CL_SLOW_ACC, SPD_LOOP_KP and SPD_LOOP_KI. IQ_REF_CLOSED_LOOP is brought out on the DACOUT1 pin of the device.
For THETA_ERROR_RAMP_RATE = 111b, the IQ_REF_CLOSED_LOOP is varying at faster rate, and we observe more oscillations in motor phase current
For THETA_ERROR_RAMP_RATE = 000b, the IQ_REF_CLOSED_LOOP is varying at slower rate, and we observe oscillations getting damped out in motor phase current.