As a clean and efficient resource which has a wide variety of sources and a efficient using, distributed generation has a better way to solve the energy shorting, ruining the environment, resource allocation and other problems, and has good economy, which has become a important part of the building of future power systems and the development of source systems. But there still are some challenges and problems behind the huge benefits of distributed generation connecting to the grid, such as load forecasting, power flow variation, power quality, power fluctuation, etc. This paper proposes a coordinated control technology of distributed network to the connecting of distributed generation, which takes the operation cost as the objective function, and on the base of predicts of load and the output of distributed generation, according to the optimal power flow and the constraints, uses three optimal methods including the sequential quadratic regulation, interior point and genetic algorithm for simulation to obtain the optimal value of the objective function and the output of the corresponding distributed generation. Through the comparison of three different algorithms, the results show that the sequential quadratic regulation method can more effectively complete the optimization of the objective function and has quick convergence, which can effectively support the coordinated control technology of distribution network for distributed generation.