A Novel Wireless Sensor For Ac Current Measurement Powered By Energy Harvesting