To optimize AC/DC hybrid microgrid power planning, improve operational efficiency, and balance power distribution, we constructed an optimization model for AC/DC microgrid power generation, covering power, economy, reliability, and environmental protection, and set constraints to solve optimal planning. The experiment shows that this method enhances voltage stability, improves power supply quality, enhances distributed power generation efficiency, and reduces carbon emissions.