Next Article in Journal
Nitrogen-Doped Carbon Dots from Averrhoa carambola Fruit Extract as a Fluorescent Probe for Methyl Orange
Previous Article in Journal
Towards an Inertial Sensor-Based Wearable Feedback System for Patients after Total Hip Arthroplasty: Validity and Applicability for Gait Classification with Gait Kinematics-Based Features
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multi-Sensor Fusion and Error Compensation of Attitude Measurement System for Shaft Boring Machine

1
School of Mechanical Electronic and Information Engineering, China University of Mining and Technology, Beijing 100083, China
2
College of Mechanical and Equipment Engineering, Hebei University of Engineering, Handan 056038, China
3
Tiandi Science and Technology Co., Ltd., Beijing 100013, China
4
CCTEG Shenyang Research Institute, Fushun 113122, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(22), 5007; https://doi.org/10.3390/s19225007
Submission received: 24 October 2019 / Revised: 11 November 2019 / Accepted: 14 November 2019 / Published: 16 November 2019
(This article belongs to the Section Electronic Sensors)

Abstract

:
To ensure that the shaft boring machine (SBM) runs along the pre-designed axis steadily, the role of the attitude measurement system is essential, but its accuracy and reliability cannot be guaranteed. Currently, there is no effective technology to meet the actual requirements, and there is a lack of relevant theoretical research in this field. Through further study of the attitude analysis method and multi-sensor fusion technology, this paper presents a dual coordinate method, which can be used to describe the attitude characteristics of the SBM. Moreover, this paper discusses the relationships between the attitude changes and the values of the angle as well as displacement and analyzes the implementation complexity and computational efficiency of related algorithms in software and hardware. According to the working characteristics of the SBM, the hardware design and the reasonable layout of the attitude measurement system are provided. Based on multi-sensor data, this paper puts forward an improved method combining a complementary filter with an extended Kalman filter (EKF) for attitude estimation and error compensation. The simulation experiments of different working processes verify the steady-state response and dynamic response performance of the method. Experimental results show that the dual coordinate method and the proposed filter are more suitable for attitude estimation of the SBM compared to other methods.

1. Introduction

A shaft boring machine (SBM), as a special type of shaft drilling equipment, can carry out mechanical rock breaking and support quickly. It has many advantages, such as a high degree of mechanization without blasting operation, fewer underground workers, high construction efficiency, good completion quality, and high security. In fact, it has become the major piece of technical equipment for infrastructure construction and resource development, as well as an important development direction of intelligence and automation for modern mines [1,2]. The SBM is composed of a control system, support system, propulsion system, driving system, and cutterhead [3,4]; the overall structure is shown in Figure 1. The control system is the core part, and it is responsible for coordinating the normal work of other parts and completing the data interaction with a remote monitoring center. Because the SBM adopts the rolling impact and shear mode to break the complex rock structure, the vibration is strong, and it has a small operating space, high temperature, high dust concentration, and serious electromagnetic interference, and these factors have a serious influence on the control system [5,6]. In particular, the movement track of the SBM is easy to deviate from the shaft design axis, and the trajectory is out of alignment, which has a direct impact on construction efficiency and quality and even causes safety accidents. Therefore, attitude measurement units are the key part of the control system, and they are extremely important for the SBM working safely and stably.
At present, attitude measurement methods of tunnel boring machines applied in underground construction contain manual methods and automatic methods [7]. The operation time is long, and the calculation is complicated for manual methods, but the manual methods are often used as supplementary means for an automatic measurement method because of their high detection accuracy. Automatic measurement methods mainly include a gyroscope guidance system, prism guidance system, laser target guidance system, and visual measurement guidance system, and these systems have some advantages and disadvantages. TMG-32B (gyroscope guidance system) is low cost but needs regular calibration due to the poor stability and low measurement accuracy. ROBOTEC, PPS, and RMS-D (prism guidance system) have a simple structure and low cost but have high requirements for the installation environment with poor real-time performance and low precision. ZED and TUnIS (laser target guidance system) have long measurement distance and high precision but easily cause errors and improper installation. The visual measurement guidance system has a large field of view and good real-time performance, but it is still in the research stage and has some limitations, so there is no typical engineering application [8,9,10,11,12].
Obviously, different attitude measurement methods have their applicability and limitations, and the working environments of the SBM are complicated, including mechanical vibration, electromagnetic interference, temperature effect, pressure change, and so on. Consequently, there are no effective technical means for the attitude measurement of the SBM, and it is easy to generate cumulative and random errors only by a single attitude measurement method [13,14]. To avoid the above problems, multi-sensor fusion technology can be used to study attitude calculation and error compensation methods, and thus can improve the accuracy and reliability of the attitude measurement system.
Multi-sensor fusion technology is first applied in strategic early warning, precision guidance, and other military fields, and it is gradually extended to remote sensing, medical diagnosis, wireless communication, industrial control, fault diagnosis, and other civilian fields. Currently, the common data fusion algorithms mainly include the weighted average method, Bayesian estimation method, complementary filter method, fuzzy logic inference method, wavelet transform method, artificial neural network method, gradient descent method, and Kalman filter method [15,16]. Multi-sensor fusion technology can avoid lots of problems existing in the single sensor system, enhance the viability of related systems, expand time and space coverage, improve credibility, reduce the ambiguity of information, and enhance the robustness and reliability of total system [17]. At the same time, the accuracy, applicability, and fast response of the multi-sensor data fusion method are important reference indexes, especially the implementation complexity and computational efficiency of different algorithms in software and hardware. In these aspects, the complementary filter and Kalman filter have certain advantages compared with other methods [18,19,20], but the related theories and implementation processes still need further study.
The sensors of micro electro mechanical system (MEMS) have advantages of small size, low power consumption, low weight, low cost, and so on, and they have been widely used in fields of spacecraft, unmanned aerial vehicles (UAVs), mobile robots, pedestrian navigation, and vehicle attitude measurement and control [21,22]. Nevertheless, due to their manufacturing processes and working principles, inertial measurement units (IMU) based on MEMS have large systematic errors, such as deviation, scale factor, and drift. Moreover, the installation mode, temperature, vibration, impact, and noise also cause random errors [23,24], so the accurate attitude measurement can be realized only after signal processing. Nekrasov et al. [25] and Lall et al. [26] analyzed the failure mode of the MEMS gyroscope by thermal cycle and vibration tests and improved the performance of the gyroscope with modification tests. However, the method tends to have poor versatility only through hardware and mechanical structure improvements because there are differences between different MEMS sensors. Therefore, it is necessary to study the data fusion and error compensation method based on MEMS multi-sensors to effectively improve their applicability in the attitude measurement of the SBM.
In the field of underground space exploration, there are few studies on the data fusion and attitude estimation of MEMS sensors. Because of the complexity and particularity of the SBM, there is no reliable solution, and yet, some research results in other fields are worthy of reference. In the application of aircraft navigation, the noise and drift of MEMS inertial sensors will produce large errors in the attitude and heading reference system (AHRS), which can be improved by some sensor fusion methods, such as the Kalman filter [27]. The adaptive Kalman filter [28] and extended Kalman filter (EKF) [29] with a linear model and adaptive gain were adopted to avoid non-linear problems of conventional methods and the influence of dynamic acceleration on filter performance. Furthermore, the information fusion and attitude estimation based on the non-linear observer of a quaternion is a further improvement for the Kalman filter [30]. Zhu et al. [31] carried out real-time measurement and state estimation for the attitude and stability of articulated heavy vehicles by MEMS sensors and the complementary filter, which improved the safety and stability of the vehicle. Actually, the complementary filter method has advantages of having simple principles and small computation, but its disadvantage is that there is no reliable method to identify the boundary between high-pass filtering and low-pass filtering. The Kalman filter has a limited ability to adjust the changes of acceleration and vibration, but MEMS sensor fusion can restrain abnormal changes of external parameters. Generally, the accuracy is not ideal only through the simple integration of a gyroscope, accelerometer, and magnetometer [32], but it is feasible to compensate the drift errors of the gyroscope with data from the accelerometer and magnetometer.
At the same time, to reduce the data acquisition and calculation burden of remote control centers and improve the ability of autonomous attitude measurements and rapid response for the SBM, it is necessary to implement the algorithm in attitude measurement units and the embedded processor of the monitoring terminal, but the implementation complexity and computational efficiency of the hardware and software must be considered. Due to the speed limit, the 8-bit and 16-bit microcontrollers only support fixed-point operation, have some difficulties in algorithm implementation, and can barely run some simple algorithms [33,34]. However, the flexibility of the algorithm is obviously improved on advanced RISC (reduced instruction set computing) machine (ARM), field programmable gate array (FPGA) and other high-speed chips. For instance, the STM32F3 evaluation board can process the gradient descent method, nonlinear complementary filter, and standard EKF method quickly [35]; the STM32F103 controller can implement EKF based on quaternion, which meets the accuracy requirement for the attitude measurement of UAVs in dynamic environments [36]; Sabatelli et al. [37] proposed an IMU sensor fusion method based on a double stage Kalman filter to reduce the complexity of the algorithm, which was verified on FPGA.
To solve the above problems, based on hardware design and multi-sensor data acquisition, this paper presents a dual coordinate method suitable for the SBM. The method reflects the working characteristics of the SBM and external environment and can be used to calculate the attitude angle and displacement. Combining the complementary filter with EKF, a fusion method of multi-sensor data is put forward to improve the accuracy of attitude estimation, and the method can effectively compensate estimation errors under working conditions. Meanwhile, the theoretical analysis and simulation experiments are adopted to validate related methods. Finally, the reliable attitude information of the SBM is obtained. The block diagram of multi-sensor fusion and error compensation is shown in Figure 2.
Thus, the main contributions of the presented work are (i) a dual coordinate system structure and analysis method suitable for the attitude measurement of the SBM, (ii) a fusion method of attitude estimation and error compensation based on the complementary filter and EKF, (iii) the complexity and computational efficiency analysis of different algorithms to ensure the real-time performance and reliability of data fusion results.
The rest of this paper is structured as follows. Firstly, Section 2 introduces the hardware composition and design of the attitude measurement system for the SBM. Section 3 presents the dual coordinate method based on angle and displacement and then analyzes the attitude characteristics of the SBM, matrix transformation, and the relationship between the attitude changes and coordinate values. The implementation processes of the improved attitude estimation algorithm are explained in Section 4. Next, experimental results are presented and discussed in Section 5. Finally, the conclusions and future work are proposed in Section 6.

2. Hardware Design

This section mainly introduces the hardware architecture of the attitude measurement system for the SBM. As shown in Figure 3, the SBM is moving down along the rock structure (shadow part). To ensure the running track of the SBM, the attitude measurement system generally includes a laser orientation instrument, position sensitive detector (PSD), attitude measurement units, and an embedded monitoring terminal. The technical characteristics of each component are as follows:
  • Laser orientation instrument (YHJ800, Beijing Wokesida Technology Development Co., Ltd., Beijing, China), which is fixed vertically on the sidewall of the shaft. At the first time, it locates 5 m above the SBM and is used to point the direction of the drilling construction. The low power semiconductor laser is driven by a DC power supply to generate the laser beam; the laser power is more than 10 mW, and the effective range of laser is 800 m.
  • Position sensitive detector (PSD6060, Shanghai Ouguang Electronic Technology Co., Ltd., Shanghai, China), which is installed on the top surface of the SBM, and it receives the laser signal to determine the horizontal relative displacement of the SBM. It is a two-dimension device, and the photosensitive surface range is 60 × 60 mm. Based on the photoelectric effect of the PIN photodiode, it can convert the light point position at the photosensitive surface to an electrical signal and has high position resolution and fast response speed. The output signal is only related to the light energy center position, independent of spot size and shape.
  • Attitude measurement units are fastened at the measuring point on the top of SBM, each unit integrates an embedded controller and MEMS sensors (a gyroscope, accelerometer, magnetometer, etc.), and the units are applied for preliminary data fusion to obtain the deviation angle of the SBM. As shown in Figure 4, each unit is composed of a power supply circuit, microcontroller, gyroscope, accelerometer, magnetometer, and 485 communication module SP3485 (MaxLinear, INC., Carlsbad, CA, USA). The STM32F051K8 (STMicroelectronics, Geneva, Switzerland) is the core part, and its operating frequency is up to 48 MHz. The signals of BMI160 (Bosch Sensortec GmbH, Reutlingen, Germany, including a tri-axial gyroscope and a tri-axial accelerometer) and RM3100 (PNI Sensor Corporation, Santa Rosa, CA, USA, a tri-axial magnetometer) are collected by interface I2C (SCL and SDA). The interrupt control signal is issued by the custom interface INT of STM32F051K8, and the data transfer interrupt is triggered by the interface INT of BMI160. Meanwhile, the chip pin CTL is also the custom interface of STM32F051K8, and it can control the enable signal of sending and receiving for interface RE and DE of SP3485. Moreover, RXD is the data receiving interface and receives data from the interface RO, TXD is the data sending interface and sends data to the interface DI, and then attitude measurement units communicate with the embedded monitoring terminal through the 485 bus (interface A and B).
  • The embedded monitoring terminal is on the top console of the SBM and collects information, such as displacement, air pressure, temperature, deviation angle, and then completes secondary data fusion and the attitude calculation. As shown in Figure 5, it includes a power supply circuit, microcontroller, air pressure sensor, 485 communication unit (SP3485), and so on. The core microcontroller is TMS320F28335 (Texas Instruments Incorporated, Dallas, TX, USA), and the operating frequency of the DSP (digital signal processor) controller is up to 150 MHz. TMS320F28335 receives the signal from MS5611 (Measurement Specialties, Inc., Hampton, VA, USA, including a barometer and a temperature sensor) with the interface SPI, and acquires the displacement value of the PSD by the interface ADC, the definition and function of 485 communication interface are similar to the attitude measurement unit. Meanwhile, the embedded monitoring terminal receives the data transmitted by attitude measurement units and carries out data interaction with attitude measurement units, the PLC (programmable logic controller), and the remote control center with the 485 bus (interface A and B).

3. Dual Coordinate Method

To describe the spatial motion state of the SBM, the reference coordinate system and target coordinate system must be established. Just like the navigation system of UAV, it has a coordinate navigation system (north-east-down) and body coordinate system, can calculate the angle deflection, and acquire the location information through GPS, COMPASS, and GLONASS [38], which are not suitable for the shaft environment. Therefore, according to the working characteristics of the SBM, on the one hand, the angle analytical coordinate system needs to be established to obtain the angle deflection; on the other hand, the displacement coordinate system must be established based on the PSD and laser orientation instrument to obtain the horizontal displacement of the SBM relative to the shaft design axis. As shown in Figure 6, combined with the calculation data of the dual coordinate system, the accurate attitude information of the SBM can be determined in the restricted space of the shaft.

3.1. Angle Coordinate Analysis

Attitude angles are three-dimensional vectors used to determine the rotation of an object on its axis [39]; they represent the rotation angle of the SBM around three axes of the coordinate system. According to the relationship between reference coordinate and angle coordinate, the attitude of the SBM relative to the horizontal plane is obtained. As shown in Figure 6, the attitude angles of the SBM include roll angle α, pitch angle β, and yaw angle γ. The specific definitions are as follows:
  • Roll angle α: the angle between the Za axis and the plumb plane containing the Xa axis after the SBM rotates around the Xa axis. It is positive to the right and negative to the contrary, which shows the deflection degree around the Xa axis; the threshold range is [−15°, 15°].
  • Pitch angle β: the angle between the Xa axis and the horizontal plane after the SBM rotates around the Ya axis. When the positive half of the Xa axis is above the horizontal plane, the pitch angle is positive, otherwise it is negative, which proves the deflection degree around the Ya axis; the threshold range is [−15°, 15°].
  • Yaw angle γ: the angle between the projection of the Xa axis on the horizontal plane and the Xa axis of the reference frame after the SBM rotates around the Za axis. When the X axis rotates clockwise to the Xa axis projection, the yaw angle is positive, otherwise it is negative. It is 0° under normal conditions, non-zero indicates that the support system has failed or the SBM is passing through an abnormal geological area, which causes the SBM to rotate laterally along the shaft; thus, the operation must be stopped immediately.
There are three kinds of angle analysis methods, including the Euler angle method, direction cosine method, and quaternion method [40]. By using the Euler angle method, if the reference coordinate rotates α around the X axis, then rotates β around the Y axis, and finally rotates γ around the Z axis, it can overlap with angle coordinate, and the transformation matrix C r a after three rotations is expressed as follows:
C r a = C r α C r β C r γ = [ 1 0 0 0 c o s α s i n α 0 s i n α c o s α ] [ c o s β 0 s i n β 0 1 0 s i n β 0 c o s β ] [ c o s γ s i n γ 0 s i n γ c o s γ 0 0 0 1 ] = [ c o s β c o s γ c o s β s i n γ s i n β s i n α s i n β c o s γ c o s α s i n γ s i n α s i n β s i n γ + c o s α c o s γ s i n α c o s β c o s α s i n β c o s γ + s i n α s i n γ c o s α s i n β s i n γ s i n α c o s γ c o s α c o s β ] .
where r stands for the reference coordinate system, and a is on behalf of the angle coordinate system of the SBM. C r α , C r β , C r γ , each, respectively, represents the transformation matrix of the reference coordinate rotation around the X axis, the Y axis, and the Z axis. C r a is the orthogonal matrix, which is associated with the rotating order. Therefore, C a r can be expressed as:
C a r = ( C r a ) 1 = ( C r a ) T .
The rotation transformation matrix represents the transformation relation between different coordinate systems, and can also be called the direction cosine matrix, C a r is defined as:
C a r = [ C 11 C 12 C 13 C 21 C 22 C 23 C 31 C 32 C 33 ] .
Through the information of the rotation transformation matrix, the Euler angle can be solved as:
{ α m a i n = a r c t a n ( C 32 C 33 ) β m a i n = a r c s i n ( C 31 ) γ m a i n = a r c t a n ( C 21 C 11 ) .
where, α m a i n , γ m a i n are calculated by an inverse trigonometric function, the values should be corrected by the positive and negative judgment of C 11 , C 21 , C 32 , C 33 , and the final angle can be given by:
α = { α m a i n C 33 > 0 α m a i n + 180 ° C 33 < 0 , C 32 > 0 α m a i n 180 ° C 33 < 0 , C 32 < 0 β = β m a i n γ = { γ m a i n C 11 > 0 , C 21 > 0 γ m a i n + 360 ° C 11 > 0 , C 21 < 0 γ m a i n + 180 ° C 11 < 0 .
If ω = [ ω x   ω y   ω z ] T is the angle velocity vector of the gyroscope in the angle coordinate system, and [ α ˙   β   ˙ γ   ˙ ] T represents the differential of the attitude angle, the relationship between them can be shown as:
[ α ˙ β ˙ γ ˙ ] = 1 c o s β [ c o s β s i n α s i n β c o s α s i n β 0 c o s α c o s β s i n α c o s β 0 s i n α c o s α ] [ ω x ω y ω z ] .
Because the analysis processes of the Euler angle method include the trigonometric function operation, the calculation speed is slow and the singularity problem will appear; thus, the Euler angle method cannot be used for the whole attitude measurement. Meanwhile, the direction cosine method solves the singularity problem, but the computation of the rotation matrix elements is still very large [39]. To solve these problems, the quaternion method can be applied in the attitude description of the SBM. The symbol Q usually identifies the rotation quaternion of the angle coordinate relative to the reference coordinate, Q can be expressed as a plural number consisting of a real number q 0 and three imaginary numbers: q 1 i , q 2 j, q 3 k :
Q = q 0 + q 1 i + q 2 j + q 3 k .
The quaternion form of the transformation matrix C a r is:
C a r = [ q 0 2 + q 1 2 q 2 2 q 3 2 2 ( q 1 q 2 q 0 q 3 ) 2 ( q 1 q 3 + q 0 q 2 ) 2 ( q 1 q 2 + q 0 q 3 ) q 0 2 q 1 2 + q 2 2 q 3 2 2 ( q 2 q 3 q 0 q 1 ) 2 ( q 1 q 3 q 0 q 2 ) 2 ( q 2 q 3 + q 0 q 1 ) q 0 2 q 1 2 q 2 2 + q 3 2 ] .
According to Equation (4), the attitude angle can be expressed as the quaternion form:
{ α m a i n = a r c t a n [ 2 ( q 2 q 3 + q 0 q 1 ) q 0 2 q 1 2 q 2 2 + q 3 2 ] β m a i n = a r c s i n [ 2 ( q 1 q 3 q 0 q 2 ) ] γ m a i n = a r c t a n [ 2 ( q 1 q 2 + q 0 q 3 ) q 0 2 + q 1 2 q 2 2 q 3 2 ] .
The angle correction method adopted in Equation (5) is also applicable to Equation (9). The attitude angle of the initial state is substituted into Equation (10), and then the initial quaternions can be obtained.
{ q 0 = c o s ( β / 2 ) c o s ( α / 2 ) c o s ( γ / 2 ) + s i n ( β / 2 ) s i n ( α / 2 ) s i n ( γ / 2 ) q 1 = s i n ( β / 2 ) c o s ( α / 2 ) c o s ( γ / 2 ) c o s ( β / 2 ) s i n ( α / 2 ) s i n ( γ / 2 ) q 2 = c o s ( β / 2 ) s i n ( α / 2 ) c o s ( γ / 2 ) + s i n ( β / 2 ) c o s ( α / 2 ) s i n ( γ / 2 ) q 3 = c o s ( β / 2 ) c o s ( α / 2 ) s i n ( γ / 2 ) s i n ( β / 2 ) s i n ( α / 2 ) c o s ( γ / 2 ) .
In the working process of the SBM, its attitude changes over time, so the quaternions are also the variables about time [31]. According to the angle velocity vector ω = [ ω x   ω y   ω z ] T and Equation (7), the quaternion differential equation is given as:
d Q d t = 1 2 Q × ω = 1 2 [ 0 ω x ω y ω z ω x 0 ω z ω y ω y ω z 0 ω x ω z ω y ω x 0 ] [ q 0 q 1 q 2 q 3 ] = 1 2 Ω s Q .
To ensure real-time data acquisition and reduce the measurement errors, the fourth order Runge-Kutta method is used to improve the sampling precision [41]. T is the sampling period, Q t + 2 T , ω t + 2 T are, respectively, the quaternion and angle velocity at time t + 2T, and Q t , ω t are the values at time t. The differential equation can be derived as:
{ Q k + 2 T = Q t + T 3 ( K 1 + 2 K 2 + 2 K 3 + K 4 ) K 1 = 1 2 Q t ω t K 2 = 1 2 ( Q t + K 1 T ) ω t + T K 3 = 1 2 ( Q t + K 2 T ) ω t + T K 4 = 1 2 ( Q t + 2 K 3 T ) ω t + 2 T .
To calculate the attitude angle, the updated quaternions can be obtained through the angle velocity of the gyroscope in each calculation period. However, angle velocity errors accumulate over time, which leads to poor reliability in long-term measurement; thus, it is necessary to adopt other methods to compensate angle velocity errors.

3.2. Displacement Coordinate Analysis

The displacement coordinate system is an effective supplement to the angle coordinate method, and it can accurately indicate the relative position of the SBM in a shaft. Before the drilling operation, the laser orientation instrument is installed vertically downward on the sidewall of the shaft. After the reference point S of the initial coordinate is confirmed in the power-on test, the PSD is fixed reliably at the designated position on the top of the SBM. As shown in Figure 7, when the displacement deviation appears in the downward drilling, the PSD can determine the light spot position (a, b) in the two-dimensional coordinate system. The displacement relative to point S can be defined as d = a 2 + b 2 , and the threshold range of d should be determined according to the specific requirements of the construction. In particular, the values of a and b can clearly indicate the specific position of the point, and they are the important indexes of displacement coordinate analysis.
As shown in Figure 8, each image stands for the one form of displacement deviation in actual engineering, and the red point represents the light spot position on the PSD. Case (1–8), respectively, mean the bottom deviation as the light spot is in different quadrants; case (9–16), respectively, show the displacement deviation when the light spot is on the coordinate axis; case (17–24), respectively, indicate that only the displacement changes without angle deflection; case (25–32), respectively, indicate that only the angle changes without relative displacement. In addition to the above cases, the deviation judgment should be combined with the yaw angle γ. When γ = 0, the deviation correction control system is likely to disorder and needs to troubleshoot in time; as γ ≠ 0, the system equipment or environment is abnormal, and the construction must stop.
Generally, the change of relative displacement is accompanied by the changes of the roll angle α and the pitch angle β. The relevant data should be statistically analyzed to accurately describe the deviation of the SBM, which will provide the decision basis for the effective implementation of the drilling operation plan and deviation correction control. The corresponding relationship between the attitude changes and coordinate values is shown in Table 1.
In fact, there are 81 combination forms through the coordinate values of α, β, a, b, but only 33 forms in Table 1 are normal states, and the others are abnormal conditions. To facilitate the subsequent analysis, the displacement error and speed error can be expressed as:
{ e d = d r d e s t e v = V r V e s t .
where e s , e v are, respectively, the displacement error and speed error, d r , V r are, respectively, the real values of displacement and speed, and d e s t , V e s t , respectively, stand for the estimation values of displacement and speed. The detailed calculation processes of coordinate values and errors are introduced in Section 4.

4. Attitude Estimation Algorithms

In the attitude measurement system of the SBM, the relative displacement, rotation angle velocity, acceleration, and magnetic strength can be obtained through the PSD, barometer, gyroscope, accelerometer, and magnetometer. However, the attitude angle of the SBM cannot be directly acquired by these sensors. The attitude angle, displacement, and speed must be solved by the estimation algorithm, and then they can be used for attitude control. MEMS sensors are the key data acquisition units, and they inevitably have noises because of the manufacturing process, temperature, vibration, and other factors [42]. The error models should be established in the attitude calculation and corrected in the process of multi-sensor data fusion. The complementary filter is an analysis method applied in the frequency domain, whereas the Kalman filter is used to deal with the signals in the time domain. Under normal circumstances, useful signals and interfering noises overlap in the frequency and time domains, which leads to useful signals with a degree of randomness. Regarding the switching algorithm between the complementary filter and Kalman filter, the robust adaptive control [43] and multi-model robust control [44] are of some reference significance. However, the proposed algorithm is the combination of the two methods, and it is feasible in theory by combining the complementary filter with the EKF. Moreover, according to the characteristics of signals and noises, the error compensation models can be established to recover useful information and effectively improve the measurement accuracy and dynamic performance.

4.1. Complementary Filter

Due to the good dynamic response characteristics of gyroscopes, the attitude angle obtained by the integration is relatively accurate in a short period. However, the drift errors accumulate continuously over time and the accuracy decreases, so gyroscopes are not suitable for long-term measurement. At the same time, there are no time accumulation errors for accelerometers and magnetometers; they have good long-term stability, but they are not suitable for short-term measurement because of slow dynamic response, low short-time measurement accuracy, and are easily affected by the motion acceleration and the external environment. Obviously, the characteristics of the gyroscope, accelerometer, and magnetometer are complementary in the frequency domain, and the complementary filter can distinguish noise from the frequency domain, so the complementary characteristics can be used to obtain an accurate attitude angle by information fusion [35]. The transfer function of the complementary filter can be written as:
{ C ^ ( s ) = C 0 ( s ) G L ( s ) + C ω ( s ) G H ( s ) C ( s ) G L ( s ) = C ( s ) / ( s + C ( s ) ) G H ( s ) = s / ( s + C ( s ) ) C o ( s ) = C ( s ) + μ H C ω ( s ) = C ( s ) + μ L .
where C ( s ) is the real attitude matrix, C ^ ( s ) represents the attitude matrix of the complementary filter estimation, and the low-pass filter G L ( s ) is designed to remove the high-frequency noise μ H of the accelerometer and magnetometer. In addition, the observation data matrix is C o ( s ) , and the high-pass filter G H ( s ) is designed to remove the low-frequency noise μ L of the gyroscope; the observation data matrix is G ω ( s ) at this time. G L ( s ) + G H ( s ) = 1 shows that there is no attenuation of the attitude signal.
To eliminate the influence of static errors, PI feedback control can be added on the basis of the complementary filter; thus, C ( s ) will be expressed as C ( s ) = K p + K i / s [45], and K p determines the cut-off frequency f T of the filters ( f T = K p / 2 π ) . When the noise frequency f > f T , the gyroscope plays a major role in the calculation results; as f < f T , the results come from accelerometers and magnetometers. K p mainly affects the dynamic performance and stability of the complementary filter; a large K p value makes the adjustment time too long, which reduces the real-time performance of the algorithm, and the small K p value increases output error. Moreover, K i determines the time of the filter eliminating static errors, generally K i = ( 0.01 0.1 )   K p , K p = 3 , K i = 0.06 in this paper.
The complementary filter is adopted to correct the roll angle and pitch angle data of the gyroscope by the accelerometer as well as compensate the yaw angle data by the magnetometer. The output values of the accelerometer and magnetometer in the angle coordinate system are respectively: a s = [ a x   a y   a z ] T , m s = [ m x   m y   m z ] T . When the accelerometer is stationary or moving at a constant speed relative to the reference coordinate system, the value of gravity acceleration is a r = [ 0   0   g ] T , the unit vector is [ 0   0   1 ] T [38]. The roll angle α a and pitch angle β a solved by the accelerometer and the yaw angle γ m obtained from magnetometer can be derived as:
{ α a = a r c t a n ( a y / a z ) β a = a r c s i n ( a x / g ) γ m = a r c t a n ( m y c o s α a m z s i n α a m x c o s β a + m y s i n α a s i n β a + m z c o s α a s i n β a ) .
The value of the magnetometer is H = [ H n   0   H d ] T in the reference coordinate system, H n is the north component of the geomagnetic field in the reference coordinate system, and H d is the vertical component; thus, the unit vector is [ h n   0   h d ] T . The gravitational field measured by the accelerometer is converted to the angle coordinate system.
a f = [ a f x a f y a f z ] = C r a [ 0 0 1 ] = [ 2 ( q 1 q 3 q 0 q 2 ) 2 ( q 2 q 3 + q 0 q 1 ) q 0 2 q 1 2 q 2 2 + q 3 2 ] .
The geomagnetic field measured by the magnetometer is converted to the angle coordinate system.
m f = [ m f x m f y m f z ] = C r a [ h n 0 h d ] = [ h n ( q 0 2 + q 1 2 q 2 2 q 3 2 ) + 2 h d ( q 1 q 3 q 0 q 2 ) 2 h n ( q 1 q 2 q 0 q 3 ) + 2 h d ( q 2 q 3 + q 0 q 1 ) 2 h n ( q 1 q 3 + q 0 q 2 ) + h d ( q 0 2 q 1 2 q 2 2 + q 3 2 ) ] .
However, the error divergence occurs when the data status is updated, which will reduce the reliability of angle estimation, and the attitude transformation matrix of quaternions no longer satisfies the normalization after a long time, so the attitude transformation matrix should be normalized when the quaternions are updated every time. a s , m s , Q′ are, respectively, are the normalization form of the accelerometer measurement value a s , the magnetometer measurement value m s and the quaternion Q; they are given as:
{ a s = 1 a x 2 + a y 2 + a z 2 [ a x a y a z ] T m s = 1 m x 2 + m y 2 + m z 2 [ m x m y m z ] T Q = 1 q 0 2 + q 1 2 + q 2 2 + q 3 2 ( q 0 + q 1 i + q 2 j + q 3 k ) .
where a s , m s can, respectively, carry out the cross-product operation with a f , m f , and then e α β , e γ can be obtained, e α β is the measurement error of roll angle α, and pitch angle β, e γ is the measurement error of yaw angle γ. Furthermore, the overall measurement error e can be expressed as:
e = e α β + e γ = a s × a f + m s × m f .
The compensation value η of the gyroscope drift can be obtained by the overall measurement error e by using PI feedback control.
η = K P e + K i e .
Finally, ω = ω s + η is used to compensate the angle velocity ω s of the gyroscope, and ω is substituted into Equation (12) to update quaternions iteratively; thus, the attitude angle [ α i   β i   γ i ] T is calculated preliminarily.

4.2. Extended Kalman Filter

The Kalman filter is an optimal linear estimation, and its principle is that the optimal value of the current state is estimated based on the statistical error at the previous moment and the error of the measured value at this moment; the attitude angle and displacement at the next moment are obtained through the prediction and update process. However, the filter model of the SBM is nonlinear, and the filtering algorithm must be suitable for a nonlinear system. The EKF is established on the basis of the Kalman filter, the specific process of the EKF is that the nonlinear part of the state equation is expanded into the Taylor series, after omitting the parts of the second order and above, the approximate linearized model is obtained and applied in the state estimation with a linear Kalman filter method.
To design the Kalman filter, the state equation and observation equation of the system need to be established. X k = [ A k   d k   V k ] T is the state model variable, A k = [ α k   β k   γ k ] T is the attitude angle vector, and A k is calculated by the complementary filter method. d k = [ d x k   d y k   d z k ] T is the displacement vector, d x k , d y k are the horizontal displacements from PSD, and d z k is the vertical displacement solved by the barometer. Moreover, V k = [ V x k   V y k   V z k ] T is the speed vector. According to the kinematics theory, the relations of different vectors are expressed as:
[ V ˙ x k V ˙ y k V ˙ z k ] = [ a x k a y k a z k ] = C a r [ a x w a x a y w a y a z w a z ] [ 0 0 g ] [ d ˙ x k d ˙ y k d ˙ z k ] = [ V x k V y k V z k ] .
where [ a x k   a y k   a z k ] T is the motion acceleration vector, and C a r is the transfer matrix from the angle coordinate system to the reference coordinate system. [ w a x   w a y   w a z ] T is the noise vector of the accelerometer in the axial direction, and its value is available from the accelerometer manual. The measurement value [ a x   a y   a z ] T of the accelerometer is the vector sum of gravitational acceleration and motion acceleration, and it is necessary to compensate the gravitational acceleration when the motion acceleration is calculated. In practical application, the attitude angle, displacement, and vertical speed are the key indexes; other parameters are only process calculation variables. The interval time of system status update is T, on the basis of the differential equation of the attitude angle and kinematics analysis, the state equation of Kalman filter is obtained as:
X k = f ( k 1 , X k 1 ) + w k 1 = [ α k 1 β k 1 γ k 1 d x ( k 1 ) d y ( k 1 ) d z ( k 1 ) V z ( k 1 ) ] + [ 1 s i n α k 1 tan β k 1 c o s α k 1 tan β k 1 0 0 0 0 0 c o s α k 1 s i n α k 1 0 0 0 0 0 s i n α k 1 sec β k 1 c o s α k 1 sec β k 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 ] [ ω x ( k 1 ) ω y ( k 1 ) ω z ( k 1 ) V x ( k 1 ) V y ( k 1 ) V z ( k 1 ) a z ( k 1 ) ] T + [ w α ( k 1 ) w β ( k 1 ) w γ ( k 1 ) w d x ( k 1 ) w d y ( k 1 ) w d z ( k 1 ) w a z ( k 1 ) ] .
where [ w α ( k 1 )   w β ( k 1 )   w γ ( k 1 ) w d x ( k 1 )   w d y ( k 1 )   w d z ( k 1 )   w a z ( k 1 ) ] T is the system noise vector. At the current moment, [ α a k   β a k   γ m k ] T is the attitude angle calculated by accelerometer and magnetometer, and the speed and displacement are solved by the integral of motion acceleration. Based on these observational variables, the observation equation is expressed as:
Z k = h ( k , X k ) + σ k = H k [ α a k β a k γ m k d x k d y k d z k V z k ] + σ k = [ 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 ] [ α a k β a k γ m k d x k d y k d z k V z k ] + [ σ α k σ β k σ γ k σ d x k σ d y k σ d z k σ V z k ] .
where [ σ α k   σ β k   σ γ k   σ d x k   σ d y k   σ d z k   σ V z k ] T is the observed noise vector. By using the EKF, the nonlinear part of the state equation is expanded by the Taylor series and approximated by the first order, and the approximate linearized model is obtained; thus, the Kalman filter can be applied. After the state equation linearization, the Jacobian matrix Φ k / k 1 can be derived as:
Φ k / k 1 = f ( X k 1 ) X k 1 = [ 1 + c o s α k 1 s i n β k 1 c o s β k 1 ω y k T s i n α k 1 s i n β k 1 c o s β k 1 ω z k T s i n α k 1 c o s β k 1 2 ω y k T + c o s α k 1 c o s β k 1 2 ω z k T 0 0 0 0 0 s i n α k 1 ω y k T c o s α k 1 ω z k T 1 0 0 0 0 0 c o s α k 1 c o s β k 1 ω y k T s i n α k 1 c o s β k 1 ω z k T s i n α k 1 s i n β k 1 c o s β k 1 2 ω y k T + c o s α k 1 s i n β k 1 c o s β k 1 2 ω z k T 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 ] .
The prediction and update process of the EKF algorithm is divided into five parts; they are as follows:
  • State prediction equation:
    X ^ k / k 1 = Φ k / k 1 X ^ k 1 .
    X ^ k / k 1 is the estimation of the status variable X ^ k , Φ k / k 1 is the state transition matrix, i.e., the Jacobian matrix.
  • Covariance prediction equation:
    P k / k 1 = Φ k / k 1 P k 1 Φ k / k 1 T + Q k .
    P k / k 1 is the estimation of the state covariance matrix P k 1 , Q k is the covariance matrix of the system noise.
  • Kalman filter gain update:
    K k = P k / k 1 H k T / ( H k P k / k 1 H k T + R k ) .
    R k is the covariance matrix of the observed noise.
  • Status update:
    X ^ k = X ^ k / k 1 + K k ( Z k H k X ^ k / k 1 ) .
  • State covariance matrix update:
    P k = ( I K k H k ) P k / k 1 .
In conclusion, based on the multi-sensor data of the gyroscope, accelerometer, magnetometer, PSD, and barometer, the fusion method of the complementary filter and EKF is used to calculate the displacement, attitude angle, and vertical movement speed, and the flowchart of the proposed method is shown in Figure 9.

5. Experiments and Discussion

5.1. Experimental Setup

To verify the application effect of different methods, the experimental platform is designed for attitude measurement. As shown in Figure 10, the key parts of this platform are similar to the ones of the SBM, and the platform can simulate the normal working process of the SBM. The attitude measurement units are located at (A) and (D), and the embedded monitoring terminal and PSD are, respectively, in position (B) and (C). The comparative experiments are carried out for the complementary filter, EKF, and proposed filter method, and the experiment processes include the steady-state response test and dynamic response test. The sampling frequency is 50 Hz, and the test time is 40 s. The whole platform is kept level during the experiment, i.e., the reference values of the attitude angles are 0 degrees.

5.2. Steady-State Response Performance

When the experimental platform is in a stationary state, the influences come from the external environment without the internal interference of the system. As shown in Figure 11, the measurement value of the PSD is 0 cm, the filtering function does not work, and the estimation errors of different methods are maintained in the range of −0.3–0.3 degrees, so all methods can meet the practical requirements.
The speed of the cutterhead is 10 r/min during the drilling test at low speed, and the propulsion system makes the cutterhead remain in the rock breaking state. As shown in Figure 12, compared with the static test process, the mechanical vibration and electrical magnetic field have affected the attitude measurement, and the estimation errors increase obviously. The angle estimation errors of the EKF and complementary filter change in the range of −3–3 degrees, and the displacement estimation errors of the EKF and complementary filter change in the range of −0.16–0.16 cm; the estimation errors of the complementary filter are larger. However, the angle estimation errors of the proposed filter are in the range of −1–1 degrees, and the displacement estimation errors of the proposed filter change in the range of −0.04–0.04 cm, so the proposed filter has better performance.
The speed of cutterhead is 40 r/min during the drilling test at high speed. As shown in Figure 13, compared with the low-speed drilling process, the estimation errors increase again. The angle estimation errors of the EKF and complementary filter are in the range of −6–6 degrees, and the displacement estimation errors of the EKF and complementary filter are in the range of −0.54–0.54 cm. Meanwhile, the angle estimation errors of the proposed filter are in the range of −2–2 degrees, and the displacement estimation errors of the proposed filter are in the range of −0.1–0.1 cm.

5.3. Dynamic Response Performance

When the experimental platform maintains in the horizontal attitude, all of the test processes show the steady-state response performance of each algorithm in the normal drilling without deviation. However, the platform does not have the testing ability of deviation state and vertical movement. To verify the dynamic response performance of different algorithms, i.e., the performance of fast tracking the change of the attitude angle, we designed the test equipment for dynamic response. As shown in Figure 14a, it mainly includes attitude measurement units, a two-way rotation platform, core control board, and rotation control module. The sampling frequency of the test is 50 Hz, and the test time is 80 s. As shown in Figure 14b, the shaft hoisting system of a coal mine is selected as the experimental environment for tracking the vertical displacement and speed, and the system is composed of a slow hoisting cage, fast hoisting cage, and control system, and the shaft depth is 430 m.
In the drilling process, the deviation of the SBM is often accidental, so it is very important to measure the dynamic response performance of each algorithm, i.e., whether the algorithm can track the change of the attitude angle quickly and accurately. As shown in Figure 15, during the test, the roll angle and pitch angle remain at 0 degrees, and the yaw angle changes in the range of −17–17 degrees because of the rotation control module. Influenced by the mechanical vibration and electromagnetic interference of the motor, both of roll angle and pitch angle have a fluctuation at different degrees, but they are consistent with the change in the trend of the yaw angle. For the roll angle and pitch angle, the estimation errors of the EKF and complementary filter are in the range of −0.8–0.8 degrees, and the estimation errors of the proposed filter are in the range of −0.3–0.3 degrees. Meanwhile, for the yaw angle, the estimation errors of the EKF and complementary filter are in the range of −4–4 degrees, and the estimation errors of the proposed filter are in the range of −1.5–1.5 degrees. Therefore, the dynamic response performance of the proposed filter is better than the EKF and complementary filter.
The displacement in the horizontal direction indicates the deviation degree of the SBM relative to the designed axis of the shaft, and the displacement in the vertical direction demonstrates the movement of support structure relative to the initial point. According to the control commands, the slow movement of the SBM is the normal process, and the abrupt changes of vertical displacement and speed are often caused by the instability of the support structure or geological structure, which are the important reference indexes for safe construction. Therefore, the accurate tracking and estimation for vertical displacement and speed is an indispensable function of the attitude measurement system. The vertical displacement (height) is converted from the barometer data, and the speed can be calculated, then the error is compensated by the proposed filter. The tracking performance of vertical displacement and speed can be simulated by the shaft hoisting system. As shown in Figure 16 and Figure 17, to ensure the safety of the hoisting cage, the whole operation process is divided into three stages, including the start and acceleration (time consumption: 15 s), running at constant speed (slow hoisting: 300 s, fast hoisting: 100 s), and slow stop (time consumption: 15 s). The maximum speed of the fast hoisting cage is 3.90 m/s, the maximum speed of the slow hoisting cage is 1.33 m/s, and the reference values of vertical displacement and speed are obtained by the hoisting control system. In the tracking process of the fast hoisting cage, the displacement tracking errors of the EKF and complementary filter are in the range of −10–10 m, and the speed tracking errors of the EKF and complementary filter are in the range of −0.3–0.3 m/s; the displacement tracking errors of the proposed filter are in the range of −2–2 m, and the speed tracking errors of the proposed filter are in the range of −0.15–0.15 m/s. Meanwhile, in the tracking process of the slow hoisting cage, the displacement tracking errors of the EKF and complementary filter are in the range of −8–8 m, and the speed tracking errors of the EKF and complementary filter are in the range of −0.2–0.2 m/s; the displacement tracking errors of the proposed filter are in the range of −1–1 m, and the speed tracking errors of the proposed filter are in the range of −0.1–0.1 m/s. During the process switching, the acceleration changes greatly, and the relative error is large. The errors of the constant speed process are mainly caused by the contact vibration between the guide wheel and guide rail structure; the faster the speed is, the more obvious the impact is. The comparison results show that the proposed filter has good tracking performance for displacement and speed, as well as the stability and robustness of the proposed filter is better than the simple complementary filter and traditional EKF.
To facilitate the statistical analysis, the mean variance of each method is calculated. As shown in Table 2, Table 3 and Table 4, in the steady-state response test, the maximum error of the attitude angle estimation is 3.24 degrees with the complementary filter, and the maximum error of the attitude angle estimation is 2.47 degrees for the EKF, then the maximum error of the attitude angle estimation is 0.75 degrees by the proposed filter; the maximum error of displacement estimation is 0.24 cm with the complementary filter, and the maximum error of displacement estimation is 0.15 cm for the EKF, then the maximum error of displacement estimation is 0.07 cm by the proposed filter. In the dynamic response test, the maximum error of the attitude angle estimation is 3.52 degrees with the complementary filter, and the maximum error of the attitude angle estimation is 2.73 degrees for the EKF, then the maximum error of the attitude angle estimation is 1.16 degrees by the proposed filter; the maximum error of displacement tracking is 4.64 m with the complementary filter, and the maximum error of displacement tracking is 3.22 m for the EKF, then the maximum error of displacement tracking is 1.36 m by the proposed filter; the maximum error of speed tracking is 0.23 m/s with the complementary filter, and the maximum error of speed tracking is 0.17 m/s for the EKF, then the maximum error of speed tracking is 0.06 m/s by the proposed filter. Obviously, due to the combination of the frequency domain and time domain method, the proposed filter gives full play to the advantages of tracking accuracy from the EKF and fast dynamic response from the complementary filter, and it can effectively suppress the disturbance errors. The steady-state response performance and dynamic response performance of the proposed filter are better than the EKF and complementary filter, so the proposed filter is suitable for the attitude measurement system of the SBM. Meanwhile, the complementary filter model is relatively simple in structure and small in computation. The calculation amount of the EKF and proposed filter varies a little, but they have higher requirements for hardware configuration. If there is a certain hardware condition, the proposed filter is a better choice on the premise of considering dynamic response, estimation accuracy, stability, and robustness.
To study the applicability and efficiency of related algorithms on different microcontrollers, the complementary filter, EKF, and the proposed filter are, respectively, implemented in TMS320F28335 (32-bit), STM32F051 (32-bit), MSP430F5418 (16-bit), and ATmega128 (8-bit). Without other subroutines running, the quantitative comparative analysis is carried out for the time consumption of different algorithms. As shown in Table 5, the 32-bit controllers can quickly complete the calculation process of three algorithms and meet the real-time requirements. However, MSP430F5418 and ATmega128 can only efficiently solve the complementary filter, which shows that the complementary filter requires little computation, and it is a good choice when the microcontroller configuration is low, but the dynamic error is large. Therefore, the 32-bit microcontroller is the basic configuration to meet the requirements of measurement error and dynamic response performance. Moreover, the updated efficiency of the MEMS sensors, data acquisition, and subroutine running will also take a certain time, so the microcontroller selection must leave enough margins.

6. Conclusions and Future Work

This paper presents a dual coordinate method suitable for the attitude measurement of the SBM, and the key parts of coordinate analysis are the attitude matrix transformation and state update, and they are in the form of quaternions to improve the efficiency of the calculation process. The dual coordinate method makes full use of the data from the gyroscope, accelerometer, magnetometer, PSD, and barometer to calculate the angle, displacement, and speed, which can accurately describe the attitude characteristics of the SBM in the restricted space of the shaft. Meanwhile, to improve the environmental adaptability of the attitude measurement system, we proposed the improved attitude estimation and error compensation method and deduced the method implementation process theoretically.
Through simulation experiments of the attitude estimation, this paper analyzes the steady-state performance and dynamic response performance of different algorithms. The mechanical vibration, electromagnetic interference, and random noise have significant effects on attitude estimation, but the air pressure effect is small. As a method of combining the time domain and frequency domain, the proposed filter can give full play to the advantages of the complementary filter and EKF, and it can ensure the effective acquisition of real attitude information. Furthermore, the time consumption experiments indicate that the complexity of different algorithms have a certain requirements for the hardware configuration, thus the experimental results can provide a reference for the follow-up research.
All experiments in this paper are performed at room temperature. Actually, the influence of temperature change on attitude estimation cannot be ignored, so it is necessary to study the temperature estimation and error compensation method. Moreover, due to the limitations of experimental conditions, there are still some differences between the simulation experiment platform and the SBM; thus, the method proposed in this paper still needs to be improved by the actual working test of the SBM.

Author Contributions

Conceptualization, X.W., J.L. and Y.L.; methodology, X.W., J.L. and Y.L.; software, X.W. and Y.L.; validation, X.W. and J.L.; formal analysis, X.W. and Y.L.; investigation, W.F.; resources, Y.L. and W.F.; data curation, X.W. and Y.L.; writing—original draft preparation, X.W. and L.Z.; writing—review and editing, X.W. and L.Z.; visualization, X.W. and Y.L.; supervision, J.L.; project administration, Y.L.; funding acquisition, Y.L.

Funding

This research was funded by (a) the National High-tech R&D Program of China (863Program) (No. 2012AA06A403); (b) the National Natural Science Foundation of China (No. 51604279); (c) the Key Project of Tiandi Science and Technology Co., Ltd. (No. 2018-TD-ZD003); (d) the General Project of Tiandi Science and Technology Co., Ltd. (No. 2019-TD-MS008).

Acknowledgments

The authors want to acknowledge the cooperation of the National Engineering Laboratory for Deep Shaft Construction Technology in Coal Mine for providing the experimental environment, equipment and data. The authors also acknowledge the editors and referees for the valuable comments and suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

The following abbreviations are used in this manuscript:
MEMSMicro Electro Mechanical System
IMUInertial Measurement Unit
SBMShaft Boring Machine
EKFExtended Kalman Filter
AHRSAttitude and Heading Reference System
PSDPosition Sensitive Detector
RISCReduced Instruction Set Computing
ARMAdvanced RISC Machine
FPGAField Programmable Gate Array
DSPDigital Signal Processor

References

  1. Krauze, K.; Bołoz, Ł.; Wydro, T. Mechanized shaft sinking system. Arch. Min. Sci. 2018, 63, 891–902. [Google Scholar]
  2. Jing, G.; Liu, Z.; Han, B. Research on shaft sinking technology and equipment of mine shaft excavator. China Coal 2018, 44, 65–70. [Google Scholar]
  3. Jing, G.; Gao, F. Research on automatic rectifying-deviation system of MSJ5.8/1.6D shaft heading machine. Coal Sci. Technol. 2018, 46, 27–34. [Google Scholar]
  4. Tiandi Scicence and Tecnology Co., Ltd. The First Shaft Boring Machine Has Been Independently Developed in China. Available online: http://www.tdtec.com/gsxw/2899.jhtml (accessed on 10 March 2016).
  5. Maidl, B.; Thewes, M.; Maidl, U. Handbook of Tunnel Engineering: Volume I: Structures and Methods, 1st ed.; WILEY–VCH Verlag GmbH: Weinheim, Germany, 2013; pp. 285–378. [Google Scholar]
  6. Neye, E.; Burger, W.; Rennkamp, P. Rapid shaft sinking. Geomech. Tunn. 2013, 6, 559–568. [Google Scholar] [CrossRef]
  7. Maidl, B.; Thewes, M.; Maidl, U. Handbook of Tunnel Engineering II; WILEY–VCH Verlag GmbH: Weinheim, Germany, 2014; pp. 245–275. [Google Scholar]
  8. Raising Measurement (Shanghai) Co., Ltd. RMS-D Automatic Guidance System. Available online: http://www.sh-raising.com/Blanchard/channels/142_2.html (accessed on 16 June 2018).
  9. Tokyo-Keiki. Automatic Position and Attitude Measurement System for Shield Tunneling Machine. Available online: https://www.tokyokeiki.jp/e/ (accessed on 10 March 2018).
  10. VMT GMBH. TUnIS Laser Guidance System for Hard Rock Boring Machine. Available online: https://vmt-gmbh.de/en/ (accessed on 10 March 2018).
  11. Tao, Y. Research on Automatic Measurement Method and System of Position and Attitude of Roadheader Based on Laser Measurement System. Ph.D. Thesis, China University of Mining and Technology, Beijing, China, 2017. [Google Scholar]
  12. Mao, S.; Shen, X.; Lu, M. Virtual laser target board for alignment control and machine guidance in tunnel-boring operations. J. Intell. Robot. Syst. 2014, 79, 385–400. [Google Scholar] [CrossRef]
  13. Diao, Z.; Quan, H.; Lan, L.; Han, Y. Analysis and compensation of MEMS gyroscope drift. In Proceedings of the 2013 Seventh International Conference on Sensing Technology (ICST 2013), Wellington, New Zealand, 3–5 December 2013; pp. 592–596. [Google Scholar]
  14. Tu, H.; Liu, L. Temperature compensation method for low cost three-axis MEMS digital angular rate gyroscopes. J. Beijing Inst. Technol. 2016, 25, 28–34. [Google Scholar]
  15. Liggins, M.E.; Hall, D.L.; Llinas, J. Handbook of Multisensor Data Fusion: Theory and Practice, 2nd ed.; CRC Press, Taylor & Francis Group: London, UK, 2008; pp. 15–36. [Google Scholar]
  16. Raol, J.R. Multi-Sensor Data Fusion with MATLAB; CRC Press, Taylor & Francis Group: Boca Raton, FL, USA, 2009; pp. 11–30. [Google Scholar]
  17. Palubinskas, G. Framework for multi-sensor data fusion using template based matching. In Proceedings of the 2015 IEEE International Geoscience and Remote Sensing Symposium (IGARSS), Milan, Italy, 26–31 July 2015; pp. 621–624. [Google Scholar]
  18. Pawase, R.; Futane, N.P. Angular rate error compensation of MEMS based gyroscope using artificial neural network. In Proceedings of the 2015 International Conference on Pervasive Computing (ICPC), Pune, India, 8–10 January 2015; p. 4. [Google Scholar]
  19. Bai, J.; Chen, W.; Cai, T. Compensation for MEMS gyroscope zero bias stability. In Proceedings of the 2013 Chinese Automation Congress (CAC 2013), Changsha, China, 7–8 November 2013; p. 5. [Google Scholar]
  20. Carminati, M.; Ferrari, G.; Grassetti, R.; Sampietro, M. Real-time data fusion and MEMS sensors fault detection in an aircraft emergency attitude unit based on Kalman filtering. IEEE Sens. J. 2012, 12, 2984–2992. [Google Scholar] [CrossRef]
  21. Searcy, J.D.; Pernicka, H.J. Magnetometer-only attitude determination using novel two-step Kalman filter approach. J. Guid. Control Dyn. 2012, 35, 1693–1701. [Google Scholar] [CrossRef]
  22. Chang, L.; Zha, F.; Qin, F. Indirect Kalman filtering based attitude estimation for low-cost attitude and heading reference systems. IEEE ASME Trans. Mechatron. 2017, 22, 1850–1858. [Google Scholar] [CrossRef]
  23. Nekrasov, Y.A.; Pavlova, S.V.; Moiseev, N.V. MEMS gyro vibration immunity and its measurement with TIRA shaker. In Proceedings of the IEEE International and Measurement Technology Conference (I2MTC), Pisa, Italy, 11–14 May 2015; pp. 1763–1767. [Google Scholar]
  24. Lestev, A.M. Combination resonances in mems gyro dynamics. Gyrosc. Navig. 2015, 6, 41–44. [Google Scholar] [CrossRef]
  25. Nekrasov, Y.A.; Moiseev, N.V.; Belyaev, Y.V.; Pavlova, S.V.; Lyukshonkov, R.G. Influence of translational vibrations, shocks and acoustic noise on MEMS gyro performance. Gyrosc. Navig. 2017, 8, 31–37. [Google Scholar] [CrossRef]
  26. Lall, P.; Abrol, A.S.; Suhling, J.; Simpson, L.; Glover, J.; Locker, D. Effect of simultaneous high temperature and vibration on MEMS based vibratory gyroscope. In Proceedings of the 16th IEEE Intersociety Conference on Thermal and Thermomechanical Phenomena in Electronic Systems (ITherm), Orlando, FL, USA, 30 May–2 June 2017; pp. 1214–1228. [Google Scholar]
  27. Wachter, Z. A cost effective motion platform for performance testing of MEMS-based attitude and heading reference systems. J. Intell. Robot. Syst. 2013, 70, 411–419. [Google Scholar] [CrossRef]
  28. Li, W.; Wang, J. Effective adaptive Kalman filter for MEMS-IMU/magnetometers integrated attitude and heading reference systems. J. Navig. 2012, 66, 99–113. [Google Scholar] [CrossRef]
  29. Gao, T.; Shen, C.; Gong, Z.; Rao, J.; Luo, J. An adaptive filter for a small attitude and heading reference system using low cost sensors. In Advances in Computer, Communication, Control and Automation; Springer: Berlin/Heidelberg, Germany, 2011; pp. 131–139. [Google Scholar]
  30. Guerrero-Castellanos, J.F.; Madrigal-Sastre, H.; Durand, S.; Torres, L.; Munoz-Hernandez, G.A. A robust nonlinear observer for real-time attitude estimation using low-cost MEMS inertial sensors. Sensors 2013, 13, 15138–15158. [Google Scholar] [CrossRef] [PubMed]
  31. Zhu, Q.; Xiao, C.; Hu, H.; Liu, Y.; Wu, J. Multi-sensor based online attitude estimation and stability measurement of articulated heavy vehicles. Sensors 2018, 18, 212. [Google Scholar] [CrossRef] [PubMed]
  32. Bergamini, E.; Ligorio, G.; Summa, A.; Vannozzi, G.; Cappozzo, A.; Sabatini, A.M. Estimating orientation using magnetic and inertial sensors and different sensor fusion approaches: Accuracy assessment in manual and locomotion tasks. Sensors 2014, 14, 18625–18649. [Google Scholar] [CrossRef] [PubMed]
  33. Martin, P.; Salaün, E. Design and implementation of a low-cost observer-based attitude and heading reference system. Control Eng. Pract. 2010, 18, 712–722. [Google Scholar] [CrossRef]
  34. Brückner, H.P.; Spindeldreier, C.; Blume, H. Modification and fixed-point analysis of a Kalman filter for orientation estimation based on 9D inertial measurement unit data. In Proceedings of the 35th Annual International Conference of the IEEE EMBS, Osaka, Japan, 3–7 July 2013; pp. 3953–3956. [Google Scholar]
  35. Cavallo, A.; Cirillo, A.; Cirillo, P.; de Maria, G.; Falco, P.; Natale, C.; Pirozzi, S. Experimental comparison of sensor fusion algorithms for attitude estimation. In Proceedings of the 19th World Congress, The International Federation of Automatic Control, Cape Town, South Africa, 24–29 August 2014; pp. 7585–7591. [Google Scholar]
  36. Zhang, T.; Liao, Y. Attitude measure system based on extended Kalman filter for multi-rotors. Comput. Electron. Agric. 2017, 134, 19–26. [Google Scholar] [CrossRef]
  37. Sabatelli, S.; Galgani, M.; Fanucci, L. A double stage Kalman filter for sensor fusion and orientation tracking in 9D IMU. IEEE Trans. Instrum. Meas. 2013, 62, 590–598. [Google Scholar] [CrossRef]
  38. Zhang, S.; Yu, S.; Liu, C.; Yuan, X.; Liu, S. A dual-linear Kalman filter for real-time orientation determination system using low-cost MEMS sensors. Sensors 2016, 16, 264. [Google Scholar] [CrossRef]
  39. Zhang, X.; Yang, Z.; Zhang, T.; Shen, Y. An improved Kalman filter for attitude determination of multi-rotor UAVs based on low-cost MEMS sensors. In Proceedings of the IEEE Chinese Guidance, Navigation and Control Conference, Nanjing, China, 12–14 August 2016; pp. 407–412. [Google Scholar]
  40. Renaudin, V.; Combettes, C. Magnetic, acceleration fields and gyroscope quaternion (MAGYQ)-based attitude estimation with smartphone sensors for indoor pedestrian navigation. Sensors 2014, 14, 22864–22890. [Google Scholar] [CrossRef] [PubMed]
  41. Zhang, X. Research on the attitude and navigation information fusion algorithm of multi-rotor UAV. Ph.D. Thesis, Chinese Academy of Sciences, Changchun, China, 2015. [Google Scholar]
  42. Xing, H.; Hou, B.; Lin, Z.; Guo, M. Modeling and compensation of random drift of MEMS gyroscopes based on least squares support vector machine optimized by chaotic particle swarm optimization. Sensors 2017, 17, 2335. [Google Scholar] [CrossRef] [PubMed]
  43. Fekri, S.; Athans, M.; Pascoal, A. RMMAC: A novel robust adaptive control scheme—Part I: Architecture. In Proceedings of the 43rd IEEE Conference on Decision and Control, Nassau, Bahamas, 14–17 December 2004; pp. 1134–1139. [Google Scholar]
  44. Sadati, N.; Hosseinzadeh, M.; Dumont, G.A. Multi-model robust control of depth of hypnosis. Biomed. Signal Process. Control 2018, 40, 443–453. [Google Scholar] [CrossRef]
  45. Euston, M.; Coote, P.; Mahony, R.; Kim, J.; Hamel, T. A complementary filter for attitude estimation of a fixed-wing UAV. In Proceedings of the 2008 IEEE/RSJ International Conference on Intelligent Robots and Systems, Nice, France, 22–26 September 2008; pp. 340–349. [Google Scholar]
Figure 1. Overall structure of the shaft boring machine (SBM).
Figure 1. Overall structure of the shaft boring machine (SBM).
Sensors 19 05007 g001
Figure 2. Block diagram of multi-sensor fusion and error compensation.
Figure 2. Block diagram of multi-sensor fusion and error compensation.
Sensors 19 05007 g002
Figure 3. Hardware composition of the attitude measurement system.
Figure 3. Hardware composition of the attitude measurement system.
Sensors 19 05007 g003
Figure 4. Composition of the attitude measurement unit.
Figure 4. Composition of the attitude measurement unit.
Sensors 19 05007 g004
Figure 5. Composition of embedded monitoring terminal.
Figure 5. Composition of embedded monitoring terminal.
Sensors 19 05007 g005
Figure 6. Dual coordinate system of the SBM (angle and displacement).
Figure 6. Dual coordinate system of the SBM (angle and displacement).
Sensors 19 05007 g006
Figure 7. Displacement coordinate system of the SBM.
Figure 7. Displacement coordinate system of the SBM.
Sensors 19 05007 g007
Figure 8. Top view of the SBM deviation.
Figure 8. Top view of the SBM deviation.
Sensors 19 05007 g008
Figure 9. Flowchart of the proposed method combining the complementary filter with the extended Kalman filter (EKF).
Figure 9. Flowchart of the proposed method combining the complementary filter with the extended Kalman filter (EKF).
Sensors 19 05007 g009
Figure 10. Experimental platform of attitude measurement system.
Figure 10. Experimental platform of attitude measurement system.
Sensors 19 05007 g010
Figure 11. Static test (a) pitch angle; (b) roll angle; (c) yaw angle.
Figure 11. Static test (a) pitch angle; (b) roll angle; (c) yaw angle.
Sensors 19 05007 g011
Figure 12. Drilling test at low speed (a) pitch angle; (b) roll angle; (c) yaw angle; (d) displacement error.
Figure 12. Drilling test at low speed (a) pitch angle; (b) roll angle; (c) yaw angle; (d) displacement error.
Sensors 19 05007 g012
Figure 13. Drilling test at high speed (a) pitch angle; (b) roll angle; (c) yaw angle; (d) displacement error.
Figure 13. Drilling test at high speed (a) pitch angle; (b) roll angle; (c) yaw angle; (d) displacement error.
Sensors 19 05007 g013
Figure 14. (a) Experiment equipment of dynamic response; (b) experimental environment of vertical tracking.
Figure 14. (a) Experiment equipment of dynamic response; (b) experimental environment of vertical tracking.
Sensors 19 05007 g014
Figure 15. Estimated values of dynamic response test (a) pitch angle; (b) roll angle; (c) yaw angle; (d) part details of yaw angle.
Figure 15. Estimated values of dynamic response test (a) pitch angle; (b) roll angle; (c) yaw angle; (d) part details of yaw angle.
Sensors 19 05007 g015
Figure 16. Displacement tracking test of the hoisting cage (a) displacement tracking of the slow cage; (b) part details of displacement tracking for the slow cage; (c) displacement tracking of the fast cage; (d) part details of displacement tracking for the fast cage.
Figure 16. Displacement tracking test of the hoisting cage (a) displacement tracking of the slow cage; (b) part details of displacement tracking for the slow cage; (c) displacement tracking of the fast cage; (d) part details of displacement tracking for the fast cage.
Sensors 19 05007 g016
Figure 17. Speed tracking test of the hoisting cage (a) speed tracking of the slow cage; (b) part details of speed tracking for the slow cage; (c) speed tracking of the fast cage; (d) part details of speed tracking for the fast cage.
Figure 17. Speed tracking test of the hoisting cage (a) speed tracking of the slow cage; (b) part details of speed tracking for the slow cage; (c) speed tracking of the fast cage; (d) part details of speed tracking for the fast cage.
Sensors 19 05007 g017
Table 1. Relationship between the attitude changes and coordinate values.
Table 1. Relationship between the attitude changes and coordinate values.
Light Spot PositionBottom Deviation of SBM (Serial Numbers in Figure 7)Angle Coordinate ValuesDisplacement Coordinate Values
Quadrant IUpper right (1)β > 0, α > 0a > 0, b > 0
Quadrant ILeft lower (7)β < 0, α < 0a > 0, b > 0
Quadrant IOnly displacement deviation (17)β = 0, α = 0a > 0, b > 0
Quadrant IIRight lower (3)β > 0, α < 0a < 0, b > 0
Quadrant IIUpper left (5)β < 0, α > 0a < 0, b > 0
Quadrant IIOnly displacement deviation (19)β = 0, α = 0a < 0, b > 0
Quadrant IIIUpper right (2)β > 0, α > 0a < 0, b < 0
Quadrant IIILeft lower (8)β < 0, α < 0a < 0, b < 0
Quadrant IIIOnly displacement deviation (21)β = 0, α = 0a < 0, b < 0
Quadrant IVRight lower (4)β > 0, α < 0a > 0, b < 0
Quadrant IVUpper left (6)β < 0, α > 0a > 0, b < 0
Quadrant IVOnly displacement deviation (23)β = 0, α = 0a > 0, b < 0
Positive half of X axisLeft (13)β < 0, α = 0a > 0, b = 0
Positive half of X axisRight (15)β > 0, α = 0a > 0, b = 0
Positive half of X axisOnly displacement deviation (24)β = 0, α = 0a > 0, b = 0
Negative half of X axisLeft (14)β < 0, α = 0a < 0, b = 0
Negative half of X axisRight (16)β > 0, α = 0a < 0, b = 0
Negative half of X axisOnly displacement deviation (20)β = 0, α = 0a < 0, b = 0
Positive half of Y axisUp (9)β = 0, α > 0a = 0, b > 0
Positive half of Y axisDown (11)β = 0, α < 0a = 0, b > 0
Positive half of Y axisOnly displacement deviation (18)β = 0, α = 0a = 0, b > 0
Negative half of Y axisUp (10)β = 0, α > 0a = 0, b < 0
Negative half of Y axisDown (12)β = 0, α < 0a = 0, b < 0
Negative half of Y axisOnly displacement deviation (22)β = 0, α = 0a = 0, b < 0
Central point SOnly angle deviation (upper right) (25)β > 0, α > 0a = 0, b = 0
Central point SOnly angle deviation (right lower) (26)β > 0, α < 0a = 0, b = 0
Central point SOnly angle deviation (upper left) (27)β < 0, α > 0a = 0, b = 0
Central point SOnly angle deviation (left lower) (28)β < 0, α < 0a = 0, b = 0
Central point SOnly angle deviation (up) (29)β = 0, α > 0a = 0, b = 0
Central point SOnly angle deviation (down) (30)β = 0, α < 0a = 0, b = 0
Central point SOnly angle deviation (left) (31)β < 0, α = 0a = 0, b = 0
Central point SOnly angle deviation (right) (32)β > 0, α = 0a = 0, b = 0
Central point SNo deviationβ = 0, α = 0a = 0, b = 0
Table 2. RMS errors of different methods (attitude angles).
Table 2. RMS errors of different methods (attitude angles).
Attitude Angles (°)Complementary FilterEKFProposed Filter
Pitch (static)0.070.050.02
Roll (static)0.080.070.04
Yaw (static)0.120.110.07
Pitch (low speed)1.931.540.26
Roll (low speed)1.871.480.24
Yaw (low speed)2.111.750.37
Pitch (high speed)3.132.420.51
Roll (high speed)3.242.350.56
Yaw (high speed)3.172.470.75
Pitch (dynamic response)0.350.260.14
Roll (dynamic response)0.470.380.23
Yaw (dynamic response)3.522.731.16
Table 3. RMS errors of different methods (displacement).
Table 3. RMS errors of different methods (displacement).
Displacement ErrorsComplementary FilterEKFProposed Filter
Drilling at low speed0.11 cm0.06 cm0.02 cm
Drilling at high speed0.24 cm0.15 cm0.07 cm
Displacement tracking of fast cage4.64 m3.22 m1.36 m
Displacement tracking of slow cage3.37 m2.15 m0.53 m
Table 4. RMS errors of different methods (speed).
Table 4. RMS errors of different methods (speed).
Speed Errors (m/s)Complementary FilterEKFProposed Filter
Speed tracking of fast cage0.230.170.06
Speed tracking of slow cage0.160.110.03
Table 5. Time consumption comparisons of different algorithms in microcontrollers.
Table 5. Time consumption comparisons of different algorithms in microcontrollers.
AlgorithmsTMS320F28335STM32F051MSP430F5418ATmega128
Complementary Filter0.08 ms2.45 ms47.37 ms232.53 ms
EKF2.35 ms57.32 ms1.15 s5.21 s
Proposed Filter2.46 ms61.21 ms1.26 s5.87 s

Share and Cite

MDPI and ACS Style

Wang, X.; Liu, J.; Liu, Y.; Fu, W.; Zhu, L. Multi-Sensor Fusion and Error Compensation of Attitude Measurement System for Shaft Boring Machine. Sensors 2019, 19, 5007. https://doi.org/10.3390/s19225007

AMA Style

Wang X, Liu J, Liu Y, Fu W, Zhu L. Multi-Sensor Fusion and Error Compensation of Attitude Measurement System for Shaft Boring Machine. Sensors. 2019; 19(22):5007. https://doi.org/10.3390/s19225007

Chicago/Turabian Style

Wang, Xinliang, Jiangong Liu, Yang Liu, Wenjun Fu, and Lei Zhu. 2019. "Multi-Sensor Fusion and Error Compensation of Attitude Measurement System for Shaft Boring Machine" Sensors 19, no. 22: 5007. https://doi.org/10.3390/s19225007

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop