Power impact suppression method and device and electronic equipment

CN119010227APending Publication Date: 2024-11-22GUANGDONG DIANWANG GONGSI YUNFU POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411123675.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When the emergency power supply vehicle changes sharply in a short period of time, the generator is susceptible to impact, resulting in overload, voltage fluctuations or frequency fluctuations, affecting normal operation, and may even lead to equipment failure or shutdown. The existing technology has not effectively solved this problem.

Method used

By obtaining the initial voltage and current value of the load, calculating the active power and filtering, determining whether there is a power shock phenomenon, using the inverter's current closed-loop control system for power compensation, adjusting the current reference value to suppress power shock, and ensuring the generator Working normally.

Benefits of technology

It effectively suppresses the power impact of the generator, ensures the normal operation of the generator, and avoids overload and voltage fluctuations caused by sharp load changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010227A_ABST
    Figure CN119010227A_ABST
Patent Text Reader

Abstract

The invention discloses a power impact suppression method and device and electronic equipment. Relates to the power system field. The method comprises the following steps: acquiring an initial voltage value and an initial current value of a load, and calculating the initial active power of the load according to the initial voltage value and the initial current value; filtering the initial active power to obtain target active power, and calculating impact power of the load according to the target active power; acquiring voltages at two ends of the inverter, acquiring a voltage phase of the target generator, and calculating an incremental current of the load according to the voltages at the two ends, the voltage phase and the impact power; and judging whether the load has a power impact phenomenon or not according to the incremental current, and changing a current reference value in a current closed-loop control system of the inverter into the incremental current under the condition that the load has the power impact phenomenon. According to the invention, the problem that the normal operation of the generator is affected due to the impact on the generator when the load of the power grid changes sharply in a short time in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power systems, and in particular to a method, device and electronic equipment for suppressing power surges. Background Art

[0002] Emergency power supply vehicles are flexible, low in investment, easy to use and maintain, and highly adaptable to the environment, and play an important role in improving the continuity of power supply. Diesel generators have the advantages of long power supply time, not being affected by battery capacity, and moderate manufacturing price. They can provide emergency power supply support for a long time at a low cost, and are the power supply medium for most emergency power supply vehicles.

[0003] However, in actual applications, the working scenario of emergency power supply vehicles is mainly residential loads. Compared with industrial loads, residential loads rarely have power shocks to diesel generators due to motor start and stop. However, there are still loads such as elevators. When the elevator traction motor starts, it will generate a large impact power in a short period of time, which is easy to have an adverse effect on the operation of the generator. That is, when the grid load changes drastically in a short period of time, the generator will be impacted, which is easy to cause overload, voltage fluctuations or frequency fluctuations, thereby damaging the normal operation of the generator and may even cause equipment failure or shutdown.

[0004] With regard to the problem in the related art that when the grid load changes drastically in a short period of time, the generator will be impacted, affecting the normal operation of the generator, no effective solution has been proposed so far. Summary of the invention

[0005] The present application provides a power shock suppression method, device and electronic equipment to solve the problem in the related art that when the grid load changes drastically in a short period of time, the generator will be shocked, affecting the normal operation of the generator.

[0006] According to one aspect of the present application, a method for suppressing power impact is provided. The method includes: obtaining an initial voltage value and an initial current value of a load, and calculating the initial active power of the load according to the initial voltage value and the initial current value; filtering the initial active power to obtain a target active power, and calculating the impact power of the load according to the target active power; obtaining the voltage at both ends of the inverter, and obtaining the voltage phase of the target generator, and calculating the incremental current of the load according to the voltage at both ends, the voltage phase and the impact power, wherein the target generator is used to supply power to the load; judging whether the load has a power impact phenomenon according to the incremental current, and changing the current reference value in the current closed-loop control system of the inverter to the incremental current when the load has a power impact phenomenon, wherein the load is connected to the inverter, the inverter is used to suppress the power impact phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

[0007] Optionally, before obtaining the initial voltage value and initial current value of the load, the method also includes: determining whether the target generator has completed startup, and sending a first instruction to the inverter when the target generator has completed startup, wherein the first instruction is used to instruct the inverter to change from a constant voltage and constant frequency control mode to a current closed-loop control mode; after issuing the first instruction, controlling the timer to start timing, and when the time recorded in the timer reaches a preset time, issuing a second instruction, wherein the second instruction is used to instruct the execution of an operation to obtain the initial voltage value and initial current value of the load.

[0008] Optionally, calculating the initial active power of the load based on the initial voltage value and the initial current value includes: performing a Park transformation on the initial voltage value to obtain a voltage DC component; performing a Park transformation on the initial current value to obtain a current DC component; and calculating the initial active power based on the voltage DC component and the current DC component.

[0009] Optionally, calculating the impact power of the load based on the target active power includes: obtaining the target active power at the target moment, and obtaining the historical active power at the historical moment, wherein the difference between the historical moment and the target moment is a first preset time length; subtracting the historical active power from the target active power to obtain the impact power.

[0010] Optionally, the voltage at both ends of the inverter is obtained, and the voltage phase of the target generator is obtained, and the incremental current of the load is calculated based on the voltage at both ends, the voltage phase and the impact power, including: performing a Park transformation on the voltage at both ends according to the voltage phase to obtain the positive-sequence DC component of the voltage at both ends; dividing the impact power and the positive-sequence DC component to obtain the incremental current.

[0011] Optionally, judging whether the load has a power shock phenomenon based on the incremental current includes: judging whether the incremental current is less than a preset current; determining that the load has a power shock phenomenon when the incremental current is greater than or equal to the preset current; and determining that the load does not have a power shock phenomenon when the incremental current is less than the preset current.

[0012] Optionally, after changing the current reference value in the current closed-loop control system of the inverter to the incremental current, the method further includes: determining the moment to execute the step of changing the current reference value in the current closed-loop control system of the inverter to the incremental current, obtaining a first moment, and starting timing; when reaching a second moment, disconnecting the connection between the load and the inverter, wherein the time difference between the second moment and the first moment is a second preset duration.

[0013] Optionally, disconnecting the load from the inverter includes: obtaining a target step function of the inverter's output current, and calculating a variation function of the inverter's output current based on the target step function and the incremental current; and changing the inverter's output current based on the variation function until the output current is zero.

[0014] According to another aspect of the present application, a power impact suppression device is provided. The device includes: a first calculation unit, which is used to obtain the initial voltage value and initial current value of the load, and calculate the initial active power of the load according to the initial voltage value and initial current value; a filtering unit, which is used to filter the initial active power to obtain the target active power, and calculate the impact power of the load according to the target active power; a second calculation unit, which is used to obtain the voltage at both ends of the inverter, and obtain the voltage phase of the target generator, and calculate the incremental current of the load according to the voltage at both ends, the voltage phase and the impact power, wherein the target generator is used to supply power to the load; a change unit, which is used to determine whether the load has a power impact phenomenon according to the incremental current, and when the load has a power impact phenomenon, change the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power impact phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

[0015] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, a power shock suppression method in the present application is implemented.

[0016] According to another aspect of the present invention, an electronic device is provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein a method for suppressing power shock is executed when the computer-readable instructions are executed.

[0017] Through the present application, the following steps are adopted: obtaining the initial voltage value and initial current value of the load, and calculating the initial active power of the load according to the initial voltage value and initial current value; filtering the initial active power to obtain the target active power, and calculating the impact power of the load according to the target active power; obtaining the voltage at both ends of the inverter, and obtaining the voltage phase of the target generator, and calculating the incremental current of the load according to the voltage at both ends, the voltage phase and the impact power, wherein the target generator is used to supply power to the load; judging whether the load has a power impact phenomenon according to the incremental current, and when the load has a power impact phenomenon, changing the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power impact phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter. The problem that the generator will be impacted and affect the normal operation of the generator when the power grid load changes sharply in a short period of time in the related art is solved. Whether a power shock occurs is determined by detecting the initial voltage value and initial current value of the load. When a power shock occurs, the output power of the inverter is changed by adjusting the current reference value in the current closed-loop control system of the inverter, and power compensation is performed through the inverter, thereby suppressing the power shock received by the generator and achieving the technical effect of ensuring the normal operation of the generator. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 is a flow chart of a method for suppressing power shocks provided in an embodiment of the present application;

[0020] Figure 2 is a schematic diagram of a method for generating a variation function optionally provided according to an embodiment of the present application;

[0021] Figure 3 is a flow chart of an optional method for suppressing power shocks provided according to an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of a power impact suppression device provided according to an embodiment of the present application;

[0023] Figure 5 It is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] It should be noted that the power shock suppression method, device and electronic device determined in the present disclosure can be used in the field of power systems, and can also be used in any field other than the field of power systems. The application field of the power shock suppression method, device and electronic device determined in the present disclosure is not limited.

[0028] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated. Corresponding operation portals are provided for users to choose to authorize or refuse to use. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0029] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0030] Diesel generator: a power generation equipment that uses diesel as fuel. It generates heat energy by burning diesel, drives the generator to rotate, and thus generates electricity. It has the advantages of fast start-up, stable operation, and simple maintenance. It is widely used in various fields.

[0031] Energy storage inverter: a device used to convert electrical energy into other forms and store it. Its main function is to convert DC power into AC power or other forms of power so that it can be released for power supply when needed.

[0032] Phase-Locked Loop (PLL) is an electronic circuit used to lock the phase and frequency of an input signal to the phase and frequency of a reference signal.

[0033] Parker transformation: also known as dq transformation, is used to convert the AC quantity in the three-phase stationary coordinate system (abc coordinate system) into the DC quantity in the two-phase rotating coordinate system (dq coordinate system), thereby simplifying the analysis and control process.

[0034] Sliding window filtering: It is a signal processing method that smoothes the signal and removes noise by performing moving window processing on the data in the signal. In sliding window filtering, the window size is a key parameter that determines the amount of data processed each time. By calculating the average or weighted average of the data in the window, the noise in the signal can be effectively removed and the main features of the signal can be retained.

[0035] According to an embodiment of the present application, a method for suppressing power shock is provided.

[0036] Figure 1 FIG. 1 is a flow chart of a method for suppressing power surges according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0037] Step S101, obtaining an initial voltage value and an initial current value of the load, and calculating the initial active power of the load according to the initial voltage value and the initial current value.

[0038] Specifically, the load may be a load device that needs to be powered, such as an elevator. When determining whether an inverter is required to suppress impact power, it is necessary to first obtain the initial voltage value and initial current value of the load, and calculate the active power of the load based on the initial voltage value and the initial current value. Then, based on the change in active power, it is determined whether there is a power impact, and further whether a power impact suppression operation is required.

[0039] Step S102, filtering the initial active power to obtain the target active power, and calculating the impact power of the load according to the target active power.

[0040] Specifically, after obtaining the initial active power, the active power P needs to be subjected to sliding window filtering to eliminate the influence of unbalanced load on load power calculation, thereby obtaining the target active power P O , and then further according to the target active power P O Calculate the load impact power P according to the change of pulse , and then according to the impact power P pulse Determine whether power surge suppression is required.

[0041] Step S103, obtaining the voltage across the inverter, and obtaining the voltage phase of the target generator, and calculating the incremental current of the load according to the voltage across the inverter, the voltage phase and the impact power, wherein the target generator is used to supply power to the load.

[0042] Specifically, after the impact power is obtained, the voltage across the inverter can be obtained, and the phase ωt of the output voltage of the target generator can be obtained through the phase-locked loop. The -ωt obtained by inverting the phase is input into the dq conversion link to convert the voltage U across the inverter. m Perform dq decoupling to obtain the positive sequence d-axis component of the voltage across the inverter

[0043] It should be noted that the phase of the target generator and the inverter has been used to complete the phase-locked operation, that is, the voltage phase of the inverter is consistent with the phase of the target generator, and a phase-locked loop can be used to perform a phase-locked operation so that the voltage phase of the inverter is consistent with the phase of the target generator.

[0044] Furthermore, the positive sequence d-axis component of the inverter is obtained After that, we can calculate the positive sequence d-axis component The incremental current of the load is calculated by calculating the impact power.

[0045] Step S104, judging whether the load has a power shock phenomenon according to the incremental current, and changing the current reference value in the current closed-loop control system of the inverter to the incremental current when the load has a power shock phenomenon, wherein the load is connected to the inverter, the inverter is used to suppress the power shock phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

[0046] Specifically, after obtaining the incremental current, it is possible to determine whether a power shock phenomenon exists based on the size of the incremental current. When the incremental current is large, it is determined that a power shock phenomenon exists. At this time, it is necessary to change the current reference value in the current closed-loop control system of the inverter so that the current value output by the current closed-loop control system increases, thereby increasing the output power of the inverter. By increasing the output power of the inverter, power compensation is achieved, thereby reducing the power shock received by the generator, and achieving the technical effect of ensuring the normal operation of the generator.

[0047] The power shock suppression method provided in the embodiment of the present application is to obtain the initial voltage value and the initial current value of the load, and calculate the initial active power of the load according to the initial voltage value and the initial current value; filter the initial active power to obtain the target active power, and calculate the shock power of the load according to the target active power; obtain the voltage at both ends of the inverter, and obtain the voltage phase of the target generator, and calculate the incremental current of the load according to the voltage at both ends, the voltage phase and the shock power, wherein the target generator is used to supply power to the load; judge whether the load has a power shock phenomenon according to the incremental current, and when the load has a power shock phenomenon, change the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power shock phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter. The problem that the generator will be shocked and affect the normal operation of the generator when the power grid load changes sharply in a short time in the related art is solved. Whether a power shock occurs is determined by detecting the initial voltage value and initial current value of the load. When a power shock occurs, the output power of the inverter is changed by adjusting the current reference value in the current closed-loop control system of the inverter, and power compensation is performed through the inverter, thereby suppressing the power shock received by the generator and achieving the technical effect of ensuring the normal operation of the generator.

[0048] Optionally, in the power shock suppression method provided in an embodiment of the present application, before obtaining the initial voltage value and the initial current value of the load, the method also includes: determining whether the target generator has completed startup, and sending a first instruction to the inverter when the target generator has completed startup, wherein the first instruction is used to instruct the inverter to change from a constant voltage and constant frequency control mode to a current closed-loop control mode; after issuing the first instruction, controlling the timer to start timing, and when the time recorded in the timer reaches a preset time, issuing a second instruction, wherein the second instruction is used to instruct the execution of an operation to obtain the initial voltage value and the initial current value of the load.

[0049] Specifically, since it takes time to start the generator, the emergency power supply vehicle distribution system first responds quickly to the energy storage inverter during the startup of the diesel generator, and adopts a constant voltage and constant frequency control method to temporarily provide frequency and voltage for the load to support load operation. After the diesel generator completes the startup process, the emergency power supply mode is smoothly switched from the energy storage inverter temporarily carrying the load to the diesel generator carrying the load for a long time. At this time, it is necessary to send a first instruction to the inverter to change the inverter from the constant voltage and constant frequency control mode to the current closed-loop control mode, so that the inverter completes the power compensation operation.

[0050] Furthermore, since switching the operating mode of the inverter requires switching time, the generator is required to supply power by itself within a preset time period, and after the preset time period, the inverter completes the state switching. At this time, it is necessary to obtain the initial voltage value and initial current value of the load to determine whether it is necessary to perform a power shock suppression operation through the inverter.

[0051] Optionally, in the power shock suppression method provided in an embodiment of the present application, calculating the initial active power of the load based on the initial voltage value and the initial current value includes: performing a Park transformation on the initial voltage value to obtain a voltage DC component; performing a Park transformation on the initial current value to obtain a current DC component; and calculating the initial active power based on the voltage DC component and the current DC component.

[0052] Specifically, when calculating the initial active power, it can be calculated by the following formula (1):

[0053]

[0054] Among them, P is the initial active power, Q is the initial reactive power, v od is the initial voltage value V O The DC component in the d-axis direction, v oq is the initial voltage value V O The AC component in the q-axis direction, i od is the initial current value I O The DC component in the d-axis direction, i oq is the initial current value I O The AC component in the q-axis direction.

[0055] After the initial voltage value and the initial current value are obtained, the initial active power P can be calculated according to the above formula (1).

[0056] Optionally, in the power shock suppression method provided in the embodiment of the present application, calculating the shock power of the load according to the target active power includes: obtaining the target active power at the target moment, and obtaining the historical active power at the historical moment, wherein the difference between the historical moment and the target moment is a first preset time length; subtracting the historical active power from the target active power to obtain the shock power.

[0057] Specifically, when calculating the impact power, since the impact power is a power that changes greatly in a short period of time, the target active power at the target moment can be obtained, and the historical active power at the historical moment before the first preset time length can be obtained, and the difference between the historical active power and the target active power is calculated, so as to determine the difference as the impact power. The calculation formula is shown in formula (2):

[0058] P pulse =P o1 -P o (2)

[0059] Among them, the target active power is P O , the historical active power is P O1 , the impact power is P pulse .

[0060] Optionally, in the power shock suppression method provided in the embodiment of the present application, the voltage at both ends of the inverter is obtained, and the voltage phase of the target generator is obtained, and the incremental current of the load is calculated according to the voltage at both ends, the voltage phase and the shock power, including: performing a Park transformation on the voltage at both ends according to the voltage phase to obtain the positive-sequence DC component of the voltage at both ends; dividing the shock power and the positive-sequence DC component to obtain the incremental current.

[0061] Specifically, when determining the incremental current, it is necessary to perform a Park transformation on the voltage at both ends of the inverter to obtain the positive sequence DC component. The transformation process is as follows: the phase ωt of the output voltage of the diesel generator is obtained by using a phase-locked loop, and the -ωt obtained by inverting the phase is input into the dq transformation link to transform the voltage U at both ends of the inverter. m Perform dq decoupling to obtain the positive sequence d-axis component of the voltage across the inverter

[0062] Furthermore, after obtaining the positive sequence DC component of the voltage across the inverter, the impact power and the positive sequence DC component can be calculated by formula (3) to obtain the incremental current I pulse .

[0063]

[0064] In order to accurately determine whether there is a power shock phenomenon, optionally, in the power shock suppression method provided in the embodiment of the present application, determining whether the load has a power shock phenomenon based on the incremental current includes: determining whether the incremental current is less than a preset current; when the incremental current is greater than or equal to the preset current, determining that the load has a power shock phenomenon; when the incremental current is less than the preset current, determining that the load does not have a power shock phenomenon.

[0065] Specifically, after obtaining the incremental current, it is necessary to compare the incremental current with the preset current. When the incremental current is greater than or equal to the preset current, it indicates that the current at both ends of the load is too large at the current moment, that is, it is determined that the load has a power shock phenomenon, and a power shock suppression operation needs to be performed. When the incremental current is less than the preset current, it indicates that the current at both ends of the load is normal at the current moment, that is, it is determined that the load does not have a power shock phenomenon, and there is no need to perform a power shock suppression operation, thereby ensuring accurate judgment of whether there is a power shock phenomenon.

[0066] For example, judging I pulse Is it greater than or equal to 5A? If yes, it is considered that power shock occurs, otherwise it is considered that power shock does not occur. At this time, the inverter control mode is current closed-loop control. If it is judged that power shock occurs, the reference quantity of the positive sequence d-axis control loop is switched to I pulse , control the energy storage inverter for compensation.

[0067] Optionally, in the power shock suppression method provided in an embodiment of the present application, after changing the current reference value in the current closed-loop control system of the inverter to an incremental current, the method further includes: determining the moment of executing the step of changing the current reference value in the current closed-loop control system of the inverter to an incremental current, obtaining a first moment, and starting timing; when a second moment is reached, disconnecting the connection between the load and the inverter, wherein the time difference between the second moment and the first moment is a second preset duration.

[0068] Specifically, since the duration of the impact power is short, the generator is still needed to supply power to the load alone after the inverter performs power compensation. At this time, the connection between the inverter and the load needs to be disconnected and reconnected when power compensation is needed next time. Therefore, when executing the step of changing the current reference value in the current closed-loop control system of the inverter to the incremental current, timing is required, and when the second moment is reached, the connection between the load and the inverter is disconnected to complete the power compensation operation of the inverter.

[0069] Optionally, in the power shock suppression method provided in an embodiment of the present application, disconnecting the connection between the load and the inverter includes: obtaining a target step function of the output current of the inverter, and calculating a change function of the output current of the inverter based on the target step function and the incremental current; and changing the output current of the inverter according to the change function until the output current is zero.

[0070] Specifically, when disconnecting the connection between the load and the inverter, in order to reduce power fluctuations during the switching process, the sudden change process of the reference quantity in the current closed-loop control method can be regarded as a step function, and the step function can be smoothed to ensure a smooth change in power.

[0071] first, Figure 2 is a schematic diagram of a method for generating a variable function according to an embodiment of the present application, such as Figure 2 As shown, the incremental current I before the impulse power smoothing link exits pulse As the reference quantity in the current closed-loop control mode, the reference quantity is multiplied by the step function and then passes through an integration link, thereby changing the sudden change process of the reference quantity (step function) into a gradual change process (ramp function).

[0072] It should be noted that the target step function refers to an ideal model of the expected inverter output current changing over time, which is to suddenly jump from one value to another value (such as jumping from 0 to a set value) at a certain point in time, and keep this new value unchanged until the next jump point. This model is used to guide the adjustment direction of the inverter output current. The incremental current refers to the amount by which the inverter output current needs to be adjusted. The variation function is to calculate the incremental current at each time point by comparing the target step function with the current output current, and then based on these incremental currents, the specific function of the inverter output current changing over time can be derived. This function describes how the inverter output current gradually approaches the expected current value indicated by the target step function.

[0073] Furthermore, after obtaining the change function of the inverter output current, the output current of the inverter can be gradually adjusted according to this function, and the adjustment process can be achieved by changing the control signal of the inverter (such as the duty cycle of the signal). As the adjustment proceeds, the output current of the inverter will gradually approach and eventually reach the desired current value indicated by the target step function. That is, the target step function will eventually indicate a zero current value, and the control process will continue until the output current of the inverter is indeed reduced to zero, thereby completing the operation of cutting off the connection between the inverter and the load.

[0074] Figure 3 is a flow chart of an optional method for suppressing power surges provided according to an embodiment of the present application, such as Figure 3As shown, firstly, the voltage and current values ​​of the load are measured, and the active power P of the load is calculated according to the voltage and current values, and the active power P is subjected to sliding window filtering to obtain the filtered load power P0, and the load power P of the load 1s ago is obtained. 01 , at this time, calculate P0 and P 01 The difference between the voltage and the impulse power is obtained, and the current surge value I is calculated based on the generator voltage value and the impulse power. pulse .

[0075] Further, it is determined whether the current surge is greater than 5A. If it is less than 5A, no compensation is performed. If it is greater than 5A, compensation is performed. It is also determined whether the compensation duration is greater than 1s. If it is less than 1s, it indicates that compensation is being performed. The reference value of the positive sequence d-axis control loop needs to be switched to I pulse , control the energy storage inverter to perform compensation, and gradually reduce the current reference value of the inverter when it is greater than 1s, thereby smoothly exiting the power compensation operation and completing the power compensation operation of the generator.

[0076] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0077] The embodiment of the present application also provides a power impact suppression device. It should be noted that the power impact suppression device of the embodiment of the present application can be used to execute the power impact suppression method provided in the embodiment of the present application. The power impact suppression device provided in the embodiment of the present application is introduced below.

[0078] Figure 4 Schematic diagram of a power surge suppression device provided according to an embodiment of the present application. Figure 4 As shown, the device includes: a first calculation unit 41, a filtering unit 42, a second calculation unit 43, and a changing unit 44.

[0079] The first calculation unit 41 is used to obtain an initial voltage value and an initial current value of the load, and calculate the initial active power of the load according to the initial voltage value and the initial current value.

[0080] The filtering unit 42 is used to filter the initial active power to obtain the target active power, and calculate the impact power of the load according to the target active power.

[0081] The second calculation unit 43 is used to obtain the voltage across the inverter and the voltage phase of the target generator, and calculate the incremental current of the load according to the voltage across the inverter, the voltage phase and the impact power, wherein the target generator is used to supply power to the load.

[0082] The changing unit 44 is used to determine whether the load has a power shock phenomenon based on the incremental current, and when the load has a power shock phenomenon, change the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power shock phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

[0083] The power shock suppression device provided in the embodiment of the present application obtains the initial voltage value and the initial current value of the load through the first calculation unit 41, and calculates the initial active power of the load according to the initial voltage value and the initial current value; the filtering unit 42 filters the initial active power to obtain the target active power, and calculates the shock power of the load according to the target active power; the second calculation unit 43 obtains the voltage at both ends of the inverter, and obtains the voltage phase of the target generator, and calculates the incremental current of the load according to the voltage at both ends, the voltage phase and the shock power, wherein the target generator is used to supply power to the load; the changing unit 44 determines whether the load has a power shock phenomenon according to the incremental current, and when the load has a power shock phenomenon, changes the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power shock phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter. The invention solves the problem in the related art that when the grid load changes sharply in a short period of time, the generator will be impacted, affecting the normal operation of the generator. It determines whether a power impact phenomenon occurs by detecting the initial voltage value and the initial current value of the load, and when a power impact phenomenon occurs, changes the output power of the inverter by adjusting the current reference value in the current closed-loop control system of the inverter, and then performs power compensation through the inverter, thereby suppressing the power impact received by the generator, and achieving the technical effect of ensuring the normal operation of the generator.

[0084] Optionally, in the power shock suppression device provided in the embodiment of the present application, before obtaining the initial voltage value and the initial current value of the load, the device also includes: a judgment unit, used to judge whether the target generator has completed startup, and when the target generator has completed startup, send a first instruction to the inverter, wherein the first instruction is used to instruct the inverter to change from a constant voltage and constant frequency control mode to a current closed-loop control mode; a timing unit, used to control the timer to start timing after issuing the first instruction, and when the time recorded in the timer reaches a preset time, issue a second instruction, wherein the second instruction is used to instruct the execution of an operation to obtain the initial voltage value and the initial current value of the load.

[0085] Optionally, in the power shock suppression device provided in an embodiment of the present application, the first calculation unit 41 includes: a first transformation module, used to perform a Parker transformation on the initial voltage value to obtain a voltage DC component; a second transformation module, used to perform a Parker transformation on the initial current value to obtain a current DC component; and a first calculation module, used to calculate the initial active power based on the voltage DC component and the current DC component.

[0086] Optionally, in the power shock suppression device provided in the embodiment of the present application, the filtering unit 42 includes: a first acquisition module, used to obtain the target active power at the target moment, and to obtain the historical active power at the historical moment, wherein the difference between the historical moment and the target moment is a first preset time length; a second calculation module, used to subtract the historical active power from the target active power to obtain the shock power.

[0087] Optionally, in the power shock suppression device provided in the embodiment of the present application, the second calculation unit 43 includes: a third transformation module, used to perform a Park transformation on the voltage at both ends according to the voltage phase to obtain the positive-sequence DC component of the voltage at both ends; a third calculation module, used to divide the shock power and the positive-sequence DC component to obtain the incremental current.

[0088] Optionally, in the power shock suppression device provided in the embodiment of the present application, the change unit 44 includes: a judgment module, used to judge whether the incremental current is less than a preset current; a first determination module, used to determine that there is a power shock phenomenon in the load when the incremental current is greater than or equal to the preset current; and a second determination module, used to determine that there is no power shock phenomenon in the load when the incremental current is less than the preset current.

[0089] Optionally, in the power shock suppression device provided in the embodiment of the present application, after the current reference value in the current closed-loop control system of the inverter is changed to an incremental current, the device also includes: a determination unit, used to determine the moment of executing the step of changing the current reference value in the current closed-loop control system of the inverter to an incremental current, obtain a first moment, and start timing; a disconnection unit, used to disconnect the connection between the load and the inverter when a second moment is reached, wherein the time difference between the second moment and the first moment is a second preset duration.

[0090] Optionally, in the power shock suppression device provided in the embodiment of the present application, the disconnection unit includes: a second acquisition module, used to acquire the target step function of the output current of the inverter, and obtain the change function of the output current of the inverter according to the target step function and the incremental current calculation; a change module, used to change the output current of the inverter according to the change function until the output current is zero.

[0091] The power shock suppression device includes a processor and a memory. The first calculation unit 41, the filtering unit 42, the second calculation unit 43, the change unit 44, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.

[0092] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem that when the grid load changes sharply in a short period of time, the generator will be impacted and the normal operation of the generator will be affected is solved by adjusting the kernel parameters in the related technology.

[0093] The 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 memory chip.

[0094] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for suppressing power shock is implemented.

[0095] An embodiment of the present invention provides a processor, which is used to run a program, wherein a method for suppressing power impact is executed when the program is running.

[0096] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 5 As shown, an embodiment of the present invention provides an electronic device, the electronic device 50 includes a processor, a memory, and a program stored in the memory and can be run on the processor. When the processor executes the program, the following steps are implemented: obtaining the initial voltage value and initial current value of the load, and calculating the initial active power of the load according to the initial voltage value and initial current value; filtering the initial active power to obtain the target active power, and calculating the impact power of the load according to the target active power; obtaining the voltage at both ends of the inverter, and obtaining the voltage phase of the target generator, and calculating the incremental current of the load according to the voltage at both ends, the voltage phase and the impact power, wherein the target generator is used to supply power to the load; judging whether the load has a power impact phenomenon according to the incremental current, and when the load has a power impact phenomenon, changing the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power impact phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0097] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: obtaining an initial voltage value and an initial current value of the load, and calculating the initial active power of the load based on the initial voltage value and the initial current value; filtering the initial active power to obtain a target active power, and calculating the impact power of the load based on the target active power; obtaining the voltage across the inverter, and obtaining the voltage phase of the target generator, and calculating the incremental current of the load based on the voltage across the inverter, the voltage phase and the impact power, wherein the target generator is used to supply power to the load; judging whether the load has a power impact phenomenon based on the incremental current, and when the load has a power impact phenomenon, changing the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power impact phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0099] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0102] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0103] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0104] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0105] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0106] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for suppressing power surge, characterized in that: include: Obtaining an initial voltage value and an initial current value of the load, and calculating an initial active power of the load according to the initial voltage value and the initial current value; Filtering the initial active power to obtain a target active power, and calculating the impact power of the load according to the target active power; Obtaining voltages across the inverter, and obtaining a voltage phase of a target generator, and calculating an incremental current of the load according to the voltages across the inverter, the voltage phase, and the impact power, wherein the target generator is used to supply power to the load; Whether the load has a power shock phenomenon is determined based on the incremental current, and when the load has the power shock phenomenon, the current reference value in the current closed-loop control system of the inverter is changed to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power shock phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

2. The method according to claim 1, characterized in that Before obtaining the initial voltage value and the initial current value of the load, the method further includes: Determine whether the target generator has completed startup, and if the target generator has completed startup, send a first instruction to the inverter, wherein the first instruction is used to instruct the inverter to change from a constant voltage and constant frequency control mode to a current closed-loop control mode; After issuing the first instruction, the control timer starts timing, and when the duration recorded in the timer reaches a preset duration, a second instruction is issued, wherein the second instruction is used to instruct the execution of the operation of obtaining the initial voltage value and the initial current value of the load.

3. The method according to claim 1, characterized in that Calculating the initial active power of the load according to the initial voltage value and the initial current value includes: Performing a Park transformation on the initial voltage value to obtain a voltage DC component; Performing a Park transformation on the initial current value to obtain a DC component of the current; The initial active power is calculated according to the voltage DC component and the current DC component.

4. The method according to claim 1, characterized in that Calculating the impact power of the load according to the target active power includes: Obtaining a target active power at a target moment, and obtaining a historical active power at a historical moment, wherein the historical moment differs from the target moment by a first preset time length; The historical active power is subtracted from the target active power to obtain the impact power.

5. The method according to claim 1, characterized in that Obtaining the voltage across the inverter, and obtaining the voltage phase of the target generator, and calculating the incremental current of the load according to the voltage across the inverter, the voltage phase and the impact power includes: Performing a Park transformation on the voltage at both ends according to the voltage phase to obtain a positive sequence DC component of the voltage at both ends; The impact power is divided by the positive sequence DC component to obtain the incremental current.

6. The method according to claim 1, characterized in that Judging whether the load has a power impact phenomenon according to the incremental current includes: Determining whether the incremental current is less than a preset current; When the incremental current is greater than or equal to the preset current, determining that the load has the power impact phenomenon; When the incremental current is less than the preset current, it is determined that the load does not have the power impact phenomenon.

7. The method according to claim 1, characterized in that After changing the current reference value in the current closed-loop control system of the inverter to the incremental current, the method further includes: Determine the time for executing the step of changing the current reference value in the current closed-loop control system of the inverter to the incremental current, obtain a first time, and start timing; When a second moment is reached, the connection between the load and the inverter is disconnected, wherein the time difference between the second moment and the first moment is a second preset duration.

8. The method according to claim 7, characterized in that Disconnecting the load from the inverter includes: Acquiring a target step function of the output current of the inverter, and calculating a variation function of the output current of the inverter according to the target step function and the incremental current; The output current of the inverter is changed according to the variation function until the output current is zero.

9. A power impact suppression device, characterized in that: include: A first calculation unit, used to obtain an initial voltage value and an initial current value of the load, and calculate an initial active power of the load according to the initial voltage value and the initial current value; A filtering unit, configured to filter the initial active power to obtain a target active power, and calculate the impact power of the load according to the target active power; a second calculation unit, configured to obtain voltages across the inverter, obtain a voltage phase of a target generator, and calculate an incremental current of the load according to the voltages across the inverter, the voltage phase, and the impact power, wherein the target generator is configured to supply power to the load; A changing unit is used to determine whether the load has a power impact phenomenon based on the incremental current, and when the load has the power impact phenomenon, change the current reference value in the current closed-loop control system of the inverter to the incremental current, wherein the load is connected to the inverter, the inverter is used to suppress the power impact phenomenon, and the current closed-loop control system uses a current closed-loop control method to control the inverter.

10. An electronic device, characterized in that: It includes 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 power shock suppression method described in any one of claims 1 to 8.