DSP techniques for real time digital signal acquisition and processing of various power quality parameters