Intelligent Controllers for Grid Integrated Systems