Patent Publication Number: US-2021170883-A1

Title: Method for dual-motor control on electric vehicle based on adaptive dynamic programming

Description:
CROSS REFERENCE TO RELATED APPLICATION 
     This application claims priority of Chinese Patent Application No. 201911247511.2, filed on Dec. 9, 2019, under applicable portions of 35 U.S.C. § 119. The entire content of the priority application is incorporated herein by reference in their entirety. 
     TECHNICAL FIELD 
     The present disclosure relates to the technical field of motor drive for electric vehicles, and in particular, to a method for dual-motor control on an electric vehicle based on adaptive dynamic programming. 
     BACKGROUND 
     At present, drive structures of pure electric vehicles can be classified into centralized drives and distributed drives. On centralized-drive electric vehicles, drive motors are used to provide total power, and the power is transmitted to wheels through drive shafts, reducers, and differentials. This drive structure is similar to a drive structure of a conventional vehicle with relatively mature technologies and wide application, such as an integrated motor power transmission type, a single-motor direct drive type, and a dual-motor coupling drive type. However, for a single-motor direct drive, there are high requirements on torque performance parameters of a motor system, leading to high motor costs. 
     A dual-motor drive uses two drive motors. A mechanical device implements total power coupling. Then a transmission shaft, a reducer, etc. implement torque coupling and output. Torque and power are reduced by increasing the number of motors, thereby relaxing requirements for core components such as an insulated gate bipolar transistor (IGBT). A distributed dual-motor drive is a relatively novel type of drive. A vehicle is driven by a wheel or hub motor. A distributed drive system is arranged flexibly, occupies a small space, and has a simple structure without a conventional differential. Electronic differential is implemented through motor control, which delivers better dynamic performance than conventional motor control. However, battery-powered electric buses still have the disadvantages of long charging time, short battery life, etc. Therefore, reducing energy costs and improving energy utilization are very important and necessary for further application of battery-powered electric vehicles. To achieve this objective, it is crucial to determine an optimal and appropriate power management strategy for a multi-motor control system. There are various types of motor drive systems. The efficiency of the drive system, which is a core power component of a vehicle, largely determines the energy consumption level of the whole vehicle. The overall efficiency of the drive system depends on the efficiency characteristics of the component itself on the one hand, and on the control strategy at the system level on the other. 
     Regarding the power or torque distribution control at the system level, in development and research of most hybrid vehicles in and outside China, methods such as fuzzy control and dynamic programming are used to study motor power distribution. An optimization objective is usually the minimum energy consumption or optimal integrated economy of electronic vehicles. A corresponding control strategy is used to achieve optimal battery life of pure electric vehicles. In addition, attention is paid to the stability of distributed-drive vehicles. When dynamic programming or fuzzy control is conducted to distribute a motor operating mode and torque, the application of the fuzzy control strategy can optimize torque and energy distribution to a certain extent as non-linearity of motor control and operating conditions are increasingly complex. However, operating conditions, load, battery performance, etc. cannot be fully covered during rule formulation for fuzzy control. Therefore, some vulnerabilities are prone to appear. In addition, after the efficiency of system components changes during driving, corresponding rules and parameters cannot be promptly adjusted for the control strategy. A desired control effect cannot be achieved due to system errors accumulating for a long period of time. When dynamic programming is conducted to distribute torque, the “dimensional disaster” problem is inevitable as nonlinear complexity of the system is increasingly high, and the controller cannot run online in real time. In the prior art, usually, only the motor mode of a motor is considered for energy distribution of the multi-motor system, and the engine mode of the motor during braking is rarely considered. 
     A large number of achievements related to dynamic programming accumulated in practical application in terms of these problems, but dynamic programming has obvious disadvantages. Its backward-in-time algorithm produces a huge amount of calculation. 
     Therefore, the algorithm is suitable only for optimal control of small-scale simple nonlinear systems. Many ideas and specific technical methods for solving nonlinear system optimization problems were proposed with the development and enrichment of reinforcement learning, artificial neural networks, fuzzy systems, evolutionary computing, etc. in the field of artificial intelligence. 
     In view of this, the research on a method for dual-motor control on an electric vehicle based on adaptive dynamic programming is a technical problem to be solved urgently by a person skilled in the art. 
     SUMMARY 
     An objective of the present disclosure is to provide a method for dual-motor control on an electric vehicle based on adaptive dynamic programming. The method aims to optimize dual-motor operating points and dual-motor drive torque distribution by using an adaptive dynamic programming method, so as to resolve a problem of dual-motor torque distribution on the electric vehicle under complex operating conditions. In this way, it is ensured that dual-motor operating points of the electric vehicle under various driving conditions deliver the optimal efficiency. In addition, it is ensured that efficiency output of the dual-motor power system of the electric vehicle under different driving conditions is an optimal control law. This resolves a conflict between power and efficiency of the electric vehicle, and improves power performance and efficiency of the dual-motor system of the electric vehicle. 
     To achieve the above objective, the present disclosure provides a method for dual-motor control on an electric vehicle based on adaptive dynamic programming, including the following steps:
         S 1 . obtaining, by a controller, data information of the electric vehicle under various driving conditions, and calculating total torque required by two motors of the electric vehicle based on the obtained data information and a corresponding accelerator pedal opening and/or brake pedal opening;   S 2 . establishing an execution network and an evaluation network for the electric vehicle, conducting offline training based on the data information obtained in S 1 , and dynamically distributing total torque of the two motors of the electric vehicle under various driving conditions by using an adaptive dynamic programming method to obtain an efficiency MAP database of a dual-motor high-efficiency operating area of the electric vehicle;   S 3 . obtaining data information of the electric vehicle under a real-time driving condition, and conducting online learning on the execution network and the evaluation network based on the obtained real-time data information of the electric vehicle to find an optimal control law of the electric vehicle under the real-time driving condition, and optimize the dual-motor control on the electric vehicle.       

     Preferably, the data information corresponding to the two motors of the electric vehicle under various driving conditions in S 1  are obtained by a torque sensor, a rotational speed sensor, a voltage sensor, and a current sensor. 
     Preferably, the total torque T e  required by the two motors of the electric vehicle in S 2  can be expressed by the following formula: 
         T   e   =T′   e   +T″   e   (1), wherein
 
     T′ e  denotes total output torque of the motors of the electric vehicle under a current operating condition, and T′ e =F/k, wherein F denotes driving force required by the electric vehicle under the current operating condition, and k denotes efficiency during kinetic energy transmission; T″ e  denotes torque that is calculated from the opening and closing of the accelerator pedal of the electric vehicle, and T″ e =A*T e max, wherein A denotes an accelerator pedal opening of the electric vehicle per unit time, and T e max denotes maximum torque of the two motors; and F=F roll +F air +F accel +F grad , wherein F roll  denotes rolling resistance of the electric vehicle, F air  denotes air resistance when the electric vehicle is driving, F accel  denotes acceleration resistance when the electric vehicle accelerates, and F grad  denotes gradient resistance when the electric vehicle drives uphill. 
     Preferably, the total torque required by the two motors of the electric vehicle in S 2  is further related to vehicle-mounted battery information soc, specifically including:
         (1) when 50%≤soc≤100%, T″ e =A*T e max;   (2) when 30%≤soc&lt;50%, T″ e =0.6A*T e max;   (3) when soc&lt;30%, T″ e =0.3A*T e max.       

     Preferably, S 2  specifically includes: 
     S 21 . conducting torque distribution for the two motors based on the total torque that is required by the two motors of the electric vehicle under different driving conditions and calculated in S 1 , which can be expressed by the following formula: 
         T   e   =T   e1   +T   e2   (2), wherein
 
     T e1  and T e2  denote output torque of the two motors of the electric vehicle, respectively; 
     S 22 . establishing the execution network and the evaluation network for the electric vehicle, and conducting offline training on the execution network and the evaluation network based on the data information of the electric vehicle obtained in S 1 ; 
     S 23 . establishing a minimum energy consumption function for a high-efficiency operating point of the two motors of the electric vehicle to minimize energy consumption of dual-motor operation of the electric vehicle, thereby obtaining a data set of high-efficiency dual-motor operation of the electric vehicle under different driving conditions, which can be expressed by the following formula: 
       minAIM=α( P   1   −P   Te1 )+β( P   2   −P   Te2 )  (3), wherein
 
     P 1  and P 2  denote drive system output power of the two motors, P Te1  and P Te2  denote actual output power of the two motors, α and β denote weighting coefficients, α and β are proportional to rated power of the two motors, and α+β=1; and 
     S 24 . establishing the efficiency MAP database of the dual-motor high-efficiency operating area of the electric vehicle, and generating a controller signal based on the data set of high-efficiency dual-motor operation obtained in S 23 . 
     Preferably, the execution network training in S 22  can be expressed by the following formula: 
         c   l+1 ( x   k )=min{ U ( x   k   ,u   k )+ J ( x   k+1   ,c   l )}  (4), wherein
 
     J(x k ,c l )≥J(x k ,c l+1 ), J denotes a cost function, U denotes a utility function, x k  denotes input of the execution network at a current moment, x k+1  denotes input of the execution network at a next moment, u k  denotes output of the execution network at the current moment, c l  denotes a control law at the current moment, and c l+1  denotes a control law at the next moment; and 
     the evaluation network training can be expressed by the following formula: 
         J   l+1 ( x   k   ,c )= U ( x   k   ,u   k )+ J   l ( x   k+1   ,c )  (5), wherein
 
     J l+1 (x k ,c)≤J l (x k+1 ,c), J l  denotes a cost function at the current moment, J l+1  denotes an updated cost function, and C denotes a given control law. 
     Preferably, S 3  specifically includes: 
     S 31 . obtaining, by the controller, data information of the electric vehicle in real time, and initializing a system control parameter; and 
     S 32 . inputting the obtained real-time data information into the execution network and the evaluation network, and finding the optimal control law for the electric vehicle by using iteration and online update methods to optimize the dual-motor control on the electric vehicle. 
     Preferably, S 32  specifically includes: 
     S 321 . inputting the real-time data information of the electric vehicle into the execution network to obtain optimal torque distribution of the two motors, and calculating differences ΔT e1  and ΔT e2  between optimal output torque of the two motors and actual output torque of the two motors at the current moment, wherein the real-time data information comprises torque T e , motor efficiency map, rotational speed n, vehicle-mounted battery information soc, difference ΔT e  between current torque and target torque, difference Δn between a current rotational speed and a target rotational speed, difference Δsoc between current vehicle-mounted battery information and target vehicle-mounted battery information, and ΔT e (t−1), ΔT e (t−2), map(t−1), map(t−2), Δn(t−1), Δn(t−2), Δsoc(t−1), and Δsoc(t−2) that are obtained through delay; 
     S 322 . obtaining differences ΔT e1 (t−1), ΔT e1 (t−2), ΔT e2 (t−1), and ΔT e2 (t−2) between optimal output torque and actual output torque of the two motors at moment t−1 and moment t−2 through delay based on differences ΔT e1  and ΔT e2  between optimal output torque of the two motors and actual output torque of the two motors at the current moment that are obtained in S 321 ; 
     S 323 . inputting the real-time data information ΔT e1 , ΔT e2 , ΔT e1 (t−1), ΔT e1 (t−2), ΔT e2 (t−1), ΔT e2 (t−2), map, map(t−1), map(t−2), Δsoc, Δsoc(t−1), and Δsoc(t−2) obtained in S 321  and S 322  into the evaluation network to obtain a value of cost function ĵ(t) of the evaluation network at moment t; 
     S 324 . obtaining real-time data information ΔT e1 (t−3), map(t−3), and Δsoc(t−3) at moment t−3 through delay, and inputting the obtained real-time data information ΔT e1 (t−1) ΔT e1 (t−2), ΔT e1 (t−3), ΔT e2 (t−1), ΔT e2 (t−2), map(t−1), map(t−2), map(t−3), Δsoc(t−1), Δsoc(t−2), and Δsoc(t−3) into evaluation network to obtain a value of cost function Ĵ(t−1) of the evaluation network at moment t−1; 
     S 325 . updating weights of the evaluation network and the execution network based on the results obtained in the foregoing steps; and 
     S 326 . repeating S 321  to S 325  until the optimal cost function and the optimal control law are found. 
     Preferably, an equation for updating the weight of the evaluation network in S 325  can be expressed as follows: 
         W   c ( t+ 1)= W   c ( t )+Δ W   c ( t )  (6), wherein
 
     W c (t) denotes a weight matrix of the evaluation network at moment t, and ΔW c (t) denotes a weight change value of the evaluation network from moment t to moment t+1; and 
     equations for updating the weight of the execution network can be expressed as follows: 
     
       
         
           
             
               
                 
                   
                     
                       Δ 
                        
                       
                           
                       
                        
                       
                         
                           W 
                           a 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     = 
                     
                       
                         - 
                         η 
                       
                       · 
                       
                         
                           ∂ 
                           
                             J 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                         
                           ∂ 
                           
                             u 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                       
                       · 
                       
                         
                           ∂ 
                           
                             u 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                         
                           ∂ 
                           
                             
                               W 
                               a 
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                       
                     
                   
                   , 
                   and 
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
             
               
                 
                   
                     
                       
                         W 
                         a 
                       
                        
                       
                         ( 
                         
                           t 
                           + 
                           1 
                         
                         ) 
                       
                     
                     = 
                     
                       
                         
                           W 
                           a 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                       + 
                       
                         Δ 
                          
                         
                             
                         
                          
                         
                           
                             W 
                             a 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                     
                   
                   , 
                 
               
               
                 
                   ( 
                   8 
                   ) 
                 
               
             
           
         
       
     
     wherein 
     W a  denotes a weight matrix of the execution network, ΔW a (t) denotes a weight change value of the execution network from moment t to moment t+1, J(t) denotes a cost function at moment t, u(t) denotes output of the execution network at moment t, and η(η&gt;0) denotes a learning rate. 
     Compared with the prior art, the present disclosure aims to optimize dual-motor operating points and dual-motor drive torque distribution by using the adaptive dynamic programming method. In this way, it is ensured that dual-motor operating points of the electric vehicle under various driving conditions deliver the optimal efficiency. In addition, it is ensured that efficiency output of the dual-motor power system of the electric vehicle under different driving conditions is the optimal control law. This resolves the conflict between power and efficiency of the electric vehicle, and improves power performance and efficiency of the dual-motor system of the electric vehicle. 
    
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         FIG. 1  is a flowchart of a method for dual-motor control on an electric vehicle based on adaptive dynamic programming according to the present disclosure; 
         FIG. 2  is a flowchart of a method for obtaining an efficiency MAP database of a dual-motor high-efficiency operating area of an electric vehicle according to the present disclosure; 
         FIG. 3  is a flowchart of a method for obtaining real-time data information of an electric vehicle and using the real-time data information to optimize dual-motor control on the electric vehicle according to the present disclosure; 
         FIG. 4  is a flowchart of a method for inputting real-time data information to a network for online learning and iteration to obtain an optimal control law of an electric vehicle according to the present disclosure; 
         FIG. 5  is a structural diagram of an evaluation network according to the present disclosure; and 
         FIG. 6  is a structural diagram of an execution network according to the present disclosure 
     
    
    
     DETAILED DESCRIPTION 
     To enable a person skilled in the art to better understand technical solutions of the present disclosure, the present disclosure is further described below in detail with reference to the accompanying drawings. 
     As shown in  FIG. 1 , a method for dual-motor control on an electric vehicle based on adaptive dynamic programming includes the following steps: 
     S 1 . A controller obtains data information of the electric vehicle under various driving conditions, and calculates total torque required by two motors of the electric vehicle based on the obtained data information and a corresponding accelerator pedal opening and/or brake pedal opening. 
     S 2 . Establish an execution network and an evaluation network for the electric vehicle, conduct offline training based on the data information obtained in S 1 , and dynamically distribute total torque of the two motors of the electric vehicle under various driving conditions by using an adaptive dynamic programming method to obtain an efficiency MAP database of a dual-motor high-efficiency operating area of the electric vehicle. 
     S 3 . Obtain data information of the electric vehicle under a real-time driving condition, and conduct online learning on the execution network and the evaluation network based on the obtained real-time data information of the electric vehicle to find an optimal control law of the electric vehicle under the real-time driving condition, and optimize the dual-motor control on the electric vehicle. 
     In this embodiment, the controller obtained the data information of the electric vehicle under various driving conditions and calculated the total torque required. Then offline training was conducted on the execution network and the evaluation network based on the obtained data information. In addition, total torque was dynamically distributed for the two motors of the electric vehicle under various driving conditions by using the adaptive dynamic programming method to obtain the efficiency MAP database of the dual-motor high-efficiency operating area of the electric vehicle. Finally, data information of the electric vehicle under different driving conditions was obtained in real time, and iteration and online learning were conducted on the execution network and the evaluation network based on the obtained real-time data information. In this way, the optimal control law of the electric vehicle under the real-time driving condition was found, and the dual-motor control on the electric vehicle was optimized. In this embodiment, dual-motor operating points and dual-motor drive torque distribution were optimized by using the adaptive dynamic programming method. In this way, it was ensured that dual-motor operating points of the electric vehicle under various driving conditions delivered the optimal efficiency. In addition, it was ensured that efficiency output of the dual-motor power system of the electric vehicle under different driving conditions was the optimal control law. This resolved a conflict between power and efficiency of the electric vehicle, and improved power performance and efficiency of the dual-motor system of the electric vehicle. 
     As shown in  FIG. 1 , the data information corresponding to the two motors of the electric vehicle under various driving conditions in S 1  may be obtained by a torque sensor, a rotational speed sensor, a voltage sensor, and a current sensor. In this embodiment, the torque sensor, the rotational speed sensor, the voltage sensor, and the current sensor may be disposed in the front of and at the back of the electric vehicle to obtain dual-motor data information. 
     As shown in  FIG. 1 , the total torque T e  required by the two motors of the electric vehicle in S 2  can be expressed by the following formula: 
         T   e   =T′   e   +T″   e   (1).
 
     In formula (1), T′ e  denotes total output torque of the motors of the electric vehicle under a current operating condition, and T′ e =F/k, wherein F denotes driving force required by the electric vehicle under the current operating condition, and k denotes efficiency during kinetic energy transmission; T″ e  denotes torque that is calculated from the opening and closing of the accelerator pedal of the electric vehicle, and T″ e =A*T e max, wherein A denotes an accelerator pedal opening of the electric vehicle per unit time, and T e max denotes maximum torque of the two motors; and F=F roll +F air +F accel +F grad , wherein F roll  denotes rolling resistance of the electric vehicle, F air  denotes air resistance when the electric vehicle is driving, F accel  denotes acceleration resistance when the electric vehicle accelerates, and F grad  denotes gradient resistance when the electric vehicle drives uphill. 
     In this embodiment, when the driving force and total torque were analyzed and calculated based on the accelerator pedal opening or brake pedal opening, the current vehicle attitude and operating condition needed to be determined by the sensors first, and then the total torque required by the electric vehicle was calculated based on the actual situation and the amount of loss. This was because there were rolling resistance, air resistance, acceleration resistance, and gradient resistance during uphill driving when the electric vehicle was driving, and there was a corresponding loss k during kinetic energy transmission. 
     As shown in  FIG. 1 , the total torque required by the two motors of the electric vehicle in S 2  may be further related to vehicle-mounted battery information soc, specifically including the following:
         (1) when 50%≤soc≤100%, T″ e =A*T e max;   (2) when 30%≤soc&lt;50%, T″ e =0.6A*T e max;   (3) when soc&lt;30%, T″ e =0.3A*T e max.       

     In this embodiment, since a pedal instruction may be closely related to the vehicle-mounted battery information soc, torque that is calculated from the opening and closing of the accelerator pedal of the electric vehicle in cases of different vehicle-mounted battery information soc may be optimized, analyzed, and calculated to obtain more accurate total torque required. 
     As shown in  FIG. 2 , S 2  may specifically include the following: 
     S 21 . Conduct torque distribution for the two motors based on the total torque that is required by the two motors of the electric vehicle under different driving conditions and calculated in S 1 , which can be expressed by the following formula: 
         T   e   =T   e1   +T   e2   (2).
 
     In formula (2), T e1  and T e2  denote output torque of the two motors of the electric vehicle (to be specific, T e1  denotes the output torque of one motor of the electric vehicle, and T e2  denotes the output torque of the other motor of the electric vehicle). 
     S 22 . Establish the execution network and the evaluation network for the electric vehicle, and conduct offline training on the execution network and the evaluation network based on the data information of the electric vehicle obtained in S 1 . 
     S 23 . Establish a minimum energy consumption function for a high-efficiency operating point of the two motors of the electric vehicle to minimize energy consumption of dual-motor operation of the electric vehicle, thereby obtaining a data set of high-efficiency dual-motor operation of the electric vehicle under different driving conditions, which can be expressed by the following formula: 
       minAIM=α( P   1   −P   Te1 )+β( P   2   −P   Te2 )  (3).
 
     In formula (3), P 1  and P 2  denote drive system output power of the two motors, P Te1  and P Te2  denote actual output power of the two motors, α and β denote weighting coefficients, α and β are proportional to rated power of the two motors, and α+β=1. 
     S 24 . Establish the efficiency MAP database of the dual-motor high-efficiency operating area of the electric vehicle, and generate a controller signal based on the data set of high-efficiency dual-motor operation obtained in S 23 . 
     In this embodiment, the obtained total torque required by the two motors of the electric vehicle was dynamically distributed by using the adaptive dynamic programming method first. In addition, offline training was conducted on the execution network and the evaluation network to obtain weights of the execution network and the evaluation network. Then the efficiency MAP database, which included the rotational speed and torque, of the dual-motor high-efficiency operating area of the electric vehicle was established with the objective of minimizing energy consumption of dual-motor operation of the electric vehicle, and the controller signal was generated. 
     As shown in  FIG. 2 ,  FIG. 5 , and  FIG. 6 , the execution network training in S 21  can be expressed by the following formula: 
         c   l+1 ( x   k )=min{ U ( x   k   ,u   k )+ J ( x   k+1   ,c   l )}  (4).
 
     In formula (4), J(x k ,c l )≥J(x k ,c l+1 ), J denotes a cost function, U denotes a utility function, x k  denotes input of the execution network at a current moment, (that is, a state constraint), x k+1  denotes input of the execution network at a next moment, (that is, a state constraint), u k  denotes output of the execution network at the current moment, (that is, a state constraint), c l  denotes a control law at the current moment, and c l+1  denotes a control law at the next moment. 
     The evaluation network training can be expressed by the following formula: 
         J   l+1 ( x   k   ,c )= U ( x   k   ,u   k )+ J   l ( x   k+1   ,c )  (5), wherein
 
     In formula (5), J l+1 (x k ,c)≤J l (x k+1 ,c), J l  denotes a cost function at the current moment, J l+1  denotes an updated cost function, and c denotes a given control law. 
     In this embodiment, the execution network aimed to achieve an extreme value of output of the evaluation network. Therefore, the execution network training was determined by the evaluation network, that is, cost function Ĵ(t) was learned. The input of the execution network can be expressed as: 
     
       
         
           
             
               inputV 
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
                 
               
                 
                   
                     [ 
                     
                       
                         
                           
                             
                               T 
                               e 
                             
                             , 
                             map 
                             , 
                             n 
                             , 
                             soc 
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 T 
                                 e 
                               
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               n 
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               SOC 
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 
                                   T 
                                   e 
                                 
                                  
                                 
                                   ( 
                                   
                                     t 
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 
                                   T 
                                   e 
                                 
                                  
                                 
                                   ( 
                                   
                                     t 
                                     - 
                                     2 
                                   
                                   ) 
                                 
                               
                             
                             , 
                             
                               map 
                                
                               
                                 ( 
                                 
                                   t 
                                   - 
                                   1 
                                 
                                 ) 
                               
                             
                             , 
                           
                         
                       
                       
                         
                           
                             
                               map 
                                
                               
                                 ( 
                                 
                                   t 
                                   - 
                                   2 
                                 
                                 ) 
                               
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 n 
                                  
                                 
                                   ( 
                                   
                                     t 
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 n 
                                  
                                 
                                   ( 
                                   
                                     t 
                                     - 
                                     2 
                                   
                                   ) 
                                 
                               
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 SOC 
                                  
                                 
                                   ( 
                                   
                                     t 
                                     - 
                                     1 
                                   
                                   ) 
                                 
                               
                             
                             , 
                             
                               Δ 
                                
                               
                                   
                               
                                
                               
                                 SOC 
                                  
                                 
                                   ( 
                                   
                                     t 
                                     - 
                                     2 
                                   
                                   ) 
                                 
                               
                             
                           
                         
                       
                     
                     ] 
                   
                    
                   
                     
 
                   
                    
                   
                       
                   
                    
                   
                     
                       a 
                       
                         h 
                          
                         
                             
                         
                          
                         1 
                          
                         j 
                       
                     
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                 
                 = 
                 
                   
                     
                       ∑ 
                       
                         i 
                         = 
                         1 
                       
                       15 
                     
                      
                     
                       
                         
                           
                             x 
                             i 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         · 
                         
                           W 
                           
                             
                               a 
                               
                                 h 
                                  
                                 
                                     
                                 
                                  
                                 1 
                                  
                                 ij 
                               
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                       
                        
                       
                         
 
                       
                        
                       
                           
                       
                        
                       
                         
                           a 
                           
                             h 
                              
                             
                                 
                             
                              
                             2 
                              
                             j 
                           
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                   = 
                   
                     
                       
                         
                           1 
                           - 
                           
                             e 
                             
                               - 
                               
                                 
                                   a 
                                   
                                     h 
                                      
                                     
                                         
                                     
                                      
                                     1 
                                      
                                     j 
                                   
                                 
                                  
                                 
                                   ( 
                                   t 
                                   ) 
                                 
                               
                             
                           
                         
                         
                           1 
                           + 
                           
                             e 
                             
                               - 
                               
                                 
                                   a 
                                   
                                     h 
                                      
                                     
                                         
                                     
                                      
                                     1 
                                      
                                     j 
                                   
                                 
                                  
                                 
                                   ( 
                                   t 
                                   ) 
                                 
                               
                             
                           
                         
                       
                        
                       
                         
 
                       
                        
                       
                           
                       
                        
                       
                         
                           u 
                           j 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     = 
                     
                       
                         ∑ 
                         
                           i 
                           = 
                           1 
                         
                         tu 
                       
                        
                       
                         
                           a 
                           
                             h 
                              
                             
                                 
                             
                              
                             2 
                              
                             j 
                           
                         
                         · 
                         
                           
                             
                               W 
                               
                                 a 
                                 
                                   2 
                                    
                                   ij 
                                 
                               
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                           . 
                         
                       
                     
                   
                 
               
             
           
         
       
     
     In the formulas, a h1j (t) denotes input of a jth neuron in the hidden layer of the execution network, a h2j (t) denotes output of the jth neuron in the hidden layer of the execution network, i denotes the number of inputs, W a1  denotes a weight matrix from an input layer to the hidden layer of the execution network, and W a2  denotes a weight matrix from the hidden layer to the output layer of the execution network. 
     In this embodiment, a matrix weight may be adjusted by using a gradient descent method during the execution network training to minimize the cost function Ĵ(t), which may be expressed as 
     
       
         
           
             
               Δ 
                
               
                 
                   W 
                   a 
                 
                  
                 
                   ( 
                   t 
                   ) 
                 
               
             
             = 
             
               
                 η 
                  
                 
                   [ 
                   
                     - 
                     
                       
                         ∂ 
                         
                           
                             E 
                             c 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                       
                         ∂ 
                         
                           
                             W 
                             c 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                     
                   
                   ] 
                 
               
               = 
               
                 
                   - 
                   η 
                 
                 · 
                 
                   
                     ∂ 
                     
                       J 
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                   
                     ∂ 
                     
                       u 
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                   
                 
                 · 
                 
                   
                     
                       ∂ 
                       
                         u 
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     
                       ∂ 
                       
                         W 
                         a 
                       
                     
                   
                   . 
                 
               
             
           
         
       
     
     In formula, u(t) denotes the output of the execution network at moment t, and η(η&gt;0) denotes the learning rate. In this embodiment, there are a total of 15 inputs of the execution network. 
     The output of the evaluation network may be an estimated value of J(t) a performance indicator). The evaluation network training may be implemented by minimizing an error function of the following formula: 
     
       
         
           
             
                
               
                 E 
                 c 
               
                
             
             = 
             
               
                 ∑ 
                 t 
               
                
               
                 
                   
                     
                       1 
                       2 
                     
                      
                     
                       [ 
                       
                         
                           
                             J 
                             ^ 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         - 
                         
                           U 
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         - 
                         
                           γ 
                            
                           
                               
                           
                            
                           
                             
                               J 
                               ^ 
                             
                              
                             
                               ( 
                               
                                 t 
                                 + 
                                 1 
                               
                               ) 
                             
                           
                         
                       
                       ] 
                     
                   
                   2 
                 
                 . 
               
             
           
         
       
     
     In the formula, Ĵ(jt)=J[x(t), u(t), t, W c ], W c  denotes a parameter of the evaluation network, and the utility function U(t)=U[x(t), u(t), t]. For all t S , 
     
       
         
           
             
               
                 J 
                 ^ 
               
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
               
                 ∑ 
                 
                   i 
                   = 
                   t 
                 
                 ∞ 
               
                
               
                 
                   γ 
                   
                     i 
                     - 
                     t 
                   
                 
                  
                 
                   U 
                    
                   
                     ( 
                     i 
                     ) 
                   
                 
               
             
           
         
       
     
     when E c(t) =0, that is, there is no need to substitute W c  into calculation, where 0&lt;γ&lt;1. In tracking control design for the two motors of the electric vehicle, a control objective is to minimize the finite sum of U(t) from the current moment to the infinite future, and the utility function 
     
       
         
           
             
               u 
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
               
                 1 
                 2 
               
                
               
                 [ 
                 
                   
                     Δ 
                      
                     
                       T 
                       
                         e 
                          
                         1 
                       
                       2 
                     
                   
                   + 
                   
                     Δ 
                      
                     
                       T 
                       
                         e 
                          
                         2 
                       
                       2 
                     
                   
                 
                 ] 
               
             
           
         
       
     
     In this embodiment, the evaluation network and the execution network are both designed as a three-layer feedforward neural network including an input layer, a hidden layer, and an output layer. The input of the evaluation network may be the actual output values (T e1  and T e2 ) of the motors, an actual motor operating point MAP, required torque values (T* e1  and T* e2 ) that are read from the database and that needs to be tracked by the current learning control algorithm, a high-efficiency motor operating area MAP that needs to be tracked (when a motor runs in a constant torque area, a rotational speed of the motor is relatively low, and output torque is relatively large, which meets the requirements of the electric vehicle for fast starting, acceleration, climbing, etc.; when the motor runs in a constant power area, the rotational speed of the motor is relatively high, which meets the requirements of the electric vehicle for high-speed driving, overtaking, etc. on flat roads), the vehicle-mounted battery state SOC, a vehicle-mounted battery status SOC* tracked by the algorithm, and ΔT e1 (t−1), ΔT e1 (t−2), ΔT e2 (t−1), ΔT e2 (t−2), map(t−1), map(t−2), Δsoc(t−1), and Δsoc(t−2) obtained through delay in practice. The evaluation network training includes forward calculation and error back propagation, and during the error back propagation, the weight matrix of the evaluation network is updated by the error feedback. 
     The forward calculation of the evaluation network may include the following: 
     The input InputC(t) of the evaluation network can be expressed as 
     
       
         
           
             
               inputC 
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
                 
               
                 [ 
                 
                   
                     
                       
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             T 
                             
                               e 
                                
                               
                                   
                               
                                
                               1 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             T 
                             
                               e 
                                
                               
                                   
                               
                                
                               2 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             
                               T 
                               
                                 e 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 1 
                               
                               ) 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             
                               T 
                               
                                 e 
                                  
                                 
                                     
                                 
                                  
                                 1 
                               
                             
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 2 
                               
                               ) 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             
                               T 
                               
                                 e 
                                  
                                 
                                     
                                 
                                  
                                 2 
                               
                             
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 1 
                               
                               ) 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             
                               T 
                               
                                 e 
                                  
                                 
                                     
                                 
                                  
                                 2 
                               
                             
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 2 
                               
                               ) 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           SOC 
                         
                       
                     
                   
                   
                     
                       
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             SOC 
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 1 
                               
                               ) 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             SOC 
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 2 
                               
                               ) 
                             
                           
                         
                         , 
                         map 
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             map 
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 1 
                               
                               ) 
                             
                           
                         
                         , 
                         
                           Δ 
                            
                           
                               
                           
                            
                           
                             map 
                              
                             
                               ( 
                               
                                 t 
                                 - 
                                 2 
                               
                               ) 
                             
                           
                         
                       
                     
                   
                 
                 ] 
               
             
           
         
       
     
     A relationship between the input layer and the hidden layer can be expressed as 
     
       
         
           
             
               
                 C 
                 
                   h 
                    
                   
                       
                   
                    
                   1 
                    
                   j 
                 
               
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
               
                 ∑ 
                 
                   i 
                   = 
                   1 
                 
                 12 
               
                
               
                 
                   
                     W 
                     
                       c 
                        
                       
                           
                       
                        
                       1 
                        
                       ij 
                     
                   
                    
                   
                     ( 
                     t 
                     ) 
                   
                 
                 · 
                 
                   
                     inputC 
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                   . 
                 
               
             
           
         
       
     
     In the formula, C h1j  denotes the input of the jth neuron in the hidden layer, W c1  denotes the weight matrix from the input layer to the hidden layer of the evaluation network, and C h2j  denotes the output of the jth neuron in the hidden layer, and can be expressed as 
     
       
         
           
             
               C 
               
                 h 
                  
                 
                     
                 
                  
                 2 
                  
                 j 
               
             
             = 
             
               
                 
                   1 
                   - 
                   
                     e 
                     
                       - 
                       
                         
                           C 
                           
                             h 
                              
                             
                                 
                             
                              
                             1 
                              
                             j 
                           
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                 
                 
                   1 
                   + 
                   
                     e 
                     
                       - 
                       
                         
                           C 
                           
                             h 
                              
                             
                                 
                             
                              
                             1 
                              
                             j 
                           
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                   
                 
               
               . 
             
           
         
       
     
     In this case 
     
       
         
           
             
               
                 J 
                 ^ 
               
                
               
                 ( 
                 t 
                 ) 
               
             
             = 
             
               
                 ∑ 
                 
                   j 
                   = 
                   1 
                 
                 n 
               
                
               
                 
                   
                     C 
                     
                       h 
                        
                       
                           
                       
                        
                       2 
                        
                       j 
                     
                   
                    
                   
                     ( 
                     t 
                     ) 
                   
                 
                  
                 
                   
                     
                       W 
                       
                         c 
                          
                         
                             
                         
                          
                         2 
                          
                         j 
                       
                     
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                   . 
                   
                       
                   
                    
                   
                     W 
                     
                       c 
                        
                       2 
                     
                   
                 
               
             
           
         
       
     
     denotes the weight matrix from the hidden layer to the output layer of the evaluation network. In this embodiment, there are a total of 12 inputs of the evaluation network. 
     In this embodiment, the evaluation network may be trained by using the gradient descent method. A process of updating the weight of the evaluation network may be as follows: 
     Weight matrix W c2  from the hidden layer to the output layer: 
     
       
         
           
             
               Δ 
                
               
                 
                   W 
                   
                     c 
                      
                     
                         
                     
                      
                     2 
                      
                     j 
                   
                 
                  
                 
                   ( 
                   t 
                   ) 
                 
               
             
             = 
             
               
                 
                   l 
                   c 
                 
                  
                 
                   [ 
                   
                     - 
                     
                       
                         ∂ 
                         
                           
                             E 
                             c 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                       
                         ∂ 
                         
                           W 
                           
                             c 
                              
                             
                                 
                             
                              
                             2 
                              
                             
                               j 
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                           
                         
                       
                     
                   
                   ] 
                 
               
               = 
               
                 
                   - 
                   
                     l 
                     c 
                   
                 
                 · 
                 
                   
                     e 
                     c 
                   
                    
                   
                     ( 
                     t 
                     ) 
                   
                 
                 · 
                 
                   
                     C 
                     
                       h 
                        
                       
                           
                       
                        
                       2 
                        
                       j 
                     
                   
                    
                   
                     ( 
                     t 
                     ) 
                   
                 
               
             
           
         
       
       
         
           
             
               
                 W 
                 
                   c 
                    
                   2 
                 
               
                
               
                 ( 
                 
                   t 
                   + 
                   1 
                 
                 ) 
               
             
             = 
             
               
                 
                   W 
                   
                     c 
                      
                     2 
                   
                 
                  
                 
                   ( 
                   t 
                   ) 
                 
               
               + 
               
                 Δ 
                  
                 
                   
                     W 
                     
                       c 
                        
                       2 
                     
                   
                    
                   
                     ( 
                     t 
                     ) 
                   
                 
               
             
           
         
       
     
     Weight matrix W c1  from the input layer to the hidden layer: 
     
       
         
           
             
               Δ 
                
               
                 
                   W 
                   
                     c 
                      
                     
                         
                     
                      
                     1 
                      
                     ij 
                   
                 
                  
                 
                   ( 
                   t 
                   ) 
                 
               
             
             = 
             
               
                 
                   l 
                   c 
                 
                  
                 
                   [ 
                   
                     - 
                     
                       
                         ∂ 
                         
                           
                             E 
                             c 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                       
                         ∂ 
                         
                           W 
                           
                             c 
                              
                             
                                 
                             
                              
                             1 
                              
                             
                               ij 
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                           
                         
                       
                     
                   
                   ] 
                 
               
               = 
               
                 
                   - 
                   
                     1 
                     2 
                   
                 
                  
                 
                   
                     l 
                     c 
                   
                   · 
                   
                     
                       e 
                       c 
                     
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                   · 
                   
                     
                       
                         W 
                         
                           c 
                            
                           
                               
                           
                            
                           2 
                            
                           j 
                         
                       
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                      
                     
                       [ 
                       
                         1 
                         - 
                         
                           
                             C 
                             
                               h 
                                
                               
                                   
                               
                                
                               2 
                                
                               j 
                             
                             2 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                       ] 
                     
                   
                   · 
                   
                     inputC 
                      
                     
                       ( 
                       k 
                       ) 
                     
                   
                 
               
             
           
         
       
       
         
           
             
                 
             
              
             
               
                 
                   W 
                   
                     c 
                      
                     1 
                   
                 
                  
                 
                   ( 
                   
                     t 
                     + 
                     1 
                   
                   ) 
                 
               
               = 
               
                 
                   
                     W 
                     
                       c 
                        
                       2 
                     
                   
                    
                   
                     ( 
                     t 
                     ) 
                   
                 
                 + 
                 
                   Δ 
                    
                   
                     
                       W 
                       
                         c 
                          
                         2 
                       
                     
                      
                     
                       ( 
                       t 
                       ) 
                     
                   
                 
               
             
           
         
       
     
     In the formulas, l c  denotes the learning rate, e c (t)=Ĵ(t)−U(t)−γĴ(t+1), and C(k) denotes a state vector input at the current moment. 
     In this embodiment, the hidden layer of the evaluation network adopts a bipolar sigmoidal function, and the output layer adopts a purelin linear function. The gradient descent algorithm (traingdx) is applied to the evaluation network training. In addition, batch processing can also be used to train the evaluation network. In other embodiments, other algorithms such as tradingd, tradingda, tradingdm, and trainlm are also applicable. 
     As shown in  FIG. 3 , S 3  may specifically include the following: 
     S 31 . The controller obtains data information of the electric vehicle in real time, and initializes a system control parameter. 
     S 32 . Input the obtained real-time data information into the execution network and the evaluation network, and find the optimal control law for the electric vehicle by using iteration and online update methods to optimize the dual-motor control on the electric vehicle. 
     As shown in  FIG. 4 , S 32  may specifically include the following: 
     S 321 . Input the real-time data information of the electric vehicle into the execution network to obtain optimal torque distribution of the two motors, and calculate differences ΔT e1  and ΔT e2  between optimal output torque of the two motors and actual output torque of the two motors at the current moment, where the real-time data information includes torque T e , motor efficiency map, rotational speed n, vehicle-mounted battery information soc, difference ΔT e  between current torque and target torque, difference Δn between a current rotational speed and a target rotational speed, difference Δsoc between current vehicle-mounted battery information and target vehicle-mounted battery information, and ΔT e (t−1), ΔT e (t−2), map(t−1), map(t−2), Δn(t−1), Δn(t−2), Δsoc(t−1), and Δsoc(t−2) that are obtained through delay. 
     S 322 . Obtain differences Δt e1 (t−1), Δt e1 (t−2), Δt e2 (t−1), and Δt e2 (t−2), between optimal output torque and actual output torque of the two motors at moment t−1 and moment t−2 through delay based on the obtained differences ΔT e1  and ΔT e2  between optimal output torque of the two motors and actual output torque of the two motors at the current moment. 
     S 323 . Input ΔT e1 , ΔT e2 , Δt e1 (t−1), Δt e1 (t−2), Δt e2 (t−1), Δt e2 (t−2), map, map(t−1), map(t−2), Δsoc, Δsoc(t−1), and Δsoc(t−2) obtained in S 321  and S 322  into the evaluation network to obtain a value of cost function ĵ(t) of the evaluation network. 
     S 324 . Obtain real-time data information ΔT e1 (t−3), map(t−3), and Δsoc(t−3) at moment t−3 through delay, and inputting the obtained real-time data information ΔT e1 (t−1), ΔT e1 (t−2), ΔT e1 (t−3), ΔT e2 (t−1), ΔT e2 (t−2), map(t−1), map(t−2), map(t−3), Δsoc(t−1), Δsoc(t−2), and Δsoc(t−3) into evaluation network to obtain a value of cost function Ĵ(t−1) of the evaluation network. 
     S 325 . Update the weights of the evaluation network and the execution network based on an equation for updating the weight of the evaluation network and an equation for updating the weight of the execution network. 
     S 326 . Repeat steps S 321  to S 325  until the optimal cost function and the optimal control law are found. 
     In this embodiment, to optimize the dual-motor control on the electric vehicle, the real-time data information obtained by the controller was input to the execution network, and the online learning method was used to continuously optimize performance indicators of the evaluation network, thereby updating the weights of the execution network and the evaluation network. Network selection was conducted to promote rapid convergence of performance indicator functions. Optimal torque distribution for the two motors was rapidly implemented based on a real-time environment change. The optimal control law was output, and real-time online control was optimized. In this way, the two motors of the electric vehicle deliver good performance in dynamic torque distribution, motor response speed, and velocity jump smoothing. In this embodiment, the optimal output torque of the two motors refers to the optimal output torque distribution of the two motors corresponding to the high-efficiency operating area in the MAP database. The target torque refers to the motor torque corresponding to the high-efficiency operating area in the MAP database. The target rotational speed refers to the motor rotation speed corresponding to the high-efficiency operating area in the MAP database. The target vehicle-mounted battery information refers to the vehicle-mounted battery corresponding to the high-efficiency operating area in the MAP database. The real-time data information refers to the data information of the electric vehicle at the current moment. 
     As shown in  FIG. 4 , the equation for updating the weight of the evaluation network in S 325  can be expressed as follows: 
         W   c ( t+ 1)= W   c ( t )+Δ W   c ( t )  (6), wherein
 
     In equation (6), W c (t) denotes the weight matrix of the evaluation network at moment t, and ΔW c (t) denotes a weight change value of the evaluation network from moment t to moment t+1. 
     Equations for updating the weight of the execution network can be expressed as follows: 
     
       
         
           
             
               
                 
                   
                     
                       Δ 
                        
                       
                         
                           W 
                           a 
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                     
                     = 
                     
                       
                         - 
                         η 
                       
                       · 
                       
                         
                           ∂ 
                           
                             J 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                         
                           ∂ 
                           
                             u 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                       
                       · 
                       
                         
                           ∂ 
                           
                             u 
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                         
                           ∂ 
                           
                             W 
                             a 
                           
                         
                       
                     
                   
                   , 
                   and 
                 
               
               
                 
                   ( 
                   7 
                   ) 
                 
               
             
             
               
                 
                   
                     
                       W 
                       a 
                     
                      
                     
                       ( 
                       
                         t 
                         + 
                         1 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         W 
                         a 
                       
                        
                       
                         ( 
                         t 
                         ) 
                       
                     
                     + 
                     
                       Δ 
                        
                       
                         
                           
                             W 
                             a 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         . 
                       
                     
                   
                 
               
               
                 
                   ( 
                   8 
                   ) 
                 
               
             
           
         
       
     
     In formula (7) and formula (8), W a  denotes the weight matrix of the execution network, ΔW a (t) denotes a weight change value of the execution network from moment t to moment t+1, J(t) denotes a cost function at moment t, u(t) denotes output of the execution network at moment t, and η(η&gt;0) denotes the learning rate. 
     In this embodiment, the evaluation network may be trained by using the gradient descent method. A process of updating the weight of the evaluation network may include the following: 
     (1) Update the weight matrix W c2  from the hidden layer to the output layer, which can be expressed by the following formula: 
     In formula (9), 
     
       
         
           
             
               
                 
                   
                     
                       W 
                       
                         c 
                          
                         2 
                       
                     
                      
                     
                       ( 
                       
                         t 
                         + 
                         1 
                       
                       ) 
                     
                   
                   = 
                   
                     
                       
                         
                           W 
                           
                             c 
                              
                             2 
                           
                         
                          
                         
                           ( 
                           t 
                           ) 
                         
                       
                       + 
                       
                         
                           
                             
                               ΔW 
                               
                                 c 
                                  
                                 2 
                               
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                           . 
                           
                             
 
                           
                            
                           Δ 
                         
                          
                         
                           
                             W 
                             
                               c 
                                
                               
                                   
                               
                                
                               2 
                                
                               j 
                             
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                       
                     
                     = 
                     
                       
                         
                           l 
                           c 
                         
                          
                         
                           [ 
                           
                             - 
                             
                               
                                 ∂ 
                                 
                                   
                                     E 
                                     c 
                                   
                                    
                                   
                                     ( 
                                     t 
                                     ) 
                                   
                                 
                               
                               
                                 ∂ 
                                 
                                   
                                     W 
                                     
                                       c 
                                        
                                       
                                           
                                       
                                        
                                       2 
                                        
                                       j 
                                     
                                   
                                    
                                   
                                     ( 
                                     t 
                                     ) 
                                   
                                 
                               
                             
                           
                           ] 
                         
                       
                       = 
                       
                         
                           - 
                           
                             l 
                             c 
                           
                         
                         · 
                         
                           
                             e 
                             c 
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         · 
                         
                           
                             
                               C 
                               
                                 h 
                                  
                                 
                                     
                                 
                                  
                                 2 
                                  
                                 j 
                               
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                           . 
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   9 
                   ) 
                 
               
             
           
         
       
     
     (2) Update the weight matrix W c1  from the input layer to the hidden layer, which can be expressed by the following formula: 
     In formula (10). 
     
       
         
           
             
               
                 
                   
                       
                   
                    
                   
                     
                       
                         W 
                         
                           c 
                            
                           1 
                         
                       
                        
                       
                         ( 
                         
                           t 
                           + 
                           1 
                         
                         ) 
                       
                     
                     = 
                     
                       
                         
                           
                             W 
                             
                               c 
                                
                               2 
                             
                           
                            
                           
                             ( 
                             t 
                             ) 
                           
                         
                         + 
                         
                           Δ 
                            
                           
                             
                               
                                 W 
                                 
                                   c 
                                    
                                   
                                       
                                   
                                    
                                   1 
                                 
                               
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                             . 
                             
                               
 
                             
                              
                             Δ 
                           
                            
                           
                             
                               W 
                               
                                 c 
                                  
                                 
                                     
                                 
                                  
                                 1 
                                  
                                 j 
                               
                             
                              
                             
                               ( 
                               t 
                               ) 
                             
                           
                         
                       
                       = 
                       
                         
                           
                             l 
                             c 
                           
                            
                           
                             [ 
                             
                               - 
                               
                                 
                                   ∂ 
                                   
                                     
                                       E 
                                       c 
                                     
                                      
                                     
                                       ( 
                                       t 
                                       ) 
                                     
                                   
                                 
                                 
                                   ∂ 
                                   
                                     W 
                                     
                                       c 
                                        
                                       
                                           
                                       
                                        
                                       1 
                                        
                                       
                                         j 
                                          
                                         
                                           ( 
                                           t 
                                           ) 
                                         
                                       
                                     
                                   
                                 
                               
                             
                             ] 
                           
                         
                         = 
                         
                           
                             - 
                             
                               1 
                               2 
                             
                           
                            
                           
                             
                               l 
                               c 
                             
                             · 
                             
                               
                                 e 
                                 c 
                               
                                
                               
                                 ( 
                                 t 
                                 ) 
                               
                             
                             · 
                             
                               
                                 
                                   W 
                                   
                                     h 
                                      
                                     
                                         
                                     
                                      
                                     2 
                                      
                                     j 
                                   
                                 
                                  
                                 
                                   ( 
                                   t 
                                   ) 
                                 
                               
                                
                               
                                 [ 
                                 
                                   1 
                                   - 
                                   
                                     
                                       C 
                                       
                                         h 
                                          
                                         
                                             
                                         
                                          
                                         2 
                                          
                                         j 
                                       
                                       2 
                                     
                                      
                                     
                                       ( 
                                       t 
                                       ) 
                                     
                                   
                                 
                                 ] 
                               
                             
                             · 
                             
                               
                                 inputC 
                                  
                                 
                                   ( 
                                   k 
                                   ) 
                                 
                               
                               . 
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   10 
                   ) 
                 
               
             
           
         
       
     
     The foregoing describes in detail the method for dual-motor control on an electric vehicle based on adaptive dynamic programming provided in the present disclosure. Several examples are used for illustration of the principles and implementation methods of the present disclosure. The description of the embodiments is used to help understand core principles of the present disclosure. It should be noted that, several improvements and modifications may be made by a person of ordinary skill in the art without departing from the principle of the present disclosure, and these improvements and modifications shall fall within the protection scope of the present disclosure.