scieee AI-readable full text Open interactive document viewer

Control of multiple Aerial Vehicles in a Mixed-Initiative Environment

Hugo Manuel Soares Oliveira

Full text

FACULDADE DE ENGENHARIA DA UNIVERSIDADE DO PORTO Control of Multiple Aerial Vehicles in a Mixed-Initiative Environment Hugo Manuel Soares Oliveira Mestrado Integrado em Engenharia Eletrotécnica e de Computadores Orientador: Sujit Pedda Baliyarasimhuni Orientador: Joao Tasso Borges de Sousa 23 October 2013 c HSO, 2013 Resumo Veículos não tripulados tem vindo a ser adoptados em larga escala para a utilização em missões militares e civis sobre o ar, mar, espaço e no solo. O seu uso massivo é justificado principalmente por evitar a colocação da vida humana em perigo. Além disso, a inexistência operador a bordo permite uma redução significativa de peso no que respeita aos dispositivos de suporte de vida, resultando num menor custo e aumento da endurance. O contínuo aumento das capacidades autónomas dos veículos aéreos possibilita a sua utilização em conjunto de equipas, criando um novo paradigma operacional. Tais caracteristicas permitem a utilização de pequenos veículos não tripulados em áreas urbanas, permitindo o seguimento de alvos de forma próxima, impossível de se realizar com o uso de veículos de larga escala tripulados, tais como helicópteros. O sistema apresentado foi projectado com o objectivo de realizar tarefas de inteligência persistente, reconhecimento e vigilância de alvos em ambiente urbano. O uso de sistemas UAV de baixo custo, baixa altitude, baixa endurance permite fornecer dados de alta resolução para pessoal de terra mantendo os custos de operação e de logística baixos. Estes UAV’s podem ser colocados em operação rapidamente e de forma simples, recorrendo a diferentes combinações de sistemas de lançamento (Mão, catapulta, pista curta). Uma das principais desvantagens deste veículos é a sua limitada capacidade relativo aos sensores e endurance. No entanto, isto pode ser superado pela partilha correcta de informações relevantes entre os veículos membros da equipa. O objectivo deste trabalho é estudar e desenvolver técnicas de cooperação entre equipas de UAVs descentralizadas, a fim de executar tarefas de vigilância persistente numa área urbana densa, com fortes oclusões. Para o efeito, várias técnicas de seguimento e cooperação foram estudados a fim de extrair algumas ideias úteis a adoptar no desenvolvimento do projecto. Tendo em vista o objectivo final desta tese, foi desenvolvido o ambiente de simulação que permite replicar as condições substancias do cenário de operação, controladores e algoritmos de planeamento de trajectórias para dirigir os veículos aéreos, sistemas de seguimento distribuído com capacidade para multi alvos e multi observação bem como mecanismos de leilão para efeitos de cooperação entre os UAV’s. i ii Abstract Unmanned Aerial Vehicles have been adopted in large scale for various military and civilians missions over the air, sea, space and the ground. Their massive use are mainly justified by the ability to avoid placing human life in harm’s. Also the lack of onboard operator enables significant weight savings regarding life support equipment, resulting the lower cost and weight, increasing endurance. The continuous increase of autonomous capabilities of aerial vehicles allows their use in a set of teams, creating a new operational paradigm. Such operation scenario is the use of small unmanned vehicles over a urban area, enabling the tracking of targets from a close range impossible to archive with manned large scale vehicles such as helicopters. The system presented is being designed to perform persistence intelligence, reconnaissance and surveillance for targets in a urban environment. The use of low cost systems, low-altitude, short endurance UAV’s can provide high resolution data to ground personal while maintaining a low operation and logistics cost. These UAV’s can be deployed quickly and easily over several combination (hand, catapult small track). One of the main disadvantages is their limited sensor capabilities and endurance time. However, this can be overcome by proper sharing of relevant information among the other team of vehicles. The objective of this thesis is to study and develop cooperation techniques among team of decentralized UAV’s in order to perform tasks of persistence surveillance over a urban dense area with strong occlusions. To achieve that, several tracking and cooperation techniques were studied in order to extract some useful ideas and adopt then on the project. Tanking in account the final objective of this thesis, a simulation enviroments was developed in order to replicate the most relevant conditions in the scenario of operation, controllers and path planning algorithms to drive the vehicles, distributed tracking system with multi-target and multi-observation capabilities and a auction mechanism for the cooperation among the UAV’s iii iv Acknowledgments The author would like to thanks to the members of The Underwater Systems and Technology Laboratory (LSTS) at FEUP by the thinking and critical environment presented on the lab and by the support of Sujit P.B. and João Sousa. Hugo Manuel Soares Oliveira v vi LIST OF FIGURES xiii 9.1 Forest fire spreading example. Image from [4]. .................. 93 9.2 ScanEagle’s UAV platform in sea operation. . . . . . . . . . . . . . . . . . . . . 93 9.3 Image mosaicing of terrain view. Image from [5].................. 94 9.4 NasaWorldWindexamples. ............................ 94 9.5 Nasa World Wind Framework. . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 xiv LIST OF FIGURES List of Tables 8.1 List of experiments to be conduct. . . . . . . . . . . . . . . . . . . . . . . . . . 83 xv xvi LIST OF TABLES Abbreviations and Symbols AGCS Autonomous Guidance Control System ASV Autonomous surface vehicles AUV Autonomous Underwater Vehicle CASE Computer-Aided Software Engineering CORBA Common Object Request Broker Architecture LiDar Light Detection And Ranging MAV Multi Aerial Vehicle PDF Probability Distribution Function RRT Rapidly exploring random tree SUAV Small Unnamed Aerial Vehicle UAV Unnamed Aerial Vehicle UNCOL Universal Compiler-Oriented Language WWW World Wide Web xvii Chapter 1 Introduction This chapter introduces the problem of target tracking using multiple UAV’s in a mixedinitiative environments. Further, the motivation in selecting this problem for the dissertation, problem statement and the objectives are described. 1.1 Introduction and Motivation UAVs (Unmanned Aerial Vehicles) nowadays are of importance for the society. The main advantage of these vehicles is the absence of human operator onboard, minimizing risks and the ability to perform repetitive tasks in remote and unreachable places with reduced operational cost. Recent sensory and computational technologies have accelerated the research and develop of complex unmanned vehicular systems have shown their benefits in both military and civilian scenarios. The primary requirements of autonomy to carry out these missions are the capabilities of detecting internal and external changes, and reacting to them with reduced human intervention in an efficient manner. Furthermore, the UAV operational arena may have obstacles, threats and restricted regions that need to be handled automatically. The main challenge for the UAV operations is being able to carry out assigned task without compromising its integrity or the mission by flying into obstacles or restricted areas or becoming exposed to higher levels of threat risks. This problem can be minimized with the development of robust guidance strategies and their implementation in autonomous guidance and control systems (AGCS) to steer the unmanned vehicles. Several kinds of missions such has target tracking, terrain mapping, surveillance can be performed autonomously by UAV’s in adversarial environments. If the autonomous guidance strategies can be formulated in a scalable manner and easy to work framework such as MATLAB, many operational scenarios and missions can be easily built enabling the continuous study and development of several AGCS approaches for UAV’s operations in these scenarios. In addition to the current degree of autonomy of a single vehicle, coordination and cooperation [6,7,8] among several UAV’s [9] enables the full utilization of UAV systems. The addition of individual autonomous UAV in a team of UAV’s that operate under a coordination strategy defined by user will result in larger capabilities and an increase in the performance and robustness of the mission. In specific missions, such as 1 2Introduction tracking of mobile ground targets, the use of several UAV’s in close cooperation will benefit the mission, namely when the tracking and pursuit is to be held in a strong adversarial environment. Figure 1.1 shows a dense obstacle scenario where multiple UAV’s are guided to perform ground tracking missions while maintain vehicle integrity. For the success of the missions, the cooperative AGCS must lead to feasible decisions regarding the UAV’s motions in order to continuously track the ground targets. For example, during a pursuit scenario, the AGCS generates guidance commands for the UAV’s to ensure continuous tracking of the target while avoiding obstacles and Figure 1.1: Operational Concept in Targets Tracking. should take into account the constraints regarding dynamics of the vehicles and communications problems between them. In many other mission scenarios, multiple UAV’s operate in conjunction with human-operators. Such operations are defined as Mixed-Initiative. 1.2 Problem Statement In this thesis, we investigate the problem of cooperative target tracking in urban regions. The emphasis is on: (i) Development of a framework where non-convex obstacles in the form of buildings can be considered. (ii) Development of single UAV target tracking algorithm in the presence of obstacles. (iii) Development of multiple UAV target tracking algorithms. 1.2 Problem Statement 3 1.2.1 Objectives Taking in account the vast diversity of applications and the potential of utilizing autonomous and cooperative UAV’s, the effort of this thesis is aimed at the development of autonomous and cooperative tracking strategies for UAV’s to perform surveillance missions like target tracking, while avoiding unknown obstacles using only the sensed information. For the target tracking, the target motion must be estimated accurately from the sensed information [10]. Due to the presence of obstacle, the target may not be visible which needs to be estimated. The UAV is subject to limited communication and sensing ranges. With these constraints, the UAV must be able to persistently track the target/s. 1.2.1.1 Formulation of the objectives and the strategy The objectives and requirements of the target tracking strategy are: (i) Minimize the target invisibility time during tracking. (ii) Obstacle avoidance. (iii) Maximization of the number of targets tracked. (iv) Avoid risk aware regions, especially in military scenarios. (v) Consider UAV kinematics, limited sensor and communication constraints. (vi) Estimate the targets states (position, speed, heading). 1.2.1.2 Formulation of cooperation The cooperation among multiple UAV’s to improve the performance of the global system namely, (i) Maximize coverage area to increase the visibility of the targets. (ii) Increase the flexibility of the UAV’s to adopt better trajectories taking in account the obstacles found or potential UAV collisions that might occur while minimizing the target invisibility time. (iii) Use of the target information between UAV’s to increase the robustness of the target estimated state. 1.2.2 Assumptions We assume the following for target tracking strategies •Targets are ground vehicles that are operated in 2D. •Target motion is random. It can move in any direction subject to the kinematic constraint. The ground targets have collision avoidance among themselves and avoid colliding with urban structures. 4Introduction •The initial position of the targets and their total number are not know a prior. •Each tracking vehicle has a 360-degree sensor with limited footprint. •Each UAV is defined initially with a altitude above the tallest buildings distribution, simplifying the obstacle avoidance behavioral and maximizing the field of coverage. •Each vehicle has its own estimator to track the targets and predict their motion and to fuse data provided by other vehicles or a centralized estimator with for the same purpose. •Each vehicle is equipped with its own AGCS in order to execute the commanded signals that guide the vehicle to the desired waypoint or trajectory segments. 1.3 Contributions The following list summarizes the list contributions of this work. •Multiple Tracking of objects of interest. •Path Following and Planning with limited sensing and communication constraints . •Cooperation mechanism among a team of UAV’s. 1.4 Dissertation Layout Chapter 2 will provide an extensive literature survey of related work. Chapter 3 presents the problem statement. Chapter 4, 5, 6 ,7 provides the formulation of the environment, path following, tracking and cooperation topics. Chapter 8 provides an overview of results obtained and analysis. Chapter 9 presents the other application areas of the developed target tracking algorithms. Finally, in Chapter 10, the thesis ends with concluding remarks and discussion of related future work. 2.2 Path Planning 11 characteristics of the problem [35]. Several evolutionary path planner are analyzed in [36]. Path planning problems in UAV’s and AUV’s have been successful solved with the use of offline/online evolutionary approaches [37,38] and [39]. Near optimal solutions are possible to reach even with dynamical environments [40]. The major drawback that avoids reach optimal solution is the premature convergence to a local minimal. To solve this problem, several evolutionary algorithms can be used in parallel, and the the solutions produced compete with each other [38], simultaneously providing even more solutions and redundancy for the planning stage. 2.2.1.4 RRT- Rapidly Exploring Random Trees Another method for planning paths through a obstacle field from the starting point to destination is the Rapidly Exploring Random Trees (RRT) method [2]. The RRT scheme is a random exploration algorithm that uniformly, but randomly, explores the search space. It has the advantage of extending for vehicles with complex dynamics. The implementation of the RRT is based on a structured data denominated as tree. A tree is a special case of a directed graph. Edges are directed from a child node to its parent and every node has exactly one parent, except the root, Figure 2.9 and Figure 2.8. Figure 2.8: Expansion diagram from RRT. Image from [2]. The cost associated with each edge, Ci j, is the cost associated with traversing the feasible path between states represented by the nodes. With this a tree that uniformly explores the search space is built using randomly sampling from a uniform probability distribution that results in the shortest feasible path. Figure 2.9: Tree diagram from RRT. Image from [2]. 12 Literature Versions of the RRT can also be applied in 3D terrain scenarios [24]. Some recent works has been done to make this approach more dynamic [41,42]. This method is very attractive due to the overall simplicity of the mechanism and easy adaptation to other variants and easily accommodates kinematics constraints, namely in turning maneuvers. 2.2.2 Multi-Vehicle Path Planning The use of multi-vehicles in a mission enhances the capabilities of the systems, but at the same time rises new problems regarding path planning requirements for all vehicles. When used in a common mission, path planning should consider the presence of other vehicles into account. In addition to this, targets must be assigned efficiently to maximize the number of tracked targets and minimize the target invisibility time [43], or track the relevant ones while still minimizing the total path length for covering the whole area of operation and improve efficiency. Multi-vehicle path planning can be either centralized or decentralized. 2.2.2.1 Centralized Approaches Centralized approaches are directly related to the system architecture in which the entire system is managed by one of the agents in the team or by a single ground command and control center. This approach can be easily applicable in a team of UAV’s that operate in close range to the center controller. One hierarchical design methodology for centralized path planning of multi-vehicle systems is grouping sequence of available team sources and planning the assignment of feasible routes sequences at higher layers of the architecture [44]. The lower layer is responsible for the generation of feasible trajectories for each vehicle to follow in real-time. Another hierarchical design methodology for centralized approach is to generate the inputs for the team leader where the position and input of the leader is sent to followers in order to maintain the desired formation [45], Figure 2.10. Furthermore, the central controller must account for the probability of loss of UAV during the mission, which should be reflected in the operations of the other vehicles [46]. One example of this can be reconfiguration of the team formation shapes among all vehicles. 2.3 Target Pursuit Problem 13 Figure 2.10: Shape formation with virtual center point. 2.2.2.2 Decentralized Approaches When a team of large number of vehicles is used, several problems raise with the use of centralized approach. These problems are sluggish response to dynamic conditions, intractable solutions for an large team, communications constraints and single point failure [47]. The use of decentralized approaches provide a significant simplification regarding team-level planning while decreasing substantially the volume of information to be exchanged among the agents on unreliable communication infrastructure such as wireless. Decentralization process is frequently seen as the division of complex problems into sub-problems witch can be solved using simple mechanisms. Decentralized approach is extensively used for the path planning problem of multiple UAV’s, where each aircraft plans its trajectory using a receding horizon strategy based on mixed integer linear programming [48]. This provides a solution to the conflicts between vehicles in a sequential, decentralized fashion by allowing each aircraft to take into account the latest trajectory and some knowledge of the current dynamics. Decentralized approaches are also applicable for the missions where a team of UAV’s operates under timing constraints [49]. In such applications, rather than using UAV state trajectories for all other UAV’s on the team centrally, only the critical timing information is determined and used on the coordination of the UAV’s. 2.3 Target Pursuit Problem In many situations the mobile characteristics of the targets to pursuit or track [50,51] in a mission brings additional constraints to the path planning problem, namely the need to consider the state of the target in the pursuit to maintain a continuous visibility as shown in Figure 2.11. The main objective in autonomous tracking of a target is to enable the UAV to track the target persistently in a given time and predicting the future states of the target while mapping the area of operation taking into account the dynamic constraints and avoiding obstacles. One of the major military efforts is to use multiple UAV’s to track enemy’s or escort a friendly convoy [51,52,53] 14 Literature Figure 2.11: Tracking Boat From Air. REP12. while avoiding potential risk areas such as SAM’s (Surface-to-Air-missiles) sites. As a wild life protection effort, animals can be tracked while avoiding any relevant perturbation. In such applications, there are several common features such as (i) mobile objects to be pursued (ii) measurement and estimation of the positions of the moving objects (iii) obstacles to be avoided. 2.3.1 Ground target tracking and detection In tracking, one of the most challenging problems is to persistently track a moving ground targets by UAV. In the literature, we can find several strategies to accomplish the tracking by changing of heading angle and varying the speed of the vehicle [54,53,52]. These strategies assume a pre-defined sinusoidal motion, adding some level of limitation to the strategies to be used. Further, the UAV’s are frequently assumed to operate in a friendly environment where threat exposure or restricted regions are not a concern. Another powerful approach and most common is the use of multiple hypothesis (MHT) [55] algorithms to accomplish the tracking of moving ground targets [51]. These algorithms provide bias estimation, road modeling, stopped target motion and stationary target tracking [56]. Regarding the detection of the ground vehicle, this is also a state-of-art technology, namely the problem of continuous vehicle detection from several camera perspectives. The main challenge in these algorithms is also the data association. This is by far the most challenging problem in continuous tracking algorithm. Nowadays techniques solves the problem of data association with the use Hungarian Algorithm [57], Cluster-based [58] or GNN Methods [59]. 2.3.2 Estimation As referred before in 2.3.1, ground target tracking is much more difficult to accomplish than the aerial target tracking due to the strong variance in terrains patterns and color space, resulting in erroneous interpretation of the measurements gathered. But one tough problem is the occlusion of targets by ground obstacles. Further, ground target tracking presents unique challenges such as high obstacle density and maneuverability, that result in clutter measures and low visibility [56]. 2.3 Target Pursuit Problem 15 In this situations, a robustness estimation and data association are the key players to making use of the data produced by each UAV and fusing all the available information and increase the accuracy of the estimation. 2.3.2.1 Multi-Sensor In most situations, it is rarely the case that a single sensor can provide sufficient information for the reasoning component in the autonomous system. The use of different kinds of sensors has the objective to gather more information to obtain a more accurate information about the world. When techniques of multi-sensor are applied, two scenarios need to be considered. The first one all sensors operate synchronously. This means that the sampling times occurs all at same instant. In this case no major problems are raised. The second scenario is that sensors operate asynchronously and have different data rates and several communication constraints such as delays. This raises the problem of out-of-sequence information. One example is the radar infrastructure that has several antennas deployed over a large area and a centralized station running the tracking algorithms using the asynchronous information provided by those stations. The tracking mechanisms must adopt special considerations regarding the use of the information from sensors namely in the update stage in order to avoid incorporate erroneous information in that stage. 2.3.2.2 Asynchronous Measurements Asynchronous measurements are the most usual and common scenario regarding the use of multi-sensors techniques. To handle the asynchronously measurements, most applications relies on the use of particle filters techniques. This technique enables a easy incorporation of out-of- sequence measurements while still very robust to cluttered ones. The main difference regarding common techniques like Kalman Filter based is that doesn’t require a batch processing to the initialization of the tracks, being very robustness regarding intermittent observations and initial unknown of the tracks states while handling some non-Gaussian distributions [60] manifested by the targets. By particle filtering, the posterior distribution of interest is represented by a set of weighted particles. The correct choose the weights and with the adequate amount of particles enables the expectations of the posterior distribution to be closer to real distribution that targets presents. Basically, particle filtering is a method of updating these particles as the time progresses and weighting them correctly [61]. Malick in [62], Nebot [63], Durrant [3] and Lee [64] provide contributions in decentralized estimation using multi-asynchronous sensors. The use of the particle filter have been proved to be powerful tools for image tracking [65,66,67]. The strength of these methods lies in their simplicity, flexibility, and systematic treatment of non-linearity and non-Gaussian. The extension of the use of particle filters to multi-target tracking has been for long time work in progress by the researchers over this field. Among others, Hue [68] developed a system for multi-target tracking by expanding the state dimension to include component information, assigned by a Gibbs sampler [69]. Another recent technique that handles asynchronous measurements without performing the sequential processing is the sensor fusion, Figure 2.12. The 16 Literature asynchronous observations from all sensors are incorporated on the update by the calculation of the conditional probability. Figure 2.12: Proposed architecture of a sensor data fusion system. Data from each sensor should first be converted to a common internal representation before the actual fusion of data is performed [3]. Essential there are three types of sensor data fusion: (i) Complementary fusion: fusion of several disparate sensors which only give partial information of the environment, e.g. fusion of several range sensors or camera sensors pointed in different directions. Obviously, this type of fusion resolves incompleteness of sensor data. (ii) Competitive fusion: fusion of uncertain sensor data from several sources, e.g. a camera and a range sensor pointed at the same obstacle; through sensor data fusion the distance to the object can be obtained more accurately. This type of fusion is predominantly aimed at reducing the effect of uncertain and erroneous measurements. If a sensor is uncertain about the angle to a certain obstacle it can give a rough estimate of this parameter. This estimate is then refined with other estimates of the same parameter, which is a typical example of competitive fusion. (iii) Cooperative fusion: fusion of different sensors of which one sensor relies on the observations of another sensor to make its own observations. This type of fusion is only mentioned here for completeness. It diminishes uncertainty, measurements errors, as well as incompleteness, but at another level. Durant-White [70] and associates are among the community one of the most relevant persons regarding the techniques of sensor fusion. 2.4 Cooperative Planning Cooperation among multiple UAV’s is a key feature that enables the potential of the use of these vehicles to increase the success of the mission. Cooperation among multi-UAV’s can be defined as the coordinated set of actions that optimize the performance of the overhaul mission. 2.5 Cooperation Considerations 17 With the increasing level of autonomy, several cooperative planning applications are being deployed such as flying formations [71,72] for distributed payload transportation [73], cooperative path planning [74,75], rendezvous [49], target assignment [76] and cooperative target tracking [77,53,78]. To accomplish cooperative planning the most common approaches are based in the optimization of a suitably chosen cost function for the mission [75,79]. In summary the optimization of the defined cost function will reduce the problem of choosing the path segment and velocity among the other UAV’s paths in order to minimize the total cost for the whole team. The calculation of these paths to achieve a optimal solution, must be taken in a finite time in order to produce a fast and responsiveness solution to cope with rapidly changes on the environment that might occur during the mission. The cost function can accommodate several parameters of interest such as fuel cost [75,80], number of UAV’s in action over a target and the spread of the targets to intersect [76]. 2.5 Cooperation Considerations The coordination among multiple agents is highly dependable on communications to make cooperative decisions. However, these ones can be subject to partiality or total communications failures and form group clusters. The design of coordination algorithms that take communications limitations into account is hard to accomplish due to the fact in the majority of cases the algorithms need constant information to formulate the decisions. Several mechanism have been developed to address the communications problems and still achieve a high degree of cooperation. Pollini at [81] developed robust mechanisms for routing the information under UAV’s communication failures on flight formation, by putting the refereed agent to the back of formations while diminish the impact that may have on other fully functional agents. Estimation of the locations of the agents in a leader-follower structure was addressed by Shin [82] in order to predict the controls to be issued whenever there is a communication issue. Hierarchical control to handle several faults at different levels was proposed by Mehra [83]. Those implementations has good performance in fixed task specifications such as flight formations where a very reliable and accurate model is known, enabling the controller to handle communications failures. In alternative, consensus based task allocation scheme for multiple UAV’s under intermittent communications conditions have been proposed by Dionne and Rabbath [84]. 18 Literature Chapter 3 Problem Formulation In this chapter, we will present the problem formulation, the UAV and ground vehicle kinematic constraints and the performance metrics. 3.1 Introduction We assume that each UAV is denoted as Ai,i=1,...,nand each target is denoted as Tj,j= 1,...,m. We assume that the environment vehicles have constraints (kinematics constraints, obstacles collision, limited sensor range, limited communications capabilities and endurance and no prior known of the obstacles, targets position and their number. 3.2 Problem Given a set of vehicles A={A1,A2,....,An}and a unknown number of mtargets T={T1,T2,....,Tm}, maximize the time tracked per target Totaltime by assigning the trajectories sequences Siand commands Cifor each vehicle. Maximize visibility time for the Tj,=1,...,mnumber of targets Totaltime =maxTj(Si,Ci)(3.1) while minimize exposure to treats from targets ETj,j=1,...,m σUAV(i)exposure =minETj(Si,Ci)(3.2) 19 20 Problem Formulation taking in consideration the UAV kinematics ˙xi=Vicos(θi) ˙yi=Visin(θi) ˙ θi=tan φi Vi ˙ φi=K∗(θfi −θvi) (3.3) and constraints, namely tuning rate −ωmax ≤uφi≤ −ωmax, maximum change speed −Vmax ≤ uvi ≤Vmax. Equation 3.3 with the associated heading rate constraint is the Dubin’s car model [85] with roll effect incorporated. Subject to these constraints, the UAV’s must perform a search task over the field using the cooperative model while maximizing Totaltime =maxTj(Si,Cu)and minimizing the threat exposure σUAV(i)exposure considering the sensory constraints identified, namely the camera resolution and footprint (aperture angle) that results in a maximum area of coverage Carea and maximum height for detection Cheight. The area projection is given by Carea =2π∗tan(θapp)∗Cheight (3.4) represented in 2D and perpendicular to the zero plane,( Figure 3.1). θapp Cheight Carea Figure 3.1: 2D projection geometry for an perpendicular zero plane. For the communication constraints, it must be considered the probability of failure over time using a 2D Gaussian Distribution F(x,y)associated with the distance between UAV that posses valuable information to communicate with those that are the potential receivers. The 2D PDF is 4.4 Constructing the Observations 27 A point X on a plane is defined by equation X=planeOrg +x1∗planeDir1+x2∗planeDir2.(4.5) Combining the plane equation with the cone equation results in a quadratic equation c1∗x12+2∗c2∗x1∗x2+c3∗x22+2∗c4∗x1+2∗c5∗x2+c6=0.(4.6) This equation can be represented as a matricial equation XT∗C∗X=0, with Cthe conic matrix. The elements of the conic matrix are arranged            c1 c2 c3 c4 c5 c6            =            planeDir1T∗M∗planeDir1 planeDir1T∗M∗planeDir2 planeDir2T∗M∗planeDir2 conePlaneDirT∗M∗planeDir1 conePlaneDirT∗M∗planeDir2 conePlaneDirT∗M∗conePlaneDir            ,(4.7) composing in the following conic matrix C=   c1c2c4 c2c3c5 c4c5c6   ,(4.8) that can be decompose into different parts of the conic matrix in    CR CT Cdelta   ,(4.9) while taking the intersection of a cone into account and a plane can be formed either using a ellipse, parabola or hyperbola. A canonical form of the conic is determined by transforming the original conic through a rotation Rand a translation t, i.e. by applying a homogeneous transformation H. To find R, diagonalize CRby computing its eigenvalues, i.e CR=R∗λ∗RT.(4.10) The translation Tcentering the ellipse to the canonical form is determined by T=−R∗inv(λ)∗RT∗CT.(4.11) 28 Environment With rotation R and translation T, the homogeneous transformation matrix Hcan be defined as H="R T 0 001 #,(4.12) begin the canonical conic matrix Ccdefined by Cc=HT∗C∗H.(4.13) Ccresults in a diagonal matrix with elements (Cc1,Cc2,Cc3), which defines the canonical quadratic equation Cc1∗x2 c1+Cc2∗x2 c2+Cc3=0.(4.14) This quadratic equation can be re-written as a ellipse equation x2 c1/a2+x2 c2/b2=1,(4.15) with the parameters a=q−Cc(3,3)/Cc(1,1), b=q−Cc(3,3)/Cc(2,2). (4.16) Similarly, the ellipse is represented as a diagonal covariance matrix σc σc="a20 0b2#.(4.17) Finally, the 2D Gaussian distribution with median Mu and variance σis computed using the translation vector Tand the canonical covariance matrix σctransformed through rotation R. Mu =T, σ=R∗σc∗RT.(4.18) With this Gaussian distribution, the derivation of the intersection points with the plane can be obtained by defining a number of segments on the conical shape Nseg and the revolution angle in one semi-plane. The segments are equally spaced from [−π,π], being each intersection point with 4.4 Constructing the Observations 29 the plane computed using Xi(x,y) = hcos(segi),sin(segi)i∗real(pSigma) +MuT, interSeg(i) = planeOrg +Xix∗planeDir1+Xiy∗planeDir2. (4.19) This results in a closed polygon over the intersected plane represented in Figure 4.4. Figure 4.4: Intersected polygon of the cone with the normal plane. Using the 2D Gaussian distribution Mu and σvalues, the linear distribution of the points on plane x,yis possible to define a Gaussian distribution that models the distortion of the lens camera that fits inside the intersected area. Figure 4.5 presents the 2D Gaussian over a linear space of [−1,1]in both axes. 30 Environment Figure 4.5: 2D Gaussian distribution over a plane [−1,1]with 20 points definition. 4.4.2 Obtain the targets observations The valid observations of the targets are those that are inside the intersected polygon with the normal plane described in subsection 4.4.1. Using the calculated points, the observable targets are constructed. Checking if a point is inside a convex polygon, the most simple method to achieve this is the use of the Crossing Number Algorithm [86]. The algorithm is ray-casting to the right. In each iteration, the test point is checked against one of the polygon’s edges. The first line of the if-test succeeds if the point’s y−coord is within the edge’s scope. The second line checks whether the test point is to the left of the line . If this is true, then a line is drawn rightwards from the test point crosses that edge. By repeatedly inverting the value of c, the algorithm thus counts the number of times that rightward line crosses the polygon. If it crosses a odd number of times, then the point is inside. If a even number, the point is outside. 4.4 Constructing the Observations 31 Figure 4.6: Representation of the Crossing Number Algorithm. 4.4.3 Check for occlusions The algorithms described in subsection 4.4.2 does not take the obstacles that might cover the view of the UAV regarding the ground targets into account. To enable this using the observations and the obstacles computed earlier, the mechanism of checking if a target is in the shadow of the obstacle regarding the UAV point-of-view can be simply verifying if the formed line between the target and the UAV position intersect any face of the obstacles polygons. If true, this observation does not enter on the set of valid collected observations by the UAV sensor. Using the following algorithm 4.2, is possible to consider the occlusions made by obstacles. Algorithm 4.2 Extrude Buildings: Observations =getObservations(UAV Pos,TargPos,Obstacles) Input: UAV Position, Targets Positions, Obstacles for i=1 to lenght(TargPos) do inHull =checkInHull(TargPos(i),ConePlaneInter) if inHull =True then OBS(k) = TargPos(i) k=k+1 end if end for for j=1 to lenght(OBS)do for l=1 to lenght(Obstacles)do computeLineTargUAV(UAV Pos,OBS(j)) intersectLineTargObstacles(line,Obstacles(l)) if line intersect == True then Check next target else Add to the valid observations ValidObs =OBS(j) end if end for end for return ValidObs at final run 32 Environment The Figure 4.7 shows the intersection of the obstacle over the footprint cone path to a particular target. Figure 4.7: Example of the target inside the footprint but blocked by buildings. 4.4.4 Mechanization of the observations In order to obtain the coordinates of an target on world frame, we need to determine the points Px and Py using the current vehicle state and the angle formed between body and ground, assuming that targets is on the zero zaxis. Figure 4.8 uses equation 4.20 to perform this calculation. Figure 4.8: Mechanization of observation. Px=tan(θ).h−2.r.∆x max p, Py=2.r.∆y max p. (4.20) The rcorresponds to the radius of the object and pto is perimeter. ∆xand ∆ycorrespond to the deployment of the object regarding base reference and hthe height of the camera. 4.4 Constructing the Observations 33 4.4.5 Obstacle Avoidance The buildings for the UAV may present problems in term of collision while tracking a target. To detect the obstacle, the vehicle must be equipped with a laser range finder that follows the model represented in Figure 4.9. The observations gathered will allow to define a new feasible waypoint for the UAV that minimizes the distance from the current estimation of the assigned target while avoiding the obstacle. The relevant parameters of this sensor model are the maximum range, maximum angle aperture, angle step, and the standard deviation error of the returned measurements. Figure 4.9: LIDAR observation model The observations gatherer are the distance ρiand the angle θiforming the point χiin polar coordinates. The r,αare the straight-line parameters from the Least-Mean Square estimator. The follow algorithm describes the steps to accomplish obstacle avoidance, if no obstacle found in the range, the feasible waypoint is the one previously supplied. 34 Environment Algorithm 4.3 Obstacle Avoidance: NewWayPoint =getCollisionAvoidance() Input: Obstacles, UAVState, UAVSensorParam, DesiredWayPoint Waypoint = DesiredWayPoint for i=1 to lenght (Obstacles) do Points =getTopFace(Obstacles(i).f ace) if Points.z >= UAV Height then [rho,theta] = GetLaserMesurements(Points) if Laser Return valid observations then Computethe f arthest pointclosetotheTarget Waypoint =newWaypoint end if end if end for return WayPoint at final run 4.5 Environment Final Result The results are shown in Figure 4.10 and the complete interaction in Figure 4.11 (a) Scenario 1 (b) Scenario 2 Figure 4.10: Two different scenarios. 4.5 Environment Final Result 35 Figure 4.11: Example the complete interaction with buildings obstacles Regarding the obstacle avoidance, Figure 4.12 shows a plot of the cloud points of the laser during course travel. (a) Building observation (b) Building observation in detail Figure 4.12: Laser range finder observations Taking in account that in small UAV’s the payload is very constrained, the use of a small LiDar can be impossible. One alternative is to use a simple laser distance and this returns valid observations, start a sinusoidal maneuver and collect the point cloud and form the obstacle observation. 36 Environment 5.3 Orbit Following 43 zero. This is accomplish by the definition of desired course as χ(epy) = −χ∞2 πtan−1(Kpathepy)(5.17) where Kpath is a positive constant that influence the rate of the transition from χto zero. The value of Kpath influences the abruptness or smooth transition over the desired course. Restricting χ∞to be contained between χ∞∈[0,pi 2]results in −pi 2<χ∞2 πtan−1(Kpathepy)<π 2(5.18) for all values of epy. Since the tan−1and sin over [−π 2,π 2]are odd function, then epy →0 argued with the Lyapunov function W(epy) = 1 2e2 py with χ=χq+χ(epy)since ˙ W=−Vgepy sinχ∞2 πtan−1(kpathepy)(5.19) is less than zero for epy 6=0. The commanded for lateral path following is then given by χc(t) = χq−χ∞2 pi tan−1(Kpathepy(t)).(5.20) If χqis computed directly from equation (5.2) this can lead to problem due to the fact that atan2 returns ±π. To solve this problem, χqcan be computed as χq=atan2(qe,qn) +2πm(5.21) where m∈Nis defined so that −π≤χq−χ≤π, and atan2 stays in the four-quadrant. 5.3 Orbit Following A orbit path is described by a center c∈R3, a radius ρ∈Rand a direction λ∈ {−1,1}, as Porbit (c,ρ,λ) = {r∈R3:r=c+λρ(cosϕ,sinϕ,0)T,ϕ∈[0,2π]}(5.22) where λ=1 and λ=−1 signifies clockwise and counterclockwise orbit respectively. The center of the orbit is expressed in inertial coordinates so that c= (cn,ce,cd)T, where −cdrepresents the desired altitude of the orbit and to maintain altitude −hc=−cd. The guidance strategy for orbit following is best derived in polar coordinates suggested in Figure 5.4. 44 Path Following and Management north (cn, ce) Porbit(c, ρ, λ) p ϕ X0 d Vg d˙ϕ ˙ d X − ϕ X (pn, pe) Figure 5.4: Orbital path with center (cn,ce). The constant altitude vehicle dynamics can be derived by rotating the differential equations that describes the motion in the north ˙pnand east ˙pedirections as ˙pn ˙pe! Vgcos χ Vgsin χ!(5.23) thought the phase angle ϕso that equations of motion represents the vehicle motion in the normal tangential directions to the orbit as ˙ d d˙ ϕ! cosϕsinϕ −sinϕcosϕ! ˙pn ˙pe! = Vgcos(χ−ϕ) Vgsin(χ−ϕ)!(5.24) Taking in account the Figure 5.4, the vehicle dynamics in polar coordinates are given by ˙ d=Vgcos(χ−ϕ)(5.25) ˙ ϕ=Vg dsin(χ−ϕ)(5.26) ¨ χ=−b˙ χχ+bχ(χc−χ)(5.27) 5.3 Orbit Following 45 Figure 5.4, for a clockwise or counterclockwise orbit, the desired course angle is given by χ0=ϕ+π 2and χ0=ϕ−π 2respectively. Generalizing we have χ0=ϕ+λπ 2(5.28) When the distance between the vehicle and the orbit is large d>> ρ, is desired that the vehicle flies into the center point of the orbit, resulting in a approximate desired course χd=χ0+λπ 2(5.29) and when d=ρthe desired course is χd=χ0, resulting on a candidate course as χd(d−ρ,λ) = χ0+λtan−1Korbit d−ρ ρ,(5.30) where korbit >0 specifies the rate of transition from λπ/2 to zero. Arguing that if χ=χdusing the Lyapunov function W=1 2(d−ρ)2the tracking objective is satisfied. The differentiation W along the trajectory gives ˙ W=−Vg(d−ρ)sintan−1korbit d−ρ ρ (5.31) being negative definite since the argument of sin is in the [−pi 2,pi 2]for all d>0, what implies that d→ρasymptotically. The course command on orbit following results in χc(t) = ϕ+λπ 2+tan−1korbit d−ρ ρ.(5.32) Similarities in the computation of path angle χq, if the angular position of the orbit ϕis computed in between ±πthere will be a sudden jump of 2π. To avoid, ϕneed to be computed as ϕ=atan2(pe−ce,pn−cn) +2πm(5.33) where m∈Nis defined so that −π≤ϕ−χ≤π. 46 Path Following and Management 5.4 Path Manager The path manager has the objective to manage the waypoints sequence by the scaling of the straight-line and orbits/loiter maneuvers and drive the vehicle on the desired route. 5.4.1 Transition Between Waypoints Consider the ordered sequence of waypoints W={w1,w2,.....,wN}(5.34) in each wi= (wn,i,we,i,wd,i)T∈R3. Switching from waypoints leave from one segment to another. For that is need to know when the vehicle as reached wi. Figure 5.5: Ball region around wifor the transition point. One strategy is to switch from one segment to another wi→wi+1when it reaches the circular area around the terminal point wi, as shown in Figure 5.5 and its defined by kp(t)−wik ≤ b,(5.35) being bthe area of the circular and p(t)the current position of the vehicle. If the circular area is small then the vehicle never enter this area due to non-convergence problems derived from external forces or segments two short in distance and large angle between them. A refined approach that has robustness to tracking errors is the use of a half-plane switching criteria. Taking a point r∈R3 5.4 Path Manager 47 and the nominal vector n∈R3define a half plane as H(r,n)4 ={p∈R3:(p−r)Tn≥0}.(5.36) Defining a unit vector pointing in the direction of the line wiwi+1as q4 =wi+1−wi kwi+1−wik(5.37) and the unit normal to 3-D half plane that separates the line wi−1wifrom wiwi+1is given by ni 4 =qi−1−qi kqi−1−qik,(5.38) and the algorithm for following waypoints is described in 5.4.1 Algorithm 5.1 Follow Waypoints:(r,q) = followWpp(W,p) Input: Waypoint path W={w1,....,wn}Vehicle position p= (pn,pe,pd)T Require: N≥3 if New waypoint path Wis received then initialize waypoint index i←2 end if qi−1←wi−wi−1 kwi−wi−1k qi←wi+1−wi kwi+1−wik ni←qi−1−qi kqi−1−qik if p ∈H(wi,ni)then increment i←(i+1)until i=N−1 end if return q,q=qi−1at each step time and enables the vehicle to route from the prior point Wi−1to posterior wibeing ia counter that is incremented until reach the last waypoint and initialized to i=2 to immediately execute the next waypoint. The geometry near the transition is shown in Figure 5.6. Using the unit vector qialigned with the line between waypoints wiand wi+1as defined in equation (5.37), the resulting angle between wi−1wiand wiwi+1is Q4 =cos−1(−qT i−1qi).(5.39) 48 Path Following and Management If the radius of the fillet is R, as show in Figure 5.6, the the distance between the waypoint wi and the location where the fillet intersects the line wiwi+1is R/tan Q 2and the distance between wiand the center of the circle is R/sin Q 2, resulting that the distance over wiand the edge of the circle along Qis given by R/sin Q 2−R. The maneuver is taken over the straght-line wi−1wiuntil entering the half-plane Hrepresented in Figure 5.7. wi+1 wi−1 wi Rtan Q 2 R sin Q 2 −R R sin Q 2 R Q Figure 5.6: Geometry associated with the insertion of the fillet. qi−1 wi+R tan Q 2 qi R Q wi−R sin Q 2 qi−1−qi kqi−1−qi wi−R tan Q 2 qi−1 qi wi Figure 5.7: Definition of the half-planes between waypoints. 5.4 Path Manager 49 the center is given by c=wi− R sin Q 2!qi−1−qi kqi−1−qik,(5.40) similarly, half-plane H1location is r1=wi− R tan Q 2!qi−1.(5.41) The other half-plane H2location is respectively r2=wi− R tan Q 2!q1(5.42) With this formulation we can define two states. State =1 to follow the path along wi−1wiwith the parameters r=wi−1and q=qi−1and is tested to see if as reached first half-plane and need to switch to orbit mode defined by State =2. Using algorithm described in 5.4.1, results in a much smooth curve inside the path, Figure 5.8, without relevant overshot out of the area of path. Figure 5.8: Smooth curve produced with fillets insertion. 50 Path Following and Management Algorithm 5.2 Follow Waypoints With Fillets:(f lag,r,q,ρ,λ) = followWppFillet(W,p),R Input: Waypoint path W={w1,....,wn}Vehicle position p= (pn,pe,pd)T,filletradiusR Require: N≥3 if New waypoint path Wis received then initialize waypoint index i←2 ans state machine: state ←1 end if qi−1←wi−wi−1 kwi−wi−1k qi←wi+1−wi kwi+1−wik Q←cos−1(qT i−1qi) if state =1then flag ←1 r←wi−1 q←qi−1 z←wi−R tanQ/2qi−1 if p ∈H(zi,qi−1)then state ←2 end if else if state =2then flag ←2 c←R sinQ/2qi−1−qi kqi−1−qik ρ←R λ←sign(qi−1,nqi,e−qi−1,eqi,n) z←wi+R tanQ/2qi if p ∈H(zi,qi)then increment i←(i+1)until i=N−1 state ←1 end if end if end if return f lag,r,q,ρ,λat each step time The Wis the path length estimate without considering the fillets W4 = N ∑ i=2 kwi−wi−1k,(5.43) 5.4 Path Manager 51 while WFis the path length estimate considering the fillets resulting in the final length of WF=kWk+ N ∑ i=2 RQi−2R tan Qi 2!.(5.44) 5.4.2 Dubins Paths The objective of the Dubins path is to connect two points in the two-dimensional Euclidean plane by the joining of circular arcs, encapsulating the constraints on the curvature ratio and straight lines and forming a feasible path. Using the formulation in [85] the vehicle follows kinematics laws ˙x=Vcosυ, ˙y=Vsinυ, ˙ υ=u, (5.45) where Vis the speed constant and control u∈[−w,w]for the constraint on turn rate. The optimal path between two different configurations are always a arc followed by a straight line. The radius of the circular arc are given by V/u. Simplifying the problem, restrictions are made, namely using a constant speed and altitude being user defined. Rewriting R, the circular arcs that define a Dubins path are assumed to be as large as the minimum turn radius of the vehicle. The configuration is defined as (p,χ)being pthe inertial point and χthe course angle. Taking in account the start configuration (ps,χs)and the end final configuration (pe,χe), the Dubins path is represented as a arc of radius Rfollowed by a straight line, and ending with another arc of radius R. Figure 5.9, shows four possible paths for the vehicle depending on the circumstances of the current position and the desired end positions and angles. 5.4.3 Path Length Computation The computation of the path is needed in order to determine the Dubins path taking in account the four possible configurations and the selecting the maneuver that presents the shortest path length. Assuming that psand pscorresponds to the starting and end position respectively and the χs,χeto start and end directions with csand cedefining the start and end circle locations. Figure 5.10 shows an R-S-R maneuver given by the position p, the course χand the radius R, the center of the right and left circles, crand clresulting in equations cr=p+R(cos(χ+π 2),sin(χ+π 2),0)T(5.46) 52 Path Following and Management Figure 5.9: Example of one path scenario: R-S-R. cl=p+R(cos(χ−π 2),sin(χ−π 2),0)T(5.47) (a) CW. (b) CCW. Figure 5.10: Angular distance between angles ϑ1and ϑ2for (CW) and (CCW). Assuming that both ϑ1and ϑ2are inside 0 and 2πfor clockwise circles, the angular distance between ϑ1and ϑ2is kϑ2−ϑ1kCW 4 =h2π+ϑ2−ϑ1i(5.48) 5.5 Implementation 59 (a) Trajectory (b) Error’s Figure 5.17: Orbit path and error components The Figure 5.18 show the combination of the Dubin’s path with the primitive maneuvers on the expansion trees with a A-Star search algorithm to find the feasible minimal path to the objective while avoiding the obstacles. Figure 5.18: Optimal Dubins Path’s with A-Star discovery. A-Star is used to search for a solution path to the goal objective using the 2 basic maneuvers that encapsulate the kinematics constraints of the vehicle, namely turn radius. A-Star is responsible for finding the minimal path from the expanded nodes and their correspondent heuristics build during course with the awareness sensor. The value of turn radius affects directly the ability to find a feasible path to the goal in minimal time. Figure 5.19 shows the same obstacle scenario 60 Path Following and Management were the turn radius is minor and the A-Star was not able to find a solution to the objective with the feasible maneuvers available. Figure 5.19: Dubins Path’s with A-Star discovery with minor turn rate maneuver. Figure 5.20 shows different scenario and the calculation of the feasible path to the goal. (a) Dubins Path’s with A-Star discovery with minor turn rate maneuver. (b) Dubins Path’s with A-Star discovery with bigger turn rate maneuver. Figure 5.20: Dubins Path’s with A-Star discovery. Chapter 6 Tracking In this chapter, we introduce the formulation of the particle for tracking and develop a multitarget tracking system. We also show the ability of the tracking system to track a ship in the ocean. 6.1 Introduction Tracking The motion models used for robots and the sensor models are typically imperfect. Hence probabilistic techniques are used to take the stochastic nature of these models into account. The techniques integrate imperfect models and imperfect sensors through probabilistic laws, such as "Bayes" rule. Many recently fielded state-of-the-art robotics systems employ probabilistic techniques for perception [87,88,89]. Similarly, the problem of tracking a varying number of nonrigid faces is a similar problem regarding the model observation and target distributions that may present highly non-linear and non-Gaussian distributions. On the other hand, the presence of a large and varying number of objects generates complex interactions resulting in several ambiguities on the distribution. To address this problems Sequential Monte-Carlo techniques are used to increase the precision of the localization. We assume that the UAV is equipped with camera sensor to detect the target. Since, the target geo-location cannot be determined accurately, we use a particle filter to estimate the target geo-location in the global coordinate frame. 6.2 Particle filter The filtering is formed by applying the p(xk|Zk)to the distribution of the latent state xkconditional on the past data Zk= (zi,i=1,....,k)resulting in the transition probability. Similar to the Kalman filter, the particle filter uses two steps, prediction and update stages, which are based on recursive structure of optimal Bayesian filtering. These steps arise from Bayes rule, which express the filtering distribution by the likelihood, p(zk|xk)and predicted density, p(xk|Zk−1): p(xk|Zk)≈p(zk|xk)p(xk|Zk−1)(6.1) 61 62 Tracking While the likelihood function is typically know, the predictive distribution of the state is given as the integral against the previous period’s filtering density p(xk|Zk−1) = Zp(xk|xk−1)p(xk−1|Zk−1)dxk−1.(6.2) These densities define the prediction and updating stages, but computing these distributions is difficult due to complex analytic’s that the system may form. These analytical solutions are only available on fewer cases, namely those that include Gaussian models with finitely states. In the Gaussian case, p(xk−1|Zk−1)≈N((µ,σ2 k−1)and the Kalman filter provides well defined updates mechanisms on (µ,σ2 k−1)→(µk,σ2 k). In general, p(xk−1|Zk−1)is a complex function, potentially a high-dimensional vector, Zk−1, which prevents the application of standard Bayesian methods on update. Particle filter use a discrete approximation of the optimal filtering problem p(xk−1|Zk−1), pN(xk−1|Zk−1) = n ∑ i=1 wi k−1δx(i) k−1 ,(6.3) where δis the Dirac function and {w(i) k−1,x(i) k−1}N i=1denotes a set of weights and particles. Given an particle approximation, equation 6.1 becomes a sum instead of a integral. The filtering recursion is now replaced with a simulation step to generate the next set of weights and particles {w(i) k,x(i) k}N i=1≈pN(xk|Zk)(6.4) given the particles xi k−1from pN(xk−1|zk−1). This is key, as filtering is just an exercise on Bayesian updating. Expectations such as E(xk−1|Zk−1)are then easily computed as Monte Carlo averages N−1N ∑ i=1 x(i) k−1. 6.2.1 The Filtering Problem As refereed in 6.2, state space models consist of the following components: the observation equation, p(zk−1|xk−1), a state evolution or transition, p(xk|xk−1)and a initial state distributions or population, p(x0). The observation equation is a likelihood function providing the distribution of the observed data conditioned to the latent states. A simple example that can be solved using the Kalman filter is the linear Gaussian specification assuming that parameters are known. zk=xk+σεz k, xk=xk−1+σxεx k.(6.5) 6.2 Particle filter 63 In general, assume the relation between the states and observations is nonlinear and described as zk−1=F(xk−1,εz k−1), xk=G(xk−1,εx k),(6.6) for known Fand Gfunctions. Common non-linear models include discrete outcome models with stochastic volatility. Often, the function Fis obtained from a known model, such as kinematic model, and εz k−1can be an additive or multiplicative error defined by the uncertainties on the model. A filtering algorithm has the objective to provide an approximation to the sequence of densities, p(xk−1|Zk−1)for k=1,....,N. This is fundamentally different from the smoothing problem in witch the inference on the latent state is based on the complete set of data samples, p(xk−1|Zk−1) which includes both past and future data. The distribution p(xk−1|Zk−1)as the solution to the filtering problem follows the well-known optimal proprieties of the posterior distribution. The filtering problem can be used for prediction of states or model estimation. 6.2.2 Particle Filter Method The particle filter algorithm solves the fundamental problem of recursive Bayesian filtering by computing the integral in equation 6.2 using a discrete approximation to the filtering density. In general, a discrete approximation to a density consists of weights and state, given by {w(i) k−1,x(i) k−1}N i=1. The x(i) k−1is not deterministic, but rather is the stochastic outcome of the algorithm. A particle approximation to pN(xk−1|Zk−1)is defined using equation 6.3. The particle approximation {w(i) k−1,x(i) k−1}N i=1can be transformed into an equally weighted random sample from pN(xk−1|Zk−1)by sampling from the discrete distribution {w(i) k−1,x(i) k−1}i=1. This procedure is commonly defined as resampling, producing a new sample with uniformly distributed weights so that w(i) k−1=N−1. In general, resample is done by drawing from a multinomial distribution. One important issue in the resampling step is the computational speed due to the large number of particles required for the correct representation of the distribution. Given the particle approximation at time k−1, the particle approximation at time k, the integral pN(xk|Zk)≈Zp(zk|xk)p(xk|xk−1)pN(xk−1|Zk−1)dxk,(6.7) can be transformed into an sum by pN(xk|Zk) = 1 N n ∑ i=1 p(zk|xk)p(xk|x(i) k−1),(6.8) 64 Tracking showing that particle approximation for pN(xk−1|Zk−1)is updated to a particle approximation for pN(xk|Zk). The problem in particle filtering is how to sample from pN(xk|Zk). The particle filtering algorithm essentially consists on different ways of sampling from pN(xk|Zk)taking the form of a mixture distribution. 6.2.3 SIR - Sequential Importance Resampling The classic approach to sampling is a mixture distribution where, we first select a mixture component to simulate. The representation in equation 6.7 is not amenable to sampling using the classic approach because of the natural mixture weights, p(Zk|xk), that are dependent on the values of the as-yet-to-be updated state variables. In most particle filtering algorithms, importance sampling is used to circumvent this problem. The classical particle filtering algorithm is known as the sampling/importance resampling (SIR) algorithm. The algorithm is simply by itself, relying only on two steps: given samples from pN(xk−1|Zk−1), Step1.(Propagate)x(i) k≈p(xt+1|x(i) k−1)f or i =1,....,N, Step2.(Resample)x(i) k≈MultN({w(i) k}N i=1), (6.9) where the normalized importance weights are calculated as w(i) k=p(zk|x(i) k) N ∑ i=1 p(zk|x(i) k) .(6.10) The particle filter has two requirements: the likelihood function to be evaluated and the states to be simulated. Virtually every model used in practice satisfies these assumptions. The justification is based on the weighted bootstrap algorithm or SIR algorithm, developed to simulate posterior distributions that take the form of L(x)p(x), where Lis the likelihood and pthe prior. To sample from this distribution, first draw an independent sample x(i)≈p(x)and computed the normalized weights w(i)=Lx(i)/∑ i L(x(i)). The samples drawn from an discrete distribution quantified by their weights {x(i),w(i)}N i=1tends to form the product density, L(x)p(x)as the number of particles Nincreases. The target density is p(xk|Zk)≈p(zk|xk)p(xk|Zk−1),(6.11) taking an individual sample from pN(xk−1|Zk−1), sampled from pN(xk|Zk−1) = Zp(xk|xk−1)pN(xk−1|Zk−1)dxk,(6.12) 6.2 Particle filter 65 by drawing x(i) k≈p(xk|x(i) k−1)for i=1,...,N. Since pN(xk−1|Zk−1)is a discrete distribution, implies that {x(i) k}forms a independent sample from pN(xk|Zk−1). Resampling with the appropriate weights provides the approximate sample from p(xk|Zk). The SIR requires two distributions which are known p(xk|xk−1)≈N(xk−1,σ2 x), p(zk|xk)≈exp(−1 2 (zk−xk)2 σ2). (6.13) The SIR is given by Step 1 : (Sample)xk≈N(x(i) k−1,σ2 x) Step 2 : (Draw)xk≈MultiN({w(x(i) k}N i=1), (6.14) where w(x(i) k) = exp(−1 2(zk−x(i) k)/σ2) N ∑ i=1 exp(−1 2(zk−x(i) k)2/σ2) .(6.15) The SIR algorithm cannot be used directly due to degeneracy of the sample weights [90]. This occurs when a vast majority of the weights are concentrated in a single particle. Due to this, the resampling step results in only a single or small set of particles being sampled multiple times and does not improve the weight degeneracy. Another identified problem is that the propagated states are drawn from prior distribution, p(xk|xk−1), without accounting for the next period of observations, zk. This imposes that the simulated states may not be important or posses an high likelihood, p(zk|xk)regions. When a large zkwhich is generated by a large observation xk, the SIR algorithm draws samples from p(xk|x(i) k−1)ignoring the fact that a large observation zkhave occurred. To mitigate this problem, one approach is to chose an alternative importance density. Instead of drawing from the prior,p(xk|xk−1), a importance density that depends on the next observation is draw x(i) k≈q(xk|x(i) k−1,zk).(6.16) The unnormalized weights are w(i) k≈p(zk|x(i) k)p(x(i) k|x(i) k−1) q(xk|x(i) k−1,zk).(6.17) 66 Tracking The “optimal” importance sampling density, in terms of minimizing the variance of the weights importance, is p(xk|xk−1,zk). 6.2.4 SIS - Sequential Importance Sampling A general approach for filtering is known as sequential importance sampling based on an generalized SIR algorithm. For a given function F(xk−1)we have E[F(xk|Zk)] = Eq[wkF(xk|Zk)] Eq[wk|Zk],(6.18) which is the measure formula, qis an importance density, used to estimate the expectations of the state variable function, and the change of probability measure given by wk−1=p(xk−1|Zk−1)/q(xk−1|Zk−1). Given samples from the importance density, the Monte-Carlo sampling estimate comes EN[F(xk|Zk]≈ N ∑ i=1 w(i) kF(w(i) k),(6.19) and the constant of proportionally is determined by N ∑ i=1 w(i) k. The recursive specification for p(xk|Zk) for SIS is p(xk|Zk)≈p(zk|xk)p(xk|xk−1)P(Xk−1|Zk−1),(6.20) and for q(xk|Zk)is q(Xk|Zk)≈q(xk|xk−1,zk)q(xk−1|Zk−1).(6.21) Given the recursive specification of the target and importance density, the weights are computed recursively: w(i) k=p((Xk)(i)|Z(k) q((Xk)(i)|Z(K) ≈p(z(i) k|x(i) k)p(x(i) k|x(i) k−1) q(x(i) k|x(i) k−1,zk) w(i) k−1. (6.22) Many models have a memory-less stochastic process based on Markov structure, which implies that sample proposals that are dependent only on the subset zkand not the whole vector Zk are reasonable. In this case, the importance weights are simplified and the optimal importance 6.2 Particle filter 67 function can be used. SIS importance sampling algorithms are similar to the SIR algorithm, but without continuous resampling in all steps. The performance of SIS methods depend on the accuracy of the level of approximation made in the importance sampling. In general, the variance of the importance weights increases over time, leading to the problem of weight degeneracy, whereby a vast majority of the weight are placed on a small set of particles. One way to fix to this problem is to resample as refereed. This process can be carry out every period or only when the weights become too imbalanced. If performed every period, w(i) k−1=N−1, them SIS algorithm collapses to the SIR algorithm. 6.2.5 Resampling Its desirable that the resampling process occurs only when the level of degradation of the weight reaches a threshold to save computational power. Normally the degree of degeneration is quantified by measuring the effective number of particles that evolves in a proportional inverse way to the value of degeneration. Each time this value surpass threshold, the resampling algorithm is executed. An approximation for the number of effective particles involved can be obtained by the expression: Ne f f ≈1 N ∑ i=1 (w(i) k)2 .(6.23) Less the sum of the particles weight bigger is the effective number of particles representing the state. This is one of the main disadvantages of the use of SIS described before. The main disadvantage in SIS is in the implementation where we cannot control how many particles are following each target in multi target scenarios, and the low tolerance to false negatives. The SIS algorithm can be resumed by the fluxogram presented by Figure 6.1. 68 Tracking Figure 6.1: Particle Filter Fluxogram. 6.3 Multiple Target Implemented Mechanism To address the problems identified before, we decide to implement a derivative mechanism to handle most of the problems described. The several steps of the algorithm are similar to the basic implementation, but can be divided in three main parts, Initialization, Detection of lost targets , Predict and Update stages, described in Figure 6.2. 6.5 Single Tracking Implementation using OpenCV 75 Figure 6.6: The use of sampling to estimate the a posteriori conditional probability (represented by the blue bars). Figure 6.7: The object representation and measurement process for active contours. Copyright M. Isard, Oxford University. 76 Tracking Figure 6.8: The full predict-correct cycle of the condensation algorithm. Figure 6.8 resumes the full cycle of the condensation algorithm. The complete description of the condensation algorithm can be found in Isard [92]. The likelihood is based on the Bhattacharya distance [93] between two RGB histograms defined as Bhatt(w1,w2) = 1 8(m2−m1)TC1−C2 2−1 (m2−m1) +1 2log  det C1−C2 2 pdet(C1).det(C2)  (6.30) where w1and w2are the twoclass problems normally distributed mean miand covariance matrix Ci. The first term is equal to zero when both have same mean value and the second term is identical to zero when both have same covariance matrix. When the first term dominates, the classes are separable by their means, and separated by their covariance difference when the second term dominates. 6.5.1 Results The video of a Navy vessel taken by an UAV during the REP exercise (Rapid Environmental Picture) annually organized by the Portuguese Navy and FEUP, was used to evaluate our technique. The Figure 6.9 shows the engaging process defined by the user and the state of the tracking. 6.5 Single Tracking Implementation using OpenCV 77 (a) Engaging target by user (b) Tracking Figure 6.9: Engage of the object by user and correspondent tracking. The partial occlusions are a problem that all particle filters must deal in a robust manner. In Figure 6.10 presents the occlusion of the object in a track due to the fact that is out of the view of the camera, and later recovery of the track even with a strong change in the heading of the UAV that has not been incorporated in the tracking. (a) Lost of track due to occlusion (out-of-view). (b) Recover of the track after strong occlusion. Figure 6.10: Tracking robustness to occlusion. Further developments of this algorithm will provide the tracking of multiple targets at the same time. But initially is still need to address the engaging of the target (auto-detection) and refresh of the sample image. Several techniques are available, such as Back-Ground subtraction [94], Mean-Shift segmentation techniques [95], and the assignment of objects using the Mahalanobis distance [96] or the Hungarian method [97] avoiding use the current Bhattacharya distance [93] implementation that may perform badly if the objects to track are very similar on their RGB histograms. One of the challenges is to segment correctly facing the sun reflection on the water. In terms of the algorithm, this can be interpreted as a object of interest to be tracked or eventually dissimulate the object to be detected over the white spot. The engaging mechanism must be robust to the situations and extract the object in a very irregular background. State of the vehicle must be also included in the model of tracking to ensure that change of course does not affect the tracking performance. 78 Tracking Chapter 7 Cooperation This chapter presents the cooperation techniques based on auctions and how multi-agents are controlled. 7.1 Introduction Cooperative group behavior implies that participants in the group share a common objective and act according to a defined mutual interest. Effective cooperation often requires that individuals coordinate their actions. Coordination can be expressed in many forms ranging from staying out of each others way to directly assisting another individual in a shared task. In general, group cooperation is facilitated by coordinating the actions of individuals. However, each individual may not necessarily need to cooperate directly with every other participants in the present group to effect group behavior. For example, fish in schooling behavior react only to other fish that are nearby. This behavior can be denominated has Local Coordination. On the other extreme is the Global Coordination, that normally takes the configuration of centralized coordination or distributed with policies on the of information exchange and decisions made with the active participants to pursue a common goal. 7.2 Task Allocation Simple approaches to handle partially or complete communication failures remove the faulty agent from the mission operation. These approaches solves the conflicts that may occur during communication failures. Other approach is to consider the agents as non-cooperative, applying a simple greedy strategy to allocate themselves to the nearest target. In these two approaches the overall performance of the mission can be severely affected by the lack of one agent or by auto allocation of several UAV’s to the same target, resulting in interference among the agents tasks. To increase the overall performance of the mission, depending of the type of faults manifested, the agent becomes a non-cooperative agent. The non-cooperative faulty agent is allowed to perform 79 80 Cooperation the task, but in a very restricted manner, giving priority to the healthier ones if they detect and assign the target in consideration. 7.2.1 Non Faulty Agents For the task allocation, auction mechanism are well suited for cooperation among the agents. The main reason for the use of auctions, is their scalability and easy implementation ([98,99,100]. The behaviors carried out by faulty agents are completely independent from the healthier ones, and result from the exclusion in the coordination stage. The auction is triggered by the detecting agent, broadcasting the bid and receive the responses of biding from other healthier agents in range, Figure 7.1. When the agent Aidetects a target Tk, it broadcasts the availability of the target as P(i) = (At,Tk,Jt k).(7.1) The cost of the assignment Jt kε{γt,∞}. The value of Jt krepresent the initial minimum cost of the target that can be constructed with distance metrics and other relevant parameters. If agent Atis free then, Jt k=γt k, where γt krepresents the distance between Atand target Tk. When Atis occupied with a target, then Jt k=∞. The agent that detects the target starts the auction. The agents receiving the broadcast information in the neighborhood of AtεN(At)or by the centralized system will place a bid of the form Qj, if they are not assigned to any other target and Jj k<=Jt k Qj= (Aj,At,Tk,Jt k).(7.2) The bid is broadcasted back to the auctioneer agent Atas show in Figure 7.1 or the assignment result communicated to the agent. The auctioneer agent or the centralized system collects the bids and elects the agent with the lowest cost (considering the metrics defined) as the winner. The result of the decision is reported to the agents and that save the target id and the assigned agent on their table. The winner agent will assign to the target and move towards him while the non winner agents will continue to search (see Figure 7.1) or continue tracking if already assigned to a target. Due to limited communication range, its assumed that the maximum communication range is rc>4rsand the probabilities of communication success following a Gaussian Distribution described in chapter 4. The rules for the auction be performed are: •Agent AjεN(At)will participate on the bidding if it is a free agent with full capabilities and is on the range. •If the auctioneer has more than one agent as the lower cost bid, then, it will select the agent that has the higher id number. The triggering of auctioning of a target and the assignment is instantaneous after detection, and the agents have limited communication ranges, therefore, different agents can detect the same target at various instants of time and trigger the auction mechanism. To avoid such auctioning, if agent Atauctions the target at time tand target has been already assigned to other agent Ajat time t0<t, then Ajcan revoke a invalid auction flag if the cost is greater, Jj k(1)>Jt k(2)and if present 7.2 Task Allocation 81 Figure 7.1: The decision process of agent Aiwhich is the auctioneer and the decision process of agent Ajwho is a bidder on the internal table as assigned, allowing the use of the combined observations gathered by both agents. This allows the exchange of agents in track of a target, considering always the one that has lower cost to the target may be the designated one. Using the above rules and the auction process the agents perform search and tracking missions of unknown number of targets. If a target is lost, the agent Atreports that situation and becomes a free agent, performing search maneuvers over the last good known position and accepting bids. If detects again triggers the auction mechanism to assign a agent to that target. 7.2.1.1 Explicit Cooperation When on track, a UAV can be affected by occlusions from obstacles during tracking. Taking limited sensing range into account, is not possible to pursue continuous tracking of the detected targets by one single UAV. Hence, by using the auction mechanism, the strategy comes up to explicit asking for cooperation among the free agents Aj∈Ai⊂ {Ai∈dist{At,Ai}<Maxrange} that have the minimum distance to Atin order to assist him. After finding a free agent, the strategy consist of having the recruited agent Ajperforming circular patterns over the area of target that Athas in track. To accomplish this, the center radius of the circular pattern is located on half the distance between the target and the UAV Atposition. When agent Atcost Jj k(1)over Tkis higher than Jj k(2)in a certain predefined threshold, the recruited agent becomes the assigned At if the the cost Jj k(2)is the lower one to that target, being Atde-committed from the track of Tk, and becoming a free agent. The collision avoidance controller can use this feature, triggering the explicit cooperation mechanism to minimize the possibility of occlusion to the target Tkand 82 Cooperation avoiding losing of the track. This mechanism can be defined as a master-slave enabling the track of a high-valuable target if that behavior is enabled. 7.3 Implementation The results of the implementation on shows the auction being made using three targets with three UAV’s and the process of voting and assignment target to the UAV’s. Figure 7.2: Capture from MATLAB command window showing the results of the auction assignment of UAV’s to targets. The computation time is cheap compared to the time involved in the collection and receiving information among all the agents that are involved directly. We should take in account that this mechanism is initiated when new targets are found or where a specific constrain situation raises. At present, the different communication and UAV failures were not modeled, but can be easily accommodated. More parameters can be used to build the target cost, namely those that take in account fuel consumption and sensing capabilities. For the moment the Dubins distance is considered as cost. Chapter 8 Overview of results obtained and analysis This section provides the results of the developed algorithms described in previous chapters and analysis of their performance. In order to achieve a comprehensive analysis, the results are described in an incremental fashion from simple isolated tasks to cooperative tracking. 8.1 Simulated experimental plan Taking in account the need of analysis on the performance of the several mechanisms developed in this thesis, a set of experiments where defined in order to extract some valuable measures and establish a causal relation of the identified limitations in the overall performance of the system. To conduct this, Table 8.1 identifies these experiments as well the main objective and relevant parameters. Table 8.1: List of experiments to be conduct. Experiment Case Objective Number UAV’s Number targets 1 Evaluate Tracking and path follow 1 1 2 Master-Slave on Visibility time 2 1 3 Evaluate Building Density 1 1 4 Evaluate Speed Ratio 1 1 5 Evaluate impact of UAV number N 1 6 Evaluate Cooperation different Nu/Nvratios(1,2) N N 8.1.1 Simple Target Following One initially attained results is the target following by one UAV. The Figure 8.1 presents the result of the target following with estimation using only random controls on the prediction of the 83 84 Overview of results obtained and analysis target. This situation enables to follow targets that present very extreme dynamics such as ball bouncing in a wall for example. (a) Complete trajectory. (b) Convergence to the Target. Figure 8.1: UAV Tracking one target with random controls on the prediction stage. A simulation was made regarding the tracking and loitering over the target when this one is not seen for a substantial period of time. The objective was to measure the correct change of modes between following and loitering over the last good know position of the target. This maneuver enables the UAV to engage the lost target again. Figure 8.2 shows the paths taken by the UAV, the ground target and the estimation of the position of the target. Figure 8.2: UAV trajectory (RED),Target true position (BLUE) and Target estimation (GREEN). 8.1 Simulated experimental plan 91 8.1.6 Multiple Targets Following by several UAVs The objective of this simulation is to present the performance of the overall system in the track of unknown number of ground targets. With the generalization of the coordination controller, is possible to find the best strategy to achieve the objectives functions described in chapter 3. Taking in account the impact of the use of multiple UAV’s to follow one target, the ratio of Targets-UAV’s Nu/Nthas a impact on the amount of time that targets are seen. Figure 8.11 shows different scenarios where the ratio between the UAV’s and targets is different with a fixed terrain density of 0.423. In the ratio Nt/Nu<1, any constrain on terrain can cause the assigned UAV to lose the track, but taking in account the occupancy of the terrain by other UAV’s on tracking mission and the cooperation, the target can be seen by other UAV’s and the tracking systems continues to have updates for that particular target what ensures that the UAV assigned to that target can continue is pursuit even without seen the target. (a) Effort on the increase of target’s for fixed UAV number (4). (b) Effort on the increase of UAVs for fixed target number (4). Figure 8.11: Effect of the increase of target for fixed UAV number vs increase of the UAV number for fixed target number. Ratio Nt/Nu>1, the assigned target can be tracked directly, but the left targets can be tracked in some period of time when the UAV’s in track see that particular target. When a new target is detected, the cooperation mechanism is triggered and by auction see if any UAV is available to assign to the target, but all are already assigned. The best effort is to continue to the current assignment and track the target when possible. If the density of UAV’s on terrain is high, this target can be tracked without being assigned to any UAV in particular increasing the time that a set of targets is observed. Ratio Nu/Nt>1 the most relevant impact is the initial dispersion of the targets vs vehicles initial position. This can increase the time of initial detection of a target due to the fact that the 92 Overview of results obtained and analysis UAV has to take more time to travel to pass in that point in the search maneuver and is dependent of the targets being assigned meanwhile, but after all targets engaged they are tracked. Chapter 9 Other application areas The applications of the track and cooperation can arise in numerous situations. One scenario is the forest fire patrol [4], (Figure 9.1), in order to have a continuous information of the evolution of the fire front. Another application is the singular target pursuit over dense areas were the target is considered high valuable to the mission. Figure 9.1: Forest fire spreading example. Image from [4]. Several surveillance task demands a continuous surveillance [101] with high frequency passing over the points of coverage enabling to patrol sea operations [102], track of dolphins and tuna from fishing boats, (Figure 9.2), ensuring that the fish you buy in supermarkets is dolphin-safe. Also collection of evidences of illegal activities occurring over the specified area of operation or Whaleship Collision Avoidance advise for traveling boats Figure 9.2: ScanEagle’s UAV platform in sea operation. Oceanography sciences can benefit from the use of Multi-UAV systems, such as Pollution, (oil spills, noise, harmful algal blooms, alien species, and disease organisms). Ocean Acidification, 93 94 Other application areas enabling its early detection while supplies vital information to conduct other monitoring tasks with more precise sensor using other genre of vehicles such as AUV’s. Terrain mapping can be also addressed with the use of Multi-UAV’s systems. With the use of LiDAR equipped UAV mapping terrain topography for digital soil mapping, or even using simple low cost onboard cameras is possible to create a high detailed terrain map from a area of interest, merging the images collected, Figure 9.3 using computer vision algorithms such as image mosaicing [5] and increase the definition of the maps available to public use. Figure 9.3: Image mosaicing of terrain view. Image from [5]. If elevation is available and georeferences, the collected data can be integrated into open source frameworks such as NASA World Wind [103]. Figure 9.4. (a) Nasa World Wind Features (b) Runtime construction of 3D shapes using the World Wind Java controlled airspace toolkit Figure 9.4: Nasa World Wind examples. This NASA World Wind framework enables the representation the data in a easy, friendly user interface, allowing the use of annotations on the map such as balloons attached to the position on the Globe with the description of the feature of interest. The author of this thesis as already worked with this framework, namely the integration in real time of images/data points collected from several Side-Scan sensor deployed in Autonomous Surface Vehicles (ASV), using distributed mechanism for the communications between the several vehicles and the framework on the station base, enabling the display of the under-water collected data on the fly or offline for detailed analysis. Figure 9.5 shows the results of the initial framework developed. Other application areas 95 (a) Framework GUI developed. (b) Code Architecture used. Figure 9.5: Nasa World Wind Framework. This framework shows the full potential to the final user of the data that might be gathered using multi-vehicle systems, heterogeneous or not. This kind of frameworks reduce the distance between the research and development of vehicles and their use by non-trained people to conduct data analysis over the information gathered. 96 Other application areas Chapter 10 Conclusions and Further Work In the last chapter, a summary of the main contributions of this work are made, and some directions for further work are provided. 10.1 Main Contributions The work in this thesis can be described as the design, implementation and analysis of a cooperative persistent target tracking system for surveillance missions. The contributions of this thesis can be divided into four main contributions. Simulation enabling the representation of the real constraints that urban scenarios may raise to the vehicles during mission. Also enables the development and test many other kinds of configurations such as the mixing of aerial agents with terrain agents, providing support for the developed algorithms. Tracking mechanism enables singular or cooperative multi-tracking of non-Gaussian distributions among the set of the agents deployed in the field in a easy manner, making full use of the available observations from different perspectives to improve estimation quality and at same time handling with erroneous measurements in a robust manner. The flexibility enables to be used on centralized or distributed approaches without any considerable changes on main implementation. Path Following and Planning provides the basic control laws for the vehicles and plan paths to the goal. Auction mechanisms enables dynamic assignment of vehicles to targets in a dynamical way, avoiding conflicts. It has the flexibility to incorporate several parameters relevant to the mission and obtain the best possible solution/configuration on the assignment process. 97 98 Conclusions and Further Work 10.2 Further Work We hope that the work resulting from this thesis opens a new paradigm for persistent surveillance. Currently, there are some niche areas that can be improved. Together with those points, we have included some suggestions towards implementation and deployment in real platforms. Improve collision avoidance Using the laser range sensor available, implement more robust avoidance algorithms that minimize the possibility of lost of track due to occlusions on situations where only the assigned UAV is available to gather observations on the target, and explore the system proposed by Saunders in [104]. Increase auction parameters consideration The cooperation mechanism taking variables, such as fuel consumption, communication fails, range limitations and nonheterogeneity among vehicles. An higher level mechanism should be developed in order to ensure that the mission objectives are accomplish and the UAV’s configuration is the optimal to maximize target visibility and detection. Tracking implementation in OpenCV and C++ Extrapolate the work of multitarget and multi-observation to this framework. Future considerations on the development need to be proper addressed, namely on the mechanization of the observations such has the rotation matrix RW BRB Tfrom the frame of the camera to the world using the UAV state information. Detailed analysis has to be made on the mechanization and determination of these parameters to avoid large errors on the observations and consequentially degradation of quality of the estimation. OpenCV Segmentation Further developments need to be done in the detection (segmentation) of the object. To achieve this, some considerations need to be made regarding the scenario of operation (water background, terrain background and others) to select and develop the best segmentation algorithm or flexible one supplying the tracking algorithm with this information. It’s suggested that for the initial steps construct a steady multi-camera setup that replicates the UAV state conditions refereed and test several items after flying. 10.3 Final Remark A persistent surveillance system was modeled and implemented in MATLAB. Some initial implementation were made on OpenCV to create the terrain for the complete implementation on real platforms. The implementation of the tracking mechanism reveals a great potential namely in the use of multi-observations gathered by other vehicles. This amplifies the potentiality of the cooperation/assignment algorithms, while relaxing the complexity of its implementation. The result shows that with a limited number of vehicles is possible to achieve a good performance regarding the visibility time of the ground targets. References [1] David Rathbun, Ph. D, Sean Kragelund, and Anawat Pongpunwattana. An evolution based path planning algorithm for autonomous motion of a uav through uncertain environments. In Algebra Universalis, pages 551–607, 2002. [2] Steven M. Lavalle. Rapidly-exploring random trees: A new tool for path planning. Technical report, 1998. [3] Durant White. Multiple sensor tracking. Robotics, 2004. [4] D.W. Casbeer, R.W. Beard, T.W. McLain, Sai-Ming Li, and R.K. Mehra. Forest fire monitoring with multiple small uavs. In American Control Conference, 2005. Proceedings of the 2005, pages 3530–3535 vol. 5, 2005. doi:10.1109/ACC.2005.1470520 . [5] Q. Liu, W. Liu, L. Zou, J. Wang, and Y. Liu. A new approach to fast mosaic uav images. ISPRS - International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, XXXVIII-1/C22:271–276, 2011. URL: http://www.int-arch-photogramm-remote-sens-spatial-inf-sci.net/ XXXVIII-1-C22/271/2011/ ,http://dx.doi.org/10.5194/isprsarchives-XXXVIII-1-C22- 271-2011 doi:10.5194/isprsarchives-XXXVIII-1-C22-271-2011 . [6] Joel G. Manathara, P. B. Sujit, and Randal W. Beard. Multiple uav coalitions for a search and prosecute mission. J. Intell. Robotics Syst., 62(1):125–158, April 2011. URL: http: //dx.doi.org/10.1007/s10846-010-9439-2 ,http://dx.doi.org/10.1007/s10846-010-9439-2 doi:10.1007/s10846-010-9439-2 . [7] P. B. Sujit and Randy Beard. Multiple uav exploration of an unknown region. Annals of Mathematics and Artificial Intelligence, 52(2-4):335–366, April 2008. URL: http: //dx.doi.org/10.1007/s10472-009-9128-7 ,http://dx.doi.org/10.1007/s10472-009-9128-7 doi:10.1007/s10472-009-9128-7 . [8] Joel George, P. B. Sujit, and João B. Sousa. Search strategies for multiple uav search and destroy missions. Journal of Intelligent and Robotic Systems, 61(1-4):355–367, 2011. [9] P. B. Sujit and S. Saripalli. An empirical evaluation of co-ordination strategies for an auv and uav. J. Intell. Robotics Syst., 70(1-4):373–384, April 2013. URL: http: //dx.doi.org/10.1007/s10846-012-9728-z ,http://dx.doi.org/10.1007/s10846-012-9728-z doi:10.1007/s10846-012-9728-z . [10] C. Hue, J.-P. Le Cadre, and P. Perez. Tracking multiple objects with particle filtering. Aerospace and Electronic Systems, IEEE Transactions on, 38(3):791–812, 2002. 99 100 REFERENCES [11] Stuart M Adams and Carol J Friedland. A survey of unmanned aerial vehicle (uav) usage for imagery collection in disaster research and management. In Proceedings of the Ninth International Workshop on Remote Sensing for Disaster Response, 2012. [12] P. B. Sujit and R. Beard. Distributed sequential auctions for multiple uav task allocation. In American Control Conference, 2007. ACC ’07, pages 3955–3960, 2007. doi:10.1109/ ACC.2007.4282558 . [13] U. Zengin and A. Dogan. Real-time target tracking for autonomous uavs in adversarial environments: A gradient search algorithm. Robotics, IEEE Transactions on, 23(2):294– 307, 2007. doi:10.1109/TRO.2006.889490 . [14] JamesF. Smith III and ThanhVuH. Nguyen. Fuzzy logic based uav allocation and coordination. In JuanAndrade Cetto, Jean-Louis Ferrier, José Miguel Costa dias Pereira, and Joaquim Filipe, editors, Informatics in Control Automation and Robotics, volume 15 of Lecture Notes Electrical Engineering, pages 81–94. Springer Berlin Heidelberg, 2008. URL: http://dx.doi.org/10.1007/978-3-540-79142-3_8 ,http://dx.doi.org/10.1007/978-3-540- 79142-38 doi:10.1007/978-3-540-79142-3_8 . [15] J. Sousa, T. Simsek, and P. Varaiya. Task planning and execution for uav teams. In Decision and Control, 2004. CDC. 43rd IEEE Conference on, volume 4, pages 3804–3810 Vol.4, 2004. doi:10.1109/CDC.2004.1429331 . [16] Michael Negnevitsky. Artificial Intelligence: A Guide To Intelligent Systems, pages 24–. Pearson Education, 2005 - Computers, 2005. [17] Axel Niehaus and R.F. Stengel. An expert system for automated highway driving. Control Systems, IEEE, 11(3):53–61, 1991. doi:10.1109/37.75579 . [18] J.C. Latombe. Robot motion planning. London: Kluwer Academic, 1991. [19] A. Dogan. Probabilistic approach in path planning for uavs. In Intelligent Control. 2003 IEEE International Symposium on, pages 608–613, 2003. doi:10.1109/ISIC.2003. 1254706 . [20] O. Takahashi and R.J. Schilling. Motion planning in a plane using generalized voronoi diagrams. Robotics and Automation, IEEE Transactions on, 5(2):143–150, 1989. doi: 10.1109/70.88035 . [21] Ellips Masehian and M. R. Amin-Naseri. A voronoi diagram-visibility graph-potential field compound algorithm for robot path planning. J. Robot. Syst., 21(6):275–300, June 2004. URL: http://dx.doi.org/10.1002/rob.v21:6 ,http://dx.doi.org/10.1002/rob.v21:6 doi:10. 1002/rob.v21:6 . [22] S. Martinez J. Cortes and F. Bullo. Robust rendezvous for mobile autonomous agents via proximity graphs in arbitrary dimensions. IEEE Transactions on Automatic Control, 2006. [23] Y. Saab and M. VanPutte. Shortest path planning on topographical maps. Systems, Man and Cybernetics, Part A: Systems and Humans, IEEE Transactions on, 29(1):139–150, 1999. doi:10.1109/3468.736370 . [24] H. I. Yang and Y. J. Zhao. Trajectory planning for autonomous aerospace vehicles amid known obstacles and conflicts. Journal of Guidance, Control and Dynamics, 2004.