Principle of solar panel home controller