The application provides a fitting method and device for a
coal face floor of a
coal mining
machine and an electronic device. The method comprises the following steps: obtaining a fluctuation curve of a
coal seam floor of a coal mine; after the
coal mining machine cuts a coal, obtaining a minimum
radius of a stope floor, wherein the stope floor is a floor of a model corresponding to a lowermost coal seam in a space formed after the
coal mining machine mines coal, and the minimum
radius is a
radius of a circular arc formed by up and down fluctuations of a drum of the
coal mining machine; generating a circle according to the minimum radius of the stope floor, fitting the circle along the fluctuation curve of the coal seam floor until a curve generated by the circle coincides with the fluctuation curve. In the method, the circle obtained by the minimum radius of the stope floor is fitted in the fluctuation curve of the coal seam floor, so that the curve generated by the circle can be fitted with the fluctuation curve of the coal seam floor as much as possible, and the fitted stope floor can adapt to the change of the coal seam, thereby improving the efficiency of coal mining.