Next Article in Journal
Mixed-Species Cover Crop Biomass Estimation Using Planet Imagery
Previous Article in Journal
A Wireless Multi-Layered EMG/MMG/NIRS Sensor for Muscular Activity Evaluation
Previous Article in Special Issue
Deep Multi-Scale Features Fusion for Effective Violence Detection and Control Charts Visualization
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Advanced Rider-Cornering-Assistance System for PTW Vehicles Developed Using ML KNN Method

1
Laboratory of Renewable Energy, Embedded System and Information Processing, National School of Applied Sciences, Mohammed First University, Oujda 60000, Morocco
2
Department of Engineering, University of Messina, 98158 Messina, Italy
3
Electric, Electronics and Computer Engineering Department, University of Catania, 95125 Catania, Italy
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(3), 1540; https://doi.org/10.3390/s23031540
Submission received: 4 January 2023 / Revised: 25 January 2023 / Accepted: 26 January 2023 / Published: 31 January 2023
(This article belongs to the Special Issue Pattern Recognition Using Neural Networks)

Abstract

:
The dynamic behavior of a Powered Two-Wheeler (PTW) is much more complicated than that of a car, which is due to the strong coupling between the longitudinal and lateral dynamics produced by the large roll angles. This makes the analysis of the dynamics, and therefore the design and synthesis of the controller, particularly complex and difficult. In relation to assistance in dangerous situations, several recent manuscripts have suggested devices with limitations of cornering velocity by proposing restrictive models. However, these models can lead to repulsion by the users of PTW vehicles, significantly limiting vehicle performance. In the present work, the authors developed an Advanced Rider-cornering Assistance System (ARAS) based on the skills learned by riders running across curvilinear trajectories using Artificial Intelligence (AI) and Neural Network (NN) techniques. New algorithms that allow the value of velocity to be estimated by prediction accuracy of up to 99.06% were developed using the K-Nearest Neighbor (KNN) Machine Learning (ML) technique.

1. Introduction

Thanks to the introduction of recent technologies, systems and devices that interpret signals from various sensors and computer-controlled components and safety standards have reached high levels of reliability both for the driver and for the passengers of two-wheeled vehicles [1,2]. Unlike what happened for four-wheeled vehicles, the progress and technological evolution of safety devices for two-wheeled vehicles began with two decades of delay. Throughout the years, improvements in relation to safety have concerned almost exclusively the passive features: airbags, protective clothing, helmets, etc. For example, if the ESC has been available on cars since 1995, the Kronreif und Trunkenpolz Mattighofen (KTM) Austrian motorcycle company introduced the Motorcycle Stability Control (MSC) to a motorcycle only in 2013.
Although model-free design methods have been investigated considerably, up to now, most control synthesis methods and tools are categorized as physic model-based, and the system subject to control is evaluated as a type of dynamic model of the system itself.
The design of the control system requires accurate mathematical modeling since the closed-loop performance is strictly influenced by the dynamic behavior of the system and the use of very accurate sensors and measuring instruments. The control system is characterized by many closely interacting subsystems; advanced control systems are requested for a competitive performance, and an explicit mathematical model is thought for their design; the system seems to be safety critical and an extensive validation of the closed-loop stability and performance by simulation is considered essential.

Related Work

The importance of mathematical models is universally recognized for the design of the control of these safety systems. For this purpose, different types of mathematical models are used, such as detailed models for dynamic system simulation in multibody environments and numerical models based on AI algorithms for control design.
Mathematical models dealing with dynamic simulation are generally quite heavier [3,4,5]; linearization is not always practicable and often involves a loss of accuracy [6,7]. This involves the use of an overpowered on-board computer to assist the driver in better confronting the risks. This is, of course, far from expedient for the motorcycle industry; for this reason, other research was prompted to arise with the aim of simplifying the model [7] or estimating the parameters [8]. Additionally, the two-wheeled is a vehicle whose balance is difficult to recover; for example, there are few or even no actuators available to correct the slip on the bend.
In their previous works, the authors tried to evaluate the maximum cornering velocity using detailed multibody models attempting to also consider the influence of the pilot’s movements [9,10,11,12,13]. Indeed, two vehicles, even if they have the same characteristics (weight, wheelbase, tires, geometry, etc.), can perform very different dynamic cornering behaviors depending on the rider that maneuvers the vehicle. Below in Table 1, the main control systems designed and/or presented in the scientific literature have been classified, indicating for each of them the principle, the use of the instrumentations and the advantages and disadvantages.
A driver who knows his vehicle well has developed an aptitude so to maneuver it on a bend better than the most intelligent existing robot can do (autonomous motorcycles [19]). Our goal is to strengthen the driver’s skill by helping him know to bend more appropriately and providing other information that he could not get directly with sensors.
To achieve this goal, we developed an efficient model based on ML for the prevention of PTW cornering risks with minimum error. The ML techniques reported in the literature are: Multiple Linear Regression (MLR), the Decision Tree (DT), Artificial Neural Network (ANN) and K Nearest Neighbor (KNN), which are used in regression or classification contexts. Our choice was addressed to the ANN and KNN regression approaches because of their suitability for the prediction of continuous quantities and given our previous comparison of effectiveness [20]. Therefore, the choice to use the KNN method is for the following three reasons:
  • As explained in Section 3.1 (description of the methodology), given the nature of the outputs (numerical observations), the form of regression of KNN appears to be the most suitable.
  • We conducted a comparison of the different methods and found that the ANN and KNN gave the best results, but the ANN was unstable given its probabilistic behavior. By calculating R2 indicator, we found that the ANN algorithm gives different values that deviate from 25% to 90%.
  • It is optimal, uses less resources and gives good performance, simple to deploy and to interpret.
The challenges this study aims to address are:
  • The complexity of the PTW (Powered Two Wheelers) dynamics;
  • The lack of driver assistance systems for this type of vehicle;
  • The real-time dynamic parameters sharing of information;
  • The lack of databases in this field.
These challenges are the main obstacles that obstruct the constitution of a development framework based on experience feedback and the design of an affordable driver assistance system for the majority of users of this type of vehicle.
The majority of studies that addressed this topic (curve assistance systems) used an instrumentational approach based on sensors or automatic estimators, but we could cite previous studies conducted in the same spirit [21] in which the author aimed to characterize critical curve situations using AI classification algorithms. Indeed, our work complements his study.
On the other hand, at this stage of the state of the art, the framework has not yet been completely finalized, and the works that arise complement each other. Notably, the use of image recognition and AI for visual detection by camera, which is the main field currently analyzed by researchers.
The research work carried out in this manuscript is organized as follows. Section 2 illustrates the proposed approach used to develop the rider-cornering-assistance system; the formulation, the dynamic quantities considered, and their variation ranges are shown. Section 3 describes the evaluation of the Vcurve correction coefficients through ML based on the KNN regression approach. Section 4 reports the results interpretation and discussion. Finally, in Section 5, the conclusions are showed.

2. Cornering Assistance System Formulation

The system studied consists of a triplet (vehicle, trajectory, driver}; they are related to each other quantities that were null during the longitudinal trajectory (angles, forces and moments, etc.). The system succeeded in going through the curve if the initial speed to take the bend was correctly estimated and if, during the bend, the balance was not disturbed by the environment and/or the driver maneuvers [9].
Efficient algorithms based on ML for the prevention of the PTW cornering risks with a minimum error were developed. ANN and KNN regression approaches were used to predict with high accuracy the continuous quantities involved in the cornering dynamic of the PTW vehicle. A dataset was built by utilizing data from an open dataset source (DataMC.org—Motorcycle Data Acquisition&motorcyclespecs.co.za) that were exploited using known dynamic models and previously developed multibody dynamic models [10]. Our models were able to consider the rider’s movements and evaluate the dynamic response of the PTW vehicle.
The method developed was based on an evaluation of the sideslip angle. During curvilinear trajectory, each vehicle had its characteristic dynamic forces, and these depended on the vehicle geometric parameters, the contact road-tire and the rider actions (body movements). In Figure 1, the dynamic forces involved in the vehicle equilibrium during the curvilinear trajectory with non-zero sideslip angles are shown.
PTW vehicle curvilinear trajectory was controlled by the handlebar, which was connected to the front forks; unlike a car, simply steering does not produce an effective turn; the riders are required to shift their weight and lean the vehicle to some angles (dependent on the speed and turn radius) to maintain a correct trajectory. As with all circular motions, the resultant between lateral force and rolling resistance in the front tire and lateral force and driving force in the rear tire is a centripetal force that pulls the PTW vehicle into the center of the turn. The tires provide the needed friction to maintain contact with the road and the necessary front and rear sideslip angles [22].
For each PTW vehicle dataset “i”, the equilibrium control quantities (reported in Figure 1) are presented as a function of other parameters that authors considered as determinant parameters based on the results of their dynamic simulations. Next are reported, divided by categories, these parameters used to develop effective algorithms based on ML for the prevention of PTW cornering risks.

2.1. Vehicle Parameters

2.1.1. Know Parameters

In Figure 2, the PTW main geometrical and inertial parameters used in the multibody approach are shown:
  • PTW geometry: p: wheelbase; a : trial; ε : caster angle;
  • Front assembly: Mf: front mass;
  • Rear assembly: Mr: rear mass;
  • Front wheel: Rf: wheel radius;
  • Rear wheel: Rr: wheel radius.
One simple and common way to characterize a PTW vehicle is by the ratio:
R n = a n / b n   M f / M r

2.1.2. Unknown Parameters

In motion, some parameters changed their values continuously, especially in cornering. These parameters participated in calculating the different forces and moments that determined the equilibrium. We can mention in particular the coordinates of barycenter Gf, the coordinates of barycenter Gr, the steering damper c, Kλf cornering stiffness, Kϕf the camber stiffness, Kλr cornering stiffness, Kϕr the camber stiffness.

2.2. Tire-Road Parameters

The analysis of the relationship between tires and the road is the subject of extensive studies [23,24]. Our study mainly focused on lateral force equilibrium conditions. In Figure 3, the scheme of the lateral balance of the PTW vehicle during the curvilinear trajectory is shown [10,23,24].
The wheel–road contact is manifested by a deformation of the tire contact surface. The resulting shape was a function of several parameters, in particular the characteristics of the vehicle (tire pressure, load, etc.), the physical quantities generated by the cornering action (roll angle, sideslip angle, etc.) and any presence of lateral forces and braking or driving torques introduced further deformations to the contact patch. With respect to the longitudinal “x” and transversal “y” axes, the patch was not usually symmetrical.
It follows that within the framework of a predictive approach to estimate the said parameters, we rather sought the indicators that could differentiate one vehicle from another. We selected the following parameters:
  • The tires wear as a function of mileage traveled;
  • The adherence to the road;
  • Tire stiffness, a combination of tire pressure and tire type.

2.3. Maneuver Parameters

Despite many studies carried out to model the rider’s behavior [10,25,26], motorcycle dynamics still represent a notoriously thorny topic to deal with, mainly due to the following problems:
  • Because of the presence of the steering head, the description of vehicle kinematics will be complex;
  • To ensure the control of motorcycles, driver action is always required, and this is a variation of driving conditions, such as speed;
  • Riding style, such as the rider’s skill and experience, greatly affects vehicle performance.
  • Figure 4 shows the scheme of PTW driver control system adopted in this study.
In the present study, the PTW maneuverability condition was expressed as a function of two parameters:
  • The type of vehicle: two vehicles that are the same, or very similar, have a higher correlation than motorcycles with different characteristics;
  • The driver: drivers are always different since they may travel the same route at different times and mileage.

2.4. Resultant of Parameters

Following the list of different parameters influencing the dynamics of the PTW vehicle on curves, we can state the complexity of quantifying some parameters or even clarifying a correlation between the parameters, knowing that most of them evolve with time. Indeed, several works have tried to estimate dynamic parameters using conventional methods. In particular, multibody models are widely used to estimate roll angle [27], lateral dynamics forces [28], and attitude estimation [29,30].
The authors’ idea was to estimate an appropriate value of the heeling angle of PTW vehicles by developing estimation algorithms based on on-board measurements. This is mainly due to the fact that the sensors available to measure this variable turn out to be bulky and expensive. Currently, algorithms are used for four-wheeled vehicles; however, for two-wheeled vehicles, it is still an open topic. In the context of two-wheeled vehicles, the authors proposed neural network estimation algorithms that consider the standard on-board measurements available in modern motorcycles to study the role of the most significant signals for estimation.
The approach used in this paper served as a preliminary analysis of this estimation problem because it did not require the direct derivation of physical parameters of motorcycle dynamics in its application. The experimental data collected covered a rich number of maneuvers (66 tests) and were used to optimize the developed algorithms, as many maneuvers were used to analyze the effectiveness of the algorithms.
Thus, our approach suggested an estimation of the parameters of the system considering all the factors that play a role in lateral dynamics (Equation (2)):
V c u r v e = C V e h · C c t · C D r · V r e f
where the coefficients are functions of the parameters described in Table 2:
  • CVeh: Correction coefficient linked to the characteristics of the vehicle; this one is expressed as:
C V e h = f R n ,   R f , R r
  • Cct: Correction coefficient linked to the road-tire relationship; it is expressed as:
C c t = f M l T i r e , μ l a t , P T i r e , T i r e T y p e
  • CDr: Correction coefficient linked to the driver’s behavior; it is expressed as:
C D r = f C V e h ,   C c t ,   T i m e ,   M l d r i v e r
  • Vref: Velocity of the vehicle on the curve c p o s i t i o n performed by a referent driver at Temperature “T”, Humidity “H”, and visibility “Vis”, expressed finally by:
    V r e f = f c p o s i t i o n , T , H , V i s
In case of the referent vehicle {Driver, Vehicle}, the velocity will only depend on the driver records on similar conditions of the environment (correction coefficient = 1):
V c u r v e = V r e f c p o s i t i o n , T , H , V i s

3. Evaluation of the Vcurve Correction Coefficients through the ML KNN Method

3.1. Methodology Description

Table 2 classifies the previously introduced parameters, considering their nature and the proposed method of estimation or measurement. Table 3 reports the values of the parameters used in the first 10 of the 66 tests carried out. The complete table with all the parameters used in the 66 tests is shown in Supplementary Materials.
Our approach was based on credible learning, which means that in the learning phase, we built the dataset considering only referent vehicles equipped with roll angle sensors, accelerometer and drivers having a performant record and riding the most performant vehicle. All referent vehicles travelled the same training trajectory. In addition to the usual equipment, such as the tachometer, each referent vehicle was equipped with the following sensors:
  • Direct TPMS for measuring the pressure and temperature of each tire;
  • Infrared sensor for detecting weather and light conditions;
  • GPS system (possibility of connection with other equipment, such as smartphones);
  • Electro-optical sensor combined Silicon Sensing MEMS (Micro Electro-Mechanical System) gyroscope (CRS-07) for roll angle detection.
Thus, in the training phase and in each study case, between 291 and 300 experiences covered different situations in the appropriate range visible in the last column present in Table 2. The values reported in the section on the training camps varied according to the parameters of the categories analyzed.
Considering the nature of outputs (parameters), we chose regression ML techniques using the K nearest neighbor (KNN). We used “feature similarity” to predict the values of any new data point [31]. This means that a value was assigned to the new point based on how it resembled the points in the training set. The output result was evaluated using Equation (8).
y ˜ x ˜ = i = 1 k w i y x i
where wi is the weighting factor for xi, k is the number of neighbors, y is the response variable and y ˜ is the response variable prediction.

3.2. Friction Coefficient (μlat) Estimation Approach

As we can see in Table 2, parameters are either an unchanged quantity or a measurement that evolves over time. The parameter that resides unknown is friction.
In our previous paper [31], we managed to estimate the adherence value thanks to an approach based on the ML regression method KNN. This method is true only if the vehicles covered by the dataset are similar with the same characteristics and operate under the same conditions. Thus, the database was constructed based on the following criteria for each measure x i :
  • The quantities {Rn, Rf, Rr, TireType} are assumed as provided;
  • The quantities {MlTire, T, H, Vis, PTire} are located in an interval at ± 10 % .
Consequently, based on the precited conditions for the dataset, the regression variables are expressed as follows: x i = V i r é f ,   ϕ r ,   c p o s i t i o n , k = 2 number of neighbors, y = μ i l a t which is the response variable and y ˜ is the response variable predicted. On the training phase, lateral adherence was calculated by using Equation (9) [9]:
  μ l a t = ρ g · V x 2 ϕ r 1 ρ g · ϕ r · V x 2
where µlat, ρ, vx, ϕr, g are respectively: coefficient of static friction, the curvature of the turn, the longitudinal speed, the tilt angle of the road, and gravity.
On the operating phase, for a given curvature c, based on the measures of Vref and ϕr we evaluated directly the adherence of this section of the road by our function y ˜ x ˜ . In Figure 5, the comparison between μlat coefficients predicted and measured is shown.
The similarity between predicted values and real values allowed us to repeat the learning analyzed in [31], so that the new algorithm included the theoretical values. As for the original forecast, the main results are shown below.
Considering that the prediction of the adherence coefficient was the subject of our previous paper. We meant to repeat the learning so that the new algorithm took into account the theoretical values. Hence, the similarity between the predicted and real values.
Likewise, the original prediction here is the results.
As an output, the road grip was evaluated using test data as a function of velocity (Input). In Figure 6, we compared the prediction results given by the two techniques (KNN Sensors 23 01540 i001 and ANN *) with the experimental data (○).
We found that the predicted road grip provided by the KNN model was closest to the experimental values. More than that, ANN was unstable considering its probabilistic behavior. By calculating R2 indicator, we found that the ANN algorithm gave different values that varied from 25% to 90%.

3.3. Vehicle Characteristic Estimation

To evaluate the value of Cveh, we built another dataset of referent vehicles but with different criteria for each measure xi:
  • The quantities {Rn, Rf, Rr} are variable;
  • The quantities {TireType, cposition} are assumed as provided;
  • The quantities {MlTire, T, H, PTire, μlat} situated within an interval with mean values ± 10 % .
Thus: C c t C D r i v e r 1
Then, based on the above conditions for the dataset, the regression variables were expressed as follows: x i = R n ,   R f ,   R r i , k = 2 number of neighbors. The measured correction coefficient of the vehicle y = C V e h i = V i / V r e f c i ,   R n ,   R f ,   R r which is the response variable and y ˜ is the response variable prediction.
In the operating phase, for a given vehicle and based on the characteristics R n ,   R f ,   R r we evaluated directly the coefficient CVeh by the function y ˜ x ˜ . In Figure 7, the comparison between CVeh coefficients predicted and measured is shown.

3.4. Contact Road-Tire Prediction

To create a function that predicts the contact road-tire relationship, we built another dataset of the referent vehicle but with different criteria for each measure x i :
  • The quantities {TireType, PTire, μlat, MlTire} are variable;
  • The quantities {Rn, Rf, Rr, cposition} are assumed as provided;
  • The quantities {T, H, Vis} situated within an interval with mean values ± 10 % .
Thus: C V e h C D r i v e r 1
Then, based on the precited conditions for the dataset, the regression variables are expressed as follows: x i = T i r e T y p e ,   P T i r e ,     μ l a t ,   M l T i r e i , k = 2 number of neighbors, the measured correction coefficient of the vehicle y = C c t i = V i V r e f c i ,   T i r e T y p e ,   P T i r e ,   μ l a t ,   M l T i r e , which is the response variable and y ˜ is the response variable prediction.
In the operating phase, for a given vehicle and based on the characteristics {TireType, PTire, μlat, MlTire} we evaluated Cct coefficient using y ˜ x ˜ function. In Figure 8, the comparison between Cct coefficients predicted and measured is shown.

3.5. Rider Behavior Prediction

This time, to predict rider behavior, we built a dataset with ordinary vehicles for which all the other parameters were fixed except those that we assigned to the driver, namely: T i m e and the record of the driver mileage Mldriver. Thus: C V e h C C t 1 .
Then, based on the precited conditions for the dataset, the regression variables were expressed as follows: x i = T i m e ,   M l d r i v e r i , k = 2 number of neighbors, the measured correction coefficient of the vehicle y = C D r i v e r i = V i V r e f c i which is the response variable and y ˜ is the response variable prediction.
In the operating phase, for a given rider and based on the data {Time, Mldriver}, we can evaluate CDr coefficient using y ˜ x ˜ function. In Figure 9, the comparison between CDr coefficients predicted and measured is shown.

3.6. Overall Results

In this section, the impact of the different correction coefficients on the accuracy of the maximum predicted cornering velocity (Vmax) calculation is shown. Figure 10 shows a signal enveloped within a frame (brown line) that follows the referent velocity realized by the referent vehicle in 66 different tests. The correlation attests to the effectiveness of the prediction method followed. Please note that the trajectory is the same, but the other conditions are different for the 66 different dynamic situations tested.
Comparing the predicted velocity (dotted line) with the real velocity (continous line) of each scenario that considers the application of the correction coefficients (CVeh, Cct, CDr), we can observe the high precision of the model. To evaluate the accuracy, we relied on the measurement of MAE (mean absolute error) using Equation (10):
M A E = 1 n i = 1 n y i y i ^
where n, yi, y i ^ , are respectively: the number of measurements; the value of measurements; the corresponding predicted value; the mean of the measurements. The results shown in Figure 11 highlight a relatively stable prediction for different values of K, but better accuracy is given by K = 2 for each algorithm.
However, different levels of performance were observed for each coefficient, which should be the subject of several factors discussed in the following section.
In fact, the performance of the algorithms does not behave the same way with the variation of K (see also Figure 10). Nevertheless, the only case that reacts significantly to the variation of K is that of Cct prediction. This is explained by our database layout: the KNN algorithm exploits the correlation between the values; thus, the results are limited to the extent of the database that we have used and the diversity of the scenarios that it represents.

4. Discussion

Using the KNN-ML technique, a prediction model of the lateral dynamics of PTW vehicles was developed. The vector of inputs used in the model included the main parameters that characterize the system (vehicle, driver, environment). This choice is not exhaustive, but the acquisition of more measurements requires the possibility and verifiability of ensuring reliable learning.
The developed prediction model allowed the evaluation of Vmax by means of correction coefficients in curvilinear trajectories to implement an effective ARAS. The correction coefficients introduced in the previous section showed a different accuracy. Below, the interpretation of the results is reported for each correction coefficient:
  • Vehicle characteristics estimation Cveh: The results showed a stability of the prediction with good accuracy (MAE = 2.9% in the testing phase); this is mainly due to the fact that inputs are known data (excluding tires) that are objectively identified;
  • Contact road-tire prediction: This is a complex function. In fact, having neglected the Kλ stiffness coefficients for the front and rear assemblies, which are notably impacted by the effect of the shock absorbers, biased the results. On the other hand, given the modest amount of data on our Dataset (291 measurements in total), the algorithm could not obtain sufficiently efficient results (MAE ≈ 35%) despite acting on the coefficient K (Number neighboring points). Consequently, we counted on the application on a more consistent scale to be able to collect a sufficient quantity of data to improve this ratio;
  • Rider behavior prediction: We obtained excellent results of precision and stability (MAE ≈ 0.94%). In fact, the simplicity of the parameters made it possible because we chose to reflect only two aspects that could characterize the driver (mileage, time).
The implementation of a conventional method involved the use of a considerable number of sensors; this kind of equipment was not affordable for every user. As for our developed model, the equipment needed was restricted to data sharing and continuous improvement of the algorithms.
The effectiveness of the developed method was also proved by comparing the maximum cornering velocity values obtained with the present algorithms and the same values calculated using the parametric multibody model of the PTW vehicle and rider developed by one of the authors in the work “An advanced multibody model for evaluating rider’s influence on motorcycle dynamics” [10].
By entering the values of the geometric and inertial parameters used in the evaluation of the above algorithms, it was possible to have a numerical validation of the results obtained using the multibody model described in [10]. The results obtained are shown in Figure 12.
The maximum values of cornering velocity Vmb calculated using the parametric multibody model of the PTW vehicle had an average difference from the same values evaluated with the algorithms developed in the present work Vref always less than 18%.
No AI-based project that proposed an ARAS-PTW was found in the literature. Only the work [32,33] presents similarities to the present research. Here, the authors proposed an approach based on a mathematical estimate. The function introduced is as follows:
J x , u = W a a x , u ω Ψ + W j j x + W j j Ψ u x
where Wa is the acceleration envelope function and Wj is the jerk envelopment function. An additional term was introduced to promote speed.
If we compare the proposed Equation (11) with our proposed one Equation (2), we can state considering the difference of approaches that our approach considers all the variables (Environment, Vehicle, rider) and is based on learning and the accumulation of experiences, while the study proposed by [32] presents a real-time approach that requires access to different parameters (sensor layout).
As shown in Figure 13, the author of [32] supposes that the initial speed to start the curve is already known (velocity in point A); this constitutes the main difference from our research. Precisely, this data is unknown since we cannot have an advanced knowledge of the curve started. This is where our solution comes from, which uses historical data to provide advanced knowledge of the curve to be started.
Similar to our previous article based on AI [33], the present research aims to offer assistance to the rider in critical situations by the acquisition of unknown parameters using ML. The goal of the present research was to be able to continuously increase driving skills while taking advantage of the magic of AI to prevent critical situations.

5. Conclusions

The work carried out aimed to set up a framework for an ARAS-PTW by using machine learning to predict values that could not be measurable or for which instrumentation may be expensive.
Thus, we chose to analyze cornering since it is one of the most critical dynamic situations that PTW vehicles can address. Our approach consisted of considering coefficients that must be deployed to link a PTW vehicle (user of the solution) to a reference vehicle whose dynamic parameters are correctly identified and that is placed under our total supervision.
The resulting algorithms were satisfactory given that the initial data that we used were only experimental data with a limited number of records, and for Cct (correction coefficient linked to road-tire interaction) correction, we did not consider one parameter that may standardize the measures. In fact, the stiffness of the front and rear assemblies should be integrated in future works.
The accuracy with which we measured using the proposed correction coefficients could be (in worst scenario) 38.83%, but the new algorithms can allow us to estimate the value of velocity by a prediction accuracy of up to 99.06%.
Our model was meant to be developed in further steps in the frame established in our research work, but it could also be used as a framework for other works.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/s23031540/s1.

Author Contributions

Conceptualization, F.J., B.H., A.A. and M.C.; methodology, F.J., B.H., A.A. and M.C.; software, F.J., B.H. and M.C.; validation, M.C., A.A. and F.J.; formal analysis, M.C. and A.A.; investigation, M.C. and A.A.; resources, F.J., B.H. and M.C.; data curation, F.J., B.H. and M.C.; writing—original draft preparation, F.J., B.H. and M.C.; writing—review and editing, M.C. and A.A.; visualization, M.C. and A.A.; supervision, M.C.; project administration, F.J., B.H. and M.C.; funding acquisition, M.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the University of Catania [PIACERI 2020/22–GOSPEL/UPB: 61722102132].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The corresponding authors will be happy to provide data that are not directly available in the article.

Conflicts of Interest

The authors declare no conflict of interest with respect to the research, authorship and publication of this article.

References

  1. Seiniger, P.; Schröter, K.; Gail, J. Perspectives for motorcycle stability control systems. Accid. Anal. Prev. 2012, 44, 74–81. [Google Scholar] [CrossRef] [PubMed]
  2. Mobility and Transport. Road Safety. Available online: https://etsc.eu/euroadsafetydata/ (accessed on 3 January 2023).
  3. Pacejka, H. Motorcycle Dynamics; Butterworth-Heinemann: Oxford, UK, 2006; Chapter 11; pp. 517–585. [Google Scholar]
  4. Griffin, J.W.; Popov, A.A. Multibody dynamics simulation of an all-wheel-drive motorcycle for handling and energy efficiency investigations. In Vehicle System Dynamics; EPSRC: London, UK, 2017. [Google Scholar]
  5. Sharp, R.S. The stability and control of motorcycles. Mech. Eng. Sci. 1971, 13, 316–329. [Google Scholar] [CrossRef] [Green Version]
  6. Tanaka, K.; Wang, H. Fuzzy Control Systems Design and Analysis: A Linear Matrix Inequality Approach; John Wiley and Sons: Hoboken, NJ, USA, 2004. [Google Scholar]
  7. Briat, C. LPV & Time-Delay Systems—Analysis, Observation, Filtering & Control; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
  8. Damon, P.M.; Dabladji, H.; Ichalal, D.; Nehaoua, L.; Arioui, H. Estimation of Lateral Motorcycle Dynamics and Rider Action with Luenberger Observer. In Proceedings of the 19th International Conference on Intelligent Transportation Systems (ITSC), Rio de Janeiro, Brazil, 1–4 November 2016. [Google Scholar]
  9. Fakhreddine, J.; Bekkay, H.; Abderrahim, M. New approach for controlling PTW vehicle dynamics: Characterization of critical scenarios. In Proceedings of the 6th International Conference on Wireless Technologies, Embedded and Intelligent Systems (WITS), Fez, Morocco, 14–16 October 2020. [Google Scholar]
  10. Sequenzia, G.; Oliveri, S.M.; Fatuzzo, G.; Calì, M. An advanced multibody model for evaluating rider’s influence on motorcycle dynamics. Proc. Inst. Mech. Eng. Part K J. Multi-Body Dyn. 2015, 229, 193–207. [Google Scholar] [CrossRef]
  11. Oliveri, S.M.; Calì, M.; Catalano, L.; Cirino, S. Structural and Topological Optimization of Motorcycle Frames. ATA-TORINO 2006, 59, 42. [Google Scholar]
  12. Calì, M.; Oliveri, S.M. Application of an effective SIMP method with filtering for topology optimization of motorcycle tubular frame. Int. Rev. Mech. Eng. 2017, 11, 836–844. [Google Scholar] [CrossRef]
  13. Calì, M.; Oliveri, S.M.; Sequenzia, G.; Trovato, F. Geometric and multibody modeling of rider-motorcycle system. In Proceedings of the 20th European Modeling & Simulation Symposium, Cosenza, Italy, 17–19 September 2008; pp. 7–19. [Google Scholar]
  14. Simon, H.; Alexander, L. Learning a Curve Guardian for Motorcycles. In Proceedings of the Intelligent Transportation Systems Conference (ITSC), Auckland, New Zealand, 27–30 October 2019. [Google Scholar]
  15. Abderrahmane, B. Powered Two-Wheeler Riding Pattern Recognition Using a Machine-Learning Framework. In Transactions on Intelligent Transportation Systems; IEEE: Manhattan, NY, USA, 2005; Volume 16, No. 1. [Google Scholar]
  16. Ferhat, A. Powered Two-Wheelers Critical Events Detection and Recognition Using Data-Driven Approaches. In Transactions on Intelligent Transportation Systems; IEEE: Manhattan, NY, USA, 2018. [Google Scholar]
  17. Ryoichi, O. Estimation of Mental Workload during Motorcycle Operation. In Proceedings of the 6th International Conference on Applied Human Factors and Ergonomics (AHFE 2015) and the Affiliated Conferences, Las Vegas, NV, USA, 26–30 July 2015. [Google Scholar]
  18. Damon, P.-M. Lateral & Steering Dynamics Estimation for Single Track Vehicle: Experimental Tests. In Proceedings of the IFAC (International Federation of Automatic Control) Hosting by Elsevier, Toulouse, France, 9–14 July 2017. [Google Scholar]
  19. Oliveri, S.M.; Calì, M.; Catalano, L. Dynamics of motorcycle using flexible elements. In Proceedings of the DESIGN 2002, the 7th International Design Conference, Dubrovnik, Croatia, 14–17 May 2002; pp. 1227–1236. [Google Scholar]
  20. Khettat, M.E.L.A.; Boubezoul, A.; Espie, S.; Bouaziz, S. Autonomous motorcycles: Towards behavioural modelling of steering systems. In Proceedings of the 2012 International Conference on Multimedia Computing and Systems, Tangier, Morocco, 10–12 May 2012; pp. 1103–1108. [Google Scholar]
  21. Attal, F. Classification de Situations de Conduite et Détection des Evénements Critiques d’un Deux Roues Motorisé. Mathématiques Générales [math.GM]. Ph.D. Dissertation, Université Paris-Est, Paris, France, 2005. [Google Scholar]
  22. Cossalter, V. Motorcycle Dynamics, 2nd ed.; Lulu: Morrisville, NC, USA, 2006. [Google Scholar]
  23. Pacejka, H. Tire and Vehicle Dynamics; SA International: New Delhi, India, 2005. [Google Scholar]
  24. Yousif, M.T.; Sadullah, A.F.M.; Kassim, K.A.A. A review of behavioral issues contribution to motorcycle safety. IATSS Res. 2019, 44, 142–154. [Google Scholar] [CrossRef]
  25. Peggy, S. A new instrumented tool for motorcyclist behaviour understanding: Application to roundabouts. In Proceedings of the 6th Transport Research Arena, Warsaw, Poland, 18–21 April 2016; pp. 3791–3800. [Google Scholar]
  26. Boniolo, I.; Savaresi, S.M.; Tanelli, M. Roll angle estimation in two-wheeled vehicles. IET Control Theory App. 2009, 3, 20–32. [Google Scholar] [CrossRef]
  27. Teerhuis, A.P.; Jansen, S.T.H. Motorcycle state estimation for lateral dynamics. Veh. Syst. Dyn. Int. J. Veh. Mech. Mobil. 2012, 50, 1261–1276. [Google Scholar] [CrossRef]
  28. Smaiah, S. A Comparative Analysis of Motorcycle Attitude Estimation in a Trajectory Reconstruction Framework. In Proceedings of the 6th International Conference on Control, Decision and Information Technologies (CoDIT’19), Paris, France, 23–26 April 2019; pp. 23–26. [Google Scholar]
  29. Ivo, B. Attitude estimation of a motorcycle in a Kalman filtering framework. In Proceedings of the 6th IFAC Symposium Advances in Automotive Control, Munich, Germany, 12–14 July 2010; pp. 12–14. [Google Scholar]
  30. Chen, K.W. Connected Vehicle Safety Science, System, and Framework. In World Forum on Internet of Things (WF-IoT); IEEE: Manhattan, NY, USA, 2014. [Google Scholar]
  31. Cunningham, P.; Delany, S.J. K-nearest neighbour classifiers—A tutorial. ACM Comput. Surv. (CSUR) 2021, 54, 1–25. [Google Scholar] [CrossRef]
  32. Biral, F.; Da Lio, M.; Lot, R.; Sartori, R. An intelligent curve warning system for powered two-wheel vehicles. Eur. Transp. Res. Rev. 2010, 2, 147–156. [Google Scholar] [CrossRef]
  33. Fakhreddine, J.; Bekkay, H.; Abderrahim, M. Controlling Powered Two-Wheeled vehicles in bends using machine learning. In Proceedings of the International Conference on Electronic Engineering and Renewable Energy Systems (ICEERE’22), Saidia, Morocco, 20–22 May 2022. [Google Scholar]
Figure 1. Forces acting on PTW vehicle during curvilinear trajectory with non-zero sideslip angle.
Figure 1. Forces acting on PTW vehicle during curvilinear trajectory with non-zero sideslip angle.
Sensors 23 01540 g001
Figure 2. PTW main geometrical and inertial parameters.
Figure 2. PTW main geometrical and inertial parameters.
Sensors 23 01540 g002
Figure 3. PTW lateral equilibrium during curvilinear trajectory.
Figure 3. PTW lateral equilibrium during curvilinear trajectory.
Sensors 23 01540 g003
Figure 4. Scheme of the adopted PTW driver control system.
Figure 4. Scheme of the adopted PTW driver control system.
Sensors 23 01540 g004
Figure 5. Coefficient μlat: predicted v/s real values.
Figure 5. Coefficient μlat: predicted v/s real values.
Sensors 23 01540 g005
Figure 6. Adhesion values as a function of speed.
Figure 6. Adhesion values as a function of speed.
Sensors 23 01540 g006
Figure 7. Coefficient CVeh: predicted v/s real values.
Figure 7. Coefficient CVeh: predicted v/s real values.
Sensors 23 01540 g007
Figure 8. Coefficient Cct: prediction results.
Figure 8. Coefficient Cct: prediction results.
Sensors 23 01540 g008
Figure 9. Coefficient CDr: prediction results.
Figure 9. Coefficient CDr: prediction results.
Sensors 23 01540 g009
Figure 10. Predicted velocity vs. referent and real velocity.
Figure 10. Predicted velocity vs. referent and real velocity.
Sensors 23 01540 g010
Figure 11. Evolution of the MAE indicator as a function of KNN.
Figure 11. Evolution of the MAE indicator as a function of KNN.
Sensors 23 01540 g011
Figure 12. Comparison between maximum cornering velocities predicted with the present ML-KNN method and the calculated multibody model of PTW vehicle.
Figure 12. Comparison between maximum cornering velocities predicted with the present ML-KNN method and the calculated multibody model of PTW vehicle.
Sensors 23 01540 g012
Figure 13. Recommended cinematic quantities in curvilinear trajectory. (a) optimal speed profile; (b) optimal longitudinal acceleration profile; (c) optimal jerk profile; (d) optimal trajectory.
Figure 13. Recommended cinematic quantities in curvilinear trajectory. (a) optimal speed profile; (b) optimal longitudinal acceleration profile; (c) optimal jerk profile; (d) optimal trajectory.
Sensors 23 01540 g013
Table 1. Principle, main advantage and disadvantage of existing methods.
Table 1. Principle, main advantage and disadvantage of existing methods.
Existing MethodsPrincipleAdvantagesDisadvantages/Limitations
Learning a Curve Guardian for Motorcycles [14].Using IA to improve the curve undertaking. Analyzing the instruments’ measured data.Lane localization, adding a learned roll prediction approach, using standard maps for real-world evaluation.Does not anticipate the danger before undertaking the curve.
Does not consider road grip in the estimation of roll angle.
Powered Two-Wheeler Riding Pattern Recognition Using a Machine-Learning Framework [15].Using IA to predict rider behavior. Analyzing the instruments’ measured data.Recognition of the driver action by applying ML on a dataset of measurement collected by sensors.Does not reply completely to the challenge of anticipating dangers on the curve.
Uses a set of sensors that may raise costs.
Powered Two-Wheelers Critical Events Detection and Recognition Using Data-Driven Approaches [16].Development of critical event detection methodology by using AI classification algorithms.The classification of the events with ML techniques, which could constitute a good database to characterize critical events.The experiences collected based on a single model HONDA CBF 1000 which is not beneficial in case of generalization.
Estimation of Mental Workload during Motorcycle Operation [17].Development of a method for mental workload when riding a PTW.Contributes to characterize the driver behaviour by estimating the level of fatigue.Deal partially with the challenges of PTW concerning curve undertaking.
Lateral & Steering Dynamics Estimation for Single Track Vehicle: Experimental Tests [18].Development of on-board instrumentations for lateral and steering dynamic estimation.Deals with lateral and steering dynamics estimation the reconstruction of unknown inputs.Does not anticipate the danger before undertaking the curve.
The loss of information due to linearization is considerable.
Table 2. Parameters used in algorithms for cornering assistance system.
Table 2. Parameters used in algorithms for cornering assistance system.
CategoryParameterMeasureCalculation/Estimation MethodTraining Ranges
Characteristics of the vehicle R n Geometric ratioProvided (constant value)[0.008; 0.061]
R f Radius of front wheel [m]Provided (constant value)[0.085; 0.331]
R r Radius of rear wheel [m]Provided (constant value)[0.084; 0.323]
Contact
road-tire
M l T i r e Mileage record of the tire [Km]Expressed as a ratio reflecting the state of wear of the wheel in relation to
the mileage
[0.007; 0.995]
μ l a t Friction coefficient of the RoadEstimated with ML method [7][0.003; 0.998]
P T i r e Pressure [Bar]Expressed as a ratio reflecting the state of pressure (date < 3 months)[0.5; 1.4]
T i r e T y p e Brand–width–Flank height–Tire structure–Diameter -load index–velocity index–Wet grip index [coding]Provided
(constant value codified as a decimal)
[0.003; 0.999]
Driver
behavior
T i m e Month/Day/Hour
[coding]
Available information, Expressed as a ratio of Driving Time: Driver/Referent driver[0.7; 0.99]
M l d r i v e r Record of the driver [Km]Expressed as a ratio of mileage: Driver/Referent driver[0.5; 0.99]
Referent
vehicle
c p o s i t i o n Radius (m)Provided by GPS position [0.01; 0.05]
T Temperature (°C)Available informationNot considered
H Opto-electronic signal (mA)Available informationNot considered
V i s weather visibility indexAvailable informationNot considered
Table 3. Parameter values used in the tests.
Table 3. Parameter values used in the tests.
TestVehicleCharacteristics
of the Vehicle
Contact Road-TireDriver BehaviourReferent
Vehicle
RnRf (m)Rr (m)MlTire (ratio) μlatPTire
(ratio)
TireType (ratio)CvehCctTime (ratio)Mldriver (ratio)Cposition (1/m)
P1HONDA CBR500R/F/X0.0170.1820.2010.290.801.03430.560.75580.68170.70.50.01
P2LAGENDA 115 R60.0120.1800.1780.250.900.50000.760.80441.09880.70.50.02
P3LAGENDA 115 FZ1500.0190.1170.1210.420.840.50000.940.72001.17310.70.70.02
P4HONDA CBR500R/F/X0.0170.1800.1950.050.441.10600.260.75681.45380.70.80.01
P5HONDA CB650F0.0160.2020.2180.220.570.50000.260.75340.64440.90.80.03
P6LAGENDA 115 XJ60.0120.2050.2120.310.711.20200.640.81410.64180.90.50.05
P7LAGENDA 115 XV950R BOLT0.0210.2540.2390.240.390.50000.280.68820.40770.70.50.05
P8HONDA CB650F0.0190.2070.2100.460.210.50000.280.70111.20420.90.50.01
P9LAGENDA 115 R10.0120.1900.1900.770.440.50000.710.80400.88220.70.50.01
P10LAGENDA 115 NMAX 1550.0120.1250.1170.900.560.63460.910.79240.09450.70.50.05
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jalti, F.; Hajji, B.; Acri, A.; Calì, M. An Advanced Rider-Cornering-Assistance System for PTW Vehicles Developed Using ML KNN Method. Sensors 2023, 23, 1540. https://doi.org/10.3390/s23031540

AMA Style

Jalti F, Hajji B, Acri A, Calì M. An Advanced Rider-Cornering-Assistance System for PTW Vehicles Developed Using ML KNN Method. Sensors. 2023; 23(3):1540. https://doi.org/10.3390/s23031540

Chicago/Turabian Style

Jalti, Fakhreddine, Bekkay Hajji, Alberto Acri, and Michele Calì. 2023. "An Advanced Rider-Cornering-Assistance System for PTW Vehicles Developed Using ML KNN Method" Sensors 23, no. 3: 1540. https://doi.org/10.3390/s23031540

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop