+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Newbie level 6
    Points: 148, Level: 1

    Join Date
    May 2019
    Posts
    12
    Helped
    0 / 0
    Points
    148
    Level
    1

    average value of as square wave

    Hi,

    This might seem silly but I need a circuit to detect the average value of a square waveform (0-1V), with frequencies below 20KHz. The duty cycle is not 50%.

    Thanks

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 30,571, Level: 42
    BigBoss's Avatar
    Join Date
    Nov 2001
    Location
    Turkey
    Posts
    4,483
    Helped
    1349 / 1349
    Points
    30,571
    Level
    42

    Re: average value of as square wave

    Vmean=Vpeak*(thau/Period)

    thau:duty cycle



    •   AltAdvertisement

        
       

  3. #3
    Super Moderator
    Points: 78,412, Level: 68
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,910
    Helped
    3609 / 3609
    Points
    78,412
    Level
    68

    Re: average value of as square wave

    Hi,

    A low pass filter?

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



    •   AltAdvertisement

        
       

  4. #4
    Newbie level 6
    Points: 148, Level: 1

    Join Date
    May 2019
    Posts
    12
    Helped
    0 / 0
    Points
    148
    Level
    1

    Re: average value of as square wave

    I know the relationship. need a circuit.



  5. #5
    Newbie level 6
    Points: 148, Level: 1

    Join Date
    May 2019
    Posts
    12
    Helped
    0 / 0
    Points
    148
    Level
    1

    Re: average value of as square wave

    Thanks, KlausST. Could you plz introduce a source that explains the design procedure?



    •   AltAdvertisement

        
       

  6. #6
    Advanced Member level 2
    Points: 2,962, Level: 12

    Join Date
    Aug 2016
    Posts
    518
    Helped
    88 / 88
    Points
    2,962
    Level
    12

    Re: average value of as square wave

    Hi,

    This is done all the time with power converters where the switch voltage is averaged out by the low-pass filter (output filter). You just need a low-pass filter that is 'good enough' to bring the ripple to an acceptable level.
    -------------
    --Akanimo.


    1 members found this post helpful.

  7. #7
    Super Moderator
    Points: 78,412, Level: 68
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,910
    Helped
    3609 / 3609
    Points
    78,412
    Level
    68

    Re: average value of as square wave

    Hi,

    What "design procedure" ? ...for two parts: R, C.

    R C low pass filters are explained million times in the internet, since it's probably the most used circuit.

    Klaus
    Please donīt contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



--[[ ]]--