CN111898726A - Parameter optimization method for electric vehicle control system, computer equipment and storage medium - Google Patents

Parameter optimization method for electric vehicle control system, computer equipment and storage medium Download PDF

Info

Publication number
CN111898726A
CN111898726A CN202010752788.7A CN202010752788A CN111898726A CN 111898726 A CN111898726 A CN 111898726A CN 202010752788 A CN202010752788 A CN 202010752788A CN 111898726 A CN111898726 A CN 111898726A
Authority
CN
China
Prior art keywords
bee
control system
electric vehicle
vehicle control
bees
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010752788.7A
Other languages
Chinese (zh)
Other versions
CN111898726B (en
Inventor
边琦
马建
赵轩
张梦寒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changan University
Original Assignee
Changan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changan University filed Critical Changan University
Priority to CN202010752788.7A priority Critical patent/CN111898726B/en
Publication of CN111898726A publication Critical patent/CN111898726A/en
Application granted granted Critical
Publication of CN111898726B publication Critical patent/CN111898726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/15Vehicle, aircraft or watercraft design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Geometry (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Evolutionary Computation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Computing Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention discloses a parameter optimization method for an electric vehicle control system, computer equipment and a storage medium. The invention comprises the following steps: 1) defining an initial bee colony, and constructing a dynamic evaluation index function 2) of an electric vehicle control system for optimizing to obtain bee fitness; 3) arranging bees in an ascending order according to fitness, and setting a plurality of bees before arrangement as detection bees and the rest as follower bees; 4) updating the positions of the two; in the position updating process, dynamically adjusting the optimizing area of the bees by adopting a self-adaptive search strategy, checking whether the maximum allowable optimizing step number is reached, and if the maximum allowable optimizing step number is not reached, returning to step 2); otherwise, go to 5); 5) and finding out the bee with the minimum fitness in the current population, wherein the value corresponding to each dimension of the bee is the parameter value of the optimized electric vehicle control system. The method solves the problems of complex parameter optimization modeling and large calculation amount of the electric automobile control system.

Description

Parameter optimization method for electric vehicle control system, computer equipment and storage medium
Technical Field
The invention belongs to the field of parameter optimization of automobile control systems, and particularly relates to a parameter optimization method of an electric automobile control system, computer equipment and a storage medium.
Background
The electric automobile control system is a complex multi-input multi-output time-varying nonlinear system, and can be used for ensuring the stability and the maneuverability of an electric automobile, improving the task completion capability and the smoothness of the automobile, enhancing the safety of the automobile and reducing the burden of a driver. The design of control parameters of an electric vehicle control system becomes the most direct and important key link for ensuring the driving safety of the electric vehicle. Many engineers are faced with the parameter design and adjustment problem of complex system with internal implicit relationship in the actual design process of electric vehicle control system. Although the design of the control system can be performed by means of small-disturbance linearized equations, strong coupling often exists between the input quantities of the linearized equations, and no obvious mapping relation exists between the desired performance index and the controller parameters, which brings great difficulty to the selection of the controller parameters.
Under the general condition, when the traditional classical optimization method is applied to carry out parameter optimization on the electric automobile control system, the comprehensive consideration of the system pre-constraint is difficult to achieve. In the existing methods applying linear programming and quadratic programming, when system parameter optimization is performed by the methods, clear mathematical definition and structured design are required for an electric vehicle control system, however, final optimization results may be deteriorated due to uncertainty of a model in an actual operation process. In addition, methods using integer programming and hybrid programming need to consider the internal relation and possible coupling relation among parameters of the electric vehicle control system, so that a lot of time is consumed to take account of and balance the influence of each adjusted parameter on the multi-aspect performance of the system, and the process is time-consuming and labor-consuming. How to realize the rapid and accurate design of the parameters of the control system of the electric automobile according to the preset requirements under the condition of saving manpower and physical force as much as possible is a problem to be solved urgently at present.
The bee colony algorithm is an optimization method provided by simulating bee foraging behavior, is a specific application of a colony intelligent idea, and is mainly characterized in that special information of parameter optimization problems of an electric vehicle control system is not needed to be known, a plurality of design targets such as system overshoot, steady-state error, adjusting time and the like are only needed to be converted into a single optimization target in a weighted algebraic summation mode, and finally, a global optimum value is highlighted in a colony through local optimization behavior of each individual bee, so that the convergence speed is high. Each bee updates the position of the bee in the iterative calculation process of each step, and searches the optimal solution which possibly exists on the path in the moving process. Each iteration is the updating of the self state of the individual and is also the process of information interaction between the whole populations and gradual convergence to the global optimum. Because the prior knowledge is hardly needed for the problem to be processed and the preset condition is hardly provided, the bee colony algorithm is widely applied to the field of parameter optimization of a large class of control systems. However, in the process of performing parameter optimization on the electric vehicle control system by applying the swarm algorithm at present, the algorithm may fall into local optimization due to insufficient search of the target problem solution space, so that a global optimal solution cannot be finally obtained, and also may have a problem of slow later convergence speed due to an excessively large search range of the target problem solution space, which all affect the effect of performing parameter optimization on the electric vehicle control system by applying the swarm algorithm to a certain extent, thereby affecting the performance of the system.
Disclosure of Invention
The invention aims to overcome the defects that the parameter optimization of an electric vehicle control system by a swarm algorithm is easy to fall into local optimization or the convergence speed is low, and provides a parameter optimization method of the electric vehicle control system, computer equipment and a storage medium.
In order to achieve the purpose, the invention adopts the following technical scheme to realize the purpose:
an electric vehicle control system parameter optimization method based on an improved bee colony algorithm comprises the following steps:
1) defining an initial bee colony, and constructing a dynamic evaluation index function of an electric vehicle control system;
2) optimizing the parameters of the electric vehicle control system by using the bee colony, and calculating by using a dynamic evaluation index function to obtain the fitness corresponding to each bee individual in the bee colony;
3) arranging the bee colony individuals according to the fitness of the bee colony individuals in an ascending order, and setting a plurality of former bees in the arrangement as detection bees and the rest bees as follower bees;
4) carrying out scout bee position updating and follower bee position updating;
in the position updating process, adjusting the optimizing area of the bee individuals after each step of searching by adopting a self-adaptive searching strategy, judging whether the maximum allowable optimizing step number is reached, and if the maximum allowable optimizing step number is not reached, returning to the step 2);
otherwise, go to step 5);
5) and finding out the bee individual with the minimum fitness in the current population, wherein the value corresponding to each dimension of the bee individual is the parameter value of the electric vehicle control system obtained through final optimization.
Further, the specific process of step 1) is as follows:
defining the dimension of the initial bee colony as NxD dimension, wherein N represents the total number of the bee colony, D represents the total number of parameters to be optimized of the electric vehicle control system stored by the individual bee, and the D (D is 1,2, …, D) dimension element B of the nth (N is 1,2, …, N) been,dGiven by the following equation:
Bn,d=<x1,x2,…,xn>⊕<y1,y2,…,yd>
wherein < x >1,x2,…,xn>Is represented by x1,x2,…,xnA binary number of the composition;<y1,y2,…,yd>is represented by y1,y2,…,ydA binary number of the composition; x is the number ofi(i ═ 1.. times, n) is the ith bit in the binary representation of a positive integer X, X satisfying the condition: 2X>N;yi(i 1.., d) is the ith bit in the binary expression of another positive integer Y coprime to X, Y satisfying: 2Y>D; ≧ is XOR operator; b isn,dRepresents the nth bee pairThe d-th parameter requiring optimization of the electric vehicle control system is estimated.
Further, the step 1) of constructing a dynamic evaluation index function of the electric vehicle control system specifically comprises:
J=ω1∫dt+ω2σ+ω3γ+ω4κ
wherein, sigma, gamma and kappa are four evaluation indexes of the performance of the control system of the electric automobile, namely tracking error, overshoot percentage, rise time and establishment time; omega1、ω2、ω3、ω4The weight coefficients are respectively corresponding to the four evaluation indexes; and t is the test time of the system.
Further, the optimizing process in the step 2) is as follows:
when the optimization is started, presetting an initial value of a weight coefficient:
Figure BDA0002610576730000041
in the process of optimizing, first, a first weight coefficient omega is given1Assigning values such that:
Figure BDA0002610576730000042
ω2=ω3=ω4=0;
giving a second weight coefficient omega when a preset condition is satisfied2Assigning values such that:
Figure BDA0002610576730000043
ω3=ω4=0;
giving a third weight coefficient ω when the sum σ satisfies a preset condition3Assigning values such that:
Figure BDA0002610576730000044
Figure BDA0002610576730000045
ω4=0;
giving a fourth weight coefficient when σ and γ satisfy a preset conditionω4Assigning values such that:
Figure BDA0002610576730000046
Figure BDA0002610576730000047
and then, for each bee B, calculating the corresponding J value, namely the fitness of the bee B.
Further, the process of updating the scout bee position in the step 4) comprises the following steps:
nth scout bee BnThe j-th movement of (a) is performed in the following manner:
Bn(j)=Bn(j-1)+λn(j)Δn(j)
Figure BDA0002610576730000048
wherein λ isnIs BnStep size of movement of, ΔnIs BnDirection of movement of, omega0For the inertial weight to set the contribution of the first two steps of movement distance to the next step,
Figure BDA0002610576730000049
the geometric center, mu, of all the detected bee colonies at the (j-1) th step1U (0,1) and
Figure BDA00026105767300000410
are random variables with a uniform distribution.
Further, the process of updating the location of the follower bees in the step 4) is as follows:
m th follower bee BmThe j-th movement of (a) is performed in the following manner:
Bm(j)=Bm(j-1)+λm(j)Δm(j)
Figure BDA0002610576730000051
wherein λ ismIs BmStep size of movement of, ΔmIs BmDirection of movement of, omega0For the inertial weight to set the contribution of the first two step movement distance to the next step, BnmIs a distance BmNearest nth scout bee, mu3U (0,1) and
Figure BDA0002610576730000052
are random variables with a uniform distribution.
Further, the step 4) of dynamically adjusting the optimizing area of the bee by adopting a self-adaptive search strategy specifically comprises the following steps:
for nth bee Bn(N-1, …, N) after the j-th search is completed, the following adaptive search strategy is adopted to dynamically adjust its optimization area:
Figure BDA0002610576730000053
wherein,
Figure BDA0002610576730000054
and
Figure BDA0002610576730000055
respectively represent BnAt the upper and lower bounds of the j-th search,
Figure BDA0002610576730000056
is the geometric center of the whole bee colony in the j-1 step, | | | | represents the European distance, mu, is obtained5U (0,1) is a random variable with a uniform distribution.
A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for optimizing parameters of an electric vehicle control system based on an improved bee colony algorithm when executing the computer program.
A computer-readable storage medium, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the above method for optimizing parameters of an electric vehicle control system based on an improved bee colony algorithm.
Compared with the prior art, the invention has the following beneficial effects:
a parameter optimization method of an electric vehicle control system based on an improved bee colony algorithm is characterized in that a bee colony with low diversity factor is adopted to carry out self-adaptive search on a solution space, an optimization area of each bee is dynamically adjusted in the search process, and the global and local optimization capacities of the algorithm are considered, so that the algorithm can be prevented from falling into local optimization in the search process, the convergence speed of the algorithm can be ensured, and the overall optimal solution can be more quickly approached; the method solves the problems of complex modeling and large calculation amount in the parameter optimization process of the electric vehicle control system, and can quickly and accurately optimize the parameters of the electric vehicle control system; compared with the traditional linear programming method, the electric vehicle control system optimized by the optimization method provided by the invention has the advantages that the system has better stability and the lateral offset error is rapidly reduced when the double-shift-line task is completed.
Further, the inventive definition of the bee colony enables the generated bee colony to be distributed in the solution space as uniformly as possible, and the generated bee sequences have low diversity.
The invention provides computer equipment and a storage medium of an electric vehicle control system parameter optimization method based on an improved bee colony algorithm, which are used for realizing the specific steps of the optimization method.
Drawings
FIG. 1 is a schematic structural diagram of an electric vehicle control system;
FIG. 2 is a flow chart of the parameter optimization based on the improved bee colony algorithm of the present invention;
FIG. 3 is a diagram illustrating the yaw angle of an electric vehicle control system optimized by applying the linear programming method and the method of the present invention in a double-shift line condition;
FIG. 4 is a chart illustrating the yaw rate of the electric vehicle control system optimized using the linear programming method and the method of the present invention in a double-traverse mode;
FIG. 5 is a diagram illustrating the centroid slip angle of the electric vehicle control system optimized by the linear programming method and the method of the present invention under the double-shift condition;
FIG. 6 is a side overload of an electric vehicle control system optimized using the linear programming method and the method of the present invention in a double-traverse mode;
FIG. 7 is a graph illustrating lateral offset error of an electric vehicle control system optimized by applying the linear programming method and the method of the present invention in a double-shift line condition;
FIG. 8 is a schematic diagram of a computer device in an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention is described in further detail below with reference to the accompanying drawings:
referring to fig. 1, fig. 1 shows a junction of a control system of an electric vehicleThe control system is constructed as a schematic diagram, and the control system passes 5 state parameters during the running process of the vehicle, namely a yaw angle phi and a lateral overload nyFeedback of the lateral offset y, the centroid lateral offset angle beta, and the yaw rate r to generate the desired yaw moment input and steering wheel angle input, phicAnd ycRespectively, command signals for yaw angle and lateral offset. Controlling gain k in each feedback channel1~k8I.e. the parameters that need to be optimized for the target system.
Fig. 2 shows a flow chart of a parameter optimization method for an electric vehicle control system based on an improved bee colony algorithm, which is directed to 8 parameters k to be optimized of the electric vehicle control system in fig. 11~k8Defining the dimension of the initial bee colony as NxD dimension, wherein N-100 represents the total number of the bee colony, D-8 represents the total number of parameters to be optimized of the electric vehicle control system stored in each bee individual, and the maximum allowable optimization step number of the algorithm is 500 steps;
in order to distribute the generated bee colony as uniformly as possible in the solution space, a bee sequence with a low degree of diversity is generated by using a method in which the D (D) th dimension element B of the nth (N-1, 2, …, N) th bee is 1,2, …, Dn,dGiven by the following equation:
Bn,d=<x1,x2,…,xn>⊕<y1,y2,…,yd>
wherein,<x1,x2,…,xn>is represented by x1,x2,…,xnThe number of binary digits that are formed,<y1,y2,…,yd>is represented by y1,y2,…,ydFormed binary number, xi(i 1.., n) is the ith bit in a binary representation of a positive integer X, where X is chosen to satisfy the condition: 2X>N,yi(i 1.. d) is the ith bit in a binary expression of another positive integer Y coprime to X, where Y is chosen to satisfy the condition: 2Y>D; ≧ is XOR operator; b isn,dRepresenting the estimated value of the nth bee to the parameter needing to be optimized of the electric vehicle control system;
step 2: constructing a dynamic evaluation index function J of the electric vehicle control system as follows:
J=ω1∫dt+ω2σ+ω3γ+ω4κ
wherein, sigma, gamma and kappa are four evaluation indexes of the performance of the control system of the electric automobile respectively: tracking error, overshoot percentage, rise time and settling time; omega1、ω2、ω3、ω4The weight coefficients are respectively corresponding to the four evaluation indexes; t is the test time of the system;
when the parameters of the electric automobile control system are optimized, presetting an initial value of a weight coefficient:
Figure BDA0002610576730000081
Figure BDA0002610576730000082
in the process of algorithm optimization, a first weight coefficient omega is given first1Assigning values such that:
Figure BDA0002610576730000083
ω2=ω3ω 40; giving a second weight coefficient omega when a preset condition is satisfied2Assigning values such that:
Figure BDA0002610576730000091
Figure BDA0002610576730000092
ω3ω 40; giving a third weight coefficient ω when the sum σ satisfies a preset condition3Assigning values such that:
Figure BDA0002610576730000093
ω 40; giving the fourth weight coefficient ω when σ and γ satisfy the preset condition4Assigning values such that:
Figure BDA0002610576730000094
then, for each bee B, calculating the corresponding J value, namely the fitness of the bee B;
and step 3: arranging individuals of the whole population in an ascending order according to the corresponding J values, and setting the first 10% of bees as detection bees and the last 90% of bees as follower bees; during the search, the nth scout bee
Figure BDA0002610576730000095
The j-th motion of (1) is performed as follows:
Bn(j)=Bn(j-1)+λn(j)Δn(j)
Figure BDA0002610576730000096
wherein λ isnIs BnStep size of movement of, ΔnIs BnDirection of movement of, omega0For the inertial weight to set the contribution of the first two steps of movement distance to the next step,
Figure BDA0002610576730000097
the geometric center, mu, of all the detected bee colonies at the step j-11U (0,1) and
Figure BDA0002610576730000098
random variables with uniform distribution;
the mth follower bee
Figure BDA0002610576730000099
The j-th motion of (1) is performed as follows:
Bm(j)=Bm(j-1)+λm(j)Δm(j)
Figure BDA00026105767300000910
wherein λ ismIs BmStep size of movement of, ΔmIs BmDirection of movement of, omega0For setting inertial weightContribution of the first two movement distances to the next step, BnmIs a distance BmNearest nth scout bee, mu3U (0,1) and
Figure BDA00026105767300000911
random variables with uniform distribution;
and 4, step 4: in order to take account of the global and local optimization abilities of the algorithm, the nth bee Bn(N-1, …, N) at step j, the following adaptive search strategy will be used to dynamically adjust its seek area:
Figure BDA0002610576730000101
wherein,
Figure BDA0002610576730000102
and
Figure BDA0002610576730000103
respectively represent BnAt the upper and lower bounds of the j-th search,
Figure BDA0002610576730000104
is the geometric center of the whole bee colony in the j-1 step, | | | | represents the European distance, mu, is obtained5U (0,1) is a random variable with a uniform distribution;
and 5: after the search in the jth step is finished, checking whether J reaches the maximum allowable optimization step number, if not, returning to the step 2 to continue the optimization, otherwise, stopping the calculation, and finding out the bee individual B with the minimum J value in the current populationminThe value (B) corresponding to each dimension of the beemin,1,Bmin,2,…,Bmin,D) Namely, the parameter values of the electric vehicle control system obtained by final optimization.
Testing and verifying by using data obtained under Simulink simulation environment:
examples
8 final optimization parameters k of the electric vehicle control system obtained by the method1~k8=[2.43780.0080-0.0377-45.6130-83.0195-3.511751.5439-0.1968]And carrying out double-wire-shifting working condition test.
The parameters of the electric vehicle control system are optimized by using a traditional linear programming method and the improved bee colony algorithm provided by the invention, and then the optimized system is subjected to a double-shift-line working condition test, wherein the test time is 10 seconds. Compared with the 5 state parameters of the system optimized by the two methods, namely the yaw angle, the yaw rate, the mass center side deviation angle, the lateral overload and the lateral offset error, referring to fig. 3-7, it can be seen from fig. 3-6 that compared with the traditional linear programming method, the control system optimized by applying the method of the invention can enable the electric automobile to have smaller variation ranges of the yaw angle, the yaw rate, the mass center side deviation angle and the lateral overload under the condition of double-line-shifting work, and improve the stability of the system; it can be seen from fig. 7 that the method of the present invention can rapidly reduce the lateral offset error to zero in the driving process of the electric vehicle, and improve the rapidity of the vehicle for command tracking. Therefore, the working state in the double-shift line condition can be seen as follows: compared with the traditional linear programming method, the electric vehicle control system optimized by the method disclosed by the invention has better stability and quickly reduced lateral offset error when the double-shift-line task is completed.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 8. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The computer program is executed by a processor to implement a method for optimizing parameters of an electric vehicle control system based on an improved bee colony algorithm.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: 1) defining an initial bee colony, and constructing a dynamic evaluation index function of an electric vehicle control system;
2) optimizing the parameters of the electric vehicle control system by using the bee colony, and calculating by using a dynamic evaluation index function to obtain the fitness corresponding to each bee individual in the bee colony;
3) arranging the bee colony individuals according to the fitness of the bee colony individuals in an ascending order, and setting a plurality of former bees in the arrangement as detection bees and the rest bees as follower bees;
4) carrying out scout bee position updating and follower bee position updating;
in the position updating process, adjusting the optimizing area of the bee individuals after each step of searching by adopting a self-adaptive searching strategy, judging whether the maximum allowable optimizing step number is reached, and if the maximum allowable optimizing step number is not reached, returning to the step 2);
otherwise, go to step 5);
5) and finding out the bee individual with the minimum fitness in the current population, wherein the value corresponding to each dimension of the bee individual is the parameter value of the electric vehicle control system obtained through final optimization.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: 1) defining an initial bee colony, and constructing a dynamic evaluation index function of an electric vehicle control system;
2) optimizing the parameters of the electric vehicle control system by using the bee colony, and calculating by using a dynamic evaluation index function to obtain the fitness corresponding to each bee individual in the bee colony;
3) arranging the bee colony individuals according to the fitness of the bee colony individuals in an ascending order, and setting a plurality of former bees in the arrangement as detection bees and the rest bees as follower bees;
4) carrying out scout bee position updating and follower bee position updating;
in the position updating process, adjusting the optimizing area of the bee individuals after each step of searching by adopting a self-adaptive searching strategy, judging whether the maximum allowable optimizing step number is reached, and if the maximum allowable optimizing step number is not reached, returning to the step 2);
otherwise, go to step 5);
5) and finding out the bee individual with the minimum fitness in the current population, wherein the value corresponding to each dimension of the bee individual is the parameter value of the electric vehicle control system obtained through final optimization.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above-mentioned contents are only for illustrating the technical idea of the present invention, and the protection scope of the present invention is not limited thereby, and any modification made on the basis of the technical idea of the present invention falls within the protection scope of the claims of the present invention.

Claims (9)

1. An electric vehicle control system parameter optimization method based on an improved bee colony algorithm is characterized by comprising the following steps:
1) defining an initial bee colony, and constructing a dynamic evaluation index function of an electric vehicle control system;
2) optimizing the parameters of the electric vehicle control system by using the bee colony, and calculating by using a dynamic evaluation index function to obtain the fitness corresponding to each bee individual in the bee colony;
3) arranging the bee colony individuals according to the fitness of the bee colony individuals in an ascending order, and setting a plurality of former bees in the arrangement as detection bees and the rest bees as follower bees;
4) carrying out scout bee position updating and follower bee position updating;
in the position updating process, adjusting the optimizing area of the bee individuals after each step of searching by adopting a self-adaptive searching strategy, judging whether the maximum allowable optimizing step number is reached, and if the maximum allowable optimizing step number is not reached, returning to the step 2);
otherwise, go to step 5);
5) and finding out the bee individual with the minimum fitness in the current population, wherein the value corresponding to each dimension of the bee individual is the parameter value of the electric vehicle control system obtained through final optimization.
2. The improved bee colony algorithm-based parameter optimization method for the electric vehicle control system according to claim 1, wherein the specific process of the step 1) is as follows:
defining the dimension of the initial bee colony as NxD dimension, wherein N represents the total number of the bee colony, D represents the total number of parameters to be optimized of the electric vehicle control system stored by the individual bee, and the D (D is 1,2, …, D) dimension element B of the nth (N is 1,2, …, N) been,dGiven by the following equation:
Figure FDA0002610576720000011
wherein,<x1,x2,…,xn>is represented by x1,x2,…,xnA binary number of the composition;<y1,y2,…,yd>is represented by y1,y2,…,ydA binary number of the composition; x is the number ofi(i ═ 1.. times, n) is the ith bit in the binary representation of a positive integer X, X satisfying the condition: 2X>N;yi(i 1.., d) is the ith bit in the binary expression of another positive integer Y coprime to X, Y satisfying: 2Y>D;
Figure FDA0002610576720000021
Is an XOR operator; b isn,dRepresents the estimated value of the nth bee to the d-th parameter needing to be optimized of the electric vehicle control system.
3. The parameter optimization method for the electric vehicle control system based on the improved bee colony algorithm according to claim 2, wherein the step 1) of constructing the dynamic evaluation index function of the electric vehicle control system specifically comprises the following steps:
J=ω1∫dt+ω2σ+ω3γ+ω4κ
wherein, sigma, gamma and kappa are four evaluation indexes of the performance of the control system of the electric automobile, namely tracking error, overshoot percentage, rise time and establishment time; omega1、ω2、ω3、ω4The weight coefficients are respectively corresponding to the four evaluation indexes; and t is the test time of the system.
4. The improved bee colony algorithm-based parameter optimization method for the electric vehicle control system according to claim 3, wherein the optimization process in the step 2) is as follows:
when the optimization is started, presetting an initial value of a weight coefficient:
Figure FDA0002610576720000022
in the process of optimizing, first, a first weight coefficient omega is given1Assigning values such that:
Figure FDA0002610576720000023
ω2=ω3=ω4=0;
giving a second weight coefficient omega when a preset condition is satisfied2Assigning values such that:
Figure FDA0002610576720000024
ω3=ω4=0;
giving a third weight coefficient ω when the sum σ satisfies a preset condition3Assigning values such that:
Figure FDA0002610576720000025
Figure FDA0002610576720000026
ω4=0;
giving the fourth weight coefficient ω when σ and γ satisfy the preset condition4Assigning values such that:
Figure FDA0002610576720000027
Figure FDA0002610576720000028
and then, for each bee B, calculating the corresponding J value, namely the fitness of the bee B.
5. The improved bee colony algorithm-based parameter optimization method for the electric vehicle control system according to claim 4, wherein the scout bee position updating process in the step 4) comprises the following steps:
nth scout bee BnThe j-th movement of (a) is performed in the following manner:
Bn(j)=Bn(j-1)+λn(j)Δn(j)
Figure FDA0002610576720000031
wherein λ isnIs BnStep size of movement of, ΔnIs BnDirection of movement of, omega0For the inertial weight to set the contribution of the first two steps of movement distance to the next step,
Figure FDA0002610576720000032
the geometric center, mu, of all the detected bee colonies at the (j-1) th step1U (0,1) and
Figure FDA0002610576720000033
are random variables with a uniform distribution.
6. The improved bee colony algorithm-based parameter optimization method for the electric vehicle control system according to claim 5, wherein the process of updating the position of the follower bees in the step 4) is as follows:
m th follower bee BmThe j-th movement of (a) is performed in the following manner:
Bm(j)=Bm(j-1)+λm(j)Δm(j)
Figure FDA0002610576720000034
wherein λ ismIs BmStep size of movement of, ΔmIs BmDirection of movement of, omega0For the inertial weight to set the contribution of the first two step movement distance to the next step, BnmIs a distance BmNearest nth scout bee, mu3U (0,1) and
Figure FDA0002610576720000035
are random variables with a uniform distribution.
7. The improved bee colony algorithm-based parameter optimization method for the electric vehicle control system as claimed in claim 4, wherein the step 4) of dynamically adjusting the optimization area of the bees by using the adaptive search strategy specifically comprises:
for nth bee Bn(N-1, …, N) after the j-th search is completed, the following adaptive search strategy is adopted to dynamically adjust its optimization area:
Figure FDA0002610576720000036
wherein,
Figure FDA0002610576720000041
and
Figure FDA0002610576720000042
respectively represent BnAt the upper and lower bounds of the j-th search,
Figure FDA0002610576720000043
is the geometric center of the whole bee colony in the j-1 step, | | | | represents the European distance, mu, is obtained5U (0,1) is a random variable with a uniform distribution.
8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor when executing the computer program implements the steps of the improved bee colony algorithm based parameter optimization method for an electric vehicle control system according to any one of claims 1-7.
9. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the improved bee colony algorithm-based parameter optimization method for an electric vehicle control system according to any one of claims 1 to 7.
CN202010752788.7A 2020-07-30 2020-07-30 Parameter optimization method, equipment and storage medium for electric automobile control system Active CN111898726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010752788.7A CN111898726B (en) 2020-07-30 2020-07-30 Parameter optimization method, equipment and storage medium for electric automobile control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010752788.7A CN111898726B (en) 2020-07-30 2020-07-30 Parameter optimization method, equipment and storage medium for electric automobile control system

Publications (2)

Publication Number Publication Date
CN111898726A true CN111898726A (en) 2020-11-06
CN111898726B CN111898726B (en) 2024-01-26

Family

ID=73182594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010752788.7A Active CN111898726B (en) 2020-07-30 2020-07-30 Parameter optimization method, equipment and storage medium for electric automobile control system

Country Status (1)

Country Link
CN (1) CN111898726B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116646568A (en) * 2023-06-02 2023-08-25 陕西旭氢时代科技有限公司 Fuel cell stack parameter optimizing method based on meta heuristic

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005285090A (en) * 2003-12-24 2005-10-13 Yamaha Motor Co Ltd Multiobjective optimization apparatus, method, and program
CN106875050A (en) * 2017-04-01 2017-06-20 哈尔滨工业大学 A kind of Engineering constraint parameter optimization method based on improvement chaos ant colony algorithm
WO2017197626A1 (en) * 2016-05-19 2017-11-23 江南大学 Extreme learning machine method for improving artificial bee colony optimization
CN108491670A (en) * 2018-04-17 2018-09-04 常熟理工学院 A kind of parameter matching of electronic logistic car driving motor and optimization method
CN111123112A (en) * 2020-01-10 2020-05-08 南昌大学 Lithium ion battery model parameter identification method based on artificial bee colony algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005285090A (en) * 2003-12-24 2005-10-13 Yamaha Motor Co Ltd Multiobjective optimization apparatus, method, and program
WO2017197626A1 (en) * 2016-05-19 2017-11-23 江南大学 Extreme learning machine method for improving artificial bee colony optimization
CN106875050A (en) * 2017-04-01 2017-06-20 哈尔滨工业大学 A kind of Engineering constraint parameter optimization method based on improvement chaos ant colony algorithm
CN108491670A (en) * 2018-04-17 2018-09-04 常熟理工学院 A kind of parameter matching of electronic logistic car driving motor and optimization method
CN111123112A (en) * 2020-01-10 2020-05-08 南昌大学 Lithium ion battery model parameter identification method based on artificial bee colony algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宋晓琳;任祥喜;: "基于改进人工蜂群算法的复合电源电动车FSM-Fuzzy能量管理策略", 现代制造工程, no. 03 *
宋月振;裴腾达;裴炳南;: "基于中心解的改进人工蜂群算法", 计算机应用, no. 04 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116646568A (en) * 2023-06-02 2023-08-25 陕西旭氢时代科技有限公司 Fuel cell stack parameter optimizing method based on meta heuristic
CN116646568B (en) * 2023-06-02 2024-02-02 陕西旭氢时代科技有限公司 Fuel cell stack parameter optimizing method based on meta heuristic

Also Published As

Publication number Publication date
CN111898726B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CN111898206B (en) Parameter optimization method based on improved genetic algorithm, computer equipment and storage medium
CN110647042B (en) Robot robust learning prediction control method based on data driving
Shi et al. Robust design of integrated feedback and iterative learning control of a batch process based on a 2D Roesser system
CN108287471B (en) Parameter self-tuning method of MIMO offset format model-free controller based on system error
CN111158349B (en) Unmanned vehicle model prediction control method based on multi-step linearization strategy
CN114839880B (en) Self-adaptive control method based on flexible joint mechanical arm
CN103324093B (en) A kind of multi-model Adaptive Control system and control method thereof
CN108170029B (en) Parameter self-tuning method of MIMO full-format model-free controller based on partial derivative information
CN109713688B (en) Large power grid static voltage stabilization online prevention control method and system
CN111898726A (en) Parameter optimization method for electric vehicle control system, computer equipment and storage medium
CN116661307A (en) Nonlinear system actuator fault PPB-SIADP fault-tolerant control method
Fu et al. Adaptive optimal control of unknown nonlinear systems with different time scales
CN112799297B (en) Temperature prediction control method, system, equipment and readable storage medium
CN111624872B (en) PID controller parameter setting method and system based on adaptive dynamic programming
CN108287470A (en) Inclined methods of self-tuning of the format Non-Model Controller based on local derviation information of MIMO
Wang et al. Intelligent chaos synchronization of fractional order systems via mean-based slide mode controller
CN108154231B (en) System error-based parameter self-tuning method for MISO full-format model-free controller
CN113759724B (en) Robot control method and device based on data driving and computer equipment
CN113534669B (en) Unmanned vehicle control method and device based on data driving and computer equipment
Sieberg et al. Representation of an Integrated Non-Linear Model-Based Predictive Vehicle Dynamics Control System by a Co-Active Neuro-Fuzzy Inference System
CN114721272A (en) Trajectory tracking control method, apparatus, device and computer readable storage medium
ALYOUSSEF et al. Novel Tuning Rules for Adjusting the Parameters of the PI-PD Controller for Controlling Unstable Processes
CN108107715B (en) Parameter self-tuning method of MISO full-format model-free controller based on partial derivative information
Zhao et al. Finite-horizon optimal control design for uncertain linear discrete-time systems
Jiang et al. Approximated Long Horizon MPC with Hindsight for Autonomous Vehicles Path Tracking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant