Skip to main content
Thomas Carrington
Associate III
January 20, 2018
Solved

ADC Current sensing using a Potential Divider

  • January 20, 2018
  • 7 replies
  • 3654 views
Posted on January 20, 2018 at 16:48

Hi All,

I'm going to be building a motor control circuit, and what I would like is to be able to monitor the voltage and current going into the motor.

Was going to use the STM32F108's inbuild ADC to measure this, so I am limited to an input voltage of ~3.3Vs - the motor is going to be connected to a 12V @ ~2A power supply.

From a datasheet that I found on the web, I saw that I can use a potential divider to step down the voltage to within the ADCs input range - Datasheet on the LTC2991 p.25 - shows a circuit with a 0 to 40V & 0 to +/-2.2A power supply.

I understand how the calculation for the voltage resolution is done - its the inverse of the potential divider multiplied by the single point resolution.

I have

NO

idea how the current resolution is calculated and was hoping that someone within this community might be able to educate me on what I am missing in getting to the number stated on this sheet.

Regards,

  Thomas

    This topic has been closed for replies.
    Best answer by Andrew Neil
    Posted on January 20, 2018 at 19:25

    If you're using one of those, it does all the measurements for you, and you jut read the results over the I2C - so you wouldn't be using the STM32's ADC at all.

    IF you want to use 

    the STM32's ADC to measure current, you will  need a current sense amplifier (CSA) to give a usable voltage.

    ST have a range of CSAs: 

    http://www.st.com/en/amplifiers-and-comparators/current-sensing.html?querycriteria=productId=SC1264

      

    7 replies

    Andrew Neil
    Super User
    January 20, 2018
    Posted on January 20, 2018 at 19:10

    The 

    LTC2991

     is not an ST product - so the ST forum is not really the place to be asking for technical support on it!

    You should contact Analog Devices (who recently acquired  Linear Tech) for support with their products...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    January 20, 2018
    Posted on January 20, 2018 at 19:13

     ,

     ,

    http://www.linear.com/product/LTC2991 ♯ techsupport

     ,
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Thomas Carrington
    Associate III
    January 20, 2018
    Posted on January 20, 2018 at 19:19

    My bad ^^;

    Was just using there datasheet as an example of what I had found on the web for down stepping the voltage/current to be within the sensing range of the desired ADC. Though I will get into contact with them and see if they can provide some help.

    Cheers