JoVE Educazione Scientific
Aeronautical Engineering
È necessario avere un abbonamento a JoVE per visualizzare questo.  Accedi o inizia la tua prova gratuita.
JoVE Educazione Scientific Aeronautical Engineering
Real-time Flight Control: Embedded Sensor Calibration and Data Acquisition
  • 00:01Concepts
  • 02:31Calibration of IMU
  • 04:45Real-time Flight Experiment
  • 07:11Risultati

실시간 비행 제어: 임베디드 센서 교정 및 데이터 수집

English

Condividere

Panoramica

출처: 엘라 M. 앳킨스, 항공 우주 공학학과, 미시간 대학, 앤 아버, MI

개요

오토파일럿을 사용하면 항공기의 방향, 각도 속도 및 공기 속도를 측정하는 온보드 센서에서 수집된 데이터를 사용하여 항공기를 안정화할 수 있습니다. 이러한 수량은 자동 조종 장치에 의해 조정될 수 있으므로 항공기는 발사(이륙)부터 복구(착륙)를 통해 비행 계획을 자동으로 따릅니다. 대형 고정익 상용 수송기부터 4개의 추진기 유닛이 있는 쿼드콥터와 같은 소규모 다중 로터 헬리콥터에 이르기까지 모든 유형의 항공기를 제어하기 위해 유사한 센서 데이터가 수집됩니다.

글로벌 포지셔닝 시스템(GPS)과 같은 센서에 의해 관성 위치와 속도를 포착하여 자동 조종 장치 실시간 비행 제어 시스템을 통해 멀티콥터 또는 고정 익 항공기가 지정된 궤적을 따라 태도와 공기 속도를 안정화할 수 있습니다. 센서 통합, 교정, 데이터 수집 및 신호 필터링은 비행 제어 실험을 위한 전제 조건입니다.

여기서는 비행 제어에 필요한 데이터를 제공하는 센서 제품군에 대해 설명합니다. 두 개의 서로 다른 임베디드 컴퓨터 플랫폼에서 신호 인터페이스 및 데이터 수집이 설명되고 센서 교정이 요약됩니다. 단일 채널 이동 평균 및 중앙값 필터는 고주파 신호 노이즈를 줄이고 이상값을 제거하기 위해 각 데이터 채널에 적용됩니다.

이 실험에서는 실시간 비행 제어를 위한 데이터 수집 및 센서 교정이 입증됩니다. 여러 게시된 논문에서는 센서 데이터 수집 및 제어의 원리를 설명했으며, 최근에는 소형 무인 항공기(UAV) [1-3]용 센서에 초점을 맞추고 있습니다.

Principi

Procedura

이 절차는 IMU 및 ADS 센서 교정 및 비행 컴퓨터와의 통합을 설명하고 실외 비행 시설에서 통합 된 INS 및 ADS 데이터 수집 및 처리의 사용을 보여줍니다. 미시간 대학교 M-Air 그물 비행 테스트 시설에서 운영되는 사분면비행 제어가 입증되었습니다. 1. 센서 교정: 관성 측정 장치(IMU) 센서 교정은 고품질 테스트 장비의 지원을 받아 수행될 때 가장 효…

Risultati

Sensor Calibration

An example of a rate gyro calibration plot is shown in Figure 8. In this case, the rate gyro emits a nominal (zero-speed) reading of 2.38 V. Rate gyro voltage data was collected for six different rotational speeds measured in degrees per second, and a linear curve was fit to this data. As shown, the linear fit provides a very good approximation of all collected data points.

Flight Test Results

Figures 9 shows the raw and filtered data of a 30 s lateral acceleration dataset for a quadrotor flying in an indoor environment. The filter values d and n are relatively large to illustrate the impact of the filtering process clearly. As shown, raw data noise is attenuated. However, a notable time delay is present in the filtered data, e.g., in the (attenuated) positive acceleration trend just before t=5 s.  For this plot, a small negative bias is noted in the overall acceleration trend; this is likely due to a slight pitch in the IMU mount relative to the quadrotor thruster plane such that a small component of gravitational acceleration is noted in the x-axis acceleration measurement.  Such offset is common when aligning sensors only through visual inspection.  


Figure 1. Fundamental Forces Acting on Aircraft. Please click here to view a larger version of this figure.


Figure 2. Data Pipeline from Sensors to Flight Control. Please click here to view a larger version of this figure.


Figure 3. Inertial Measurement Unit (IMU) Sensors and Axis Conventions. Please click here to view a larger version of this figure.


Figure 4. Pitot Tube System for Airspeed (V) Measurement. Please click here to view a larger version of this figure.


Figure 5. Five-Hole Probe System for Airspeed (V), Angle of Attack (a), and Sideslip Angle (b) Measurement. Please click here to view a larger version of this figure.


Figure 6.  IMU Sensor Calibration with a Single Axis Rate Table.  As shown, the z-axis rate gyro voltage can be calibrated directly for each commanded angular velocity, w, and the x-axis accelerometer can be calibrated from centripetal acceleration given angular velocity w and measured radius r from the center of the rate table to the IMU centroid.  The IMU can be rotated and remounted to calibrate measurements from the other rate gyro and accelerometer axes. Please click here to view a larger version of this figure.


Figure 7. Quadrotor platform with Beaglebone Blue used for Flight Testing. Please click here to view a larger version of this figure.


Figure 8.  Rate Gyro Example Calibration Example. Please click here to view a larger version of this figure.


Figure 9.  Example Quadrotor Lateral (x) Accelerometer Data Excerpt for an Indoor Flight using a median filter with d=8 and moving average filter with window n=15.  Raw data is indicated by the blue trend, and filtered data is shown in orange. Please click here to view a larger version of this figure.


Figure 10. Example fixed-wing small UAS GPS, Accelerometer, and Rate Gyro Flight Test Data.  Raw (unfiltered) data is presented to illustrate the need for signal filtering. Please click here to view a larger version of this figure.

Applications and Summary

Here we described the sensor systems, data acquisition, and signal filtering process required to enable fixed-wing and rotary-wing aircraft real-time flight control. This data pipeline is an essential element of all manned and unmanned aircraft autopilot systems. Multicopters require autopilots to stabilize, and aircraft of all types critically rely on real-time data acquisition and flight control for all operations as we move toward increasingly autonomous aircraft systems conducting missions involving airborne data collection and payload transport. While off-the-shelf sensor packages can be integrated, reliability is critical to understand sensor capabilities and limitations in different environments. For example, heavy precipitation or ice can block pitot tubes, and urban canyon structures can block GPS signals.

Additionally, unusual attitudes can require extension to state estimation computations relying on Euler Angle attitude representations. There is an inherent tradeoff between the resilience gained through the integration of extra sensors and the extra cost and weight required to support redundant sensors. The lowest cost small UAVs will likely continue to employ the baseline suite of sensors for flight control described here. While the most reliable aircraft, such as commercial transport and fighter aircraft, base their state estimates on sensors similar to those described here, they rely on triple redundancy and sensor diversity to assure the aircraft flight controller can rely on an accurate state estimate despite the potential for sensor failures or extremely challenging environmental conditions.

Figure 10 shows sample GPS and (raw) IMU time histories taken from a small fixed-wing UAS flight test. GPS data shows the local loitering pattern manually flown by a pilot through a radio control link. The raw IMU time histories show signal but also exhibit substantial signal noise.  This noise results primarily from airframe structural vibrations induced by the propulsion unit (motor) and is typical for fixed-wing small UAS with lightweight wood or composite structures.  Note that the data was collected after vibrationally isolating the IMU from the structure with rubber mounts, providing strong motivation for signal filtering.  In the time response data, takeoff (launch) occurs just after t=100 s, and landing is seen in the large-magnitude data “spikes” occurring just before t=450 s. 

ACKNOWLEDGMENTS

We acknowledge Mr. Prashin Sharma, Mr. Matthew Romano, and Dr. Peter Gaskell of the University of Michigan for their assistance in setting up and conducting experiments.

Riferimenti

  1. Langelaan, J.W., Alley, N., and Neidhoefer, J., 2011. Wind field estimation for small unmanned aerial vehicles. Journal of Guidance, Control, and Dynamics, 34(4), pp.1016-1030.
  2. Hallberg, E., Kaminer, I., and Pascoal, A., 1999. Development of a flight test system for unmanned air vehicles. IEEE Control Systems, 19(1), pp.55-65.
  3. Kim, J.H., Sukkarieh, S., and Wishart, S., 2003. July. Real-time Navigation, Guidance, and Control of a UAV using Low-cost Sensors. In Field and Service Robotics, Springer, pp. 299-309.
  4. Gracey, W., 1956. Wind-tunnel investigation of a number of total-pressure tubes at high angles of attack-subsonic, transonic, and supersonic speeds (No. NACA-TN-3641). National Aeronautics and Space Administration (NASA) Langley Research Center, Hampton, VA. (http://www.dtic.mil/get-tr-doc/pdf?AD=ADA377664)
  5. Morrison, G.L., Schobeiri, M.T., and Pappu, K.R., 1998. Five-hole pressure probe analysis technique. Flow Measurement and Instrumentation, 9(3), pp.153-158.
  6. Farrell, J. and Barth, M., 1999. The global positioning system and inertial navigation. New York, NY, USA, McGraw-Hill.
  7. Enge, P., Walter, T., Pullen, S., Kee, C., Chao, Y.C., and Tsai, Y.J., 1996. Wide area augmentation of the global positioning system. Proceedings of the IEEE, 84(8), pp.1063-1088.
  8. Goodrich, M.A., Morse, B.S., Gerhardt, D., Cooper, J.L., Quigley, M., Adams, J.A., and Humphrey, C., 2008. Supporting wilderness search and rescue using a camera‐equipped mini UAV. Journal of Field Robotics, 25(1‐2), pp.89-110.
  9. Rufa, J.R., and Atkins, E.M., 2016. Unmanned aircraft system navigation in the urban environment: A systems analysis. Journal of Aerospace Information Systems, 13(4), pp.143-160.
  10. Paret, D. and Fenger, C., 1997. The I2C bus: from theory to practice. John Wiley & Sons, Inc.
  11. S. Cesnik, C.E., Senatore, P.J., Su, W., Atkins, E.M., and Shearer, C.M., 2012. X-HALE: A very flexible unmanned aerial vehicle for nonlinear aeroelastic tests. AIAA Journal, 50(12), pp.2820-2833.
  12. Vasconcelos, J.F., Elkaim, G., Silvestre, C., Oliveira, P., and Cardeira, B., 2011. Geometric approach to strapdown magnetometer calibration in sensor frame. IEEE Transactions on Aerospace and Electronic Systems, 47(2), pp.1293-1306.
  13. Bovik, A., Huang, T.S., and Munson, D., 1983. A generalization of median filtering using linear combinations of order statistics. IEEE Transactions on Acoustics, Speech, and Signal Processing, 31(6), pp.1342-1350.
  14. Beard, R.W. and McLain, T.W., 2012. Small unmanned aircraft: Theory and practice. Princeton University Press.
  15. Yeo, D., Shrestha, E., Paley, D.A., and Atkins, E.M., 2015. An empirical model of rotorcraft UAV downwash for disturbance localization and avoidance. In AIAA Atmospheric Flight Mechanics Conference, AIAA.
  16. Yeo, D., Sydney, N., and Paley, D.A., 2016. Onboard flow sensing for rotary-wing UAV pitch control in wind. In AIAA Guidance, Navigation, and Control Conference.
  17. Degani, A. and Wiener, E.L., 1993. Cockpit checklists: Concepts, design, and use. Human Factors, 35(2), pp.345-359.
  18. Yeo, D., Henderson, J., and Atkins, E., 2009, August. An aerodynamic data system for small hovering fixed-wing UAS. In AIAA Guidance, Navigation, and Control Conference.

Trascrizione

A fixed wing aircraft achieves steady flight by balancing four forces: aerodynamic lift, aerodynamic drag, propulsion system thrust and weight. To achieve stable flight, it must also balance moments about all three axis, the roll, pitch and yaw axis. All rotations are defined as angles about these axis with changes in the roll axis causing side-to-side motion, changes to the pitch axis causing forward and backward tilting motion and changes in the yaw axis causing heading changes.

In order to stabilize the aircraft to any sudden changes like gusts of wind, a flight control system issues motor and control surface commands that must be updated in real-time. Thus, the control system uses various sensors to maintain an accurate measurement of current altitude, meaning the roll, pitch and yaw angles, as well as the air speed. Once data is acquired from the sensors, the signals are filtered to reduce the impact of noise and outliers on processed data quality. The data is then aggregated into a full estimate of aircraft state and used for flight control.

Both fixed wing aircraft and multicopters rely on this control system to monitor and control aircraft altitude. Both also utilizes sensor sweep known as an inertial measurement unit or IMU.

An IMU typically consists of three sensor types: accelerometers to measure linear acceleration, rate gyroscopes to measure angular velocity and magnetic field sensors to measure the direction and strength of the local magnetic field. An IMU is often coupled with a GPS system and mounted near the aircraft center of gravity with the sensor axis aligned with the axis of the aircraft body.

In this lab, we will demonstrate the calibration of a simple IMU using a precision rate table. We’ll then mount the calibrated IMU to a multicopter and perform a flight test to view real time and filter data.

In the first part of the experiment, we will calibrate the IMU which contains a rate gyro and accelerometer for each axis using a precision rate table. The rate table precisely rotates at a user defined velocity following a series of rate commands. This enables us to determine the relationship between the voltage readout and velocity.

To begin, mount the IMU on the rate table with screws and orient it such as that the sensor axis being calibrated in this case the X-axis, is directly radially inward or outward. Measure the distance from the table center to the IMU center and use this measurement as the reference radius for circular motion. The IMU is mounted on a data acquisition board. Connect the components directly.

Now, set up the software to collect the IMU rate and acceleration data. Conduct a series of experiments with different positive and negative constant rate table rotation rates with zero used as the baseline measurement. While the rate table is motionless, record the rate gyro and accelerometer by S values. Then, initiate the test and collect the data.

Once all the angular velocities have been tested for that orientation, detach the IMU and reposition it such that the accelerometer is oriented upward. Reattach it, then initiate the test to collect -1 G data. After that, flip the IMU so that the accelerometer is oriented downward and collect +1 G data.

When you have completed the calibration of the x-axis, reposition the IMU so that the z-axis sensor is orientally radially outward and repeat all tests, remembering to position the IMU upwards and downwards to calibrate the accelerometer. Perform the same procedure for the y-axis sensor.

In the next part of the experiment, we will mount the IMU on the quadrotor and fly it inside of a netted flight facility. A radial control transmitter receiver interface enables the pilot to provide commands for altitude, heading, roll angle, pitch angle and yaw angle.

Before starting, charge all batteries and test the components prior to installation on the quadrotor. Then prepare the flight making sure that at least three people, the pilot in command, the visual observer and the ground station operator are all briefed on the flight plans. Bring the quadrotor into the netted flight facility and set it on a flat landing board.

The flight test begins with take off from the origin climbing to a 1.5 m altitude. Then, we’ll execute a two meter square flight pattern with a 0.5 m/s reference velocity. The quadrotor pauses prior to each change of position. Then we’ll execute segments of higher speed traversals at 0.5, 1, and 1.5 m/s to demonstrate how velocity impacts overshoot.

To begin the flight test, start the data acquisition on the ground station. After confirming that the flight area is clear, arm the motors. Now, initiate the flight test sequence with the pilot calling out each step before performing them beginning with takeoff. Be sure to announce all flight mode changes, known waypoint targets, or maneuvers.

After the flight plan has been executed, alert the rest of the flight team of the final descent and landing of the quadcopter. Then, disarm the motors on the quadcopter. Save and download all flight data and log the flight in the flight logbook. Finally, recover all equipment and clear the area for the next user.

Now let’s interpret the results. Starting with the calibration data for the IMU, first we show a plot of rotational speed of the rate table versus the gyro voltage. Note that the rate table provides direct control of angular velocity for the gyro calibration. A linear fit to the data enables the calculation of speed from gyro voltage. In this case, the rate gyro emits a nominal zero speed reading of 2.38 volts.

Finally, let’s look at the flight data. Here we show a 30 second lateral acceleration data set for the quadrotor using our calibrated IMU. This plot shows raw and filtered acceleration measurements from the IMU versus time. The data was filtered in order to remove noise from the measurement. You can see that raw noise data is attenuated. However a time delay is present in the filtered data.

In summary, we learned how aircraft control systems use various sensors to measure current altitude and airspeed during flight. We then calibrated a rate gyro and accelerometer and mounted them on a quadrotor before performing flight experiments.

Tags

Cite This
JoVE Science Education Database. JoVE Science Education. Real-time Flight Control: Embedded Sensor Calibration and Data Acquisition. JoVE, Cambridge, MA, (2023).