A new design scheme of photovoltaic power generation system was proposed in the paper. The photovoltaic power generation technology was applied into an independent microgrid system, combined with intelligent grid technology and energy storage technology, and thus a portable and intelligent photovoltaic power generation system based on microgrid was constructed. The system was composed of solar power generation system, energy storage system, distribution apparatus and other parts. The photoelectric and line tracking methods were combined to make the battery panel conduct three-dimensional sun-chasing movement when it moves. The perturbation and observation method with variable step based on power prediction was raised so as to achieve maximum power point tracking. The battery energy management system was responsible for controlling the battery charging and discharging, as well as state detection, which ensured continuous and stable power supply of the load. The system could be expanded to build portable emergency power source, of great significance to rescue and relief work, military operation, field scientific investigation, navigation and so on.