1. Introduction
An increase in the number of cars has led to urban traffic congestion and parking difficulty. By contrast, a motorcycle features greater mobility and efficiency in congested cities due to its small footprint. Motorcycles have become a popular means of transportation for mass short-distance travel. Data from the Traffic Management Bureau of the Ministry of Public Security shows that 10.05 million motorcycles were registered nationwide in 2021, which was an increase of 1.79 million over 2020 [
1]. Motorcycle structure is similar to an inverted pendulum, so it is a static unstable system. Under turning operation, the roll angle increases, which leads to the risk of rolling over. If braking is applied in turning, the risk of rolling over increases significantly. The recent advancements in active safety systems, including electronic stability programs (ESC) and vehicle stability control (VSC), have significantly enhanced the safety features of automobiles. Motorcycles travel at speeds up to 80 km/h, but few active safety systems are applied to motorcycles. Especially under turning braking conditions, a motorcycle is also far more likely to be involved in an accident than a car. Given the wide application of motorcycles, and the weak security, the study of a turning brake system for motorcycles has important practical significance [
2,
3].
The braking system is an important part of the active safety system for motorcycles, and an anti-lock braking system (ABS) for motorcycles was introduced in the late 1980s to decrease the braking distance by ensuring that the wheel rotates during hard braking. Tests show that ABS decreases stopping distances, increases braking stability and prevents motorcyclists from falling [
4]. There have been many studies of methods to increase motorcycle braking performance.
Ganesh V et al. [
5] proposed a variable braking force system that adjusts braking force by changing the radius of the effective brake disk according to the vertical load between the tire and the ground. Thomas et al. [
6] proposed a comprehensive motorcycle stability control (MSC) system, which synergistically integrates an anti-lock braking system (ABS), electronic braking, traction control, and an inertial measurement unit to bolster the vehicle’s stability and safety.
Baumann et al. [
7] employed a model predictive control algorithm (MPCA) to optimally distribute power to the front and rear wheels, effectively reducing steering torque during cornering. This approach is designed to preserve directional stability, ensuring a more controlled and predictable ride. Harshal Rameshwar More et al. [
8] designed an anti-lock braking system for motorcycles that uses linear PID control. The electronic control unit calculates the slip ratio using the wheel speed and the vehicle speed. The slip ratio feeds back to the PID controller, which then adjusts the braking torque to control the tire slip ratio to a reference slip rate of −0.2.
Wu Longhui [
9] proposed an ideal distribution curve for brake force for the front and rear wheels of a motorcycle on road surfaces with different adhesion coefficients by determining the relationship between brake force, ground brake force and the adhesion force for a motorcycle. Soni et al. [
10] established a method to distribute braking force between the front and rear wheels and designed a joint braking system by determining the effect of the roll angle and the friction coefficient during straight-line operation and turning. BikeSim 2022 and MATLAB 2023b/Simulink software have been used to conduct simulations to verify rationality. The braking control strategy that was proposed by Melnikov et al. [
11] generates a control signal by calculating the derivative of the lateral force of the ground on the wheel. If the derivative of the lateral force is negative, the tire slips and stability is lost, so the braking force is adjusted. The system is similar to the Electronic Stability Control (ESC) system for cars, and increases braking stability and controllability for motorcycles.
Yuan-Ting Lin et al. [
12,
13] proposed a variable combined braking system that uses an adaptive control algorithm that can adjust the distribution of the braking force between the front and rear wheels. Fernandez J P et al. [
14] proposed an anti-lock braking system that uses fuzzy logic. The motorcycle parameters are calculated using an extended Kalman filter to determine the slip ratio and the road adhesion coefficient. The difference between the current slip ratio and the optimal slip rate, the deviation change rate, and the road adhesion coefficient are input to the fuzzy logic to generate a control command. To increase the performance of fuzzy logic control, a co-evolution algorithm is used to optimize the control parameters. Arjun Phalke et al. [
15] proposed an optimal braking force distribution method for combined front and rear wheel braking that considers the influence of suspension. García-León, R. A. et al. [
16,
17] analyzed the thermal properties of three different motorcycle brake disks through the finite element method, and the results show that the systems with higher cylinder capacity can guarantee better braking distance.
Most studies [
6,
7,
9,
10,
12,
13] design a motorcycle braking system that prevents skidding, and there is a lack of studies about tire models. The tire is a vital component of a vehicle, and the interaction between the tire and the ground through contact force plays a fundamental role in maintaining the vehicle’s stability during braking. One study [
8] directly defines the optimal slip ratio as −0.2, which corresponds to the maximum longitudinal force for braking control for a specific tire slip rate. This braking strategy increases braking performance when driving in a straight line, but can cause instability if there is insufficient lateral force during turning. One study [
11] proposes a braking system using the lateral force change rate to ensure the stability of vehicles, but there is a lack of correlation analysis on braking performance. One proposed braking system [
14,
15] is only suitable for straight-line braking.
Pacejka, H [
18] showed in a study of motorcycle tire dynamics that in addition to the longitudinal braking force, centrifugal force is offset by the lateral force that is exerted by the ground when the motorcycle is turning and braking. Sufficient lateral force ensures vehicle stability. However, longitudinal and lateral forces are affected by the friction ellipse. On this basis, the study [
19] proposed constraint optimization to calculate the optimal slip ratio that serves as the input of the brake system. Though the input is autoregulative according to motorcycle dynamics, the optimal slip ratio depends on four kinematic parameters: vertical force, roll angle, velocity and sideslip angle. Most of these parameters, such as roll angle vertical force and sideslip angle, cannot be measured directly via sensor, which means an estimation or calculation for these parameters is necessary if this brake system is considered for actual application. Too many parameters increase the calculation time of the system, and then affect the brake reaction sensitivity. Roll angle is an important parameter, and it has a direct impact on motorcycle stability. The estimation algorithm based on the Kalman filter from [
20] makes the acquisition of the roll angle possible. Motivated by the above discussion, this paper combines the result of [
19,
20], and proposes a turning brake system that includes roll angle estimation and calculation for vertical force. Negligible parameters are ignored, and all parameters that are used in this system can be estimated or calculated by sensor signals, which is an improvement of the work in [
19]. The proposed brake system is more pragmatic. The major contribution of this study is an increase in the braking performance and stability of motorcycles in a turn.
This paper is organized as follows. In
Section 2, a constrained optimization model that generates the optimal slip ratio is proposed and solved.
Section 3 calculates the front and rear tire vertical force.
Section 4 determines the roll angle using a two-step measure update and Kalman filter theory.
Section 5 delineates the architecture of the turning braking system, with a simulation of its performance executed through MATLAB/Simulink and BikeSim.
Section 6 culminates with the conclusions drawn from the study.
2. Optimization Model for the Optimum Slip Ratio
If a motorcycle brakes during a turn, the body leans at an angle. the body roll angle is equal to the camber angle, i.e.,
ϕ =
γ. The gravity generates torque to balance the torque that is exerted by the centrifugal force
on the body. The centrifugal force creates a side reaction force from the ground on the tire. In other words, tires are subject to longitudinal and lateral forces. According to Pacejka tire model, the longitudinal force
can be expressed as follows:
The parameters in Equation (1) are shown as follows:
Similarly, the lateral force
can be expressed as follows:
The parameters in Equation (2) are shown as follows:
Taking the tire (mc150/55R17) as the research object, the parameters are shown in
Table 1.
Referring to motorcycle dynamics software BikeSim, the Pacejka tire model fitting parameters are shown in
Table 2.
These parameters are inserted into Equations (1) and (2) by MATLAB, and, given the slip ratio, sideslip angle, roll angle, vertical force and road friction coefficient, the longitudinal and lateral force can be obtained. The influence of longitudinal force on the lateral force can be demonstrated by friction ellipse, as shown in
Figure 1.
The friction ellipse is composed of longitudinal force and lateral force; in the case of a certain sideslip angle, with the increase in longitudinal force, due to the change in the lateral elasticity of the tire, the limit lateral force provided by the ground decreases. Should the lateral force exerted by the ground on the tire prove insufficient to counteract the centrifugal force, the vehicle is at risk of lateral skidding or even overturning. The lateral force directly affects the directional stability. If the maximum lateral force
Fy_max exerted by the ground is greater than
, the vehicle turns stably; otherwise, sideslip occurs. The tire is subjected to a longitudinal force and a lateral force. The longitudinal force, synonymous with the braking force, is a determinant of braking performance, dictating both the braking distance and the rate of deceleration. Concurrently, the maximum lateral force is a critical factor influencing the vehicle’s stability. According to the study from [
19], the slip ratio can affect the longitudinal and maximum lateral force. The nearer the slip ratio is to 0, the closer the tire is to a pure rolling state and the greater the maximum lateral force. For a slip ratio of −0.15, the longitudinal force is greatest, and the maximum lateral force decreases to a center degree. For a slip ratio of −1, the tire is locked and in a pure sliding state, and the ground exerts little maximum lateral force. The tire slip ratio must be maintained within a specific range so that the vehicle can maintain stability and braking performance. Therefore, the selection of the optimal slip ratio presents a constrained optimization problem, with the slip ratio itself serving as the design variable. The constraint stipulates that the maximum lateral force must exceed the centrifugal force to ensure stability. The constraint condition is that the maximum lateral force is greater than the centrifugal force. The objective of optimization is to obtain the best braking performance, that is, the maximum longitudinal force. Referring to [
21], the mathematical model for constraint optimization is as follows:
where
κ* is the optimal slip ratio;
κ is the current slip ratio;
is the sideslip angle;
is the camber angle;
is the vertical force of the tires.
The longitudinal characteristics in [
19] show that the longitudinal force exhibits a unimodal distribution across a slip ratio range from −1 to 0. The golden section search method is adeptly employed to tackle the optimization problem. The calculation flow chart is shown in
Figure 2. First, the relevant motion parameters are specified, such as the vertical force and sideslip angle. Define initial interval
and convergence accuracy ε. Insert two points
and
in the initial interval, and the initial range [
a,
b] is divided into three sections:
,
and
. The maximum lateral force corresponding to the insertion point is calculated, respectively, and compared with the centrifugal force to determine whether the vehicle stability constraints are met. If the insertion point satisfies the stability constraint, the insertion point is reserved and assigned to the variable
κ, otherwise κ is set to 0. The longitudinal forces
and
at the insertion point are calculated and compared.
If , the interval can be eliminated, and the new search interval is .
If , the interval can be eliminated, and the new search interval is .
The golden section point continues to be inserted in the new interval, and the loop is repeated. The interval is continuously reduced until the interval is shortened to less than the convergence accuracy ε, that is, , and the median value is taken as the best slip ratio.
During braking, speed decreases. In terms of the vertical forces, the load transfer between the front and rear wheels changes dynamically due to deceleration. The body roll angle also changes dynamically, so the optimal slip ratio changes with the movement of the vehicle. According to motorcycle tire model, the sideslip angle is small, and it ranges from −4° to 4° in a steady driving process. Therefore, sideslip angle has little influence on optimal slip ratio, and it can be set to a fixed value of 0° in this optimization operation. The optimal slip ratio is mainly related to the roll angle and vertical load, and these two parameters are, respectively, set to different values to obtain the change curve of the optimal slip ratio with the camber angle, as shown in
Figure 3. The optimal slip ratio curve shows that the greater the vertical load, the smaller the absolute value of the optimal slip rate. In the braking process, the vertical load of the front wheel increases, the vertical load of the rear wheel decreases, and the optimal slip ratio of the front wheel should be smaller than that of the rear wheel. The greater the absolute camber angle is, the closer the optimal slip ratio is to 0, which means that it is not appropriate to apply a large braking force when the roll angle is large. When the absolute value of camber angle is less than 20°, the optimal slip ratio is between −0.15 and −0.2.
To determine the optimal slip ratio quickly and reduce the amount of calculation, this study substitutes several groups of motion data into the constrained optimization model and tabulates the results to form an optimal slip ratio lookup table, as shown in
Table 3.
In real scenarios, the principle for obtaining the optimal slip ratio is shown in
Figure 4, where the vertical load and camber angle are transmitted to the optimal slip ratio lookup table, and then the optimal slip ratio can be obtained either by table lookup or interpolation, thus quickly obtaining the optimal slip ratio. The optimal slip ratio will serve as the input for the brake system, which controls the motorcycle’s brake by adjusting the tire’s slip ratio.
4. Roll Angle Estimation Based on Kalman Filter
4.1. Roll Angle Estimation Method
According to
Figure 4, the roll angle is also necessary to obtain the optimal slip ratio. However, the roll angle cannot be measured directly through a common sensor. The inertial measurement unit (IMU) installed on a motorcycle can measure acceleration and angular velocity. The transformation relationship between vehicle acceleration
and IMU acceleration measurement
, relative to the coordinate axis direction of the global coordinate system, is shown as follows:
The transformation relationship between the body angular velocity [
measured by IMU and the Euler angular velocity is as follows:
where
is the yaw rate.
Under steady turning, the lateral acceleration
Ay relative to the global coordinate system is the product of the longitudinal speed
vx and yaw rate, which can be obtained by synthesizing Equations (5) and (6):
According to Equation (7), the current roll angle can be obtained from the acceleration
aym and
azm, measured by IMU, the longitudinal vehicle speed
vx, the roll angle of the previous moment and the yaw rate. The longitudinal vehicle speed can be measured by wheel speed sensor. The yaw rate can be estimated by the following equation:
Equations (7) and (8) can be used as the roll angle and yaw rate measured value, which are calculated by the measured signals. However, there is always noise in the actual measurement process. The roll angle and yaw rate, calculated according to the above equation, are different from the actual value. Therefore, it is necessary to estimate the actual value based on the measurement signal and other known information. The estimation input and output is shown in
Figure 8.
Among many filtering methods, the Kalman filter is a time-domain filtering method, which can estimate not only the stationary one-dimensional random process, but also the non-stationary multidimensional random process. In addition, the Kalman filter is recursive, and the data storage is small, which is convenient for real-time application on a computer. Because of the above advantages, the Kalman filter has been widely used in engineering practice. Therefore, the Kalman filter is used to estimate the roll angle in this paper. The precondition for estimating the roll angle is to establish the state space expression, including the system noise and the measurement noise. This study focuses on the braking condition of motorcycles during cornering, where the input to the braking system, that is, the optimal slip ratio, is obtained based on the vertical load and the roll angle. The kinematic analysis, based on the IMU (Inertial Measurement Unit) mentioned above, aims to obtain the measurement of the motorcycle’s roll angle, while the steering angle and the driver’s influence are simulated by the motorcycle dynamics software BikeSim; therefore, it is assumed that the driver is affixed to the motorcycle.
Let the sampling time be Δ
t, and the integral equation of the roll angle at time
k is shown as follows:
In the above equation,
is the roll angle at
k−1 obtained by the integral expression. There is measurement noise in the angular velocity signal from IMU, and the integral easily accumulates error. Therefore, the error between the integral angle and the true roll angle
is
dk, and the relation is shown in Equation (10).
Suppose that the error between the yaw rate and the
Z-axis angular velocity
measured by IMU is
ek, as shown in Equation (11).
The system state is defined as
. The system input is defined as
. The system state equation and measurement equation are expressed as follows:
Equation (12) is the state equation and Equations (13) and (14) are measurement equations. A is the system matrix and B is the control matrix, as shown in Equation (15).
is the system noise vector and
and
represent the measurement matrix, as shown in Equation (16).
and
are the yaw rate measurement noise and the roll angle measurement noise, respectively. The system noise and the measurement noise are Gaussian white noise sequences with a zero mean:
The variation matrix for measurement noise
,
and system noise
is calculated as:
The roll angle estimation process is shown in
Figure 9. There are three stages: a time update, a first measurement update and a second measurement update.
During the time update stage, the state vector from the roll angle estimation process at the previous time k − 1 and the measured angular velocity around the X-axis and Z-axis are used to calculate the preliminary predicted value . The error variance matrix is then calculated.
The first measurement update is used to estimate the yaw rate. The angular velocity around the x and z axes from the IMU is used to calculate the measured value for the yaw rate. The gain matrix and the error variance matrix are calculated. The yaw rate measurement and the gain matrix are then substituted into the state estimation iterative formula to produce the state estimation .
The second measurement update estimates the roll angle. The state estimate from the first measurement update is used to calculate the estimated yaw rate. The lateral acceleration and the vertical acceleration that is measured by IMU, and the speed that is measured by the wheel speed sensor, are applied to calculate the measured value for the roll angle. The gain matrix and the error variance matrix are calculated, respectively. The state estimate from the first measurement update is then used as the initial predicted value, and the measured value for the roll angle and the gain matrix are substituted into the state estimate iterative equation to calculate the state estimate, and then calculate the estimated roll angle .
4.2. Simulation Analysis of Roll Angle Estimation
In order to make the simulation effect close to the real situation, noise was added to the IMU measurement signal used in the estimation system to simulate the interference of the sensor when it is installed on a real motorcycle. Then, a simulation of the estimation system was established with the help of MATLAB/Simulink. The roll angle was estimated according to the BikeSim kinematic parameters to form a co-simulation of BikeSim and MATLAB.
In BikeSim, a scooter was selected as the research object, and it was subjected to variable speed driving. Through a trial method, the covariance matrix
Qk of system noise
Wk and the covariance matrix
R1 and
R2 of the measurement noise
V1,k,
V2,k are set, as shown in Equation (18).
Target roll angle is set to 30° and −30°. The simulation includes an acceleration and deceleration phase. The initial speed of the vehicle is 40 km/h. From second 5 to second 17, the target speed rises from 40 km/h to 80 km/h. From second 17 to second 28, the speed remains unchanged at 80 km/h; Between second 28 and second 42, the target speed decreased from 80 km/h to 40 km/h, and the simulation ended at second 46.
The simulation results are shown in
Figure 10.
Figure 10a shows the change curve of vehicle speed. When the vehicle speed changes, the roll angle also follows the target value. As can be seen from
Figure 10b,c, the roll angle obtained by the estimation system is consistent with the measurement results of BikeSim at the variable and constant speed stage, and the maximum estimation error of the roll angle is about 3.5°. The estimation error is small, so the proposed estimation system has high estimation accuracy under variable speed.
6. Conclusions
Considering motorcycle safety is insufficient when braking in a turn, this paper pro-posed a turning brake system based on an autoregulative optimal slip ratio. This brake system takes the optimal slip ratio as input, and uses a PID strategy to control the motorcycle brake behavior. The operational performance was evaluated through a collaborative simulation using MATLAB and BikeSim, with a comparative simulation also performed alongside a traditional anti-lock braking system (ABS). The research yielded the following outcomes:
1. The system input—the optimal ratio—is autoregulative according to the vertical force of the tires and roll angle. The slip ratio refers to the optimal solution after combining brake performance and stability. The greater the vertical force is, the smaller the absolute value of the optimal slip ratio. As for the influence of the roll angle on the optimal slip ratio, the greater the absolute roll angle is, the closer the optimal slip ratio is to 0. In this way, the brake system has able to adapt to the motorcycle dynamics.
2. The two main parameters used to generate optimal slip ratio, vertical force and roll angle, can be calculated and estimated via kinematic signals measured by IMU and a wheel speed sensor, and the estimated accuracy is perfect, which makes the practical application of the proposed brake system possible.
3. The proposed brake system, based on the PID strategy, can perfectly ensure the front and rear tires follow the optimal slip ratio. It makes the motorcycle stop steadily during the turning period, and the sideslip angle is very small. Compared with a traditional brake system based on a fixed slip ratio, the proposed system has good brake performance and directional stability.
This study employs software to simulate the roll angle estimation and braking systems for a motorcycle during a turn. To enhance the braking system, it is essential to develop a comprehensive motorcycle dynamics model that incorporates the influence of the driver and the transient behavior of the tire. To enable the tire to more closely follow the optimal slip ratio, it is advisable to explore advanced intelligent control algorithms, such as a fuzzy PID control algorithm. There is a significant discrepancy between the simulation environment and real-world conditions. To evaluate the practical performance of the system, future research should integrate the experimental setup onto an actual motorcycle, which is also part of the subsequent research agenda.