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.

TIDA-01606: Current sensor equation

Part Number: TIDA-01606

Dear all,

I'd like to ask about current sensor equation.

When I checked the schematics, the current sensor is shown like below.

And this is CCS code.

where variables are define like the below.


#define TINV_CURRENT_OFFSET_PU ((float32_t)0.5)

#define TINV_ADC_PU_SCALE_FACTOR ((float32_t)0.000244140625)

Can you explain the relationship between CCS code and equation?

and then what is Rf and Re?


Best regards,

  • Hi Mingi,

    following you find my answers

    Can you explain the relationship between CCS code and equation?

    TINV_ADC_PU_SCALE_FACTOR is equal to 1/4096 and it is coming from the 12 bit resolution of the ADC.

    Basically, you take out the measurement from the ADC, which i between 0 and 4096. Later you multiply by the scaling factor and subtract an offset to obtain a per unit measurement between -1 and 1. You need the measurement to be between 1 and -1 because the measured current can be negative and positive.

    and then what is Rf and Re?

    Rf is R26  and Re is R19.

    Thanks

    Best Regards

    Riccardo