Solar Microgrid Automatic Cycle Principle