A photovoltaic solar greenhouse based on shade shed and sun shed integration comprises a greenhouse sun shed, a greenhouse shade shed, an insulation wall, solar panels, greenhouse glass, solar panel supports, greenhouse supports, an interior air circulation window, an exterior air exchange window, green leaf plants, fungi, shade-requiring plants, greenhouse film, insulation grass mat, a solar controller, an inverter, and an outer power grid. The photovoltaic solar greenhouse based on shade shed and sun shed integration is characterized in that the sun shade and the shade shed are isolated by the same insulation wall made of phase change concrete and bricks, the sun shed is arranged on the sunward side of the insulation wall, the green leaf plants are planted in the sun shed, the shade shed is arranged on the shade side of the insulation wall, the fungi are planted in the shade shed, the solar panels are disposed at the top of the insulation wall and the top of the shade shed, the power output end of every solar panel is connected to the solar controller and the converter through a wire, power converted by the inverter is connected to the outer power grid or an auxiliary power supply, and a whole solar power system closed circuit is formed.