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/TMDXIDDK379D: Build Level 2 and TripFlagDMC issue

Part Number: TMDXIDDK379D


Tool/software: Code Composer Studio

I am working with a PMSM and am currently working my way through the "Sensored FOC of PMSM_IDDK_v2" pdf document, which has 5 build levels. I am on build level 2, which asks you to adjust VdTesting and Vqtesting. 

My understanding of this level is that you would increase these values until the phase current waveforms distort, and the point of distortion would be the limits of the motor. So:

VdTesting (MAX) = pi_id.UMax

VqTesting (MAX) = pq_iq.UMax

These max values are then set to assist in future build levels, is this correct?

My problem in build level 2 is "TripFlagDMC". The default current value that would trip this flag is set to 8A, but at VdTesting = 0.15 and VqTesting = 0.2, TripFlagDMC triggers shutdown. The problem is that the current draw from the power supply is around 1A, well below the threshold of 8A. 

I don't understand what would cause this flag to trigger, and I cant find an expression to monitor the LEM current sense module. What can i do to better understand this flag as well as more closely monitor the current draw of the motor.

Also, where can i read more about VdTesting and VqTesting, because i do not really understand what they represent at this build level

Thank you