Current Measuring


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103

    Default Current Measuring

    Hello everyone ;

    I need a simple solution to measure the current of a DC motor of which current changes between 0A - 1A ... Can you suggest me such solutions ? DC motor works with 12V and its RPM is controlled through PWM ...

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: Current Measuring

    The ACS715 measures up to 20 amps of current and converts it into a 0-5 volt signal, 185 mV per amp. It can be buffered with a capacitor to smooth out the a/c element. It is only available as a surface mount SOIC, though:

    http://www.digikey.com/product-detai...1-1-ND/1955903

    I use them for one of my gizmos.

    Mike

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    2,597


    Did you find this post helpful? Yes | No

    Default Re: Current Measuring

    From another forum:

    Microchip has several application guides on their website regarding using the ADC; you should read them.

    Have a look at AN513 and ADN007 for some ideas.
    I remember seeing a design that changed current to voltage using discrete parts, then read that using a PIC.

    Can't remember where I saw that.

    Robert


    Edit: http://www.electronics-lab.com/proje...008/index.html

    0-33V, 0-3A.
    Last edited by Demon; - 6th May 2014 at 17:42. Reason: Link

  4. #4
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Current Measuring

    It's called a resistor, Robert Teasing aside, you simply choose a value such that there is a volt drop you can measure across the shunt resistor that is still small enough to not impact your circuit when the maximum current is flowing.

    Unfortunately with a PWM it's more complicated to figure out what that voltage equivalence really is - first because it's AC, but worse it is a square wave and might be changing a bit fast for the PIC ADC can follow. I'd think along the lines of a shunt resistor with a differential amplifier (op-amp) sensing across it, that charges or discharges a capacitor through a resistor, which is then measured with the ADC. Choose values based on response time needed; fast enough to limit the time the answer is wrong, but slow enough the PIC can follow it. The voltage will be directly proportional to the average current after about 5 time constants.

  5. #5
    Join Date
    Feb 2011
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: Current Measuring

    Many HBridge drivers have motor current sensing (0-5 V) pin outputs --

    ' Dual VNH5019 Motor Driver HBridge http://www.pololu.com/docs/0J49/all

    ' Dual MC33926 Motor Driver HBridge http://www.pololu.com/catalog/product/1213

  6. #6
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103


    Did you find this post helpful? Yes | No

    Default Re: Current Measuring

    Thanks guys .. I've taken care of the problem with ACS715- 05 ... It's got an output of 185 mV/A ... It took care of the problem with a tough kind of ADC reading technique ... Like 500 times of ADC readings for one cycle ... Because it is bloody sensitive ...

    Regards ..

Similar Threads

  1. Measuring DC current
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th January 2009, 18:49
  2. Measuring Resistance
    By jhorsburgh in forum General
    Replies: 4
    Last Post: - 24th September 2008, 09:29
  3. Measuring voltage from a current transformer
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 5th May 2008, 21:19
  4. Measuring time
    By AugustoPedrone in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 30th July 2007, 23:46
  5. measuring current from a photo diode
    By mischl in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 13th November 2005, 14:42

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts