Principle of automatic welding of solar panels