- #1

- 92

- 0

## Main Question or Discussion Point

Hi everyone, thanks for your viewing my thread.

I am doing a project to monitor a single phase(240V) power using a ATMEL AVR microcontroller, and I face some difficulties :-

1. How do I calculate the voltage transients : voltage sag/swell? What is the analysis method?

2. How do I calculate the Total Harmonic Distortion (THD) ?

what are the equations if I have the microcontroller senses the data of voltage and current every second and display useful information?

I am doing a project to monitor a single phase(240V) power using a ATMEL AVR microcontroller, and I face some difficulties :-

1. How do I calculate the voltage transients : voltage sag/swell? What is the analysis method?

2. How do I calculate the Total Harmonic Distortion (THD) ?

what are the equations if I have the microcontroller senses the data of voltage and current every second and display useful information?