Charging pile control parameter optimization method and device with electric energy quality adjusting function

By constructing a multi-objective optimization model and dynamically adjusting the control parameters of the charging pile, the performance failure problem of the charging pile controller in a complex power grid environment was solved, and the coordination of reactive power compensation, voltage stability and harmonic suppression was achieved, thereby improving the operation performance and grid friendliness of the charging pile.

CN122008935APending Publication Date: 2026-05-12CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
Filing Date
2025-12-04
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

The existing multi-functional control parameter setting method of charging piles ignores the interaction between control functions. When the grid voltage fluctuates drastically or the harmonics are complex, the controller may improve performance at the expense of other aspects of performance, or even fail as a whole, and fail to give full play to the supporting potential of distributed flexible resources.

Method used

A multi-objective optimization function and constraint conditions are used to construct an optimization model for the control parameters of the charging pile. The virtual inertia, virtual damping, and proportional parameters of the reactive power loop controller of the virtual synchronous generator are dynamically adjusted to achieve adaptive tuning of the charging pile control parameters and coordinate reactive power, voltage and harmonic control.

Benefits of technology

In complex power grid environments, it achieves a balance between reactive power compensation accuracy, voltage stability, and harmonic suppression, thereby improving the operational performance and grid-friendliness of charging piles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122008935A_ABST
    Figure CN122008935A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of charging pile grid-connected operation, and particularly provides a charging pile control parameter optimization method and device with an electric energy quality adjusting function, and the method comprises the steps: substituting an electrical operation parameter of a charging pile power grid side into a pre-constructed charging pile control parameter optimization model, and carrying out the solving, an optimization result corresponding to the charging pile control parameters is obtained; the optimization result is issued to a bottom layer controller of the charging pile, and operation parameters of the charging pile are dynamically adjusted; according to the technical scheme provided by the invention, the dynamic self-adaptive adjustment of the control parameters can be realized, so that the reactive compensation precision, the voltage stability and the harmonic suppression effect are considered at the same time in a complex power grid environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of charging pile grid-connected operation technology, specifically to a method and device for optimizing control parameters of charging piles with power quality regulation function. Background Technology With the rapid development of the electric vehicle industry, high-capacity DC charging piles, as core infrastructure, have seen a continuous increase in both installed capacity and individual power. The random and intermittent connection of these high-power loads poses a severe challenge to the power quality and operational stability of the distribution network. To address this issue, the control components of charging piles can be modified to provide reactive power, voltage, and harmonic regulation functions. Reactive power regulation can compensate for the reactive power deficit in the grid and improve the power factor; VSG control, by simulating the rotor inertia and damping characteristics of a synchronous generator, provides necessary voltage support to the grid, enhancing system stability; and harmonic suppression effectively filters out harmonic currents generated by the charging pile itself and surrounding power electronic equipment.

[0002] However, current multifunctional charging piles still have significant shortcomings in actual control. First, their multifunctional control loops, such as reactive power regulation, VSG control, and harmonic suppression, are usually designed independently, with control parameters mostly preset based on the optimal value of a single function or empirical values. This single-function parameter tuning method ignores the interaction between control functions. When the grid voltage fluctuates drastically, the harmonic background is complex, or reactive power demand changes frequently, the controller with fixed parameters may improve performance in one aspect at the expense of other aspects, or even cause overall control failure, failing to fully realize the potential of charging piles as distributed flexible resources to support the grid. For example, the increased VSG virtual inertia to enhance voltage support may slow down the system's response speed to changes in reactive power demand; the increased controller gain to quickly suppress specific harmonics may couple with the fundamental current control loop, even inducing oscillations and weakening the accuracy of reactive power regulation; conversely, drastic reactive power regulation may also introduce additional voltage fluctuations and harmonic components.

[0003] Therefore, there is an urgent need for a comprehensive control parameter optimization method that can comprehensively consider multiple control objectives such as reactive power, voltage, and harmonics, and achieve online or offline adaptive tuning of the multi-functional control parameters of charging piles, thereby comprehensively improving their operating performance and grid connection friendliness in complex power grid environments. Summary of the Invention

[0004] To overcome the above-mentioned defects, this invention proposes a method and device for optimizing control parameters of charging piles with power quality regulation function.

[0005] Firstly, a method for optimizing control parameters of a charging pile with power quality regulation function is provided, the method comprising: Substitute the electrical operating parameters of the charging pile on the power grid side into the pre-built charging pile control parameter optimization model and solve it to obtain the optimization results corresponding to the charging pile control parameters; The optimization results are sent to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile. The optimization results include at least one of the following: the virtual inertia of the virtual synchronous generator, the virtual damping in the virtual synchronous generator algorithm, the proportional parameter of the reactive power loop controller, the integral parameter of the reactive power loop controller, the proportional parameter of the voltage controller, the integral parameter of the voltage controller, the proportional parameter of the nth harmonic controller, and the integral parameter of the nth harmonic controller.

[0006] Preferably, the pre-built charging pile control parameter optimization model includes: a multi-objective optimization function and its corresponding constraints.

[0007] Furthermore, the multi-objective optimization function is as follows:

[0008] In the above formula, F To optimize the function value for multiple objectives, Q ref This is a reference value for reactive power. Q The reactive power value is monitored in real time. U ref This is the voltage reference value. U For real-time monitoring of voltage values, THD I The total harmonic current distortion rate is . ω 1. ω 2. ω 3 represents the weighting coefficient that is dynamically adjusted based on the real-time operational needs of the power grid.

[0009] Furthermore, the weighting coefficients that are dynamically adjusted according to the real-time operation requirements of the power grid are as follows:

[0010] In the above formula, ω 1_base , ω 2_base , ω 3_base The initial preset weighting coefficients are first, second, and third. K Q This is the reactive power weighting adjustment coefficient. K PF This is the power factor weighting adjustment coefficient. K U This is the voltage weighting adjustment coefficient. K THDThis is the harmonic weighting adjustment coefficient. Q set Set the value for the reactive power command. Q m This is the measured reactive power output value. U N This is the rated voltage value. U m This is the measured voltage value. THD iN The standard limit for harmonic current. THD im This represents the measured value of harmonic current distortion rate. PF m This is the measured power factor value at the charging pile connection point. Φ PF This is a power factor conditional function; the function value is 1 if the condition within the parentheses is met, and 0 otherwise. Φ U This is a voltage condition function. The function value is 1 if the condition in parentheses is met, and 0 otherwise.

[0011] Furthermore, the constraints are as follows:

[0012] In the above formula, Δu is the increment vector of the control variable, Δu min Let Δu be the vector of minimum increments of the control variables. max For the vector of maximum increments of control variables, u min Let u be the vector of minimum values ​​of the control variables. max For the vector of maximum values ​​of control variables, y min To output the vector of minimum values ​​of the variables, y max To output the vector of maximum values ​​of the variables, x min Let x be the vector of minimum values ​​of the state variables. max Let y be the vector of maximum values ​​of state variables, u be the control parameters of the charging pile, x be the electrical operation parameters of the charging pile on the grid side, and y be the output variable.

[0013] Furthermore, the electrical operating parameters of the charging pile on the grid side are as follows:

[0014] The control parameters for the charging pile are as follows:

[0015] The output variables are as follows:

[0016] In the above formula, i d This represents the d-axis component of the AC side current of the grid-connected inverter.i q This represents the q-axis component of the AC side current of the grid-connected inverter. u dc This is the DC-side capacitor voltage. δ This refers to the virtual power angle in the virtual synchronous generator algorithm. ω For virtual angular velocity in the virtual synchronous generator algorithm, J This refers to the virtual inertia in the virtual synchronous generator algorithm. D For virtual damping in the virtual synchronous generator algorithm, k pQ These are the proportional parameters for the reactive power loop controller. k iQ These are the integral parameters of the reactive power loop controller. k pU For the proportional parameters of the voltage controller, k iU For the voltage controller integral parameters, k phn For the proportional parameters of the nth harmonic controller, k ihn For the nth harmonic controller integral parameters, Q out The inverter outputs reactive power in real time. U PCC This refers to the voltage amplitude at the inverter's grid connection point. THD IPCC denoted as the total harmonic distortion rate of the grid-side current, with T as the transpose.

[0017] Secondly, a charging pile control parameter optimization device with power quality regulation function is provided, the charging pile control parameter optimization device with power quality regulation function includes: The analysis module is used to substitute the electrical operating parameters of the charging pile on the power grid side into the pre-built charging pile control parameter optimization model and solve it to obtain the optimization results corresponding to the charging pile control parameters. The adjustment module is used to send the optimization results to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile. The optimization results include at least one of the following: the virtual inertia of the virtual synchronous generator, the virtual damping in the virtual synchronous generator algorithm, the proportional parameter of the reactive power loop controller, the integral parameter of the reactive power loop controller, the proportional parameter of the voltage controller, the integral parameter of the voltage controller, the proportional parameter of the nth harmonic controller, and the integral parameter of the nth harmonic controller.

[0018] Preferably, the pre-built charging pile control parameter optimization model includes: a multi-objective optimization function and its corresponding constraints.

[0019] Furthermore, the multi-objective optimization function is as follows:

[0020] In the above formula, F To optimize the function value for multiple objectives, Q ref This is a reference value for reactive power. Q The reactive power value is monitored in real time. U ref This is the voltage reference value. U For real-time monitoring of voltage values, THD I The total harmonic current distortion rate is . ω 1. ω 2. ω 3 represents the weighting coefficient that is dynamically adjusted based on the real-time operational needs of the power grid.

[0021] Furthermore, the weighting coefficients that are dynamically adjusted according to the real-time operation requirements of the power grid are as follows:

[0022] In the above formula, ω 1_base , ω 2_base , ω 3_base The initial preset weighting coefficients are first, second, and third. K Q This is the reactive power weighting adjustment coefficient. K PF This is the power factor weighting adjustment coefficient. K U This is the voltage weighting adjustment coefficient. K THD This is the harmonic weighting adjustment coefficient. Q set Set the value for the reactive power command. Q m This is the measured reactive power output value. U N This is the rated voltage value. U m This is the measured voltage value. THD iN The standard limit for harmonic current. THD im This represents the measured value of harmonic current distortion rate. PF m This is the measured power factor value at the charging pile connection point. Φ PF This is a power factor conditional function; the function value is 1 if the condition within the parentheses is met, and 0 otherwise. Φ UThis is a voltage condition function. The function value is 1 if the condition in parentheses is met, and 0 otherwise.

[0023] Furthermore, the constraints are as follows:

[0024] In the above formula, Δu is the increment vector of the control variable, Δu min Let Δu be the vector of minimum increments of the control variables. max For the vector of maximum increments of control variables, u min Let u be the vector of minimum values ​​of the control variables. max For the vector of maximum values ​​of control variables, y min To output the vector of minimum values ​​of the variables, y max To output the vector of maximum values ​​of the variables, x min Let x be the vector of minimum values ​​of the state variables. max Let y be the vector of maximum values ​​of state variables, u be the control parameters of the charging pile, x be the electrical operation parameters of the charging pile on the grid side, and y be the output variable.

[0025] Furthermore, the electrical operating parameters of the charging pile on the grid side are as follows:

[0026] The control parameters for the charging pile are as follows:

[0027] The output variables are as follows:

[0028] In the above formula, i d This represents the d-axis component of the AC side current of the grid-connected inverter. i q This represents the q-axis component of the AC side current of the grid-connected inverter. u dc This is the DC-side capacitor voltage. δ This refers to the virtual power angle in the virtual synchronous generator algorithm. ω For virtual angular velocity in the virtual synchronous generator algorithm, J This refers to the virtual inertia in the virtual synchronous generator algorithm. D For virtual damping in the virtual synchronous generator algorithm, k pQ These are the proportional parameters for the reactive power loop controller. k iQ These are the integral parameters of the reactive power loop controller. k pU For the proportional parameters of the voltage controller, k iUFor the voltage controller integral parameters, k phn For the proportional parameters of the nth harmonic controller, k ihn For the nth harmonic controller integral parameters, Q out The inverter outputs reactive power in real time. U PCC This refers to the voltage amplitude at the inverter's grid connection point. THD IPCC denoted as the total harmonic distortion rate of the grid-side current, with T as the transpose.

[0029] Thirdly, a computer device is provided, comprising: one or more processors; The processor is used to execute one or more programs; When the one or more programs are executed by the one or more processors, the method for optimizing control parameters of charging piles with power quality regulation function is implemented.

[0030] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed, the method for optimizing control parameters of a charging pile with power quality regulation function is implemented.

[0031] The above-described technical solutions of the present invention have at least one or more of the following beneficial effects: This invention provides a method and apparatus for optimizing control parameters of charging piles with power quality regulation function, comprising: substituting the electrical operating parameters of the charging pile on the grid side into a pre-constructed charging pile control parameter optimization model and solving it to obtain the optimization results corresponding to the charging pile control parameters; sending the optimization results to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile; wherein, the optimization results include at least one of the following: virtual inertia of a virtual synchronous generator, virtual damping in the virtual synchronous generator algorithm, proportional parameters of the reactive power loop controller, integral parameters of the reactive power loop controller, proportional parameters of the voltage controller, integral parameters of the voltage controller, proportional parameters of the nth harmonic controller, and integral parameters of the nth harmonic controller; the technical solution provided by this invention can realize dynamic adaptive adjustment of control parameters, thereby simultaneously taking into account reactive power compensation accuracy, voltage stability, and harmonic suppression effect in complex grid environments. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the main steps of the charging pile control parameter optimization method with power quality regulation function according to an embodiment of the present invention; Figure 2 This is a diagram showing the optimized reactive power control output results according to an embodiment of the present invention; Figure 3This is a diagram showing the optimized voltage control output result of an embodiment of the present invention; Figure 4 This is a diagram showing the optimized harmonic control output result of an embodiment of the present invention. Detailed Implementation

[0033] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0034] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0035] Example 1 See appendix Figure 1 , Figure 1 This is a schematic flowchart illustrating the main steps of a charging pile control parameter optimization method with power quality regulation function according to an embodiment of the present invention. Figure 1 As shown, the method for optimizing the control parameters of a charging pile with power quality regulation function in this embodiment of the invention mainly includes the following steps: Step S101: Substitute the electrical operating parameters of the charging pile on the grid side into the pre-built charging pile control parameter optimization model and solve it to obtain the optimization results corresponding to the charging pile control parameters; The optimization results are sent to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile. The optimization results include at least one of the following: the virtual inertia of the virtual synchronous generator, the virtual damping in the virtual synchronous generator algorithm, the proportional parameter of the reactive power loop controller, the integral parameter of the reactive power loop controller, the proportional parameter of the voltage controller, the integral parameter of the voltage controller, the proportional parameter of the nth harmonic controller, and the integral parameter of the nth harmonic controller.

[0036] In this embodiment, the pre-built charging pile control parameter optimization model includes: a multi-objective optimization function and its corresponding constraints.

[0037] In one implementation, the multi-objective optimization function is as follows:

[0038] In the above formula, F To optimize the function value for multiple objectives, Q ref This is a reference value for reactive power. Q The reactive power value is monitored in real time.U ref This is the voltage reference value. U For real-time monitoring of voltage values, THD I The total harmonic current distortion rate is . ω 1. ω 2. ω 3 represents the weighting coefficient that is dynamically adjusted based on the real-time operational needs of the power grid.

[0039] In one implementation, the weighting coefficients that are dynamically adjusted according to the real-time operation requirements of the power grid are as follows:

[0040] In the above formula, ω 1_base , ω 2_base , ω 3_base The initial preset weighting coefficients are first, second, and third. K Q This is the reactive power weighting adjustment coefficient. K PF This is the power factor weighting adjustment coefficient. K U This is the voltage weighting adjustment coefficient. K THD This is the harmonic weighting adjustment coefficient. Q set Set the value for the reactive power command. Q m This is the measured reactive power output value. U N This is the rated voltage value. U m This is the measured voltage value. THD iN The standard limit for harmonic current. THD im This represents the measured value of harmonic current distortion rate. PF m This is the measured power factor value at the charging pile connection point. Φ PF This is a power factor conditional function; the function value is 1 if the condition within the parentheses is met, and 0 otherwise. Φ U This is a voltage condition function. The function value is 1 if the condition in parentheses is met, and 0 otherwise.

[0041] In one implementation, the constraints are as follows:

[0042] In the above formula, Δu is the increment vector of the control variable, Δu minLet Δu be the vector of minimum increments of the control variables. max For the vector of maximum increments of control variables, u min Let u be the vector of minimum values ​​of the control variables. max For the vector of maximum values ​​of control variables, y min To output the vector of minimum values ​​of the variables, y max To output the vector of maximum values ​​of the variables, x min Let x be the vector of minimum values ​​of the state variables. max Let y be the vector of maximum values ​​of state variables, u be the control parameters of the charging pile, x be the electrical operation parameters of the charging pile on the grid side, and y be the output variable.

[0043] In one implementation, the electrical operating parameters of the charging pile on the power grid side are as follows:

[0044] The control parameters for the charging pile are as follows:

[0045] The output variables are as follows:

[0046] In the above formula, i d This represents the d-axis component of the AC side current of the grid-connected inverter. i q This represents the q-axis component of the AC side current of the grid-connected inverter. u dc This is the DC-side capacitor voltage. δ This refers to the virtual power angle in the virtual synchronous generator algorithm. ω For virtual angular velocity in the virtual synchronous generator algorithm, J This refers to the virtual inertia in the virtual synchronous generator algorithm. D For virtual damping in the virtual synchronous generator algorithm, k pQ These are the proportional parameters for the reactive power loop controller. k iQ These are the integral parameters of the reactive power loop controller. k pU For the proportional parameters of the voltage controller, k iU For the voltage controller integral parameters, k phn For the proportional parameters of the nth harmonic controller, k ihn For the nth harmonic controller integral parameters, Q out The inverter outputs reactive power in real time. U PCCThis refers to the voltage amplitude at the inverter's grid connection point. THD IPCC denoted as the total harmonic distortion rate of the grid-side current, with T as the transpose.

[0047] In one specific implementation, to demonstrate the feasibility of a method and device for optimizing control parameters of a charging pile with power quality regulation function, a simulation model was built based on the MATLAB Simulink environment, with AC side 220V and charging pile power 120kW. By introducing a resistive-inductive load on the user side to simulate low power factor conditions, introducing a harmonic current source to simulate harmonic disturbances, and simultaneously setting reactive power commands in the outer loop of the charging pile control to simulate the controlled reactive power situation of the charging pile, the feasibility of optimizing multiple control functions of the charging pile was verified. The verification results are as follows: Figure 2 , 3 As shown in Figure 4, the results show that the proposed method can achieve coordination and millisecond-level rapid adjustment between voltage, reactive power, and harmonic control. In the figure, P_AC and Q_AC are active power and reactive power, respectively.

[0048] Example 2 Based on the same inventive concept, the present invention also provides a charging pile control parameter optimization device with power quality regulation function, the charging pile control parameter optimization device with power quality regulation function includes: The analysis module is used to substitute the electrical operating parameters of the charging pile on the power grid side into the pre-built charging pile control parameter optimization model and solve it to obtain the optimization results corresponding to the charging pile control parameters. The adjustment module is used to send the optimization results to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile. The optimization results include at least one of the following: the virtual inertia of the virtual synchronous generator, the virtual damping in the virtual synchronous generator algorithm, the proportional parameter of the reactive power loop controller, the integral parameter of the reactive power loop controller, the proportional parameter of the voltage controller, the integral parameter of the voltage controller, the proportional parameter of the nth harmonic controller, and the integral parameter of the nth harmonic controller.

[0049] Preferably, the pre-built charging pile control parameter optimization model includes: a multi-objective optimization function and its corresponding constraints.

[0050] Furthermore, the multi-objective optimization function is as follows:

[0051] In the above formula, F To optimize the function value for multiple objectives, Q ref This is a reference value for reactive power. Q The reactive power value is monitored in real time. Uref This is the voltage reference value. U For real-time monitoring of voltage values, THD I The total harmonic current distortion rate is . ω 1. ω 2. ω 3 represents the weighting coefficient that is dynamically adjusted based on the real-time operational needs of the power grid.

[0052] Furthermore, the weighting coefficients that are dynamically adjusted according to the real-time operation requirements of the power grid are as follows:

[0053] In the above formula, ω 1_base , ω 2_base , ω 3_base The initial preset weighting coefficients are first, second, and third. K Q This is the reactive power weighting adjustment coefficient. K PF This is the power factor weighting adjustment coefficient. K U This is the voltage weighting adjustment coefficient. K THD This is the harmonic weighting adjustment coefficient. Q set Set the value for the reactive power command. Q m This is the measured reactive power output value. U N This is the rated voltage value. U m This is the measured voltage value. THD iN The standard limit for harmonic current. THD im This represents the measured value of harmonic current distortion rate. PF m This is the measured power factor value at the charging pile connection point. Φ PF This is a power factor conditional function; the function value is 1 if the condition within the parentheses is met, and 0 otherwise. Φ U This is a voltage condition function. The function value is 1 if the condition in parentheses is met, and 0 otherwise.

[0054] Furthermore, the constraints are as follows:

[0055] In the above formula, Δu is the increment vector of the control variable, Δu min Let Δu be the vector of minimum increments of the control variables.max For the vector of maximum increments of control variables, u min Let u be the vector of minimum values ​​of the control variables. max For the vector of maximum values ​​of control variables, y min To output the vector of minimum values ​​of the variables, y max To output the vector of maximum values ​​of the variables, x min Let x be the vector of minimum values ​​of the state variables. max Let y be the vector of maximum values ​​of state variables, u be the control parameters of the charging pile, x be the electrical operation parameters of the charging pile on the grid side, and y be the output variable.

[0056] Furthermore, the electrical operating parameters of the charging pile on the grid side are as follows:

[0057] The control parameters for the charging pile are as follows:

[0058] The output variables are as follows:

[0059] In the above formula, i d This represents the d-axis component of the AC side current of the grid-connected inverter. i q This represents the q-axis component of the AC side current of the grid-connected inverter. u dc This is the DC-side capacitor voltage. δ This refers to the virtual power angle in the virtual synchronous generator algorithm. ω For virtual angular velocity in the virtual synchronous generator algorithm, J This refers to the virtual inertia in the virtual synchronous generator algorithm. D For virtual damping in the virtual synchronous generator algorithm, k pQ These are the proportional parameters for the reactive power loop controller. k iQ These are the integral parameters of the reactive power loop controller. k pU For the proportional parameters of the voltage controller, k iU For the voltage controller integral parameters, k phn For the proportional parameters of the nth harmonic controller, k ihn For the nth harmonic controller integral parameters, Q out The inverter outputs reactive power in real time. U PCC This refers to the voltage amplitude at the inverter's grid connection point. THDIPCC denoted as the total harmonic distortion rate of the grid-side current, with T as the transpose.

[0060] Example 3 Based on the same inventive concept, this invention also provides a computer device, which includes a processor and a memory. The memory stores a computer program, which includes program instructions. The processor executes the program instructions stored in the computer storage medium. The processor may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. It is the computing and control core of the terminal, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions in the computer storage medium to implement corresponding method flows or corresponding functions, thereby realizing the steps of the charging pile control parameter optimization method with power quality regulation function in the above embodiments.

[0061] Example 4 Based on the same inventive concept, this invention also provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device used to store programs and data. It is understood that the computer-readable storage medium here can include both the built-in storage medium in the computer device and extended storage media supported by the computer device. The computer-readable storage medium provides storage space that stores the terminal's operating system. Furthermore, this storage space also stores one or more instructions suitable for loading and execution by a processor. These instructions can be one or more computer programs (including program code). It should be noted that the computer-readable storage medium here can be high-speed RAM or non-volatile memory, such as at least one disk storage device. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the steps of the charging pile control parameter optimization method with power quality regulation function in the above embodiments.

[0062] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0063] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure one One or more processes and / or boxes Figure one A device that provides the functions specified in one or more boxes.

[0064] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure one One or more processes and / or boxes Figure one The function specified in one or more boxes.

[0065] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure one One or more processes and / or boxes Figure one The steps of the function specified in one or more boxes.

[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A method for optimizing control parameters of a charging pile with power quality regulation function, characterized in that, The method includes: Substitute the electrical operating parameters of the charging pile on the power grid side into the pre-built charging pile control parameter optimization model and solve it to obtain the optimization results corresponding to the charging pile control parameters; The optimization results are sent to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile. The optimization results include at least one of the following: the virtual inertia of the virtual synchronous generator, the virtual damping in the virtual synchronous generator algorithm, the proportional parameter of the reactive power loop controller, the integral parameter of the reactive power loop controller, the proportional parameter of the voltage controller, the integral parameter of the voltage controller, the proportional parameter of the nth harmonic controller, and the integral parameter of the nth harmonic controller.

2. The method as described in claim 1, characterized in that, The pre-built charging pile control parameter optimization model includes: a multi-objective optimization function and its corresponding constraints.

3. The method as described in claim 2, characterized in that, The multi-objective optimization function is as follows: In the above formula, F To optimize the function value for multiple objectives, Q ref This is a reference value for reactive power. Q The reactive power value is monitored in real time. U ref This is the voltage reference value. U For real-time monitoring of voltage values, THD I The total harmonic current distortion rate is . ω 1. ω 2. ω 3 represents the weighting coefficient that is dynamically adjusted based on the real-time operational needs of the power grid.

4. The method as described in claim 3, characterized in that, The weighting coefficients, which are dynamically adjusted according to the real-time operation requirements of the power grid, are as follows: In the above formula, ω 1_base , ω 2_base , ω 3_base The initial preset weighting coefficients are first, second, and third. K Q This is the reactive power weighting adjustment coefficient. K PF This is the power factor weighting adjustment coefficient. K U This is the voltage weighting adjustment coefficient. K THD This is the harmonic weighting adjustment coefficient. Q set Set the value for the reactive power command. Q m This is the measured reactive power output value. U N This is the rated voltage value. U m This is the measured voltage value. THD iN The standard limit for harmonic current. THD im This represents the measured value of harmonic current distortion rate. PF m This is the measured power factor value at the charging pile connection point. Φ PF This is a power factor conditional function; the function value is 1 if the condition within the parentheses is met, and 0 otherwise. Φ U This is a voltage condition function. The function value is 1 if the condition in parentheses is met, and 0 otherwise.

5. The method as described in claim 4, characterized in that, The constraints are as follows: In the above formula, Δu is the increment vector of the control variable, Δu min Let Δu be the vector of minimum increments of the control variables. max For the vector of maximum increments of control variables, u min Let u be the vector of minimum values ​​of the control variables. max For the vector of maximum values ​​of control variables, y min To output the vector of minimum values ​​of the variables, y max To output the vector of maximum values ​​of the variables, x min Let x be the vector of minimum values ​​of the state variables. max Let y be the vector of maximum values ​​of state variables, u be the control parameters of the charging pile, x be the electrical operation parameters of the charging pile on the grid side, and y be the output variable.

6. The method as described in claim 5, characterized in that, The electrical operating parameters of the charging pile on the power grid side are as follows: The control parameters for the charging pile are as follows: The output variables are as follows: In the above formula, i d This represents the d-axis component of the AC side current of the grid-connected inverter. i q This represents the q-axis component of the AC side current of the grid-connected inverter. u dc This is the DC-side capacitor voltage. δ This refers to the virtual power angle in the virtual synchronous generator algorithm. ω For virtual angular velocity in the virtual synchronous generator algorithm, J This refers to the virtual inertia in the virtual synchronous generator algorithm. D For virtual damping in the virtual synchronous generator algorithm, k pQ These are the proportional parameters for the reactive power loop controller. k iQ These are the integral parameters of the reactive power loop controller. k pU For the proportional parameters of the voltage controller, k iU For the voltage controller integral parameters, k phn For the proportional parameters of the nth harmonic controller, k ihn For the nth harmonic controller integral parameters, Q out The inverter outputs reactive power in real time. U PCC This refers to the voltage amplitude at the inverter's grid connection point. THD IPCC denoted as the total harmonic distortion rate of the grid-side current, with T as the transpose.

7. A charging pile control parameter optimization device with power quality regulation function, characterized in that, The device includes: The analysis module is used to substitute the electrical operating parameters of the charging pile on the power grid side into the pre-built charging pile control parameter optimization model and solve it to obtain the optimization results corresponding to the charging pile control parameters. The adjustment module is used to send the optimization results to the underlying controller of the charging pile to dynamically adjust the operating parameters of the charging pile. The optimization results include at least one of the following: the virtual inertia of the virtual synchronous generator, the virtual damping in the virtual synchronous generator algorithm, the proportional parameter of the reactive power loop controller, the integral parameter of the reactive power loop controller, the proportional parameter of the voltage controller, the integral parameter of the voltage controller, the proportional parameter of the nth harmonic controller, and the integral parameter of the nth harmonic controller.

8. The apparatus as claimed in claim 7, characterized in that, The pre-built charging pile control parameter optimization model includes: a multi-objective optimization function and its corresponding constraints.

9. The apparatus as claimed in claim 8, characterized in that, The multi-objective optimization function is as follows: In the above formula, F To optimize the function value for multiple objectives, Q ref This is a reference value for reactive power. Q The reactive power value is monitored in real time. U ref This is the voltage reference value. U For real-time monitoring of voltage values, THD I The total harmonic current distortion rate is . ω 1. ω 2. ω 3 represents the weighting coefficient that is dynamically adjusted based on the real-time operational needs of the power grid.

10. The apparatus as claimed in claim 9, characterized in that, The weighting coefficients, which are dynamically adjusted according to the real-time operation requirements of the power grid, are as follows: In the above formula, ω 1_base , ω 2_base , ω 3_base The initial preset weighting coefficients are first, second, and third. K Q This is the reactive power weighting adjustment coefficient. K PF This is the power factor weighting adjustment coefficient. K U This is the voltage weighting adjustment coefficient. K THD This is the harmonic weighting adjustment coefficient. Q set Set the value for the reactive power command. Q m This is the measured reactive power output value. U N This is the rated voltage value. U m This is the measured voltage value. THD iN The standard limit for harmonic current. THD im This represents the measured value of harmonic current distortion rate. PF m This is the measured power factor value at the charging pile connection point. Φ PF This is a power factor conditional function; the function value is 1 if the condition within the parentheses is met, and 0 otherwise. Φ U This is a voltage condition function. The function value is 1 if the condition in parentheses is met, and 0 otherwise.

11. The apparatus as claimed in claim 10, characterized in that, The constraints are as follows: In the above formula, Δu is the increment vector of the control variable, Δu min Let Δu be the vector of minimum increments of the control variables. max For the vector of maximum increments of control variables, u min Let u be the vector of minimum values ​​of the control variables. max For the vector of maximum values ​​of control variables, y min To output the vector of minimum values ​​of the variables, y max To output the vector of maximum values ​​of the variables, x min Let x be the vector of minimum values ​​of the state variables. max Let y be the vector of maximum values ​​of state variables, u be the control parameters of the charging pile, x be the electrical operation parameters of the charging pile on the grid side, and y be the output variable.

12. The apparatus as claimed in claim 11, characterized in that, The electrical operating parameters of the charging pile on the power grid side are as follows: The control parameters for the charging pile are as follows: The output variables are as follows: In the above formula, i d This represents the d-axis component of the AC side current of the grid-connected inverter. i q This represents the q-axis component of the AC side current of the grid-connected inverter. u dc This is the DC-side capacitor voltage. δ This refers to the virtual power angle in the virtual synchronous generator algorithm. ω For virtual angular velocity in the virtual synchronous generator algorithm, J This refers to the virtual inertia in the virtual synchronous generator algorithm. D For virtual damping in the virtual synchronous generator algorithm, k pQ These are the proportional parameters for the reactive power loop controller. k iQ These are the integral parameters of the reactive power loop controller. k pU For the proportional parameters of the voltage controller, k iU For the voltage controller integral parameters, k phn For the proportional parameters of the nth harmonic controller, k ihn For the nth harmonic controller integral parameters, Q out The inverter outputs reactive power in real time. U PCC This refers to the voltage amplitude at the inverter's grid connection point. THD IPCC denoted as the total harmonic distortion rate of the grid-side current, with T as the transpose.

13. A computer device, characterized in that, include: One or more processors; The processor is used to execute one or more programs; When the one or more programs are executed by the one or more processors, the method for optimizing control parameters of a charging pile with power quality regulation function as described in any one of claims 1 to 6 is implemented.

14. A computer-readable storage medium, characterized in that, It contains a computer program, which, when executed, implements the method for optimizing control parameters of a charging pile with power quality regulation function as described in any one of claims 1 to 6.