The embodiment of the invention provides a
firmware version upgrading method and
system and a photovoltaic
robot, and relates to the technical field of
photovoltaics. According to the
firmware version upgrading method, the difference file is generated according to the current
firmware version information and the
firmware version information of the new
firmware version, the data size of the difference file is far smaller than the data size of a complete firmware program, and therefore the
firmware version upgrading efficiency is improved. Moreover, according to the firmware version upgrading method provided by the embodiment of the invention, the size of the fragment is adjusted according to the
communication quality value, and the differential file is
cut into a plurality of fragment files for transmission. When the
communication quality is good, the size of the fragments can be properly increased, the number of the fragments is reduced, and the transmission overhead is reduced; when the
communication quality is general (for example, network fluctuation occurs), the size of the fragment can be properly reduced, transmission interruption or failure caused by the too
large fragment is avoided, and therefore the upgrading stability of the firmware version is improved.