Next Article in Journal
Driving Decisions for Autonomous Vehicles in Intersection Environments: Deep Reinforcement Learning Approaches with Risk Assessment
Next Article in Special Issue
Thermal Design and Analysis of Oil-Spray-Cooled In-Wheel Motor Using a Two-Phase Computational Fluid Dynamics Method
Previous Article in Journal
Sector Coupling through Vehicle to Grid: A Case Study for Electric Vehicles and Households in Berlin, Germany
Previous Article in Special Issue
An Anti-Skid Control System Based on the Energy Method for Decentralized Electric Vehicles
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Design of Auto-Tuning Nonlinear PID Tracking Speed Control for Electric Vehicle with Uncertainty Consideration

by
Mohamed A. Shamseldin
Mechanical Engineering Department, Faculty of Engineering and Technology, Future University in Egypt, Cairo 11835, Egypt
World Electr. Veh. J. 2023, 14(4), 78; https://doi.org/10.3390/wevj14040078
Submission received: 30 December 2022 / Revised: 10 March 2023 / Accepted: 21 March 2023 / Published: 23 March 2023
(This article belongs to the Special Issue Vehicle Control and Drive Systems for Electric Vehicles)

Abstract

:
This study presents a new auto-tuning nonlinear PID controller for a nonlinear electric vehicle (EV) model. The purpose of the proposed control was to achieve two aims. The first aim was to enhance the dynamic performance of the EV regarding internal and external disturbances. The second aim was to minimize the power consumption of the EV. To ensure that these aims were achieved, two famous controllers were implemented. The first was the PID controller based on the COVID-19 optimization. The second was the nonlinear PID (NPID) optimized controller, also using the COVID-19 optimization. Several driving cycles were executed to compare their dynamic performance and the power consumption. The results showed that the auto-tuning NPID had a smooth dynamic response, with a minimum rise and settling time compared to other control techniques (PID and NPID controllers). Moreover, it achieved low continuous power consumption throughout the driving cycles.

1. Introduction

The use of electric vehicle (EV) technology is required to mitigate escalating environmental issues and to decrease the demand for fossil fuel resources [1]. In recent years, EVs have become increasingly popular due to their high efficiency, low maintenance requirements, and simple operations [2,3,4]. Urban cities now have improved sustainability and a significant reduction in pollution because of the growing EV trend. The performance of an EV as a whole is significantly influenced by its propulsion system. Industrial and academic researchers have mainly concentrated on creating controls for the electric vehicle’s drivetrain [5,6]. The two most important aspects, efficient performance and desirable energy management, call for thorough and targeted research. The controller should deliver the fastest possible speed while consuming the least amount of energy [3]. Fluctuating road conditions, motor characteristics, and outside disturbances make the EV system highly nonlinear, time-dependent, and uncertain. As a result, it is difficult to build a controller that completely removes external disturbances and manages uncertainties with few control signals [7,8,9].
Due to their simplicity and ease of tuning, conventional PID controllers are frequently used in a variety of industrial applications [10]. However, they do not guarantee desired dynamic performance, and do not operate effectively under a variety of operating conditions with their self-tuning capabilities [11]. Due to windup, a PID controller produces a strong control signal, which causes it to overshoot and increase as the accumulated error is unwound (compensated by errors in the other direction), and the differentiator causes noise amplification [12,13]. Currently, there is no definite method to select the proper parameters. Hence, several optimization techniques can be used to solve this problem, such as genetic algorithm (GA), particle swarm optimization (PSO) [14], backtracking search algorithm (BSA), bee colony optimization (BCA), harmony search (HS), ant colony, differential evolution (DE), and COVID-19 optimization [14,15,16,17].
Artificial intelligence (AI)-based controllers have gained importance due to their satisfactory performance in various motor control applications, including speed assessment and torque ripple minimization [18,19,20]. However, AI-based controllers suffer from drawbacks, such as large data requirements, extended learning, and long training durations [21,22,23].
In this study, we concentrated on the nonlinear PID (NPID) controller, which has drawn a lot of interest from scholars over the past 20 years. NPID control is used by two main groups of applications. Only nonlinear systems that are controlled by NPID fall under the first category. NPID control is used in the second category, which deals with basic linear systems used to improve performance that are not feasible with linear PID control, such as decreased overshoot, decreased rise time for the step or rapid command input. NPID control improves following accuracy, and is utilized to account for nonlinearity and disturbances in the system [24,25,26,27].
The proposed improved NPID controller contains two portions. The first portion is a segment-bounded nonlinear gain K n e , while the second portion is a linear fixed-gain PID controller ( K p , K i and K d ). The nonlinear gain K n e is a segment-constrained function of the error e(t). Previous research considered the nonlinear gain K n e as one scalar value. The novelty in this research is that one scalar value of K n e is switched with a row vector that can be expressed as K n e = [ K n 1 e K n 2 e K n 3 e ] , which will cause amelioration of the performance of the NPID where the values of nonlinear gains will be tuned based on the error and the type of constant parameters ( K p , K i and K d ).
Adaptive control is used for nonlinear systems where some system parameters are unknown, or vary over time. For example, the method known as “Model Reference Adaptive Systems” is one specific approach to solving this issue (MRAS). In order to do this, a reference process model must be defined whose dynamics are in response to a reference input that the plant process should mimic. To obtain the plant’s output signal to match the reference model’s output signal for the plant process with unknown parameters, a particular control law modifies the reference input signal. In this study, the updated law directly modifies the settings on the NPID controller. It makes the NPID more effective, and insensitive to external disturbances. In addition, it can adapt to violent changes in parameters for the EV system.
Based on the examination of the dynamic characteristics, an improved adaptive control mechanism for the mode transition of a hybrid electric vehicle was demonstrated in [5]. A novel study about a configuration-switchable hydraulically interconnected suspension system under a nonlinear model predictive control was presented in [28]. Dynamic simulation of road/tire longitudinal interaction for designing EV control systems was illustrated in [29]. A lane-keeping control approach with direct yaw moment control input by taking into account the dynamics of an EV was displayed in [30]. A swarm optimization technique-based predictive regenerative braking control approach for a hybrid electric vehicle was executed in [19]. A different design identification and control based on GA optimization for an autonomous wheelchair was developed in [25]. An optimal nonlinear PID speed tracking control based on harmony search (HS) for an EV was used in [31]. A new MRAS for a high-performance pantograph robot mechanism was simulated in [32]. In [33], researchers used diverse machine learning (ML) algorithms for thermal comfort predictive models. Furthermore, in [34], an expert system was built to generate control decision for a maritime transport model. Moreover, [35] illustrated direct torque control of an induction machine using a fuzzy switching controller. The proposed technique achieved satisfactory performance for the induction machine. A novel LabVIEW self-tuning PID controller was implemented in real-time to control the response in [36]. A new algorithm was presented in [37]; the RBFNN (radial basis function neural network) was used in the technique to identify the vehicle’s Jacobian information, execute parameter tuning for PID control, and accomplish vehicle longitudinal control with self-tuning capabilities.
This research presents new auto-tuning for the NPID controller based on a model reference adaptive control. The main purpose of the controller was to track a preselected speed profile of the EV with low power. A comparison was conducted between the famous PID, the conventional NPID, and auto-tuning NPID controllers which were optimized by a new COVID-19 optimization. Several operating points were implemented to validate the controller’s performance. Furthermore, the dynamic response of the EV was recorded through the vehicle parameters’ uncertainties to ensure the robustness of the proposed controller.
The rest of the study is organized as follows: the second section demonstrates the nonlinear model of an EV; the third section illustrates in detail the design steps for auto-tuning the NPID controller; the fourth section presents the results of the proposed controllers; the last section is the conclusion.

2. System Modeling

Propulsion, energy supply, and auxiliary subsystems make up the majority of an EV’s three subsystems. According to Figure 1, the propulsion subsystem is made up of the vehicle controller, power electronic converter, electric motor, mechanical transmission, sensors, and driving wheels [38,39]. The energy source, the energy management unit, the charger unit, and other elements are included in the energy supply subsystem [40,41]. The power steering unit, air conditioning motor and its controller, and the auxiliary supply unit make up the auxiliary subsystem. The electric vehicle drivetrain system (EVDS) is created by integrating the subsystems [42,43].
The energy source that powers every piece of technology in the car is the battery pack. When the battery is being charged or discharged, the battery management system (BMS) sends voltage, current, and state-of-charge (SOC) signals to the vehicle control unit. The major component of the drivetrain system is the electrical machine (EM). To propel the vehicle with the necessary speed and acceleration, force is produced by the EM in the propulsion systems. The electric motor uses battery power to generate driving force, but it also has the ability to act as a generator when the required deceleration causes the applied reference torque to turn negative.
The EV mainly comprises a battery unit, controller, and electric motors connected to the vehicle through the transmission unit. The EV system dynamics has two parts: vehicle and motor dynamics. Electric vehicle system modeling involves the balancing of all the forces acting on a running vehicle. There are mainly four types of forces, namely rolling friction (Frr), aerodynamic drag force (Fad), gravitational force (Fg), and force due to vehicle acceleration (Fa), as shown in Figure 2. Hence, the total traction force (Ft) acting on a vehicle is given by the following:
Ft = Frr + Fad + Fg + Fa = μrrmg + 0.5ρACdv2 + mgsinφ + m dv/dt
where m is the mass of the electric vehicle, g is the gravity acceleration, v is the driving velocity of the vehicle, μrr is the rolling resistance coefficient, ρ is the air density, A is the frontal area of the vehicle, Cd is the drag coefficient, and φ is the hill-climbing angle.
The nonlinear state space model of an EV can be considered as follows:
X ˙ = f X + g X u
X = x 1 x 2 = i w
f x = ( R a + R f ) L a + L f x 1 L a f L a + L f x 1 . x 2 1 J + m ( r 2 G 2 ) L a f x 1 2 B x 2 r G ( μ r r m g + 1 2 ρ A C d r 2 G 2 x 2 2 + m g s i n φ )
g x = 1 L a + L f 0
The system parameters are summarized in Table 1.
A nonlinear EV block diagram is presented in Figure 3. The EV system is classified into two main subsystems. The first is the electric motor drive system, and the second is the chassis of the body with suspension parts. The nonlinearity source comes from the mutual inductance of the motor winding; the system parameters variations are shown in Table 2. The purpose of the proposed controllers is to absorb external disturbances such as aerodynamic resistance, road variations, and several operating points of speed; moreover, the controllers overcome internal disturbances such as the mentioned nonlinearity resources, random noise, and uncertainty in the system parameters.

3. Auto-Tuning Nonlinear PID Control

Model reference adaptive control (MRAC) is a high-ranking adaptive controller [22]. It may be regarded as an adaptive servo system in which the desired performance is expressed in terms of a reference model. In this research, the NPID control parameters were adjusted online using the model reference adaptive technique and the nonlinear function.
The proposed form of NLPID control can be described as follows:
u t = ( k p + K n 1 e )   e t + ( k i + K n 2 e ) . 0 t   e t   d t + ( k d + K n 3 e ) . d e t d t
where K n 1 e , K n 2 e , and K n 3 e are nonlinear gains. The nonlinear gains represent any general nonlinear function in which the error is bounded in the sector 0 < K n e < K n e max.
There is a wide range of choices available for the nonlinear gain K n e . One simple form of the nonlinear gain function can be described as follows:
K n i e = c h w i e = e x p w i e + e x p ( w i e ) 2
where i = 1 , 2 , 3 .
e = e e     e m a x e m a x s g n e e   >   e m a x
Figure 4 presents the main structure of auto-tuning NPID based on the model reference technique.
The nonlinear gain K n e is lower-bounded by K n e min = 1 when e = 0, and upper-bounded by K n e max = ch( w i   e m a x ). Therefore, e m a x stands for the range of deviation, and w i describes the rate of variation of K n e .
The MIT rule is the original approach to model reference adaptive control. The name is derived from the fact that it was developed at the Instrumentation Laboratory (now the Draper Laboratory) at MIT. To adjust parameters in such a way that the loss function is minimized, the following is applied:
j θ _ = 1 2 e m 2
To make j small, it is reasonable to change the parameters in the direction of the negative gradient of j, as follows:
d θ _ d t = γ j θ _ = γ e m e m θ _
e = u c y
Assuming that the plant can be simplified to a first-order system, this is shown in the following equation:
y ( s ) u ( s ) = k T s + 1
where k   and   T are unknown parameters. Furthermore, assuming that the model reference takes the form of a first-order system, the following relationship is used:
y m ( s ) u c ( s ) = k m T m s + 1
where k m   a n d   T m are selected by the designer.
From Equations (10)–(12), the following can be concluded:
y = k T s + 1 [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] ( u c y )
y = k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 u c k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 y
1 + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 y = k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 u c
T s + 1 + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 y = k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 u c
y = k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] u c
e m = y y m
e m = k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + 1 + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] k m T m s + 1 u c
e m k p = T s + 1 k T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] 2 u c
Equation (18) can be rewritten as follows:
e m k p = T s + 1 k T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] y
From Equations (17) and (19), the following is derived:
e m k p = k 2 e T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1
To achieve the desired performance, the following condition must hold:
T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 = T m s + 1
e m k p = k 2 e T m s + 1
From the MIT rule, one can obtain the following relationship:
d k p d t = γ . e m . k 2 e T m s + 1
d k p d t = γ 1 . e m . e T m s + 1
γ 1 = γ . k 2
( k p ) n e w = d k p d t d t + k p ( 0 )
where k p 0 is the initial value of proportional gain k p .
e m k i = 1 s k T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 2 u c
Equation (28) can be rewritten as follows:
e m k i = 1 s k T s + 1 T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 2 u c
e m k i = 1 s k T s + 1 T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] y
From Equations (27) and (29), we obtain the following:
e m k i = 1 s k 2 e T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1
To achieve the desired performance, the condition must hold in Equation (21).
e m k i = 1 s k 2 e T m s + 1
From the MIT rule, we can obtain the following relationship:
d k i d t = γ . e m . 1 s k 2 e T m s + 1
d k i d t = γ 2 . e m . e T m s + 1
γ 2 = γ k 2 . 1 s = γ 1 1 s
( k i ) n e w = d k i d t d t + k i ( 0 )
where k i 0 is the initial value of proportional gain k i .
e m k d = k s T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 k s k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 2 u c
e m k d = k s μ T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 2 u c
e m k d = k s T s + 1 T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 2 u c
e m k d = k s T s + 1 T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1 k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] y
Furthermore, from Equations (43) and (45), we obtain the following:
e m k d = k 2 . s . e T s + k [ k p + K n 1 + ( k i + K n 2 ) 1 s + k d + K n 3 s ] + 1
e m k d = k 2 . s . e T m s + 1
d k d d t = γ . e m . k 2 . s . e T m s + 1
d k d d t = γ 3 . e m . e T m s + 1
γ 3 = γ . k 2 . s = γ 1 . s
( k d ) n e w = d k d d t d t + k d ( 0 )
where k d 0 is the initial value of the derivative gain k d .
There are many methods to define the parameters of the control techniques, such as trial and error and Ziegler–Nichols methods for PID control; however, most of these methods are rough roads [44,45]. This study used a new effective optimization technique, which is the COVID-19 optimization algorithm, to find the optimal parameters of the proposed controllers (PID and NPID) based on the output response behavior and the desired performance, as in [17].
The initial population contains the upper and lower values for each control technique. The performance of each row was investigated according to the objective function in Equation (6). Poor performance specifies the infected population, which has the possibility to die; meanwhile, good performance indicates the recovered population from the corona virus:
δ t = ( δ 1 + δ 2 + δ 3 + δ 4 ) / 4
δ 1 = t r t r d t r d
δ 2 = t s t s d t s d
δ 3 = e s s e s s d e s s d
δ 4 = O S O S d O S d
where (trd) is the desired rise time and (tr) is the measured rise time; (Osd) is the desired maximum overshoot and (OS) is the actual overshoot; (tsd) is the desired settling time and (ts is the determining settling time; and (essd) is the desired steady-state error and (ess) is the estimated steady-state error.
It should be observed that the objective function uses four sub-objective functions to try to appease the designer. Improving the rising time of all drive systems is the first sub-objective function. Reduced settling time is the second sub-objective function. The steady-state error is measured by the third sub-objective function. The needed overshoot is investigated in the fourth sub-objective function. Each sub-objective function has a value between zero and one. Therefore, the total objective function takes into account the average of the sum of the four sub-goal functions.
The obtained controller parameters are shown in Table 3.

4. Results and Discussion

This section illustrates the proposed controller’s performance for the EV under external and internal disturbances. Several tests were executed to validate the robustness and flexibility of the proposed controllers. The first test used a single operating speed to measure the dynamic response of each control technique.
Figure 5 demonstrates the closed-loop dynamic behavior of the EV through a single operating speed. It can be noted that the auto-tuning NPID controller had a smooth response, low rise time and settling time, and no overshoot, which made the EV comfortable. In contrast, the other techniques (PID and NPID controllers) required a long time to stabilize the desired operating point. Moreover, they had a high overshoot, which made the EV’s motion unstable.
The reasons for the poor performance of these controllers (PID and NPID controllers) were the inability to overcome system uncertainty, and the internal and external disturbances. Moreover, these controllers without adaptive mechanisms integrated into the case of the auto-tuning NPID controller made the parameters have to continuously adapt with the system’s sudden changes.
Figure 6 demonstrates the rotor winding current in amperes (A) of each control technique. It can be noted that the starting current was identical for the proposed controllers, while the current stabilized quickly in the case of the auto-tuning NPID controller. Both the PID and NPID had high fluctuations in current.
Figure 7 demonstrates the performance of the PID, NPID, and auto-tuning NPID to track the New European Drive Cycle (NEDC) speed (Km/h) test. It is obvious that the auto-tuning NPID controller tracked the speed profile accurately. Furthermore, the PID and the NPID controllers could not track the continuous changes in the speed profile. A zoomed area was taken from 980 s to 1020 s to ensure that the auto-tuning NPID had a small settling time and smooth behavior compared to other control techniques that did not have an adaptive mechanism.
Figure 8 demonstrates the corresponding rotor current in amperes (A) for the NEDC test. It was demonstrated that the PID and NPID controllers had a high starting current at each change in speed profile, which made them consume a lot of power. In contrast, the auto-tuning NPID controller had a low starting current compared to the other control techniques (PID and NPID), which saved power consumption and permitted the EV to move longer than for the other techniques.
Figure 9 shows vehicle velocity, in km/h, based on the proposed control techniques within the Urban Dynamometer Driving Schedule (UDDS) driving cycle for the same time interval.
It was noticed that the auto-tuning NPID controller accurately tracked its reference velocity, although there were violent changes in the reference speed and nonlinearity resources of the EV. In the case of the PID and NPID controllers, they could not track the profile where the gap between the reference and the actual velocity was high. A zoomed area demonstrated the difference between the reference and the actual velocity. It can be noted that the error was 6.307 minus 6.271, equaling 0.036.
Figure 10 illustrates the corresponding instantons current in amperes (A) for the UDDS test. It was noted that the PID and NPID controllers had a high value of starting current at each change in operating point, while the auto-tuning NPID controller had a low peak current compared to the other control techniques. This meant that the auto-tuning NPID controller consumed low power throughout the driving cycle. Moreover, Table 4 demonstrates that the auto-tuning NPID controller had the least peak and average current throughout this cycle.
Table 4 demonstrates a comparison to show the consumed current for each control technique. It can be noted that the proposed auto-tuning NPID controller used the least current by assuming that the output voltage of the EV battery was constant.

5. Conclusions

In this study, a new auto-tuning nonlinear PID controller was introduced for an electric vehicle (EV) model. Two objectives were intended to be achieved by the recommended control. The main objective was to enhance the EV’s dynamic response to both internal and external shocks. Reducing power consumption for EVs was the second objective. Two well-known controllers were installed to ensure that these objectives would be met by evaluating the dynamic performance and power consumption. The first was a PID controller that used COVID-19 optimization. The second employed a nonlinear PID (NPID) controller, which was COVID-19-tuned. The results demonstrate that, in comparison to other control systems, the auto-tuning NPID had a comfortable dynamic response and a short rise and settling time (PID and NPID controllers). Additionally, via the driving cycles, it achieved a low continuous power (peak current 1.33 A and average current 0.712 A).

Funding

This research received no external funding.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Potnuru, D.; Ayyarao, T.S.L.V.; Kumar, L.V.S.; Kumar, Y.V.P.; Pradeep, D.J.; Reddy, C.P. Salp Swarm Algorithm Based Optimal Speed Control for Electric Vehicles. Int. J. Power Electron. Drive Syst. 2022, 13, 755–763. [Google Scholar] [CrossRef]
  2. Nguefack, C.F.; Fotso, B.M.; Talawo, R.C.; Fogue, M. Aerodynamic Analysis of an Electric Vehicle Equipped With Horizontal Axis Savonius Wind Turbines. Int. J. Recent Trends Eng. Res. 2019, 05, 17–26. [Google Scholar] [CrossRef]
  3. Dinc, A.; Otkur, M. Optimization of Electric Vehicle Battery Size and Reduction Ratio Using Genetic Algorithm. In Proceedings of the 2020 11th International Conference on Mechanical and Aerospace Engineering, Athens, Greece, 14–17 July 2020; pp. 281–285. [Google Scholar] [CrossRef]
  4. Ouda, A.; Mohamed, A. Autonomous Fuzzy Heading Control for a Multi-Wheeled Combat Vehicle. Int. J. Robot. Control Syst. 2021, 1, 90–101. [Google Scholar] [CrossRef]
  5. He, R.; Yan, Y.; Hu, D. Optimised Adaptive Control Methodology for Mode Transition of Hybrid Electric Vehicle Based on the Dynamic Characteristics Analysis. Veh. Syst. Dyn. 2021, 59, 1282–1303. [Google Scholar] [CrossRef]
  6. Hossain, M.F.; Fara, N. Integration of Wind Into Running Vehicles to meet its Total Energy Demand. Energy Ecol. Environ. 2017, 2, 35–48. [Google Scholar] [CrossRef]
  7. Shamseldin, M.A. An Efficient Single Neuron PID—Sliding Mode Tracking Control for Simple Electric Vehicle Model. J. Appl. Nonlinear Dyn. 2022, 11, 1–15. [Google Scholar] [CrossRef]
  8. Alkhafaji, A.S.; Al-Hayder, A.A.; Hassooni, A.S. Hybrid IWOPSO Optimization Based Marine Engine Rotational Speed Control Automatic System. Int. J. Electr. Comput. Eng. 2020, 10, 840–848. [Google Scholar] [CrossRef]
  9. Holst, T.L. Genetic Algorithms Applied to Multi-Objective Aerospace Shape Optimization. J. Aerosp. Comput. Inf. Commun. 2005, 2, 217–235. [Google Scholar] [CrossRef]
  10. Bitar, Z.; Al Jabi, S.; Khamis, I. Modeling and Simulation of Series DC Motors in Electric Car. Energy Procedia 2014, 50, 460–470. [Google Scholar] [CrossRef]
  11. Karuppannan, A.; Muthusamy, M. Wavelet Neural Learning-Based Type-2 Fuzzy PID Controller for Speed Regulation in BLDC motor. Neural Comput. Appl. 2021, 33, 13481–13503. [Google Scholar] [CrossRef]
  12. Shamseldin, M.A.; Sallam, M.; Bassiuny, A.M.; Abdel Ghany, A.M. A Novel Self-Tuning Fractional Order PID Control Based on Optimal Model Reference Adaptive System. Int. J. Power Electron. Drive Syst. 2018, 10, 230–241. [Google Scholar] [CrossRef]
  13. Shamseldin, M.A.; Ghany, M.A.A.; Ghany, A.M.A. Performance Study of Enhanced Non-Linear PID Control Applied on Brushless DC Motor. Int. J. Power Electron. Drive Syst. 2018, 9, 536–545. [Google Scholar] [CrossRef]
  14. Martínez-Álvarez, F.; Asencio-Cortés, G.; Torres, J.F.; Gutiérrez-Avilés, D.; Melgar-García, L.; Pérez-Chacón, R.; Rubio-Escudero, C.; Riquelme, J.C.; Troncoso, A. Coronavirus Optimization Algorithm: A Bioinspired Metaheuristic Based on the COVID-19 Propagation Model. Big Data 2020, 8, 308–322. [Google Scholar] [CrossRef]
  15. Shamseldin, M.A. Optimal Covid-19 Based PD/PID Cascaded Tracking Control for Robot Arm driven by BLDC Motor. Wseas Trans. Syst. 2021, 20, 217–227. [Google Scholar] [CrossRef]
  16. Omar, M.; Soliman, M.; Ghany, A.M.A.; Bendary, F. Optimal Tuning of PID Controllers for Hydrothermal Load Frequency Control Using Ant Colony Optimization. Int. J. Electr. Eng. Inform. 2013, 5, 348–360. [Google Scholar] [CrossRef]
  17. Shamseldin, M.A. Optimal Coronavirus Optimization Algorithm Based PID Controller for High Performance Brushless DC Motor. Algorithms Artic. 2021, 14, 17. [Google Scholar] [CrossRef]
  18. Shamseldin, M.A.; Sallam, M.; Bassiuny, A.M.; Ghany, A.M.A. A New Model Reference Self-Tuning Fractional Order PD Control for One Stage Servomechanism System. WSEAS Trans. Syst. Control 2019, 14, 8–18. [Google Scholar]
  19. Zhang, Y.; Wang, W.; Xiang, C.; Yang, C.; Peng, H.; Wei, C. A Swarm Intelligence-Based Predictive Regenerative Braking Control Strategy for Hybrid Electric Vehicle. Veh. Syst. Dyn. 2022, 60, 973–997. [Google Scholar] [CrossRef]
  20. Purwadi, A.; Dozeno, J.; Heryana, N. Testing Performance of 10 kW BLDC Motor and LiFePO 4 Battery on ITB-1 Electric Car Prototype. Procedia Technol. 2013, 11, 1074–1082. [Google Scholar] [CrossRef]
  21. Chaleshtari, M.H.B.; Norouzi, E.; Ahmadi, H. Optimizing Control Motion of a Human Arm with PSO-PID Controller. J. Comput. Appl. Res. Mech. Eng. 2017, 7, 23–34. [Google Scholar] [CrossRef]
  22. Shamseldin, M.A.; Sallam, M.; Bassiuny, A.M.; Abdel Ghany, A.M. LabVIEW Implementation of an Enhanced Nonlinear PID Controller Based on Harmony Search for One-Stage Servomechanism System. J. Comput. Appl. Res. Mech. Eng. 2019, 12, 4161–4179. [Google Scholar] [CrossRef]
  23. Kumar, P.; Gupta, M.; Kunar, V. Multi-Objective Particle Swarm Optimization of WEDM Process Parameters for Inconel 825. J. Comput. Appl. Res. Mech. Eng 2021, 10, 291–309. [Google Scholar] [CrossRef]
  24. Shamseldin, M.A. Adaptive Controller with PID, FOPID, and NPID Compensators for Tracking Control of Electric–Wind Vehicle. J. Robot. Control 2022, 3, 546–565. [Google Scholar]
  25. Shamseldin, M.A.; Khaled, E.; Youssef, A.; Mohamed, D.; Ahmed, S.; Hesham, A.; Elkodama, A.; Badran, M. A New Design Identification and Control Based on GA Optimization for An Autonomous Wheelchair. Robotics 2022, 11, 101. [Google Scholar] [CrossRef]
  26. EL-Tehewy, L.M.; Shamseldin, M.A.; Sallam, M.; Abdel Ghany, A.M.A.G. Optimal Flower Pollination Based Nonlinear PID Controller for Pantograph Robot Mechanism. Int. J. Mech. Eng. Robot. Res. 2022, 11. [Google Scholar] [CrossRef]
  27. Tahmasebi, M.; Gohari, M.; Emami, A. An Autonomous Pesticide Sprayer Robot with a Color-based Vision System. Int. J. Robot. Control Syst. 2022, 2, 115–123. [Google Scholar] [CrossRef]
  28. Chen, T.; Zheng, M.; Zhang, N.; Luo, L.; Liu, P.; Zhong, W. Study on a Novel Configuration Switchable Hydraulically Interconnected Suspension System Under Nonlinear Model Predictive Control. Veh. Syst. Dyn. 2022, 60, 3440–3461. [Google Scholar] [CrossRef]
  29. Ma, C.; Xu, M.; Wang, H. Dynamic Emulation of Road/Tyre Longitudinal Interaction for Developing Electric Vehicle Control Systems. Veh. Syst. Dyn. 2011, 49, 433–447. [Google Scholar] [CrossRef]
  30. Raksincharoensak, P.; Nagai, M.; Shino, M. Lane Keeping Control Strategy with Direct Yaw Moment Control Input by Considering Dynamics of Electric Vehicle. Veh. Syst. Dyn. 2006, 44, 192–201. [Google Scholar] [CrossRef]
  31. Shamseldin, M.; Ghany, M.A.; Hendawey, Y. Optimal Nonlinear PID Speed Control Based on Harmony Search for an Electric Vehicle Optimal Nonlinear PID Speed Control Based on Harmony Search for An Electric Vehicle. Future Eng. J. 2021, 2, 4. [Google Scholar]
  32. El-Τehewy, L.M.; Shamseldin, M.A.; Sallam, M.; Abdel Ghany, A.M. A Modified Model Reference Adaptive Control for High-Performance Pantograph Robot Mechanism. WSEAS Trans. Appl. Theor. Mech. 2021, 16, 193–203. [Google Scholar] [CrossRef]
  33. Ngarambe, J.; Yun, G.Y.; Santamouris, M. The use of Artificial Intelligence (AI) Methods in the Prediction of Thermal Comfort in Buildings: Energy Implications of AI-Based Thermal Comfort Controls. Energy Build. 2020, 211, 109807. [Google Scholar] [CrossRef]
  34. Borkowski, P. Inference Engine in an Intelligent Ship Course-Keeping System. Comput. Intell. Neurosci. 2017, 2017, 2561383. [Google Scholar] [CrossRef] [PubMed]
  35. Sudheer, H.; Kodad, S.F.; Sarvesh, B. Improved Fuzzy Logic Based DTC Of Induction Machine for Wide Range of Speed Control Using AI Based Controllers. J. Electr. Syst. 2016, 12, 301–314. [Google Scholar]
  36. Williams, J.G.; Liu, G.-P.; Thanapalan, K.; Rees, D. Design and Implementation of On-Line Self-Tuning Control for PEM Fuel Cells. World Electr. Veh. J. 2008, 2, 242–252. [Google Scholar] [CrossRef]
  37. Chu, L.; Li, H.; Xu, Y.; Zhao, D.; Sun, C. Research on Longitudinal Control Algorithm of Adaptive Cruise Control System for Pure Electric Vehicles. World Electr. Veh. J. 2023, 14, 32. [Google Scholar] [CrossRef]
  38. Du, P.P.; Su, H.; Tang, G.Y. Friction Compensation Control for Electric Power Steering Systems. In Proceedings of the 2018 IEEE International Conference on Industrial Electrononics for Sustainaibale Energy Systems (IESES 2018), Hamilton, New Zealand, 31 January–2 February 2018; pp. 212–217. [Google Scholar] [CrossRef]
  39. Maharajan, M.P.; Xavier, S.A.E. Design of Speed Control and Reduction of Torque Ripple Factor in BLdc Motor Using Spider Based Controller. IEEE Trans. Power Electron. 2019, 34, 7826–7837. [Google Scholar] [CrossRef]
  40. Kim, T.Y.; Lee, S.H. Combustion and Emission Characteristics of Wood Pyrolysis Oil-Butanol Blended Fuels in a Di Diesel Engine. Int. J. Automot. Technol. 2012, 13, 293–300. [Google Scholar] [CrossRef]
  41. Niu, J.; Wang, Y.; Liu, F.; Li, R. Numerical Study on Comparison of Detailed Flow Field and Aerodynamic Performance of Bogies of Stationary Train and Moving Train. Veh. Syst. Dyn. 2021, 59, 1844–1866. [Google Scholar] [CrossRef]
  42. Pilecki, J.; Bednarczyk, M.A.; Jamroga, W. Model Checking Properties of Multi-Agent Systems with Imperfect Information and Imperfect Recall. In Intelligent Systems’2014; Angelov, P., Atanassov, K.T., Doukovska, L., Hadjiski, M., Jotsov, V., Kacprzyk, J., Kasabov, N., Sotirov, S., Szmidt, E., Zadrożny, S., Eds.; Springer: Berlin/Heidelberg, Germany, 2015; Volume 322, pp. 415–426. [Google Scholar]
  43. Mo, J.; Yang, R.; Zhang, S.; Zhou, Y.; Huang, W. TD3-Based EMS Using Action Mask and Considering Battery Aging for Hybrid Electric Dump Trucks. World Electr. Veh. J. 2023, 14, 74. [Google Scholar] [CrossRef]
  44. Kozioł, K.; Stanisławski, R.; Bialic, G. Fractional-Order Sir Epidemic Model for Transmission Prediction of COVID-19 Disease. Appl. Sci. 2020, 10, 8316. [Google Scholar] [CrossRef]
  45. Yao, A.W.L.; Chen, H.C. An Intelligent Color Image Recognition and Mobile Control System for Robotic Arm. Int. J. Robot. Control Syst. 2022, 2, 97–104. [Google Scholar] [CrossRef]
Figure 1. Simple structure of the battery and electric vehicle.
Figure 1. Simple structure of the battery and electric vehicle.
Wevj 14 00078 g001
Figure 2. Schematic of external obstacles affecting a running EV [7].
Figure 2. Schematic of external obstacles affecting a running EV [7].
Wevj 14 00078 g002
Figure 3. SIMULINK diagram of a nonlinear EV model.
Figure 3. SIMULINK diagram of a nonlinear EV model.
Wevj 14 00078 g003
Figure 4. The overall system with self-tuning NPID is based on the model reference technique.
Figure 4. The overall system with self-tuning NPID is based on the model reference technique.
Wevj 14 00078 g004
Figure 5. EV linear speed response through the proposed control techniques.
Figure 5. EV linear speed response through the proposed control techniques.
Wevj 14 00078 g005
Figure 6. The corresponding rotor current of the motor through a fixed speed reference.
Figure 6. The corresponding rotor current of the motor through a fixed speed reference.
Wevj 14 00078 g006
Figure 7. Performance of the PID, NPID, and auto-tuning NPID to track the NEDC speed test.
Figure 7. Performance of the PID, NPID, and auto-tuning NPID to track the NEDC speed test.
Wevj 14 00078 g007
Figure 8. The corresponding currents of the PID, NPID, and auto-tuning NPID to track the NEDC speed test.
Figure 8. The corresponding currents of the PID, NPID, and auto-tuning NPID to track the NEDC speed test.
Wevj 14 00078 g008
Figure 9. Performance of the PID, NPID, and auto-tuning NPID to track the UDDS test.
Figure 9. Performance of the PID, NPID, and auto-tuning NPID to track the UDDS test.
Wevj 14 00078 g009
Figure 10. The corresponding instantons current in amperes (A) for the UDDS test.
Figure 10. The corresponding instantons current in amperes (A) for the UDDS test.
Wevj 14 00078 g010
Table 1. Parameters of a nonlinear EV system.
Table 1. Parameters of a nonlinear EV system.
SymbolValueSymbolValue
L a + L f 6.008 mH m 800 kg
R a + R f 0.12 Ω A 1.8 m2
L a f 0.001 mH ρ 1.25 (kg/m3)
i 78 A (250 max) φ 0 °
V 0:48 V C d 0.3
B 0.0002 N.M.s μ r r 0.015
J 0.05 Kg.m2 G 11
ω 25 Km/hr0.25 m
Table 2. Uncertainty parameters of an EV system.
Table 2. Uncertainty parameters of an EV system.
ParameterVariation %
Ra + Rf+10
La + Lf−20
r+25
J−20
m+30
Cd−20
μrr+30
Table 3. Uncertainty parameters of the EV system.
Table 3. Uncertainty parameters of the EV system.
Controller TypeParameterValue
PID control k p 5.254
k i 0.05
k d 0.02
NPID Control k p 10.23
k i 2.23
k d 1.58
w 1 0.25
w 2 0.34
w 3 0.01
Auto-Tuning NPID Control k p (0)6.35
k i ( 0 ) 0.125
k d ( 0 ) 2.31
w 1 ( 0 ) 0.45
w 2 ( 0 ) 0.69
w 3 ( 0 ) 0.78
Table 4. The current consumption for each control technique.
Table 4. The current consumption for each control technique.
Controller TypePeak Current (A)Average Current (A)
PID controller1.350.912
NPID controller1.360.851
Auto-tuning NPID controller1.330.712
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

Shamseldin, M.A. Design of Auto-Tuning Nonlinear PID Tracking Speed Control for Electric Vehicle with Uncertainty Consideration. World Electr. Veh. J. 2023, 14, 78. https://doi.org/10.3390/wevj14040078

AMA Style

Shamseldin MA. Design of Auto-Tuning Nonlinear PID Tracking Speed Control for Electric Vehicle with Uncertainty Consideration. World Electric Vehicle Journal. 2023; 14(4):78. https://doi.org/10.3390/wevj14040078

Chicago/Turabian Style

Shamseldin, Mohamed A. 2023. "Design of Auto-Tuning Nonlinear PID Tracking Speed Control for Electric Vehicle with Uncertainty Consideration" World Electric Vehicle Journal 14, no. 4: 78. https://doi.org/10.3390/wevj14040078

Article Metrics

Back to TopTop