Solar panel automatic light tracking function