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.

TMS320F28027F: Output phase current at Lab 2b. Instaspin

Part Number: TMS320F28027F

Dear TI

I using 28027F with my own board. I found some difficulty when calibrating the current feedback.  My measured the U and V phase current by using LEM current sensor. What I had done as below

1. User.h setting on the hardware parameters. 

USER_IQ_FULL_SCALE_CURRENT_A         (400.0)

USER_ADC_FULL_SCALE_CURRENT_A        (800.0)

USER_NUM_CURRENT_SENSORS            (2)

 I_A_offset    (0.9941855669)   //value get from lab 3a 
 I_B_offset    (1.00587225)      //value get from lab 3a 

2. Then I run lab 2b with motor, motor spin smooth and my clamp meter at motor side shows around 20A rms value. 

3. Monitored the current feedback signal to the 28027MCU, which my hardware using A2, A7 as U and V phase current feedback.  Signal shows the wave form as pic 1, seems ok.

4. Based on the calculation, (28A/ 400A ) *3.3V= 0.23V, so the wave should have around 460mV p-p. But my CCS Graph shows almost zero value, I also try to make scale between 0.1 to -0.1, also same.(Pic2)

5. In order to confirm on the CCS Graph buffer condition, I try to direct connect A2 to 3.3v and also to 0V. I observed that when connect to the 0v, The CCS graph will drop from 0 to -0.9v, But when I connect to 3.3v, the graph rises from 0v to ~0.2v only which expected value should be ~0.9V. Not sure why its like this. Both signal tested and same result. Can you advise what can cause this kind of issue? I feels more to software.

6. I searched online, some hit shows to run lab 3a, I tested and update the offset value, the current bias for both U and V phase almost the same around ~0.99. 

Need your supporting and advise on my issue.  

Pic 2

 

Pic 1.

  • 1. You should calculate the USER_ADC_FULL_SCALE_CURRENT_A  according to the spec. of the LEM sensor and its signal deal circuit. The sign of convert calculation must be correct as well.

    2. The ADC offset should be calibrated during the motor stops and the phase current equals to 0.

    You have to make sure the above parameters are correct before you want to run lab02b and subsequent labs.

  • Hi YanMing

    Thank you for your advise. When zero current, my voltage will at 1.65V.  As picture shown the wave form shows 572mV p-p (286mVpeak) at level of 1.65V.This wave monitored at the Leg of ADC input to the chip. By right the CCS graph should show wave with value 0.286V But what I monitored was 0 value.   My LEM sensor full adc range is -400A to +400A output 0-3V. So my USER_ADC_FULL_SCALE_CURRENT_A  setting at 800A. should correct. Is their something wrong?

     

    Thank you for your time to help

     

  • The ADC input range of F28027F is 0~3.3V, so you need to calculate the USER_ADC_FULL_SCALE_CURRENT_A  based on the LEM sensor, ADC input range and the gain of the amplifying circuit.

    Please take a look at chapter 5.2 of instaSPIN user's guide (SPRUHJ1H) though it's for shunt resistor.

  • Hi , Yanming Luo. Thank you very much , issue solved.