원시데이터 수집 시스템
선정목록으로

Calibration of the Nonlinear Wheel Odometry Model with an Improved Genetic Algorithm Architecture

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Máté Fazekas — Institute for Computer Science and Control, SZTAKI-ELKH, Kende u. 13-17., Budapest, Hungary, --- Select a Country ---
  2. Balázs Németh — Institute for Computer Science and Control, SZTAKI-ELKH, Kende u. 13-17., Budapest, Hungary, --- Select a Country ---
  3. Péter Gáspár — Institute for Computer Science and Control, SZTAKI-ELKH, Kende u. 13-17., Budapest, Hungary, --- Select a Country ---
DOI
10.5220/0011275700003271
저널
Proceedings of the 15th International Conference on Informatics in Control, Automation and Robotics
발행년도
2022
발행기관
–
피인용수
0
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5220/0011275700003271
토픽
Tribology and Lubrication Engineering
OpenAlex ID
W4285613891

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 30,757자

본문 펼치기
To guarantee the required motion estimation accuracy for an autonomous vehicle, the integration of the wheel encoder measurements is an adequate choice besides the generally applied GNSS, inertial and visual-odometry methods. Wheel odometry is a robust and cost-effective technique, but the required calibration of the nonlinear odometry model in the presence of noise remains an open problem in the context of autonomous vehicles. The core problem is that due to the nonlinear behavior of the model, the identified parameters will be biased even with Gaussian-type measurement noises. The presented method operates with genetic algorithms and utilizes two novel improvements: compensation of the state initialization of the model inside the estimation process, and equilibration of the parameter estimation by an adaptive weighting technique. With these innovations the distortion effects are mitigated and unbiased model calibration can be obtained even when several local minimums exist. The performance of the developed algorithm and the accuracy of parameter estimation are demonstrated with detailed validation and test with a real vehicle. INTRODUCTION The state estimation has a critical responsibility in the self-driving software because the trajectory planning and motion control are based on its results. The aim is to determine the motion signals, such as velocities and pose (position and orientation) as accurately as possible, and the robust estimation is also a required capacity in parallel. However, cost-efficiency is important in the automotive industry as well, thus the applied automotive-grade type sensors are from the low-cost ones. The disadvantages of the GNSS (Global Navigation Satellite System), IMU (Inertial Measurement Unit), or vision-based methods can be improved with the integration of the wheel encoder measurements (Funk et al., 2017). Nevertheless, the model containing the encoder measurements suffers from parameter uncertainty. Therefore, this paper focuses on the calibration of the odometry model which is equivalent to the parameter estimation of a nonlinear dynamic system. This type of optimization task behind the calibration process is not solved yet in general, see e.g. (Schoukens and Ljung, 2019), and the problem is more difficult if noisy measurements are applied, such as IMU, GNSS, and wheel-encoder signals. INTRODUCTION Most of the related works in the field of odometry calibration deal with mobile robots. A widely applied method is the Augmented Kalman-filter (Martinelli and Siegwart, 2006;Brunker et al., 2017), in which the parameters are estimated simultaneously with the state filtering. Although the solution is simple, observability issue, convergence difficulty, and unstable behavior can appear, see (Antonelli and Chiaverini, 2007), (Censi et al., 2013). INTRODUCTION The other way is to estimate the parameters in a regression task. However, due to the nonlinear model, the optimization leads to a non-convex problem that is difficult to solve. Separation, or double linearization are applied in some works (Antonelli et al., 2005;Censi et al., 2013;Seegmiller et al., 2013), to simplify the nonlinear calibration task. Nevertheless, these can be only applied with simple and separable models, but for the proper modeling of the behavior of a realsized car an improved odometry model is necessary (Fazekas et al., 2020). INTRODUCTION From the identification scope issues, which even not appear at all in the case of linear system identification (Ljung, 1987), are revealed from the theoretical point of view (Schoukens and Ljung, 2019). Since the model is nonlinear, linearization and a recursive estimation are necessary (Tangirala, 2015). In this case, the initial states of the dynamic model have to be initialized with measurements containing noise, which introduces a new problem. The noise is affected by the nonlinearity, thus its effect on the measured output is no longer familiar with the Gaussian framework, which is applied in almost all methods, such as Kalman-filtering, least squares etc (Ljung, 2010). Thus, the parameter estimation will be certainly biased. Other methods, such as genetic algorithm, that apply random sampling and heuristic based improvements for the convergence instead the gradient, can be used as well, but the distortion effect due to the initialization noise also appears. INTRODUCTION The available measurements for the model calibration and the compensation of the noises are always crucial questions. In several papers, a restrictive requirement is applied, e.g. special pre-defined paths for the vehicle (Jung et al., 2016), unbiased estimation of the initial pose (Antonelli et al., 2005), or measurements with expensive sensors (Censi et al., 2013). To the best of our knowledge, (Maye et al., 2016) is the only paper that deals with the distortion effect of the noises in the odometry parameter estimation, but with a special focus on the observability. If more measurements are available, the optimization can be performed in a batch mode to reduce the impact of the initialization noise, however, a weighting is recommended (Seegmiller et al., 2013). INTRODUCTION This work focuses on the compensation of the initial state noises, and the determination of the relative weights between segments forming a batch. Measurements only from cost-effective automotive-grade type sensors, such as GNSS, IMU, compass and wheel encoders are utilized, and the signals are saved on real streets. In the proposed algorithm the initial states are handled as parameters, and the estimation is performed with genetic algorithms in a complex architecture. The main contribution is that the proposed method transforms the fully explored parameter space by the genetic algorithm into an adaptive weighting procedure. The efficiency of the proposed algorithm is validated with experimental tests of a real-sized vehicle, which demonstrates that the mentioned issues of the noises can be mitigated, and the estimation accuracy can be significantly improved. INTRODUCTION The remainder of the paper is organized as follows. In Section 2, the applied odometry model is presented which includes dynamic effects in order to ensure a proper model for the calibration. Next, the Section 3 introduces the issues of the nonlinear model calibration and summarizes the estimation with a genetic algorithm. The proposed architecture for the calibration can be found in Section 4. The measurement scenarios applied for the estimation are presented in Section 5.1. The validity of our approach is demonstrated via vehicle test experiments in Section 5, and finally, the paper is concluded in Section 6. VEHICLE MODEL The navigation with wheel odometry is based on a model, where the state vector x t contains the pose, the longitudinal and lateral positions of the center of gravity p x,t , p y,t , and the ψ t orientation of the vehicle. The change of the pose is based on the longitudinal v t and angular ω t velocities, thus the planar motion of the vehicle in t discrete time steps is calculated as, VEHICLE MODEL where β t is the filtered sideslip angle. The velocities are computed utilizing the n wheel rotations, v t = (n rl,t · c rl,t + n rr,t · c rr,t )/2, (2a) VEHICLE MODEL where T s = 0.025 s is the sampling time, c rl,t , c rr,t are the actual wheel circumferences, and t r is the rear track width. In the literature, the slight change of the wheel radius due to the effect of vertical dynamic is generally neglected, because the odometry-based localization is widely used in low-speed circumstances, e.g., automated parking. However, our method is developed for general driving, where the dynamics is significant (Fazekas et al., 2020). Therefore, the slight change due to the vertical load transfer is considered, VEHICLE MODEL where the c e is the effective wheel circumference, c d is the difference between the effective values, a y,t is the lateral acceleration measured by the IMU, and the dynamic component d takes into account the effect of vertical dynamics. In the calibration process, every state variable is measured, thus the system model is, VEHICLE MODEL where f (·) contains (1), and θ is the parameter vector. The values are illustrated in the paper with the units of m, mm, m, mm · s 2 /m for the c e , c d ,t r , d parameters, respectively. VEHICLE MODEL The nominal values of c e and t r can be found in the vehicle datasheet, but with these values the position error is already in the range of 10 m after a few hundred meters. Moreover, the c d and d parameters are unknown, thus the calibration is essential. General Methods The calibration problem of a physical model contains the estimation of system parameters Θ, which leads to an optimization task. Generally, this is formulated as a minimization problem of the squared errors of the output, such aŝ General Methods and u k − y k are measured input-output signals. The methods to solve (5) can be grouped according to the usage of gradient techniques. General Methods In the one group, the optimization is solved with the well-known least squares (LS) method which applies the gradient directly. However, in the case of nonlinear models, the dynamic system can not be ordered into the basic least squares form asŷ k (Θ) = φ T k ( u k )Θ, see (Ljung, 1994). Therefore numerical search is required (Tangirala, 2015), where the Gauss-Newton approach is an adequate choice. In this case, the nonlinear least squares problem is handled with the Taylor-approximation of the predictor forming a locally linear estimation and an iterative solution. General Methods The other group contains methods that do not use any gradient to solve the minimization, e.g., particle filter or genetic algorithm. Instead, random sampling of the parameter space, evaluation with the measured input-output signals, and heuristic-based improvements of the possible solutions are applied to reach the optimum. Core Problem of Nonlinear Dynamic Model Calibration Regardless of the applied methods, the calibration of a nonlinear dynamic model has a core problem. The outputs of system model (6) have to be computed with the actual parameter values which requires the initialization of the states x 0 at the beginning of the estimation window. In the odometry model, the output is equal with the state (y k = x k ), thus the measured y k=0 can be utilized for the initialization, Core Problem of Nonlinear Dynamic Model Calibration (7) Due to the appeared noise on it, the integrated model diverges from the correct path even with the true parameter values. Thus, without proper initialization the parameter estimation is biased, because the optimum of (5) differs from the true value of Θ. Estimation in Batch Formulation The distortion effect of state initialization can be handled, if more K long measurement segments are applied at once, such aŝ (8) where N denotes the batch size. For example, in the case of Gauss-Newton method the Jacobian matrices of the segments are stacked into a huge matrix and the parameters are identified in the same iterative way, or in the sampling based methods the actual parameter values are evaluated for all of the N segments. Estimation in Batch Formulation Since the model fitting is performed to every segment simultaneously, the bias resulted by the uncertain state initialization is mitigated. The method can be interpreted as a cross-validation technique inside the estimation process, but it will be illustrated that the optimum of the batch is not necessarily identical with the true value of the parameters. Furthermore, a new issue arises with the batch formulation. The segments are differs in shape of the path, velocity, or the appearing noise of the initialization etc. Therefore, the segment with the highest error has more influence on the optimum, which is unfavourable. Thus, relative weighting between the segments are requested to be introduced to equilibrate the optimization to obtain the true value of the parameters. Initial State as Parameter The distortion effect of the inaccurate state initialization can be eliminated, if the poses at the beginning of the segments are estimated as well (Fazekas et al., 2021). In our algorithm the initial state, when the model outputs are calculated in (7), is included as a parameter to be estimated, such as Initial State as Parameter In the paper, the θ contains the vehicle parameters (4b), ϑ is the state initialization parameters (9), and Θ denotes the parameters to be estimated, specifying at the actual method how to include θ and ϑ. Parameter Estimation with Genetic Algorithms When the optimization problem of (5) has several local optimums, the genetic algorithm (GA) is a proper choice, because this procedure explores the entire parameter space. The estimation process is illustrated in Figure 2. The method starts with the initialization of E pieces of entities (model settings) by random sampling, but only from a given range around the nominal values of the estimated parameters. Next, the population is tested, where the outputs of the model parameterized with the entities are calculated. The entities are ranked by the loss, and if the stopping condition does not occur, a new population is generated. The main idea of the GA is to apply genetic operators or functions inspired by the process of natural selection to obtain convergence to the global optimum. We use the implemented version of GA in MAT-LAB (Mathworks, 2021a), which is based on (Goldberg, 1989). The Selection function chooses the entities as parents to form the new generation of the population. The mathematical method is the stochastic universal sampling (Baker, 1987). These are paired ( Θ a , Θ b ), and the new entities are calculated with the Crossover function, such as Parameter Estimation with Genetic Algorithms where ξ is a vector containing random numbers from the range [0, 1]. The Mutation function enables the GA to search further away from the actual entities. With a low probability (5%), when the crossing is executed a random vector is added to the ξ, which helps to avoid sticking into a local optimum. The final step of the formulation of the new population is the Reinsertion. The stable convergence is ensured with the so-called "elite strategy", where the best entities (5% in our case) in the current generation are guaranteed to survive to the next generation. The other entities are chosen based on the loss values, the best 95% of the entities from the current population and the newly generated 0.8E ones with the crossover and mutation are collected. This iterative evolution of the population continues until the stopping condition, e.g. maximum generation or lower improvement of the best entity than a given limit, is reached. Parameter Estimation with Initialization Compensation The θ vehicle parameters are identified in batch mode with N segments, where the initial state of every segment are also estimated. Since a ϑ n initialization value is independent from the other segments in the batch, several local minimums are exist. Therefore, in our method, the GA is applied for the optimization, because this procedure uses random sampling, making it a suitable methodology for solving problems with several local minimums. The parameter vector and the cost function is the following, Parameter Estimation with Initialization Compensation l(·) = y n,k − y n,k ( θ, ϑ n ) T W n y n,k − y n,k ( θ, ϑ n ) , (11c) where L n is the loss of a segment, and W n is a weight matrix which is formulated, such as Parameter Estimation with Initialization Compensation The w p,x , w p,y , w ψ are the weights of the system equations (4) to compensate the different magnitude of the position error in meter and orientation error in radian, and thus these are the same for every segment in the batch. The values are determined with an experimental tuning, the optimal setting is resulted as Parameter Estimation with Initialization Compensation because only the ratio of the weights matters. In contrast, the w r,n is the relative weight between the segments to prevent that some segments has higher influence than others on the estimated vehicle parameters. Architecture with Relative Weighting Our proposed method integrates a cross-validation based knowledge to determine the proper relative weight of the segments. The main idea is that a segment whose optimal model setting (which minimizes the L n individual segment error) has a high error on the other segment of the batch should not have significant weight in the parameter identification. This idea is implemented in the architecture presented in Figure 3, where there are 3 steps to determine the proper w r,n weights, before the model is calibrated with the presented method in the previous section. Architecture with Relative Weighting Step 1: In the first step, GA based estimation is performed on the segments separately (raw mode). In this step, i max = 7 generations are applied with a population size of E = 2000. Because most of the odometry parameters are geometry ones, the search space can be constrained with the following lower-and upper bounds Architecture with Relative Weighting The initial state parameters are also bounded around the corresponding y n,k=0 filtered pose value ϑ lb = y n,k=0 − [3, 3, 0.2] T , ϑ ub = y n,k=0 + [3, 3, 0.2] T . Architecture with Relative Weighting (15) Since the entire parameter space is explored during the convergence, k-means clustering is performed (Mathworks, 2021b). The parameter space of every segment is represented with C = 200 clusters ( θ n,1..200 sorted by the L n loss) formed from the last 5 generations of entities. Architecture with Relative Weighting Step 2: In the second step, the clustered models are tested on the other segments of the batch, and the average error is computed, Architecture with Relative Weighting where L m ( θ n,c , ϑ m ) is the loss on the m segment with the c − th clustered model of the n segment. Architecture with Relative Weighting Step 3: The mentioned cross-validation based knowledge is transformed to w r,n relative weights in this step. Straight line is fitted to the L n,1..200 errors of the segments, and the weights are calculated in the following way, Architecture with Relative Weighting p = min(p 1,n=1..N )), p = max(p 1,n=1..N )), (17b) Architecture with Relative Weighting where p 1,n is the steepness of the fitted straight of segment n. This scheme determines the w r,n relative weights between 1 and 3, and means that the weight of a segment, whose individual optimal settings (which have increasing error on the actual segment) have decreasing error on the other ones, will be low. In contrast, the segments, whose sorted clustered models have similarly increasing error on the other segments, will get higher weights. Thus, the impact of segments that results in possible incorrect calibration can be mitigated, and in parallel, the estimation bias should be lower. Architecture with Relative Weighting Step 4: Finally, the odometry model is calibrated with the GA in batch mode utilizing the pre-calculated w r,n weights. The bounds for the θ and ϑ parameters are the same as in Step 1, but since in the batch mode the number of parameters is 34 (4 vehicle, and N = 10 times 3 initial state parameters), i max = 10 generations with a population size of E = 10000 is utilized to reach the global optimum. Test Measurement Scenario The test vehicle is a Nissan Leaf electric car which is equipped with automotive-grade GNSS, compass, and IMU sensors, and from the vehicle CAN bus the wheel encoder signals are also saved. The sampling frequency is 40 Hz. The test track is a 24 km long route in suburb and city driving under normal driving conditions. The track contains various bends, two roundabouts, and lots of crossroads. Test Measurement Scenario The signals of the GNSS, compass, and IMU sensor are utilized for the model calibration. The pose can be measured directly with the first two, although these signals are assumed to be noisy but unbiased. In contrast, the pose computation from the acceleration and angular velocity measurements with the IMU is generally biased, but the noise is lower. The filtering problem is well-explored, the implemented method is similar to (Caron et al., 2006) to obtain reference output measurements ( y t ) for the calibration. The sideslip is also estimated with an IMU-based method (Bevly et al., 2006) in the bends, which are detected using the vehicle trajectory. Test Measurement Scenario The 24 km long route is divided into 300 m long segments (K = 1350) with step size of 2.5 s, which results in 2037 segments. Since the c d ,t r and d parameters can be observed properly only with the yaw rate equations (2b), the 1127 segments with higher absolute angular velocity than 0.15 rad/s are selected for the calibration. Validation Process and Error The true value of the θ = [c e , c d ,t r , d] parameters are unknown, thus the model calibration is validated with the position error of the resulted model. In order to avoid overfitting, the segments are regenerated with different initial points. Furthermore, in the validation process, all of the segments are applied regardless of the angular velocity is lower than the limit. The position error of a calibrated model containing θ is calculated for every segment s as, Validation Process and Error ( p x,k − p x,k ( θ)) 2 + ( p y,k − p y,k ( θ)) 2 , (18) and the E p average of these are applied as a validation error to evaluate the calibration. Validation Process and Error Take into account that the minimum validation error is not zero, because the states of the odometry model (4) at the beginning of the segment are initialized with the filtered pose values in the validation process. To find the reachable minimum error, a GAbased search has been also performed, where only the θ vehicle parameters have been estimated. All of the validation segments have been applied, thus it can be an offline validation method only, but we can determine that the minimum position error in this validation case is 2.22 m. Calibration with the Method In this section, the calibration for a given batch with the proposed method is illustrated step-by-step. The detailed results demonstrate the necessity of both improvements as well, i.e., the integration of initial state estimation and the relative weighting. Segment Representation with Clusters In Step 1, GA estimations are performed for every segment individually. The entities of the last 5 generation of the n = 1 segment of the batch can be found in Figure 4. Since the loss of the models are between 0.15 − 2.79, the parameters are in a wide hypercube, e.g. the range of the t r track widths is 1.43 − 1.62 m. The entities of the segment are represented with 199 clusters, which are sorted by the loss, and the best entity is also used as the first "clustered model". In Step 2, the clustered models are tested on the other N − 1 segments and the L n,1..200 average errors (16) are computed. In Figure 5, the loss of the clustered models on the actual segment, and the average error (loss by testing on others) are presented for two segments of the batch. Weight Calculation In Step 3, the w r,n weights are determined. The fitted straight lines to the L n,1..200 average errors are illustrated in Figure 5 as well. For segment 1, the models with higher errors in the actual segment also have higher errors in the other segments. In contrast, in segment 9 it is the opposite. Thus, this segment would distort a good optimum of the batch, since the goal is the minimization of the error. The determined relative weights of the segments with the introduced rule (17) are summarized in Table 1. These are difficult to evaluate alone, but can be done with the examination of the individual optimal parameters of the segments (the first "clusters" of the 200) in Figure 7. The segments 4, 7, 9, 10 have the undesirable negative steepness, and the optimal parameters of these segments are the most different from the batch estimated ones, especially for the c d circumference difference (Figure 7). Parameter Estimation with Initialization Compensation In Parameter Estimation with Initialization Compensation Step 4, the vehicle parameters are estimated in batch mode in parallel with the initial states (Θ = [θ, ϑ 1..N ]) minimizing the loss function (11). It has been mentioned that by integrating the initial states as parameters, the estimation in batch mode is more complicated because a lot of local optimums exist as the ϑ values could compensate each other. This is demonstrated with the best 2000 entities of the final generation of the GA based estimation. The loss of each of these entities are between 0.747 − 0.766 which is a very narrow range. The θ vehicle parameters are in a hypercube with limits that can be found in the first three rows of Table 2. This seems to be a narrow parameter space, but the E p validation error of each of these models are in a range of 2.29 − 2.60 m, which is a significant deviation with respect to the minimum error of 2.22 m. This illustrates the high parameter sensitivity of the odometry model as well. The reason is, although the loss is similar, the ϑ n values of the entities are spread over a wide range resulting in several local minimums. The estimated state initialization parameters (the ∆ deviation from the measured y k for better view) of the 2000 entities are shown in Figure 6. The average of the differences between the maximum and minimum of the ∆p x/y positions, and ∆ψ orientation deviations of the N = 10 segments are 1.31 m, 1.28 m and 1.25 • , respectively. This illustrates that it is possible to reach the same loss with a wide range of estimated ϑ n initial states, due to the mentioned compensation property of the initialization values. The averages of the standard deviations of the segments are also significant with 9.8, and 10.2 cm for the ∆p x/y values. For example, two entities that have almost the same loss could have completely different estimated initialization, as it is illustrated in Figure 6 with Θ a and Θ b . Moreover, the corresponding θ vehicle parameters can lie on the other borders of the parameter hypercube formed by the 2000 entities as it is shown in the last rows of Table 2. Thus, the validation error of the two resulting models are differ significantly (2.58 m vs 2.33 m), but the almost same loss makes it very difficult to infer this during the calibration. This example demonstrates the difficult mathematical optimization generated by the integration of the initial states as parameter and batch estimation mode. However, the genetic algorithm is able to handle this optimization with many local minimums if a sufficiently large population is applied to explore the entire parameter space. Calibration Results In Table 3, the estimated parameters with the proposed method are presented, and calibration results in 4 other cases are illustrated as well: the mean of the results of the 10 segment with GA estimations separately (mean of raws), identified parameters in batch mode without any improvement (batch), with the relative weighting structure in batch mode without initialization estimation (batch weighting), and with the estimation including the initialization parameters but without relative weighting (batch init). Calibration Results It is an interesting result that the model with the mean of the individual (raw) GA estimations has a lower validation error, than the batch calibrated one. The higher error of the batch model is the consequence of the widely different individual loss of the segments, e.g. the loss of segment 4 is 12, while the segments 1, 3, 5, 6 have lower than 1. Therefore, the estimated optimal parameters of the batch have to be much closer to the individual optimum of the segment with high loss. This is why the relative weighting technique has been introduced. Calibration Results The relative weighting technique can compensate for this distortion a bit (third row), and when the initial parameters are taken into account this unfavorable distortion effect is greatly reduced (fourth row). However, it is impossible to decide beforehand whether a segment with high loss is completely wrong or only the state initialization is highly inappropriate. Therefore, the integration of both improvements is necessary, and as we can see the validation error is further decreased with the proposed method, which indicates the unbiased calibration. Results of Other Batches In the previous section, the estimation process with the proposed method is presented in detail on a given batch. The robustness of the method is tested with the formulation of 200 different batch from the 1127 segments, and the proposed calibration is performed one by one. Only the validation errors of the batch calibrations are presented with box-plots in Figure 8. The tests illustrate that with the batch formulation the distortion effects can be mitigated, the median of the validation errors decreases to 2.77 m, from the 3.32 m which can be reached with the mean of the individual GA estimations of the segments. The standard deviation is also lower with 20 cm from the 56 cm with the mean models, but the parameter estimation remains significantly biased. With the application of the relative weighting method and with the integration of the initial states as a parameter, the errors and their standard deviations are further decreased, but not substantially. However, with the proposed method when both improvements are applied, the errors are in a range of 2.24 − 2.70 m, the median error is only 2.34 m, and the 75th percentile model has 2.42 m validation error. The standard deviation of the errors is relatively low with 11 cm. CONCLUSION In this paper, a novel algorithm was presented for the calibration task of the nonlinear wheel odometry model of an autonomous vehicle. The proposed method introduces two innovations, the integration of the initial state of the measurement segments as a parameter to be estimated, and a relative weighting in the batch estimation mode. The method was validated by experimental tests with a real vehicle. The main contribution is that when both improvements are applied, the calibration accuracy is improved. CONCLUSION Finally, the authors consider that with the development of a more complex weighting, the bias-free calibration of every batch can be obtained. In the future we would like to integrate a learning-based weighting, however, the generation of training data is complicated, since it is an open question what would be the optimal weights that result in the true value of the parameters.

섹션 본문 57문단 · 29,099자

(제목 없음)

1To guarantee the required motion estimation accuracy for an autonomous vehicle, the integration of the wheel encoder measurements is an adequate choice besides the generally applied GNSS, inertial and visual-odometry methods. Wheel odometry is a robust and cost-effective technique, but the required calibration of the nonlinear odometry model in the presence of noise remains an open problem in the context of autonomous vehicles. The core problem is that due to the nonlinear behavior of the model, the identified parameters will be biased even with Gaussian-type measurement noises. The presented method operates with genetic algorithms and utilizes two novel improvements: compensation of the state initialization of the model inside the estimation process, and equilibration of the parameter estimation by an adaptive weighting technique. With these innovations the distortion effects are mitigated and unbiased model calibration can be obtained even when several local minimums exist. The performance of the developed algorithm and the accuracy of parameter estimation are demonstrated with detailed validation and test with a real vehicle.

INTRODUCTION

2The state estimation has a critical responsibility in the self-driving software because the trajectory planning and motion control are based on its results. The aim is to determine the motion signals, such as velocities and pose (position and orientation) as accurately as possible, and the robust estimation is also a required capacity in parallel. However, cost-efficiency is important in the automotive industry as well, thus the applied automotive-grade type sensors are from the low-cost ones. The disadvantages of the GNSS (Global Navigation Satellite System), IMU (Inertial Measurement Unit), or vision-based methods can be improved with the integration of the wheel encoder measurements (Funk et al., 2017). Nevertheless, the model containing the encoder measurements suffers from parameter uncertainty. Therefore, this paper focuses on the calibration of the odometry model which is equivalent to the parameter estimation of a nonlinear dynamic system. This type of optimization task behind the calibration process is not solved yet in general, see e.g. (Schoukens and Ljung, 2019), and the problem is more difficult if noisy measurements are applied, such as IMU, GNSS, and wheel-encoder signals.

3Most of the related works in the field of odometry calibration deal with mobile robots. A widely applied method is the Augmented Kalman-filter (Martinelli and Siegwart, 2006;Brunker et al., 2017), in which the parameters are estimated simultaneously with the state filtering. Although the solution is simple, observability issue, convergence difficulty, and unstable behavior can appear, see (Antonelli and Chiaverini, 2007), (Censi et al., 2013).

4The other way is to estimate the parameters in a regression task. However, due to the nonlinear model, the optimization leads to a non-convex problem that is difficult to solve. Separation, or double linearization are applied in some works (Antonelli et al., 2005;Censi et al., 2013;Seegmiller et al., 2013), to simplify the nonlinear calibration task. Nevertheless, these can be only applied with simple and separable models, but for the proper modeling of the behavior of a realsized car an improved odometry model is necessary (Fazekas et al., 2020).

5From the identification scope issues, which even not appear at all in the case of linear system identification (Ljung, 1987), are revealed from the theoretical point of view (Schoukens and Ljung, 2019). Since the model is nonlinear, linearization and a recursive estimation are necessary (Tangirala, 2015). In this case, the initial states of the dynamic model have to be initialized with measurements containing noise, which introduces a new problem. The noise is affected by the nonlinearity, thus its effect on the measured output is no longer familiar with the Gaussian framework, which is applied in almost all methods, such as Kalman-filtering, least squares etc (Ljung, 2010). Thus, the parameter estimation will be certainly biased. Other methods, such as genetic algorithm, that apply random sampling and heuristic based improvements for the convergence instead the gradient, can be used as well, but the distortion effect due to the initialization noise also appears.

6The available measurements for the model calibration and the compensation of the noises are always crucial questions. In several papers, a restrictive requirement is applied, e.g. special pre-defined paths for the vehicle (Jung et al., 2016), unbiased estimation of the initial pose (Antonelli et al., 2005), or measurements with expensive sensors (Censi et al., 2013). To the best of our knowledge, (Maye et al., 2016) is the only paper that deals with the distortion effect of the noises in the odometry parameter estimation, but with a special focus on the observability. If more measurements are available, the optimization can be performed in a batch mode to reduce the impact of the initialization noise, however, a weighting is recommended (Seegmiller et al., 2013).

7This work focuses on the compensation of the initial state noises, and the determination of the relative weights between segments forming a batch. Measurements only from cost-effective automotive-grade type sensors, such as GNSS, IMU, compass and wheel encoders are utilized, and the signals are saved on real streets. In the proposed algorithm the initial states are handled as parameters, and the estimation is performed with genetic algorithms in a complex architecture. The main contribution is that the proposed method transforms the fully explored parameter space by the genetic algorithm into an adaptive weighting procedure. The efficiency of the proposed algorithm is validated with experimental tests of a real-sized vehicle, which demonstrates that the mentioned issues of the noises can be mitigated, and the estimation accuracy can be significantly improved.

8The remainder of the paper is organized as follows. In Section 2, the applied odometry model is presented which includes dynamic effects in order to ensure a proper model for the calibration. Next, the Section 3 introduces the issues of the nonlinear model calibration and summarizes the estimation with a genetic algorithm. The proposed architecture for the calibration can be found in Section 4. The measurement scenarios applied for the estimation are presented in Section 5.1. The validity of our approach is demonstrated via vehicle test experiments in Section 5, and finally, the paper is concluded in Section 6.

VEHICLE MODEL

9The navigation with wheel odometry is based on a model, where the state vector x t contains the pose, the longitudinal and lateral positions of the center of gravity p x,t , p y,t , and the ψ t orientation of the vehicle. The change of the pose is based on the longitudinal v t and angular ω t velocities, thus the planar motion of the vehicle in t discrete time steps is calculated as,

10where β t is the filtered sideslip angle. The velocities are computed utilizing the n wheel rotations, v t = (n rl,t · c rl,t + n rr,t · c rr,t )/2, (2a)

11where T s = 0.025 s is the sampling time, c rl,t , c rr,t are the actual wheel circumferences, and t r is the rear track width. In the literature, the slight change of the wheel radius due to the effect of vertical dynamic is generally neglected, because the odometry-based localization is widely used in low-speed circumstances, e.g., automated parking. However, our method is developed for general driving, where the dynamics is significant (Fazekas et al., 2020). Therefore, the slight change due to the vertical load transfer is considered,

12where the c e is the effective wheel circumference, c d is the difference between the effective values, a y,t is the lateral acceleration measured by the IMU, and the dynamic component d takes into account the effect of vertical dynamics. In the calibration process, every state variable is measured, thus the system model is,

13where f (·) contains (1), and θ is the parameter vector. The values are illustrated in the paper with the units of m, mm, m, mm · s 2 /m for the c e , c d ,t r , d parameters, respectively.

14The nominal values of c e and t r can be found in the vehicle datasheet, but with these values the position error is already in the range of 10 m after a few hundred meters. Moreover, the c d and d parameters are unknown, thus the calibration is essential.

General Methods

15The calibration problem of a physical model contains the estimation of system parameters Θ, which leads to an optimization task. Generally, this is formulated as a minimization problem of the squared errors of the output, such aŝ

16and u k − y k are measured input-output signals. The methods to solve (5) can be grouped according to the usage of gradient techniques.

17In the one group, the optimization is solved with the well-known least squares (LS) method which applies the gradient directly. However, in the case of nonlinear models, the dynamic system can not be ordered into the basic least squares form asŷ k (Θ) = φ T k ( u k )Θ, see (Ljung, 1994). Therefore numerical search is required (Tangirala, 2015), where the Gauss-Newton approach is an adequate choice. In this case, the nonlinear least squares problem is handled with the Taylor-approximation of the predictor forming a locally linear estimation and an iterative solution.

18The other group contains methods that do not use any gradient to solve the minimization, e.g., particle filter or genetic algorithm. Instead, random sampling of the parameter space, evaluation with the measured input-output signals, and heuristic-based improvements of the possible solutions are applied to reach the optimum.

Core Problem of Nonlinear Dynamic Model Calibration

19Regardless of the applied methods, the calibration of a nonlinear dynamic model has a core problem. The outputs of system model (6) have to be computed with the actual parameter values which requires the initialization of the states x 0 at the beginning of the estimation window. In the odometry model, the output is equal with the state (y k = x k ), thus the measured y k=0 can be utilized for the initialization,

20(7) Due to the appeared noise on it, the integrated model diverges from the correct path even with the true parameter values. Thus, without proper initialization the parameter estimation is biased, because the optimum of (5) differs from the true value of Θ.

Estimation in Batch Formulation

21The distortion effect of state initialization can be handled, if more K long measurement segments are applied at once, such aŝ (8) where N denotes the batch size. For example, in the case of Gauss-Newton method the Jacobian matrices of the segments are stacked into a huge matrix and the parameters are identified in the same iterative way, or in the sampling based methods the actual parameter values are evaluated for all of the N segments.

22Since the model fitting is performed to every segment simultaneously, the bias resulted by the uncertain state initialization is mitigated. The method can be interpreted as a cross-validation technique inside the estimation process, but it will be illustrated that the optimum of the batch is not necessarily identical with the true value of the parameters. Furthermore, a new issue arises with the batch formulation. The segments are differs in shape of the path, velocity, or the appearing noise of the initialization etc. Therefore, the segment with the highest error has more influence on the optimum, which is unfavourable. Thus, relative weighting between the segments are requested to be introduced to equilibrate the optimization to obtain the true value of the parameters.

Initial State as Parameter

23The distortion effect of the inaccurate state initialization can be eliminated, if the poses at the beginning of the segments are estimated as well (Fazekas et al., 2021). In our algorithm the initial state, when the model outputs are calculated in (7), is included as a parameter to be estimated, such as

24In the paper, the θ contains the vehicle parameters (4b), ϑ is the state initialization parameters (9), and Θ denotes the parameters to be estimated, specifying at the actual method how to include θ and ϑ.

Parameter Estimation with Genetic Algorithms

25When the optimization problem of (5) has several local optimums, the genetic algorithm (GA) is a proper choice, because this procedure explores the entire parameter space. The estimation process is illustrated in Figure 2. The method starts with the initialization of E pieces of entities (model settings) by random sampling, but only from a given range around the nominal values of the estimated parameters. Next, the population is tested, where the outputs of the model parameterized with the entities are calculated. The entities are ranked by the loss, and if the stopping condition does not occur, a new population is generated. The main idea of the GA is to apply genetic operators or functions inspired by the process of natural selection to obtain convergence to the global optimum. We use the implemented version of GA in MAT-LAB (Mathworks, 2021a), which is based on (Goldberg, 1989). The Selection function chooses the entities as parents to form the new generation of the population. The mathematical method is the stochastic universal sampling (Baker, 1987). These are paired ( Θ a , Θ b ), and the new entities are calculated with the Crossover function, such as

26where ξ is a vector containing random numbers from the range [0, 1]. The Mutation function enables the GA to search further away from the actual entities. With a low probability (5%), when the crossing is executed a random vector is added to the ξ, which helps to avoid sticking into a local optimum. The final step of the formulation of the new population is the Reinsertion. The stable convergence is ensured with the so-called "elite strategy", where the best entities (5% in our case) in the current generation are guaranteed to survive to the next generation. The other entities are chosen based on the loss values, the best 95% of the entities from the current population and the newly generated 0.8E ones with the crossover and mutation are collected. This iterative evolution of the population continues until the stopping condition, e.g. maximum generation or lower improvement of the best entity than a given limit, is reached.

Parameter Estimation with Initialization Compensation

27The θ vehicle parameters are identified in batch mode with N segments, where the initial state of every segment are also estimated. Since a ϑ n initialization value is independent from the other segments in the batch, several local minimums are exist. Therefore, in our method, the GA is applied for the optimization, because this procedure uses random sampling, making it a suitable methodology for solving problems with several local minimums. The parameter vector and the cost function is the following,

28l(·) = y n,k − y n,k ( θ, ϑ n ) T W n y n,k − y n,k ( θ, ϑ n ) , (11c) where L n is the loss of a segment, and W n is a weight matrix which is formulated, such as

29The w p,x , w p,y , w ψ are the weights of the system equations (4) to compensate the different magnitude of the position error in meter and orientation error in radian, and thus these are the same for every segment in the batch. The values are determined with an experimental tuning, the optimal setting is resulted as

30because only the ratio of the weights matters. In contrast, the w r,n is the relative weight between the segments to prevent that some segments has higher influence than others on the estimated vehicle parameters.

Architecture with Relative Weighting

31Our proposed method integrates a cross-validation based knowledge to determine the proper relative weight of the segments. The main idea is that a segment whose optimal model setting (which minimizes the L n individual segment error) has a high error on the other segment of the batch should not have significant weight in the parameter identification. This idea is implemented in the architecture presented in Figure 3, where there are 3 steps to determine the proper w r,n weights, before the model is calibrated with the presented method in the previous section.

32Step 1: In the first step, GA based estimation is performed on the segments separately (raw mode). In this step, i max = 7 generations are applied with a population size of E = 2000. Because most of the odometry parameters are geometry ones, the search space can be constrained with the following lower-and upper bounds

33The initial state parameters are also bounded around the corresponding y n,k=0 filtered pose value ϑ lb = y n,k=0 − [3, 3, 0.2] T , ϑ ub = y n,k=0 + [3, 3, 0.2] T .

34(15) Since the entire parameter space is explored during the convergence, k-means clustering is performed (Mathworks, 2021b). The parameter space of every segment is represented with C = 200 clusters ( θ n,1..200 sorted by the L n loss) formed from the last 5 generations of entities.

35Step 2: In the second step, the clustered models are tested on the other segments of the batch, and the average error is computed,

36where L m ( θ n,c , ϑ m ) is the loss on the m segment with the c − th clustered model of the n segment.

37Step 3: The mentioned cross-validation based knowledge is transformed to w r,n relative weights in this step. Straight line is fitted to the L n,1..200 errors of the segments, and the weights are calculated in the following way,

38p = min(p 1,n=1..N )), p = max(p 1,n=1..N )), (17b)

39where p 1,n is the steepness of the fitted straight of segment n. This scheme determines the w r,n relative weights between 1 and 3, and means that the weight of a segment, whose individual optimal settings (which have increasing error on the actual segment) have decreasing error on the other ones, will be low. In contrast, the segments, whose sorted clustered models have similarly increasing error on the other segments, will get higher weights. Thus, the impact of segments that results in possible incorrect calibration can be mitigated, and in parallel, the estimation bias should be lower.

40Step 4: Finally, the odometry model is calibrated with the GA in batch mode utilizing the pre-calculated w r,n weights. The bounds for the θ and ϑ parameters are the same as in Step 1, but since in the batch mode the number of parameters is 34 (4 vehicle, and N = 10 times 3 initial state parameters), i max = 10 generations with a population size of E = 10000 is utilized to reach the global optimum.

Test Measurement Scenario

41The test vehicle is a Nissan Leaf electric car which is equipped with automotive-grade GNSS, compass, and IMU sensors, and from the vehicle CAN bus the wheel encoder signals are also saved. The sampling frequency is 40 Hz. The test track is a 24 km long route in suburb and city driving under normal driving conditions. The track contains various bends, two roundabouts, and lots of crossroads.

42The signals of the GNSS, compass, and IMU sensor are utilized for the model calibration. The pose can be measured directly with the first two, although these signals are assumed to be noisy but unbiased. In contrast, the pose computation from the acceleration and angular velocity measurements with the IMU is generally biased, but the noise is lower. The filtering problem is well-explored, the implemented method is similar to (Caron et al., 2006) to obtain reference output measurements ( y t ) for the calibration. The sideslip is also estimated with an IMU-based method (Bevly et al., 2006) in the bends, which are detected using the vehicle trajectory.

43The 24 km long route is divided into 300 m long segments (K = 1350) with step size of 2.5 s, which results in 2037 segments. Since the c d ,t r and d parameters can be observed properly only with the yaw rate equations (2b), the 1127 segments with higher absolute angular velocity than 0.15 rad/s are selected for the calibration.

Validation Process and Error

44The true value of the θ = [c e , c d ,t r , d] parameters are unknown, thus the model calibration is validated with the position error of the resulted model. In order to avoid overfitting, the segments are regenerated with different initial points. Furthermore, in the validation process, all of the segments are applied regardless of the angular velocity is lower than the limit. The position error of a calibrated model containing θ is calculated for every segment s as,

45( p x,k − p x,k ( θ)) 2 + ( p y,k − p y,k ( θ)) 2 , (18) and the E p average of these are applied as a validation error to evaluate the calibration.

46Take into account that the minimum validation error is not zero, because the states of the odometry model (4) at the beginning of the segment are initialized with the filtered pose values in the validation process. To find the reachable minimum error, a GAbased search has been also performed, where only the θ vehicle parameters have been estimated. All of the validation segments have been applied, thus it can be an offline validation method only, but we can determine that the minimum position error in this validation case is 2.22 m.

Calibration with the Method

47In this section, the calibration for a given batch with the proposed method is illustrated step-by-step. The detailed results demonstrate the necessity of both improvements as well, i.e., the integration of initial state estimation and the relative weighting.

Segment Representation with Clusters

48In Step 1, GA estimations are performed for every segment individually. The entities of the last 5 generation of the n = 1 segment of the batch can be found in Figure 4. Since the loss of the models are between 0.15 − 2.79, the parameters are in a wide hypercube, e.g. the range of the t r track widths is 1.43 − 1.62 m. The entities of the segment are represented with 199 clusters, which are sorted by the loss, and the best entity is also used as the first "clustered model". In Step 2, the clustered models are tested on the other N − 1 segments and the L n,1..200 average errors (16) are computed. In Figure 5, the loss of the clustered models on the actual segment, and the average error (loss by testing on others) are presented for two segments of the batch.

Weight Calculation

49In Step 3, the w r,n weights are determined. The fitted straight lines to the L n,1..200 average errors are illustrated in Figure 5 as well. For segment 1, the models with higher errors in the actual segment also have higher errors in the other segments. In contrast, in segment 9 it is the opposite. Thus, this segment would distort a good optimum of the batch, since the goal is the minimization of the error. The determined relative weights of the segments with the introduced rule (17) are summarized in Table 1. These are difficult to evaluate alone, but can be done with the examination of the individual optimal parameters of the segments (the first "clusters" of the 200) in Figure 7. The segments 4, 7, 9, 10 have the undesirable negative steepness, and the optimal parameters of these segments are the most different from the batch estimated ones, especially for the c d circumference difference (Figure 7).

Parameter Estimation with Initialization Compensation

50In

51Step 4, the vehicle parameters are estimated in batch mode in parallel with the initial states (Θ = [θ, ϑ 1..N ]) minimizing the loss function (11). It has been mentioned that by integrating the initial states as parameters, the estimation in batch mode is more complicated because a lot of local optimums exist as the ϑ values could compensate each other. This is demonstrated with the best 2000 entities of the final generation of the GA based estimation. The loss of each of these entities are between 0.747 − 0.766 which is a very narrow range. The θ vehicle parameters are in a hypercube with limits that can be found in the first three rows of Table 2. This seems to be a narrow parameter space, but the E p validation error of each of these models are in a range of 2.29 − 2.60 m, which is a significant deviation with respect to the minimum error of 2.22 m. This illustrates the high parameter sensitivity of the odometry model as well. The reason is, although the loss is similar, the ϑ n values of the entities are spread over a wide range resulting in several local minimums. The estimated state initialization parameters (the ∆ deviation from the measured y k for better view) of the 2000 entities are shown in Figure 6. The average of the differences between the maximum and minimum of the ∆p x/y positions, and ∆ψ orientation deviations of the N = 10 segments are 1.31 m, 1.28 m and 1.25 • , respectively. This illustrates that it is possible to reach the same loss with a wide range of estimated ϑ n initial states, due to the mentioned compensation property of the initialization values. The averages of the standard deviations of the segments are also significant with 9.8, and 10.2 cm for the ∆p x/y values. For example, two entities that have almost the same loss could have completely different estimated initialization, as it is illustrated in Figure 6 with Θ a and Θ b . Moreover, the corresponding θ vehicle parameters can lie on the other borders of the parameter hypercube formed by the 2000 entities as it is shown in the last rows of Table 2. Thus, the validation error of the two resulting models are differ significantly (2.58 m vs 2.33 m), but the almost same loss makes it very difficult to infer this during the calibration. This example demonstrates the difficult mathematical optimization generated by the integration of the initial states as parameter and batch estimation mode. However, the genetic algorithm is able to handle this optimization with many local minimums if a sufficiently large population is applied to explore the entire parameter space.

Calibration Results

52In Table 3, the estimated parameters with the proposed method are presented, and calibration results in 4 other cases are illustrated as well: the mean of the results of the 10 segment with GA estimations separately (mean of raws), identified parameters in batch mode without any improvement (batch), with the relative weighting structure in batch mode without initialization estimation (batch weighting), and with the estimation including the initialization parameters but without relative weighting (batch init).

53It is an interesting result that the model with the mean of the individual (raw) GA estimations has a lower validation error, than the batch calibrated one. The higher error of the batch model is the consequence of the widely different individual loss of the segments, e.g. the loss of segment 4 is 12, while the segments 1, 3, 5, 6 have lower than 1. Therefore, the estimated optimal parameters of the batch have to be much closer to the individual optimum of the segment with high loss. This is why the relative weighting technique has been introduced.

54The relative weighting technique can compensate for this distortion a bit (third row), and when the initial parameters are taken into account this unfavorable distortion effect is greatly reduced (fourth row). However, it is impossible to decide beforehand whether a segment with high loss is completely wrong or only the state initialization is highly inappropriate. Therefore, the integration of both improvements is necessary, and as we can see the validation error is further decreased with the proposed method, which indicates the unbiased calibration.

Results of Other Batches

55In the previous section, the estimation process with the proposed method is presented in detail on a given batch. The robustness of the method is tested with the formulation of 200 different batch from the 1127 segments, and the proposed calibration is performed one by one. Only the validation errors of the batch calibrations are presented with box-plots in Figure 8. The tests illustrate that with the batch formulation the distortion effects can be mitigated, the median of the validation errors decreases to 2.77 m, from the 3.32 m which can be reached with the mean of the individual GA estimations of the segments. The standard deviation is also lower with 20 cm from the 56 cm with the mean models, but the parameter estimation remains significantly biased. With the application of the relative weighting method and with the integration of the initial states as a parameter, the errors and their standard deviations are further decreased, but not substantially. However, with the proposed method when both improvements are applied, the errors are in a range of 2.24 − 2.70 m, the median error is only 2.34 m, and the 75th percentile model has 2.42 m validation error. The standard deviation of the errors is relatively low with 11 cm.

CONCLUSION

56In this paper, a novel algorithm was presented for the calibration task of the nonlinear wheel odometry model of an autonomous vehicle. The proposed method introduces two innovations, the integration of the initial state of the measurement segments as a parameter to be estimated, and a relative weighting in the batch estimation mode. The method was validated by experimental tests with a real vehicle. The main contribution is that when both improvements are applied, the calibration accuracy is improved.

57Finally, the authors consider that with the development of a more complex weighting, the bias-free calibration of every batch can be obtained. In the future we would like to integrate a learning-based weighting, however, the generation of training data is complicated, since it is an open question what would be the optimal weights that result in the true value of the parameters.

참고문헌

참고문헌 정보가 없습니다.