Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Yes and no. This way you get a simplified power factor measurement, valid for sinusoidal current waveforms only. With any power electronic equipment, the waveform is most likely distorted and you get incorrect results.For measuring PF, you need to convert current wave form into square wave and voltage waveform into square wave also.
Not directly, not without a voltage divider and shifting the input range for a bipolar signal.we can give ac 230v directly to an adc pin in microcontroller
First of all Thanks for the info can you help me realise the sourcecode for this job? theumery2k75 said:For measuring PF, you need to convert current wave form into square wave and voltage waveform into square wave also, then you could use XOR gate to get the difference between them or you can run your microcontroller to watch for voltage or current wave which will come first, then run the timer until you achieve the other waveform. For example, if voltage is leading, then first square wave will be of voltage after a little while, you will get current square wave. Both of these outputs will be inputed through two different pins of controller. You have run the internal timer to wait for the other wave form to come. When you get the other wave form. You then have the time factor and by doing simple calculation, you can calculate PF and you could also turn on/off line voltage capacitor for compensation.
Generally you need to preprocess input current and voltage. The ADC input voltage range is 0 to 5 V (for a 5 volt supply). So the AC voltage has to be divided and shifted by an offset voltage to achieve a bipolar range. The current can be sensed by a current transformer or a shunt, it's output voltage has to be amplified to the ADC range.
Generally you need to preprocess input current and voltage. The ADC input voltage range is 0 to 5 V (for a 5 volt supply). So the AC voltage has to be divided and shifted by an offset voltage to achieve a bipolar range. The current can be sensed by a current transformer or a shunt, it's output voltage has to be amplified to the ADC range.