mdvrajkot
Newbie level 6
Hello,
I am working on a project which measures the ac line voltage(normally 230v) and the ac current measurement. For that I am using the microchip microcontroller having 10 bit adc. For the voltage measurement I am using the voltage divider circuit and the program detects the peak of the signal. By this method I am getting the proper output from the adc. Now my questions are,
1. To measure the ac voltage, the peak voltage in the adc is,being measured. is this a proper method? Considering that the system can tolerate 2% error.
2. The relay is also interfaced with the system. When the relay is turned on, the input adc voltage,drops down. Considering that the relay has a separate filtering section and the optocoupler is also used in relay interfacing circuit
I am working on a project which measures the ac line voltage(normally 230v) and the ac current measurement. For that I am using the microchip microcontroller having 10 bit adc. For the voltage measurement I am using the voltage divider circuit and the program detects the peak of the signal. By this method I am getting the proper output from the adc. Now my questions are,
1. To measure the ac voltage, the peak voltage in the adc is,being measured. is this a proper method? Considering that the system can tolerate 2% error.
2. The relay is also interfaced with the system. When the relay is turned on, the input adc voltage,drops down. Considering that the relay has a separate filtering section and the optocoupler is also used in relay interfacing circuit