electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Idea of measuring RMS voltage and current using MCU ADC


Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Idea of measuring RMS voltage and current using MCU ADC
Author Message
arup



Joined: 06 Sep 2004
Posts: 34


Post17 Dec 2005 7:50   

Idea of measuring RMS voltage and current using MCU ADC


Dear sir,

I have a project which needs to measure Supply Voltage and Current.I want to measure them using only MCu adc (ST7 with 10 bit ADC and 6 analog i/p channel).Could anybody help me ??I want a tested circuit and also want the design idea/steps to develope this firmware to measure voltage and current rms value.I believe supply input voltage is always RMS if it is not mentioned.so i don't have to take voltage sample ,square ,take average and take root of it.Or do I??Pls correct me if i am wrong.
pls note the max voltage and current for the system to measure are 260 V and 30 A respectively.And I know how to configure the adc for this particular MCU


Thanks,

arup
Back to top
Google
AdSense
Google Adsense




Post17 Dec 2005 7:50   

Ads




Back to top
smxx



Joined: 18 Aug 2005
Posts: 188
Helped: 8
Location: iran(ahwaz)


Post18 Dec 2005 8:02   

Re: Idea of measuring RMS voltage and current using MCU ADC


hi
Analoge Device have some Ic that give a signal and give rms value in output (analog output).
for sine wave ,if you have 2 sample with 90 angle(y(Θ)and y(Θ+90))
you can calculate peek of signal
Ym˛=y(Θ)˛+y(Θ+90)˛ Yrms=Ym/√2
Back to top
amrstaha



Joined: 29 Aug 2005
Posts: 141
Helped: 6
Location: Egypt


Post19 Dec 2005 17:58   

Re: Idea of measuring RMS voltage and current using MCU ADC


You will have to sample the voltage (or current) signal at a fixed rate if the signal is not sinusoidal. The sampling frequency should be as high as possible to accurate results. After taking n samples you can caculate the RMS from

frms=√(Σ(sample(i)^2)/n) where i=1 to n
Back to top
arup



Joined: 06 Sep 2004
Posts: 34


Post20 Dec 2005 9:31   

Re: Idea of measuring RMS voltage and current using MCU ADC


yes, The i/p supply wave form is sinusoidal.Max analog signal to the ADC pin is 5V .If any body is having the ckt pls post here.

thanks,
arup
Back to top
narender_aec_eee



Joined: 02 Jan 2006
Posts: 3


Post02 Jan 2006 9:37   

Idea of measuring RMS voltage and current using MCU ADC


hi can anyone upload a circuit which can measure ac voltage using parallel port or microcontroler and adc.
Back to top
sam_manchali



Joined: 14 Jun 2003
Posts: 105
Helped: 3
Location: sharjah


Post02 Jan 2006 10:22   

Re: Idea of measuring RMS voltage and current using MCU ADC


hi,
check out this link , it may be helpful...

http://www.atmel.com/dyn/resources/prod_documents/doc2566.pdf

regards
sam
Back to top
auto_mitch



Joined: 14 Oct 2004
Posts: 212
Helped: 20


Post02 Jan 2006 10:44   

Re: Idea of measuring RMS voltage and current using MCU ADC


Check out this link
http://www.zilog.com/docs/z8encorexp/appnotes/an0216.pdf
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers -> Idea of measuring RMS voltage and current using MCU ADC
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to calculate rms Power (rectangular current and voltage) (2)
Light level measuring by using BW CCD camera and MCU (1)
ADC and Measuring voltage difference (3)
measuring 3-phase mains voltage and current (9)
Measuring phase differences between current and voltage (17)
Circuit for measuring the current and voltage accros diode (4)
Measuring Load Vltg of TRIAC using 89c52 and ADC (1)
what is significance if rms voltage/current (9)
High voltage measuring with ADC (4)
Voltage drop across DMM when measuring current? (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS