design wattmeter

Discussion in 'General Electronics Chat' started by firend, Feb 20, 2012.

  1. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    i am designing a single phase wattmeter. it requires range from 0 to 500 W. U =220 V.
    can anyone help me?
     
  2. Brownout

    Well-Known Member

    Jan 10, 2012
    2,375
    998
    Sure. Watts is Volts times Amps. You need to measure the volts and amps and do the multiplication. If you only need accuracy as good as your confidence in the volts, you only need to measure the amps and do the multiplication.
     
    firend likes this.
  3. DerStrom8

    Well-Known Member

    Feb 20, 2011
    2,428
    1,328
    I agree with Brownout. It should be quite simple. All you need to do is have something that measures the voltage, something that measures the current flowing between the terminals, and some sort of logic system or microcontroller to do the multiplication. It should be quite easy. Have you ever done any microchip programming?
     
    firend likes this.
  4. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    If you want true watts then you need to multiply the instantaneous current by the voltage at the same instant, do that for many samples over the compete waveform cycle, and then average all the readings. Multiplying the waveform average (RMS) volts by average watts gives volt-amps which gives true power only for a power factor of one.

    Alternately you can use a dedicated energy measuring IC such as one of these.
     
    firend, ErnieM and DerStrom8 like this.
  5. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    i studied programing assembler. i can multiply voltage and current. but i can't measure power factor.
     
    Last edited: Feb 21, 2012
  6. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    If you multiply the instantaneous short samples of voltage and current as I described then you don't need to measure the power factor. The power factor is included as part of the measurement.
     
  7. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    whether the tolerance of the wattmeter is large?
    my english isn't good.
    thank you.
     
  8. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    The tolerance is determined by the accuracy of the circuits you use to measure the voltage and current.
     
    firend likes this.
  9. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    can you direct to sample current and voltage simultaneous?
     
  10. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    i add DC signal to input signal adc is positive.
    it is difficult for me to sample simultaneously two signals at the same time.
    what do you have algorithm solve to problem?
    thanks in advance!
     
  11. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    You can use two A/D converters sampling at the same time, one for current and one for voltage. Then you read the two values into a microprocessor, multiply the two values, and store them until you have taken samples over a complete cycle of the waveform (perhaps 50-100 samples per waveform). Then you calculate the average of the values over one cycle to get the power.
     
    firend likes this.
  12. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    i worked with two adc. i want to use one adc with 8 input.in order to sample voltage and current.i am going to use algorithm linear interpolation to relugate.where can i reference? can somone help me?
    thank very much!
     
  13. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    hello!
    i have a circuit with a 8051, adc0809 and lcd(lm016).the input of the adc is 4V.the output of the adc is (204D) equivalent to 11001100B. i want to display 4 on the lcd. i can only display 204.
    can you help me?
    thanks a lot.
     
  14. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    Connect the ADC output to the 8051 and convert the binary by multiplying it by a factor of 400/204.
     
  15. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    excuse me.i use 8051 and lcd(lm032).i want to display generated characteristic. but i can't.
    can lm032 display charateristic? which lcd can do?
    thanks a lot!
     
  16. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    I sample voltage and current but the tolerance of result is large.
    I think the reason is tolerance of ADC. I use ADC0808.
    Do you have the way to improve ?
    thanks a lot.
     
  17. crutschow

    Expert

    Mar 14, 2008
    12,973
    3,219
    The problem is likely tolerances in your voltage and current sample circuits, not the ADC.

    But either way, one way to reduce the error is to calibrate the system. Generate a known accurate voltage and current (or measure it with accurate instruments) and use that to adjust the value you read using software e.g. if the value you read is 5% too high then multiply each reading by 95% or subtract 5% from each reading (whichever would be easier with the software) to generate the correct value.
     
  18. panic mode

    Senior Member

    Oct 10, 2011
    1,318
    304
    all comments so far are about designing wattmeter from ground up which is fine. but it may be worth mention that there is plethora of ready chips just for that - measure energy and power, all you need to do is talk to them through I2C or SPI bus and you get all info you will ever need (real power, imaginary power, voltage, current, phase angle, you name it).
     
  19. firend

    Thread Starter Member

    Feb 18, 2012
    44
    0
    hello!
    I want to communicate between controller and PC. I am going to use visual basic 6.0. the sample ADC takes 100us.the baud rate is 9600.
    how long does it take to transmit? can I transmit continuously?
    can PC receive right data ?
     
Loading...