Converter synchronization method and device based on frequency difference between two sides of grid-connected point
By detecting the voltage and frequency on both sides of the grid connection point, calculating the voltage and frequency compensation values, and actively adjusting the inner loop input of the main power supply, the microgrid and the target grid are connected quickly and stably, solving the problem of complex and time-consuming synchronization strategies in existing technologies.
Patent Information
- Application Number
- CN202411131056.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-22
AI Technical Summary
Existing synchronization strategies are complex and time-consuming when microgrids are connected to the grid, resulting in unstable voltage and frequency, which affects equipment safety and grid connection success rate.
By detecting the voltage and frequency on both sides of the grid connection point, phase-locked loop processing is used to obtain the voltage and frequency difference, calculate the voltage and frequency compensation value, actively adjust the amplitude and phase angle of the inner loop input voltage of the main power supply until the difference is within the threshold, and close the switch to achieve grid connection.
It accelerates the synchronization process between the microgrid and the target grid, improves the stability and efficiency of grid connection, reduces voltage and frequency fluctuations, and ensures equipment safety.
Smart Images

Figure CN119010217A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic power technology or other related fields, and in particular to a method and a device for synchronizing a converter based on a frequency difference between two sides of a grid connection point. Background Art
[0002] In the field of electronic power technology, as the research on grid-forming control strategies continues to deepen, in order to improve the inertia and damping of traditional power grids, more and more power electronic equipment are connected to the grid using grid-forming control strategies. Unlike the traditional grid-following control strategy that connects microgrids to the grid through a phase-locked loop, the grid-forming voltage control strategy using virtual synchronous control often requires a synchronization process when connecting the microgrid to the grid. The purpose of synchronization is to adjust the voltage and phase angle of the microgrid itself so that the difference between the voltage and phase angle of the target grid is within the rated range, avoiding excessive impact voltage when the microgrid is connected to the target grid, which damages the power electronic equipment.
[0003] In the related art, the existing synchronization strategies are roughly divided into two categories: (1) The first type of synchronization strategy, by sampling the voltage and frequency on both sides of the grid connection point, generating a voltage compensation value through calculation, and directly inputting the voltage compensation value into the diesel generator or converter to adjust the voltage and frequency. When the voltage amplitude and phase angle on both sides of the grid connection point meet the requirements, the grid connection switch is closed. (2) The second type of synchronization strategy, only the voltage and frequency on both sides of the grid connection point are collected, without any calculation, and no parameters are sent to the diesel generator or power electronic equipment. Only when the voltage amplitude and phase angle on both sides of the grid connection point meet the requirements, the switch is closed. However, these two existing synchronization strategies have obvious disadvantages: Although the first type of synchronization strategy can actively adjust the voltage of the microgrid, the adjustment process is relatively complicated, and the voltage of the microgrid will fluctuate in frequency, thereby affecting the electrical equipment of the microgrid. In addition, if the voltage frequency is unstable during the adjustment process, the voltage and frequency of the microgrid will fluctuate repeatedly and cannot be successfully connected to the grid. The second type of synchronization strategy makes the microgrid voltage relatively stable during the synchronization process. However, since the voltage and frequency of the microgrid are not adjusted, the synchronization takes a long time and there will be a large difference in voltage amplitude, which can never meet the grid connection requirements and cannot be connected to the grid.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiment of the present invention provides a method and device for synchronizing a converter based on the frequency difference on both sides of a grid connection point, so as to at least solve the technical problems in the related art that the synchronization process is complicated and the synchronization takes a long time.
[0006] According to one aspect of an embodiment of the present invention, a method for synchronizing a converter based on a frequency difference on both sides of a grid-connected point is provided, which is applied to an AC microgrid system, including: using a controller in the AC microgrid system to detect voltages and frequencies on both sides of a grid-connected point, performing phase-locking processing on the voltages on both sides of the grid-connected point, and obtaining voltage amplitudes and phase angles on both sides of the grid-connected point, wherein the two sides of the grid-connected point are the AC microgrid side and the target grid side, respectively; when the difference in the voltage amplitudes on both sides is greater than a voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitudes on both sides; when the difference in the phase angles on both sides is greater than a phase angle threshold, Under the condition that the frequency compensation value is calculated according to the frequencies on both sides; the voltage compensation value and the frequency compensation value are input into the main power supply in the AC microgrid system, and the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply are adjusted; when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval time, the voltage amplitude and the phase angles on both sides of the grid connection point are re-detected, and when the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds, the target switch is closed to connect the AC microgrid into the target grid.
[0007] Optionally, the step of calculating a voltage compensation value based on the voltage amplitudes on both sides includes: obtaining a first control parameter and a second control parameter of a proportional controller in the AC microgrid system; inputting the voltage amplitudes on both sides, the first control parameter and the second control parameter into a first formula to obtain a voltage compensation value, wherein the voltage amplitudes on both sides include the voltage amplitude on the AC microgrid side and the voltage amplitude on the target grid side.
[0008] Optionally, the step of calculating the frequency compensation value based on the frequencies on both sides includes: obtaining a preset frequency difference; inputting the frequencies on both sides and the preset frequency difference into a second formula to obtain a frequency compensation value, wherein the frequencies on both sides include the frequency on the AC microgrid side and the frequency on the target grid side.
[0009] Optionally, the step of obtaining a preset frequency difference includes: inputting a phase angle threshold and a target interval duration into a third formula to obtain a preset frequency reference value; and generating a preset frequency difference based on the preset frequency reference value, wherein the preset frequency difference is less than or equal to the preset frequency reference value.
[0010] Optionally, the frequency compensation value is input into the main power supply in the AC microgrid system, and an active control strategy is used to adjust the inner loop input phase angle of the main power supply. The steps of the active control strategy include: obtaining a reference angular frequency, a preset active power reference value, and the active power output by the converter; obtaining the moment of inertia constant and the damping coefficient of the active control strategy; inputting the frequency compensation value into a fourth formula to obtain an angular frequency compensation value; inputting the angular frequency compensation value, the reference angular frequency, the preset active power reference value, the active power output by the converter, the moment of inertia constant, and the damping coefficient into a fifth formula, and adjusting the inner loop input angular frequency of the main power supply according to the fifth formula; inputting the inner loop input angular frequency into a sixth formula, and adjusting the inner loop input phase angle of the main power supply according to the sixth formula.
[0011] Optionally, the voltage compensation value is input into the main power supply in the AC microgrid system, and a reactive control strategy is used to adjust the inner-loop input voltage amplitude of the main power supply. The steps of the reactive control strategy include: obtaining a preset reactive power reference value, a reactive droop coefficient, a preset voltage reference value, and the reactive power output by the converter; inputting the preset reactive power reference value, the reactive droop coefficient, the preset voltage reference value, and the reactive power output by the converter into the seventh formula, and adjusting the inner-loop input voltage amplitude of the main power supply according to the seventh formula.
[0012] Optionally, the AC microgrid system includes a target power grid, a controller, a target switch, an energy storage system and a load, wherein the controller is used to detect the voltage and frequency on both sides of the grid connection point; the energy storage system includes a main power supply, the main power supply includes an energy storage battery and an inverter, the energy storage battery is used to provide a DC voltage, and the inverter is used to execute active control strategy and reactive control strategy.
[0013] According to another aspect of an embodiment of the present invention, there is also provided a converter synchronization device based on the frequency difference on both sides of the grid connection point, which is applied to an AC microgrid system, including: a detection unit, which is used to use a controller in the AC microgrid system to detect the voltage and frequency on both sides of the grid connection point, and perform phase-locking processing on the voltage on both sides of the grid connection point to obtain the voltage amplitude and phase angle on both sides of the grid connection point, wherein the two sides of the grid connection point are the AC microgrid side and the target grid side respectively; a calculation unit, which is used to calculate the voltage compensation value according to the voltage amplitude on both sides when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold; and a calculation unit, which is used to calculate the voltage compensation value according to the voltage amplitude on both sides when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold. In this case, a frequency compensation value is obtained according to the frequencies on both sides; an adjusting unit is used to input the voltage compensation value and the frequency compensation value into the main power supply in the AC microgrid system, and adjust the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply; a closing unit is used to re-detect the voltage amplitude and the phase angle on both sides of the grid connection point after waiting for a target interval time when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, and when the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds, close the target switch to connect the AC microgrid into the target grid.
[0014] Optionally, the calculation unit includes: a first acquisition module, used to obtain a first control parameter and a second control parameter of a proportional controller in the AC microgrid system; a first calculation module, used to input the voltage amplitudes on both sides, the first control parameter and the second control parameter into a first formula to obtain a voltage compensation value, wherein the voltage amplitudes on both sides include the voltage amplitude on the AC microgrid side and the voltage amplitude on the target grid side.
[0015] Optionally, the calculation unit also includes: a second acquisition module, used to obtain a preset frequency difference; a second calculation module, used to input the frequencies on both sides and the preset frequency difference into a second formula to obtain a frequency compensation value, wherein the frequencies on both sides include the frequency on the AC microgrid side and the frequency on the target grid side.
[0016] Optionally, the second acquisition module includes: an input submodule, used to input the phase angle threshold and the target interval duration into a third formula to obtain a preset frequency reference value; a generation submodule, used to generate a preset frequency difference based on the preset frequency reference value, wherein the preset frequency difference is less than or equal to the preset frequency reference value.
[0017] Optionally, the adjustment unit includes: a third acquisition module, used to obtain a reference angular frequency, a preset active power reference value, and the active power output by the converter; a fourth acquisition module, used to obtain the moment of inertia constant and the damping coefficient of the active control strategy; a third calculation module, used to input the frequency compensation value into a fourth formula to obtain an angular frequency compensation value; a fourth calculation module, used to input the angular frequency compensation value, the reference angular frequency, the preset active power reference value, the active power output by the converter, the moment of inertia constant, and the damping coefficient into a fifth formula, and adjust the inner loop input angular frequency of the main power supply according to the fifth formula; a first adjustment module, used to input the inner loop input angular frequency into a sixth formula, and adjust the inner loop input phase angle of the main power supply according to the sixth formula.
[0018] Optionally, the adjustment unit includes: a fifth acquisition module, used to obtain a preset reactive power reference value, a reactive droop coefficient, a preset voltage reference value and the reactive power output of the converter; a second adjustment module, used to input the preset reactive power reference value, the reactive droop coefficient, the preset voltage reference value and the reactive power output of the converter into a seventh formula, and adjust the inner loop input voltage amplitude of the main power supply according to the seventh formula.
[0019] Optionally, the AC microgrid system includes a target grid module, a controller module, a target switch module, an energy storage system module and a load module, wherein the controller module is used to detect the voltage and frequency on both sides of the grid connection point; the energy storage system module includes a main power submodule, the main power submodule includes an energy storage battery and an inverter, the energy storage battery is used to provide DC voltage, and the inverter is used to execute active control strategy and reactive control strategy.
[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned converter synchronization methods based on the frequency difference on both sides of the grid connection point.
[0021] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned methods for synchronizing the converter based on the frequency difference on both sides of the grid connection point.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of any one of the above-mentioned methods for synchronizing a converter based on the frequency difference on both sides of a grid connection point.
[0023] In the present disclosure, a controller in an AC microgrid system is used to detect the voltage and frequency on both sides of the grid connection point, and the voltage on both sides of the grid connection point is phase-locked to obtain the voltage amplitude and phase angle on both sides of the grid connection point. Then, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitude on both sides. When the difference between the phase angles on both sides is greater than the phase angle threshold, a frequency compensation value is calculated based on the frequencies on both sides. The voltage compensation value and the frequency compensation value are input into the main power supply in the AC microgrid system, and the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply are adjusted. Finally, when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and When the difference in the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval time, the voltage amplitudes and phase angles on both sides of the grid connection point are re-detected. When the new difference in the voltage amplitudes on both sides and the difference in the phase angles on both sides are both less than or equal to their respective corresponding thresholds, the target switch is closed to connect the AC microgrid to the target grid. The present invention actively adjusts the inner-loop input voltage amplitude and inner-loop input phase angle of the main power supply when the difference in the voltage amplitudes on both sides and the difference in the phase angles on both sides are greater than the corresponding thresholds, accelerates the time for the voltages on both sides and the phase angles on both sides to coincide, and realizes the grid connection of the microgrid through simple synchronization operations, thereby solving the technical problems of complex synchronization process and long synchronization time in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a flow chart of an optional converter synchronization method based on the frequency difference between two sides of the grid connection point according to an embodiment of the present invention;
[0026] Figure 2 is a structural diagram of an optional AC microgrid system according to an embodiment of the present invention;
[0027] Figure 3 is a schematic diagram of an optional converter synchronization method based on the frequency difference between two sides of the grid connection point according to an embodiment of the present invention;
[0028] Figure 4 is a schematic diagram of an optional converter synchronization device based on the frequency difference between two sides of the grid connection point according to an embodiment of the present invention;
[0029] Figure 5 The present invention is a hardware structure block diagram of an electronic device (or mobile device) for a method for synchronizing a converter based on a frequency difference between two sides of a grid connection point according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] It should be noted that the converter synchronization method based on the frequency difference on both sides of the grid connection point and the device thereof in the present disclosure can be used in the field of electronic power technology. When the converter synchronization is performed based on the frequency difference on both sides of the grid connection point, it can also be used in any field other than the field of electronic power technology. When the converter synchronization is performed based on the frequency difference on both sides of the grid connection point, the present disclosure does not limit the application field of the converter synchronization method based on the frequency difference on both sides of the grid connection point and the device thereof.
[0033] The following embodiments of the present invention can be applied to various systems / applications / devices for converter synchronization based on the frequency difference on both sides of the grid connection point. The present invention detects the voltage and frequency on both sides of the grid connection point to obtain the voltage amplitude and phase angle on both sides of the grid connection point, and calculates the voltage compensation value and the frequency compensation value. When the voltage amplitude difference and the phase angle difference on both sides are greater than the corresponding threshold value, the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply are actively adjusted to accelerate the time for the voltage and the phase angle on both sides to coincide, thereby realizing the grid connection of the microgrid through a simple synchronization operation, and reducing the time consumed by the synchronization process.
[0034] The present invention is described in detail below in conjunction with various embodiments.
[0035] Embodiment 1
[0036] According to an embodiment of the present invention, an embodiment of a method for synchronizing a converter based on a frequency difference on both sides of a grid connection point is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] Figure 1 is a flow chart of an optional converter synchronization method based on the frequency difference between the two sides of the grid connection point according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0038] Step S101, using a controller in the AC microgrid system to detect the voltage and frequency on both sides of the grid connection point, performing phase-locking processing on the voltage on both sides of the grid connection point, and obtaining the voltage amplitude and phase angle on both sides of the grid connection point, wherein the two sides of the grid connection point are the AC microgrid side and the target grid side respectively.
[0039] Step S102, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitudes on both sides; when the difference between the phase angles on both sides is greater than the phase angle threshold, a frequency compensation value is calculated based on the frequencies on both sides.
[0040] Step S103, inputting the voltage compensation value and the frequency compensation value into the main power supply in the AC microgrid system, and adjusting the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply.
[0041] Step S104, when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval, re-detect the voltage amplitudes and phase angles on both sides of the grid connection point, and when the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds, close the target switch and connect the AC microgrid to the target grid.
[0042] The steps provided by the inverter synchronization method based on the frequency difference on both sides of the grid connection point can be achieved by using a controller in the AC microgrid system to detect the voltage and frequency on both sides of the grid connection point, performing phase-locking processing on the voltage on both sides of the grid connection point, and obtaining the voltage amplitude and phase angle on both sides of the grid connection point. Then, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitude on both sides. When the difference between the phase angles on both sides is greater than the phase angle threshold, a frequency compensation value is calculated based on the frequencies on both sides. By inputting the voltage compensation value and the frequency compensation value into the main power supply in the AC microgrid system, adjusting the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply, and finally when the difference between the voltage amplitudes on both sides is less than the voltage amplitude threshold, the voltage compensation value is calculated based on the voltage amplitude on both sides. When the voltage amplitude is equal to the voltage amplitude threshold and the difference of the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval time, the voltage amplitude and the phase angles on both sides of the grid connection point are re-detected, and when the new difference of the voltage amplitudes on both sides and the difference of the phase angles on both sides are both less than or equal to their respective corresponding thresholds, the target switch is closed to connect the AC microgrid to the target grid. This embodiment actively adjusts the inner-loop input voltage amplitude and the inner-loop input phase angle of the main power supply when the difference of the voltage amplitudes on both sides and the difference of the phase angles on both sides are greater than the corresponding thresholds, accelerates the time for the voltages on both sides and the phase angles on both sides to coincide, and realizes the grid connection of the microgrid through simple synchronization operations, thereby solving the technical problems of complex synchronization process and long synchronization time in related technologies.
[0043] The embodiment of the present invention is described in detail below in combination with the above steps.
[0044] Step S101, using a controller in the AC microgrid system to detect the voltage and frequency on both sides of the grid connection point, performing phase-locking processing on the voltage on both sides of the grid connection point, and obtaining the voltage amplitude and phase angle on both sides of the grid connection point, wherein the two sides of the grid connection point are the AC microgrid side and the target grid side respectively.
[0045] The AC microgrid system is a local power system that includes distributed energy and battery energy storage equipment. It is different from the traditional large-scale power grid structure and is mainly used for regional power supply, such as small urban areas, bases, industrial parks and rural areas. The AC microgrid system can realize the interconnection between multiple power systems, promote the exchange and sharing of electricity, and is an important part of the energy Internet.
[0046] In an embodiment of the present invention, a controller in an AC microgrid system is used to detect the voltage and frequency on both sides of the grid connection point, and the voltage on both sides of the grid connection point is phase-locked to obtain the voltage amplitude and phase angle on both sides of the grid connection point. The obtained voltage amplitude, frequency, phase angle on the AC microgrid side and the target grid side voltage amplitude, frequency, and phase angle will be used in the subsequent calculation of voltage compensation values and frequency compensation values and in the step of judging whether the adjustment conditions are met.
[0047] Step S102, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitudes on both sides; when the difference between the phase angles on both sides is greater than the phase angle threshold, a frequency compensation value is calculated based on the frequencies on both sides.
[0048] In an embodiment of the present invention, when the difference in voltage amplitudes on both sides is greater than a voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitudes on both sides obtained in step S101, and when the difference in phase angles on both sides is greater than a phase angle threshold, a frequency compensation value is calculated based on the frequencies on both sides obtained in step S101. The voltage compensation value and the frequency compensation value will be used to input the main power supply in the AC microgrid system to adjust the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply, thereby accelerating the time for the voltages on both sides and the phase angles on both sides to coincide.
[0049] Optionally, the step of calculating a voltage compensation value based on the voltage amplitudes on both sides includes: obtaining a first control parameter and a second control parameter of a proportional controller in the AC microgrid system; inputting the voltage amplitudes on both sides, the first control parameter and the second control parameter into a first formula to obtain a voltage compensation value, wherein the voltage amplitudes on both sides include the voltage amplitude on the AC microgrid side and the voltage amplitude on the target grid side.
[0050] In the embodiment of the present invention, a proportional controller is used to calculate the voltage compensation value. The voltage amplitude on both sides, the first control parameter and the second control parameter are input into a first formula to calculate the voltage compensation value. The first formula is:
[0051]
[0052] In the first formula, U MG is the voltage amplitude at the AC microgrid side, U G is the target grid-side voltage amplitude, k p_u_com is the first control parameter of the proportional controller, k i_u_com is the second control parameter of the proportional controller, s is the Laplace operator, and the first control parameter and the second control parameter of the proportional controller are set automatically.
[0053] Optionally, the step of calculating the frequency compensation value based on the frequencies on both sides includes: obtaining a preset frequency difference; inputting the frequencies on both sides and the preset frequency difference into a second formula to obtain a frequency compensation value, wherein the frequencies on both sides include the frequency on the AC microgrid side and the frequency on the target grid side.
[0054] In the embodiment of the present invention, the frequency compensation value is calculated by inputting the difference between the frequencies on both sides and the preset frequency into a second formula, and the second formula is:
[0055] f com =f G -fMG -f presets
[0056] In the second formula, f presets is the preset frequency difference, f MG is the frequency of the AC microgrid side, f G is the target grid-side frequency. The preset frequency difference f presets It is usually obtained based on experience. In the embodiment of the present invention, the preset frequency difference value needs to meet the condition represented by the third formula, that is, the preset frequency difference value is less than or equal to the preset frequency reference value.
[0057] Optionally, the step of obtaining a preset frequency difference includes: inputting a phase angle threshold and a target interval duration into a third formula to obtain a preset frequency reference value; and generating a preset frequency difference based on the preset frequency reference value, wherein the preset frequency difference is less than or equal to the preset frequency reference value.
[0058] In the embodiment of the present invention, the preset frequency difference needs to satisfy the condition represented by the third formula, which is:
[0059]
[0060] In the third formula, θ thr is the phase angle threshold, t set The phase angle threshold and the target interval length are set by the user. In the embodiment of the present invention, the phase angle threshold θ thr Set it to 0.1rad and set the target interval time t set Set it to 0.1s, so we can get f presets ≤1.885. When this condition is met, the embodiment of the present invention sets the preset frequency difference f presets Set to 0.3Hz.
[0061] Step S103, inputting the voltage compensation value and the frequency compensation value into the main power supply in the AC microgrid system, and adjusting the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply.
[0062] In the embodiment of the present invention, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, the voltage compensation value calculated according to step S102 is input into the main power supply in the AC microgrid system, and the inner loop input voltage amplitude of the main power supply is adjusted. When the difference between the phase angles on both sides is greater than the phase angle threshold, the frequency compensation value is calculated according to step S102, the frequency compensation value is input into the main power supply in the AC microgrid system, and the inner loop input phase angle of the main power supply is adjusted. By actively adjusting the voltage and phase angle, the time for the voltage on both sides and the phase angle on both sides to coincide is accelerated.
[0063] Optionally, the frequency compensation value is input into the main power supply in the AC microgrid system, and an active control strategy is used to adjust the inner loop input phase angle of the main power supply. The steps of the active control strategy include: obtaining a reference angular frequency, a preset active power reference value, and the active power output by the converter; obtaining the moment of inertia constant and the damping coefficient of the active control strategy; inputting the frequency compensation value into a fourth formula to obtain an angular frequency compensation value; inputting the angular frequency compensation value, the reference angular frequency, the preset active power reference value, the active power output by the converter, the moment of inertia constant, and the damping coefficient into a fifth formula, and adjusting the inner loop input angular frequency of the main power supply according to the fifth formula; inputting the inner loop input angular frequency into a sixth formula, and adjusting the inner loop input phase angle of the main power supply according to the sixth formula.
[0064] The embodiment of the present invention adopts an active control strategy to adjust the inner loop input phase angle of the main power supply. First, the frequency compensation value is calculated according to step S102 by the fourth formula to obtain the angular frequency compensation value ω com , the fourth formula is:
[0065] ω com =2πf com
[0066] In the fourth formula, f com is the frequency compensation value.
[0067] The angular frequency compensation value ω is obtained com After that, the angular frequency compensation value, the reference angular frequency, the preset active power reference value, the active power output by the converter, the moment of inertia constant and the damping coefficient are input into the fifth formula, and the inner loop input angular frequency ω of the main power supply is adjusted according to the fifth formula. vsg , the fifth formula is:
[0068]
[0069] In the fifth formula, ω com is the angular frequency compensation value, ω0 is the reference angular frequency, P ref is the preset active power reference value, P vsg is the active power output by the converter, H vsg is the moment of inertia constant of the active power control strategy, D vsg is the damping coefficient of the active power control strategy, and s is the Laplace operator. Among them, the reference angular frequency, the preset active power reference value, the moment of inertia constant and the damping coefficient of the active power control strategy are all set by themselves.
[0070] The active power control strategy adjusts the inner loop input angular frequency of the main power supply according to the fifth formula, and then adjusts the inner loop input phase angle of the main power supply according to the sixth formula. The sixth formula is:
[0071]
[0072] In the sixth formula, ω vsg The embodiment of the present invention uses a controller to communicate with the main power supply, the controller sends a frequency compensation value, and inputs the frequency compensation value into the main power supply, and then the active control strategy can be used to adjust the inner loop input phase angle of the main power supply.
[0073] Optionally, the voltage compensation value is input into the main power supply in the AC microgrid system, and a reactive control strategy is used to adjust the inner-loop input voltage amplitude of the main power supply. The steps of the reactive control strategy include: obtaining a preset reactive power reference value, a reactive droop coefficient, a preset voltage reference value, and the reactive power output by the converter; inputting the preset reactive power reference value, the reactive droop coefficient, the preset voltage reference value, and the reactive power output by the converter into the seventh formula, and adjusting the inner-loop input voltage amplitude of the main power supply according to the seventh formula.
[0074] The embodiment of the present invention adopts a reactive power control strategy to adjust the inner loop input voltage amplitude of the main power supply, by inputting a preset reactive power reference value, a reactive droop coefficient, a preset voltage reference value, and the reactive power output by the converter into a seventh formula, and adjusting the inner loop input voltage amplitude of the main power supply according to the seventh formula, the seventh formula is:
[0075] U vsg =(Q ref -Q vsg ) q +U0+U com
[0076] In the sixth formula, Q ref is the preset reactive power reference value, k q is the reactive power droop coefficient, U0 is the preset voltage reference value, Q vsg is the reactive power output by the converter, U com is the voltage compensation value. Among them, the preset reactive power reference value, reactive droop coefficient and preset voltage reference value are all set by themselves. In the embodiment of the present invention, the controller and the main power supply are used to communicate, the controller sends the voltage compensation value, and the voltage compensation value is input into the main power supply. After that, the reactive control strategy can be used to adjust the inner loop input voltage amplitude of the main power supply.
[0077] Step S104, when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval, re-detect the voltage amplitudes and phase angles on both sides of the grid connection point, and when the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds, close the target switch and connect the AC microgrid to the target grid.
[0078] In an embodiment of the present invention, the condition for integrating the AC microgrid into the target power grid is that the difference in voltage amplitudes on both sides within the target interval is less than or equal to the voltage amplitude threshold and the difference in phase angles on both sides is less than or equal to the phase angle threshold, that is, when the difference in voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference in phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval, the voltage amplitudes and phase angles on both sides of the grid connection point are re-detected, and when the new difference in voltage amplitudes on both sides and the difference in phase angles on both sides are both less than or equal to their respective corresponding thresholds, the target switch is closed to integrate the AC microgrid into the target power grid, completing the entire synchronization process.
[0079] Optionally, the AC microgrid system includes a target grid, a controller, a target switch, an energy storage system, and a load.
[0080] Among them, the controller is used to detect the voltage and frequency on both sides of the grid connection point; the energy storage system includes a main power supply, the main power supply includes an energy storage battery and an inverter, the energy storage battery is used to provide DC voltage, and the inverter is used to execute active control strategy and reactive control strategy.
[0081] Figure 2 is a structural diagram of an optional AC microgrid system according to an embodiment of the present invention. Figure 2 In the embodiment of the present invention, the AC microgrid system includes a target grid, a controller, a target switch, an energy storage system and a load. The controller is used to detect the voltage and frequency on both sides of the grid connection point. The energy storage system includes a main power supply, which includes an energy storage battery and a converter. The energy storage battery is used to provide a DC voltage, and the converter is used to execute an active control strategy and a reactive control strategy. Figure 2 In, L f , C f and R f They are filter inductor, filter capacitor and filter resistor respectively, L vsg and R vsg is the inductance and resistance of the export line, s is the Laplace operator, U pwm is the modulation voltage. The controller sends the voltage compensation value U com And the angular frequency compensation value ω com , by adopting active control strategy, combined with angular frequency compensation value ω com , reference angular frequency ω0, preset active power reference value P ref , the active power P output by the converter vsg , moment of inertia constant H vsg And the damping coefficient D vsg Adjust the inner loop input angular frequency ω of the main power supply vsg and the inner loop input phase angle θ vsg , by adopting reactive power control strategy, combined with preset reactive power reference value Q ref , reactive power droop coefficient kq , preset voltage reference value U0 and the reactive power Q output by the converter vsg , adjust the inner loop input voltage amplitude U of the main power supply vsg .
[0082] Figure 3 is a schematic diagram of an optional converter synchronization method based on the frequency difference between two sides of the grid connection point according to an embodiment of the present invention, Figure 3 In the process, the voltage and frequency on both sides of the grid connection point are first detected, and then the voltage amplitude and phase angle on both sides of the grid connection point are obtained, and it is determined whether the difference between the voltage amplitude and the phase angle on both sides is less than or equal to the corresponding threshold value at the same time, that is, the condition "|U MG -U G |≤Voltage amplitude threshold U thr &|θ MG -θ G |≤Phase angle threshold θ thr " is true. If this condition is true, after waiting for the target interval, re-detect the voltage amplitude and phase angle on both sides of the grid connection point. When the difference between the new voltage amplitude and phase angle on both sides is less than or equal to their respective thresholds, close the target switch and connect the AC microgrid to the target grid. Under the condition "|U MG -U G |≤Voltage amplitude threshold U thr &|θ MG -θ G |≤Phase angle threshold θ thr " is not true, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, the voltage compensation value is calculated based on the voltage amplitudes on both sides. When the difference between the phase angles on both sides is greater than the phase angle threshold, the frequency compensation value is calculated based on the frequencies on both sides. The controller calculates and sends the voltage compensation value U com and frequency compensation value f com , adjust the inner loop input voltage amplitude and inner loop input phase angle of the main power supply, accelerate the time for the voltage and phase angle on both sides to coincide, and realize a fast and effective synchronization process of the microgrid.
[0083] This embodiment detects the voltage and frequency on both sides of the grid-connected point to obtain the voltage amplitude and phase angle on both sides of the grid-connected point, and calculates the voltage compensation value and the frequency compensation value. When the voltage amplitude difference and the phase angle difference on both sides are greater than the corresponding threshold values, the inner-loop input voltage amplitude and the inner-loop input phase angle of the main power supply are actively adjusted to accelerate the time for the voltage and the phase angle to coincide, thereby achieving the technical effect of completing the grid connection of the microgrid through simple synchronization operations and reducing the time consumed by the synchronization process.
[0084] The following is a detailed description in conjunction with another embodiment.
[0085] Embodiment 2
[0086] The converter synchronization device based on the frequency difference between two sides of the grid connection point provided in this embodiment includes multiple implementation units, and each implementation unit corresponds to each implementation step in the above-mentioned embodiment 1.
[0087] Figure 4 is a schematic diagram of an optional converter synchronization device based on the frequency difference between the two sides of the grid connection point according to an embodiment of the present invention, such as Figure 4 As shown, the converter synchronization device based on the frequency difference between the two sides of the grid connection point may include: a detection unit 40, a calculation unit 41, an adjustment unit 42, and a closing unit 43.
[0088] Among them, the detection unit 40 is used to use the controller in the AC microgrid system to detect the voltage and frequency on both sides of the grid connection point, perform phase-locking processing on the voltage on both sides of the grid connection point, and obtain the voltage amplitude and phase angle on both sides of the grid connection point, wherein the two sides of the grid connection point are the AC microgrid side and the target grid side respectively.
[0089] The calculation unit 41 is used to calculate the voltage compensation value according to the voltage amplitudes on both sides when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold; and to calculate the frequency compensation value according to the frequencies on both sides when the difference between the phase angles on both sides is greater than the phase angle threshold.
[0090] The regulating unit 42 is used to input the voltage compensation value and the frequency compensation value into the main power supply in the AC microgrid system, and regulate the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply.
[0091] The closing unit 43 is used to re-detect the voltage amplitudes and phase angles on both sides of the grid connection point after waiting for a target interval when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, and close the target switch to connect the AC microgrid into the target grid when the new difference between the voltage amplitudes and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds.
[0092] The above-mentioned converter synchronization device based on the frequency difference on both sides of the grid connection point can detect the voltage and frequency on both sides of the grid connection point by using the controller in the AC microgrid system through the detection unit 40, perform phase-locking processing on the voltage on both sides of the grid connection point, and obtain the voltage amplitude and phase angle on both sides of the grid connection point. Then, when the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, the calculation unit 41 calculates the voltage compensation value according to the voltage amplitude on both sides, and when the difference between the phase angles on both sides is greater than the phase angle threshold, the calculation unit 41 calculates the frequency compensation value according to the frequencies on both sides. The voltage compensation value and the frequency compensation value are input into the main power supply in the AC microgrid system through the adjustment unit 42, and the inner loop input voltage amplitude and the inner loop input phase angle of the main power supply are adjusted. Finally, the closing unit 41 is used to close the circuit breaker 41. 3 When the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval, the voltage amplitudes on both sides and the phase angles on both sides of the grid connection point are re-detected. When the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds, the target switch is closed to connect the AC microgrid to the target grid. This embodiment actively adjusts the inner loop input voltage amplitude and inner loop input phase angle of the main power supply when the difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are greater than the corresponding thresholds, accelerates the time for the voltages on both sides and the phase angles on both sides to coincide, and realizes the grid connection of the microgrid through a simple synchronization operation, thereby solving the technical problems of complex synchronization process and long synchronization time in the related technology.
[0093] Optionally, the calculation unit 41 includes: a first acquisition module, used to obtain the first control parameter and the second control parameter of the proportional controller in the AC microgrid system; a first calculation module, used to input the voltage amplitudes on both sides, the first control parameter and the second control parameter into a first formula to obtain a voltage compensation value, wherein the voltage amplitudes on both sides include the voltage amplitude on the AC microgrid side and the voltage amplitude on the target grid side.
[0094] Optionally, the calculation unit 41 also includes: a second acquisition module, used to obtain a preset frequency difference; a second calculation module, used to input the frequencies on both sides and the preset frequency difference into a second formula to obtain a frequency compensation value, wherein the frequencies on both sides include the frequency on the AC microgrid side and the frequency on the target grid side.
[0095] Optionally, the second acquisition module includes: an input submodule, used to input the phase angle threshold and the target interval duration into a third formula to obtain a preset frequency reference value; a generation submodule, used to generate a preset frequency difference based on the preset frequency reference value, wherein the preset frequency difference is less than or equal to the preset frequency reference value.
[0096] Optionally, the adjustment unit 42 includes: a third acquisition module, used to obtain a reference angular frequency, a preset active power reference value, and the active power output by the converter; a fourth acquisition module, used to obtain the moment of inertia constant and the damping coefficient of the active control strategy; a third calculation module, used to input the frequency compensation value into a fourth formula to obtain an angular frequency compensation value; a fourth calculation module, used to input the angular frequency compensation value, the reference angular frequency, the preset active power reference value, the active power output by the converter, the moment of inertia constant, and the damping coefficient into a fifth formula, and adjust the inner loop input angular frequency of the main power supply according to the fifth formula; a first adjustment module, used to input the inner loop input angular frequency into a sixth formula, and adjust the inner loop input phase angle of the main power supply according to the sixth formula.
[0097] Optionally, the adjustment unit 42 includes: a fifth acquisition module, used to obtain a preset reactive power reference value, a reactive droop coefficient, a preset voltage reference value and the reactive power output of the converter; a second adjustment module, used to input the preset reactive power reference value, the reactive droop coefficient, the preset voltage reference value and the reactive power output of the converter into a seventh formula, and adjust the inner loop input voltage amplitude of the main power supply according to the seventh formula.
[0098] Optionally, the AC microgrid system includes a target grid module, a controller module, a target switch module, an energy storage system module and a load module, wherein the controller module is used to detect the voltage and frequency on both sides of the grid connection point; the energy storage system module includes a main power submodule, the main power submodule includes an energy storage battery and an inverter, the energy storage battery is used to provide DC voltage, and the inverter is used to execute active control strategy and reactive control strategy.
[0099] The above-mentioned converter synchronization device based on the frequency difference on both sides of the grid connection point can also include a processor and a memory. The above-mentioned detection unit 40, calculation unit 41, adjustment unit 42, closing unit 43, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.
[0100] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the synchronization complexity and synchronization time can be reduced by adjusting the kernel parameters.
[0101] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0102] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for synchronizing the converter based on the frequency difference on both sides of the grid connection point in the above-mentioned embodiment 1.
[0103] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned embodiments of the method for synchronizing a converter based on the frequency difference on both sides of a grid connection point.
[0104] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the converter synchronization method based on the frequency difference on both sides of the grid connection point described in each embodiment of the present application.
[0105] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the converter synchronization method based on the frequency difference on both sides of the grid connection point described in each embodiment of the present application are implemented.
[0106] Figure 5 1 is a hardware structure block diagram of an electronic device (or mobile device) for a method for synchronizing a converter based on a frequency difference between two sides of a grid connection point according to an embodiment of the present invention. Figure 5 As shown, the electronic device may include one or more ( Figure 5 502a, 502b, ..., 502n are used to illustrate) processor 502 (processor 502 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), memory 504 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 5 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 5 More or fewer components as shown, or with Figure 5 Different configurations are shown.
[0107] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0108] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0109] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0110] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0111] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0113] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for synchronizing a converter based on the frequency difference between two sides of a grid connection point, characterized in that: Applied to AC microgrid systems, including: The controller in the AC microgrid system is used to detect the voltage and frequency on both sides of the grid connection point, and the voltage on both sides of the grid connection point is phase-locked to obtain the voltage amplitude and phase angle on both sides of the grid connection point, wherein the two sides of the grid connection point are the AC microgrid side and the target grid side respectively; When the difference between the voltage amplitudes on both sides is greater than the voltage amplitude threshold, a voltage compensation value is calculated based on the voltage amplitudes on both sides; when the difference between the phase angles on both sides is greater than the phase angle threshold, a frequency compensation value is calculated based on the frequencies on both sides; Inputting the voltage compensation value and the frequency compensation value into the main power supply in the AC microgrid system, and adjusting the inner loop input voltage amplitude and inner loop input phase angle of the main power supply; When the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, after waiting for the target interval time, the voltage amplitudes and the phase angles on both sides of the grid connection point are re-detected, and when the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds, the target switch is closed to connect the AC microgrid into the target grid.
2. The method according to claim 1, characterized in that The step of calculating the voltage compensation value according to the voltage amplitudes on both sides includes: Acquire a first control parameter and a second control parameter of a proportional controller in the AC microgrid system; The voltage amplitudes on both sides, the first control parameter and the second control parameter are input into a first formula to obtain the voltage compensation value, wherein the voltage amplitudes on both sides include the voltage amplitude on the AC microgrid side and the voltage amplitude on the target grid side.
3. The method according to claim 1, characterized in that The step of calculating the frequency compensation value according to the frequencies on both sides includes: Get the preset frequency difference; The frequency on both sides and the preset frequency difference are input into a second formula to obtain the frequency compensation value, wherein the frequency on both sides includes the frequency on the AC microgrid side and the frequency on the target grid side.
4. The method according to claim 3, characterized in that: The steps of obtaining the preset frequency difference include: Inputting the phase angle threshold and the target interval duration into a third formula to obtain a preset frequency reference value; The preset frequency difference is generated based on the preset frequency reference value, wherein the preset frequency difference is less than or equal to the preset frequency reference value.
5. The method according to claim 1, characterized in that The frequency compensation value is input into the main power supply in the AC microgrid system, and an active power control strategy is adopted to adjust the inner loop input phase angle of the main power supply. The steps of the active power control strategy include: Obtaining a reference angular frequency, a preset active power reference value, and active power output by the converter; Obtaining the moment of inertia constant and damping coefficient of the active power control strategy; Inputting the frequency compensation value into a fourth formula to obtain an angular frequency compensation value; Input the angular frequency compensation value, the reference angular frequency, the preset active power reference value, the active power output by the converter, the moment of inertia constant and the damping coefficient into a fifth formula, and adjust the inner loop input angular frequency of the main power supply according to the fifth formula; The inner loop input angular frequency is input into a sixth formula, and the inner loop input phase angle of the main power supply is adjusted according to the sixth formula.
6. The method according to claim 1, characterized in that The voltage compensation value is input into the main power supply in the AC microgrid system, and a reactive power control strategy is used to adjust the inner loop input voltage amplitude of the main power supply. The reactive power control strategy includes the following steps: Obtaining a preset reactive power reference value, a reactive droop coefficient, a preset voltage reference value, and reactive power output by the converter; The preset reactive power reference value, the reactive droop coefficient, the preset voltage reference value and the reactive power output by the converter are input into a seventh formula, and the inner loop input voltage amplitude of the main power supply is adjusted according to the seventh formula.
7. The method according to claim 1, characterized in that include: The AC microgrid system includes the target grid, the controller, the target switch, an energy storage system and a load, wherein: The controller is used to detect the voltage and frequency on both sides of the grid connection point; The energy storage system includes the main power supply, and the main power supply includes an energy storage battery and a converter. The energy storage battery is used to provide a DC voltage, and the converter is used to execute an active control strategy and a reactive control strategy.
8. A converter synchronization device based on the frequency difference on both sides of the grid connection point, characterized in that: include: A detection unit is used to detect the voltage and frequency on both sides of the grid connection point by using the controller in the AC microgrid system, and perform phase-locking processing on the voltage on both sides of the grid connection point to obtain the voltage amplitude and phase angle on both sides of the grid connection point, wherein the two sides of the grid connection point are the AC microgrid side and the target grid side respectively; A calculation unit, configured to obtain a voltage compensation value by calculating the voltage amplitudes on both sides when the difference between the voltage amplitudes on both sides is greater than a voltage amplitude threshold; and to obtain a frequency compensation value by calculating the frequency on both sides when the difference between the phase angles on both sides is greater than a phase angle threshold; An adjusting unit, used for inputting the voltage compensation value and the frequency compensation value into a main power supply in the AC microgrid system, and adjusting an inner loop input voltage amplitude and an inner loop input phase angle of the main power supply; A closing unit is used to re-detect the voltage amplitudes and phase angles on both sides of the grid connection point after waiting for a target interval time when the difference between the voltage amplitudes on both sides is less than or equal to the voltage amplitude threshold and the difference between the phase angles on both sides is less than or equal to the phase angle threshold, and to close the target switch to connect the AC microgrid into the target grid when the new difference between the voltage amplitudes on both sides and the difference between the phase angles on both sides are both less than or equal to their respective corresponding thresholds.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the converter synchronization method based on the frequency difference on both sides of the grid connection point as described in any one of claims 1 to 7.
10. An electronic device, characterized in that: It comprises one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the converter synchronization method based on the frequency difference on both sides of the grid connection point as described in any one of claims 1 to 7.
