I'm looking for some suggestions


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hello Roddy Wayne,
    It is a matter of measuring the voltage drop across a known resistance, the more voltage lost, the higher the current being used by the load. I would use the ADC to measure the voltage on both sides and subtract the lower from the higher. Build a lookup table with PWM duty cycle calibrations.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    974


    Did you find this post helpful? Yes | No

    Default

    Since you have a RMS-DC converter, I suspect you already know the output current via this dc reading. If this is true, all it takes is a little proportional control to correct the output in relation to the input.

    The PWM will be proportional to the error in the actual output.

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    If you need to measure current, use an Allegro Hall-effect sensor. Isolated, accurate, high-output.
    Charles Linquist

  4. #4
    Join Date
    Apr 2009
    Posts
    18


    Did you find this post helpful? Yes | No

    Default Thanks Jerson!

    Quote Originally Posted by Jerson View Post
    Since you have a RMS-DC converter, I suspect you already know the output current via this dc reading. If this is true, all it takes is a little proportional control to correct the output in relation to the input.

    The PWM will be proportional to the error in the actual output.
    Yes, you are right in assuming that I have detected this current draw correctly. So, I guess I'll need to build a lookup table with the PWM percentages in it.

    Thanks again Jerson!

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