The application relates to a speed
reducer and a middle shaft structure thereof. The middle shaft structure of the speed
reducer comprises a rotating adjusting piece, an extension
assembly and a
barrel. In the process of installing the middle shaft structure of the speed
reducer into the main beam of a photovoltaic
assembly, the extension
assembly is moved close to the axis of the
barrel through the cooperation between the rotating adjusting piece and the extension assembly, the middle shaft structure of the speed reducer is put into the main beam of the photovoltaic assembly, the extension assembly is moved away from the axis of the
barrel through the cooperation between the rotating adjusting piece and the extension assembly, and the extension assembly is matched with the inner wall of the main beam, the outer
diameter of the middle shaft structure of the speed reducer is matched with the inner
diameter of the main beam, the middle shaft structure of the speed reducer is driven by a driving mechanism to drive the main beam to rotate, and the photovoltaic assembly is kept facing the sun. The middle shaft structure of the speed reducer can be
mass-produced to be suitable for main beams with different inner diameters, the problem that the middle shaft structure of the speed reducer is not matched with the main beam due to size errors is avoided, the installation efficiency is improved, and the production and installation costs are reduced.