A charging pile charging control system and device combined with multi-objective particle swarm algorithm
By combining multi-objective particle swarm algorithm and NB-IoT technology, the charging pile control system solves the problem of grid overload during charging peak periods, realizes the optimization of charging strategies and grid stability, reduces user charging costs, and avoids local peaks. The introduction of Youjie meets the charging needs of electric vehicles.
Patent Information
- Application Number
- CN202410103398.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-01-25
AI Technical Summary
The existing grid overload problem during charging peak periods is difficult to effectively solve. The existing optimization algorithm has shortcomings such as local optimal solutions, low efficiency, and complex solutions. It cannot accurately find the optimal charging solution for multiple targets, and it cannot effectively reduce the cost of electric vehicles. User’s charging cost.
A charging pile charging control system combined with multi-objective particle swarm algorithm is adopted. Through information collection, intelligent calculation, information transmission and system control, STM32F103 microcontroller and NB-IoT technology are used to update the particle congestion degree in real time, avoid local optimal solutions, and optimize charging. Strategies to meet grid stability and user needs.
It avoids grid overload during peak charging periods, provides an optimal orderly charging strategy, reduces user charging costs, maintains the reliability and stability of the grid, and supports multiple charging methods to meet different needs.
Smart Images

Figure CN118024927B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of charging pile control systems, and in particular to a charging pile charging control system and device combined with a multi-objective particle swarm algorithm. Background Art
[0002] With the rapid development of electric vehicles, the number of electric vehicle users is increasing, and people have higher demands for corresponding charging devices for electric vehicles. Based on the above demands, it is very important to improve the charging control system and devices, which can not only meet the current needs, but also lay a solid foundation for future sustainable development. Therefore, when designing a charging pile control system, how to solve the problem of grid overload during the peak charging period has become an important link that cannot be ignored.
[0003] The existing method to solve the problem of overload of power grid during charging peak period is mainly to formulate orderly charging strategy through optimization algorithm to realize charging time diversion, encourage users to charge when the power grid load is low, balance the distribution of power grid load, and realize the "peak shifting and valley filling" of power grid load. The most commonly used optimization algorithms for orderly charging strategy are genetic algorithm, differential evolution algorithm, TOPSIS algorithm, particle swarm algorithm and other methods. Genetic algorithm cannot fully describe the constraints, and has the disadvantages of premature convergence and low efficiency; differential evolution algorithm will cause the population diversity to decrease with the increase of evolutionary generations, thus causing premature convergence or algorithm stagnation; TOPSIS algorithm is complex to solve and it is not easy to find the ideal solution; particle swarm optimization (PSO) has excellent global search ability, but can only get the optimal solution of a single target, and it is easy to fall into the local optimal solution; multi-objective particle swarm optimization (MOPSO) can find the optimal solution of multiple targets and provide decision makers with a variety of choices, but the solution process is complicated and it is not easy to get the overall optimal and individual optimal. Therefore, in view of the shortcomings of the algorithm, how to obtain an accurate charging plan, find a charging method for charging piles that can reduce the load on the power grid and reduce the charging expenses of electric vehicle users, and how to combine the design of the charging plan with the charging control system and equipment of the charging pile have important research prospects and research significance. Therefore, we proposed a charging control system and device for charging piles combined with a multi-objective particle swarm algorithm to solve the above problems.
[0004] The Chinese patent publication number is "CN 116533812 A", and its name is "An intelligent charging control method and system based on floating electricity prices". This method first distinguishes between step charging mode and fast charging mode, while meeting the charging needs of different electric vehicle users, distinguishing users who do not have urgent charging needs. Then, through dynamic electricity price adjustment, the electricity price is set to peak electricity price, valley electricity price and normal electricity price respectively, and differentiated electricity price policies are used to encourage users to charge when the grid load is low. Finally, the method of setting the maximum charging current for different periods is adopted to reduce the load problem of the grid in the same time period. This method has low intelligence and low electric vehicle charging efficiency. It cannot solve the situation where a large number of electric vehicles are charged at the same time during peak electricity consumption, and it has limited ability to reduce the grid load during peak charging periods. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the problem that a large number of electric vehicles are charged at the same time during the charging peak period, which leads to overload of the power grid, the present invention provides a charging pile charging control system and device combined with a multi-objective particle swarm algorithm. According to the shortcomings of the multi-objective particle swarm algorithm that it is easy to fall into the local optimum and it is difficult to obtain the overall optimum and the individual optimum, an external archive is added to compare the particle congestion of multiple particles, and the global optimal particle solution set is updated in real time, thereby avoiding falling into the local optimal solution, accurately finding the optimal solution of multiple objectives, and providing the decision makers with the effect of the optimal solution. At the same time, the charging solution is combined with the charging pile charging control system and device, so as to protect the power grid while meeting the charging needs of electric vehicle users, prevent the occurrence of load overload, and maintain the reliability and stability of the power grid.
[0007] (II) Technical solution
[0008] In order to achieve the above-mentioned purpose, the present invention specifically adopts the following technical solutions:
[0009] A charging pile charging control system combined with a multi-objective particle swarm algorithm includes the following steps:
[0010] Step 1, information collection: using information transmission technology to obtain electric vehicle information collected through the user's electric vehicle, charging pile information collected through the charging pile, and grid information of the regional distribution network obtained through the area to which the charging pile belongs;
[0011] Step 2, intelligent calculation: According to the working status of the charging pile, the user's historical charging record and the current charging demand, the optimized multi-objective particle swarm algorithm is used to select the optimal charging plan for electric vehicles that meets user needs and maintains the stability of the power grid;
[0012] Step 3, information transmission: Use wireless transmission technology to upload the collected information data of electric vehicles, charging piles and power grids to cloud storage, and at the same time feed back the charging plan obtained by the intelligent computing unit to the charging pile through wireless transmission technology to realize the supervision and control of the charging pile;
[0013] Step 4, system control: Use the STM32F103 single-chip microcomputer to connect the power parameter acquisition module, circuit control module, safety prevention and control module, human-computer interaction module, IC card identification module, and power supply module, and control the working state of the charging pile through the single-chip microcomputer system;
[0014] Step 5, save information: save the charging plan of the electric vehicle this time to provide historical data for the next charging strategy. At the same time, save the charging information of the charging pile to facilitate the supervision and management of the charging pile.
[0015] Furthermore, in step 1, the collected electric vehicle information includes information data such as vehicle type, battery information, travel data, charging information, and user charging requirement information of the electric vehicle; the collected charging pile information includes information data such as the working status and charging information of the charging pile; the collected power grid information includes information data such as the rated capacity of the distribution transformer, the rated power of the distribution network, the average power factor, the charging efficiency, and the network loss rate of the distribution system;
[0016] Furthermore, in step 2, according to the working condition of the charging pile, the user's historical charging condition and the current charging demand, an optimal charging solution for the charging vehicle is achieved that satisfies the minimum daily load variance of the power grid and the minimum user cost;
[0017] In order to prevent the regional distribution network from being overloaded during the peak charging period and affecting the reliability and effectiveness of the power grid, the peak charging period can be shifted to places with small charging loads through the "peak shifting and valley filling" method, so that the difference between the maximum and minimum daily power grid loads can be reduced. Therefore, the daily load variance of the regional power grid is used to judge the situation of the power grid after optimization.
[0018] Furthermore, in step 2, the orderly charging strategy for charging vehicles requires the support of algorithms, and the most suitable one combined with the charging pile control system is the particle swarm algorithm. The particle swarm algorithm continuously iterates the position and speed of particles through the historical best position and the global best position until the optimal solution is obtained. However, since the charging strategy has two objective functions, the multi-objective fitness is used to reflect the performance of the particles on each objective function to obtain the best charging solution;
[0019] Since the particle swarm algorithm may fall into the local optimal solution, an external archiving method is introduced to store the global optimal solution in the external archive. By comparing and testing the particle crowding degree, the solutions with ordinary effects are removed and the best global particle solution set with some significant effects is retained, thereby avoiding falling into the local optimal solution problem in the charging strategy optimization.
[0020] Furthermore, in step 3, in the charging pile control system, in order to facilitate the reception of data information, wireless transmission technology is used to realize data collection and transmission of information, transmission control charging scheme and control charging pile operation. Wireless communication technologies mainly include LoRa, NB-IoT, Zigbee, Bluetooth, RFID, etc. In this charging pile control system, NB-IoT technology is mainly used to realize information transmission, exchange and integration;
[0021] Narrow Band Internet of Things (NB-IoT) technology has the characteristics of low power consumption, wide coverage, and large connections, which is very suitable for application in charging pile control systems. Due to its low power consumption, the standby time of NB-IoT terminal modules is long, which can reduce subsequent system maintenance. At the same time, since the maximum link budget of NB-IoT has been increased by 20dB, it can also provide signals in places with very weak wireless signals such as underground garages, which is convenient for information transmission under poor network conditions. Under the same base station, the uplink capacity of NB-IoT access is more than 50 times that of the existing 3G / 4G network, and it can achieve extremely high network coverage, so that each terminal can be connected to the Internet of Things through NB-IoT, which is convenient for the supervision of the system. In addition, the cost of NB-IoT is very low, which can greatly reduce the research expenditure of charging pile intelligent control systems and better promote and develop them.
[0022] Furthermore, in step 4, the system control mainly includes modules such as power parameter acquisition module, circuit control module, safety prevention and control module, human-computer interaction module, IC card identification module, power supply module, etc.;
[0023] The power parameter acquisition unit uses smart meter technology to measure and monitor the current, voltage, power information and relay status during charging in real time, and realizes the user billing and settlement function according to the time-of-use electricity price; the IC card recognition unit uses the IC card recognition technology and the transmission of radio waves to complete the data reading and writing operations, and realizes the functions of charging pile status query, user information query, self-service charging consumption settlement, etc.; the safety control unit realizes the safety control of the charging pile by designing the emergency stop switch, and uses a digital temperature sensor to detect the temperature in the charging pile, thereby realizing the function of suspending charging due to abnormal temperature; the main control unit module is used in the power module to control the output voltage and current required; the human-computer interaction interface is connected to the screen through the serial port, which is convenient for people to intuitively see the current charging status, charging pile status and user information, and facilitates information interaction between users and the background management system; the circuit control module mainly controls the charging mode of electric vehicles, including: constant current and constant voltage charging (CCCV), enhanced charging (BC), pulse charging technology (PPC), negative pulse current charging (NPC), multi-stage constant current charging (MSCC), etc.
[0024] Furthermore, in step 5, the charging information and charging plan of the electric vehicle are saved to provide historical data for the next charging strategy to further optimize the charging strategy. At the same time, the charging information of the charging pile is saved to facilitate the supervision and management of the charging pile.
[0025] (III) Beneficial effects
[0026] Compared with the prior art, the present invention provides a charging pile charging control system and device combined with a multi-objective particle swarm algorithm, which has the following beneficial effects:
[0027] (1) The present invention proposes a charging pile charging control system and device that combines information such as electric vehicle-related charging information, user charging requirement information, charging pile working status, and regional distribution network load status. An orderly charging strategy is formulated under the conditions predetermined by the user, and different charging times and charging methods are arranged for each electric vehicle. This solves the problem of regional power grid overload during peak charging periods, reduces the situation where a large number of electric vehicles are charged at the same time, meets the user's charging requirements, and reduces the user's charging expenses.
[0028] (2) The present invention optimizes the multi-objective particle swarm algorithm, and combines the multi-objective particle swarm algorithm that satisfies multi-objective optimization to formulate a charging strategy that satisfies the minimum daily load variance of the power grid and the minimum charging cost of users. However, since the multi-objective particle swarm algorithm is prone to fall into a local optimal solution, an external archive is introduced. In the external archive, the optimal particle solution set of the group is stored according to the particle crowding degree, thereby avoiding the problem of falling into the local optimal solution, which helps to obtain the optimal orderly charging strategy. The algorithm solves the problem of falling into the local optimal solution while also achieving the effect of multi-objective optimization.
[0029] (3) The design of the present invention combines the charging pile control system with the orderly charging strategy. While meeting the charging requirements of electric vehicles, it avoids the occurrence of grid overload problems, and charges electric vehicles according to the orderly charging strategy. By controlling the charging time and charging method of electric vehicles, the grid load problem during the charging peak period is reduced. Therefore, electric vehicle users can reduce the grid load while meeting their charging needs, thereby maintaining the stability and reliability of the grid.
[0030] (4) The design of the present invention combines multiple charging methods, so that the charging pile can realize multiple charging methods to meet the different charging requirements of electric vehicles. After the charging strategy is formulated, the charging method is selected according to the strategy, so as to implement different charging methods according to the grid load conditions and the charging requirements of the electric vehicle. While realizing multiple charging methods, it provides a larger optimization space for the charging strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is a working diagram of a charging pile charging control system and device combined with a multi-objective particle swarm algorithm of the present invention;
[0032] Figure 2 A flow chart of the orderly charging strategy of the present invention;
[0033] Figure 3 The flowchart of the optimized MOPSO algorithm of the present invention;
[0034] Figure 4 This is a hardware system block diagram of the charging pile control system described in the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] Example
[0037] like Figure 1 As shown, an embodiment of the present invention proposes a charging pile charging control system combined with a multi-objective particle swarm algorithm, the steps comprising:
[0038] Step 1, information collection: using information transmission technology to obtain electric vehicle information collected through the user's electric vehicle, charging pile information collected through the charging pile, and grid information of the regional distribution network obtained through the area to which the charging pile belongs;
[0039] The electric vehicle information uploaded by electric vehicle users includes: electric vehicle type, electric vehicle battery information, electric vehicle travel data, electric vehicle charging information, user charging requirement information, etc.;
[0040] Among them, electric vehicle types include pure electric vehicles, hybrid electric vehicles, parallel-parallel hybrid electric vehicles, fuel cell vehicles, and plug-in hybrid electric vehicles, which are used to distinguish vehicle types and select appropriate charging plans; battery information includes electric vehicle battery model, battery rated capacity, current battery remaining power, electric vehicle initial charging remaining power, battery remaining power at the last return of the day, battery remaining power at the end of the last charge, etc., which are used to determine the battery charging method and charging status; travel data includes travel distance, electric vehicle maximum cruising distance, electric vehicle daily mileage, electric vehicle first departure time, electric vehicle last return time, charging time, etc., which are used to determine the electric vehicle loss power and maximum charging time; charging information includes electric vehicle start charging time, charging efficiency, charging time, electric vehicle charging power, etc., which are used to determine the current charging status; user charging requirements include: expected charging method, owner's expected time, charging target power, etc., which are used to obtain key requirements put forward by electric vehicle users and formulate reasonable charging plans based on user needs;
[0041] The charging pile uploads information data such as electric vehicle charging information and charging pile charging information. Among them, the electric vehicle charging information includes the electric vehicle charging status, electric vehicle charging charge, current charging efficiency, current charging current, current charging cumulative current, current charging voltage, current charging power, current charging cumulative power, total charging power and other information, which is used to judge the state change of the electric vehicle during the charging state; the charging pile charging information includes: working status, charging mode, charging cumulative current, charging cumulative electric power, the number of electric vehicles connected to the charging pile, the number of electric vehicles charged, charging expenses and other information, which is used to judge the working status of the charging pile, so as to facilitate the supervision and control of the charging pile;
[0042] The regional distribution network information determined by the geographical location of the charging pile includes the rated capacity of the residential area distribution transformer, the rated power of the residential area distribution network, the average power factor, the charging efficiency, the total load of the residential area, the conventional load of the residential area, the maximum active power of the transformer, the maximum load limit of the distribution network, the margin of the residential area distribution network, the basic load peak, the total load peak, the transformer limit, the load peak-to-valley difference, the load peak-to-valley difference rate, the network loss rate of the local network distribution system, the power consumed by the regional network distribution system, the total power supply of the regional network distribution system, the voltage offset, the average daily charging load in the current period, the number of electric vehicles currently connected to the power grid, etc., which is used to judge the status of the regional power grid and prevent the regional power grid from being overloaded;
[0043] In order to facilitate the supervision and management of information and the formulation of orderly strategies, the obtained information data needs to be processed;
[0044] When charging the battery, the battery SOC is usually used to describe the status information of the electric vehicle battery. The calculation of SOC is shown as follows:
[0045]
[0046] Among them, Q R Indicates the remaining power of the electric vehicle battery; Q N Indicates the rated capacity of the electric vehicle battery;
[0047] When charging an electric vehicle at a charging station, in order to protect the battery, it is usually not charged when the battery power is higher than 70%. At the same time, it is also best to charge before the battery power is less than 10%.
[0048] The amount of electricity before charging begins is also crucial. Generally speaking, the driving distance of an electric vehicle is proportional to the power consumption of the electric vehicle, so the amount of electricity when the electric vehicle is just connected to the charging pile is as follows:
[0049]
[0050] Among them, SOC en represents the SOC of the electric vehicle battery at the end of the last charge; d represents the travel distance of the electric vehicle; d m Indicates the maximum cruising distance of an electric vehicle;
[0051] For charging piles, calculating the charging power of all electric vehicles in charge at this time can be used to prevent grid load problems. The total power of the charging pile is shown in the following formula:
[0052]
[0053] Where N is the total number of electric vehicles being charged; PEV Indicates the total power of the charging pile for charging electric vehicles; P evi represents the charging power of the i-th electric vehicle;
[0054] For the regional power grid, the total load of the region is mainly composed of the total load generated by the regular living needs of the region and the total load of charging electric vehicles by charging piles. The total load of the region is shown as follows:
[0055] P Z =P CG +P EV
[0056] Among them, P Z represents the total regional load; P CG Indicates the regional normal load; P EV Indicates the total power of the charging pile for charging electric vehicles;
[0057] The maximum active power of the regional distribution transformer can represent the maximum load limit of the regional power grid. Although the transformer has a certain overload capacity, long-term overload operation will shorten the transformer life and affect the quality of the power grid. Therefore, the total load peak of the regional power grid should not exceed the maximum capacity of the transformer. The maximum active power of the transformer is shown in the following formula:
[0058] P m =S m ×λ×η
[0059] Among them, P m Indicates the maximum active power of the regional distribution transformer; S m represents the rated capacity of the regional distribution transformer; λ represents the average power; η represents the operating efficiency;
[0060] The margin of the regional distribution network can assist electric vehicles that are about to be charged in formulating charging strategies. Usually, the margin of the power grid is the difference between the rated power of the regional distribution network and the total load of the region. The margin of the regional distribution network is shown in the following formula:
[0061] P Y =P N -P Z
[0062] Among them, P Y Represents the margin of the regional distribution network; P N Indicates the rated power of the regional distribution network; P Z represents the total regional load;
[0063] The amount of electricity lost by the regional power distribution system on the power transmission line is called network loss. In the same period, the percentage of energy lost by network loss to the total load is called network loss rate. Reducing network loss can improve energy transmission efficiency, reliability and economic cost. The network loss rate is shown in the following formula:
[0064]
[0065] Among them, η ι represents the network loss rate; T represents the Tth time period; N represents the total number of time periods; P T It represents the total power supply of the regional network distribution system during the T period; It represents the electric energy consumed by the regional network distribution system during the T period;
[0066] Voltage offset refers to the difference between the actual output voltage of the power grid and the expected value. It can be used to evaluate the performance of the power grid and observe the overload of the power grid. my country stipulates that the allowable voltage offset of the 10kV distribution system is within ±7%. If it exceeds this range, it is easy to cause the system voltage to collapse, and the system needs to be properly compensated for reactive power. The voltage offset is shown in the following formula:
[0067]
[0068] Among them, η offset Indicates the voltage offset rate; V out Indicates the actual output voltage of the regional power grid; V ref Indicates the desired output voltage;
[0069] After obtaining information about the status of electric vehicles, regional power grids, and charging piles, the constraints in the orderly charging strategy are obtained through these information functions:
[0070] The electric vehicle charging state of charge can show the power status of the electric vehicle during the charging process. Usually, the electric vehicle charging state of charge should be greater than or equal to the charge before charging and less than or equal to the expected charging charge. The electric vehicle charging state of charge constraint is:
[0071] SOC si ≤SOC(i)≤SOC e
[0072] Among them, SOC(i) represents the power of the i-th electric vehicle during charging; SOC si It represents the power of the i-th electric car when it is just connected to the charging pile; SOC e represents the expected charging capacity of the i-th electric vehicle;
[0073] When formulating an orderly charging strategy, the charging start time and charging time are also crucial. We set the parking time when the electric vehicle returns to the area for the last time as the time when the electric vehicle starts charging. Usually, the charging time of the electric vehicle will not exceed the set time, so the charging time constraint of the electric vehicle is as follows:
[0074] 0≤T need (i)≤T e (i)-T st (i)
[0075] Among them, T need (i) represents the charging time of the i-th electric vehicle; T e (i) represents the expected charging time of the i-th electric vehicle user; T st (i) represents the time when the i-th electric vehicle starts charging;
[0076] During the charging process of electric vehicles, the total load of the distribution network should not be greater than the maximum load limit of the distribution network, where the load limit constraint is as follows:
[0077] P Z =P CG +P EV ≤P max =P m
[0078] Among them, P Z Represents the total load of the regional power grid; P CG Indicates the regional normal load; P EV Indicates the total power of the charging pile for charging electric vehicles; P max Indicates the maximum load limit of the distribution network; P m Indicates the maximum active power of the regional distribution transformer.
[0079] Step 2, intelligent calculation: according to the working conditions of the charging piles, the user's historical charging conditions and the current charging demand, the optimized multi-objective particle swarm algorithm is used to select the optimal charging plan for electric vehicles that can currently meet the minimum daily load variance of the power grid and the minimum charging cost for electric vehicle users;
[0080] Since the goal of the orderly charging strategy is to establish an optimal charging plan that satisfies the minimum daily load variance of the power grid and the minimum user cost, the minimum daily load variance of the power grid and the minimum user cost are used as the objective function of the strategy optimization. The objective function is as follows:
[0081] The objective function for minimizing the daily load variance of the regional power grid is:
[0082]
[0083] Where F represents the daily load variance of the power grid; N represents the number of time periods into which a day is divided; x CG (i) represents the conventional power load of the community in the i-th time period; x EV (i) represents the power load of electric vehicles in the i-th time period; Indicates the average daily electricity load in the community;
[0084] The objective function to minimize the user's charging cost is:
[0085]
[0086] Among them, C EV represents the user's charging fee; P(i) represents the charging power of the i-th electric vehicle; Δt(i) represents the charging time of the i-th electric vehicle; a(j) represents the charging price in the j-th time period; m represents the number of electric vehicles; and n represents the type of electricity price period.
[0087] In order to achieve orderly charging control of charging piles, it is necessary to use the MOPSO algorithm to obtain the optimal solution for the current situation. The implementation process of the MOPSO algorithm is as follows:
[0088] The particle swarm parameters need to be initialized: the size of the initialized particle swarm, the particle dimension, the maximum number of iterations, the initial inertia weight, the maximum and minimum values of the inertia weight, the initial learning factor, the maximum and minimum values of the learning factor, the boundary values of the search space and the search speed;
[0089] Randomly initialize the position and speed of each particle: Randomly initialize the position and speed of each particle, the individual historical optimal position, the group historical optimal position, the individual historical optimal fitness value, and the group historical optimal fitness value;
[0090] Initialize external archive: set the current number of individuals, the maximum number of individuals, and the crowding distance of the particle swarm's external archive, archive the initialized particles, complete the initialization of the external archive, and provide a historical data set for subsequent scheme comparison;
[0091] The crowding distance of a particle can reflect the advantages and disadvantages of the particle's position and speed. The closer the individual is to the edge of the sorting, the larger the crowding distance of the particle, and the more obvious its selection advantage. The crowding distance of a particle is shown in the following formula:
[0092]
[0093] Among them, L i represents the comprehensive crowding distance of particle i; N represents the number of objective functions; represents the distance between particle i and its neighboring particle k on the objective function m; F i m and Respectively represent the values of particle i and particle k on the objective function m;
[0094] Determine whether the particles are archived: sort the particles in the external archive from large to small according to the crowding distance of the particles, and select particles that do not exceed the set maximum number of individuals, so as to determine that the particles with the best optimization effect are stored in the external archive, forming the global optimal solution set;
[0095] Update the position and speed of particles: according to the inertia weight of particles, learning factor, number of iterations, speed and position of particles before update, group optimal solution and individual optimal solution of particles, the updated position and speed of particles are obtained until the optimal solution is obtained or the iteration condition is met;
[0096] The particle's velocity and position are updated as:
[0097]
[0098] Among them, v i (k) is the velocity of particle i after k iterations; x i (k) is the position of particle i after k iterations; ω is the inertia weight coefficient; k is the number of current iterations; c1 and c2 are the learning factors of the particle, which are the individual cognition coefficient and the group cognition coefficient respectively; r1 and r2 are random numbers between (0, 1), whose main function is to prevent the diversity of the population from decaying with the increase of the number of iterations; is the individual best position of particle i after k iterations; is the global optimal position of the entire particle swarm after k iterations;
[0099] Calculate the fitness value of each particle: The individual fitness value is mainly used to evaluate the performance of the particle, indicating that the particle has better performance in the multi-objective space. In multi-objective optimization, the performance of the particle on each objective function needs to be reflected by the multi-objective fitness, where the multi-objective fitness is:
[0100] F i =(f1(x i ), f2(x i ), ..., f m (x i ))
[0101] Among them, F i is an m-dimensional vector composed of multiple objective functions, reflecting the fitness value of individual particles; m is the number of objective functions; f j (x i ) is the position of particle i in the jth objective function;
[0102] Update the individual optimal fitness value and position of each particle: The individual optimality of a particle represents the best situation of each particle in its motion trajectory, where the individual optimal fitness value of the particle helps guide the particle to move in a better direction;
[0103] In multi-objective optimization, the individual optimal fitness of a particle is as follows:
[0104] F pbest,i =(f1(x pbest,i ), f2(x pbest,i ), ..., f m (x pbest,i ))
[0105] Among them, F pbest,i is the optimal fitness value of the individual by the multi-objective function, which is an m-dimensional vector; m is the number of objective functions; x pbest,i Indicates that particle i reaches the optimal position in its historical trajectory; f j (x pbest,i ) is the position of particle i in the jth objective function;
[0106] If the current optimal fitness value of the individual particle is better than the historical optimal fitness value of the individual particle, then the optimal fitness value of the individual particle and the optimal position of the individual particle are updated;
[0107] Update the optimal fitness value and position of each particle: The optimal group of particles represents the best performance in the particle swarm, where the optimal fitness value of the particle group is used to guide the particle swarm to obtain the best result;
[0108] In multi-objective optimization, the optimal fitness of the particle group is as follows:
[0109] F gbest,i =(f1(x gest,i ), f2(x gest,i ), ..., f m (x gest,i ))
[0110] Among them, F gbest,i is the optimal fitness value of the multi-objective function group, which is an m-dimensional vector; m is the number of objective functions; x gbest,i Indicates the position of the particle that achieves the best performance in the entire particle swarm; f j (x gbest,i ) is the position of particle i in the jth objective function;
[0111] Compare the current optimal fitness value of the individual particle with the optimal fitness value of the group. If the optimal fitness value of the individual particle is better, update the optimal fitness value of the particle group and the optimal position of the particle group.
[0112] Update inertia weight and learning factor: Inertia weight controls the movement trend of the current particle inheriting the previous state of the particle during the optimization process, that is, the inertia of the particle flying during the optimization search process, which can support global exploration; the adjustment of the learning factor can guide the balance between individuals and groups of particles in each iteration, so the inertia weight and learning factor need to be updated in each iteration, so that the MOPSO algorithm can adapt to various problem characteristics and search states to achieve better performance and better balanced exploration;
[0113] The inertia weight determines the proportion of the particle to maintain its original speed during the iteration process. A larger inertia weight makes the particle more inclined to continue its previous moving direction, while a smaller inertia weight makes the particle more inclined to be guided by the optimal position of the individual and the group. Therefore, a nonlinear control strategy is selected in the MOPSO algorithm, that is, a hyperbolic tangent function curve is used to control the change of the inertia weight in the population optimization process during the optimization process;
[0114]
[0115] Where w represents the inertia weight of the kth iteration; w max and w min They represent the maximum and minimum values of the inertia weight respectively; k represents the current number of iterations; k max Indicates the maximum number of iterations;
[0116] From the above formula, we can see that the inertia weight update function can make the inertia weight change relatively slowly in the early stage of the optimization search, giving particles enough time to search globally; speed up the change speed in the middle stage of the search, which is conducive to local search; and slow down the change speed in the late stage of the search, so that more refined local search can be carried out;
[0117] The learning factor determines the degree to which each iteration is affected by the optimal position of the individual and the group, and is used to balance the individual and group guidance of particles. Among them, c1 represents the individual learning factor, which controls the guiding force of the individual, and c2 represents the group learning factor, which controls the guiding force of the group. If c1 < c2, the particle will tend to the optimal direction of the group; otherwise, it will go to the optimal direction of the individual;
[0118] In the initial stage of iteration, the MOPSO algorithm focuses on global search, attaches importance to the self-awareness of particles and the traversal of movement, and improves the ability to jump out of the local optimal solution. Then, as the iteration proceeds, particles will communicate more frequently, and their movement will be more deeply affected by the position of the population optimal solution, which promotes local search. Therefore, c1 needs to be gradually reduced and c2 needs to be gradually increased, so the learning factor is as shown in the following formula:
[0119]
[0120] Among them, c1 represents the individual learning factor; c 1max and c 1min represents the maximum and minimum values of the individual learning factor; k represents the current number of iterations; k max Indicates the maximum number of iterations;
[0121]
[0122] Where c2 represents the group learning factor; c 2max and c 2min represents the maximum and minimum values of the group learning factor; k represents the current number of iterations; k max Indicates the maximum number of iterations;
[0123] Update external archive: Update the new solution to the external archive, and update the external archive according to the particle crowding distance, the current number of individuals in the external archive, and the maximum number of individuals in the archive, and replace the particles with poor results;
[0124] Determine whether the end condition is met: When the optimization effect reaches the best or the number of iterations reaches the maximum, the optimization ends and the current optimal solution is output; if the end condition is not met, the number of iterations is updated and one is added to the original number of iterations. After the number of iterations is updated, the next iteration begins.
[0125] Step 3, information transmission: Use the wireless transmission technology NB-IoT to upload the collected information data of electric vehicles, charging piles and power grids to cloud storage, and at the same time feed back the charging plan obtained by the intelligent computing unit to the charging pile through wireless transmission technology to realize the supervision and control of the charging pile;
[0126] Step 4, system control: mainly includes power parameter acquisition module, circuit control module, safety prevention and control module, human-computer interaction module, IC card recognition module, power supply module and other modules;
[0127] The power parameter acquisition unit uses smart meter technology to measure and monitor the current, voltage, power information and relay status during charging in real time, and realizes the user billing and settlement function according to the time-of-use electricity price; the IC card identification unit uses the IC card identification technology and the transmission of radio waves to complete the data reading and writing operations, and realizes the functions of charging pile status query, user information query, self-service charging consumption settlement, etc.; the safety control unit realizes the safety control of the charging pile by designing the emergency stop switch, and uses a digital temperature sensor to detect the temperature in the charging pile, thereby realizing the function of suspending charging due to abnormal temperature; the main control unit module is used in the power module to control the output voltage and current required; the human-computer interaction interface is connected to the screen through the serial port, which is convenient for people to intuitively see the current charging status, charging pile status and user information, and facilitates information interaction between users and the background management system; the circuit control module mainly controls the charging mode of electric vehicle charging, mainly including fast charging, constant current and constant voltage charging (CCCV), enhanced charging (BC), pulse charging technology (PPC), negative pulse current charging (NPC), multi-stage constant current charging (MSCC) and other charging methods;
[0128] The urgency of charging is determined by the charging requirements uploaded by the user, and different charging modes are entered according to the urgency of the user: if the user's expected time is short, it means that the user has an urgent need, and the fast charging mode is directly entered to charge until the charging requirements are met and then stop charging; if the user's expected time is long, it means that the user has no urgent need, and the electric vehicle can be charged according to the charging strategy at this time, and the charging method is selected according to the charging strategy and user needs;
[0129] Among them, constant current constant voltage charging (CCCV) is the standard charging method for lithium batteries, and its charging process is divided into two stages: in the first stage, charging with a constant current until the maximum voltage is reached, and in the second stage, charging with a constant voltage until a predefined cut-off current value or a predefined maximum time is reached; enhanced charging (BC) can increase the charging rate of lithium batteries. In the charging process of BC, a large current is first used to charge until the battery is provided with sufficient power, and then the conventional CCCV method is used for charging; pulse charging technology (PPC) is based on the periodic change of different current pulses with different current flow rates and directions, which can reduce the charging time, reduce the battery temperature during charging, and extend the battery life; negative pulse current charging (NPC) can improve the utilization rate of active materials, thereby improving the discharge capacity and extending the service life; multi-stage constant current charging (MSCC) charges in stages by setting the number of transition stages and the stage transition standard. It has the characteristics of improving charging efficiency, reducing temperature rise during charging, increasing charging and discharging capacity, shortening charging time, and extending battery cycle life, which can meet the needs of fast charging of charging piles.
[0130] Step 5, save information: save the charging plan of the electric vehicle this time to provide historical data for the next charging strategy. At the same time, save the charging information of the charging pile to facilitate the supervision and management of the charging pile.
[0131] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A charging pile charging control method combined with a multi-objective particle swarm algorithm, characterized in that: The method includes: Step 1, information collection: using information transmission technology to obtain electric vehicle information collected through the user's electric vehicle, charging pile information collected through the charging pile, and grid information of the regional distribution network obtained through the area to which the charging pile belongs; In the step 1, the electric vehicle type in the electric vehicle information is used to distinguish the vehicle type and select a suitable charging plan; the electric vehicle battery information is used to determine the battery charging method and charging status; the electric vehicle travel data is used to determine the electric vehicle power consumption and the maximum charging time; the electric vehicle charging information is used to determine the current charging status; the user charging requirements are used to obtain the key requirements put forward by the electric vehicle user and formulate a reasonable charging plan according to the user's needs; the electric vehicle charging information of the charging pile is used to determine the state change of the electric vehicle during the charging state; the charging information is used to determine the working state of the charging pile, which is convenient for supervising and controlling the charging pile; the regional distribution network information is determined according to the geographical location of the charging pile, and is used to determine the state of the regional power grid to prevent the regional power grid from being overloaded; Step 2, intelligent calculation: According to the working status of the charging pile, the user's historical charging record and the current charging demand, the optimized multi-objective particle swarm algorithm is used to select the optimal charging plan for electric vehicles that meets user needs and maintains the stability of the power grid; In the step 2, an orderly charging strategy is formulated under the conditions predetermined by the user, and different charging times and charging methods are arranged for each electric vehicle; the orderly charging strategy combines the multi-objective particle swarm algorithm with the external archive, stores the obtained global optimal solution in the external archive, and updates the global optimal particle solution set in real time by comparing the particle crowding degree, so as to avoid falling into the local optimal solution; A nonlinear control strategy is selected in the MOPSO algorithm, that is, a hyperbolic tangent function curve is used to control the change of inertia weight in the population optimization process; , Where W represents the inertia weight of the kth iteration; and Respectively represent the maximum and minimum values of the inertia weight; K represents the current number of iterations; Indicates the maximum number of iterations; The learning factor is as follows: , in, represents the individual learning factor; and Indicates the maximum and minimum values of the individual learning factor; K indicates the current number of iterations; Indicates the maximum number of iterations; , in, represents the group learning factor; and Indicates the maximum and minimum values of the group learning factor; K indicates the current number of iterations; Indicates the maximum number of iterations; Step 3, information transmission: Use wireless transmission technology to upload the collected information data of electric vehicles, charging piles and power grids to cloud storage, and at the same time feed back the charging plan obtained by the intelligent computing unit to the charging pile through wireless transmission technology to realize the supervision and control of the charging pile; Step 4, system control: Use the STM32F103 single-chip microcomputer to connect the power parameter acquisition module, circuit control module, safety prevention and control module, human-computer interaction module, IC card identification module and power supply module, and control the working state of the charging pile through the single-chip microcomputer system; In step 4, the charging pile can be controlled to charge and the corresponding charging mode can be selected through system control, wherein the charging modes include: constant current constant voltage charging (CCCV), enhanced charging (BC), pulse charging technology (PPC), negative pulse current charging (NPC), and multi-stage constant current charging (MSCC); Step 5, save information: save the charging plan of the electric vehicle this time to provide historical data for the next charging strategy. At the same time, save the charging information of the charging pile to facilitate the supervision and management of the charging pile.
2. A charging pile charging control device combined with a multi-objective particle swarm algorithm, characterized in that: The device comprises: a main controller, a power parameter measurement system, a rectifier, an inverter, a battery, and a human-computer interaction system, and adopts the charging pile charging control method combined with a multi-objective particle swarm algorithm as described in claim 1.
3. The charging pile charging control device combined with a multi-objective particle swarm algorithm according to claim 2 is characterized in that: The main controller is responsible for data acquisition and output control instructions, and is connected to the power parameter measurement system, NB-IoT wireless communication module, and human-computer interaction system respectively, and is responsible for receiving data sent by the power parameter measurement system and performing corresponding control; the power parameter measurement system is used to measure the power parameters of the power grid in real time and transmit the data to the main controller; the rectifier and inverter control the type of user charging, and the power generated by the power generation system is rectified into direct current through the rectifier, and the power generated by the power generation system is inverted into alternating current through the inverter; the human-computer interaction system is composed of a digital display screen, a stereo sound column, a buzzer, buttons and indicator lights, which are used to display the charging mode and charging status.
