Internal Model Controller Applied to LCL-type Grid-connected Inverters in Weak Grid