The generating mechanism and optimal control of power quality in micro-grids | IEEE Conference Publication | IEEE Xplore