Kasula, PavithraWhidborne, James F.Rana, Zeeshan A.2024-06-202024-06-202024-06-12Kasula P, Whidborne JF, Rana ZA. (2024) Quaternion-based attitude estimation of an aircraft model using computer vision. Sensors, Volume 24, Issue 12, June 2024, Article number 3795https://doi.org/10.3390/s24123795https://dspace.lib.cranfield.ac.uk/handle/1826/22532Investigating aircraft flight dynamics often requires dynamic wind tunnel testing. This paper proposes a non-contact, off-board instrumentation method using vision-based techniques. The method utilises a sequential process of Harris corner detection, Kanade–Lucas–Tomasi tracking, and quaternions to identify the Euler angles from a pair of cameras, one with a side view and the other with a top view. The method validation involves simulating a 3D CAD model for rotational motion with a single degree-of-freedom. The numerical analysis quantifies the results, while the proposed approach is analysed analytically. This approach results in a 45.41% enhancement in accuracy over an earlier direction cosine matrix method. Specifically, the quaternion-based method achieves root mean square errors of 0.0101 rad/s, 0.0361 rad/s, and 0.0036 rad/s for the dynamic measurements of roll rate, pitch rate, and yaw rate, respectively. Notably, the method exhibits a 98.08% accuracy for the pitch rate. These results highlight the performance of quaternion-based attitude estimation in dynamic wind tunnel testing. Furthermore, an extended Kalman filter is applied to integrate the generated on-board instrumentation data (inertial measurement unit, potentiometer gimbal) and the results of the proposed vision-based method. The extended Kalman filter state estimation achieves root mean square errors of 0.0090 rad/s, 0.0262 rad/s, and 0.0034 rad/s for the dynamic measurements of roll rate, pitch rate, and yaw rate, respectively. This method exhibits an improved accuracy of 98.61% for the estimation of pitch rate, indicating its higher efficiency over the standalone implementation of the direction cosine method for dynamic wind tunnel testing.en-UKAttribution 4.0 Internationalcomputer visionextended Kalman filterinertial measurement unit; quaternionsEuler anglescomputer-aided designdynamic wind tunnel testingflight dynamicsQuaternion-based attitude estimation of an aircraft model using computer visionArticle1424-8220