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.

CCS/TMS320F28069: InstaSPIN Motor Solutions Auto tune Flux error

Part Number: TMS320F28069

Tool/software: Code Composer Studio

I am trying to do an autotune with a small 1HP AC motor that I successfully tuned with the original HVMTR development kit.  I am now using our own hardware with the 28069 and trying to do an autotune of the same motor.  The original values that resulted from the autotune were as follows:

Rr  .903 Ohm

Rs 2.335 Ohm

Ld 35.500 mH

Lq 35.500 mH

IdRated 1.3 A

Flux V/Hz 3.129

Rated Current 3.2 A

Rated Voltage 230 V

RoverL 65.7

Base Freq 60 Hz

Voltage Scale 625 V

Current Scale 20 A

Max Current 5.0 A

iq Full Scale Current 5.0 A

iq Full Scale Voltage 468.75 V

BusV 322.0 V

With the new hardware, the autotune more often than not will fail at the conclusion of the RatedFlux tuning with a fluxError.

Prior to the error, the motor reacts predictably.

RoverL usually around 83  (which is a little high)

Rs state appears normal

RampUp, motor ramps up as expected

IdRated, 1.0A

RatedFlux, 3.2/3.3 values are shown during the RatedFlux tuning which is reasonable

When the fluxError occurs, the value is suddenly .118; during the IdRated and RatedFlux steps, the motor spins as expected.

The voltage filter pole Hz is 198.3

Thank you in advance for any suggestions or help!

Sandy

  • Hi Sandy,

    You can try to change the USER_MOTOR_MAGNETIZING_CURRENT, USER_MOTOR_IND_EST_CURRENT and USER_MOTOR_FLUX_EST_FREQ_Hz first, and change the filter capacitor of voltage sampling to set the voltage filter pole is about 300~500Hz. If not any improvement, you have to check and improve the current and voltage sampling circuit.
  • Hi Sandy,
    What's update on your side? Did you do more further test?
  • Hi Yanming,

    Thank you for following up.  Yes, I am continuing testing.  I am still getting the flux error towards the end of the auto tune rated flux step.

    Below is a an excel graph of debug data captured from our drive.  This is a circular set of data.  You can see the end point approximately half way through.  The three phase voltages are the raw 12 bit ADCs with no conversion and are graphed based on the right axis along with the angle.  The three currents are after scaling and are based on the left axis.

    /cfs-file/__key/communityserver-discussions-components-files/171/2577.PiccoloDebugFilterBonly.xls

    Changes/Additions from my original message are as follows:

    iq Full Scale Current 10.0 A

    phase voltage scale 534 V

    bus voltage scale 625 V

    iq Full Scale Voltage 468.75

    USER_VOLTAGE_FILTER_POLE_Hz 291.1 Hz

    switching frequency 3.5 Hz

    MOTOR_FLUX_EST_FREQ_Hz 2.0

    Excitation Current 1.0 A

    Motor Rated Current 3.2 A

    Thank you very much for all your help!

    Sandy