Current Measuring


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    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

  2. #2
    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.

  3. #3
    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

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 : 0

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