+ Post New Thread
Results 1 to 7 of 7
  1. #1
    Member level 3
    Points: 887, Level: 6

    Join Date
    Mar 2014
    Posts
    60
    Helped
    0 / 0
    Points
    887
    Level
    6

    Noise in AC voltage measurement

    Hi,

    I am trying to measure AC rms voltage using PIC microcontroller. I have attached the circuit for measurement. I am connecting a 3V step down transformer out to the input of the circuit.The feedback capacitor has been added to reduce the noise, but I am getting noise if I add this. This is getting smooth after the low pass filtering. Everything else, like clamping the voltage and all are properly happening. Do I really need to place the feedback capacitor? What are the recommended values if it is needed?

    Thanks

    •   Alt24th November 2016, 14:34

      advertising

        
       

  2. #2
    Super Moderator
    Points: 53,016, Level: 56
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster

    Join Date
    Apr 2014
    Posts
    10,674
    Helped
    2530 / 2530
    Points
    53,016
    Level
    56

    Re: Noise in AC voltage measurement

    Hi,

    I assume you modified the original circuit...
    and now there are some problematic modifications.
    according
    * bias voltage
    * common mode input voltage
    * input impedance
    * input votage range
    * output voltage range
    * frequency

    ****
    First of all: You could do completely without OPAMP.

    Like this.
    Click image for larger version. 

Name:	ct1.png 
Views:	9 
Size:	10.6 KB 
ID:	133792

    ***
    I see you really want to calculate RMS. This is good. Especially when the waveform differs from sine shape.
    On the other hand you attenuate the frequencies above 50Hz... so you get an almost sine shape.
    Is this what you want?

    Klaus



    •   Alt24th November 2016, 15:30

      advertising

        
       

  3. #3
    Member level 3
    Points: 887, Level: 6

    Join Date
    Mar 2014
    Posts
    60
    Helped
    0 / 0
    Points
    887
    Level
    6

    Re: Noise in AC voltage measurement

    On the other hand you attenuate the frequencies above 50Hz... so you get an almost sine shape.
    Is this what you want?
    Yes. This is what we want. It is going to be used in a high noise scenario, like old inverters. What I am asking is the capacitor C7 is creating noise in the circuit. Is it recommended to remove that capacitor? everything else is working fine.

    thanks



    •   Alt25th November 2016, 05:55

      advertising

        
       

  4. #4
    Super Moderator
    Points: 53,016, Level: 56
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster

    Join Date
    Apr 2014
    Posts
    10,674
    Helped
    2530 / 2530
    Points
    53,016
    Level
    56

    Re: Noise in AC voltage measurement

    Hi,

    C7 is not creating the noise. But it may cause to amplify it.

    I assume it is common mode noise. Usually a difference amplifier attenuates common mode noise.
    But only if R1 value = R15 value, which isn't the case here (here I assume someone didn't understand the circuit, but modifed it).
    Adding C7 to R15 makes this even worse.

    In your case you may disconnect C7. To further reduce common mode noise I recommend to use two 100nF capacitors.
    Connect them at each side of C4 to GND.

    Because this adds another 50nF to C4 and fc is close to mains frequency you may expect up to 10% less output voltage.
    If you don't want this you may use 10nF capacitors

    ****
    By far the better solution is to correct the wrong R1 and R15 values. This brings improvement in almost any function of the circuit: noise, common mode input voltage range, symmetry, differential input voltage range...

    Klaus



  5. #5
    Member level 3
    Points: 887, Level: 6

    Join Date
    Mar 2014
    Posts
    60
    Helped
    0 / 0
    Points
    887
    Level
    6

    Re: Noise in AC voltage measurement

    Hi, thanks for the quick and valuable reply. I'll change the resistors and update the result.



  6. #6
    Member level 3
    Points: 887, Level: 6

    Join Date
    Mar 2014
    Posts
    60
    Helped
    0 / 0
    Points
    887
    Level
    6

    Re: Noise in AC voltage measurement

    Hi,
    Noise has reduced to a greater extent. I could measure the RMS value with our laboratory setup. I assume there will be much more noise when it is installed in the field. So I should eliminate as much noise I can with this. How to select C1 and C7 values to further reduce noise? Shall I use 100nF in both places?



    •   Alt30th November 2016, 06:47

      advertising

        
       

  7. #7
    Super Moderator
    Points: 53,016, Level: 56
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster

    Join Date
    Apr 2014
    Posts
    10,674
    Helped
    2530 / 2530
    Points
    53,016
    Level
    56

    Re: Noise in AC voltage measurement

    Hi,

    Please give the complete new circuit.

    Generally.
    C7 with R15 act as a low pass filter.
    The same values you need to install at R1 and a new C. ( R1 = R15, new C = C7).

    Fc = 1 / ( 2 × Pi × R × C) .... as usual.

    Klaus



--[[ ]]--