Virtual straightening of scraper conveyor based on the position and attitude solution of industrial robot model

The movement of the floating connecting mechanism between a hydraulic support and scraper conveyor is space movement; thus, when the hydraulic support pushes the scraper conveyor, there is an error between the actual distance of the scraper conveyor and the theoretical moving distance. As a result, the scraper conveyor cannot obtain the straightness requirement. Therefore, the movement law of the floating connecting mechanism between the hydraulic support and scraper conveyor is analyzed and programmed into the Unity3D to realize accurate pushing of the scraper conveyor via hydraulic support. The Coal Seam + Equipment Joint Virtual Straightening System is established, and a straightening method based on the motion law of a floating connection is proposed as the default method of the system. In addition, a straightening simulation of the scraper conveyor was performed on a complex coal seam floor, the results demonstrate that the average straightening error of the scraper conveyor is within 2–8 mm, and is in direct proportion to the fluctuation of the coal seam floor in the strike of the seam with high accuracy, the straightness of scraper conveyor is more affected by the subsidence terrain during straightening than by the bulge terrain. And some conclusions are verified by experiment. Based on the verification of the relevant conclusions, a comparison and analysis of Longwall Automation Steering Committee (LASC) straightening technology and default straightening method in the simulation system shows that the straightness accuracy of LASC straightening technology under complex floor conditions is slightly less than that of the default straightening method in the proposed system.

Abstract The movement of the floating connecting mechanism between a hydraulic support and scraper conveyor is space movement; thus, when the hydraulic support pushes the scraper conveyor, there is an error between the actual distance of the scraper conveyor and the theoretical moving distance. As a result, the scraper conveyor cannot obtain the straightness requirement. Therefore, the movement law of the floating connecting mechanism between the hydraulic support and scraper conveyor is analyzed and programmed into the Unity3D to realize accurate pushing of the scraper conveyor via hydraulic support. The Coal Seam ? Equipment Joint Virtual Straightening System is established, and a straightening method based on the motion law of a floating connection is proposed as the default method of the system. In addition, a straightening simulation of the scraper conveyor was performed on a complex coal seam floor, the results demonstrate that the average straightening error of the scraper conveyor is within 2-8 mm, and is in direct proportion to the fluctuation of the coal seam floor in the strike of the seam with high accuracy, the straightness of scraper conveyor is more affected by the subsidence terrain during straightening than by the bulge terrain. And some conclusions are verified by experiment. Based on the verification of the relevant conclusions, a comparison and analysis of Longwall Automation Steering Committee (LASC) straightening technology and default straightening method in the simulation system shows that the straightness accuracy of LASC straightening technology under complex floor conditions is slightly less than that of the default straightening method in the proposed system.
Keywords Virtual reality Á Scraper conveyor Á Hydraulic support Á Posture solution Á Straightness control List of symbols h 2 Angle of rotation of the x 1 axis around the x 2 axis h 3 Angle of rotation of the x 2 axis around the x 3 axis h 4 Angle of rotation of the x 3 axis around the x 4 axis d 1 Distance between the x 0 axis and the x 1 axis along the z 0 axis l 1 Distance between the z 0 axis and the z 1 axis along the z 1 axis l 2 Distance between the x 4 axis and the x 5 axis along the z 4 axis q i Angle of rotation of the z iÀ1 axis about the z i axis i-1 T i The transformation matrix of two adjacent coordinate systems AFP n-1 Initial position and attitude of scraper conveyor AFP n Actual position and attitude of scraper conveyor after shearer cutting DFP n Position and attitude of scraper conveyor after straightening DPC n The difference between the two according to the curve of AFP n and AFP nÀ1 & Fang Ren renfang@tyut.edu.cn 1 RPC n Theoretical straightening amount of scraper conveyor

Introduction
With the emergence of intelligent manufacturing as a core technology Syd et al. 2019;Meng et al. 2020;Ge et al. 2020;Wang and Huang 2017), the intelligent coal mine is the core technical support for high-quality development in the coal industry where the construction of an intelligent coal mine is the ultimate goal (Fu et al. 2017;Wang et al. 2020). However, the movement of the floating connecting mechanism of the hydraulic and the scraper conveyor is space movement; thus, an execution error and mechanical error of the hydraulic support exist (Ibrahim et al. 2011;Wang 2014). Consequently, ensuring the straightness of a fully mechanized coal mining face is difficult. With the advancement of a fully mechanized coal mining face, errors will accumulate, and such errors will affect the normal operation of the coal mine. The straightening method of a fully mechanized coal mining face can be divided into two parts: a straightening method based on hydraulic support and a straightening method based on the scraper conveyor (Hao et al. 2017a, b). The alignment method based on hydraulic support involves installing sensors on the hydraulic support.
Here the hydraulic support is taken as the fulcrum, and the straightness of the hydraulic support group is controlled to achieve the straightness control of the scraper conveyor (Li et al. 2016). Niu (2015) proposed installing a rangefinder and angle sensor on the hydraulic support to detect the alignment. The straightening method based on the scraper conveyor is primarily employed to obtain the attitude of the scraper conveyor through the track of the shearer and then straighten the scraper conveyor (Reid et al. 2011). Fang et al. (2010) proposed using inertial navigation to realize automatic positioning and attitude determination of the shearer and established a cumulative error model to improve positioning and attitude determination accuracy. Hao et al. (2017a) combined a strapdown inertial navigation device and axial encoder to obtain the operating attitude of the shearer. However, the above two straightening methods do not consider the possible unevenness of the coal floor and the space movement of the hydraulic support pushing mechanism, which will affect the straightness of the scraper conveyor.
The pushing mechanism is a floating mechanism that connects the hydraulic support and the scraper conveyor. In this paper, this mechanism is called a floating connection mechanism. When the hydraulic support pushes the scraper conveyor, each component of the floating connecting mechanism can perform translation or rotation movement. Typically, an industrial robot is composed of several rotating joints and moving joints that are connected with each moving part in series or in parallel. This configuration can realize rotation, translation, and combined movement (Jazar 2010;Chen and Dong 2013;Fang et al. 2019;Zhang et al. 2019;Manou et al. 2019). Therefore, based on the kinematic characteristics of the floating connection mechanism between the hydraulic support and the scraper conveyor, a corresponding manipulator model can be established. After analyzing its position and posture, the result can be applied to the straightening process to achieve precise movement.
However, due to the complex environment, narrow space, and various unsafe factors, it is very difficult to carry out relevant experiments, verify conclusions, and acquire data in a coal mine. ''Industry ? VR'' (Xie et al. 2017;Isleyen and Duzgun 2019) provides technical support for testing, research, and visualization of a comprehensive mining face under complex conditions. Unity3D is a virtual simulation engine that supports two and three dimensions using an interactive graphic development environment ). Unity3D can not only realize the visualization of a complex working environment and establish virtual mapping of the real physical world, it can also be applied as a solver to solve complex problems and output data in real time (Xie et al. 2018a). Thus, Unity3D is well-suited to simulate an underground coal mine in Unity3D. Therefore, in view of given the existing problems existing inassociated with the current straightening of the scraper conveyor, the virtual straightening simulation is carried out in Uni-ty3D, which. This approach provides a shortcut for straightening research under complex working conditions.
Given the above problems, based on an industrial robot model, this paper establishes a corresponding manipulator model according to the motion characteristics of the floating connection mechanism. The motion law of the model is analyzed and given to the hydraulic support in the form of C# in the Unity3D environment to realize cooperation between the hydraulic support and the scraper conveyor. In the Unity3D virtual simulation environment, the ''Coal Seam ? Equipment'' Joint Virtual Straightening System is established, and a straightening method based on the motion law of the floating connection mechanism is proposed. The proposed method realizes accurate movement of the hydraulic support. By changing the relative fluctuation of the complicated cutting floor, the scraper conveyor can be straightened accurately when the electrohydraulic control error is ignored. The influence of the fluctuation of the coal seam floor on the straightness of the scraper conveyor is analyzed, and the straightening accuracy of the proposed straightening method is indirectly obtained. Finally, the straightening method based on the motion law of the floating connection mechanism is compared to the Longwall Automation Steering Committee (LASC) straightening technology in terms of process and accuracy.
2 Integral concept of virtual straightening of scraper conveyor The machines involved in a fully mechanized coal mining face are hydraulic support, shearer, and scraper conveyor (Xie et al. 2017). When the working face is operational the shearer takes the scraper conveyor as the running track, cuts the coal back and forth along the coal wall, cuts the coal off the coal wall, and loads the falling coal into the scraper conveyor, which moves forward as the hydraulic support advances while carrying the coal. After the shearer completes its work, the hydraulic support supports the roof of the goaf to maintain a certain working space (Xie et al. 2018a. In the process of coal mining, the working face wall, scraper conveyor, and hydraulic support must be aligned in a straight line. However, in a fully mechanized coal mining face, the straight line requirement cannot always be met; therefore, it is necessary to straighten the scraper conveyor. The three machines in a fully mechanized coal mining face and the straightening effect are shown in Fig. 1. The connection between the hydraulic support and the middle trough is a floating system Hao et al. 2017b), as shown in Fig. 2. Thus, movement of the floating connecting mechanism of the hydraulic support and scraper conveyor is spatial rather than simple linear movement, which results in error between the moving distance of the scraper conveyor and the ideal moving distance when the scraper conveyor is pushed. Therefore, it is necessary to analyze the movement of the floating connecting mechanism between the hydraulic support and scraper conveyor.
Based on the motion law of the floating connection mechanism, the displacement of the hydraulic cylinder is obtained and straightened in the proposed ''Coal Seam ? Equipment'' Joint Virtual Straightening System. First, the hydraulic support pushes the scraper conveyor, and the hydraulic support advances support according to elongation of the obtained hydraulic cylinder according to the position and posture of the shearer Hao et al. 2017b;Liu et al. 2019). The inverted trajectory of the scraper conveyor is compared to the expected trajectory of the next knife, and straightening correction of the corresponding middle trough of the hydraulic support is obtained. Through real-time data analysis of the simulation system, the actual pushing amount of the hydraulic support corresponding to the straightening correction amount is obtained, and the hydraulic support pushes according to the pushing stroke. Finally, the running track of the scraper conveyor after straightening is obtained, and the hydraulic support moves according to extension of the hydraulic cylinder during pushing. A flowchart of the virtual straightening concept is shown in Fig. 3.

Construction of analytical model based on industrial robot
When the hydraulic support pushes the scraper conveyor, the pushing mechanism connecting the hydraulic support and scraper conveyor has four degrees of freedom, i.e., translational movement of the piston rod along the advancing ram cylinder, pitch and yaw rotation of the relay bar around the pin shaft connecting the relay bar and piston rod, and yaw rotation of the joint around the connected pin axis. Thus, the motion of the pushing mechanism is spatial movement rather than simple plane movement. Therefore, the moving mechanism is referred to as the floating connecting mechanism of the hydraulic support and scraper conveyor. Note that its motion characteristics are similar to those of an industrial robot.

Model transformation
Industrial robots comprise of a series of connecting rods connected by rotational and prismatic joints, which can locate and orient in the range of motion. Generally, the motion of connecting rods includes rotational movement, translational movement, and translational plus rotational motion (Jazar 2010). The movement of each structure of the floating connecting mechanism of the hydraulic support and scraper conveyor has rotational movement or translational movement; thus, the floating connecting mechanism can be transformed into a manipulator model. In robot kinematics, roll, pitch, and deflection angles are used to represent the motion attitude, and the combination of angles can be used to describe the motion attitude of the robot (Manou et al. 2019). When the hydraulic support pushes the scraper conveyor, the hydraulic oil cylinder is in the static state relative to the base; therefore, the hydraulic oil cylinder is selected as the base. In addition, movement of the joint is simplified as deflection movement of the end actuator around the wrist. The joint is simplified as an endeffector, and the pin shaft connecting the joint to the relay bar is simplified as a rotating joint with yawing motion. The connecting pin between the piston rod and relay bar is simplified as a rotary joint with yawing motion and pitching motion of the robot, and the hydraulic cylinder and piston rod are simplified as the prismatic joint of the robot. The final model can realize the deflection movement of the end-effector around the wrist, the extension and retraction of the manipulator, and the pitching and deflection movement of the arm. The manipulator model is shown in Fig. 4, where Fig. 4a is a schematic diagram of the pushing mechanism, which is primarily comprises an advancing ram, relay bar, and joint, and Fig. 4b is a manipulator model obtained by converting the kinematic characteristics of each structure in Fig. 4a into corresponding joints.

D-H coordinate system
The D-H matrix coordinate system refers to the local reference system assigned to each joint, which must specify the z-axis and x-axis (Jazar 2010). If the joint is rotating, the z-axis is in the right-hand rotation direction, and, if the joint is translational, the z-axis is in the straight-line motion direction. Here, the z-axis of all rotating joints and prismatic joints is determined according to the above principles. When the joints are not parallel or do not intersect, the z-axis is typically a diagonal line. Note that there is always a common vertical line with the shortest distance that is orthogonal to any two diagonal lines. The x-axis of the local coordinate system is defined in any two directions of the common vertical line. According to this method, the xaxis of all rotational and prismatic joints is determined. The D-H coordinate system shown in Fig. 5 is established according to the relative motion relationship of each joint of the determined manipulator model.

Model solving based on inverse kinematics
According to the D-H matrix coordinate system (Sect. 3.2), the linkage of the manipulator model is expressed P||R(0°),R\R(90°), R\R(90°), R||R(0°), R\P(90°). The D-H parameter table according to the established D-H matrix coordinate system is given in Table 1, and the meaning of each joint variable is listed in Table 2.

Solving equations by inverse kinematics
It is necessary to determine the relationship between the elongation of the piston rod, the deflection angle of the relay bar around the connecting pin shaft, the pitch angle and the deflection angle of the joint.
Equation (1) shows the transformation matrix of two adjacent coordinate systems.
All transformation matrices of the manipulator model are obtained as follows.   The angle of rotation of the x iÀ1 axis around the x i axis Joint distance (d i ) The distance between the x iÀ1 axis and the x i axis along the z iÀ1 axis linkage length (a i ) The distance between the z iÀ1 axis and the z i axis along the z i axis Twist angle of connecting rod (o i ) The angle of rotation of the z iÀ1 axis about the z i axis According to the equation The symbols in the Eq. (7) are as follows: When the end position vectors are x 0 ; y 0 ; z 0 ð Þ , the forward motion matrix is simplified as follows.
The inverse kinematics technique is used to solve the motion parameters according to the following equation.

Determining the optimal solution
Due to the multi-solution problem in inverse kinematics, it is necessary to determine the optimal solution. However, movement of the floating connection mechanism between the hydraulic support and scraper conveyor is a four degree-of-freedom space motion, and the motion of each degree of freedom is random. Unity3D, as a virtual simulation engine, can assign motion laws to a specified model to control its motion. We assign the obtained motion law to the virtual hydraulic support and mark the key point in the scraper conveyor pushing an ear socket as the final position of the end actuator of the manipulator model. As the posture of the virtual scraper conveyor changes with the advancing virtual comprehensive mining face, the positions of the key points change in real time in the virtual environment. In addition, the points of action when pushing and advancing the support are determined by changing the positions of key points on the scraper conveyor. In the C# programming language environment, the joint variable d 1 is defined as Position, h 2 as ZhuanJiao2, h 3 as ZhuanJiao3, and h 4 as ZhuanJiao4. The optimal solution for different conditions is transformed into the C# language, and the movement and rotation of the related structure of the virtual floating linkage are controlled by Position, ZhuanJiao2, Zhuan-Jiao3, and ZhuanJiao4. The optimal solution can be determined according to the yaw and pitch angles of the relay bar around the connecting pin axis and whether the relay bar and joint interfere with the base of the hydraulic support and push ear seat of the scraper conveyor.
As shown in Fig. 6, after determining the position of the pushing and advancing points, the floating connecting mechanism reaches the appropriate position. In addition, by comparing the attitude of the floating connecting mechanism in the virtual environment to that in the virtual environment, we find that the attitude motion of the floating connecting mechanism in the virtual environment is the same as that in the actual environment, and the joint and relay bar are deflected, which demonstrates that the selected motion law is reasonable.

''Coal Seam 1 Equipment'' joint virtual straightening system
Here, we establish the ''Coal Seam ? Equipment'' Joint Virtual Straightening System, discuss the ''Coal Seam ? Equipment'' Joint Virtual Straightening System, and present the virtual space of the straightening simulation. Here, to achieve coordination between the hydraulic support and scraper conveyor, the scraper conveyor can be adjusted by controlling the fluctuation of the coal floor in the direction of advance of a fully mechanized coal mining face and by means of the straightening method based on the motion law of the floating connection mechanism (Xie et al. 2018b, c, d;Shi et al. 2019).

Construction of ''Coal Seam 1 Equipment'' virtual scene
Large fluctuation of the coal seam floor will occur due to the influence of an uneven basement and late geological tectonic movement during coal seam deposition (Wu 2013). In addition, crustal movement will change, steepen, or slow the previously horizontal coal seam (Li 2019). In this paper, the inclination of the coal seam is 10 degrees, and there are fluctuations in the direction of the fully mechanized coal mining face.
A three-dimensional model of the virtual coal seam floor with 10 degree inclination and undulations is built in UG, imported into 3D Max in STL format, and then converted to FBX format and imported into Unity 3D to obtain the coal seam floor in a virtual environment (Fig. 7).
Here, to simplify the research process, 11 hydraulic supports and 13 middle troughs are selected. In the virtual environment created using Unity 3D, a mesh collider is added to the virtual coal seam (Fig. 6), a box collider and rigid body components are installed on the virtual scraper conveyor and virtual hydraulic support, and a capsule collider is installed at the middle trough ramp plate of each section of the scraper conveyor to allow it to pass over raised terrain. Installing character joint hinges between the two adjacent middle troughs enables a single midsection slot to be constrained by the two adjacent middle troughs and correspond to real-world physical effects by setting parameters, i.e., the hydraulic support and scraper conveyor can be adapted to lay on the virtual coal seam (Fig. 8). Here, when the hydraulic support pushes the scraper conveyor, the middle trough is influenced by the adjacent middle trough and coal seam floor.

Posture in physical space
Posture in virtual space

Pushing point
Advancing point The hydraulic support is numbered DiZuo X (X [ (1,11)) and is considered the sub-object of yyzz. The middle trough is numbered ZhongBuCao X (X [ (1,13)) and considered a sub-object of GBJ. The undulations along the working face direction are indicated by the relative position relationship of the two undulating coal seam floor plates, which are numbered MeiCengDiBan X (X [ (1,2)). According to the known running track of the shearer, the projected track in the horizontal direction is inverted to the scraper conveyor according to the bending condition of the track. Then, the bending angle of the middle trough of each section is determined and represented by the script form of GBJControl.cs, which is installed on the parent object GBJ of the middle trough of the scraper conveyor. The rotation of the middle trough of each section is controlled by the following function: this.transform.Rotate(new Vector3(eulerAngles.x, eulerAngles.y, eulerAngles.z), Space.Self);

Connection point location
The YYZJControl.cs control script is installed on each hydraulic support, and the pushing and advancing support processes of the hydraulic support is controlled by TuiYiYouGangShenChangFunction and DiZuoQianYiFunction, respectively. According to the obtained motion law of the floating connection mechanism, joint variable d 1 is defined as Position, h 2 as ZhuanJiao2, h 3 as ZhuanJiao3, and h 4 as ZhuanJiao4. The optimal solution established under different conditions is converted to the C# language, and the movement and rotation of the relevant structures of the virtual floating connection mechanism are controlled by Position, ZhuanJiao2, ZhuanJiao3, and ZhuanJiao4 to realize precise shift of the hydraulic support.
The MCDBControl.cs control script is installed on MeiCengDiBan1 to control the movement of Mei-CengDIBan2 relative to the parent object Using the following statement: this.transform.localPosition = new Vector3 (x, y, z).

Straightening method based on motion law of floating connection mechanism
The straightening method based on the motion law of the floating connection mechanism realizes straightening of the scraper conveyor in the virtual environment, which is based on the ideal straightening position of the scraper conveyor. The hydraulic support pushing mechanism can accurately push the specific motion according to the results of each structure of the motion law of the floating connection mechanism. The law is considered the default straightening method in the ''Coal Seam ? Equipment'' joint virtual straightening system. The motion law of the floating connection mechanism between the hydraulic support and scraper conveyor (Sect. 4.2) is programmed into the background program of the virtual simulation system, and the virtual hydraulic support is connected to the virtual scraper conveyor by the pushing mechanism. As a result, self-adaptive collaborative propulsion of the virtual hydraulic support and virtual scraper conveyor under different coal seam conditions is realized.
As shown in Fig. 9, propelling deviation during the propelling process of the fully mechanized coal face is shown in Fig. 9. Here, AFP n is the actual track of the working face at the cutting time of the knife n, DFP n is the

The tendency of coal seam
The strike of coal seam target trajectory of the working surface at the time of knife n cutting, RPC n is the straightness correction required by the scraper conveyor after knife n cutting (Fan et al. 2012;Li 2019), and DPC n is the theoretical traveling distance required for the hydraulic support after knife n has been cut. Note that the maximum values of RPC n and DPC n are 630 mm. After the shearer cutting, the scraper conveyor is pushed by the hydraulic support according to the traditional process, and the AFP n curve is obtained only after shearer cutting is completed. The simulation system obtains DPC n according to the prediction of AFP nÀ1 and calculates the difference between the two according to the curve of AFP n and AFP nÀ1 . In other words, DPC n is the basis of the hydraulic support's travel, and the hydraulic support is moved according to the actual elongation of the piston rod corresponding to the calculated difference. During the next cut of coal by the shearer, the simulation system calculates the difference between the AFP n and DFP n curves; thus, RPC n is the theoretical basis of this pushing stroke of the hydraulic support. After the system calculates the actual pushing stroke and sends it to the hydraulic support, the hydraulic support group pushes the scraper conveyor into a straight line on the horizontal projection. Finally, the hydraulic support is advanced according to the elongation of the piston rod. After the support is advanced, the position of the hydraulic support is adjusted, and the hydraulic support is set in position.

Virtual simulation process based on seam floor without undulations
In this paper, the hydraulic support model is ZY11000/18/ 38D, the shearer model is MG400/920-WD, the scraper conveyor model is SGZ800/1050. In the virtual environment, the three machines of a virtual fully mechanized coal mining face are the same as those of a real fully mechanized coal mining face (with a shearer cut depth of 630 mm).
Since the theoretical displacement is based on the relative position change of the scraper conveyor when straightening, here, the movement of the hydraulic support is controlled by the position change of the scraper conveyor. In the virtual environment, Unity3D as a solver is used to simulate the function of the control host through the control of C# script to realize collaborative control of the hydraulic support and scraper conveyor (Li 2019).
When the virtual seam floor does not fluctuate in the direction of a fully mechanized coal mining face, the hydraulic support groups and scraper conveyors are laid on the virtual seam adaptively, as shown in Fig. 10, where the blue plate is the child plate, and the black plate is the parent plate. Here, fluctuation is indicated by changing the relative displacement of the child plate relative to the parent plate in the y-axis direction.

Operation process
The operation interface of The ''Coal Seam ? Equipment'' Joint Virtual Straightening System is shown in Fig. 11.
By clicking the ''Start'' button, the hydraulic support pushes the scraper conveyor. At this time, the scraper conveyor bends into the established posture. In addition, by clicking the ''Advancing support'' button, the hydraulic support group advances, and, by clicking on the ''Straightening'' button, the hydraulic support slides according to the forecasted track of the previous scraper conveyor. By clicking the ''Advancing support'' button again, the hydraulic support is advanced. Note that, at this time, the hydraulic support group does not meet the straightness requirements. Clicking the ''Adjusting the hydraulic support'' button adjusts the straightness of the hydraulic support group by adjusting the position of the hydraulic support. The entire straightening process is shown in Fig. 12. Here, the hydraulic support is straightened based on the straightening method of the motion law of the floating connection mechanism, and then the hydraulic support position is straightened according to the sequence of pushing and then advancing. As can be seen, the final posture of the scraper conveyor and hydraulic support has good straightness. By clicking the ''Hydraulic support's data'' button, data of the elongation of the piston rod, deflection angle of the joint, deflection angle of the relay bar, and pitch angle of the hydraulic support group can be output in real time in XML format during operation of the three machines of a fully mechanized virtual coal mining face. Here, the key point is marked as the position of the middle trough at the center of the middle pin row of the middle trough. By clicking the ''Scraper Conveyor's Data'' button, the position of each middle trough of the scraper conveyor is output in XML file format in real time.
By clicking ''Floor undulation?,'' trigger once to achieve a floor bulge of 20 mm. In the simulation system, the difference between the sub-floor and the parent floor is ? 0.01 dm. Click on ''Floor undulations -,'' trigger once to achieve a floor sag of 20 mm, in the simulation system, the difference between the sub-floor and the parent floor is -0.01 dm.

Simulation results
Output the position coordinates of each middle trough, and the Z coordinate is selected to obtain the position curve of the scraper conveyor track projected in the horizontal direction. According to the change of the relative position of the middle trough, no more than one cutting depth can be predicted to predict the position of the scraper conveyor after straightening. Here, the average z-axis value of all middle troughs after straightening is selected as the ideal straightening position of each middle trough of the scraper conveyor.
The position and posture track of the scraper conveyor in the horizontal projection direction is shown in Fig. 13a, which shows that the effect of the proposed straightening method meets the requirements of straightening. Figure 13b shows that the error between the actual and ideal track curves of the scraper conveyor is within ± 0.05 dm, and the straightening accuracy is high. Note that the coal floor is not straight; thus, coal seam inclination and fluctuation in the direction of the fully mechanized coal mining face will occur. Here, fluctuation of the coal seam floor in the direction of the fully mechanized coal mining face is indicated by the change in the relative position between the subfloor and parent floor. As shown in Fig. 14, when the coordinate position of the subbase plate relative to the parent base plate changes to a positive value, the terrain shown in Fig. 14a is obtained. In addition, when the coordinate position of the sub-base plate relative to the parent base plate changes to a negative value, the terrain shown in Fig. 14b is obtained.

Bulge topography in coal seam floor
The influence of protruding terrain on straightening accuracy when the scraper conveyor encounters raised terrain during straightening was examined in several sets of experiments. The results are shown in Table 3.
According to the Table 3, the virtual straightening simulation tests were performed using Unity3D and the straightness error of the middle trough of the scraper conveyor after straightening in the horizontal projection direction was obtained (Table 4). As can be seen, with increasing coal seam floor bulge, the average straightness error of scraper conveyor was within 3-5 mm, and the straightening accuracy was high.
By controlling coal floor bulge in the direction of advance of a fully mechanized coal mining face within the range shown in Table 4, Fig. 15a shows that, with fluctuation of the coal seam floor, a greater bulge in the coal seam floor is yields greater straightening error. In addition, Fig. 15b shows that the average straightening error of the scraper conveyor increases with increasing coal seam floor bulge, when the bulge is greater than 80 mm, the average straightening error of scraper conveyor is affected more by fluctuation of the floor. Table 5 shows the influence of raised terrain on straightening accuracy when the scraper conveyor encounters sagging terrain while straightening.

Subsidence topography in coal seam floor
According to the Table 5, the virtual straightening simulation tests were performed in Unity3D, and the  Table 6. As can be seen, with increasing coal seam floor subsidence, the average straightness error of scraper conveyor was within 2-8 mm, and the straightening accuracy is high. By controlling the subsidence of the coal floor in the direction of the working face advance in the range of fluctuation of coal floor (Table 6). Figure 16a shows that, with coal seam floor fluctuation, larger subsidence of the coal seam floor results in greater straightening error of the scraper conveyor. In addition, Fig. 16b shows that the average straightening error of the scraper conveyor increases as subsidence of the coal seam floor increases. Here, the average straightening error of the scraper conveyor is increasingly affected by floor fluctuation.

Test conclusions
(1) From the simulation results presented in Sects. 6.1 and 6.2, it can be seen that, in the virtual environment, the straightening method based on motion law of floating connection mechanism is used to straighten the alignment. The straightening effect is better, and the straightening precision is high.
(2) When the coal seam floor fluctuates in the advancing direction of a fully mechanized coal mining face, the scraper conveyor straightness error increases after straightening.
(3) When the coal seam floor in the fully mechanized coal face has undulations, the straightness of scraper conveyor is more affected by the subsidence terrain during straightening than by the bulge terrain. However, when the bulge is within 20-100 mm, the average straightness error of the scraper conveyor after straightening is within 4-5 mm. When the subsidence is within 20-100 mm, the average scraper conveyor straightness error after straightening is within 2-8 mm. And the two cases have high straightening accuracy and meet the accuracy requirements of straightening.

Experimental verification 7.1 Experimental scheme and platform
According to the scale between the pushing test-bed model and the coal machinery model in the virtual simulation system is about 6:35. According to the median line of triangle, 3.5 mm gaskets are selected to control the fluctuation of the base plate, the fluctuating model of coal seam floor is shown in Fig. 17. The sensors required in this paper are listed in Table 7, and the experimental device is shown in Fig. 18. Due to the limitation of the experimental device, the angle of the joint is obtained by manual measurement. And the test-bed is fixed on the foundation, it cannot realize the advancing of the base, so the pushing mechanism can only push the scraper conveyor with full stroke to control the straightness of the scraper conveyor. In this experiment, by controlling the undulations of the coal floor model, the board is made to walk along the white line on the middle trough to    Virtual straightening of scraper conveyor based on the position and attitude solution of… 1161 simulate the coal cutting process of shearer with scraper conveyor as running track, to study the influence of the undulations of coal floor on the straightness of scraper conveyor and the reliability of the motion law of floating connection mechanism.

Experimental data analysis
Due to the large amount of data in this experiment, a portion relevant experimental data is selected as follows (Fig. 19).

Reliability analysis of experimental device
Compare the data from the pushing test-bed with the data from the virtual simulation test, i.e., compare the data from the experiment with the data from Unity3D, and get the difference after the virtual-real comparison, to determine whether the test-bed can be used to verify the relevant conclusions from the virtual simulation test. It can be seen from Fig. 20 that the difference between roll angle, pitch angle and yaw angle of the middle trough is within 1°, and the average value of difference of angle for middle groove is within 0.5°in Fig. 20d. This indicates that relevant tests are carried out on the pushing test-bed to validate the conclusions obtained in the virtual simulation test in this paper are feasible and effective.   The subsidence of coal seam floor in the direction of advance of fully mechanized mining face is 20 mm 2 The subsidence of coal seam floor in the direction of advance of fully mechanized mining face is 40 mm 3 The subsidence of coal seam floor in the direction of advance of fully mechanized mining face is 60 mm

Verification of motion law of floating connection mechanism
By comparing the experimental data with the data transported in the virtual environment, the D-value curves are obtained as shown in the Fig. 21. As can be seen from Fig. 21, the average difference of the piston rod elongation is about 0.41 cm, and the average difference between the yaw angle of the push rod, the pitch angle and the yaw angle of the piston rod is about (0.45°, 0.10°, 0.09°), the difference between the experimental results and the virtual simulation results is small. This shows that the motion law of the floating connection mechanism obtained in this paper is true and reliable.
7.5 Verification of the influence of coal seam floor undulation on scraper conveyor straightness

Straightening experiment in bulge topography
The coal floor model on one side of scraper conveyor is padded up to simulate the bulge topography by gaskets. The scraper conveyor is pushed by pushing mechanisms and the distance between the scraper conveyor and the location datum on the pushing mechanism is measured by displacement sensor. The straightness error curve of scraper conveyor under different bulge topography is obtained (Fig. 22). It concludes that with the increase of coal seam floor undulation, the straightness error of scraper conveyor is increasing, and the average straightening error of the scraper conveyor increased flatly at first then steeply. The conclusions are consistent with the conclusions obtained in Sect. 6.1.

Straightening experiment in bulge topography
Raise the height of the coal seam floor by 5 gaskets as a whole, and the gaskets are placed under the bottom plate of one side of the scraper conveyor pushing an ear socket to simulate the subsidence topography. Repeat the experimental steps in Sect. 7.5.1 to get the straightness error curves of scraper conveyor under different subsidence, as shown in Fig. 23.

Experimental conclusions
(1) The motion law of the floating connection mechanism obtained in this paper is correct. conveyor is more affected by the subsidence terrain during straightening than by the bulge terrain, which can be seen from the comparison between Figs. 22b and 23b. This conclusion verifies conclusion 3 in Sect. 6.3.
Therefore, the conclusions of the influence of coal seam floor fluctuation on the straightness of scraper conveyor are correct, and they can indirectly show that the straightening method proposed in this paper is feasible.

Comparative analysis and simulation test
To verify the advantages of the straightening method described in this paper, the principle of LASC is used to straighten the floor of a complex cutting coal seam, and the straightening results are compared to the default straightening method in the established simulation system.

LASC technology is a set of automatic mining technology, developed by the Commonwealth Scientific and Industrial
Research Organization (CSIRO) (Ralston et al. 2015;Jonathon et al. 2017), adopts a strapdown inertial navigation system that can determine the coordinate position of a shearer in the three-dimensional space of a coal mine very accurately, monitor the three-dimensional attitude of a shearer in real time, and describe the walking track curve of a shearer through integrated navigation combined with the shearer's odometer data (Ralston et al. 2015;Holm et al. 2013). In addition, the projection of the curve in the horizontal direction can be used in the process of automatic straightening of the working face (Li 2019). The LASC straightening technology is based on the LASC technology, the hydraulic support is advancing according to the difference between the predicted trajectory of the scraper conveyor and the current trajectory, and then the hydraulic support pushes the scraper conveyor at full stroke, so that the scraper conveyor can meet the requirements of straightness.
The differences between the LASC straightening principle and the proposed straightening method are shown in Table 8.

Comparison of simulation results
A simulation using LASC straightening was performed in order to compare LASC results to the results obtained by the proposed method.
The straightening principle of the ''Coal Seam ? Equipment'' Joint Virtual Straightening System is changed to the principle of LASC straightening. When the coal seam floor has no fluctuations in the running direction of a fully mechanized coal mining face, the scraper conveyor's straightening state and the fluctuation of the coal seam floor are consistent with the conditions described in Sect. 6 The straightening process is shown in Fig. 24. Figure 24a shows the initial state of the scraper conveyor, Fig. 24b shows the process of hydraulic support pushing the scraper conveyor, Fig. 24c shows the process of hydraulic support moving according to the straightening correction, and Fig. 24d shows the process of hydraulic support full stroke pushing scraper conveyor straightening. The final position curve of each process of the horizontal projection of the scraper conveyor track is obtained, as shown in Fig. 25a, and, as can be seen, the straightening effect is better. It can be seen from Fig. 25b that, after straightening, the error between the actual track curve and the ideal track curve of the scraper conveyor is within -0.056-0.078 dm, and the straightening accuracy is relatively high.   As shown in Table 9, when the coal floor is no longer the ideal horizontal floor, after applying the principle of LASC, the average straightening error of the system is larger than that of the default straightening method in the virtual environment.
The average straightening errors of the two straightening methods are compared in Fig. 26. In Fig. 26a, b, c, the difference between the average straightening error curve of LASC straightening technology and the proposed straightening method and the difference between them can be seen. The area above the abscissa is larger than the area below, which shows that overall the straightening error difference of the former is larger than that of the latter, and the difference is within 10 mm. In summary, the proposed straightening method has higher straightening accuracy than that using LASC straightening technology.
Due to the limitation of experimental conditions, it is impossible to verify the results of the comparative analysis simulation experiment. However, through the experimental results in Chapter 7, the comparative simulation test results in this chapter are also correct.

Conclusions and prospect
In this paper, the influence of the fluctuation of the coal seam floor on the straightness of a scraper conveyor has been investigated. First, the motion law of the floating connecting mechanism is obtained based on the pose solution of the industrial robot model, and a joint virtual straightening system of ''Coal Seam ? Equipment'' is established. Through relevant simulation tests and comparative analysis, the following conclusions are obtained.
(1) The precise push-pull movement of hydraulic support in a virtual environment is realized. In this paper, the motion law of the floating connecting mechanism is obtained based on the pose solution of   Fig. 12, RPC n as the moving frame. In the latter, the actual elongation of the hydraulic cylinder corresponding to the DPC n in Fig. 12 is taken as the pushing stroke, and the elongation of the hydraulic cylinder corresponding to the RPC n straightening correction is taken as the advancing stroke 2. The order of pushing and advancing of hydraulic support is different Straightening method based on motion law of floating connection mechanism Pushing ? Advancing support according to the elongation of the piston rod corresponding to the difference value DPC n ? Pushing according to the elongation of the piston rod corresponding to the straightening correction value Virtual straightening of scraper conveyor based on the position and attitude solution of… 1167  -20 2.7 3.6 0.9 the industrial robot model, which can be transformed into a form that can be used by the electro-hydraulic control system, which lays a foundation for the accurate movement in the physical environment.
(2) The fluctuation of coal seam floor has a significant influence on the straightening accuracy of a scraper conveyor. The larger the fluctuation of the coal seam floor along the advancing direction of a fully mechanized coal mining face, the greater the straightness error. And the subsidence of coal seam floor has a great influence on the straightening accuracy of scraper conveyor. (3) The straightening method based on the motion law of the floating connection mechanism has high straightening accuracy. The straightening method proposed in this paper has high straightening accuracy when there is a complex cutting floor in the coal mine. Compared with the same conditions when the scraper conveyor is straightened using the principle of LASC technology, the proposed straightening method has high accuracy.
In this study, because the fluctuation of the coal seam floor is not the only change along the coal seam trend, i.e., the entire floor is uneven, it is necessary to construct a coal seam floor model in the virtual environment that is based on data information obtained from the real detection. In addition, this paper only considers the undulation of the coal seam floor in the advancing direction of the fully mechanized coal face and the existence of the coal seam dip angle. Faults, folds, and other complex geological structures complicate the advancing and straightening process of the fully mechanized coal face.
In future research, the above conclusions should be verified in combination with the actual coal mining process, and the influence of the complex coal seam floor on the straightening of the fully mechanized mining face should be further studied. According to geological structure models, such as faults and folds, the virtual floor model is established to explore the cooperation between hydraulic support and scraper conveyor under the complex geological structure in order to lay the foundation for the establishment of a fully mechanized mining face production system based on digital twin and to promote the construction of an ''Intelligent Mine''.  adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons. org/licenses/by/4.0/.