Power quality measurements for grid connected wind turbines using a DSP based prototyping system