With the increasing development and maturity of new energy technology, distributed generation technology has made great progress in terms of power generation efficiency and economic cost of power generation, and has a tendency to gradually replace conventional primary energy. Due to the rapid development of new energy power generation equipment, the stability of power supply plays a very critical role in the power grid. The purpose of this paper is to study distributed generation technology and smart grid technology, so as to find the synergistic development trend of the two. In the experiment, taking the factory of X Automobile Co., Ltd. as the research object, the distributed generation energy storage system and the distributed generation system under the smart grid are investigated and analyzed.