<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="en" article-type="research-article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">futureinternet</journal-id>
      <journal-title>Future Internet</journal-title>
      <abbrev-journal-title abbrev-type="publisher">Future Internet</abbrev-journal-title>
      <abbrev-journal-title abbrev-type="pubmed">futureinternet</abbrev-journal-title>
      <issn pub-type="epub">1999-5903</issn>
      <publisher>
        <publisher-name>MDPI</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3390/fi5010001</article-id>
      <article-id pub-id-type="publisher-id">futureinternet-05-00001</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Optimization of Vehicular Trajectories under Gaussian Noise Disturbances </article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name>
            <surname>Tomas-Gabarron</surname>
            <given-names>Juan-Bautista</given-names>
          </name>
		  <xref rid="c1-futureinternet-05-00001" ref-type="corresp">*</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Egea-Lopez</surname>
            <given-names>Esteban</given-names>
          </name>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Garcia-Haro</surname>
            <given-names>Joan</given-names>
          </name>
        </contrib>
      </contrib-group>
      <aff id="af1-futureinternet-05-00001">Department of Information and Communication Technologies, Technical University of Cartagena (UPCT), Plaza del Hospital, 1, 30202 Cartagena, Spain; E-Mails: <email>esteban.egea@upct.es</email> (E.E.-L.); <email>joang.haro@upct.es</email> (J.G.-H.) </aff>
      <author-notes>
        <corresp id="c1-futureinternet-05-00001"><label>*</label> Author to whom correspondence should be addressed; E-Mail: <email>juanba.tomas@upct.es</email>; Tel.: +34-669-348-183.</corresp>
      </author-notes>
      <pub-date pub-type="epub">
        <day>27</day>
        <month>12</month>
        <year>2012</year>
      </pub-date>
      <pub-date pub-type="collection"><month>03</month>
        <year>2013</year>
      </pub-date>
      <volume>5</volume>
      <issue>1</issue>
      <fpage>1</fpage>
      <lpage>20</lpage>
      <history>
        <date date-type="received">
          <day>07</day>
          <month>11</month>
          <year>2012</year>
        </date>
        <date date-type="rev-recd">
          <day>06</day>
          <month>12</month>
          <year>2012</year>
        </date>
        <date date-type="accepted">
          <day>19</day>
          <month>12</month>
          <year>2012</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>©  2013 by the authors; licensee MDPI, Basel, Switzerland.</copyright-statement>
        <copyright-year>2013</copyright-year>
        <license xmlns:xlink="http://www.w3.org/1999/xlink" license-type="open-access" xlink:href="http://creativecommons.org/licenses/by/3.0/">
          <p>This article is an open-access article distributed under the terms and conditions of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/).</p>
        </license>
      </permissions>
      <abstract>
        <p>Nowadays, research on Vehicular Technology aims at automating every single mechanical element of vehicles, in order to increase passengers’ safety, reduce human driving intervention and provide entertainment services on board. Automatic trajectory tracing for vehicles under especially risky circumstances is a field of research that is currently gaining enormous attention. In this paper, we show some results on how to develop useful policies to execute maneuvers by a vehicle at high speeds with the mathematical optimization of some already established mobility conditions of the car. We also study how the presence of Gaussian noise on measurement sensors while maneuvering can disturb motion and affect the final trajectories. Different performance criteria for the optimization of such maneuvers are presented, and an analysis is shown on how path deviations can be minimized by using trajectory smoothing techniques like the Kalman Filter. We finalize the paper with a discussion on how communications can be used to implement these schemes. </p>
      </abstract>
      <kwd-group>
        <kwd>vehicle safety</kwd>
        <kwd>optimum control</kwd>
        <kwd>optimum maneuvering </kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="intro">
      <title>1. Introduction and Motivation</title>
      <p>According to statistics of the DGT (<italic>Spanish National Traf</italic><italic>fic Administration</italic>), around 91% of fatal traffic accidents take place on highways and conventional roads [<xref ref-type="bibr" rid="B1-futureinternet-05-00001">1</xref>] in Spain. Up to 71% of these accidents occur due to the collision of two or more vehicles in transit, against a suddenly appearing obstacle on the road, or because of pedestrians or animals running over. This information shows how relevant it is to develop new technologies that can assist the driver or make autonomous decisions to increase passengers’ safety. </p>
      <p>In this regard, the automotive industry is currently moving towards the automation of every single aspect of the driving experience [<xref ref-type="bibr" rid="B2-futureinternet-05-00001">2</xref>]. The main trend, before cars are fully automated, consists of improving the driver assistance by providing new mechanisms that can increase safety and comfort. This can be effectively implemented by the installation of devices that can monitor the environment continuously and, at the same time, determine under which situations the driver needs some kind of specific aid (through somewhat advanced smart processing applications). By monitoring the environment, we mean using specific cameras and/or sensors that can acquire useful data to improve the driving experience. </p>
      <p>Communications will also play an important role when disseminating information monitored by sensors installed on board to enhance the safety conditions of passengers while driving. The standard WAVE 1609/802.11p [<xref ref-type="bibr" rid="B3-futureinternet-05-00001">3</xref>] has been designed for this purpose, and it covers the general communication schemes that vehicles will implement in to support V2V (<italic>vehicle to vehicle</italic>) and V2I (<italic>vehicle to infrastructure</italic>) communications. Through the use of communications, the amount of information that a car may process is much higher, and thus, with a proper processing scheme, it can be really useful to make timely and smarter decisions that would not be possible when isolated. Therefore, by using such technologies, vehicles could benefit from the environmentally collected data to take autonomous actions in order to reduce the probability of a fatal event (vehicle-vehicle collision, pedestrian/animal running over) at high speed. </p>
      <p>Within this topic, a very concerning problem is how to perform the best emergency maneuvers. Interest in this issue has increased in the last decades [<xref ref-type="bibr" rid="B4-futureinternet-05-00001">4</xref>], resulting in methods to find optimal trajectories for different objectives, mainly focused on single vehicles. However, emergency maneuvers should be planned by taking into account surrounding vehicles for obvious reasons. The deployment of vehicular communications paves the way for the development of methods to compute optimal trajectories for a set of involved vehicles. This is certainly a challenging goal. First, there are a wide number of possibilities to state the problem and select the appropriate functional to optimize. Second, either the problem may be solved in a distributed way or a leader car in a clustering scheme may solve it and deliver the solution to the remaining involved vehicles. A hybrid method entailing the exchange of independent solutions may be also suitable. Third, the variability to which the shape of trajectories might be subject (due to the disturbances in the controls that vehicles might suffer) makes it necessary to use mechanisms to correct the possible deviations from the optimum trajectory while maneuvering to reduce the negative influence of undesirable phenomena. </p>
      <p>In the present study, we focus on the development of useful procedures to dynamically optimize the trajectory of a vehicle under timing constraints, <italic>i.e.</italic>, changing its lateral position on the road to maximize the lateral distance within an interval of <italic>t<sub>f</sub></italic> . Additionally, we minimize some other mobility parameters like the lateral speed at the end of the path (to reduce the impact of sudden inertial changes). Finally, we carry out a study on how diversion from the optimum trajectory due to Gaussian noise in measurement sensors can be minimized thanks to the well-known the Kalman Filter technique [<xref ref-type="bibr" rid="B5-futureinternet-05-00001">5</xref>]. Since this mathematical optimization framework will be extended for cooperative collision avoidance (CCA) in a future work, we also discuss how it can be implemented with our proposal. That is, we show here the results of a first step within our general goal, focusing on different functionals and providing useful insight on the resulting trajectories that can be expected from them, as well as a simple analysis on how noise disturbances can affect trajectories and possible solutions to this undesirable effect. In summary, the main contributions of this paper are: 
      <list list-type="order">
        <list-item>
          <p>A discussion on the different ways to compute optimized real-time maneuvers for a high-speed moving vehicle subject to timing constraints (the maneuver must be performed in a maximum time interval of <italic>t<sub>f</sub></italic> ).</p>
        </list-item>
        <list-item>
          <p>The evaluation of functionals including the minimization of the final lateral speed. By keeping the final lateral speed (at <italic>t<sub>f</sub></italic> ) as low as possible, the possibility of continuing in the optimum lateral position is also maximized.</p>
        </list-item>
        <list-item>
          <p>A preliminary discussion on the accuracy of the computed trajectories by an evaluation of the discretization factor <italic>N </italic>(number of stages in which the trajectory is divided into).</p>
        </list-item>
        <list-item>
          <p>An analysis on how trajectories could be affected by random Gaussian noise, and the application of Kalman Filter theory to minimize the impact of unwanted deviations from the optimum path.</p>
        </list-item>
      </list></p>
      <p>The rest of this paper is organized as follows. In <xref ref-type="sec" rid="sec2-futureinternet-05-00001">Section 2</xref> the reader will find some previous related work that served as a reference for the development of our proposal. <xref ref-type="sec" rid="sec3-futureinternet-05-00001">Section 3</xref> will state the problem’s most important features and different illustrative results to evaluate the performance of our trajectory tracing algorithm. This section will be finalized with the aforementioned study on optimum path recovery by means of the Kalman Filter. <xref ref-type="sec" rid="sec4-futureinternet-05-00001">Section 4</xref> will conclude the paper with some important remarks and pointing out our future work. </p>
    </sec>
    <sec id="sec2-futureinternet-05-00001">
      <title>2. Related Work</title>
      <p>Several previous studies on active maneuvering not directly related to emergency maneuvers can be found in the open literature. In the case of [<xref ref-type="bibr" rid="B6-futureinternet-05-00001">6</xref>], we can find a mathematical evaluation in which some interesting properties of active maneuvering are obtained by applying <italic>Optimal Control theory </italic>(OC) to the calculation of optimum trajectories in order to obtain a given final heading. Satisfying either minimum time or minimum distance, the results in [<xref ref-type="bibr" rid="B6-futureinternet-05-00001">6</xref>] showed that trajectory tracing for just one vehicle when looking for a specific heading can be useful when dealing with general robots, but not as much when talking about vehicles, which essentially would expect to avoid an accident, regardless of the final heading. In [<xref ref-type="bibr" rid="B7-futureinternet-05-00001">7</xref>] the authors proposed an approach to solve the problem of tracing the trajectory for a car between two fixed points. This type of problem is a BVP (<italic>Boundary Value Problem</italic>) in which the main concern is to study the trajectory between two fixed points while optimizing the time employed to complete this trajectory according to some physical constraints in terms of maximum acceleration. This evaluation gave a useful hint on the analysis of OC problems by providing a mathematical functional based on nearly-time optimality for the solution of the problem. However, this formulation of the problem suffers from convergence issues as well as tight constraints in values for mobility parameters (such as speed). Furthermore, fixed final boundaries are rarely met under real circumstances due to the obvious variability of the environmental conditions. Another approach for the establishment of an optimal control law for a pair of Dubin’s vehicles (cars moving characterized by a sinusoidal differential equations model) is found in [<xref ref-type="bibr" rid="B8-futureinternet-05-00001">8</xref>], where authors obtain trajectories that transfer the two Dubin’s vehicles from pre-established initial positions to fixed final locations in space. The optimization goals in [<xref ref-type="bibr" rid="B8-futureinternet-05-00001">8</xref>] included the minimization of acceleration, speed and distance along the trajectory and the maximization of the distance between the two vehicles during the maneuver. This is essentially a BVP where there is some sort of cooperative trajectory optimization. A more closely related work is found in [<xref ref-type="bibr" rid="B4-futureinternet-05-00001">4</xref>], where the collision avoidance problem is formulated as an IVP (<italic>Initial Value Problem</italic>) in which a vehicle divides the trajectory tracing procedure into three stages (each one with its own functional). The first one consists of steering to simply avoid the collision against the obstacle; the second phase affords the reorientation of the trajectory to avoid colliding against the lateral protections; and the last one deals with relocating the car in the same lane it was circulating before. Moreover, this work provided a realistic mobility model of the vehicle. In fact, the goal of the paper was to study the advantages of additional actuated degrees of freedom. According to general path planning techniques, we find in the literature some important works regarding online trajectory tracing by using fuzzy logic. That is the case of the research led by Naranjo in [<xref ref-type="bibr" rid="B9-futureinternet-05-00001">9</xref>], where a power-steering control architecture for autonomous driving is proposed. Integrated into two different layers (target position calculation and vehicle positioning), the offered architecture showed by experimentation that the combination of different sensing sources (GPS, vision...) by artificial intelligence provides a reliable behavior of the car in transit. Another work of the same authors was presented in [<xref ref-type="bibr" rid="B10-futureinternet-05-00001">10</xref>], where the associated AUTOPIA architecture was introduced in detail, including the recent advances in terms of specific car maneuvers designed for autonomous car control in such vehicles. </p>
    </sec>
    <sec id="sec3-futureinternet-05-00001">
      <title>3. Problem Statement and Results</title>
      <p>In this section we start giving a description of the specific problem we tackle in this evaluation, formulating the problem, discussing alternative functionals and describing the tools used to solve it. We will also analyze the performance of the trajectory tracing procedure and how we can address the inconvenience of path deviations because of additive noise processes affecting sensor measurements while maneuvering. We conclude this section by providing a qualitative analysis of the connection between our proposal and how it might be integrated within some sort of vehicular networking protocols. </p>
      <sec>
        <title>3.1. Scenario Description and Formulation</title>
        <p>The general problem we are interested in deals with computing a trajectory tracing procedure to handle critical situations under which a vehicle circulating at high speeds has to avoid the collision against a suddenly appearing obstacle (another vehicle, a pedestrian or an animal) in the middle of the road. </p>
        <p>However, we think it is instructive to examine in detail alternative formulations, thus in this paper we will focus on the simplest version of the problem in order to get an understanding on how trajectories for a single vehicle evolve according to the specific optimization requirements we set, and how the behavioral restrictions to which the car’s mobility is constrained affect the maneuver. As a straightforward version of the problem, we assume there is only one vehicle circulating on a <italic>W</italic>-meter-wide road (regardless of the number of lanes). This vehicle has to trace a trajectory in an interval of <italic>t<sub>f</sub></italic> seconds after the maneuver has begun (see <xref ref-type="fig" rid="futureinternet-05-00001-f001">Figure 1</xref>). During this interval, the vehicle will try to adjust its mobility evolution according to a set of constraints and optimizing a given functional. In this particular case, our goal would be to achieve a given degree of safety while keeping the maneuver as comfortable as possible. To combine these two features, we look for the maximization of the lateral distance with respect to the lateral boundaries of the road, while minimizing the final lateral speed at the end of the path, all within a given time interval of <italic>t<sub>f</sub></italic> seconds. Maximizing the lateral distance implies in this case leaving the maximum possible road width on both sides of the vehicle, thus minimizing the probability of colliding with the lateral protections. On the other hand, by simultaneously minimizing the lateral speed at <italic>t<sub>f</sub></italic> , we can change the general appearance of the trajectory in such a way that the inertial impact on the mobility of the passengers is reduced when reaching the optimum lateral position. </p>
        <fig id="futureinternet-05-00001-f001" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Maximization of lateral distance after <italic>t<sub>f</sub></italic> . </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g001.tif"/>
        </fig>
        <p>For the analysis of the problem, we first need to assume a model for the vehicle’s motion, which is represented by the system of differential equations that describes the lateral movement of the car (only <italic>x </italic>axis, see <xref ref-type="fig" rid="futureinternet-05-00001-f001">Figure 1</xref>): 
        <disp-formula id="futureinternet-05-00001-i001"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i001.tif"/><label>(1)</label></disp-formula>
        where <italic>x</italic><sub>1</sub>(<italic>t</italic>) refers to the position of vehicle 1 in axis <italic>x </italic> at time <italic>t</italic>; <italic>v</italic><sub>1</sub>(<italic>t</italic>) denotes the current speed of vehicle 1 in axis <italic>x </italic>as a function of <italic>t</italic>; and <italic>a</italic><sub>1</sub>(<italic>t</italic>) defines the lateral acceleration of vehicle 1 along time. We take <italic>a</italic><sub>1</sub>(<italic>t</italic>) as the control variable that we have to manipulate in real time in order to modify the trajectory traced by the vehicle under consideration. As was specified before, we assume that these mobility equations only govern the lateral displacement of the vehicle (we consider the longitudinal speed to be constant and fixed to 120 km/h during the whole trajectory). </p>
        <p>Furthermore, the car’s mobility has to respect the physical limits imposed by the inertial laws of kinematics. This means that the vehicle can only turn at a maximum established acceleration, which depends on the longitudinal speed (the higher the speed, the harder the maneuver). Considering this, we can establish the mechanical restrictions of the problem at hand: 
        <list list-type="order">
          <list-item>
            <p><bold>Lateral acceleration restrictions.</bold> The absolute value of the lateral acceleration cannot take a value higher than the limit <italic>c</italic>(<italic>v</italic><italic>i</italic>) m/s<sup>2</sup>, where <italic>v</italic><italic>i</italic> is the constant longitudinal speed of the vehicle and <italic>c</italic>(·) is a function of the longitudinal speed.<disp-formula id="futureinternet-05-00001-i002"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i002.tif"/><label>(2)</label></disp-formula></p>
          </list-item>
          <list-item>
            <p><bold>Lateral position restrictions.</bold> The vehicle can only have a lateral displacement inside the width limits of the road. <disp-formula id="futureinternet-05-00001-i003"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i003.tif"/><label>(3)</label></disp-formula></p>
          </list-item>
        </list></p>
        <p>The third and most important aspect of the statement of the problem is the functional we want to optimize. Although it is possible to formulate different functionals according to the specific target we want to optimize, we will focus on just the previously mentioned main objectives: minimization of the variance of the lateral distance (as we will see, by minimizing the lateral variance of the distances we simultaneously maximize lateral distance), and minimization of the final lateral speed. As we said, this can be justified due to the fact that the lower the variance of the distances of the lateral gaps (between two vehicles, two obstacles or vehicle to obstacle), the higher the lateral distance to other elements on the road will be. On the other hand, minimizing the final lateral speed will turn into a null lateral inertia when approaching the end of the path as we will see later. </p>
        <p>Even though we restrict ourselves to these parameters, alternative functionals can be constructed. The four proposed functionals are described next: 
        <list list-type="order">
          <list-item>
            <p><bold>Final lateral distance maximization and final lateral speed minimization</bold>. In this case we want to minimize the final variance of the lateral distances left by the vehicle after <italic>t<sub>f</sub></italic> , while minimizing the lateral speed at the end of the trajectory. The equation corresponding to this functional takes the form:<disp-formula id="futureinternet-05-00001-i004"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i004.tif"/><label>(4)</label></disp-formula></p>
          </list-item>
          <list-item>
            <p><bold>Final lateral distance maximization.</bold> In this case we skip the minimization of the lateral speed at the end of the trajectory. We only perform here the maximization of the final lateral distance.<disp-formula id="futureinternet-05-00001-i005"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i005.tif"/><label>(5)</label></disp-formula></p>
          </list-item>
          <list-item>
            <p><bold>Instantaneous lateral distance maximization and final lateral speed minimization.</bold> This functional aims at maximizing the instantaneous lateral distance while minimizing the lateral speed at the end of the trajectory.<disp-formula id="futureinternet-05-00001-i006"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i006.tif"/><label>(6)</label></disp-formula></p>
          </list-item>
          <list-item>
            <p><bold>Instantaneous lateral distance maximization.</bold> In this case, we skip the minimization of the lateral speed at the end of the trajectory, but we maximize the instantaneous lateral distance (during the maneuver).<disp-formula id="futureinternet-05-00001-i007"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i007.tif"/><label>(7)</label></disp-formula></p>
          </list-item>
        </list></p>
        <p>For the optimization of the aforementioned functional, we will rely on the <italic>Gradient Projection Algorithm</italic>, a class of <italic>Gradient Descent </italic>procedure that includes functionals that can only be optimized inside a region determined by the constraints of the problem [<xref ref-type="bibr" rid="B11-futureinternet-05-00001">11</xref>]. This method requires to discretize the trajectory into <italic>N </italic>steps. Apart from the evaluation of trajectories, in the next subsections we will explore how the discretization factor <italic>N </italic>influences on the determination of trajectories and the resolution we need according to the specific functional in order to reach a reasonable trade-off between curve error and computational load. </p>
      </sec>
      <sec>
        <title>3.2. Final Lateral Distance Maximization</title>
        <p>In this first subsection, we compare the performance of functionals <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub> for the configuration of parameters in <xref ref-type="table" rid="futureinternet-05-00001-t001">Table 1</xref>, where the instantaneous lateral distance of the vehicle along the trajectory is not maximized, but the final (at <italic>t<sub>f</sub></italic> ) lateral distance to the lateral protections is maximized. If we obtain the mobility evolution (acceleration, speed and position evolution along the trajectory) for two different values of <italic>t<sub>f</sub></italic> (10 and 2 seconds), we can notice from <xref ref-type="fig" rid="futureinternet-05-00001-f002">Figure 2</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f003">Figure 3</xref> that for longer time intervals to execute the maneuver, the vehicle does not need to reach the maximum acceleration stated by the model’s restrictions. On the other hand, for lower values of <italic>t<sub>f</sub></italic> , the steering maneuver needs to use the maximum allowable values of the lateral acceleration to maximize the functional at the end of the trajectory. The most illustrative differences between both functionals can be read from <xref ref-type="fig" rid="futureinternet-05-00001-f002">Figure 2</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f003">Figure 3</xref>, where we see that <italic>J</italic><sub><italic>D</italic>1</sub> (blue) reaches a higher lateral peak speed than <italic>J</italic><sub><italic>D</italic>2</sub> just at the middle of the time period. The explanation for this fact is that by flipping between two opposite values of the acceleration (see <xref ref-type="fig" rid="futureinternet-05-00001-f002">Figure 2</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f003">Figure 3</xref>) until the final position is reached, the vehicle can get there with null lateral speed. However, for <italic>J</italic><sub><italic>D</italic>2</sub>, the speed will increase more smoothly from the first instant, but at the cost of not having null lateral speed at the end of the trajectory, which could lead to a further potential risk because of the inherent inertial dynamics. </p>
        <table-wrap id="futureinternet-05-00001-t001" position="float">
          <object-id pub-id-type="pii">futureinternet-05-00001-t001_Table 1</object-id>
          <label>Table 1</label>
          <caption>
            <p>Configuration parameters and values for all evaluations. </p>
          </caption>
          <table>
            <thead>
              <tr>
                <th align="center" valign="middle">Evaluation parameter </th>
                <th align="center" valign="middle">Meaning </th>
                <th align="center" valign="middle">Value </th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td align="center" valign="middle">
                  <italic>N </italic>
                </td>
                <td align="center" valign="middle">Discretization factor </td>
                <td align="center" valign="middle">20</td>
              </tr>
              <tr>
                <td align="center" valign="middle">
                  <italic>X<sub>0 </sub>
                  </italic>
                </td>
                <td align="center" valign="middle">Initial lateral position </td>
                <td align="center" valign="middle">1 m </td>
              </tr>
              <tr>
                <td align="center" valign="middle">
                  <italic>V<sub>0 </sub>
                  </italic>
                </td>
                <td align="center" valign="middle">Initial lateral speed </td>
                <td align="center" valign="middle">0 m/s </td>
              </tr>
              <tr>
                <td align="center" valign="middle">
                  <italic>a<sub>0 </sub>
                  </italic>
                </td>
                <td align="center" valign="middle">Initial lateral acceleration </td>
                <td align="center" valign="middle">0 m/s<sub>2 </sub></td>
              </tr>
              <tr>
                <td align="center" valign="middle">
                  <italic>W </italic>
                </td>
                <td align="center" valign="middle">Road width </td>
                <td align="center" valign="middle">20 m </td>
              </tr>
              <tr>
                <td align="center" valign="middle">
                  <italic>v<sub>i </sub>
                  </italic>
                </td>
                <td align="center" valign="middle">Longitudinal speed </td>
                <td align="center" valign="middle">120 km/h </td>
              </tr>
              <tr>
                <td align="center" valign="middle">
                  <italic>c(v<sub>i</sub>
                  </italic>
                  <italic>) </italic>
                </td>
                <td align="center" valign="middle">Maximum absolute lateral acceleration </td>
                <td align="center" valign="middle">3 m/s<sub>2 </sub></td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p><xref ref-type="fig" rid="futureinternet-05-00001-f004">Figure 4</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f005">Figure 5</xref> show the trajectories traced by the two functionals for different values of the final time (<italic>t<sub>f</sub></italic> ). Analyzing the results in these figures, we can conclude that functional <italic>J</italic><sub><italic>D</italic>1</sub> can reach the optimum lateral position at a later time but with a null lateral speed, whereas through functional <italic>J</italic><sub><italic>D</italic>2</sub> it is possible to reach the optimum lateral position earlier, but at the expense of having a non-zero speed. The first one will not have problems to follow the trajectory, but for the second one, safety relies on how will the inertial mobility be from the instant <italic>t<sub>f</sub></italic> onwards. </p>
        <fig id="futureinternet-05-00001-f002" position="float">
          <label>Figure 2</label>
          <caption>
            <p>Position, speed and acceleration <italic>J</italic><sub><italic>D</italic>1</sub> (blue) and <italic>J</italic><sub><italic>D</italic>2</sub> (red) (<italic>t<sub>f</sub></italic> = 10 s). </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g002.tif"/>
        </fig>
        <fig id="futureinternet-05-00001-f003" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Position, speed and acceleration <italic>J</italic><sub><italic>D</italic>1</sub> (blue) and <italic>J</italic><sub><italic>D</italic>2</sub> (red) (<italic>t<sub>f</sub></italic> = 2 s).</p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g003.tif"/>
        </fig>
        <fig id="futureinternet-05-00001-f004" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Trajectory evolution of functional <italic>J</italic><sub><italic>D</italic>1</sub> for different <italic>t<sub>f</sub></italic> . </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g004.tif"/>
        </fig>
        <fig id="futureinternet-05-00001-f005" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Trajectory evolution of functional <italic>J</italic><sub><italic>D</italic>2</sub> for different <italic>t<sub>f</sub></italic> . </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g005.tif"/>
        </fig>
      </sec>
      <sec>
        <title>3.3. Instantaneous Lateral Distance Maximization</title>
        <p>In this part, we focus on analyzing the properties of the trajectories when we use the instantaneous lateral distance maximization as the optimization target (<italic>J</italic><sub><italic>D</italic>3</sub> and <italic>J</italic><sub><italic>D</italic>4</sub>). As we can infer from <xref ref-type="fig" rid="futureinternet-05-00001-f006">Figure 6</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f007">Figure 7</xref>, in this case the main objective consists of updating the lateral position as soon as possible in order to meet the requirements set by the functionals. </p>
        <fig id="futureinternet-05-00001-f006" position="float">
          <label>Figure 6</label>
          <caption>
            <p>Position, speed and acceleration <italic>J</italic><sub><italic>D</italic>3</sub> (blue) and <italic>J</italic><sub><italic>D</italic>4</sub> (red) (<italic>t<sub>f</sub></italic> = 10 s). </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g006.tif"/>
        </fig>
        <fig id="futureinternet-05-00001-f007" position="float">
          <label>Figure 7</label>
          <caption>
            <p>Position, speed and acceleration <italic>J</italic><sub><italic>D</italic>3</sub> (blue) and <italic>J</italic><sub><italic>D</italic>4</sub> (red) (<italic>t<sub>f</sub></italic> = 2 s). </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g007.tif"/>
        </fig>
        <p>This implies using alternatively the two highest (absolute) values of acceleration during the trajectory, which naturally makes the vehicle build a more sensitive path that can be obviously more affected by additional disturbances (<italic>i.e.</italic>, bad weather conditions). This is explained by assuming that the vehicle will try to adapt its lateral position instantaneously in order to maximize the lateral distance. Thus, it is possible that if there is a sudden change in the width of the road, or another car gets too close, the trajectory is modified very harshly, so it could undoubtedly end in a lateral collision. With <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub> there could effectively be lateral collisions, but they are less prone to disturbances, because lateral distance is maximized regarding only the final lateral positions. </p>
        <p>Evaluating the results for the same scenario (see <xref ref-type="table" rid="futureinternet-05-00001-t001">Table 1</xref>) for <italic>J</italic><sub><italic>D</italic>3</sub> and <italic>J</italic><sub><italic>D</italic>4</sub>, we can see that for longer time intervals (<xref ref-type="fig" rid="futureinternet-05-00001-f008">Figure 8</xref>) until reaching the final position, a vehicle focus on achieving the final lateral position very quickly (thus the rapid changes in acceleration, which oscillate between the two extreme values although there is enough time to make a smoother maneuver). Besides, it is surprising that for both functionals the final lateral speed reached at the end of the path is null, and both functionals provide very similar behaviors. On the other hand, if we analyze <xref ref-type="fig" rid="futureinternet-05-00001-f009">Figure 9</xref>, we see that for very short time intervals, the evolution of mobility is very similar to what we saw for the functionals <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub>. </p>
        <fig id="futureinternet-05-00001-f008" position="float">
          <label>Figure 8</label>
          <caption>
            <p>Trajectory evolution of functional <italic>J</italic><sub><italic>D</italic>3</sub> for different <italic>t<sub>f</sub></italic> . </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g008.tif"/>
        </fig>
        <fig id="futureinternet-05-00001-f009" position="float">
          <label>Figure 9</label>
          <caption>
            <p>Trajectory evolution of functional <italic>J</italic><sub><italic>D</italic>4</sub> for different <italic>t<sub>f</sub></italic> . </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g009.tif"/>
        </fig>
      </sec>
      <sec>
        <title>3.4. Discretization Influence</title>
        <p>Considering that using <italic>Gradient Projection </italic>[<xref ref-type="bibr" rid="B11-futureinternet-05-00001">11</xref>] to solve the optimization problems at hand implies the discretization of the trajectory in <italic>N </italic>steps (of constant acceleration), here we focus on the influence of the discretization factor <italic>N</italic>. We will compare here the trajectories traced by the four proposed functionals for a discretization factor <italic>N</italic> ∈ {1, ..., 20} and evaluate the error (as the sum of the square of the difference between one curve and the reference one, set to <italic>N</italic> = 100, see Equation 8). We consider the curve <italic>N</italic> = 100 as accurate enough for the calculation of the error evolution. The parameter configuration for this case is the same as for previous subsections (<xref ref-type="table" rid="futureinternet-05-00001-t001">Table 1</xref>).
        <disp-formula id="futureinternet-05-00001-i008"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i008.tif"/><label>(8)</label></disp-formula>
        where <italic>ε</italic>(<italic>N</italic>) refers to the square error for an <italic>N</italic>-discretized curve <italic>x<sub>N</sub></italic>(<italic>t</italic>), in comparison with the <italic>N<sub>ref</sub></italic> = 100 reference trajectory <italic>x<sub>N<sub>ref</sub></sub></italic>(<italic>t</italic>). </p>
        <p>Having a look at the <xref ref-type="fig" rid="futureinternet-05-00001-f010">Figure 10</xref>, it is easy to realize the correctness of the trajectories calculated by the optimization algorithm (<italic>Gradient Projection</italic>), <italic>i.e.</italic>, the highest errors are located for low values of the discretization factor, whereas the error value decreases as <italic>N </italic>gets higher. </p>
        <fig id="futureinternet-05-00001-f010" position="float">
          <label>Figure 10</label>
          <caption>
            <p>Influence of discretization factor N. </p>
          </caption>
          <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g010.tif"/>
        </fig>
        <p>Observing this graph, it is also straightforward to infer that setting a value of <italic>N </italic>= 20 should be enough to achieve a proper resolution in the curve for the four functionals. We can see that the functional <italic>J</italic><sub><italic>D</italic>1</sub> needs a higher value for the discretization factor than that of <italic>J</italic><sub><italic>D</italic>2</sub> to achieve the same level of accuracy. Due to the need of higher accelerations for the trajectories obtained by <italic>J</italic><sub><italic>D</italic>1</sub> in comparison with those calculated by <italic>J</italic><sub><italic>D</italic>2</sub>, a higher value for the discretization factor <italic>N</italic> is thus required to keep an acceptable accuracy. On the other hand, both functionals regarding instantaneous lateral distance maximization (<italic>J</italic><sub><italic>D</italic>3</sub> and <italic>J</italic><sub><italic>D</italic>4</sub>) show that they need a higher value of the discretization factor to reach the same level of accuracy. This is explained by the same reasons as regards the comparison between <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub>, that is, the greater acceleration values of the trajectories, the higher <italic>N</italic> must be to maintain accuracy. </p>
      </sec>
      <sec>
        <title>3.5. Kalman Filter for Trajectory Smoothing</title>
        <p>Until now we have been dealing with the optimization of trajectories for a single vehicle according to two possible performance criteria. Needless to say, once the optimum trajectory is determined (here for the sake of simplicity, we disregard the time to compute the trajectories), the vehicle obviously start running the calculated path. In real cases, the vehicle will have to face undesirable phenomena during the maneuver’s execution, which could perturb the previously calculated optimum trajectory and make it divert from the calculated path. This is usually called the <italic>Random Noise Disturbances </italic>[<xref ref-type="bibr" rid="B12-futureinternet-05-00001">12</xref>] in the literature. In this subsection we will extend the initial System of Equations describing the mobility of our one-dimensional vehicle to accomplish for this variability in the execution of the maneuvers. We will model such phenomena by assuming that an additive Gaussian noise process produces this variability by influencing: 
        <list list-type="bullet">
          <list-item>
            <p>The shape of the traced path due to possible deviations from the optimum course, see Subsection 3.5.1.</p>
          </list-item>
          <list-item>
            <p>The sensors’ measurement on the position and speed at a fixed time t, see Subsection 3.5.2.</p>
          </list-item>
        </list></p>
        <p>Kalman Filter theory has been proven to be a very reasonable option for state estimation and path reconstruction under the aforementioned circumstances. Moreover, it is the core technology that implements basic car localization and motion on autonomous vehicles, like the famous Google Car [<xref ref-type="bibr" rid="B13-futureinternet-05-00001">13</xref>]. Before discussing in detail the characteristics of the Kalman Filter, we will first express our extended model for the System (1) by accounting for the two influencing factors presented earlier: </p>
        <sec>
          <title>3.5.1. State Variability</title>
          <p>The Kalman Filter model assumes the true state at time <italic>k</italic> is evolved from the state at (<italic>k</italic> − 1) as expressed by: 
          <disp-formula id="futureinternet-05-00001-i009"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i009.tif"/><label>(9)</label></disp-formula>
          where <bold>F</bold> defines the state transition model applied to the previous state x (<italic>k</italic> − 1); <bold>B</bold> denotes the control-input applied to the controls <bold>u</bold>(<italic>k</italic>); <bold>w</bold>(<italic>k</italic>) is the process noise, which is assumed to be drawn from a zero mean multivariate normal distribution with covariance <bold>Q</bold>(<italic>k</italic>): 
          <disp-formula id="futureinternet-05-00001-i010"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i010.tif"/><label>(10)</label></disp-formula></p>
        </sec>
        <sec>
          <title>3.5.2. Measurements Variability</title>
          <p>At time k an observation (or measurement) <italic>z</italic> (<italic>k</italic>) of the true state <italic>x</italic> (<italic>k</italic>) is made according to: 
          <disp-formula id="futureinternet-05-00001-i011"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i011.tif"/><label>(11)</label></disp-formula>
          where <bold>H</bold> is the observation model that maps the true state space onto the observed space; and <italic>v</italic> (<italic>k</italic>) is the observation noise, which is assumed to be zero mean Gaussian white noise with covariance <bold>R</bold>(<italic>k</italic>): 
          <disp-formula id="futureinternet-05-00001-i012"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i012.tif"/><label>(12)</label></disp-formula></p>
          <p>We can observe that in comparison with the initial proposal of System (1), we now model our problem as a linear system of equations whose state variables are corrupted by additive Gaussian noise, represented by variable <bold>w</bold>(<italic>k</italic>) (Gaussian noise process of mean 0 and covariance <bold>Q</bold>(<italic>k</italic>), Equation (10)). Furthermore, we consider that there exists some sort of measurement sensing error, represented by variable <bold>v</bold>(<italic>k</italic>) (Gaussian noise process of mean 0 and covariance <bold>R</bold>(<italic>k</italic>), Equation (12)). </p>
          <p>The position and speed in the extended System (9) is described by: 
          <disp-formula id="futureinternet-05-00001-i013"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i013.tif"/><label>(13)</label></disp-formula>
          with <inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i017.tif"/> being the derivative of lateral position with respect to time (speed <italic>v</italic> (<italic>k</italic>)). </p>
          <p>Let us now express the <bold>F</bold>, <bold>B</bold> and <bold>H</bold> matrices by extracting the correspondence of both the controls and the state variables with Equations (10) and (12). After some easy operations we get: 
          <disp-formula id="futureinternet-05-00001-i014"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i014.tif"/><label>(14)</label></disp-formula></p>
          <p>Focusing on the covariance matrices regarding process and measurement noise, we get: 
          <disp-formula id="futureinternet-05-00001-i015"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i015.tif"/><label>(15)</label></disp-formula>
          <disp-formula id="futureinternet-05-00001-i016"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-i016.tif"/><label>(16)</label></disp-formula></p>
          <p>From this set of Expressions we are now capable of evaluating how different values of the measurement variance <italic>σ</italic><italic><sub>z</sub></italic><sup>2 </sup>and the state dispersion variance <italic>σ</italic><italic><sub>x</sub></italic><sup>2 </sup>affect the evolution of trajectories. With the Kalman Filter, it is possible to minimize the counterproductive effect of both noise processes by using two trajectory regeneration procedures enumerated next: 
          <list list-type="order">
            <list-item>
              <p><bold>Filtering.</bold> By means of this process, the Kalman Filter predicts the new values x (<italic>k</italic>) of the states taking into account the states’ history until the instant (<italic>k</italic> − 1). (Although the term “Kalman Filter” regards all techniques to reduce the influence of noise on the states of a dynamical system, we must not get confused with <italic>Filtering</italic>, which, as well as <italic>Smoothing</italic>, describes a specific procedure to fix or reduce trajectory dispersion caused by any noise process.)</p>
            </list-item>
            <list-item>
              <p><bold>Smoothing.</bold> In this second process, the Kalman Filter estimates the new values x (<italic>k</italic>) of the states taking into account, apart from the states’ history until the instant (<italic>k</italic> − 1), the current measurement of the states: z (<italic>k</italic>).</p>
            </list-item>
          </list></p>
          <p>We can deduce from the previous two comments that with Smoothing, the estimated trajectory will reduce the dispersion with respect to Filtering, since we count on more updated information to estimate the current position and speed of the vehicle. </p>
          <p>Now it is time to graphically visualize some application examples of the previous concepts. In the first set of graphs, we will show how the trajectory of a vehicle (departing from a lateral position <italic>x</italic> = 5 m and having at most <italic>t<sub>f</sub></italic> = 10 s to reach the optimum lateral position) is affected by the presence of additive Gaussian noise in the states and in the sensor measurements. We will establish a state dispersion variance <italic>σ</italic><italic><sub>x</sub></italic><sup>2 </sup>= 0.1 for all the examples and will focus only on the influence of noise produced by measurement sensors (measurement variance <italic>σ</italic><italic><sub>z</sub></italic><sup>2</sup>). We will include a comparison between the True Trajectory (optimum determined trajectory), the measured trajectory (sensed trajectory while executing the maneuver), and the filtered and smoothed trajectory for the two proposed performance measures <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub>, and for a set of values of the measurement variance <italic>σ</italic><italic><sub>z</sub></italic><sup>2</sup> = {0.1, 1, 5}. If we now draw our attention to <xref ref-type="fig" rid="futureinternet-05-00001-f011">Figure 11</xref>, we can fairly understand how measurement noise affects the shape of trajectories by producing a dispersion of the optimum path due to the sensed positions along the course (mild dispersion for <italic>σ</italic><italic><sub>z</sub></italic><sup>2</sup> = 0.1, medium dispersion for <italic>σ</italic><italic><sub>z</sub></italic><sup>2</sup> = 1 and high dispersion for <italic>σ</italic><italic><sub>z</sub></italic><sup>2</sup> = 5). We can notice that both Filtering and Smoothing reduce the dispersion effect, but Smoothing reduces the still significant variability that the filtered trajectory obtains, by using the measurement of the present instant z (<italic>k</italic>). Differences between <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub>, if present, are not clear in <xref ref-type="fig" rid="futureinternet-05-00001-f011">Figure 11</xref>. </p>
          <fig id="futureinternet-05-00001-f011" position="float">
            <label>Figure 11</label>
            <caption>
              <p><italic>Kalman </italic><italic>filter </italic>effect on trajectories for <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub> under measurement noise (<italic>σ</italic><italic><sub>z</sub></italic> = {0.1, 1, 5}).</p>
            </caption>
            <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g011.tif"/>
          </fig>
          <p>Now we turn our attention to the evaluation of the Mean Square Error (MSE) between the optimum trajectory, and the measured, filtered and smoothed trajectories for the interval <italic>σ</italic><italic><sub>z</sub></italic><sup>2 </sup>∈ [0,5], for both <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub>. Due to the variability to which the MSE is subject, we have used regression techniques to represent the Degree-2 polynomial, which averages the MSE evolution during the evaluated interval. This will make the visualization of graphs easier for comparison purposes. </p>
          <p>On the other hand, we will also represent the averaged evolution (with a Degree-2 polynomial like with MSE) of the lateral distance with respect to the optimum lateral position (which we call LDP) at the last time step <italic>t<sub>f</sub></italic> in order to quantify how far the trajectory ends from the desired position. The associated graph will represent this magnitude for the same interval <italic>σ</italic><italic><sub>z</sub></italic><sup>2 </sup>∈ [0,5] as in the last case, and will show the percentage, with respect to the total width of the road W , of distance far from the optimum lateral position. </p>
          <p>If we have now a look at <xref ref-type="fig" rid="futureinternet-05-00001-f012">Figure 12</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f013">Figure 13</xref>, we will see the evolution of both the MSE and LDP for the functional <italic>J</italic><sub><italic>D</italic>1</sub>. </p>
          <fig id="futureinternet-05-00001-f012" position="float">
            <label>Figure 12</label>
            <caption>
              <p>Degree-2 polynomials for regression of MSE under measurement noise (<italic>σ</italic><italic><sub>z</sub></italic> ∈ {0.1, 1, 5}), for <italic>J</italic><sub><italic>D</italic>1</sub>. </p>
            </caption>
            <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g012.tif"/>
          </fig>
          <fig id="futureinternet-05-00001-f013" position="float">
            <label>Figure 13</label>
            <caption>
              <p>Percentage of distance with respect to the lateral optimum position under measurement noise (<italic>σ</italic><italic><sub>z</sub></italic> ∈ {0.1, 1, 5}), for <italic>J</italic><sub><italic>D</italic>1</sub>. </p>
            </caption>
            <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g013.tif"/>
          </fig>
          <p>For the MSE, we can notice that for lower values of the measurement variance <italic>σ</italic><italic><sub>z</sub></italic> ∼ 0.1, sensing noise does not affect the trajectory remarkably, since the measured, filtered and smoothed paths obtain a very low MSE with respect to the optimum trajectory. As <italic>σ</italic><italic><sub>z</sub></italic> increases, it is easily noticeable how necessary it is to use at least Filtering and, if possible, Smoothing in order to correct the path dispersion introduced by noise. Surprisingly, the LDP shows very similar results for both Filtering and Smoothing, since both tend to reach the optimum final position regardless of the evolution of the trajectory. Analyzing now <xref ref-type="fig" rid="futureinternet-05-00001-f014">Figure 14</xref> and <xref ref-type="fig" rid="futureinternet-05-00001-f015">Figure 15</xref>, we can come to the same conclusions as for the <italic>J</italic><sub><italic>D</italic>1</sub> functional. More importantly, we can see that differences between using Filtering and Smoothing for <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub> are not as remarkable. This implies that the shape of the traced trajectory does not influence the performance of the Kalman filter. </p>
          <fig id="futureinternet-05-00001-f014" position="float">
            <label>Figure 14</label>
            <caption>
              <p>Degree-2 polynomials for regression of MSE under measurement noise (<italic>σ</italic><italic><sub>z</sub></italic> ∈ {0.1, 1, 5}), for <italic>J</italic><sub><italic>D</italic>2</sub>. </p>
            </caption>
            <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g014.tif"/>
          </fig>
          <fig id="futureinternet-05-00001-f015" position="float">
            <label>Figure 15</label>
            <caption>
              <p>Percentage of distance with respect to the lateral optimum position under measurement noise (<italic>σ</italic><italic><sub>z</sub></italic> ∈ {0.1, 1, 5}), for <italic>J</italic><sub><italic>D</italic>2</sub>. </p>
            </caption>
            <graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="futureinternet-05-00001-g015.tif"/>
          </fig>
        </sec>
      </sec>
      <sec>
        <title>3.6. Connection to Cooperative Collision Avoidance (CCA)</title>
        <p>Analyzing the procedure of automatic trajectory tracing for one vehicle is the first step to completely evaluate a traffic scenario where vehicles interchange information to update their trajectories in common while simultaneously adapting to the unpredictable phenomena that could alter the normal transit. Even though we have not considered a real cooperative system, the previous discussion provides us with a valuable insight into the performance of alternative functionals for optimum trajectories. In the context of CCA, the proposed method involves the exchange of computed trajectories at discretization steps, or at least updated information that would require a high frequency of beacons’ interchange between vehicles in order to keep an updated history of the evolution of cars along the path. The IEEE 802.11p [<xref ref-type="bibr" rid="B3-futureinternet-05-00001">3</xref>] is based on a CSMA (<italic>Carrier Sense Multiple Access</italic>), a medium access technique whose performance degrades as the number of transmitting nodes increases [<xref ref-type="bibr" rid="B14-futureinternet-05-00001">14</xref>]. Thus, it is important to determine which are the minimum requirements that this system should have in order to guarantee appropriate performance (necessary in situations in which having this kind of information is critical). It might also be interesting to study the 3GPP/LTE (next generation, 4G) cellular infrastructure, which is already under deployment, in order to complement such technologies to properly relieve WAVE-based communications from the channel overload that V2I and V2V might entail [<xref ref-type="bibr" rid="B15-futureinternet-05-00001">15</xref>]. This is something we will treat in a future work. </p>
      </sec>
    </sec>
    <sec sec-type="conclusions" id="sec4-futureinternet-05-00001">
      <title>4. Conclusions</title>
      <p>In this paper, we have discussed how to trace the optimum trajectory of a high speed vehicle that wants to relocate its lateral position before a time interval of <italic>t<sub>f</sub></italic> . We have proposed and evaluated four different functionals and discussed their advantages and drawbacks. Functionals <italic>J</italic><sub><italic>D</italic>1</sub> and <italic>J</italic><sub><italic>D</italic>2</sub> provide a better stability during the trajectory because they only update the mobility parameters according to the final lateral position. <italic>J</italic><sub><italic>D</italic>3</sub> and <italic>J</italic><sub><italic>D</italic>4</sub>, however, are based on updating the lateral position in terms of the instantaneous distance, which requires faster changes in the mobility evolution. On the other hand, whereas <italic>J</italic><sub><italic>D</italic>1</sub> is really useful for higher values of <italic>t<sub>f</sub></italic> (since apart from reaching the optimum position it arrives with null lateral speed), <italic>J</italic><sub><italic>D</italic>2</sub> reaches the last position with a speed always higher than zero. However, for low distances until the optimum position (i.e. low values of <italic>t<sub>f</sub></italic> ), <italic>J</italic><sub><italic>D</italic>2</sub> can get to this position earlier, while the other functional focuses its attention on reaching the last position at zero speed, not caring as much about how far is the vehicle from the optimum position. From these results, we can deduce that in general optimizing in terms of the final lateral distance can be better to avoid very rapid changes in acceleration, which could imply the need to have higher values for the discretization factor <italic>N </italic>(at the expense of more computation overhead). However, we have not explored the great multiplicity of scenarios that appears from this premise, therefore using functionals <italic>J</italic><sub><italic>D</italic>3</sub> and <italic>J</italic><sub><italic>D</italic>4</sub> (or a derivation of them) might be more convenient. In a future work, we will investigate a wider range of scenarios to completely characterize the performance of the four functionals (and possible extensions). </p>
      <p>On the other hand, the problem solved here corresponds to a scenario with no obstacles or other vehicles. It is our aim to study the problem for a higher number of vehicles (more differential equations) and obstacles. This results in functionals whose gradients are semi-convex. For this reason, depending on the initial configuration values, the <italic>Gradient Projection Algorithm </italic>may not converge to the global minimum. Formulating the functionals slightly differently or even using other mathematical techniques for solving this type of optimum control problems will probably be necessary. </p>
      <p>Last but not least, we have also carried out a first-step evaluation of how additive Gaussian noise can affect the shape of a single vehicle’s trajectory when measurement sensors are affected by such phenomena. We could realize the necessity to use path reconstruction techniques such as the Kalman Filter [<xref ref-type="bibr" rid="B5-futureinternet-05-00001">5</xref>], by providing some illustrative results on the performance of this specific tool. In this context, it is the intention of the authors to carry out the optimization of trajectories for a cooperative scenario where multiple vehicles need to take sudden maneuvering actions in order to avoid one or more obstacles, or at least reduce the impact of a hypothetical collision. By introducing noise in the measurement sensors and studying the influence on this sort of critical cooperative actions, it will be possible to analyze in detail how vehicles would react to such unpredictable phenomena in realistic situations. That is also one of the research lines the authors plan to investigate in the future. </p>
    </sec>
  </body>
  <back>
    <ack>
      <title>Acknowledgments</title>
      <p>This work was supported by project grants MICINN/FEDER TEC2010-21405-C02-02/TCM (CALM) and 00002/CS/08 FORMA (<italic>Fundación Séneca-Ben Arab</italic><italic>í Supercomputer RM</italic>). It was also developed in the framework of ’<italic>Programa de Ayudas a Grupos de Excelencia de la Regi</italic><italic>ón de Murcia, Fundaci</italic><italic>ón S</italic><italic>éneca</italic>’. J. B. Tomas-Gabarron also thanks the Spanish MICINN for a FPU (REF AP2008-02244) pre-doctoral fellowship. </p>
    </ack>
    <ref-list>
      <title>References</title>
      <ref id="B1-futureinternet-05-00001">
        <label>1.</label>
        <citation citation-type="web">
		<collab>National Spanish Traffic Administration</collab>
          <source>Annual Report of Accidents</source>
          <publisher-name>DGT (Direccion General de Trafico), Ministry of inner affairs, Government of Spain</publisher-name>
          <publisher-loc>Madrid, Spain</publisher-loc>
          <year>2010</year>
          
          <comment>Available online:<ext-link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.dgt.es/portal/es/seguridad vial/estadistica/publicaciones/anuario estadistico/" ext-link-type="uri">http://www.dgt.es/portal/es/seguridad vial/estadistica/publicaciones/anuario estadistico/</ext-link></comment><access-date>(accessed on 19 December 2012)</access-date>
        </citation>
      </ref>
      <ref id="B2-futureinternet-05-00001">
        <label>2.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Ili</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Albers</surname>
              <given-names>A.</given-names>
            </name>
            <name>
              <surname>Miller</surname>
              <given-names>S.</given-names>
            </name>
          </person-group>
          <article-title>Open innovation in the automotive industry</article-title>
          <source>R&amp;D Manag.</source>
          <year>2010</year>
          <volume>40</volume>
          <fpage>246</fpage>
          <lpage>255</lpage>
        <pub-id pub-id-type="doi">10.1111/j.1467-9310.2010.00595.x</pub-id></citation>
      </ref>
      <ref id="B3-futureinternet-05-00001">
        <label>3.</label>
        <citation citation-type="book">
		<collab>IEEE (Institute of Electrical and Electronics Engineers)</collab>
          <source>IEEE Draft Standard for Wireless Access in Vehicular Environments (WAVE)-Networking Services; 1609.1-4</source>
          <publisher-name>IEEE</publisher-name>
          <publisher-loc>New York, NY, USA</publisher-loc>
          <year>2010</year>
        </citation>
      </ref>
      <ref id="B4-futureinternet-05-00001">
        <label>4.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Dingle</surname>
              <given-names>P.</given-names>
            </name>
            <name>
              <surname>Guzzella</surname>
              <given-names>L.</given-names>
            </name>
          </person-group>
          <article-title>Optimal emergency maneuvers on highways for passenger vehicles with two-and four-wheel active steering</article-title>
          <source>Proceedings of American Control Conference (ACC) Woburn</source>
          <conf-loc>MA, USA</conf-loc>
          <conf-date>30 June 2010-July 2010</conf-date>
          <fpage>5374</fpage>
          <lpage>5381</lpage>
        </citation>
      </ref>
      <ref id="B5-futureinternet-05-00001">
        <label>5.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Kalman</surname>
              <given-names>R.E.</given-names>
            </name>
          </person-group>
          <article-title>A new approach to linear filtering and prediction problems</article-title>
          <source>J. Basic Eng.</source>
          <year>1960</year>
          <volume>82</volume>
          <fpage>35</fpage>
          <lpage>45</lpage>
          <pub-id pub-id-type="doi">10.1115/1.3662552</pub-id>
        </citation>
      </ref>
      <ref id="B6-futureinternet-05-00001">
        <label>6.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Venkatraman</surname>
              <given-names>A.</given-names>
            </name>
            <name>
              <surname>Bhat</surname>
              <given-names>S.P.</given-names>
            </name>
          </person-group>
          <article-title>Optimal planar turns under acceleration constraints</article-title>
          <source>Proceedings of 45th IEEE Conference on Decision and Control</source>
          <conf-loc>San Diego, CA, USA</conf-loc>
          <conf-date>13–15 December 2006</conf-date>
          <fpage>235</fpage>
          <lpage>240</lpage>
        </citation>
      </ref>
      <ref id="B7-futureinternet-05-00001">
        <label>7.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Anisi</surname>
              <given-names>D.A.</given-names>
            </name>
            <name>
              <surname>Hamberg</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Hu</surname>
              <given-names>X.</given-names>
            </name>
          </person-group>
          <article-title>Nearly time optimal paths for a ground vehicle</article-title>
          <source>J. Control Theory Appl.</source>
          <year>2003</year>
          <volume>1</volume>
          <fpage>2</fpage>
          <lpage>8</lpage>
          <pub-id pub-id-type="doi">10.1007/s11768-003-0002-6</pub-id>
        </citation>
      </ref>
      <ref id="B8-futureinternet-05-00001">
        <label>8.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Tjahjana</surname>
              <given-names>H.</given-names>
            </name>
            <name>
              <surname>Pranoto</surname>
              <given-names>I.</given-names>
            </name>
            <name>
              <surname>Muhammad</surname>
              <given-names>H.</given-names>
            </name>
            <name>
              <surname>Naiborhu</surname>
              <given-names>J.</given-names>
            </name>
          </person-group>
          <article-title>The numerical control design for a pair of Dubin’s vehicles</article-title>
          <source>Proceedings of the International Conference on Intelligent Unmanned System (ICIUS 2007)</source>
          <conf-loc>Bali, Indonesia</conf-loc>
          <conf-date>24-25 October 2007</conf-date>
        </citation>
      </ref>
      <ref id="B9-futureinternet-05-00001">
        <label>9.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Naranjo</surname>
              <given-names>J.E.</given-names>
            </name>
            <name>
              <surname>Gonzalez</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>Garcia</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>de Pedro</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Haber</surname>
              <given-names>R.E.</given-names>
            </name>
          </person-group>
          <article-title>Power-steering control architecture for automatic driving</article-title>
          <source>IEEE Trans. Intell. Transp. Syst.</source>
          <year>2005</year>
          <volume>6</volume>
          <fpage>406</fpage>
          <lpage>415</lpage>
        <pub-id pub-id-type="doi">10.1109/TITS.2005.858622</pub-id></citation>
      </ref>
      <ref id="B10-futureinternet-05-00001">
        <label>10.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Naranjo</surname>
              <given-names>J.E.</given-names>
            </name>
            <name>
              <surname>Gonzalez</surname>
              <given-names>C.</given-names>
            </name>
            <name>
              <surname>de Pedro</surname>
              <given-names>T.</given-names>
            </name>
            <name>
              <surname>Garcia</surname>
              <given-names>R.</given-names>
            </name>
            <name>
              <surname>Alonso</surname>
              <given-names>J.</given-names>
            </name>
            <name>
              <surname>Sotelo</surname>
              <given-names>M.A.</given-names>
            </name>
            <name>
              <surname>Fernandez</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <article-title>AUTOPIA architecture for automatic driving and maneuvering</article-title>
          <source>Proceedings of Intelligent Transportation Systems Conference</source>
          <conf-loc>Madrid, Spain</conf-loc>
          <conf-date>17-20 Septemper 2006</conf-date>
          <fpage>1220</fpage>
          <lpage>1225</lpage>
        </citation>
      </ref>
      <ref id="B11-futureinternet-05-00001">
        <label>11.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Kirk</surname>
              <given-names>D.E.</given-names>
            </name>
          </person-group>
          <source>Optimal Control Theory: An Introduction</source>
          <publisher-name>Prentice-Hall</publisher-name>
          <publisher-loc>London, UK</publisher-loc>
          <year>1971</year>
        </citation>
      </ref>
      <ref id="B12-futureinternet-05-00001">
        <label>12.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Stratonovich</surname>
              <given-names>R.L.</given-names>
            </name>
          </person-group>
          <source>Topics in the Theory of Random Noise</source>
          <publisher-name>Gordon and Breach</publisher-name>
          <publisher-loc>New York, NY, USA</publisher-loc>
          <year>1963</year>
        </citation>
      </ref>
      <ref id="B13-futureinternet-05-00001">
        <label>13.</label>
        <citation citation-type="book">
          <person-group person-group-type="author">
            <name>
              <surname>Thrun</surname>
              <given-names>S.</given-names>
            </name>
            <name>
              <surname>Burgard</surname>
              <given-names>W.</given-names>
            </name>
            <name>
              <surname>Fox</surname>
              <given-names>D.</given-names>
            </name>
          </person-group>
          <source>Probabilistic Robotics</source>
          <publisher-name>MIT Press</publisher-name>
          <publisher-loc>Cambridge, MA, USA</publisher-loc>
          <year>2005</year>
        </citation>
      </ref>
      <ref id="B14-futureinternet-05-00001">
        <label>14.</label>
        <citation citation-type="confproc">
          <person-group person-group-type="author">
            <name>
              <surname>Eichler</surname>
              <given-names>S.</given-names>
            </name>
          </person-group>
          <article-title>Performance evaluation of the IEEE 802.11p WAVE communication standard</article-title>
          <source>Proceedings of 2007 IEEE 66th Vehicular Technology Conference (VTC-2007 Fall)</source>
          <conf-loc>Munich, Germany</conf-loc>
          <conf-date>30 September-3 October 2007</conf-date>
          <fpage>2199</fpage>
          <lpage>2203</lpage>
        </citation>
      </ref>
      <ref id="B15-futureinternet-05-00001">
        <label>15.</label>
        <citation citation-type="journal">
          <person-group person-group-type="author">
            <name>
              <surname>Vinel</surname>
              <given-names>A.</given-names>
            </name>
          </person-group>
          <article-title>3GPP LTE <italic>versus</italic> IEEE 802.11p/WAVE: Which technology is able to support cooperative vehicular safety applications?</article-title>
          <source>IEEE Wirel. Commun. Lett.</source>
          <year>2012</year>
          <volume>1</volume>
          <fpage>125</fpage>
          <lpage>128</lpage>
        <pub-id pub-id-type="doi">10.1109/WCL.2012.022012.120073</pub-id></citation>
      </ref>
    </ref-list>
  </back>
</article>
