planned in the mission, the MC of the air platform
is designed to monitor the position of the UAV and, in
certain waypoints, turn on and off the reconnaissance
sensors. MC additionally configures individual sen-
sors, as described in (Stecz and Gromada, 2020). In
this article, we do not broadly describe the operation
of the air platform in the event of loss of contact with
the GCS, when tasks can be performed on a scheduled
basis and weather conditions do not affect the flight.
It is much more complicated to carry out a re-
connaissance mission in conditions of high wind
speed, and even more so with periodic gusts. Un-
der these conditions, the UAV must have implemented
algorithms belonging to the second group mentioned
above, periodically changing the operation of flight
regulators, as shown in the Section 3. For example,
when it is necessary to recognize an object using the
SAR radar, which requires high stability of the UAV
flight, in the reconnaissance section, the FCC com-
puter, due to the MC request, restricts the operation
of the tilt regulator. This is based on the assumption
that the UAV does not fly exactly along the route, but
is acceptable for this type of task.
The third group of algorithms are those securing
the platform’s flight and ensuring the safety of the
UAV in the air. These algorithms include algorithms
for avoiding collisions with terrain obstacles, algo-
rithms for avoiding collisions with other air platforms
and algorithms for preventing UAVs from flying out-
side the permitted zone. Some of them are described
in (Stecz and Gromada, 2022). In practice, there are
many more such algorithms and they can be catego-
rized according to the hierarchy of importance of the
situations they describe. The highest category situa-
tions include the sudden loss of UAV flight altitude
when communication, spatial and usually geographic
orientation is lost. In this case, the UAV mission com-
puter must immediately start the rescue procedure.
Usually it triggers an emergency procedure which, for
smaller platforms, means the parachute will be thrown
out. Lower priority situations were previously men-
tioned and are associated with potential collisions.
The lowest priority situations are those that do not af-
fect flight safety, but potentially delay the implemen-
tation of the mission plan.
The rest of the article is as follows. The Section 2
describes examples and important publications from
the area presented in the article. The Section 3 shows
the method of modeling selected procedures imple-
mented on the air platform in SysML in accordance
with the basic assumptions of MBSE. In particular,
the focus was on describing two types of implemented
functions: modifying the operation of PID regulators
during the flight and verifying possible collisions with
terrain and other air platforms. The Section 4 presents
exemplary results of regulators controlled by MC al-
gorithms. The Section 5 summarizes our achieve-
ments and indicates possible further directions for the
development of algorithms enhancing the autonomy
of UAV flight.
2 RELATED WORKS
The articles (Sanchez-Lopez et al., 2016), (Boubeta-
Puig et al., 2018) present the general structure of
the unmanned autonomous system, which allows for
making decisions about changing the trajectory by
UAV control computers in the absence of GCS con-
trol. The system consists of several modules respon-
sible for the implementation of the mission plan in an
autonomous mode.
Another example of UAV architecture is presented
in (Ilarslan et al., 2011). In this approach, the MC
computer acts as the main control system, therefore it
is based on the RTOS real-time system, and the FCC
autopilot is a slave system.
The FCC must be equipped, as previously men-
tioned, with a state machine with built-in special and
emergency logic, thanks to which it is able to indepen-
dently determine if the MC is malfunctioning. There-
fore, the MCs of smaller platforms are developed on
the Robot Operating System software. ROS is widely
used in robotics, it allows you to divide the entire
system into individual nodes, thanks to which adding
new functionalities is much easier. MC equipped with
software to supervise the correct implementation of
the mission, taking into account the operation of the
payload, supports the FCC. This configuration allows
better use of the UAV’s capabilities. Examples of de-
scriptions of special situations in the form of state ma-
chines implemented on the MC of the air platform can
be found in the works (Wang et al., 2019), (Stecz and
Gromada, 2022), (Stecz and Kowaleczko, 2021).
It is worth noting that when the platform uses the
MC computer, which acts as a computing unit, e.g.
for avoiding obstacles or modifying the flight route,
in this case the ROS system is used. In (Carvalho
et al., 2017) the open-source PX4 autopilot - FCC was
combined with a computer based on Linux and ROS.
Additionally, ROS is often used to prototype mission
planning algorithms and test them in a 3D virtual en-
vironment (Zhang et al., 2015). The FCC is responsi-
ble for the basic functions of stabilization and control
and is able to work independently of the supporting
MC. The communication between the FCC and MC
usually takes place via network interfaces to which
other sensors are also connected. This connection al-
ICSOFT 2022 - 17th International Conference on Software Technologies
366