Next Article in Journal
CRTSC: Channel-Wise Recalibration and Texture-Structural Consistency Constraint for Anomaly Detection in Medical Chest Images
Previous Article in Journal
Defining a Domain-Specific Language for Behavior Verification of Cyber–Physical Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Research on Roll Attitude Estimation Algorithm for Precision Firefighting Extinguishing Projectiles Based on Single MEMS Gyroscope

School of Mechanical and Power Engineering, Zhengzhou University, Zhengzhou 450001, China
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(21), 6721; https://doi.org/10.3390/s25216721
Submission received: 12 October 2025 / Revised: 28 October 2025 / Accepted: 30 October 2025 / Published: 3 November 2025
(This article belongs to the Topic Innovation, Communication and Engineering)

Abstract

The accurate acquisition and real-time calculation of the attitude angle of precision firefighting extinguishing projectiles are essential for ensuring stable flight and precise extinguishing agent release. However, measuring the roll attitude angle in such projectiles is challenging due to their highly dynamic nature and environmental disturbances such as fire smoke, high temperature, and electromagnetic interference. Traditional methods for measuring attitude angles rely on multi-sensor fusion schemes, which suffer from complex structure and high cost. This paper proposes a single-gyro attitude calculation method based on micro-electromechanical inertial measurement units (MIMUs). This method integrates Fourier transform time-frequency analysis with a second-order Infinite Impulse Response (IIR) bandpass filtering algorithm optimized by dynamic coefficients. Unlike conventional fixed-coefficient filters, the proposed algorithm adaptively updates filter parameters according to instantaneous roll angular velocity, thereby maintaining tracking capability under time-varying conditions. This theoretical contribution provides a general framework for adaptive frequency-tracking filtering, beyond the specific engineering case of firefighting projectiles. Through joint time-frequency domain processing, it achieves high-precision dynamic decoupling of the roll angle, eliminating the dependency on external sensors (e.g., radar/GPS) inherent in conventional systems. This approach drastically reduces system complexity and provides key technical support for low-cost and high-reliability firefighting projectile attitude control. The research contributes to enhancing the effectiveness of urban firefighting, forest fire suppression, and public safety emergency response.

1. Introduction

With the breakthrough in Micro Inertial Measurement Unit (MIMU) technology, the autonomous navigation capability of firefighting extinguishing projectiles has become a core support for the precision fire extinguishing system in modern fire scenes [1]. Due to the azimuth-free loading mode of firefighting extinguishing projectiles and various disturbances they suffer from inside and outside the barrel, the roll angle cannot be initially set [2]. The real-time and accurate calculation of roll attitude parameters not only determines the flight stability of extinguishing projectiles, but also serves as a prerequisite for realizing trajectory correction and terminal precise extinguishing control [3]. Although traditional multi-sensor fusion attitude measurement methods (such as GPS/INS integration, radar assistance, etc.) can calculate the attitude, their high-precision requirements for multi-source information synchronization lead to increased system redundancy, exposure of electromagnetic characteristics, and reduced fire scene adaptability. Especially in high-dynamic and strong confrontation environments, the unreliability of external navigation signals directly threatens the reliability of the control system in fire environments [4]. Therefore, constructing an autonomous air alignment algorithm based on a single MIMU is not only a practical need to reduce system complexity and cost, but also a key path to improve the robustness and concealment of firefighting device systems.
Integrated attitude measurement methods usually improve accuracy and robustness by fusing complementary sensor information [5]. For example, the short-term dynamic response advantage of inertial devices is used to make up for the long-term stability deficiency of satellite navigation [6], or the geomagnetic characteristic of no accumulated error is used to correct the drift of inertial devices [7,8,9]. However, such methods rely on the collaboration of multiple sensors, and have problems such as complex systems, high costs, and weak anti-interference ability. Experiments by Yang Shu [10] show that GNSS signals are susceptible to multipath effects (reflection and scattering) in urban environments, resulting in elevation measurement errors; at the same time, poor satellite geometric distribution (such as overly concentrated constellations) will further increase the positioning error in the elevation direction. The experimental results show that the GNSS motion trajectory fluctuates significantly in the elevation direction, with the difference between the highest and lowest points reaching about 8 m. Although the 5G enhancement scheme proposed by Zhang Baoting [11] effectively improves the timeliness and stability of system data transmission, it requires additional integration of 5G communication modules, leading to increased system complexity. Cao Xiang [12] conducted an analysis on the global positioning performance of the BDS-3/GPS integrated navigation system, and the results showed that in complex observation environments, the average number of visible satellites of the integrated system decreases significantly, and the mean value of GDOP (Geometric Dilution of Precision) increases obviously, which is difficult to meet the environmental requirements for projectile launch. Gao Lizhen [13] constructed a state equation based on the projectile motion model, took geomagnetic/gyro information as the measurement quantity, and optimized the real-time performance of the filtering process and the adaptive estimation performance through sequential filtering and adaptive algorithms. The single-gyro attitude measurement method proposed by Yang Qifan’s team [14] provides a new idea for attitude measurement technology, but the Finite Impulse Response (FIR) filter in this method has a large amount of calculation, and the accuracy of its filter frequency solution still needs to be improved.
In international research, many scholars have also explored IMU/GNSS integration and error modeling. Fukuda and Kubo proposed a bias estimation method for low-cost IMUs, which improves the attitude stability of INS/GPS/gyrocompass systems [15]. Pang et al. designed an IMU/GPS integrated navigation method based on the Adaptive Unscented Kalman Filter (AUKF), and applied it to the three-dimensional positioning of forest rescue personnel, verifying its robustness [16]. Nader et al. proposed a loosely coupled GPS/IMU integration scheme based on two cascaded Kalman filter stages, which significantly enhanced the stability of attitude estimation [17]. Ismail and Abdelkawy presented a hybrid error modeling approach for MEMS-IMUs, effectively compensating for systematic errors of low-cost inertial devices in GPS/INS integration [18]. In addition, Gao et al. systematically evaluated the impact of IMU grades on the accuracy of BDS+GPS PPP/INS tightly coupled integration, and highlighted the limitations of low-cost IMUs in high-precision navigation applications [19].
Meanwhile, some researchers have started to explore the potential of single-sensor or low-cost MEMS-based attitude estimation. Deng Zilong [20] proposed an FLL-PLL combined roll angle detection method based on roll modulation information in GPS signals. Wu et al. [21] proposed a single-antenna GNSS/MEMS fusion structure, which integrates TDCP/TDPR techniques with multi-strategy quality control, achieving a roll angle estimation accuracy of approximately 1.28°. Zhou et al. [22] introduced a hierarchical decoupled attitude estimation algorithm (HDAEA), which maintained high-accuracy UAV attitude estimation even under strong magnetic interference and highly dynamic conditions. Dang and Suh [23] investigated a single inertial-sensor-based attitude estimation method and improved roll angle accuracy through velocity-aided observations.
To address the issues of heavy reliance on multi-sensor fusion, increased system complexity and cost, and the difficulty of ensuring the real-time performance and accuracy of attitude estimation under weak-signal or strong-interference environments, this paper proposes an innovative time–frequency analysis and filtering fusion algorithm. By constructing a dynamic error model of the rotating extinguishing projectile, the method couples time–frequency domain feature extraction with adaptive filter optimization. This approach not only guarantees the accuracy of attitude estimation, but also significantly reduces computational complexity and enhances stability in strong interference environments. The proposed method provides a new pathway for achieving high-precision autonomous attitude determination using a single MIMU.
In summary, the contributions of this paper are threefold:
  • A roll attitude estimation framework is established based on a single MEMS gyroscope, incorporating installation error modeling that enables practical deployment on low-cost projectiles.
  • A time–frequency adaptive IIR filtering algorithm is developed to track the time-varying roll angular rate and separate roll-related components from the measured signal.
  • The proposed method is validated through both simulation and turntable experimentation, demonstrating its accuracy and robustness under dynamic motion conditions.
The remainder of this article is organized as follows:
Section 2 presents the methodology and theoretical analysis, including the installation error modeling.
Section 3 introduces the adaptive filtering design.
Section 4 describes the simulation and experimental validation.
Section 5 concludes the paper with remarks and future improvements.

2. Methodology and Theoretical Analysis

2.1. Overall Design Concept of the Method

Figure 1 shows the overall design block diagram of the method proposed in this paper, where N1~Nn represent the amplitudes of the signal obtained after Fourier transform (arranged from low frequency to high frequency in sequence).
The method proposed in this paper mainly includes the following 3 steps:
  • Data analysis and preprocessing: Calculate the modulus of the original gyroscope data to obtain the estimated value of the extinguishing projectile’s roll angular velocity, perform moving average calculation on the estimated value of the extinguishing projectile’s roll angular velocity, and solve the roll frequency to prepare for subsequent filtering processing.
  • Data filtering: Perform filtering processing in the frequency domain. Considering that the change in roll angular velocity will cause frequency changes, this study combines angular velocity to perform dynamic coefficient second-order IIR band-pass filtering.
  • Attitude angle calculation: Perform peak detection on the filtered data to determine the roll position of the extinguishing projectile. Calculate the roll attitude angle by combining the integral of the actual roll angular velocity of the extinguishing projectile, and output the roll attitude angle for the control of the extinguishing projectile.

2.2. Principle Analysis of Single-Gyro Attitude Measurement

In practice, due to the existence of installation errors, the three axes of the gyroscope cannot be completely aligned with the three axes of the extinguishing projectile body [24]. This causes the roll angular velocity to project onto the plane perpendicular to the extinguishing projectile’s roll axis, and the magnitude of the actual roll angular velocity of the extinguishing projectile is much larger than that of the pitch and yaw angular velocities, which reduces the reliability of the data output by the gyroscope. As a result, single-sensor attitude measurement is rarely used in practice.
Define the reference coordinate system O x 2 y 2 z 2 , with the origin O is located at the extinguishing projectile’s center of mass. The O z 2 axis lies in the local horizontal plane and points to the target axis; the O x 2 axis is perpendicular to the local horizontal plane, with the downward direction as the positive direction; the O y 2 axis is perpendicular to the O x 2 z 2 plane, forming a right-handed rectangular coordinate system with the O x 2 and O z 2 axes. This coordinate system translates with the extinguishing projectile’s center of mass, while its three axes remain fixed in orientation. Define the extinguishing projectile body coordinate system O x y z , with the origin O at the extinguishing projectile’s center of mass. The O z axis coincides with the extinguishing projectile’s longitudinal axis, with the direction pointing to the warhead as the positive direction; the O x axis lies in the extinguishing projectile’s longitudinal symmetry plane, with the zero position downward as the positive axis; the O y axis is perpendicular to the plane, forming a right-handed coordinate system with the O x and O z axes. Define the yaw angle as α , the pitch angle as β , and the roll angle as r . According to Euler’s theorem, the reference coordinate system O x 2 y 2 z 2 can be transformed into the projectile body coordinate system O x y z through a sequence of rotations: first, rotate the reference coordinate system around the O x 2 axis by α to obtain coordinate system O x 2 y 2 z 2 ; then rotate O x 2 y 2 z 2 around the O y 2 axis by β to obtain coordinate system O x 2 y 2 z ; and finally rotate O x 2 y 2 z around the O z axis by r , resulting in the extinguishing projectile body coordinate system O x y z (as shown in Figure 2). Define the gyroscope coordinate system O x 1 y 1 z 1 , with the origin O x 1 at the extinguishing projectile’s center of mass. Due to installation errors, the three axes of the gyroscope coordinate system do not align with those of the extinguishing projectile body coordinate system. The gyroscope coordinate system O x 1 y 1 z 1 can be obtained from the projectile body coordinate system O x y z through the following rotations: first, rotate the projectile body coordinate system O x y z around the O x axis by θ to obtain coordinate system O x y 1 z ; then rotate O x y 1 z around the O y 1 axis by φ , resulting in the gyroscope coordinate system O x 1 y 1 z 1 (as shown in Figure 3). Here, θ and φ are the installation error angles between the O y and O y 1 axes, and between the O x and O x 1 axes, respectively. The installation deviation of the O z axis is mathematically indistinguishable from the roll variable and is thus categorized as an unobservable term, which cannot be directly modeled or corrected through real-time solution processes. However, it should be noted that this error is a fixed systematic deviation—its pre-elimination via offline calibration suffices to meet engineering error requirements. After two rotations, none of the three axes of the two coordinate systems remain aligned, a scenario consistent with actual installation conditions. Thus, excluding this deviation from the modeling is theoretically justified.
At a certain moment, the three-axis angular velocity of the extinguishing projectile in the reference coordinate system O x 2 y 2 z 2 is:
ω 2 = ω x 2 , ω y 2 , ω z 2 T
At this time, the three-axis angular velocity of the extinguishing projectile in the extinguishing projectile body coordinate system O x y z can be obtained through rotation matrix transformation:
ω = R 2 · ω 2
In Equation (2), R 2 is the rotation matrix from the reference coordinate system to the extinguishing projectile body coordinate system, which is composed of the product of three rotation matrices:
R 2 = R z r · R y β · R x α = c o s   r s i n   r 0 s i n   r c o s   r 0 0 0 1 · c o s   β 0 s i n   β 0 1 0 s i n   β 0 c o s   β · 1 0 0 0 c o s   α s i n   α 0 s i n   α c o s   α
Among them, R x ( α ) , R y ( β ) , and R z ( r ) are the rotation matrices of the reference coordinate system O x 2 y 2 z 2 rotating around the O x 2 axis, O y 2 axis, and O z axis, respectively.
The three-axis angular velocity output of the gyroscope is:
ω 1 = R 1 · ω + ε = ω x 1 , ω y 1 , ω z 1 T
In Equation (4), ε is the gyro measurement noise, and R 1 is the rotation matrix from the extinguishing projectile body coordinate system to the gyroscope coordinate system, which is composed of the product of two rotation matrices:
R 1 = R y 1 ( φ ) · R x 1 ( θ )   = c o s   φ 0 s i n   φ 0 1 0 s i n   φ 0 c o s   φ · 1 0 0 0 c o s   θ s i n   θ 0 s i n   θ c o s   θ
Among them, R x 1 ( θ ) and R y 1 ( φ ) are the rotation matrices of the extinguishing projectile body coordinate system O x y z rotating around the O x axis and O y 1 axis, respectively. Substituting Equations (1)–(3) and (5) into Equation (4), the angular velocity output expressions of each axis of the gyroscope can be obtained:
ω x 1 = [ c o s   φ · c o s   γ · c o s   β + s i n   φ · s i n   θ · s i n   γ · c o s   β s i n   φ · c o s   θ · s i n   β ] ω x 2         + [ c o s   φ ( c o s   γ · s i n   β · s i n   α s i n   γ · c o s   α ) + s i n   φ · 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   α ] ω y 2         + [ c o s   φ c o s   γ · s i n   β · c o s   α + s i n   γ · s i n   α + s i n   φ · s i n   θ ( s i n   γ · s i n   β · c o s   α c o s   γ · s i n   α )         + s i n   φ · c o s   θ · c o s   β · c o s   α ] ω z 2 + ε
ω y 1 = c o s   θ · s i n   γ · c o s   β + s i n   θ · s i n   β ω x 2          + c o s   θ s i n   γ · s i n   β · s i n   α + c o s   γ · c o s   α s i n   θ · c o s   β · s i n   α ω y 2          + c o s   θ s i n   γ · s i n   β · c o s   α c o s   γ · s i n   α s i n   θ · c o s   β · c o s   α ω z 2 + ε
ω z 1 = s i n   φ · c o s   γ · c o s   β + c o s   φ · s i n   θ · s i n   γ · c o s   β c o s   φ · c o s   θ · s i n   β ω x 2          + [ s i n   φ ( c o s   γ · 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   α )          + c o s   φ · c o s   θ · c o s   β · s i n   α ] ω y 2          + s i n   φ 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   γ · s i n   α          + c o s   φ · c o s   θ · c o s   β · c o s   α ω z 2 + ε
Extinguishing projectiles are typically fired along the line connecting the gun and the target, with only small lateral deviation; hence, the initial yaw angle and yaw angular rate can be approximated as zero. During the uncontrolled flight phase, a pitch angular velocity inevitably exists due to gravity. However, since this phase is of relatively short duration, the pitch angular velocity can be reasonably approximated as constant, and both pitch and yaw angles are assumed to remain nearly unchanged within this short interval. Under this assumption, the derivation of the roll angle is greatly simplified, and a closed-form solution can be obtained. Moreover, the simplified formulas show that variations in pitch angular velocity have only a negligible effect on the roll angle estimation, confirming that this approximation does not compromise the accuracy or feasibility of the proposed algorithm. Based on the above assumptions, Equations (6)–(8) are simplified to:
ω x 1 = c o s   φ · s i n   γ + · s i n   φ · s i n   θ · c o s   γ ω y 2          + c o s   φ · c o s   γ · s i n   β + s i n   φ · s i n   θ · s i n γ · s i n   β + s i n   φ · c o s   θ · c o s   β ω z 2 + ε
ω y 1 = ω y 2 · c o s   θ · c o s   γ + ω z 2 · c o s   θ · s i n   β · s i n   γ ω z 2 · s i n   θ · c o s   β + ε
ω z 1 = s i n   φ · s i n   γ + c o s   φ · s i n   θ · c o s   γ ω y 2          + s i n   φ · c o s   γ · s i n   β + · c o s   φ · s i n   θ · s i n   γ · s i n   β + · c o s   φ · c o s   θ · c o s   β ω z 2 + ε
During the extinguishing projectile’s flight, the roll angular velocity ω z 2 is significantly greater than the pitch angular velocity ω y 2 . Therefore, when the pitch angle is not zero, ω z 2 · c o s   θ · s i n   β · s i n   γ ω y 2 · c o s   θ · c o s   γ , so Equation (10) can be further simplified to:
ω y 1 = ω z 2 · c o s   θ · s i n   β · s i n   γ ω z 2 · s i n   θ · c o s   β + ε
In Equation (12), the extinguishing projectile body coordinate system O x y z and the gyroscope coordinate system O x 1 y 1 z 1 are fixedly connected, and the θ angle does not change with time. Additionally, the variation in the pitch angle β is extremely small relative to that of the roll angle γ ; therefore, ω z 2 · s i n   θ · c o s   β only changes in magnitude, not in direction, and this projection appears as a low-frequency DC component. When the extinguishing projectile rolls, the γ angle changes with time, and the change frequency is related to the extinguishing projectile’s roll angular velocity ω z 2 . So ω z 2 · c o s   θ · s i n   β · s i n   γ changes periodically with the extinguishing projectile’s roll at an angular frequency, appearing as a high-frequency AC component.

3. Data Filtering and Roll Attitude Calculation

3.1. Data Filtering

Since the γ angle changes with the rotation of the extinguishing projectile, during filtering, the component matching the frequency corresponding to the current roll angular velocity (i.e., the component related to the roll angle γ ) is retained, and other frequency components are filtered out.
In real-time signal processing systems, band-pass filters are often used to extract signals in specific frequency bands. Traditional fixed-coefficient filters are difficult to cope with scenarios where the center frequency changes dynamically. To achieve effective separation of high-frequency pitch components, this paper adopts a Dynamic Coefficient Biquad Band-pass Filter. By updating the filter parameters in real-time, it realizes dynamic tracking of the center frequency, which is particularly suitable for scenarios requiring rapid response to frequency changes. Its transfer function is expressed as a time-varying system:
H ( z , n ) = b 0 ( n ) + b 2 ( n ) z 2 1 + a 1 ( n ) z 1 + a 2 ( n ) z 2
The coefficients in Equation (13) are dynamically updated according to the instantaneous frequency f c ( t ) :
ω 0 ( n ) = 2 π f c ( n ) / f s α ( n ) = s i n   ω 0 ( n ) / ( 2 Q ) b 0 ( n ) = s i n   ω 0 ( n ) 2 ( 1 + α ( n ) ) b 2 ( n ) = b 0 ( n ) a 1 ( n ) = 2 c o s   ω 0 ( n ) / ( 1 + α ( n ) ) a 2 ( n ) = ( 1 α ( n ) ) / ( 1 + α ( n ) )
Among them, ω 0 ( n ) , is the discrete-domain center angular frequency, f s is the sampling frequency, and Q is the quality factor. The filter is implemented using a direct II-type structure, and the calculation is completed with minimal memory through a difference equation. The relationship between its state update and output is as follows:
ω 0 [ n ] = x [ n ] a 1 ( n ) ω 1 [ n 1 ] a 2 ( n ) ω 2 [ n 1 ] y [ n ] = b 0 ( n ) ω 0 [ n ] + b 2 ( n ) ω 2 [ n 1 ] ω 1 [ n ] = ω 0 [ n ] ω 2 [ n ] = ω 1 [ n 1 ]
In Equation (15), x [ n ] is the input signal, y [ n ] is the output signal, and ω 1 [ n ] and ω 2 [ n ] are the state variables of the filter, used to store the intermediate values of the delay unit.
In practical applications, the discrete-domain center angular frequency satisfies:
ω 0 n = | ω z n | / 360
During the extinguishing projectile’s flight, the roll angular velocity ω z is significantly greater than the pitch and yaw angular velocities, i.e., ω z ω x ,   ω y . Thus, the coupling effect of lateral angular velocities on the roll component can be ignored. The magnitude of the extinguishing projectile’s roll angular velocity is approximately estimated by calculating the modulus of the three-axis output data of the gyroscope:
| ω z | ω x 1 2 + ω y 1 2 + ω z 1 2
To suppress the gyro random walk and bias instability noise, a moving average process is performed on the estimated actual roll angular velocity of the extinguishing projectile:
ω ¯ z ( k ) = 1 N ( k ) i = 0 N 1   ω z ( k i )
The window length   N   is dynamically adjusted according to the roll angular velocity:
N ( k ) = r o u n d ( α · f s ω z d t + ε )
The parameter settings are as follows:
  • α: Sensitivity coefficient (typical value: 0.1~0.3);
  • fs: Sampling frequency (100–1000 Hz);
  • ε: Minimum value (to avoid division by zero, 1 × 10−6).
The filter design utilizes instantaneous frequency information, and realizes accurate tracking of the center frequency through the calculated system coefficients. During the air alignment process of the firefighting extinguishing projectile, due to the change in the flight roll angular velocity, the high-frequency component will have a frequency offset. The use of the dynamic coefficient second-order IIR band-pass filter can effectively cope with this frequency change, ensuring accurate extraction and processing of the signal.
Additionally, this filter exhibits excellent stability and robustness. In practical applications, the performance of the band-pass filter may be affected by the external environmental noise and interference. However, by dynamically updating the filter parameters, the filter can adapt to different working environments, thereby ensuring the stability and reliability of the filtering performance.
After filtering, the high-frequency components can be effectively extracted, significantly improving the signal-to-noise ratio (SNR). This not only contributes to improve the attitude calculation accuracy of the firefighting extinguishing projectile, but also enhances the anti-interference ability of the entire guidance system. This dynamic-coefficient filter structure generalizes to other adaptive filtering problems, providing a theoretical contribution to time-varying frequency estimation.

3.2. Roll Attitude Calculation

When periodic peaks appear in the filtered signal, it indicates that the direction of the O y 1 axis of the gyroscope is orthogonal to the extinguishing projectile’s pitch plane at that moment (i.e., instantaneously aligned with the pitch direction). The real roll attitude angle can be calculated by combining time information.
Envelope detection is performed on the high-pass filtered signal ω α to extract the periodic peak moments t k . The roll attitude angle is corrected by integrating ω ¯ z over time and combining the peak phase:
ϕ ( t ) = 0 t   ω ¯ z d t + k   Δ ϕ k · δ ( t t k )
Among them, Δ ϕ k is the phase correction amount corresponding to the k -th peak.

4. Experimental Results and Analysis

In this section, simulations and experiments are conducted to verify the feasibility and effectiveness of the method proposed in this paper, and the relevant verification process is carried out in accordance with the method shown in Figure 3.

4.1. Modeling and Verification of Projectile External Ballistics Simulation Based on MATLAB

To meet the requirements of external ballistic characteristic analysis and attitude calculation of high-speed rotating extinguishing projectiles, this paper designs a numerical simulation framework based on Newton–Euler equations, which realizes the prediction of 3D trajectory and the simulation of roll attitude evolution, and generates gyroscope virtual measurement data containing noise, providing a high-confidence simulation environment for the verification of on-board attitude estimation algorithms.
To describe the rotational motion of the projectile, the angular rate vector is expressed in the body coordinate system, with ω B = [ p   q   r ] denoting the angular rate vector about the body axes (x,y,z) and I B = d i a g ( I x , I y , I z ) being the inertia tensor. The rotational motion is governed by
I B ω ˙ B + ω B × ( I B ω B ) = τ B
which can be expanded as
p ˙ = I y I z I x q r + τ x I x , q ˙ = I z I x I y r p + τ y I y , r ˙ = I x I y I z p q + τ z I z .
The body torques consist of aerodynamic damping and launch-induced disturbances:
τ B = [ c r p , c p q , c y r ] + δ τ ( t )
enabling realistic simulation of roll-dominant motion.
The simulation initial conditions are set as shown in Table 1.
Under the ideal condition where the gyroscope axes are perfectly aligned with the projectile body axes, the gyroscope outputs can be directly used for attitude computation. The ideal angular rate data under this perfect alignment assumption are shown in Figure 4. The roll-rate range of approximately 1–2 rot/s is selected according to the typical uncontrolled flight characteristics of mortar-type extinguishing projectiles, where the roll motion is mainly induced by initial disturbances rather than aerodynamic spin stabilization.
The simulation results indicate that the roll angular rate exhibits an exponential decay over time due to aerodynamic damping, representing the typical roll-dominant rotational behavior of the extinguishing projectile. Considering the existence of installation error angles, it is necessary to perform axis rotation correction on the three-axis data. To ensure consistency with the experiments, the noise model was constructed according to the specifications of the ICM-20649 gyroscope. According to the datasheet, the gyro noise density is about 0.0017°/s/√Hz, which corresponds to an angle random walk of ~0.2°/√s at the simulation sampling rate; the bias stability is approximately ±3°/s; and the scale factor error is set to 1%. In the MATLAB R2021a simulation, these error sources together with a 3° installation misalignment were incorporated into the synthetic measurements. Furthermore, a larger bias disturbance was applied during the first 2 s to emulate the unstable state of the sensor immediately after power-up as well as launch-induced jitter. This model provides a realistic representation of the ICM-20649 measurement characteristics, the obtained three-axis angular velocity data of the gyroscope are shown in Figure 5.
In the simulation results, the data fluctuates significantly and has poor stability at the initial stage of extinguishing projectile launch due to the influence of extinguishing projectile fluctuation. The processed data is closer to the actual extinguishing projectile attitude information during flight. The data after 2 s is selected for analysis, and the modulus of the three-axis data of the gyroscope is calculated to estimate the actual roll angular velocity of the extinguishing projectile. The results are shown in Figure 6. By combining the data after moving average processing in Figure 6, the angular velocity is divided by 360 to further calculate the filtered frequency, and the result is shown in Figure 7.
To separate different frequency components in the signal, Fourier transform is performed on the gyro Y-axis data, and the results are shown in Figure 8.
As clearly observed in Figure 8, a fixed low-frequency signal and a varying high-frequency signal are present, which is consistent with the theoretical analysis, verifying the feasibility of the proposed method. To extract the target frequency signal, the signal is processed using a dynamic coefficient second-order IIR band-pass filter, and the filtering results are shown in Figure 9.
It can be seen from Figure 9 that the filtered data shows smooth periodic changes. To further analyze the signal characteristics, envelope detection is performed on the data in Figure 9 to calculate the peak moments. At the same time, envelope detection is also performed on the Y-axis of the original data to calculate the peak moments. The error of the peak moments is obtained through the difference between the two sets of data, and the results are shown in Figure 10.
Figure 10 shows that the time difference between peak positions is within 4 ms, and the angle calculation error remains below 2.68°. Based on the above analysis, the roll attitude angle is corrected by integrating w z over time and combining the peak-time adjustment. The comparison of the roll attitude angles before and after correction is presented in Figure 11.

4.2. Turntable Experiment

The experimental setup consists of an ICM20649 gyro experimental prototype, three-axis turntable, turntable control system, and power supply. The ICM20649 gyro experimental prototype is installed on the three-axis turntable with intentionally introduced misalignment angles between the gyroscope’s axes and the turntable’s axes to better simulate real-world application scenarios. The experimental data is stored in the Flash of the main control chip of the experimental prototype, and the experimental platform is shown in Figure 12.
The dynamic experimental process is consistent with the aforementioned simulation. The initial roll angular velocity of the turntable is set to 1600 dps, the data acquisition frequency is 200 Hz, the gyro range is selected as ±2000 dps, and a total of 20,000 sets of data samples are collected; the pitch angular velocity oscillates sinusoidally with its amplitude linearly increasing from 0.5°/s to 1°/s over time, while the yaw angular velocity oscillates sinusoidally around 0°/s with a fixed amplitude of approximately ±1°/s. This experimental setup introduced dynamic variations in both pitch and yaw while maintaining controllability, making the conditions closer to real flight scenarios and allowing for a more comprehensive evaluation of the robustness of the proposed algorithm. The output data of the gyroscope are shown in Figure 13.
Consistent with the data processing idea in the simulation process, the modulus of the three-axis angular velocity of the gyroscope is first calculated to obtain the estimated roll angular velocity of the extinguishing projectile; then, moving average processing is performed on it, and finally, the filter frequency is solved. The results are shown in Figure 14.
The Y-axis data of the gyroscope is filtered, and the stable data in the middle period is selected for analysis. The comparison results of the Y-axis data before and after processing are shown in Figure 15.
After obtaining the filtered Y-axis data, envelope detection is performed to extract its peak moments, which are used as the basis to correct the integral process of the extinguishing projectile’s roll angular velocity. The final roll angle results are shown in Figure 16.

4.3. Result Analysis

The experimental results demonstrate that the time difference between the signal peak moments of the extinguishing projectile Y axis and the gyroscope Y-axis is ≤4 ms, and the maximum roll angle error is ≤2.68°. These results are within the engineering requirement of ≤5 ms synchronization error under high-dynamic conditions. This indicates that the proposed method achieves the required dynamic synchronization performance.
More importantly, the error-compensated roll attitude provides a reliable reference for real-time projectile attitude estimation. Compared with conventional multi-sensor fusion schemes, the single-gyro architecture demonstrates several advantages. First, it significantly reduces hardware complexity and cost while ensuring comparable accuracy. Second, it simplifies the controller’s computational load, making the method more suitable for real-time embedded applications. These results confirm both the engineering feasibility and the practical economic value of the proposed method.
Nevertheless, certain limitations should be acknowledged. For example, the evaluation was conducted under controlled conditions, and further verification is required in environments with extreme disturbances, such as high overload, thermal stress, or electromagnetic interference. Additionally, while the method effectively suppresses noise and frequency drift, its long-term stability in complex battlefield conditions remains to be fully demonstrated. These observations provide directions for future refinement and validation.

5. Conclusions

This paper proposed a novel roll angle estimation method based on a single gyroscope, tailored for precision firefighting projectiles operating in high-speed roll environments. By introducing the framework of “modulus estimation–phase decoupling–dynamic filtering”, the study effectively addressed the limitations of traditional multi-sensor fusion schemes, including structural complexity and high cost. In particular, the application of a dynamic-coefficient second-order IIR band-pass filter enabled accurate tracking of time-varying roll frequencies, substantially improving pitch component separation accuracy.
The dual validation through ballistic simulations and turntable experiments confirmed the effectiveness and real-time feasibility of the method, with a maximum roll angle error below 3%, phase detection error within 4 ms, and execution time of 0.5 ms on an MCU platform. These results demonstrate that the proposed method meets the stringent real-time requirements of onboard systems while reducing system complexity and cost.
The main contribution of this research lies not only in providing a cost-effective engineering solution but also in advancing the methodological foundation of single-sensor navigation under high-dynamic conditions. Theoretically, the proposed approach extends the scope of attitude estimation methods by demonstrating that accurate roll angle extraction can be achieved with minimal sensor architecture. Practically, it offers a scalable and economical pathway for large-scale deployment. Conventional multi-sensor fusion modules typically require a gyroscope, a accelerometer, a magnetometer, and an auxiliary GNSS receiver, with a total hardware cost of around 90–100 USD. In contrast, the proposed single-gyro system relies only on one MEMS gyroscope (ICM-20649) and a simplified processing circuit, with an approximate cost of 35 USD. This corresponds to a cost reduction of nearly 60%, while maintaining comparable estimation accuracy and robustness.
Future research will address key challenges such as bias compensation under extreme overloads, multi-physics coupling error modeling in harsh operational environments, and real-time trajectory identification tightly integrated with attitude estimation. By tackling these issues, this study lays both a theoretical and practical foundation for the development of lightweight, autonomous navigation technologies for precision firefighting projectiles and similar high-dynamic platforms, ultimately contributing to enhanced system reliability, reduced costs, and improved firefighting effectiveness.

Author Contributions

Conceptualization, J.Z. and Z.L.; methodology, J.Z.; software, Z.L.; validation, Z.L.; formal analysis, Z.L.; investigation, Z.L.; resources, J.Z., Z.L. and C.L.; data curation, Z.L.; writing—original draft preparation, Z.L.; writing—review and editing, Z.L. and C.L.; visualization, Z.L.; supervision, J.Z.; project administration, J.Z., Z.L. and C.L.; funding acquisition, J.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by [Henan Province’s Challenge-Based Project] under Grant No. [HNGFJBGS-2024-16].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available upon request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Su, Y. Research on Inertial Navigation System Technologies Based on MIMU Array. Master’s Thesis, University of Electronic Science and Technology of China, Chengdu, China, 2025. [Google Scholar] [CrossRef]
  2. Chen, K.; Fang, Y.; Yang, R.; Li, X.; Song, J. Review of in-air alignment algorithms for guided projectiles. In Proceedings of the Seminar on the Development Trends of Inertial Technology—New Inertial Components and Advanced Navigation Technology, Harbin, China, 9 August 2023; Northwestern Polytechnical University: Xi’an, China, 2023; pp. 487–492. [Google Scholar] [CrossRef]
  3. Chen, S.; Yang, B.; Song, Y.; Zhang, Y. Overview on Guide Projectile Attitude Measurement Technology. J. Detect. Control 2021, 43, 9–13. [Google Scholar]
  4. Yang, W.; Yu, W.; Pei, D.; Zhang, Y.; Zu, J. Study on the Missile Projectile Parameter Test Technology. Electron. Devices 2016, 39, 667–670. [Google Scholar] [CrossRef]
  5. Shang, J.; Deng, Z.; Fu, M.; Wang, S.T. Advance and Perspective on Spin Rate Measurement Technology for Guided Projectile. Acta Autom. Sin. 2016, 42, 1620–1629. [Google Scholar] [CrossRef]
  6. She, H.; Yang, S.; Ni, H. New Algorithms to Estimate Initial Roll Angle for In-flight Alignment of GPS/INS Guided Munitions. Acta Armamentarii 2011, 32, 1265–1270. [Google Scholar]
  7. Zhang, Y.; Zhang, X.; Xue, Y. An estimation method of roll angle and rate of spinning projectile based on geomagnetic information. China Meas. 2021, 47, 38–43. [Google Scholar]
  8. Zhang, P.; Gao, M.; Wang, W.; Wang, Y.; Li, C. Projectile attitude measurement technology based on geomagnetism/gyroscope. J. Chin. Inert. Technol. 2024, 32, 874–881. [Google Scholar] [CrossRef]
  9. Zhou, J.; Zhang, X.; Du, J.; Qiu, J. Fusion Algorithm for Geomagnetic and Gyroscope Attitudes Based on AEKF. Comput. Meas. Control 2025, 33, 271–279. [Google Scholar] [CrossRef]
  10. Yang, S.; Han, Y.; Jia, S. Research on Flight approach Landing based on GNSS/INS Navigation. Aviat. Comput. Technol. 2025, 55, 114–118. [Google Scholar]
  11. Zhang, B.; Zhang, P.; Cheng, C. Design and implementation of INS/GNSS integrated navigation system enhanced by 5G-enabled magnetic navigation. China Broadband 2025, 21, 115–117. [Google Scholar] [CrossRef]
  12. Cao, X.; Shi, Y.; Liu, Y.; Zhao, C.; Liu, T. Global positioning performance analysis of BDS-3/GPS integrated navigation system. Pearl River Shipp. 2024, 4, 24–29. [Google Scholar] [CrossRef]
  13. Gao, L. Attitude Estimation of Rotating Ammunition Based on Geomagnetic/MEMS Gyro Information Fusion. Master’s Thesis, North University of China, Taiyuan, China, 2021. [Google Scholar] [CrossRef]
  14. Yang, Q.; Wang, J.; Fan, S.; Bai, C.; Zhou, Y.; Hu, S. In-flight Alignment Method of Guided Projectile Roll Angle Based on Trajectory Bending Angular Velocity Single Vector. Acta Armamentarii 2023, 44, 417–427. [Google Scholar] [CrossRef]
  15. Fukuda, G.; Kubo, N. Bias Estimation for Low-Cost IMU Including X- and Y-Axis Accelerometers in INS/GPS/Gyrocompass. Sensors 2025, 25, 1315. [Google Scholar] [CrossRef]
  16. Pang, S.; Zhang, B.; Lu, J.; Pan, R.; Wang, H.; Wang, Z.; Xu, S. Application of IMU/GPS Integrated Navigation System Based on Adaptive Unscented Kalman Filter Algorithm in 3D Positioning of Forest Rescue Personnel. Sensors 2024, 24, 5873. [Google Scholar] [CrossRef]
  17. Nagui, N.; Attallah, O.; Zaghloul, M.S.; Morsi, I. Improved GPS/IMU Loosely Coupled Integration Scheme Using Two Kalman Filter-based Cascaded Stages. Arab. J. Sci. Eng. 2020, 46, 1345–1367. [Google Scholar] [CrossRef]
  18. Ismail, M.; Abdelkawy, E. A hybrid error modeling for MEMS IMU in integrated GPS/INS navigation system. J. Glob. Position. Syst. 2018, 16, 6. [Google Scholar] [CrossRef]
  19. Gao, Z.; Ge, M.; Shen, W.; Li, Y.; Chen, Q.; Zhang, H.; Niu, X. Evaluation on the impact of IMU grades on BDS + GPS PPP/INS tightly coupled integration. Adv. Space Res. 2017, 60, 1283–1299. [Google Scholar] [CrossRef]
  20. Deng, Z.; Qiang, S.; Zhao, D. Roll Angle Measurement for a Spinning Vehicle Based on GPS Signals Received by a Single-Patch Antenna. Sensors 2018, 18, 3479. [Google Scholar] [CrossRef]
  21. Wu, J.; Li, Y.; Tang, T.; Ding, W.; Meng, X.; Liu, J.; Jiang, J. A robust single-antenna GNSS/MEMS fusion structure for reliable attitude determination in challenged environments. Sci. Rep. 2025, 15, 24462. [Google Scholar] [CrossRef] [PubMed]
  22. Zhou, X.; Chen, L.; Sun, C.; Jia, W.; Yi, N.; Sun, W. Highly Accurate Attitude Estimation of Unmanned Aerial Vehicle Payloads Using Low-Cost MEMS. Micromachines 2025, 16, 632. [Google Scholar] [CrossRef]
  23. Dang, D.C.; Suh, Y.S. Improved Single Inertial-Sensor-Based Attitude Estimation during Walking Using Velocity-Aided Observation. Sensors 2021, 21, 3428. [Google Scholar] [CrossRef]
  24. Xu, Y.; Shi, X.; Xu, H.; Jia, R. Estimation of IMU Misalignment and Gyro Drift in SINS. Fire Control. Command. Control. 2008, 33, 82–84. [Google Scholar]
Figure 1. Overall Block Diagram of the Proposed Method (this diagram illustrates the overall framework of the roll attitude estimation algorithm, showing the signal flow from sensor measurement to final correction).
Figure 1. Overall Block Diagram of the Proposed Method (this diagram illustrates the overall framework of the roll attitude estimation algorithm, showing the signal flow from sensor measurement to final correction).
Sensors 25 06721 g001
Figure 2. Rotation between the reference and Body Coordinate Systems (This schematic defines the relationship between the reference and body coordinate systems used for attitude computation).
Figure 2. Rotation between the reference and Body Coordinate Systems (This schematic defines the relationship between the reference and body coordinate systems used for attitude computation).
Sensors 25 06721 g002
Figure 3. Rotation between the Body and Gyroscope Coordinate Systems (This figure shows the installation error model between the body frame and gyroscope frame, which is considered in the theoretical derivation).
Figure 3. Rotation between the Body and Gyroscope Coordinate Systems (This figure shows the installation error model between the body frame and gyroscope frame, which is considered in the theoretical derivation).
Sensors 25 06721 g003
Figure 4. Ideal three-axis angular rate outputs under perfect alignment between the gyroscope and projectile body axes ((a) X- and Y-axis angular velocity data of the ideally installed gyroscope, where the inset shows a partial enlargement. (b) Z-axis angular velocity data of the ideally installed gyroscope.).
Figure 4. Ideal three-axis angular rate outputs under perfect alignment between the gyroscope and projectile body axes ((a) X- and Y-axis angular velocity data of the ideally installed gyroscope, where the inset shows a partial enlargement. (b) Z-axis angular velocity data of the ideally installed gyroscope.).
Sensors 25 06721 g004
Figure 5. Curves of Three-Axis Angular Velocity of the Gyroscope with Time (this figure presents the simulated output of the MEMS gyroscope including sensor noise and bias drift. (a) X- and Y-axis angular velocity data of the gyroscope. (b) Z-axis angular velocity data of the gyroscope.).
Figure 5. Curves of Three-Axis Angular Velocity of the Gyroscope with Time (this figure presents the simulated output of the MEMS gyroscope including sensor noise and bias drift. (a) X- and Y-axis angular velocity data of the gyroscope. (b) Z-axis angular velocity data of the gyroscope.).
Sensors 25 06721 g005
Figure 6. Estimated Actual Roll Angular Velocity of the Projectile and Moving Average Result (the figure shows the estimated roll angular velocity and its moving-average result used to derive the adaptive filter frequency).
Figure 6. Estimated Actual Roll Angular Velocity of the Projectile and Moving Average Result (the figure shows the estimated roll angular velocity and its moving-average result used to derive the adaptive filter frequency).
Sensors 25 06721 g006
Figure 7. Filter Frequency Curve with Time (this figure illustrates the time-varying center frequency of the adaptive IIR filter during operation).
Figure 7. Filter Frequency Curve with Time (this figure illustrates the time-varying center frequency of the adaptive IIR filter during operation).
Sensors 25 06721 g007
Figure 8. Spectrum of the gyroscope Y-axis signal (this spectrum reveals the dominant frequency component in the Y-axis gyroscope signal used for filter tuning).
Figure 8. Spectrum of the gyroscope Y-axis signal (this spectrum reveals the dominant frequency component in the Y-axis gyroscope signal used for filter tuning).
Sensors 25 06721 g008
Figure 9. Comparison of Gyro Y-axis Data Before and After Filtering (The comparison verifies that the dynamic IIR filter effectively suppresses noise and preserves periodic characteristics).
Figure 9. Comparison of Gyro Y-axis Data Before and After Filtering (The comparison verifies that the dynamic IIR filter effectively suppresses noise and preserves periodic characteristics).
Sensors 25 06721 g009
Figure 10. Error of Peak Moments (This figure shows the difference between the peak moments of the projectile and gyroscope signals after filtering).
Figure 10. Error of Peak Moments (This figure shows the difference between the peak moments of the projectile and gyroscope signals after filtering).
Sensors 25 06721 g010
Figure 11. Comparison of roll attitude angles before and after simulation data correction.
Figure 11. Comparison of roll attitude angles before and after simulation data correction.
Sensors 25 06721 g011
Figure 12. Experimental Platform (the photo displays the experimental turntable setup used to validate the proposed algorithm).
Figure 12. Experimental Platform (the photo displays the experimental turntable setup used to validate the proposed algorithm).
Sensors 25 06721 g012
Figure 13. Three-Axis Output of the Gyroscope (this figure presents the three-axis gyroscope outputs acquired during the turntable experiment, which serve as the measured inputs for subsequent frequency estimation and filtering. (a) X- and Y-axis angular velocity data of the gyroscope. (b) Z-axis angular velocity data of the gyroscope.).
Figure 13. Three-Axis Output of the Gyroscope (this figure presents the three-axis gyroscope outputs acquired during the turntable experiment, which serve as the measured inputs for subsequent frequency estimation and filtering. (a) X- and Y-axis angular velocity data of the gyroscope. (b) Z-axis angular velocity data of the gyroscope.).
Sensors 25 06721 g013
Figure 14. Filter Frequency Curve with Time (This figure shows the time evolution of the adaptive band-pass filter’s center frequency computed from the smoothed roll-rate estimate, consistent with the method description).
Figure 14. Filter Frequency Curve with Time (This figure shows the time evolution of the adaptive band-pass filter’s center frequency computed from the smoothed roll-rate estimate, consistent with the method description).
Sensors 25 06721 g014
Figure 15. Comparison of Y-axis Data Before and After Processing (the comparison demonstrates that the dynamic IIR filtering suppresses high-frequency noise in the Y-axis signal while preserving the roll-related component).
Figure 15. Comparison of Y-axis Data Before and After Processing (the comparison demonstrates that the dynamic IIR filtering suppresses high-frequency noise in the Y-axis signal while preserving the roll-related component).
Sensors 25 06721 g015
Figure 16. Comparison of Roll Attitude Angles Before and After Correction.
Figure 16. Comparison of Roll Attitude Angles Before and After Correction.
Sensors 25 06721 g016
Table 1. Initial simulation and filtering parameter settings.
Table 1. Initial simulation and filtering parameter settings.
ParameterValue/Setting
Initial velocity600 m/s
Initial pitch angle45°
Initial roll/yaw angle0°/0°
Initial roll angular rate800°/s
Damping coefficient1°/s
Simulation duration40 s
Time step0.01 s
Q (quality factor)4
α (Sensitivity coefficient)0.2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zeng, J.; Liu, Z.; Liu, C. Research on Roll Attitude Estimation Algorithm for Precision Firefighting Extinguishing Projectiles Based on Single MEMS Gyroscope. Sensors 2025, 25, 6721. https://doi.org/10.3390/s25216721

AMA Style

Zeng J, Liu Z, Liu C. Research on Roll Attitude Estimation Algorithm for Precision Firefighting Extinguishing Projectiles Based on Single MEMS Gyroscope. Sensors. 2025; 25(21):6721. https://doi.org/10.3390/s25216721

Chicago/Turabian Style

Zeng, Jinsong, Zeyuan Liu, and Chengyang Liu. 2025. "Research on Roll Attitude Estimation Algorithm for Precision Firefighting Extinguishing Projectiles Based on Single MEMS Gyroscope" Sensors 25, no. 21: 6721. https://doi.org/10.3390/s25216721

APA Style

Zeng, J., Liu, Z., & Liu, C. (2025). Research on Roll Attitude Estimation Algorithm for Precision Firefighting Extinguishing Projectiles Based on Single MEMS Gyroscope. Sensors, 25(21), 6721. https://doi.org/10.3390/s25216721

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