+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Member level 1
    Points: 594, Level: 5

    Join Date
    Oct 2012
    Posts
    41
    Helped
    0 / 0
    Points
    594
    Level
    5

    Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    Hey everyone i want to measure current and voltage using Pic16f877a for my final year project 'Non intrusive load monitoring system'. I want a simple circuit to convert ac voltage range from 0 - 240 to dc voltage 0 - 5v.... if anyone have proteus simulation and code please share :) Thanks

    •   Alt9th January 2013, 16:46

      advertising

        
       

  2. #2
    Advanced Member level 5
    Points: 33,187, Level: 44
    tpetar's Avatar
    Join Date
    Sep 2010
    Location
    Pancevo, Serbia
    Posts
    6,427
    Helped
    1730 / 1730
    Points
    33,187
    Level
    44

    Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    Its possible on several ways, such as voltage divider, hall sensor for voltage, prim/sec transformer.

    But is there is purpose of measuring 0-240V? Usually voltage oscillations are monitored let say between 160V - 270V.
    “Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla



    •   Alt9th January 2013, 16:50

      advertising

        
       

  3. #3
    Member level 1
    Points: 594, Level: 5

    Join Date
    Oct 2012
    Posts
    41
    Helped
    0 / 0
    Points
    594
    Level
    5

    Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    well measuring fluctuation between 160v to 270v would be ok too ...



    •   Alt9th January 2013, 16:56

      advertising

        
       

  4. #4
    Advanced Member level 5
    Points: 33,187, Level: 44
    tpetar's Avatar
    Join Date
    Sep 2010
    Location
    Pancevo, Serbia
    Posts
    6,427
    Helped
    1730 / 1730
    Points
    33,187
    Level
    44

    Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    For current you can use CT Current Transformer, and also Hall sensors.
    “Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla



  5. #5
    Member level 1
    Points: 594, Level: 5

    Join Date
    Oct 2012
    Posts
    41
    Helped
    0 / 0
    Points
    594
    Level
    5

    Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    main idea is to measure a current from main power supply of buidling...



  6. #6
    Advanced Member level 5
    Points: 33,187, Level: 44
    tpetar's Avatar
    Join Date
    Sep 2010
    Location
    Pancevo, Serbia
    Posts
    6,427
    Helped
    1730 / 1730
    Points
    33,187
    Level
    44

    Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    What current range ?



    You can see ACS712 hall sensor. Can measure current of both AC and DC.

    There is three variants for 5A 20A and 30A, all three can measure negative and positive voltages.

    Output from IC is prepared for uC ADC.

    Example for ACS712-20 (20A) :

    0,5V is -20A
    2,5V is 0V
    4,5V is +20A

    ACS712 is very cheap, but current must flow through it.





    But my opinion for safety that is better to use current transformer for this, or hall sensor without direct interruption of wires.

    Hall sensor without wire interruption:




    Current Transformer also without wire interruption :

    Last edited by tpetar; 9th January 2013 at 17:14.
    “Let the future tell the truth, and evaluate each one according to his work and accomplishments. The present is theirs; the future, for which I have really worked, is mine.” Nikola Tesla



    •   Alt9th January 2013, 17:04

      advertising

        
       

  7. #7
    Advanced Member level 3
    Points: 4,578, Level: 16
    kripacharya's Avatar
    Join Date
    Dec 2012
    Location
    New Delhi
    Posts
    878
    Helped
    153 / 153
    Points
    4,578
    Level
    16

    Re: Converting 0 - 240AC voltage to 0 - 5 Dc voltage

    Quote Originally Posted by armghan11 View Post
    Hey everyone i want to measure current and voltage using Pic16f877a for my final year project 'Non intrusive load monitoring system'. I want a simple circuit to convert ac voltage range from 0 - 240 to dc voltage 0 - 5v.... if anyone have proteus simulation and code please share :) Thanks
    here's one obvious and simplistic method.
    http://www.falstad.com/circuit/#%24+...573E-4+0+-1%0A


    extremely linear, extremely accurate, extremely cheap, extremely simple to implement. Why bother with anything else ?



+ Post New Thread
Please login
--[[ ]]--