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.

MCF8329EVM: Manual Coding using CCS in 8329A EVM

Part Number: MCF8329EVM
Other Parts Discussed in Thread: MCF8329A

Tool/software:

Hi,

  I just planned to manual code the MCF8329A EVM using the TI Code Composer Studio. Is it possible to code it. Since i don't like to use the TI Motor Studio. Because the Motor Studio can make me frustrated while running the motor. I can't able to achieve my required specification. The motor won't run instead it showing multiple faults like MOTOR_LOCK, ABN_BEMF, CONTROLLER_FAULT, CURRENT_LOOP_SATURATION, SPEED_LOOP_SATURATION like that. 

  Could any one guide me to use the TI Code Composer Studio along with the program guidelines by provide me the library files of the same.

Thanks and Regards,

RAJAPANDI S

  • Hi Rajapandi,

    Motor studio is starting point and helps to tune the device.

    The faults you are sharing are due to tuning issues.

    We have discussed about CURRENT_LOOP_SATURATION, SPEED_LOOP_SATURATION reason as well and they are not real fault but a indicator that DC Bus voltage not sufficient or there is load is higher such that speed can not be reached. In this condition we have increase the ILIMIT if there is scope and still under the rated spec or increase the DC bus voltage. 

    What this means is device already applied maximum modulation and no further increasing it possible.

    Check motor parameters are proper, test at PWM frequency between 20 /25KHz and do not increase more than this.

    External controller is only for programming the registers over I2C.

    Thanks and Best Regards

    Venkatadri S

  • Hello Venkatadri,

        As you said, we need to increase the ILIMIT to maintain the rated spec. Here the actual ILIMIT is already set to 90%. On the first try the motor won't start and showing a fault as ABN_BEMF, CONTROLLER_FAULT, MTR_LCK, etc. After clearing the fault the motor tries to rotate but after few seconds there is a similar faults occurs. After multiple tries then the motor gets runs again.

       The PWM freq set tot 25 kHz, I also tried with 20 kHz but there is no such improvements. 

        We had also tried with another type that, we can start with the lower DC bus Voltage of 24V and increasing it slightly by 32V and 45V. When we increase the DC voltage from 24 V by 1V @ 30V and above the motor gets stopped. Note that we had not stopped the motor until to achieve the 45 V DC bus voltage. The DC bus voltage limit set in the Studio is 60V. The I2C is set to 100% in speed control mode. Also tried with other modes like current control, power control and modulation index control. But nothing will work. 

        I just needs to run the motor as per my requirement. 

        Also confirms that, there is a possibilities that the Ld and Lq angle may be misaligned since it is a FOC based controller. The angle between the Ld and Lq may not be 90 degree to achieve the maximum torque level.

    Please confirms that.

    Thanks and Regards, 

    Rajapandi S

  • Hi Rajapandi,

    Are we discussing for same issue on the other thread, if so we can continue in any one them.

    Thanks and Best Regards,

    Venkatadri S