Solar grid-connected power generation controller