You are on page 1of 7

Scientific Journal of Control Engineering

June 2013, Volume 3 Issue 3, PP.177-183

Research on the Hardware-in-the-loop


Simulation of Multi-UAV Formation Flight
Control System
Benhui Liu#, Sentang Wu, Da Cai
School of Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China
#

Email: liubenhui2008@yahoo.com.cn

Abstract
This paper describes the design methods of HILS (Hardware-In-the-Loop Simulation) platform, whose purpose is to test the
performance of designed multi-UAV formation flight control system. The platform consists of four subsystems: real time
simulation subsystem based on RTX technique, wireless communication subsystem based on TDMA technique, man-machine
interaction subsystem based on MFC and flight position simulation subsystem based on flight motion, virtual flight motion and
autopilot. The modeling method of multi-UAV formation and design method of controller are introduced firstly, then the
composition and key technologies of every subsystem are presented, finally simulation about the formulation controller is carried
out on this platform. The experimental result shows that this platform can effectively test the performance of formation controller
and also can examine the function of radio station, autopilot and communication protocols, which provides important technical
support for the further flight experiment.
Keywords: UAV; Formation Controller; Hardware-In-the-Loop Simulation; Real Time Simulation; Wireless Communication
Protocols

100191

RTX MFC

[1]

07114840

- 177 http://www.sj-ce.org/


[2][3][4]

1.1
1
, RTX
MFC

1.2

(a)

(b)

VL

dl
c

F
VF

df

df

F
dl

Y
O

[5]
- 178 http://www.sj-ce.org/

2
0 d fc

dlc d hc
d x d f d fc cos L
d sin
y dl dlc
L

sin L xL xF d fc


cos L yL yF d lc

d z zL zF d hc

(1)
(2)

VLzVFx VLxVFz

d f L
d x
VL

VLxVFx VLzVFz

dl L
d y VL
VL

d V V
Ly
Fy
z

(3)

d fc , dlc , d hc

d f , dl , d h L , F
VF , VL

PID

V k e k t e dt k e
xp x
xi 0 x
xd x
FC
t

FC k yp ey k yi 0 ey dt k yd ey

t
hF k zp ez k yi ez dt k zd ez
0
C

(4)

ex k x d x kv (VF VL )

ey k y d y k e

ez d z

(5)

[6]

3.1 RTX
3.1.1

IPC-610 3(a) 15 12cm


/85CFM
3.1.2

RTX

Windows+RTX[7]RTX
Windows RTSS Windows
- 179 http://www.sj-ce.org/

(HAL) Windows RTX 3(b) RTSS


l us
10ms

(a)

(b) RTX

3.2
3.2.1

Digi XTend-PKG
900 900Mhz
RS-232
3.2.2

4(a)[8][9]
200ms
4(b)

(a)

(b)

3.3 MFC
Visual C++6.0 MFC 5(a)
RS-232
5(b)
- 180 http://www.sj-ce.org/

RS-232

(a)

(b)

3.4

6(a)
OpenGL [10] 6(b)

(a) IFLY

(b)

PID 10ms

- 181 http://www.sj-ce.org/

800ms matlab 7

(a)

b 1 2

(c) 1 2

(e)

(d)

(f)

7(a)
15000m 100m 1 2

1 2 (0,3000,3000)m
(0,3000,-3000)m 1 50m 2 50m
7(b) 200s 300s
300s
0m

- 182 http://www.sj-ce.org/

7 0s100s200s 0s
100s 200s

3000m
7(d) 7(f)

7(e) 7(f)

REFERENCES
[1]

Xing Liu, Sentang Wu, Xiaomin Mu, et al. Autonomous Formation and Cooperative Guidance of Multi-UAV: Concept, Design
and Simulation[J]. Journal of System Simulation, 2008, 20(19): 5075-5080

[2]

PRUETT S H,SLUTZ G J. Hardware-In-The-Loop Simulation using Open Control Platform[C]. AIAA Modeling & Simultion
Technologies Confererce, Austin, 2003, 1-11

[3]

Qiongjian Fan, Zhong Yang, Maoyan Feng, et al. Formation Flight Hardware-in-the-loop Testbed System for Multi-UAV[J].
Chinese Journal of Science Instrument. 2009, 30(3): 502-508

[4]

Ertin Onur B, Korkmaz Halim, et al. Hardware-in-the-loop Test Platform for A Small Fixed Wing Unmanned Aerial Vehicle Embedded
Controller[C]. The 32nd IASTED International Conference on Modelling, Identification and Control, Austria, 2013: 282-285

[5]

Brad Seanor, Giampiero Campa, Yu Gu, et al. Formation Flight Test Results for UAV Research Aircraft Models [A].AIAA 1st
Intelligent Systems Technical Conference[C]. Chicago Illinois, 2004, 20-22

[6]

Qi Qiu, Sentang Wu. Robust Formation Flight Control System Design For Multi-UAVs[C]. The 31st Chinese Control
Conference, 2012, 4617-4621

[7]

CHEREPOV M, JONES C. Hard Real-time with RTX on Windows NT[C].The 3rd Windows NT Symposium
Conference.USA:USENIX Association, 1999: 103-112

[8]

Chen Peng, Xing Liu, Xiaomin Mu, et al. Cooperative DynamicWeapon-Target Assignment Algorithm of Multiple Missiles
Based on Networks[C].2009 Chinese Control and Decision Conference, 2009: 126-130

[9]

Zhang Yuhui, Zhang Youguang, and Tang Jiqiang, A New SlotAllocation Model in STDMA Data Link Systems[J].
Communication Technology,2009, vol. 42, no.06, 59-61

[10] Zhenghua Liu, Lianjie Er, Jinkun Liu. Three-axis Virtual Flight Motion Simulator[J]. Journal of System Simulation, 2003,
15(11): 1613-1617

2011

1992

Email: liubenhui2008@yahoo.com.cn

- 183 http://www.sj-ce.org/

You might also like