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

The Optimization of RBFNN Gearshift Controller Parameters for Electric Vehicles Using PILCO Reinforcement Learning

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Yanwei Liu — School of Electromechanical Engineering, Guangdong University of Technology, Guangzhou, China
  2. J. R. Zhang — School of Electromechanical Engineering, Guangdong University of Technology, Guangzhou, China
  3. Ziyuan Lv — School of Electromechanical Engineering, Guangdong University of Technology, Guangzhou, China
  4. Jie Ye — School of Mechatronics Engineering, Foshan University, Foshan, China
DOI
10.1109/access.2023.3307131
저널
IEEE Access
발행년도
2023
발행기관
Institute of Electrical and Electronics Engineers
피인용수
2
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2023.3307131
토픽
Electric and Hybrid Vehicle Technologies
OpenAlex ID
W4386025788

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

In order to improve the efficiency of gearshift controller parameter optimization and obtain a good gearshift controller control effect, this article proposes an optimization method for electric vehicle transmission gearshift controller, and selects dual clutch transmission as the research object that establishes an 11-degree-of-freedom gearshift dynamics model and a feedforward-feedback gearshift control model. The feedforward control is chosen from the target trajectory given by the Legendre pseudo-spectral approach, and the feedback controller is a Gaussian kernel radial basis function neural network controller. The feedback controller performs parameter optimization by the Probabilistic Inference for Learning Control (PILCO) reinforcement learning algorithm to obtain a control strategy that matches the actual gearshift conditions. By comparing how well the master-slave moving disk can follow the target trajectory during various optimization iterations, it is verified that the algorithm requires only a few experiments to complete the optimization, and the optimized Radial Basis Function Neural Network (RBFNN) control has a better control effect by comparing the results of different iterations. Applying the learned controller to various slope and load circumstances yields data that demonstrate that all can have an obvious optimization effect with good robustness. Additionally, the reinforcement learning technique suggested in this research can be used for various gearshift controller parameter optimization to assist engineers and technicians in increasing the effectiveness of their Research and Development.

본문 67,423자

본문 펼치기
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000. _Digital Object Identifier 10.1109/ACCESS.2017.DOI_ ## The Optimization of Electric Vehicles Gearshift Controller Parameters Using Reinforcement Learning Algorithm YANWEI LIU <sup>1</sup> , JINGLONG ZHANG <sup>1</sup> , ZIYUAN LV <sup>1</sup> , AND JIE YE <sup>2</sup> 1School of Electromechanical Engineering, Guangdong University of Technology, Guangzhou 511006, China 2School of Mechatronics Engineering, Foshan University, Foshan 528225, China Corresponding author: Jie Ye (e-mail: yejie@fosu.edu.cn). This work was supported in part by the Natural Science Foundation of Guangdong Province under Grant 2022A1515012080. ABSTRACT In order to improve the efficiency of gearshift controller parameter optimization and obtain a good gearshift controller control effect, this article proposes an optimization method for electric vehicle transmission gearshift controller, and selects dual clutch transmission as the research object that establishes an 11-degree-of-freedom gearshift dynamics model and a feedforward-feedback gearshift control model. The feedforward control is chosen from the target trajectory given by the Legendre pseudo-spectral approach, and the feedback controller is a Gaussian kernel radial basis function neural network controller. The feedback controller performs parameter optimization by the Probabilistic Inference for Learning Control (PILCO) reinforcement learning algorithm to obtain a control strategy that matches the actual gearshift conditions. By comparing how well the master-slave moving disk can follow the target trajectory during various optimization iterations, it is verified that the algorithm requires only a few experiments to complete the optimization, and the optimized Radial Basis Function Neural Network (RBFNN) control has a better control effect by comparing the results of different iterations. Applying the learned controller to various slope and load circumstances yields data that demonstrate that all can have an obvious optimization effect with good robustness. Additionally, the reinforcement learning technique suggested in this research can be used for various gearshift controller parameter optimization to assist engineers and technicians in increasing the effectiveness of their Research and Development. INDEX TERMS Electric vehicle, dual clutch transmission, gearshift control, reinforcement learning. I. INTRODUCTION LECTRIC vehicles have the advantages of zero emissions and minimal noise while in operation, and mar# E ket demand is rising continuously. The transmission control strategy’s optimization has a significant impact on how well electric vehicles perform. The transmission is usually controlled by the control signal output from both the feedforward controller and feedback controller. The feedback controller [1], for instance, can adjust the torque signal online depending on the disturbance in the process of shifting so that the whole vehicle operation status remains relatively stable and plays a vital role. Usually, the optimization of an automotive transmission controller’s parameters requires real physical experiments conducted on an experimental bench. The controller’s optimal performance depends on the effectiveness of these parameters. In traditional controller parameter optimization, some researchers use the Design-of-Experiments (DOE) method [2], while others propose online adaptation or calibrate the automatic transmission using a powertrain test bench (PTTB) [3]–[5] or iterative learning control (ILC) using a hybrid system [6]. However, these methods require engineers to collect experiment data for determining the optimal controller parameters, resulting in high time costs. Therefore, more efficient optimization techniques are needed to reduce the number of experiments required and improve optimization results, warranting further investigation. In addition to the optimization algorithm, a suitable controller is also needed to control the gearbox. There are various options for the design of feedback controllers, which have been studied more extensively by domestic and foreign scholars. Some use a dynamic programming approach to formulate the gearshift operation as a multi-stage decision process, but dynamic programming is often computationally intensive and difficult to apply in real time [7]; Some propose a robust tracking control algorithm for transmissions and design a robust feedforward-feedback controller. The model model error used by this controller affects the performance and robustness of the controller [8]; Some proposed a finitetime linear quadratic regulator, but this will lead to high computational complexity; [9], [10]; Some propose the use of two independent PID controllers. PID controller parameter adjustment often takes a lot of time [11]; Some designed a backstepping controller to provide a stable feedback method based on optimal control inputs. The controller has high requirements on the system model and is sensitive to initial conditions [12]; Some controllers use a robust multivariable control scheme with H-infinite cycle shaping, which is difficult to adjust parameters and requires an accurate system model [13]; Some designed a gearshift controller using the backstepping method and which is introduced H _∞_ robust control to further improve the controller adaptation effect, but there is still a problem of difficult to deal with model uncertainty [14]; Some researchers have also used the CoarseID control framework to solve the dynamic unknown LQR problem, but this still requires a large amount of data, and the robustness needs to be improved [15]. Therefore, it can be seen that the existing research mainly faces problems such as long training time, the need for accurate models, low control accuracy and poor robustness. The development of neural networks and reinforcement learning in recent years has provided additional options for designing feedback controllers [16]. Many researchers have explored the use of these techniques for various aspects of car shifting, such as those in references [17]–[19]. Reinforcement learning algorithms can be divided into model-based and modelfree categories depending on whether they use a model. Model-based algorithms utilize data obtained through environment interaction to learn an environmental model, which tends to be more efficient than model-free algorithms. Thus, this article considers combining model-based reinforcement learning with neural networks to achieve gearshift control optimization. To achieve this, this article propose using a Radial Basis Function Neural Network (RBFNN) based on Gaussian function as a feedback controller and a Probabilistic Inference for Learning Control (PILCO) reinforcement learning algorithm to optimize the parameters of the RBFNN controller [20]. The feedback controller part of this article uses the RBFNN, RBFNN is better than the BP neural network in terms of classification ability and learning speed because the parameter initialization has a certain method, not random initialization, and so on, and has a simple structure, simple training, fast learning convergence speed, and can approximate any nonlinear function and overcome the problem of local minima [21], so applied to gearshift control can achieve better torque control. The PILCO algorithm learns a probabilistic transfer model based on the gearshift dynamics model, incorporating model errors, environmental perturbations, and other uncertainties into the modeling process. This approach enables precise and efficient control optimization with only a few experiments [22], [23]. Previous studies have applied PILCO to different engineering disciplines, including an autopilot underwater vehicle control problem [24], [25], constant force control of a robot surface [26], autonomous optimization of PID parameters in the control of a flight attitude simulator [27], and experiments on a planetary gear transmission shift console frame [28]. These studies have shown that PILCO can obtain the ideal controller strategy for the gearbox with a relatively small number of experiments. This research aims to improve the accuracy and robustness of electric vehicle transmission shift, enhancing shift quality and driving comfort while reducing the cost and time associated with parameter optimization. To achieve this, innovative work has been conducted, including proposing the RBFNN controller as the DCT shift feedback controller and introducing a new method using the PILCO algorithm for optimizing its performance. Comparative experiments and analysis have demonstrated the effectiveness and efficiency of the PilCObased RBFNN controller, making it a promising alternative to traditional control methods. Overall, this research provides valuable guidance for future research and implementation of improved control strategies in various industrial applications. This article is structured into five parts. Part I provides an introduction to the development status of electric vehicle gearshift control optimization and analyzes the applications of RBFNN and PILCO algorithms. In Part II, the Dual Clutch Transmission (DCT) is modeled, including both the dynamics model and the gearshift control model. In Part III, the working principle of the selected RBFNN feedback controller is analyzed and the PILCO algorithm is explained in detail, including the algorithm principle and the updating process of the RBFNN controller parameters. In Part IV, the experimental conditions are elucidated, and the PILCO algorithm is verified to be efficient in optimizing the RBFNN through a comparison with a PID controller. Additionally, the robustness of the algorithm is verified by applying the learned controller to different operating conditions. Finally, Part V concludes with key takeaways from this article. II. GEARSHIFT CONTROL ANALYSIS AND MODELING _A._ _WORKING PRINCIPLE OF GEAR SHIFTING_ The structure sketch is shown in Fig. 1, which mainly consists of clutch 1, clutch 2, first gear pair, second gear pair, input shaft, and output shaft. The process of upshifting goes through two phases, the torque phase, and the inertia phase, and the change of speed and torque in this process is shown in Fig. 2. When the transmission is in first gear, clutch 1 is engaged, and in the process of shifting from first to second gear, the transmission torque of clutch 1 gradually decreases until it reaches zero and separates, and the transmission torque of clutch 2 gradually rises and at the end of the inertia phase, the primary and secondary rotational speeds of clutch 2 VOLUME 4 2016 Clutch 1 1st gear 2nd gear motor, clutch, half-shaft, and wheels, are taken into account according to the electric vehicle driveline configuration, and a more detailed model of the entire vehicle driveline can be obtained, as shown in Fig. 3. The resulting 11-degree-offreedom dynamics model for gearshift control optimization can be obtained as follows: _−_ _c_ 5 Motor Clutch 2 FIGURE 1. Two-speed DCT structure diagram. Torque phase Inertial phase - _θ_ <sup>¨</sup> 2 = _Tcl_ 2 _−_ _k_ 3 ( _θ_ 2 _−_ _θg_ 2 _A_ ) _−_ _c_ 3 _θ_ ˙2 _−_ _θ_ ˙ _g_ 2 _A_ _,_ (4) - _i_ <sup>2</sup> 1 <sup>_Jg_</sup> <sup>1</sup> <sup>_A_</sup> <sup>+</sup> <sup>_Jg_</sup> <sup>1</sup> <sup>_B_</sup> - _θ_ ¨ _g_ 1 _B_ = _i_ 1 _k_ 2 ( _θ_ 1 _−_ _θg_ 1 _A_ ) _i_ <sup>2</sup> 1 <sup>_Jg_</sup> <sup>1</sup> <sup>_A_</sup> <sup>+</sup> <sup>_Jg_</sup> <sup>1</sup> <sup>_B_</sup> - _θ_ ¨ _g_ 1 _B_ = _i_ 1 _k_ 2 ( _θ_ 1 _−_ _θg_ 1 _A_ ) - _θ_ ˙ _m −_ _θ_ ˙ _clu_ _Jmθ_ <sup>¨</sup> _m_ = _Tm −_ _k_ 1 ( _θm −_ _θclu_ ) _−_ _c_ 1 _Jcluθ_ <sup>¨</sup> _clu_ = _k_ 1 ( _θm −_ _θclu_ ) + _c_ 1 _−_ _Tcl_ 1 _−_ _Tcl_ 2 _,_ _J_ 1 _θ_ <sup>¨</sup> 1 = _Tcl_ 1 _−_ _k_ 2 ( _θ_ 1 _−_ _θg_ 1 _A_ ) _−_ _c_ 2 _,_ (1) - _θ_ ˙ _m −_ _θ_ ˙ _clu_ - _θ_ ˙1 _−_ _θ_ ˙ _g_ 1 _A_ - _θ_ ˙2 _−_ _θ_ ˙ _g_ 2 _A_ (2) _,_ (3) _J_ 2 _θ_ <sup>¨</sup> 2 = _Tcl_ 2 _−_ _k_ 3 ( _θ_ 2 _−_ _θg_ 2 _A_ ) _−_ _c_ 3 - _θ_ ˙1 _−_ _θ_ ˙ _g_ 1 _A_ + _i_ 1 _c_ 2 _−_ _k_ 4 ( _θg_ 1 _B_ _−_ _θfA_ ) Input shaft Output shaft Clutch 1 Motor Clutch 2 - _θ_ ˙ _g_ 1 _B_ _−_ _θ_ ˙ _fA_ _−_ _c_ 4 _,_ - _i_ <sup>2</sup> 2 <sup>_Jg_</sup> <sup>2</sup> <sup>_A_</sup> <sup>+</sup> <sup>_Jg_</sup> <sup>2</sup> <sup>_B_</sup> - _θ_ ¨ _g_ 2 _B_ = _i_ 2 _k_ 3 ( _θ_ 2 _−_ _θg_ 2 _A_ ) - _θ_ ˙2 _−_ _θ_ ˙ _g_ 2 _A_ 0 Motor Clutch 2 t1 t2 t3 Time (a) Rotational speed trajectory. Torque phase Inertial phase Clutch 1 + _i_ 1 _c_ 3 _−_ _k_ 4 ( _θg_ 2 _B_ _−_ _θfA_ ) - _θ_ ˙ _g_ 2 _B_ _−_ _θ_ ˙ _fA_ _−_ _c_ 4 _,_ - _JfB_ + _i_ <sup>2</sup> 0 <sup>_JfA_</sup> - _θ_ ¨ _fB_ = _i_ 0 _k_ 4 ( _θg_ 1 _B_ _−_ _θfA_ ) - _θ_ ˙ _g_ 1 _B_ _−_ _θ_ ˙ _fA_ + _i_ 0 _c_ 4 + _i_ 0 _k_ 4 ( _θg_ 2 _B_ _−_ _θfA_ ) - _θ_ ˙ _g_ 2 _B_ _−_ _θ_ ˙ _fA_ + _i_ 0 _c_ 4 _−_ _k_ 5 ( _θfB_ _−_ _θw_ ) - _θ_ ˙ _fB_ _−_ _θ_ ˙ _w_ _−_ _k_ 7 ( _θfB_ _−_ _θw_ ) _,_ _−_ _c_ 7 - _θ_ ˙ _fB_ _−_ _θ_ ˙ _w_ 0 t1 t2 t3 Time �� (5) (6) (7) (8) (9) _Jwlθ_ <sup>¨</sup> _wl_ = _k_ 6 ( _θfB_ _−_ _θwl_ ) + _c_ 6 - _θ_ ˙ _fB_ _−_ _θ_ ˙ _wl_ �� _,_ _k_ 7 ( _θwl −_ _θvl_ ) + _c_ 7 - _θ_ ˙ _wl −_ _θ_ ˙ _vl_ (b) Torque trajectory. FIGURE 2. Diagram of speed and torque trajectory of upshift. 2 are synchronized, at which time clutch 2 locks and the gearshift ends. _B._ _11-DEGREE-OF-FREEDOM DYNAMICS MODEL_ To improve the accuracy of the model, the stiffness and damping of the key components of the driveline, such as the _<u>Jvr</u>_ _θ_ ¨ _vr_ = _k_ 9 ( _θwr −_ _θvr_ ) + _c_ 9 _θ_ ˙ _wr −_ _θ_ ˙ _vr_ 2 _−_ - �� _θ_ ˙ _wr −_ _θ_ ˙ _vr_ _,_ _Jwθ_ <sup>¨</sup> _wr_ = _−_ _k_ 8 ( _θfB_ _−_ _θwr_ ) + _c_ 8 _k_ 9 ( _θwr −_ _θvr_ ) + _c_ 9 - _θ_ ˙ _fB_ _−_ _θ_ ˙ _wr_ �� _<u>Jvl</u>_ _θ_ ¨ _vl_ = _k_ 7 ( _θwl −_ _θvl_ ) + _c_ 7 _θ_ ˙ _wl −_ _θ_ ˙ _vl_ 2 - _−_ <sup>_<u>T</u>_</sup> 2 <sup>_<u>vl</u>_</sup> <sup>_,_</sup> (10) - _−_ <sup>_<u>Tvr</u>_</sup> 2 <sup>_._</sup> <sup>(11)</sup> VOLUME 4 2016 3 _k3,c3_ _<u>J2</u>_ _i1_ _k4,c4_ _i2_ _k2,c2_ _k1,c1_ _Tcl1_ _<u>Jclu</u>_ _Tcl2_ _<u>J1</u>_ _Jg1A_ _Tm_ ### J J m m _Jg2A_ _k5,c5_ _k8,c8_ _k9,c9_ _i0_ _<u>Jg1B</u>_ _<u>Jg2B</u>_ _JfA_ _JfB_ _k7,c7_ _k6,c6_ _Jv/2_ _Jw_ _Jw_ _Jv/2_ _Jw_ _Jw_ _Tv/2_ _Tv/2_ FIGURE 3. Structure diagram of 11-DOF system of vehicle. The whole vehicle driving resistance torque is �2 <sup>�</sup> _rw,_ _Tv_ = - _mg_ sin _α_ + _µmg_ cos _α_ + <sup><u>1</u></sup> 2 <sup>_ρcDA_</sup> - _θ_ ˙ _wrw_ (12) where _ki_ and _ci_ (i=1,2,3,......) denote the stiffness and damping of each rotating shaft, _θm_, _θclu_, _θ_ 1, _θ_ 2, _θg_ 1 _A_, _θg_ 1 _B_, _θg_ 2 _A_, _θg_ 2 _B_, _θfA_, _θfB_, _θw_ and _θv_, denote the motor rotation angle, the clutch main disc angle, clutch 1 driven disc angle, clutch 2 driven disc angle, first gear main gear angle, second gear main gear angle, first gear-driven gear angle, second gear-driven gear angle, main reducer main gear angle, main reducer driven gear angle, wheel angle and half car steering angle; _θ_, _θ_ <sup>˙</sup> and _θ_ <sup>¨</sup> indicate the angular displacement of the corresponding rotating parts, rotational speed, and angular acceleration. _C._ _GEARSHIFT CONTROL MODEL_ Automotive gearshift control relies on an effective control model and control strategy. The gearshift control model usually selects the gearshift trajectory that meets the conditions from the gearshift strategy according to the vehicle driving conditions and driver’s demand and completes the shifting process by adjusting the motor and clutch torque. However, since the gearshift trajectory is obtained from the simplified dynamics model and there are disturbances in the vehicle driving environment, it is difficult to obtain ideal gearshift control results by using the gearshift optimization strategy alone, so the controller in this article chooses to use the feedforward-feedback composite controller, which not only can accurately adjust the torque signal but also can reduce the workload of the feedback controller under the condition that the model accuracy of the feedforward controller is appropriately reduced, thus improving the gearshift quality [29]. The gearshift control model designed in this article is shown in Fig 4. The strategy module provides the reference control trajectory and reference state trajectory to the controller module according to the vehicle speed and throttle opening degree. The feedforward controller sends out control signal _U_ 1 according to the reference control trajectory, and the feedback controller outputs feedback control signal _U_ 2 by comparing the real-time state and the reference state and then outputs the actual control signal _U_ to other systems of the vehicle after combining with _U_ 1. The more important strategy module as well as the controller module in the gearshift control model will be introduced below. 1) STRATEGY MODULE The gearshift strategy module stores the gearshift optimization strategy based on Legendre pseudo-spectrum method. In the process of gearshift strategy optimization, Legendre pseudo-spectrum method iterative operations are performed according to different accelerator pedal openings and vehicle speeds, and the optimization results contain gearshift optimization strategies for different driving conditions and driver requirements, and the resulting gearshift strategy solution set can meet the performance requirements of different driving conditions. In this article, the economic Jerk-pattern gearshift optimization trajectory will be selected. The gearshift point is determined according to the current vehicle speed and accelerator pedal position, and the trajectory signal that meets the gearshift conditions is sent to the controller module by analyzing the gearshift point and gearshift pattern. 2) CONTROLLER MODULE The controller module consists of feedforward controller and feedback controller. The feedforward controller is based on the output torque signal of the strategy module obtained by offline optimization, without considering the real-time environmental noise, so the design of the feedback controller is extremely important. In this article, RBFNN is selected 4 VOLUME 4 2016 Strategy module Reference control trajectory U’ Feedforward control signal U1 feedforward controller Reference State trajectory X’ Feedback control signal U2 feedback controller <mark>+</mark> <mark>+</mark> Controller module Actual status signal X Actual control signal U FIGURE 4. Schematic diagram of the gearshift control model, consisting of a controller module and a strategy module. as the feedback controller. The real-time performance of RBFNN is good, and the control signal can be generated only by forward propagation in the inference stage, which makes the calculation speed faster. The structure is simple, and the number of parameters that need to be stored is usually small, so the storage requirements are relatively low. The parameters that need to be trained in this article are limited, so a large amount of training time is not required. Therefore, from the point of view of experiment and calculation, the application of RBFNN controller to DCT shift is feasible. Its design and principle are described in detail in Part III. 3) GEARSHIFT CONTROL MODELING From the above analysis, it can be seen that the motor torque includes the feedforward torque _T_ <sup>¯</sup> _m_ and the feedback torque _Tm_ <sup>_′_</sup> <sup>,</sup> <sup>the</sup> <sup>transfer</sup> <sup>torque</sup> <sup>of</sup> <sup>clutch</sup> <sup>1</sup> <sup>is</sup> <sup>only</sup> <sup>the</sup> <sup>feedforward</sup> torque _T_ <sup>¯</sup> _c_ 1, and the transfer torque of clutch 2 includes the feedforward torque _T_ <sup>¯</sup> _c_ 2 and the feedback torque _Tc_ <sup>_′_</sup> 2 <sup>,</sup> <sup>where</sup> the feedback torque of the motor and clutch 2 are the control variables. The state variable _x_ is expressed as follows: The state space equations of the shift dynamics model can be obtained by reorganizing the variables of the above equation: _x_ ˙ = ( _A_ _⊕_ _B_ ) _x_ + _C_ <u>(</u> _<u>u</u>_ + _u_ <sup>_′_</sup> ) + _D_ _,_ (13) where _A_, _B_, _C_, _D_ are the matrices with damping, stiffness, control variables, and driving torque parameters, respectively. The optimization target of the gearshift control is to adjust the feedback torque of the motor and clutch 2 so that the actual speed difference trajectory of the master and slave discs of clutch 2 follows the reference trajectory, ensuring that the actual speed difference at the end of the shifting process tends to zero. Therefore, the actual state variable to be controlled is - _x_ ˙ [2] _−_ _x_ ˙ [4]� and the control objective is to be controlled is - _x_ ˙ [2] _−_ _x_ ˙ [4]� and the control objective is - _x_ ˙ [2] _−_ _x_ ˙ [4]� _−_ - _θ_ ˙ _m −_ _i_ 0 _i_ 2 ˙ _θv_ �. - _x_ ˙ [2] _−_ _x_ ˙ [4] - _−_ - _θ_ ˙ _m −_ _i_ 0 _i_ 2 ˙ _θv_ �. _._ _x_ = - _θ_ ˙ _m,_ _θ_ ˙ _clu,_ _θ_ ˙1 _,_ _θ_ ˙2 _,_ _θ_ ˙ _g_ 1 _B,_ _θ_ ˙ _g_ 2 _B,_ _θ_ ˙ _fB,_ _θ_ ˙ _wl,_ _θ_ ˙ _wr,_ _θ_ ˙ _vl,_ _θ_ ˙ _vr_ The feedforward control variable _<u>u</u>_ and the feedback control variable _u_ <sup>_′_</sup> are denoted as follows: III. CONTROLLER DESIGN AND PARAMETERS OPTIMIZATION _A._ _RBFNN FEEDBACK CONTROLLER DESIGN_ In 1985, Powell proposed the radial basis function method for multivariate interpolation [30]. The radial basis function is a real-valued function that depends only on the distance from the origin, that is, _φ_ ( _x_ ) = _φ_ ( _∥x∥_ ), or can also be the distance to any point c, c is called the center point, that is, _φ_ ( _x, c_ ) = _φ_ ( _∥x_ _−_ _c∥_ ). Any function _φ_ that satisfies the characteristic _φ_ ( _x_ ) = _φ_ ( _∥x∥_ ) is called a radial basis function, and the common Gaussian kernel function chosen in this article is of the following form - _⊤_ _,_ _<u>u</u>_ = ~~�~~ _T m, T c_ 1 _, T c_ 2 _u_ <sup>_′_</sup> = [ _T_ <sup>_′_</sup> _c_ <sup>_′_</sup> 2 <sup>]</sup> <sup>_⊤_</sup> <sup>_._</sup> _m_ <sup>_′_</sup> <sup>_,_</sup> <sup>0</sup> <sup>_, T_</sup> _c_ <sup>_′_</sup> Then the control variable u is denoted as: _u_ = ( _<u>u</u>_ _⊕_ _u_ <sup>_′_</sup> ) <sup>_⊤_</sup> _._ _k_ ( _∥x −_ _c∥_ ) = exp _−_ <sup>_<u>∥x −</u>_</sup> <sup>_<u>c∥</u>_</sup> <sup>2</sup> (2 _∗_ _σ_ ) <sup>2</sup> _,_ (14) VOLUME 4 2016 5 where _c_ is the center of the kernel function; _σ_ is the width parameter of the function, which controls the radial range of action of the function. Fig. 5 visualizes the structure of a radial basis function neural network, which is a three-layer neural network consisting of an input layer, a linear output layer, and a hidden layer with a specific nonlinear RBF activation function. In this article, the input layer is an 11-dimensional vector - _µ_ <sup>_x_</sup> [1] <sup>_, · · ·_</sup> <sup>_,_</sup> <sup>_µx_</sup> [11], i.e., the state distribution. The hidden layer _μ_ [1] <sup>_x_</sup> _φ1_ _φ2_ _._ _._ _._ _φN_ _w1_ _w2_ _wN_ _∑_ - _µ_ <sup>_x_</sup> [1] <sup>_, · · ·_</sup> <sup>_,_</sup> <sup>_µx_</sup> [11], i.e., the state distribution. The hidden layer uses multiple Gaussian functions [ _φ_ 1 _, · · ·_ _, φN_ ] as the neurons of the activation function, whose role is to map the low-dimensional nonlinearly differentiable input to a highdimensional linearly differentiable space. This results in the output value of the implicit function layer as: _μ_ [2] <sup>_x_</sup> _._ _._ _._ _μ_ <sup>_x_</sup> [11] <sup>_x_</sup> [1] <sup>_, · · ·_</sup> <sup>_,_</sup> <sup>_µx_</sup> [11] FIGURE 5. Radial basis function neural networks. PILCO process Initialization random dataset dataset D Model learning Strategy evaluation apply strategy Updating control strategy _φ_ _n_ = exp - _−_ <sup><u>1</u></sup> _,_ (15) 2 <sup>(</sup> <sup>_µx_</sup> <sup>_−_</sup> <sup>_c_</sup> <sup>_n_</sup> <sup>)</sup> <sup>_⊤_</sup> <sup>_W_</sup> <sup>(</sup> <sup>_µx_</sup> <sup>_−_</sup> <sup>_c_</sup> <sup>_n_</sup> <sup>)</sup> where _φ_ _n_ is the Gaussian kernel function; _c_ _n_ is the centroid of the function, the initial centroid is sampled from the initial state distribution and can be obtained by training samples to meet the specific values required, and the Gaussian kernel function responds locally to the input, when the input is close to the centroid of the basis function, the hidden layer nodes will produce a larger output; when it is far from the centroid, the output will be exponentially decayed; _µ_ <sup>_x_</sup> is the mean value of the state variables; _W_ is the covariance matrix, the magnitude of its value determines the magnitude of the influence of different input values on the neuron, and the influence of a state variable on the corresponding neuron can be eliminated by setting the corresponding value in _W_ to zero. The control strategy _π_ <sup>_∗_</sup> ( _x_ ) of the output layer output is a weighted sum of the output values of each neuron in the hidden function layer Gearshift controller _π_ <sup>_∗_</sup> ( _x_ ) = _N_ _n_ =1 _φnwn,_ (16) where _wn_ is the weight coefficient, which, like _c_ _n_, can be obtained from training samples to meet the specific value required. In addition, due to physical factors, both the motor output torque and the transfer torque of clutch 2 are limited, i.e., _u_ _∈_ [ _−_ _u_ max _,_ _u_ max], so the final feedback controller outputs the control strategy _π_ ( _x_ ) as: _π_ ( _x_ ) = _u_ max _ρπ_ <sup>_∗_</sup> ( _x_ ) _,_ (17) where _ρ_ is the sinusoidal compression function that can control _π_ ( _x_ ) within the restriction range [ _−_ _u_ max _,_ _u_ max]; _π_ <sup>_∗_</sup> ( _x_ ) is the non-compression control strategy. _B._ _PILCO OPTIMIZATION ALGORITHM_ In order for the RBFNN to achieve the desired control effect, the values of the function’s centroid _c_ _n_, the covariance matrix _W_, and the weight coefficients _wn_ need to be optimized. For this purpose, it is crucial to obtain sufficient training FIGURE 6. PILCO reinforcement learning algorithm process. samples and to select the appropriate algorithm for controller parameter optimization. Reinforcement learning algorithms have demonstrated their effectiveness in training neural networks [31], and reinforcement learning is usually divided into two categories, model-based methods, and model-free methods. In the former, the agent gradually builds an internal model of the environment(learning) and then uses that model to design a control policy (planning). In the latter, the agent learns the control policy directly from the interaction with the environment. Model-free approaches often require more interaction with the environment, i.e., extensive experiments in the real world.To improve the efficiency of the gearshift controller parameter optimization, the model-based PILCO algorithm is chosen to perform this work in this article. The main flow of PILCO algorithm is shown in Fig. 6. 6 VOLUME 4 2016 TABLE 1. PILCO algorithm pseudo-code. <u>Algorithm: PILCO algorithm</u> 1 Initialization: set random dataset for the first rollout. 2 For i = 1: m Apply the policy _π_ in the system and collect Data _D_ for the 3 first time. 4 Train an unknown dynamic model f_unkown with GP. 5 For j = 1: n Rollout system with RBF Neural Network and get expected 6 long-term cost _L_ - _x_ [0]� 1) MODEL LEARNING Learning the probabilistic dynamics model using a GP is an important part of the bottom layer of the PILCO algorithm. the GP uses a scalar output approximation function from which the uncertainty model _fd_ ( _x_ _,_ _u_ ) is learned and the corresponding probability distribution is obtained. the GP actually learns the difference between the reference dynamics model and the actual dynamics model, and the process is stochastic. The gearshift dynamics model can be expressed as follows: - _x_ [0] - _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1]� _,_ (18) 7 Update policy _π_ 8 End <u>9</u> End After initializing the program, a random data set is first generated and a Gaussian procedure (GP) is performed using that data set. The uncertainty factors such as model error and environmental disturbance are included in the modeling process, and the nonlinear probabilistic dynamics model of the vehicle satisfying the Gaussian distribution is learned. Approximate inference for policy evaluation to get the expected long term cost. The gradient descent method is used to minimize the value function, and the optimal strategy under the current GP model is found. And update the control policy by updating the controller parameters. Applying the optimized control strategy to the shift control results in a new data set _D_ . After that, the PILCO algorithm completes the first iteration and performs the next iteration using the new data set _D_ . The results of the shift control optimization are recorded in the results of each iteration. Table 1 shows the pseudo-code of this algorithm, m denotes the number of custom iterations and n denotes the number of searches for the control strategy. The PILCO algorithm is characterized by high learning efficiency and good robustness so that the controller parameter matrix satisfying the practical requirements is usually obtained after a few iterations. In this article, m is taken to be 10, and n is taken to be 150 in the gearshift control optimization study. Fig. 7 shows the schematic diagram of the gearshift control model optimized based on the PILCO algorithm. The feedback part uses a radial basis function neural network controller with offline learning and online control functions. The gearshift strategy module stores the Legendre pseudospectral optimization strategy, and the state estimation module collects the sensor signals and transmits the data set _D_ required for feedback regulation to the radial basis function neural network controller. The feedback torque signal is output from the radial basis function neural network controller, summed with the feedforward torque signal and transmitted to the torque actuator module and finally transformed into the torque actuation signal to achieve gearshift control. The computing process of the PILCO algorithm is divided into model learning, strategy evaluation, and controller parameter updating. _K_ _z_ _∗_ _z_ = - _k_ - _z_ _∗,_ _z_ [1]� _...k_ - _z_ _∗,_ _z_ [ _n_ ]��. At this point, the learning of the probabilistic gearshift dynamics model is completed. _x_ [ _t_ ] = _f_ where the state variable _x_ [ _t_ ] of the current step is jointly determined by the state variable _x_ [ _t−_ 1] of the previous step and the control quantity _u_ [ _t−_ 1]. To model the probabilistic dynamics, the PILCO algorithm introduces the difference variable ∆ [ _t_ ] = ( _x_ [ _t_ ] _−_ _x_ [ _t−_ 1] + _α_ _,_ (19) where _α_ _∼_ _N_ (0 _,_ Σ _α_ ), Σ _α_ = _diag_ ([ _σ_ _α_ 1 _, . . .,_ _σ_ _αN_ ], and _σ_ is the variance. To obtain the gearshift probability dynamics model, PILCO learns the fitted relationship between the input _x_ [ _t_ ] and the output ∆ [ _t_ ]. Define the training data set as: - - - - _⊤_ <sup>�</sup> := _x_ := _x_ [1] _, · · ·_ _,_ _x_ [ _n_ ]� _⊤_ _,_ Y := ∆ [1] _, · · ·_ _,_ ∆ [ _n_ ] _._ (20) Assuming _z_ = - _x_ <sup>_⊤_</sup> _,_ _u_ <sup>_⊤_</sup> <sup>�</sup> <sup>_⊤_</sup>, the GP is characterized by the - _x_ [1] _, · · ·_ _,_ _x_ [ _n_ ] ]� _⊤_ _,_ Y := - ∆ [1] _, · · ·_ _,_ ∆ [ _n_ ] _D_ := _x_ := - _x_ <sup>_⊤_</sup> _,_ _u_ <sup>_⊤_</sup> <sup>�</sup> <sup>_⊤_</sup>, the GP is characterized by the , state variable mean _m_ ( _z_ ) and the kernel function _k_ - _′_ _z_ _,_ _z_ _′_ <sup>�</sup> is denoted as and _m_ ( _z_ ) = 0 is chosen, then _k_ - _′_ <sup>�</sup> _z_ _,_ _z_ Λ <sup>_−_</sup> <sup>1 �</sup> _,_ _′_ <sup>�</sup> <sup>_⊤_</sup> _′_ <sup>�</sup> = _σf_ <sup>2exp</sup> _′_ <sup>��</sup> _z_ _−_ _z_ - _−_ <sup><u>1</u></sup> - _z_ _−_ _z_ 2 _k_ _z_ _,_ _z_ (21) where _σf_ <sup>2</sup> <sup>is</sup> <sup>the</sup> <sup>signal</sup> <sup>variance.</sup> <sup>Λ</sup> <sup>is</sup> <sup>a</sup> <sup>diagonal</sup> <sup>matrix</sup> composed of feature lengths, which are hyper-parameters of GP, where the last hyper-parameter value denotes the noise variance _σϵ_ <sup>2. Since the controller parameter matrix</sup> <sup>_δ′_</sup> <sup>is</sup> randomly generated when running PILCO for the first time, the GP needs to learn the entire gearshift dynamics model with data set _D_ . For the test point _z_ _∗_, the output value ∆( _z_ _∗_ ) will be Gaussian distributed with the mean and variance - _K_ _zz_ + _σϵ_ <sup>2</sup> <sup>_I_</sup> - _K_ _zz_ + _σϵ_ <sup>2</sup> - _−_ 1 _yd,_ (22) _µd_ ( _z_ _∗_ ) = _K_ _z_ _∗_ _z_ - _−_ 1 _K_ _z_ _⊤∗_ _z_ <sup>_,_</sup> <sup>(23)</sup> Σ _d_ ( _z_ _∗_ ) = _k_ ( _z_ _∗,_ _z_ _∗_ ) _−_ _K_ _z_ _∗_ _z_ - _K_ _zz_ + _σϵ_ <sup>2</sup> <sup>_I_</sup> - _z_ [1] _,_ _z_ [ _n_ ]  - _z_ [1] _,_ _z_ [1] _k_ - _· · ·_ _k_ where _K_ _zz_ =  ... ... ... _k_ - _z_ [ _n_ ] _,_ _z_ [1]� _· · ·_ _k_ - _z_ [ _n_ ] - _z_ [ _n_ ] _,_ _z_ [1] - _· · ·_ _k_ - _z_ [ _n_ ] _,_ _z_ [ _n_ ]  , - _...k_ - _z_ _∗,_ _z_ [ _n_ ] _K_ _z_ _∗_ _z_ = - _k_ - _z_ _∗,_ _z_ [1] VOLUME 4 2016 7 Initial Parameters Reference speed difference trajectory Optimization parameters Feedforward controller Control strategy π Strategy evaluation Strategy enhancement Offline Optimization _p(_ _ut_ _)_ Application control strategy ∏ Torque reference trajectory <mark>+</mark> <mark>+</mark> <mark>+</mark> <mark>+</mark> Tacho signal Torque signal <u>Acceleration signal</u> Speed signal Torque actuator module Action signals Complete Vehicle Drivetrain RBFNN _p(_ _xt_ _)_ Transmission model Probabilistic dynamics model Gaussian Process Transferring data set D Speed and torque planning module Speed signal Feedback Tm Feedback Tc2 State estimation module PILCO-based RBF neural network controller FIGURE 7. Schematic diagram of gearshift control model based on PILCO algorithm. 2) STRATEGY EVALUATION With the PILCO bottom operation, the GP learns a probabilistic dynamics model satisfying a Gaussian distribution with the following expression: TABLE 2. Iterative calculation process. <u>�</u> _x_ [ _t_ ]� _p_ <u>�</u> iterative calculation process 1. Obtain the state distribution _p_ <u>�</u> _x_ [ _t−_ 1]� at moment t-1, Calculate the control volume distribution _p_ - _u_ [ _t−_ 1] - ) at moment t-1 (24) _x_ ˙ [ _t_ ] = ( _A_ _d ⊕_ _B_ _d_ ) _x_ [ _t−_ 1] + _C_ - _<u>u</u>_ [ _t−_ 1] + _u_ <sup>_′_</sup> [ _t−_ 1]� 2. Calculate the joint state-control volume distribution _p_ - _u_ [ _t−_ 1] _|_ _x_ [ _t−_ 1]� at moment _t −_ 1 3. Calculate the output distribution _p_ �∆ _x_ [ _t−_ 1]� at moment t-1 4. Calculate the state distribution _p_ - _x_ [ _t_ ]�) at moment t + _f_ - _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1] - + _D_ _,_ _u_ [ _t−_ 1] = _u_ ¯ [ _t−_ 1] + _π_ - _x_ [ _t−_ 1] - _._ (25) The system model contains the nominal dynamics model - _Ad_ _u_ [ _t−_ 1] + _C_ - and the uncertainty model - is the artificially set reward function, _x_ [0] is - _x_ [ _t_ ] ics model - _Ad_ _u_ [ _t−_ 1] + _C_ - and the uncertainty model _f_ - _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1]� learned through the underlying. _u_ [ _t−_ 1 ] - _Ad_ _u_ [ _t−_ 1] + _C_ where _c_ [ _t_ ] , _µ_ <sup>_x_</sup> [ _t_ ] <sup>_x_</sup> [ _t_ ] <sup>_,_</sup> <sup>Σ</sup> <sup>_x_</sup> [ _t_ ] <sup>_x_</sup> [ _t_ ] <sup>and</sup> <sup>Σ</sup> <sup>_x_</sup> [ _t_ _f_ - _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1]� learned through the underlying. _u_ [ _t−_ 1 ] is the control variable, including the feedforward control variable _<u>u</u>_ [ _t−_ 1 ] and the feedback control variable _π_ - _x_ [ _t−_ 1]�. - _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1] the initial state, _x_ [ _t_ ] _∼N_ _µ_ <sup>_x_</sup> [ _t_ ] variable _<u>u</u>_ [ _t−_ 1 ] and the feedback control variable _π_ - _x_ [ _t−_ 1]�. From the expression, it is clear that the system model needs to be run step-by-step. In the middle layer, the PILCO algorithm uses the initial state _x_ [0] and time _t_ =0 as the simulation starting point, and the target state _x_ [ _t_ ] and time _t_ = _T_ as the simulation end point, and uses the system model to compute the value function _L_ - _x_ [0]� to evaluate the system model for the policy. the - _x_ [ _t−_ 1] the initial state, _x_ [ _t_ ] _∼N_ _µ_ <sup>_x_</sup> [ _t_ ] <sup>_,_</sup> <sup>Σ</sup> <sup>_x_</sup> [ _t_ ], _µ_ <sup>_x_</sup> [ _t_ ] <sup>and</sup> <sup>Σ</sup> <sup>_x_</sup> [ _t_ ] <sup>denote</sup> the mean and variance of the state distribution at the current step, respectively. The matrix _W_ is the weight matrix, which is an irreversible matrix with a dimension equal to the number of state variables. According to the above equation, the value function _L_ - _x_ [0]� of the initial state can be solved only by computing It follows that _p_ _L_ - _x_ [0]� of the initial state can be solved only by computing the probability distribution _p_ - _x_ [ _t_ ]� of the state _x_ [ _t_ ] for all - _x_ [0] - _x_ [ _t_ ] _L_ - _x_ [0]� to evaluate the system model for the policy. the expression of _L_ - _x_ [0]� is as follows: - _x_ [0] the probability distribution _p_ - _x_ [ _t_ ]� of the state _x_ [ _t_ ] for all steps. The Probability distribution for each step is given by (28), as shown at the bottom of the next page. It follows that _p_ - _x_ [ _t_ ]� needs to be obtained before calculating _p_ - _x_ [ _t_ ] _|_ _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1]�, _p_ - _u_ [ _t−_ 1] _|_ _x_ [ _t−_ 1]� and �, _p_ - _x_ [ _t_ ] - _x_ [0] - is as follows: - _u_ [ _t−_ 1] _|_ _x_ [ _t−_ 1] - _x_ [ _t_ ] _|_ _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1] The state distribution _p_ - _x_ [1] _T_ - �� _c_ _i_ =0 - _x_ [ _t_ ] - _p_ - _x_ [ _t_ ] �� _d_ _x_ [ _t_ ] _,_ (26) calculating _p_ - _x_ [ _t_ ] _|_ _x_ [ _t−_ 1] _,_ _u_ [ _t−_ 1]�, _p_ - _u_ [ _t−_ 1] _|_ _x_ [ _t−_ 1]� and _p_ - _x_ [ _t−_ 1]�. The process can be divided into 4 steps, as shown - _x_ [ _t−_ 1] _L_ - _x_ [0]� = - _, . . ., p_ - _x_ [ _T_ ] _x_ [ _t_ ] _−_ _p_ - _x_ [ _t−_ 1]�. The process can be divided into 4 steps, as shown in Table 2. The state distribution _p_ - _x_ [1]� _, . . ., p_ - _x_ [ _T_ ]� for all steps can be solved by repeating the above four steps, and the value function _L_ - _x_ [0]� of the initial state can be calculated value function _L_ - _x_ [0]� of the initial state can be calculated by using the resulting state distribution and performing the _x_ [ _t_ ] _−_ - <sup>�</sup> _,_ (27) - _x_ [0] _x_ _−_ [ _t_ ]) _⊤_ _W_ _x_ _−_ [ _t_ ] - _−_ <sup><u>1</u></sup> 2 - _−_ <sup><u>1</u></sup> _c_ - _x_ [ _t_ ] ]� = 1 _−_ exp 8 VOLUME 4 2016 integration operation according to equation (28). 3) CONTROLLER PARAMETER UPDATE The feedback torque optimization objective of the RBFNN controller is to minimize the value function _L_ - _x_ [0] _| πδ_ under the condition of simulation time _T_ and having the number of steps _dt_ . The method for updating the controller parameter matrix is to use pytorch’s auto-gradient function to implement a gradient descent-based policy search by searching for the optimal parameter _δ_ <sup>_∗_</sup> such that the control policy _π_ satisfies the following equation: - _x_ [0] _| πδ_ IV. SIMULATION EXPERIMENTS AND ANALYSIS It should be noted that the whole vehicle driveline used in this article is a simplified 11-degree-of-freedom system and does not fully reflect the vehicle’s transmission. It is assumed that the whole vehicle is under steady state conditions at the beginning of the experiment and that the constant operating conditions are maintained throughout the experiment. And there is no power loss during the whole gear shift process. _A._ _SIMULATION CONDITIONS_ To verify the optimization efficiency and effect of the RBFNN gearshift controller using the PILCO algorithm, the Jerk-pattern gearshift optimization results obtained through the pseudo-spectrum method, as shown in Fig. 8, are used as feedforward control variables. Subsequently, simulation experiments are conducted under 0 slope conditions, no load, and a 40% accelerator pedal opening. The vehicle parameters for the simulation process are set according to Table 3. To illustrate the optimization effect, the PID controller is selected as a comparison in this article, which usually takes a lot of time to adjust parameters. To compare the efficiency of the PILCO algorithm laterally, a group of parameters with better control effects in 20 adjustments are selected as simulation parameters in this article, and P, I and D parameters were set at 0.1, 3.0 and 0.01, respectively. _B._ _SIMULATION RESULTS AND ANALYSIS_ The simulation results of shift control based on initial random controller parameters are shown in Fig. 9, and the results of four iterations of training are shown in Fig. 10 to Fig. 13, in which (a) (b) record the motor and clutch 2 torque trajectories and clutch 2 main and slave moving disc speed difference trajectory difference during the simulation, respectively. Under the initial random strategy simulation conditions, the speed FIGURE 8. Feedforward control value. _δ_ <sup>_∗_</sup> _∈_ arg _minπ∈_ Π <sup>_L_</sup> �� _πδ_ - _._ (29) - _x_ [0] The expression for the gradient of _L_ - _x_ [0]�� _πδ_ - with respect to _δ_ is as follows: - _x_ [0]�� The expression for the gradient of _L_ _T_ _t_ =0 _dL_ - _x_ [0] = _dδ_ ��� _πδ_ - _,_ (30) _<u>d</u>_ _dδ_ <sup>E</sup> <sup>_x_</sup> <sup>[</sup> <sup>_t_</sup> <sup>]</sup> - _c_ - _x_ [ _t_ ] where the state quantity _x_ [ _t_ ] at each moment satisfies the Gaussian distribution and the controller parameters _δ_ are in the mean and covariance. The feasible methods to calculate the gradient formula include analytic differentiation and automatic differentiation, and in this article, the analytic method is chosen to calculate the gradient formula, and the corresponding gradient formula is the extended formula using the chain rule is given by (31), as shown at the bottom of the page. where the mean and variance derivatives of the state distribution associated with the controller parameters _δ_ can be further expanded as the following expressions: _∂_ Σ <sup>_x_</sup> [ _t_ ] _∂δ_ <sup>_._</sup> <sup>(33)</sup> _d_ _µ_ <sup>_x_</sup> [ _t_ ] = _dδ_ [ _t_ ] _∂_ _µ_ <sup>_x_</sup> [ _x_ _−_ [ _x_ _−_ 1] _∂_ _µ_ <sup>_x_</sup> [ _t_ ] _d_ _µ_ <sup>_x_</sup> [ _t_ _d_ Σ <sup>_x_</sup> [ _t_ _−_ 1] + _dδ_ _d_ Σ <sup>_x_</sup> [ _t−_ 1] + _dδ_ [ _t_ ] _∂_ Σ <sup>_x_</sup> [ _t−_ _∂_ _µ_ <sup>_x_</sup> [ _t_ ] [ _t−_ 1] _d_ _µ_ <sup>_x_</sup> [ _t−_ 1] + _dδ_ _∂_ _µ_ <sup>_x_</sup> [ _t_ ] _∂δ_ <sup>_,_</sup> <sup>(32)</sup> _d_ Σ <sup>_x_</sup> [ _t_ ] = _dδ_ [ _t_ ] _∂µ_ <sup>_x_</sup> [ _t−_ _∂_ Σ <sup>_x_</sup> [ _t_ ] [ _t−_ 1] [ _t_ ] _∂_ Σ <sup>_<u>x</u>_</sup> [ _t−_ _∂_ Σ <sup>_x_</sup> [ _t_ ] [ _t−_ 1] _dµ_ <sup>_x_</sup> [ _t−_ 1] + _dδ_ The sum of the gradients of all steps is the gradient of the value function to _δ_ . The controller parameter matrix control is updated using the gradient descent method to obtain a new control strategy. The parameter matrix of the controller _P_ _hyp_ is as follows: _P_ _hyp_ = - _δ_ 1 _,_ 1 _δ_ 1 _,_ 2 _. . . δ_ 1 _,_ 12 _δ_ 1 _,_ 13 _δ_ 1 _,s_ _δ_ 1 _,n_ (34) _δ_ 2 _,_ 1 _δ_ 2 _,_ 2 _. . . δ_ 2 _,_ 12 _δ_ 2 _,_ 13 _δ_ 2 _,s_ _δ_ 2 _,n_ where _P_ _hyp_ (1 : 13 _,_ 1 : 2) is the state parameter matrix, _P_ _hyp_ (14 _,_ 1 : 2) denotes the signal variance, and _P_ _hyp_ (15 _,_ 1 : 2) denotes the noise variance. - = <u>��</u> - _p_ - _x_ [ _t_ ] _|_ _x_ [ _t−_ 1 ] _,_ _u_ [ _t−_ 1] - _p_ - _u_ [ _t−_ 1 ] _|_ _x_ [ _t−_ 1 ]� _p_ - _x_ [ _t−_ 1 ] �� _d_ _x_ [ _t−_ 1 ] _d_ _u_ [ _t−_ 1 ] _._ (28) _p_ _<u>d</u>_ _dδ_ <sup>E</sup> <sup>_x_</sup> <sup>[</sup> <sup>_t_</sup> <sup>]</sup> - _x_ [ _t_ ] _<u>∂</u>_ _∂_ Σ <sup>_<u>x</u>_</sup> [ _t_ ] - _c_ - _x_ [ _t_ ]� _| πδ_ - = _<u>∂</u>_ _∂_ _µ_ <sup>_x_</sup> [ _t_ ] _E_ _x_ [ _t_ ] - _x_ [ _t_ ]� _| πδ_ �� _d_ _µ_ <sup>_x_</sup> [ _t_ ] + _dδ_ E _x_ [ _t_ ] - _x_ [ _t_ ] - _| πδ_ �� _d_ Σ _dδ_ <sup>_x_</sup> [ _t_ ] <sup>_._</sup> (31) - _c_ - _c_ VOLUME 4 2016 9 TABLE 3. System parameters for powertrain model. <u>Symbol</u> <u>Name</u> <u>Value</u> <u>Symbol</u> <u>Name</u> <u>Value</u> _Jm_ Motor 6.57 _×_ 10 <sup>-2</sup> kg _·_ m <sup>2</sup> _Jclu_ Clutch drum 0.30 kg _·_ m <sup>2</sup> _J_ 1 Clutch one 7.25 _×_ 10 <sup>-3</sup> kg _·_ m <sup>2</sup> _J_ 2 Clutch two 1.29 _×_ 10 <sup>-2</sup> kg _·_ m <sup>2</sup> _Jg_ 1 _A_ Gear 1 1.51 _×_ 10 <sup>-2</sup> kg _·_ m <sup>2</sup> _Jg_ 1 _B_ Pinion 1 7.52 _×_ 10 <sup>-3</sup> kg _·_ m <sup>2</sup> _Jg_ 2 _A_ Gear 2 9.40 _×_ 10 <sup>-3</sup> kg _·_ m <sup>2</sup> _Jg_ 2 _B_ Pinion 2 6.33 _×_ 10 <sup>-3</sup> kg _·_ m <sup>2</sup> _JfA_ Final drive 1 3.04 _×_ 10 <sup>-3</sup> kg _·_ m <sup>2</sup> _JfB_ Final drive 2 1.16 kg _·_ m <sup>2</sup> _Jw_ Wheel hubs 7.52 _×_ 10 <sup>-1</sup> kg _·_ m <sup>2</sup> _Jv_ Whole vehicle 143.04 kg _·_ m <sup>2</sup> _rw_ Tyre radius 0.23 m _m_ Vehicle mass 1500 kg _µ_ Rolling resistance 0.01 _ρ_ Air density 1.13 kg / m _CD_ Drag coefficient 0.30 _A_ Windward area 2.08 m <sup>2</sup> _ηt_ Transmission efficiency 0.94 _k_ 1 Motor output 1 _×_ 10 <sup>5</sup> Nm/rad _k_ 2 Primary shaft 1 1 _×_ 10 <sup>5</sup> Nm _/_ rad _k_ 3 Lay shaft 1 1 _×_ 10 <sup>5</sup> Nm _/_ rad _k_ 4 Primary shaft 2 1 _×_ 10 <sup>5</sup> Nm _/_ rad _k_ 5 Lay shaft 2 1 _×_ 10 <sup>5</sup> Nm _/_ rad _k_ 6 Half shaft 1.10 _×_ 10 <sup>4</sup> Nm _/_ rad _k_ 7, _k_ 9 Tyre stiffness 2.60 _×_ 10 <sup>3</sup> Nm _/_ rad _k_ 8 Half shaft 9.39 _×_ 10 <sup>3</sup> Nm _/_ rad _c_ 1 Motor output 10 Nm _·_ s _/_ rad _c_ 2 Primary shaft 1 100 Nm _·_ s _/_ rad _c_ 3 Lay shaft 1 100 Nm _·_ s _/_ rad _c_ 4 Primary shaft 2 100 Nm _·_ s _/_ rad _c_ 5 Lay shaft 2 100 Nm _·_ s _/_ rad _c_ 6 Half shaft 90 Nm _·_ s _/_ rad _c_ 7 _, c_ 9 Tyre damping 50 Nm _·_ s _/_ rad _c_ <u>8</u> <u>Half shaft</u> <u>90 Nm</u> _·_ s _/_ rad _ma_ <u>Full load mass</u> <u>1900 kg</u> (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 9. Gearshift control based on initial random controller parameters. difference between the master and slave discs of clutch 2 is significantly higher than the reference speed trajectory throughout the shifting process, and the actual motor torque is significantly smaller than its feedforward torque as shown by the torque trajectory, indicating that the motor output torque is reduced, which also cannot make the actual speed difference trajectory follow the reference trajectory. Therefore, in the first iteration, the transfer torque of the clutch rises sharply in the inertial phase, as shown in Fig. 10, but then the transfer torque is too large, resulting in the speed difference following the target trajectory only in the middle moments, while in the end moments, it is difficult to reduce rapidly, and finally, the actual speed difference is smaller than the estimated speed difference instead. Based on the data recorded in the first iteration, the second iteration was started, as shown in Fig. 11. In this iteration, both the instances when the motor output torque was lower than the feedforward torque and when the clutch transfer torque exceeded the feedforward torque were advanced compared to the previous iteration. This adjustment was made to avoid the situation where the speed difference at the end of the last iteration became too small. The final speed difference is slightly greater than 0 at the end of the gearshift. However, at the beginning moment, the actual speed difference is still larger than the ideal speed difference, and this problem will be solved in the next iteration. As can be seen in Fig. 12, in the third iteration, the motor output torque decreases significantly in the torque phase, and the actual speed difference can track the reference trajectory better, while the clutch transfer torque is also reduced, making the subsequent speed difference unaffected. According to the results of this iteration, it can be seen that the trajectory fit of the actual speed difference and the reference speed difference is better, and the actual speed difference of the clutch tends to be 0 at the end of the gearshift. according to the comparison of Fig. 12 and Fig. 13, it can be seen that the results of the fourth iteration are similar to those of the third iteration, except that iteration 3 is further optimized and the trajectory of the actual speed difference between the master and slave discs of clutch 2 is closer to the reference trajectory, 10 VOLUME 4 2016 (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 10. The first iteration of gearshift control. (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 11. The second iteration of gearshift control. (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 12. The third iteration of gearshift control. (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 13. The fourth iteration of gearshift control. VOLUME 4 2016 11 and the speed reaches 0 at the end of the gearshift. Considering the existence of stiffness and damping in the driveline, the speed of each link in the shifting process has obvious fluctuations, so when calculating the trajectory error, the actual trajectory and the reference trajectory are discretized separately and split into 1000 segments with a step length of only 0.00106s, which can reflect the speed fluctuation more accurately. The following equations are then used to calculate the mean square error (MSE), mean absolute error (MAE), and root mean square error (RMSE), respectively: _MSE_ = <sup><u>1</u></sup> _N_ _N_ _i_ =1 ( _yactu −_ _yref_ ) <sup>2</sup> _,_ (35) _MAE_ = <sup><u>1</u></sup> _N_ _N_ _i_ =1 _|yactu −_ _yref_ _|,_ (36) _N_ _i_ =1 TABLE 4. Trajectory error between actual speed difference and the reference speed difference. The average decline from the no feedback mode is displayed in the last column of the table. Control mode MSE RMSE MAE Reduction PILCO Iteration 1 1.16 _×_ 10 <sup>4</sup> 107.86 94.35 52.83% PILCO Iteration 2 1.94 _×_ 10 <sup>3</sup> 44.03 32.72 84.36% PILCO Iteration 3 9.82 _×_ 10 <sup>2</sup> 31.34 26.33 88.63% PILCO Iteration 4 3.80 _×_ 10 <sup>2</sup> 19.49 16.48 93.12% No feedback 3.76 _×_ 10 <sup>4</sup> 193.83 171.90 FIGURE 14. Trajectory error values for the four iterations of PILCO. condition, full load operating condition and +3.0% slope full load operating condition, respectively. Fig. 15, Fig. 16 and Fig. 17 show the optimized gearshift control results for +3 _._ 0% slope no load and 0% slope full load and +3.0% slope full load conditions, respectively. Compared with the no-ramp working condition, as the increase of load or uphill will increase the longitudinal resistance torque of the whole vehicle, the tendency of the clutch slave to decelerate is more obvious, so the average clutch transmission torque increases further when the load increases or uphill shifting, and the motor output torque decreases further so that the active disc speed decreases more quickly to ensure the speed difference tends to 0 at the end of the gearshift. It can be observed that in the final moment, the speed difference between the three operating conditions tends to zero, and the performance is better than the PID control scheme. In order to visually demonstrate the optimization effect of PILCO on the controller, an analysis of the result data will be conducted. Since the ideal trajectory of the master and slave discs in the shifting process is not the same under different load and slope conditions, the shifting evaluation indexes are chosen here to measure the control effects of the RBFNN controller and PID controller. The gearshift quality of the car is an important indicator to characterize the performance of the vehicle, after careful consideration, the impact degree and slip work are chosen as the evaluation indexes of gearshift _RMSE_ = ~~�~~ <u>�</u> - <sup><u>1</u></sup> _N_ ( _yactu −_ _yref_ ) <sup>2</sup> _._ (37) where _N_ is the number of time segments of the shifting process, _yactu_ is the actual value of the speed difference in each segment, and _yref_ is the reference value of the speed difference in each segment. The trajectory errors of the four iterations are shown in Table 4. Fig. 14 visualizes the trend of trajectory error. When the PILCO algorithm is used to optimize the RBFNN controller, with the increase of iteration times, the average trajectory error after the first iteration decreases by 52.83% compared with no feedback, and the optimization effect is obvious. After the second optimization iteration, it dropped to 84.36%, which is still a significant improvement compared with the first optimization. The third time is slightly optimized to 88.63%, and the actual velocity difference trajectory gradually conforms to the reference trajectory. After the fourth optimization, the average trajectory error is reduced to 93.12%, which is not obvious compared with the third optimization. This shows that when the RBFNN controller is optimized with the PILCO algorithm, only a few iterations are needed to complete the optimization of the RBFNN controller parameters, and the optimized controller is able to make the actual speed difference trajectory completely close to the reference trajectory. This proves the effectiveness and efficiency of the PILCO algorithm for optimizing the RBFNN controller parameters. _C._ _ANALYSIS OF DIFFERENT SLOPES AND LOADINGS_ To further demonstrate the effectiveness and robustness of the PILCO algorithm for controller optimization. This section continues to use the Jerk-pattern optimization strategy with 40% accelerator pedal opening as the feedforward control signal, and the RBFNN controller obtained by the PILCO algorithm in the previous section is used as the feedback controller for the shifting simulation at +3.0% slope operating 12 VOLUME 4 2016 (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 15. Shift control based on no-load, +3% ramp conditions. (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 16. Shift control based on full load, 0% ramp conditions. (a) Torque trajectory. (b) Clutch 2 master and slave disc speed difference trajectory. FIGURE 17. Shift control based on full load, +3% ramp conditions. quality: - _t_ 2 _g_ 2 = _t_ 1 start and end of the gearshift; _g_ 2 is the sum of the slipping work during the gearshift. To comprehensively consider the impact of shock and slip work on the gearshift quality, max ( _g_ 1) and _g_ 2 are selected as the final comparison indexes. Table 5 shows the values of each index when the PID controller and RBFNN controller are used as feedback controllers under three different operating conditions, respectively. From the table, it can be seen that the RBFNN controller optimized by the PILCO algorithm reduces max ( _g_ 1) by 91.212%, 41.395% and 91.798%, and _g_ 2 by 4.250%, 8.891% and 4.500% under three different working conditions of slope and load. From Fig. 18, it can be seen more intuitively that under different working conditions, _g_ 1 = - _t_ 2 _t_ 1 _j_ <sup>2</sup> _dt,_ (38) _j_ = <sup>_<u>d</u>_</sup> _dt_ <sup>_<u>a</u>_</sup> <sup><u>˙</u></sup> <sup>_,_</sup> (39) _a_ ˙ = <sup>_<u>dω</u>_</sup> _dt_ <sup>_<u>v</u>_</sup> <sup>_r,_</sup> (40) [ _|Tc_ 1 ( _ωclu −_ _ω_ 1) _|_ + _|Tc_ 2 ( _ωclu −_ _ω_ 2) _|_ ] _dt,_ (41) where, _g_ 1 is the sum of the square of the shock degree during the gearshift, _j_ is the shock, _a_ is the acceleration, _ωv_ is the wheel angular velocity, _r_ is the wheel radius, _t_ 1 and _t_ 2 is the VOLUME 4 2016 13 TABLE 5. Trajectory error between actual speed difference and the reference speed difference. Vehicle wight(kg) Slope(%) Control model g1(m/s3) max(g1)(m/s3) Reduction of max(g1)(%) g2(kj) Reduction of g2(%) 1500 +3 RBFNN 0.064 2.237 - 12.863 PID 97.677 25.457 91.212 13.434 4.250 RBFNN 0.136 3.233 - 12.666 1900 0 PID 9.702 5.636 41.395 13.902 8.891 1900 +3 RBFNN 0.024 1.771 - 13.029 PID 139.210 21.592 91.798 13.643 4.500 V. CONCLUSION A deep reinforcement learning method for shift control of dual clutch transmissions in electric vehicles is proposed in this work. The method uses RBFNN as the feedback controller and PILCO as the optimization algorithm. By conducting experiments to analyze the training iteration process of the optimization algorithm on the RBFNN controller, it is evident that the algorithm can complete the optimization learning of the RBFNN controller with only a few experiments, and the learned controller meets the gearshift requirements and performs well. Furthermore, the RBFNN controller optimized by the reinforcement learning algorithm is applied to different ramps and loads to compare its control effect with the PID feedback controller. The results show that the RBFNN feedback controller has good robustness under complex and variable driving conditions. FIGURE 18. Trajectory error values for different operating conditions and control modes. the jerk has been significantly reduced, the slipping work has been well optimized, and the gearshift quality has been significantly improved to meet the gearshift requirements, which proves that the RBFNN controller has a good control effect as well as the effectiveness and robustness of PILCO algorithm. In addition, if the optimized trajectories of the above three cases are compared with their respective ideal trajectories, it is not difficult to think of the same analytical results, i.e., there is an obvious optimization than PID, which is limited to space and will not be expanded here. In the experiment, it is also found that the longitudinal drag torque increases significantly when the vehicle is going uphill, and the increase of the load at this time will further increase the longitudinal drag torque, resulting in the speed difference trajectory error increasing with the increase of the longitudinal drag torque. Since the controller parameters are derived from no-load, no-gradient shift simulation iterations, the same controller parameters have limited applicability. In the case of certain controller parameters, the longitudinal drag torque of the whole vehicle is too large to affect the performance of the controller. It is worth mentioning that in the high noise environment, such as potholes, slippery and other extreme road conditions and data transmission delays, the uncertainty estimation of the model or the occasional local suboptimal solution may affect the control effect. In addition, the research can be extended to different transmissions, providing efficient shift control strategies for electric vehicles. Incorporating other learning and planning techniques like safe reinforcement learning and hybrid reinforcement learning can further enhance the algorithm’s performance and applicability. REFERENCES [1] B. Z. Gao, H. Chen, K. Sanada, and Y. Hu, “Design of clutch-slip controller for automatic transmission using backstepping,” IEEE/ASME Transactions on Mechatronics, vol. 16, no. 3, pp. 498–508, 2011. [2] D. R. Cox and N. Reid, The theory of the design of experiments. Chapman and Hall/CRC, 2000. [3] K. D. Mishra and K. Srinivasan, “Improved integrated powertrain control of gearshifts using linear parameter varying control,” in 2019 American Control Conference (ACC), pp. 4553–4558, IEEE, 2019. [4] F. Boissinot, J. Bellavoine, A. Shabashevich, and S. Puster, “Automated calibration for transmission on powertrain dynamometers,” tech. rep., SAE Technical Paper, 2015. [5] S. Krishnaswamy and M. Kirti, “Method for automated calibration and adaptation of automatic transmission controllers,” 2021. [6] K. D. Mishra, G. Cardwell, and K. Srinivasan, “Automated calibration of gearshift controllers using iterative learning control for hybrid systems,” Control Engineering Practice, vol. 111, p. 104786, 2021. 14 VOLUME 4 2016 [7] A. Haj-Fraj and F. Pfeiffer, “Optimal control of gear shift operations in automatic transmissions,” Journal of the Franklin Institute, vol. 338, no. 23, pp. 371–390, 2001. [8] T. Ouyang, Y. Lu, S. Li, R. Yang, P. Xu, and N. Chen, “An im proved smooth shift strategy for clutch mechanism of heavy tractor semitrailer automatic transmission,” Control Engineering Practice, vol. 121, p. 105040, 2022. [9] G. Li and D. Görges, “Optimal control of the gear shifting process for shift smoothness in dual-clutch transmissions,” Mechanical Systems and Signal Processing, vol. 103, pp. 23–38, 2018. [10] I. Cvok, J. Deur, V. Ivanovic, Y. Zhang, and Y. Fujii, “An lqr approach of automatic transmission upshift control including use of off-going clutch within inertia phase,” SAE International Journal of Advances and Current Practices in Mobility, vol. 2, no. 2020-01-0970, pp. 2081–2091, 2020. [11] M. Roozegar and J. Angeles, “A two-phase control algorithm for gear shifting in a novel multi-speed transmission for electric vehicles,” Mechanical Systems and Signal Processing, vol. 104, pp. 145–154, 2018. [12] A. Mousavi, Mir Saman RahimiPakniyat, “Seamless dual brake transmis sion for electric vehicles: Design, control and experiment,” Mechanism and Machine Theory: Dynamics of Machine Systems Gears and Power Trandmissions Robots and Manipulator Systems Computer-Aided Design Methods, vol. 94, no. Null, 2015. [13] S. Kim and S. B. Choi, “Cooperative control of drive motor and clutch for gear shift of hybrid electric vehicles with dual-clutch transmission,” IEEE/ASME Transactions on Mechatronics, vol. 25, no. 3, pp. 1578–1588, 2020. [14] K. Cheng, D. Qin, J. Jian, and B. Wu, “Adaptive gearshift control of wet dual clutch transmission based on extended state observer and h _∞_ robust control,” Proceedings of the Institution of Mechanical Engineers, Part C: Journal of Mechanical Engineering Science, vol. 235, no. 22, pp. 6586– 6598, 2021. [15] Z. Wang and T. Hong, “Reinforcement learning for building controls: The opportunities and challenges,” Applied Energy, vol. 269, p. 115036, 2020. [16] X. Zhang, W. Lei, Y. Dai, Q. Tang, X. Yuan, Z. Xiao, and G. Lv, “Param eter optimization of multiple resonant controller: A deep reinforcement learning approach,” in 2020 IEEE 9th International Power Electronics and Motion Control Conference (IPEMC2020-ECCE Asia), pp. 2578–2581, 2020. [17] K. OGAWA and T. AIHARA, “Seamless shifting of a two-speed dual clutch transmission for electric vehicles using machine learning,” Mechanical Engineering Letters, vol. 7, pp. 21–00301, 2021. [18] K. Deuschl, T. Doster, G. Gaiselmann, and S. Studer, “Automated func tional development for automatic transmissions using deep reinforcement learning,” ATZelectronics worldwide, vol. 15, no. 9, pp. 8–13, 2020. [19] G. Gaiselmann, S. Altenburg, S. Studer, and S. Peters, “Deep reinforce ment learning for gearshift controllers in automatic transmissions,” Array, p. 100235, 2022. [20] M. P. Deisenroth, D. Fox, and C. E. Rasmussen, “Gaussian processes for data-efficient learning in robotics and control,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 37, no. 2, pp. 408–423, 2015. [21] A. G. Bors, “Introduction of the radial basis function (rbf) networks,” in Online Symposium for Electronics Engineers, 1996. [22] B. Bischoff, D. Nguyen-Tuong, H. van Hoof, A. McHutchon, C. E. Rasmussen, A. Knoll, J. Peters, and M. P. Deisenroth, “Policy search for learning robot control using sparse data,” in 2014 IEEE International Conference on Robotics and Automation (ICRA), pp. 3882–3887, IEEE, 2014. [23] Y. Li, S. Guo, L. Zhu, T. Mukai, and Z. Gan, “Enhanced probabilistic infer ence algorithm using probabilistic neural networks for learning control,” IEEE Access, vol. 7, pp. 184457–184467, 2019. [24] W. Ariza Ramirez, Z. Q. Leong, H. D. Nguyen, and S. G. Jayasinghe, “Exploration of the applicability of probabilistic inference for learning control in underactuated autonomous underwater vehicles,” Autonomous Robots, vol. 44, no. 6, pp. 1121–1134, 2020. [25] T. ZHANG, M. XIAO, and Y. B. ZOU, “Guidance control of a wheeled mobile robot with human interaction based on force control,” Journal of Zhejiang University (Engineering Science), vol. 53, pp. 1865–1873,1882, 1 2019. [26] Y. F. Yang, K. Deng, Y. Q. Zuo, X. J. Ban, and X. L. Huang, “Parameter design and optimization of a flight attitude simulator system based on pilco framework,” Optics and Precision Engineering, 2019. [27] Y. Liu, Y. Chen, Z. Li, K. Zhao, and Z. Lin, “Multi-objective optimal gearshift control for multispeed transmission electric vehicles,” IEEE Access, vol. 8, pp. 129785–129798, 2020. [28] M.-A. Beaudoin and B. Boulet, “Improving gearshift controllers for electric vehicles with reinforcement learning,” Mechanism and Machine Theory, vol. 169, p. 104654, 2022. [29] X. Zhu, Z. Hui, J. Xi, J. Wang, and Z. Fang, “Optimal speed synchroniza tion control for clutchless amt systems in electric vehicles with preview actions,” in American Control Conference, 2014. [30] M. Powell, “The theory of radial basis function approximation in 1990,” Advances in Numerical Analysis, 1992. [31] T. P. Lillicrap, J. J. Hunt, A. Pritzel, N. Heess, T. Erez, Y. Tassa, D. Silver, and D. Wierstra, “Continuous control with deep reinforcement learning,” Computer ence, 2015. YANWEI LIU received the Ph.D. degree in vehicle engineering from the South China University of Technology, Guangzhou, China, in 2012. He is currently an Associate Professor with the Guangdong University of Technology. His current research interests include control and optimization of powertrain systems and energy management strategy of hybrid energy storage systems for EV. JINGLONG ZHANG received the engineering degree in Zhongyuan University of Technology, Zhengzhou, China, in 2021, where he is currently pursuing the M.S. degree in vehicle engineering. He is currently pursuing the M.S. degree in mechanical engineering with the Guangdong University of Technology. His research field is s the optimization of gear shifting processes using reinforcement learning algorithms. ZIYUAN LV received the engineering degree in Jiangxi agricultural University, JangXi, China, in 2021. He is currently pursuing the M.S. degree in mechanical engineering with the Guangdong University of Technology. His research field is multiobjective optimization of gearshift for electric vehicle. JIE YE received the PH.D. degree in vehicle engineering from South China University of Technology, Guangzhou, China, in 2018. He is currently lecturer with Foshan University, His current research interests include control and optimization of powertrain systems for EV. VOLUME 4 2016 15

섹션 본문 69문단 · 40,138자

(제목 없음)

1In order to improve the efficiency of gearshift controller parameter optimization and obtain a good gearshift controller control effect, this article proposes an optimization method for electric vehicle transmission gearshift controller, and selects dual clutch transmission as the research object that establishes an 11-degree-of-freedom gearshift dynamics model and a feedforward-feedback gearshift control model. The feedforward control is chosen from the target trajectory given by the Legendre pseudo-spectral approach, and the feedback controller is a Gaussian kernel radial basis function neural network controller. The feedback controller performs parameter optimization by the Probabilistic Inference for Learning Control (PILCO) reinforcement learning algorithm to obtain a control strategy that matches the actual gearshift conditions. By comparing how well the main/secondary moving disk can follow the target trajectory during various optimization iterations, it is verified that the algorithm requires only a few experiments to complete the optimization, and the optimized Radial Basis Function Neural Network (RBFNN) control has a better control effect by comparing the results of different iterations. Applying the learned controller to various slope and load circumstances yields data that demonstrate that all can have an obvious optimization effect with good robustness. Additionally, the reinforcement learning technique suggested in this research can be used for various gearshift controller parameter optimization to assist engineers and technicians in increasing the effectiveness of their Research and Development.INDEX TERMSElectric vehicle, dual clutch transmission, gearshift control, reinforcement learning. VOLUME 11, 2023 This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4.0/ 92807 Authorized licensed use limited to the terms of the applicable license agreement with IEEE. Restrictions apply.II. GEARSHIFT CONTROL ANALYSIS AND MODELING A. WORKING PRINCIPLE OF GEAR SHIFTINGThe structure sketch is shown inFig. 1, which mainly consists of clutch 1, clutch 2, first gear pair, second gear pair, input shaft, and output shaft. The process of upshifting goes through two phases, the torque phase, and the inertia phase, and the change of speed and torque in this process is shown inFig. 2. When the transmission is in first gear, clutch 1 is engaged, and in the process of shifting from first to second 92808 VOLUME 11, 2023Authorized licensed use limited to the terms of the applicable license agreement with IEEE. Restrictions apply. Y. Liu et al.: Optimization of RBFNN Gearshift Controller Parameters for Electric VehiclesFIGURE 1. Two-speed DCT structure diagram.FIGURE 2. Diagram of speed and torque trajectory of upshift.

I. INTRODUCTION

2Electric vehicles have the advantages of zero emissions and minimal noise while in operation, and market demand is rising continuously. The transmission control strategy's optimization has a significant impact on how well electric vehicles perform. The transmission is usually controlled by a feedforward controller and a feedback controller. The feedback controller [1], for instance, can adjust the torque signal online depending on the disturbance in the process of shifting so that the whole vehicle operation status remains relatively stable and plays a vital role.

3The associate editor coordinating the review of this manuscript and approving it for publication was Amin Mahmoudi .

4Usually, the optimization of an automotive transmission controller's parameters requires real physical experiments conducted on an experimental bench. In traditional controller parameter optimization, some researchers use the Designof-Experiments (DOE) method [2], while others propose online adaptation or calibrate the automatic transmission using a powertrain test bench (PTTB) [3], [4], [5] or iterative learning control (ILC) using a hybrid system [6]. However, these methods require engineers to collect experiment data for determining the optimal controller parameters, resulting in high time costs. Therefore, more efficient optimization techniques are needed to reduce the number of experiments required and improve optimization results, warranting further investigation.

5In addition to the optimization algorithm, a suitable controller is also needed to control the gearbox. There are various options for the design of feedback controllers, which have been studied more extensively by domestic and foreign scholars. In [7], dynamic programming method is used to formulate the gearshift operation as a multi-stage decision process, but dynamic programming is often computationally intensive and difficult to apply in real time. In [8], a robust transmission tracking control algorithm is proposed, and a robust feedforward feedback controller is designed. Model errors in the model used by the controller can affect the performance and robustness of the controller. In [9] and [10], a finite time linear quadratic regulator is proposed, but this will lead to high computational complexity. In addition, two independent PID controllers are used in [11]. But the parameter adjustment of PID controller often takes a lot of time. In [12], a backstepping controller based on optimal control input is designed to provide a stable feedback method. The controller has high requirements on the system model and is sensitive to initial conditions. In [13], the controller use a robust multivariable control scheme with H-infinite cyclic shaping, which is difficult to adjust parameters and requires an accurate system model. In [14], a gearshift controller is designed by using the backstepping method, and H∞ robust control is introduced to further improve the adaptive effect of the controller, but there is still a problem that the model uncertainty is difficult to deal with. In [15], the coarse-id control framework is used to solve the dynamic unknown LQR problem, but this still requires a large amount of data and the robustness needs to be improved.

6Therefore, it can be seen that the existing research mainly faces problems such as long training time, the need for accurate models, low control accuracy and poor robustness. The development of neural networks and reinforcement learning in recent years has provided additional options for designing feedback controllers [16]. Many researchers have explored the use of these techniques for various aspects of car shifting, such as those in references [17], [18], [19]. Reinforcement learning algorithms can be divided into model-based and model-free categories depending on whether they use a model. Model-based algorithms utilize data obtained through environment interaction to learn an environmental model, which tends to be more efficient than model-free algorithms. Thus, this article considers combining model-based reinforcement learning with neural networks to achieve gearshift control optimization.

7To achieve this, this article propose using a Radial Basis Function Neural Network (RBFNN) based on Gaussian function as a feedback controller and a Probabilistic Inference for Learning Control (PILCO) reinforcement learning algorithm to optimize the parameters of the RBFNN controller [20]. The feedback controller part of this article uses the RBFNN, RBFNN is better than the BP neural network in terms of classification ability and learning speed because the parameter initialization has a certain method, not random initialization, and so on, and has a simple structure, simple training, fast learning convergence speed, and can approximate any nonlinear function and overcome the problem of local minima [21], so applied to gearshift control can achieve better torque control. The PILCO algorithm learns a probabilistic transfer model based on the gearshift dynamics model, incorporating model errors, environmental perturbations, and other uncertainties into the modeling process. This approach enables precise and efficient control optimization with only a few experiments [22], [23]. Previous studies have applied PILCO to different engineering disciplines, including an autopilot underwater vehicle control problem [24], [25], constant force control of a robot surface [26], autonomous optimization of PID parameters in the control of a flight attitude simulator [27], and experiments on a planetary gear transmission shift console frame [28]. These studies have shown that PILCO can obtain the ideal controller strategy for the gearbox with a relatively small number of experiments.

8This research aims to improve the accuracy and robustness of electric vehicle transmission shift, enhancing shift quality and driving comfort while reducing the cost and time associated with parameter optimization. To achieve this, innovative work has been conducted, including proposing the RBFNN controller as the DCT shift feedback controller and introducing a new method using the PILCO algorithm for optimizing its performance. Comparative experiments and analysis have demonstrated the effectiveness and efficiency of the PilCObased RBFNN controller, making it a promising alternative to traditional control methods. Overall, this research provides valuable guidance for future research and implementation of improved control strategies in various industrial applications.

9This article is structured into five parts. Part I provides an introduction to the development status of electric vehicle gearshift control optimization and analyzes the applications of RBFNN and PILCO algorithms. In Part II, the Dual Clutch Transmission (DCT) is modeled, including both the dynamics model and the gearshift control model. In Part III, the working principle of the selected RBFNN feedback controller is analyzed and the PILCO algorithm is explained in detail, including the algorithm principle and the updating process of the RBFNN controller parameters. In Part IV, the experimental conditions are elucidated, and the PILCO algorithm is verified to be efficient in optimizing the RBFNN through a comparison with a PID controller. Additionally, the robustness of the algorithm is verified by applying the learned controller to different operating conditions. Finally, Part V concludes with key takeaways from this article. gear, the transmission torque of clutch 1 gradually decreases until it reaches zero and separates, and the transmission torque of clutch 2 gradually rises and at the end of the inertia phase, the primary and secondary rotational speeds of clutch 2 are synchronized, at which time clutch 2 locks and the gearshift ends.

B. 11-DEGREE-OF-FREEDOM DYNAMICS MODEL

10To improve the accuracy of the model, the stiffness and damping of the key components of the driveline, such as the motor, clutch, half-shaft, and wheels, are taken into account according to the electric vehicle driveline configuration, and a more detailed model of the entire vehicle driveline can be obtained, as shown in Fig. 3. The resulting 11-degree-offreedom dynamics model for gearshift control optimization can be obtained as follows: The whole vehicle driving resistance torque is

11where k i and c i (i=1,2,3,. . . . . . ) denote the stiffness and damping of each rotating shaft, θ m , θ clu , θ 1 , θ 2 , θ g1A , θ g1B , θ g2A , θ g2B , θ fA , θ fB , θ w and θ v , denote the motor rotation angle, the clutch main disc angle, clutch 1 driven disc angle, clutch 2 driven disc angle, first gear main gear angle, second gear main gear angle, first gear-driven gear angle, second gear-driven gear angle, main reducer main gear angle, main reducer driven gear angle, wheel angle and half car steering angle; θ,θ andθ indicate the angular displacement of the corresponding rotating parts, rotational speed, and angular acceleration; m is the vehicle mass, g is the gravitational acceleration, α is the slope angle, µ is the rolling resistance coefficient, ρ is the air density, C D is aerodynamic drag coefficient and A is the windward area.

C. GEARSHIFT CONTROL MODEL

12Automotive gearshift control relies on an effective control model and control strategy. The gearshift control model usually selects the gearshift trajectory that meets the conditions from the gearshift strategy according to the vehicle driving conditions and driver's demand and completes the shifting process by adjusting the motor and clutch torque. However, since the gearshift trajectory is obtained from the simplified dynamics model and there are disturbances in the vehicle driving environment, it is difficult to obtain ideal gearshift control results by using the gearshift optimization strategy alone, so the controller in this article chooses to use the feedforward-feedback composite controller, which not only can accurately adjust the torque signal but also can reduce the workload of the feedback controller under the condition that the model accuracy of the feedforward controller is appropriately reduced, thus improving the gearshift quality [29].

13The gearshift control model designed in this article is shown in Fig 4. The strategy module provides the reference control trajectory and reference state trajectory to the controller module according to the vehicle speed and throttle opening degree. The feedforward controller sends out control signal U 1 according to the reference control trajectory, and the feedback controller outputs feedback control signal U 2 by comparing the real-time state and the reference state and then outputs the actual control signal U to other systems of the vehicle after combining with U 1 . The more important strategy module as well as the controller module in the gearshift control model will be introduced below.

1) STRATEGY MODULE

14The gearshift strategy module stores the gearshift optimization strategy based on Legendre pseudo-spectrum method.

15In the process of gearshift strategy optimization, Legendre pseudo-spectrum method iterative operations are performed according to different accelerator pedal openings and vehicle speeds, and the optimization results contain gearshift optimization strategies for different driving conditions and driver requirements, and the resulting gearshift strategy solution set can meet the performance requirements of different driving conditions. In this article, the economic Jerk-pattern gearshift optimization trajectory will be selected. The gearshift point is determined according to the current vehicle speed and accelerator pedal position, and the trajectory signal that meets the gearshift conditions is sent to the controller module by analyzing the gearshift point and gearshift pattern.

2) CONTROLLER MODULE

16The controller module consists of feedforward controller and feedback controller. The feedforward controller is based on the output torque signal of the strategy module obtained by offline optimization, without considering the real-time environmental noise, so the design of the feedback controller is extremely important. In this article, RBFNN is selected as the feedback controller. The real-time performance of RBFNN is good, and the control signal can be generated only by forward propagation in the inference stage, which makes the calculation speed faster. The structure is simple, and the number of parameters that need to be stored is usually small, so the storage requirements are relatively low. The parameters that need to be trained in this article are limited, so a large amount of training time is not required. Therefore, from the point of view of experiment and calculation, the application of RBFNN controller to DCT shift is feasible. Its design and principle are described in detail in Part III.

3) GEARSHIFT CONTROL MODELING

17From the above analysis, it can be seen that the motor torque includes the feedforward torqueT m and the feedback torque T ′ m , the transfer torque of clutch 1 is only the feedforward torqueT c1 , and the transfer torque of clutch 2 includes the feedforward torqueT c2 and the feedback torque T ′ c2 , where the feedback torque of the motor and clutch 2 are the control variables. The state variable x is expressed as follows:

18The feedforward control variable u and the feedback control variable u ′ are denoted as follows:

19Then the control variable u is denoted as:

20The state space equations of the shift dynamics model can be obtained by reorganizing the variables of the above

21where A,B,C,D are the matrices with damping, stiffness, control variables, and driving torque parameters, respectively. The optimization target of the gearshift control is to adjust the feedback torque of the motor and clutch 2 so that the actual speed difference trajectory of the main and secondary discs of clutch 2 follows the reference trajectory, ensuring that the actual speed difference at the end of the shifting process tends to zero. Therefore, the actual state variable to be controlled is ẋ [2] −ẋ [4] and the control objective is

III. CONTROLLER DESIGN AND PARAMETERS OPTIMIZATION A. RBFNN FEEDBACK CONTROLLER DESIGN

22In 1985, Powell proposed the radial basis function method for multivariate interpolation [30]. The radial basis function is a real-valued function that depends only on the distance from the origin, that is, ϕ(x) = ϕ(∥x∥), or can also be the distance to any point c, c is called the center point, that is, ϕ(x, c) = ϕ(∥x − c∥). Any function ϕ that satisfies the characteristic ϕ(x) = ϕ(∥x∥) is called a radial basis function, and the common Gaussian kernel function chosen in this article is of the following form

23where c is the center of the kernel function; σ is the width parameter of the function, which controls the radial range of action of the function. 5 visualizes the structure of a radial basis function neural network, which is a three-layer neural network consisting of an input layer, a linear output layer, and a hidden layer with a specific nonlinear RBF activation function. In this article, the input layer is an 11-dimensional vector µ x [1] , · · · , µ x [11] , i.e., the state distribution. The hidden layer uses multiple Gaussian functions [ϕ 1 , · · · , ϕ N ] as the neurons of the activation function, whose role is to map the low-dimensional nonlinearly differentiable input to a high-dimensional linearly differentiable space. This results in the output value of the implicit function layer as:

24where ϕ n is the Gaussian kernel function; c n is the centroid of the function, the initial centroid is sampled from the initial state distribution and can be obtained by training samples to meet the specific values required, and the Gaussian kernel function responds locally to the input, when the input is close to the centroid of the basis function, the hidden layer nodes will produce a larger output; when it is far from the centroid, the output will be exponentially decayed; µ x is the mean value of the state variables; W is the covariance matrix, the magnitude of its value determines the magnitude of the influence of different input values on the neuron, and the influence of a state variable on the corresponding neuron can be eliminated by setting the corresponding value in W to zero. The control strategy π * (x) of the output layer output is a weighted sum of the output values of each neuron in the hidden function layer

25where w n is the weight coefficient, which, like c n , can be obtained from training samples to meet the specific value required. In addition, due to physical factors, both the motor output torque and the transfer torque of clutch 2 are limited, i.e., u ∈ [−u max , u max ], so the final feedback controller outputs the control strategy π (x) as:

26where ρ is the sinusoidal compression function that can control π (x) within the restriction range [−u max , u max ]; π * (x) is the non-compression control strategy.

B. PILCO OPTIMIZATION ALGORITHM

27In order for the RBFNN to achieve the desired control effect, the values of the function's centroid c n , the covariance matrix W , and the weight coefficients w n need to be optimized. For this purpose, it is crucial to obtain sufficient training samples and to select the appropriate algorithm for controller parameter optimization. Reinforcement learning algorithms have demonstrated their effectiveness in training neural networks [31], and reinforcement learning is usually divided into two categories, model-based methods, and model-free methods. In the former, the agent gradually builds an internal model of the environment(learning) and then uses that model to design a control policy (planning). In the latter, the agent learns the control policy directly from the interaction with the environment. Model-free approaches often require more interaction with the environment, i.e., extensive experiments in the real world.To improve the efficiency of the gearshift controller parameter optimization, the model-based PILCO algorithm is chosen to perform this work in this article.

28The main flow of PILCO algorithm is shown in Fig. 6. After initializing the program, a random data set is first generated and a Gaussian procedure (GP) is performed using that data set. The uncertainty factors such as model error and environmental disturbance are included in the modeling process, and the nonlinear probabilistic dynamics model of the vehicle satisfying the Gaussian distribution is learned. Approximate inference for policy evaluation to get the expected long term cost. The gradient descent method is used to minimize the value function, and the optimal strategy under the current GP model is found. And update the control policy by updating the controller parameters. Applying the optimized control strategy to the shift control results in a new data set D. After that, the PILCO algorithm completes the first iteration and performs the next iteration using the new data set D. The results of the shift control optimization are recorded in the results of each iteration. Table 1 shows the pseudo-code of this algorithm, m denotes the number of custom iterations and n denotes the number of searches for the control strategy. The PILCO algorithm is characterized by high learning efficiency and good robustness so that the controller parameter matrix satisfying the practical requirements is usually obtained after a few iterations. In this article, m is taken to be 10, and n is taken to be 150 in the gearshift control optimization study. Fig. 7 shows the schematic diagram of the gearshift control model optimized based on the PILCO algorithm. The feedback part uses a radial basis function neural network controller with offline learning and online control functions. The gearshift strategy module stores the Legendre pseudospectral optimization strategy, and the state estimation module collects the sensor signals and transmits the data set D required for feedback regulation to the radial basis function neural network controller. The feedback torque signal is output from the radial basis function neural network controller, summed with the feedforward torque signal and transmitted to the torque actuator module and finally transformed into the torque actuation signal to achieve gearshift control.

29The computing process of the PILCO algorithm is divided into model learning, strategy evaluation, and controller parameter updating.

1) MODEL LEARNING

30Learning the probabilistic dynamics model using a GP is an important part of the bottom layer of the PILCO algorithm. the GP uses a scalar output approximation function from which the uncertainty model f d (x, u) is learned and the corresponding probability distribution is obtained. the GP actually learns the difference between the reference dynamics model and the actual dynamics model, and the process is stochastic. The gearshift dynamics model can be expressed as follows:

31where the state variable x [t] of the current step is jointly determined by the state variable x [t−1] of the previous step and the control quantity u [t−1] . To model the probabilistic dynamics, the PILCO algorithm introduces the difference variable

32where α ∼ N (0, α ), α = diag σ α 1 , . . . , σ α N , and σ is the variance.

33To obtain the gearshift probability dynamics model, PILCO learns the fitted relationship between the input x [t] and the output [t] . Define the training data set as:

34Assuming z = x ⊤ , u ⊤ ⊤ , the GP is characterized by the state variable mean m (z) and the kernel function k z, z ′ , and m (z) = 0 is chosen, then k z, z ′ is denoted as

35where σ 2 f is the signal variance. is a diagonal matrix composed of feature lengths, which are hyper-parameters of GP, where the last hyper-parameter value denotes the noise variance σ 2 ϵ . Since the controller parameter matrix δ ′ is randomly generated when running PILCO for the first time, the GP needs to learn the entire gearshift dynamics model with data set D.

36For the test point z * , the output value (z * ) will be Gaussian distributed with the mean and variance

37where K zz =    k z [1] , z [1] · · · k z [1] , z [n] . . . . . . . . . k z [n] , z [1] · · · k z [n] , z [n]   , K z * z = k z * , z [1] . . . k z * , z [n] . At this point, the learning of the probabilistic gearshift dynamics model is completed.

2) STRATEGY EVALUATION

38With the PILCO bottom operation, the GP learns a probabilistic dynamics model satisfying a Gaussian distribution with the following expression:

39The system model contains the nominal dynamics model A d u [t−1] + C and the uncertainty model f x [t−1] , u [t−1] learned through the underlying. u [t−1] is the control variable, including the feedforward control variable u [t−1] and the feedback control variable π x [t−1] . From the expression, it is clear that the system model needs to be run step-by-step.

40In the middle layer, the PILCO algorithm uses the initial state x [0] and time t=0 as the simulation starting point, and the target state x [t] and time t =T as the simulation end point, and uses the system model to compute the value function L x [0] to evaluate the system model for the policy. the expression of L x [0] is as follows:

41where c x [t] is the artificially set reward function,

42, µ x [t] and x [t] denote the mean and variance of the state distribution at the current step, respectively. The matrix W is the weight matrix, which is an irreversible matrix with a dimension equal to the number of state variables.

43According to the above equation, the value function L x [0] of the initial state can be solved only by computing the probability distribution p x [t] of the state x [t] for all steps. The Probability distribution for each step is given by (28), as shown at the bottom of the next page.

44It follows that p x [t] needs to be obtained before calculat- [t−1] and p x [t−1] . The process can be divided into 4 steps, as shown in Table 2.

45The state distribution p x [1] , . . . , p x [T ] for all steps can be solved by repeating the above four steps, and the value function L x [0] of the initial state can be calculated by using the resulting state distribution and performing the integration operation according to equation (28), as shown at the bottom of the next page.

3) CONTROLLER PARAMETER UPDATE

46The feedback torque optimization objective of the RBFNN controller is to minimize the value function L x [0] | π δ under the condition of simulation time T and having the 92814 VOLUME 11, 2023 Authorized licensed use limited to the terms of the applicable license agreement with IEEE. Restrictions apply.

47number of steps dt. The method for updating the controller parameter matrix is to use pytorch's auto-gradient function to implement a gradient descent-based policy search by searching for the optimal parameter δ * such that the control policy π satisfies the following equation:

48The expression for the gradient of L x [0] π δ with respect to δ is as follows:

49where the state quantity x [t] at each moment satisfies the Gaussian distribution and the controller parameters δ are in the mean and covariance. The feasible methods to calculate the gradient formula include analytic differentiation and automatic differentiation, and in this article, the analytic method is chosen to calculate the gradient formula, and the corresponding gradient formula is the extended formula using the chain rule is given by (31), as shown at the bottom of the page.

50where the mean and variance derivatives of the state distribution associated with the controller parameters δ can be further expanded as the following expressions:

51∂δ ,

52∂δ .

53The sum of the gradients of all steps is the gradient of the value function to δ. The controller parameter matrix control is updated using the gradient descent method to obtain a new control strategy. The parameter matrix of the controller P hyp is as follows:

54. . δ 1,12 δ 1,13 δ 1,s δ 1,n δ 2,1 δ 2,2 . . . δ 2,12 δ 2,13 δ 2,s δ 2,n

55where P hyp (1 : 13, 1 : 2) is the state parameter matrix, P hyp (14, 1 : 2) denotes the signal variance, and P hyp (15, 1 : 2) denotes the noise variance.

IV. SIMULATION EXPERIMENTS AND ANALYSIS

56It should be noted that the whole vehicle driveline used in this article is a simplified 11-degree-of-freedom system and does not fully reflect the vehicle's transmission. It is assumed that the whole vehicle is under steady state conditions at the beginning of the experiment and that the constant operating conditions are maintained throughout the experiment. And there is no power loss during the whole gear shift process.

A. SIMULATION CONDITIONS

57To verify the optimization efficiency and effect of the RBFNN gearshift controller using the PILCO algorithm, the Jerk-pattern gearshift optimization results obtained through the pseudo-spectrum method, as shown in Fig. 8, are used as feedforward control variables. Subsequently, simulation experiments are conducted under 0 slope conditions, no load, and a 40% accelerator pedal opening. The vehicle parameters for the simulation process are set according to Table 3.

58To illustrate the optimization effect, the PID controller is selected as a comparison in this article, which usually takes a lot of time to adjust parameters. To compare the efficiency of the PILCO algorithm laterally, a group of parameters with better control effects in 20 adjustments are selected as simulation parameters in this article, and P, I and D parameters were set at 0.1, 3.0 and 0.01, respectively.

B. SIMULATION RESULTS AND ANALYSIS

59The simulation results of shift control based on initial random controller parameters are shown in Fig. 9, and the results of four iterations of training are shown in Fig. 10 to Fig. 13, in which (a) (b) record the motor and clutch 2 torque trajectories and clutch 2 main and secondary moving disc speed difference trajectory difference during the simulation, respec- tively. Under the initial random strategy simulation conditions, the speed difference between the main and secondary discs of clutch 2 is significantly higher than the reference speed trajectory throughout the shifting process, and the actual motor torque is significantly smaller than its feedforward torque as shown by the torque trajectory, indicating that the motor output torque is reduced, which also cannot make the actual speed difference trajectory follow the reference trajectory. Therefore, in the first iteration, the transfer torque of the clutch rises sharply in the inertial phase, as shown in Fig. 10, but then the transfer torque is too large, resulting in the speed difference following the target trajectory only in the middle moments, while in the end moments, it is difficult to reduce rapidly, and finally, the actual speed difference is smaller than the estimated speed difference instead. Based on the data recorded in the first iteration, the second iteration was started, as shown in Fig. 11. In this iteration, both the instances when the motor output torque was lower than the feedforward torque and when the clutch transfer torque exceeded the feedforward torque were advanced compared to the previous iteration. This adjustment was made to avoid the situation where the speed difference at the end of the last iteration became too small. The final speed difference is slightly greater than 0 at the end of the gearshift. However, at the beginning moment, the actual speed difference is still larger than the ideal speed difference, and this problem will be solved in the next iteration.

60As can be seen in Fig. 12, in the third iteration, the motor output torque decreases significantly in the torque phase, and the actual speed difference can track the reference trajectory better, while the clutch transfer torque is also reduced, making the subsequent speed difference unaffected. According to the results of this iteration, it can be seen that the trajectory fit of the actual speed difference and the reference speed difference is better, and the actual speed difference of the clutch tends to be 0 at the end of the gearshift. according to the comparison of Fig. 12 and Fig. 13, it can be seen that the results of the fourth iteration are similar to those of the third iteration, except that iteration 3 is further optimized and the trajectory of the actual speed difference between the main and secondary discs of clutch 2 is closer to the reference trajectory, and the speed reaches 0 at the end of the gearshift.

61Considering the existence of stiffness and damping in the driveline, the speed of each link in the shifting process has obvious fluctuations, so when calculating the trajectory error, the actual trajectory and the reference trajectory are discretized separately and split into 1000 segments with a step length of only 0.00106s, which can reflect the speed fluctuation more accurately. The following equations are then used to calculate the mean square error (MSE), mean absolute error (MAE), and root mean square error (RMSE), respectively:

62where N is the number of time segments of the shifting process, y actu is the actual value of the speed difference in each segment, and y ref is the reference value of the speed difference in each segment. The trajectory errors of the four iterations are shown in Table 4. Fig. 14 visualizes the trend of trajectory error. When the PILCO algorithm is used to optimize the RBFNN to 84.36%, which is still a significant improvement compared with the first optimization. The third time is slightly optimized to 88.63%, and the actual velocity difference trajectory gradually conforms to the reference trajectory. After the fourth optimization, the average trajectory error is reduced to 93.12%, which is not obvious compared with the third optimization. This shows that when the RBFNN controller is optimized with the PILCO algorithm, only a few iterations are needed to complete the optimization of the RBFNN controller parameters, and the optimized controller is able to make the actual speed difference trajectory completely close to the reference trajectory. This proves the effectiveness and efficiency of the PILCO algorithm for optimizing the RBFNN controller parameters.

C. ANALYSIS OF DIFFERENT SLOPES AND LOADINGS

63To further demonstrate the effectiveness and robustness of the PILCO algorithm for controller optimization. This section continues to use the Jerk-pattern optimization strategy with 40% accelerator pedal opening as the feedforward control signal, and the RBFNN controller obtained by the PILCO algorithm in the previous section is used as the feedback controller for the shifting simulation at +3.0% slope operating condition, full load operating condition and +3.0% slope full load operating condition, respectively. Fig. 15, Fig. 16 and Fig. 17 show the optimized gearshift control results for +3.0% slope no load and 0% slope full load and +3.0% slope full load conditions, respectively. Compared with the no-ramp working condition, as the increase of load or uphill will increase the longitudinal resistance torque of the whole vehicle, the tendency of the clutch secondary to decelerate is more obvious, so the average clutch transmission torque increases further when the load increases or uphill shifting, and the motor output torque decreases further so that the active disc speed decreases more quickly to ensure the speed difference tends to 0 at the end of the gearshift. It can be observed that in the final moment, the speed difference between the three operating conditions tends to zero, and the performance is better than the PID control scheme. In order to visually demonstrate the optimization effect of PILCO on the controller, an analysis of the result data will be conducted.

64Since the ideal trajectory of the main and secondary discs in the shifting process is not the same under different load and slope conditions, the shifting evaluation indexes are chosen here to measure the control effects of the RBFNN controller and PID controller. The gearshift quality of the car is an important indicator to characterize the performance of the vehicle, after careful consideration, the impact degree and slip work are chosen as the evaluation indexes of gearshift quality:

65where, g 1 is the sum of the square of the shock degree during the gearshift, j is the shock, a is the acceleration, ω v is the wheel angular velocity, r is the wheel radius, t 1 and t 2 is the start and end of the gearshift; g 2 is the sum of the slipping work during the gearshift.

66To comprehensively consider the impact of shock and slip work on the gearshift quality, max (g 1 ) and g 2 are selected as the final comparison indexes. Table 5 shows the values of each index when the PID controller and RBFNN controller are used as feedback controllers under three different operating conditions, respectively. From the table, it can be seen that the RBFNN controller optimized by the PILCO algorithm reduces max (g 1 ) by 91.212%, 41.395% and 91.798%, and g 2 by 4.250%, 8.891% and 4.500% under three different working conditions of slope and load. From Fig. 18, it can be seen more intuitively that under different working conditions, the jerk has been significantly reduced, the slipping work has been well optimized, and the gearshift quality has been significantly improved to meet the gearshift requirements, which proves that the RBFNN controller has a good control effect as well as the effectiveness and robustness of PILCO algorithm.

67In addition, if the optimized trajectories of the above three cases are compared with their respective ideal trajectories, it is not difficult to think of the same analytical results, i.e., there is an obvious optimization than PID, which is limited to space and will not be expanded here. In the experiment, it is also found that the longitudinal drag torque increases significantly when the vehicle is going uphill, and the increase of the load at this time will further increase the longitudinal drag torque, resulting in the speed difference trajectory error increasing with the increase of the longitudinal drag torque. Since the controller parameters are derived from no-load, no-gradient shift simulation iterations, the same controller parameters have limited applicability. In the case of certain controller parameters, the longitudinal drag torque of the whole vehicle is too large to affect the performance of the controller.

V. CONCLUSION

68A deep reinforcement learning method for shift control of dual clutch transmissions in electric vehicles is proposed in this work. The method uses RBFNN as the feedback controller and PILCO as the optimization algorithm. By conducting experiments to analyze the training iteration process of the optimization algorithm on the RBFNN controller, it is evident that the algorithm can complete the optimization learning of the RBFNN controller with only a few experiments, and the learned controller meets the gearshift requirements and performs well. Furthermore, the RBFNN controller optimized by the reinforcement learning algorithm is applied to different ramps and loads to compare its control effect with the PID feedback controller. The results show that the RBFNN feedback controller has good robustness under complex and variable driving conditions.

69It is worth mentioning that in the high noise environment, such as potholes, slippery and other extreme road conditions and data transmission delays, the uncertainty estimation of the model or the occasional local suboptimal solution may affect the control effect. In addition, the research can be extended to different transmissions, providing efficient shift control strategies for electric vehicles. Incorporating other learning and planning techniques like safe reinforcement learning and hybrid reinforcement learning can further enhance the algorithm's performance and applicability.

참고문헌 29건

  1. Seamless dual brake transmission for electric vehicles: Design, control and experiment Mechanism and Machine Theory · Elsevier BV · 2015 10.1016/j.mechmachtheory.2015.08.003
  2. The Theory of the Design of Experiments 2000 10.1201/9781420035834
  3. Policy search for learning robot control using sparse data 2014 10.1109/icra.2014.6907422
  4. Optimal control of gear shift operations in automatic transmissions Journal of the Franklin Institute · Elsevier BV · 2001 10.1016/s0016-0032(00)00091-0
  5. Gaussian Processes for Data-Efficient Learning in Robotics and Control IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2013 10.1109/tpami.2013.218
  6. Guidance control of a wheeled mobile robot with human interaction based on force control International Journal of Control Automation and Systems · Springer Science+Business Media · 2010 10.1007/s12555-010-0222-8
  7. Automated Calibration for Transmission on Powertrain Dynamometers SAE technical papers on CD-ROM/SAE technical paper series · 2015 10.4271/2015-01-1625
  8. Optimal speed synchronization control for clutchless AMT systems in electric vehicles with preview actions American Control Conference · 2014 10.1109/acc.2014.6858849
  9. Design of Clutch-Slip Controller for Automatic Transmission Using Backstepping IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2010 10.1109/tmech.2010.2045391
  10. Optimal control of the gear shifting process for shift smoothness in dual-clutch transmissions Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.09.040
  11. A two-phase control algorithm for gear-shifting in a novel multi-speed transmission for electric vehicles Mechanical Systems and Signal Processing · Elsevier BV · 2017 10.1016/j.ymssp.2017.10.032
  12. Continuous control with deep reinforcement learning arXiv (Cornell University) · Cornell University · 2016
  13. Improved Integrated Powertrain Control of Gearshifts Using Linear Parameter Varying Control 2022 American Control Conference (ACC) · 2019 10.23919/acc.2019.8815120
  14. Enhanced Probabilistic Inference Algorithm Using Probabilistic Neural Networks for Learning Control IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2959876
  15. Exploration of the applicability of probabilistic inference for learning control in underactuated autonomous underwater vehicles Autonomous Robots · Springer Science+Business Media · 2020 10.1007/s10514-020-09922-z
  16. Parameter design and optimization of a flight attitude simulator system based on PILCO framework Optics and Precision Engineering · Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences · 2019 10.3788/ope.20192711.2365
  17. An LQR Approach of Automatic Transmission Upshift Control Including Use of Off-Going Clutch within Inertia Phase SAE International Journal of Advances and Current Practices in Mobility · 2020 10.4271/2020-01-0970
  18. Cooperative Control of Drive Motor and Clutch for Gear Shift of Hybrid Electric Vehicles With Dual-Clutch Transmission IEEE/ASME Transactions on Mechatronics · Institute of Electrical and Electronics Engineers · 2020 10.1109/tmech.2020.2980120
  19. Reinforcement learning for building controls: The opportunities and challenges Applied Energy · Elsevier BV · 2020 10.1016/j.apenergy.2020.115036
  20. Multi-Objective Optimal Gearshift Control for Multispeed Transmission Electric Vehicles IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3009481
  21. Automated Functional Development for Automatic Transmissions Using Deep Reinforcement Learning ATZelectronics worldwide · Springer Science+Business Media · 2020 10.1007/s38314-020-0252-9
  22. Parameter Optimization of Multiple Resonant Controller: A Deep Reinforcement Learning Approach 2020 10.1109/ipemc-ecceasia48364.2020.9367655
  23. Automated calibration of gearshift controllers using iterative learning control for hybrid systems Control Engineering Practice · Elsevier BV · 2021 10.1016/j.conengprac.2021.104786
  24. Adaptive gearshift control of wet dual clutch transmission based on extended state observer and H∞ robust control Proceedings of the Institution of Mechanical Engineers Part C Journal of Mechanical Engineering Science · SAGE Publishing · 2021 10.1177/09544062211009929
  25. Improving gearshift controllers for electric vehicles with reinforcement learning arXiv (Cornell University) · Cornell University · 2021 10.1016/j.mechmachtheory.2021.104654
  26. Seamless shifting of a two-speed dual clutch transmission for electric vehicles using machine learning Mechanical Engineering Letters · Japan Society Mechanical Engineers · 2021 10.1299/mel.21-00301
  27. An improved smooth shift strategy for clutch mechanism of heavy tractor semi-trailer automatic transmission Control Engineering Practice · Elsevier BV · 2022 10.1016/j.conengprac.2021.105040
  28. Deep reinforcement learning for gearshift controllers in automatic transmissions Array · Elsevier BV · 2022 10.1016/j.array.2022.100235
  29. The Theory of Radial Basis Function Approximation in 1990 Advances in Numerical Analysis · Hindawi Publishing Corporation · 1992 10.1093/oso/9780198534396.003.0003