13.08.2018 Views

[Studies in Computational Intelligence 481] Artur Babiarz, Robert Bieda, Karol Jędrasiak, Aleksander Nawrat (auth.), Aleksander Nawrat, Zygmunt Kuś (eds.) - Vision Based Systemsfor UAV Applications (2013, Sprin

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Prototyp<strong>in</strong>g the Autonomous<br />

Flight Algorithms Us<strong>in</strong>g the Prepar3D® Simulator 227<br />

1,2 <br />

(5) atan2 , (6)<br />

where: – maps the land<strong>in</strong>g path <strong>in</strong> the East-North plane, – setpo<strong>in</strong>t<br />

pitch angle, , , – ENU coord<strong>in</strong>ates components.<br />

6.2 Circl<strong>in</strong>g and Tak<strong>in</strong>g Waypo<strong>in</strong>ts<br />

Circl<strong>in</strong>g command is an additional option, which starts automatically, when the<br />

airplane is <strong>in</strong> the air, has already completed a flight along the waypo<strong>in</strong>t path, and<br />

when the user doesn't manage to give any new commands <strong>in</strong> the specified time<br />

period. Execut<strong>in</strong>g this command, the algorithm is still chang<strong>in</strong>g the aircraft azi-<br />

air<br />

muth by some angle after pass<strong>in</strong>g a certa<strong>in</strong> given distance . The whole movement is obviously on a preset height . Positions of the circular path are<br />

calculated from the ENU<br />

conversion and then they are converted to setpo<strong>in</strong>ts for<br />

the PI controllers.<br />

Dur<strong>in</strong>g the flight along<br />

the desired path, which consists of a sequence of po<strong>in</strong>ts<br />

<strong>in</strong> LLA form algorithm uses the stabilization of the setpo<strong>in</strong>t height and stabiliza-<br />

tion of the orientation, which are calculated from designated ENU coord<strong>in</strong>ates.<br />

With this option ENU coord<strong>in</strong>ates are calculated <strong>in</strong> real time, which is based only<br />

on current and dest<strong>in</strong>ationn GPS position. Arbitration method for achieve dest<strong>in</strong>a-<br />

tion position is the same as for other commands formula (4).<br />

7 Tests<br />

This paper presents four test of unmanned aircraft flights <strong>in</strong> simulation environ-<br />

ment Prepar3D®. Thesee tests were performed on a s<strong>in</strong>gle PC with runn<strong>in</strong>g<br />

Microsoft W<strong>in</strong>dows 7. This computer is runn<strong>in</strong>g two applications: simulation<br />

environment Prepar3D®<br />

and control application which. These applications<br />

communicate with each other us<strong>in</strong>g a dedicated SimConnect library shared by<br />

Lockheed Mart<strong>in</strong> (fig. 7).<br />

Fig. 7. Connection between Prepar3D® and control application<br />

The first two tests weree performed to show the results of the completed PI con-<br />

trollers tun<strong>in</strong>g, and the <strong>UAV</strong> flight stabilization. Both the third and fourth test<br />

describes the pseudo autonomous flight which is based on a sequence of geo-<br />

graphic coord<strong>in</strong>ates. The purpose of the last test is flight over the artificial traffic<br />

on the highway, which is the first step to create a track<strong>in</strong>g algorithms.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!