Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 shows a structure of an energy storage converter system provided by an embodiment of the invention, and referring to fig. 1, the energy storage converter system includes an energy storage converter PCS, a battery module BMS, a transformer T, a main dc contactor KM1, a main ac contactor KM2, and an on-grid contactor KM 3. The energy storage converter PCS comprises a controller DSP and an inverter DC-AC. The direct current end of the energy storage converter PCS is connected with the battery module BMS through a direct current main contactor KM1, the alternating current end of the energy storage converter PCS is connected with the primary side of a transformer T through an alternating current main contactor KM2, and the secondary side of the transformer T is connected to the power grid through a grid-connected and off-grid contactor KM 3. The first sampling point X is located between the ac main contactor KM2 and the primary side of the transformer T, the second sampling point Y is located between the secondary side of the transformer T and the grid-connected and off-grid contactor KM3, and the third sampling point Z is located between the grid-connected and off-grid contactor KM3 and the grid.
The execution main body of the compensation control method of the energy storage converter provided by the embodiment is a controller DSP in an energy storage converter PCS.
Fig. 2 shows an implementation flow of a compensation control method for an energy storage converter provided in an embodiment of the present invention, and referring to fig. 2, the compensation control method for an energy storage converter provided in the embodiment of the present invention includes:
s101: a direct current main contactor KM1 between a battery module BMS and an energy storage converter PCS and an alternating current main contactor KM2 between the energy storage converter and a transformer T are disconnected respectively; and attracting a grid-connected and off-grid contactor KM3 between the transformer T and the power grid.
Specifically, in order to ensure that uncompensated alternating current is not output to the power grid, it is required to firstly confirm that the direct current main contactor KM1 and the alternating current main contactor KM2 are both disconnected, and then pull in and pull out the grid contactor KM 3.
S102: acquiring a first voltage sampling signal corresponding to the first sampling point and a second voltage sampling signal corresponding to the second sampling point; the first sampling point is located between the alternating current main contactor KM2 and the transformer T, and the second sampling point is located between the transformer T and the grid-connected and off-grid contactor KM 3;
in the present embodiment, if the secondary side of the transformer T is at a high voltage, a first voltage transformer PT1 needs to be disposed at a second sampling point. And the controller DSP acquires a voltage sampling signal on the secondary side of the first voltage transformer PT1 as a second initial voltage sampling signal, and converts the second initial voltage sampling signal into a second voltage sampling signal corresponding to the second sampling point.
Specifically, the amplitude calculation formula of the second voltage sampling signal is as follows: u shape2=APT1*U2′;
Wherein U is2For the amplitude of the second voltage sample signal, APT1For the transformation ratio of the first potential transformer PT1, U2' is the amplitude of the second initial voltage sample signal.
S103: calculating a first transformer compensation coefficient according to the first voltage sampling signal and the second voltage sampling signal;
in this embodiment, the first voltage sampling signal and the second voltage sampling signal are sampling signals on two sides of the transformer T. The first voltage sampling signal and the second voltage sampling signal can directly reflect the change of voltage after transformation processing of the transformer T, and provide a basis for compensating errors introduced by the transformer T.
In one embodiment of the present invention, the first transformer compensation coefficient comprises a magnitude compensation coefficient, and S103 comprises:
calculating the amplitude compensation coefficient according to the amplitude of the first voltage sampling signal, the amplitude of the second voltage sampling signal and an amplitude compensation coefficient calculation formula;
the amplitude compensation coefficient calculation formula is as follows:
wherein A isTRFor said amplitude compensation factor, ATFor a stated transformation ratio, U, of said transformer T2For the amplitude of said second voltage sampling signal, U1The amplitude of the first voltage sample signal.
In this embodiment, the ratio of the amplitude of the second voltage sampling signal to the amplitude of the first voltage sampling signal is the actual transformation ratio of the transformer T. Since the transformer T is not an ideal transformer T, the actual and stated transformation ratios of the transformer T may not be exactly equal. The ratio of the actual transformation ratio of the transformer T to the declared transformation ratio of the transformer T is the amplitude compensation coefficient.
In one embodiment of the present invention, the first transformer compensation coefficient includes a phase compensation value, and S103 includes:
calculating the phase compensation value according to the phase of the first voltage sampling signal, the phase of the second voltage sampling signal and a phase compensation value calculation formula;
the phase compensation value calculation formula is as follows: thetaXY=θ2-θ1;
Wherein, thetaXYFor said phase compensation value, θ2For the phase of said second voltage sampling signal, θ1The phase of the first voltage sample signal.
In this embodiment, a phase difference θ between a first voltage sampling signal corresponding to a first sampling point X and a second voltage sampling signal corresponding to a second sampling point Y is calculated based on a phase of the first voltage sampling signal corresponding to the first sampling point XXYAnd phase difference thetaXYAs a phase compensation value.
S104: and adjusting the output signal of the energy storage converter according to the first transformer compensation coefficient.
The compensation control method of the energy storage converter provided by the embodiment of the invention can adjust the output signal of the energy storage converter according to the voltage sampling signals at the two ends of the transformer T, thereby reducing the transformation ratio error and the phase error brought by the transformer T, reducing the disturbance influence generated by the transformer T and further improving the quality and the stability of the alternating current output by the energy storage converter system.
In an embodiment of the present invention, after S104, the method further includes:
s105: disconnecting the grid-connected and off-grid contactor KM3, attracting the direct-current main contactor KM1 and the alternating-current main contactor KM2, and normally inverting the energy storage converter;
s106: acquiring a third voltage sampling signal corresponding to a third sampling point and a fourth voltage sampling signal corresponding to the second sampling point; the third sampling point is positioned between the grid-connected and off-grid contactor KM3 and a power grid; and the fourth voltage sampling signal is a voltage sampling signal corresponding to the second sampling point after the output signal of the energy storage converter is adjusted according to the first transformer compensation coefficient.
Specifically, after the compensation of the compensation coefficient of the first transformer, the normal inversion of the energy storage converter and the stabilization of the output signal of the energy storage converter system, a third voltage sampling signal and a fourth voltage sampling signal are obtained.
In this embodiment, if the secondary side of the transformer T is at a high voltage, the first voltage transformer PT1 needs to be disposed at the second sampling point, and the second voltage transformer PT2 needs to be disposed at the third sampling point. The controller DSP acquires a voltage sampling signal of a secondary side of a second voltage transformer PT2 at the current moment as a third initial voltage sampling signal, acquires a voltage sampling signal of a secondary side of a first voltage transformer PT1 at the current moment as a fourth initial voltage sampling signal, converts the third initial voltage sampling signal into a third voltage sampling signal corresponding to the third sampling point, and converts the fourth initial voltage sampling signal into a fourth voltage sampling signal corresponding to the second sampling point.
Specifically, the amplitude calculation formula of the third voltage sampling signal is as follows: u shape3=APT2*U3′;
Wherein U is3For the amplitude of the second voltage sample signal, APT2For the transformation ratio of the second potential transformer PT2, U3' is the amplitude of the third initial voltage sample signal.
Specifically, the amplitude calculation formula of the fourth voltage sampling signal is as follows: u shape4=APT1*U4′;
Wherein U is4For the amplitude of the second voltage sample signal, APT1For the transformation ratio of the first potential transformer PT1, U4' is the amplitude of the second initial voltage sample signal.
S107: calculating a second transformer compensation coefficient according to the third voltage sampling signal, the fourth voltage sampling signal and the first transformer compensation coefficient;
in one embodiment of the invention, the second transformer compensation factor comprises a target amplitude compensation factor, and the first transformer compensation factor comprises an amplitude compensation factor;
s107 comprises the following steps:
calculating a fine tuning amplitude compensation coefficient according to the amplitude of the third voltage sampling signal, the amplitude of the fourth voltage sampling signal and a fine tuning amplitude compensation coefficient calculation formula;
multiplying the fine tuning amplitude compensation coefficient by the amplitude compensation coefficient to obtain the target amplitude compensation coefficient;
the calculation formula of the fine tuning amplitude compensation coefficient is as follows:
wherein A isYZFine-tuning the compensation coefficient, U, for said amplitude3For the amplitude of the third voltage sample signal, U4The amplitude of the fourth voltage sample signal.
In this embodiment, the target amplitude compensation coefficient is recorded as ATCThen A isTC=ATR*AYZ。
In one embodiment of the present invention, the second transformer compensation factor comprises a target phase compensation value, and the first transformer compensation factor comprises a phase compensation value;
s107 comprises the following steps:
calculating a fine tuning phase compensation value according to the phase of the third voltage sampling signal, the phase of the fourth voltage sampling signal and a fine tuning phase compensation value calculation formula;
adding the fine tuning phase compensation value and the phase compensation value to obtain a target phase compensation value;
the calculation formula of the fine tuning phase compensation value is as follows: thetaYZ=θ3-θ4;
Wherein, thetaYZFor said fine phase compensation value, theta3Is the phase, θ, of the third sampled signal4The phase of the fourth voltage sample signal.
In this embodiment, the phase difference θ between the fourth sampling signal corresponding to the second sampling point Y and the third sampling signal corresponding to the third sampling point Z is calculated using the phase of the fourth voltage sampling signal corresponding to the second sampling point Y as a standardYZAnd phase difference thetaYZAs a fine phase compensation value.
And adding the fine tuning phase compensation value and the phase compensation value to obtain the target phase compensation value.
Specifically, the target phase compensation value is recorded as θTCThen thetaTC=θXY+θYZ。
S108: and adjusting the output signal of the energy storage converter according to the second transformer compensation coefficient.
Optionally, after S108, the method further includes:
and acquiring a voltage sampling signal corresponding to the second sampling point and a voltage sampling signal corresponding to the third sampling point, and calculating the deviation between the voltage sampling signal corresponding to the second sampling point and the voltage sampling signal corresponding to the third sampling point. And if the deviation does not meet the preset deviation judgment condition, re-executing S107-S108 until the deviation meets the preset deviation judgment condition or the number of executing S107-S108 reaches the preset number limit.
Specifically, the deviation includes an amplitude ratio and a phase difference of the voltage sampling signal corresponding to the second sampling point and the voltage sampling signal corresponding to the third sampling point, and the deviation determination condition includes that the amplitude ratio is smaller than a preset ratio threshold and the phase difference is smaller than a preset phase difference threshold. According to the embodiment, the voltage sampling signals of the second sampling point and the third sampling point are collected, the energy storage converter can be further compensated according to the voltage sampling signals of the second sampling point and the third sampling point, interference caused by the sampling circuit to the energy storage converter system is eliminated on the basis that the influence of transformer errors on the output of the energy storage converter is reduced, the consistency of the output signals of the energy storage converter and a power grid is further improved, and the quality and the stability of alternating current output by the energy storage converter system are guaranteed.
In this embodiment, after the second transformer compensation coefficient is obtained by calculation, the second transformer compensation coefficient is stored, and the second transformer compensation coefficient is continuously applied to compensate the energy storage converter system.
Furthermore, after the transformer T works for a long time or is restarted, the working state of the transformer T per se can change to a certain degree, so that S101-S108 are executed again when the running time of the energy storage converter system reaches a preset time limit or is restarted, the compensation coefficient corresponding to the second transformer at the current moment is calculated, and the running stability of the energy storage converter system is ensured.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 3, an embodiment of the present invention provides a compensation control apparatus 10 for an energy storage converter, including:
a first contactor control module 110 for disconnecting a dc main contactor between the battery module BMS and the energy storage converter and an ac main contactor between the energy storage converter and the transformer, respectively; attracting a grid-connected and off-grid contactor between the transformer and the power grid;
the first sampling module 120 is configured to obtain a first voltage sampling signal corresponding to the first sampling point and a second voltage sampling signal corresponding to the second sampling point; the first sampling point is located between the alternating current main contactor and the transformer, and the second sampling point is located between the transformer and the grid-connected and off-grid contactor;
a first compensation coefficient calculation module 130, configured to calculate a first transformer compensation coefficient according to the first voltage sampling signal and the second voltage sampling signal;
and the first adjusting module 140 is configured to adjust the output signal of the energy storage converter according to the first transformer compensation coefficient.
The compensation control device of the energy storage converter provided by the embodiment of the invention can adjust the output signal of the energy storage converter according to the voltage sampling signals at the two ends of the transformer, thereby compensating the uncontrollable error brought by the transformer, reducing the disturbance influence generated by the transformer and further improving the quality and stability of the alternating current output by the energy storage converter system.
In one embodiment of the invention, the first transformer compensation factor comprises an amplitude compensation factor;
the first compensation coefficient calculation module 130 includes an amplitude compensation coefficient calculation unit configured to:
calculating the amplitude compensation coefficient according to the amplitude of the first voltage sampling signal, the amplitude of the second voltage sampling signal and an amplitude compensation coefficient calculation formula;
the amplitude compensation coefficient calculation formula is as follows:
wherein A isTRFor said amplitude compensation factor, ATFor the stated transformation ratio of the transformer, U2For the amplitude of said second voltage sampling signal, U1The amplitude of the first voltage sample signal.
In this embodiment, the first transformer compensation factor comprises a phase compensation value;
the first compensation coefficient calculation module 130 includes a phase compensation value calculation unit configured to:
calculating the phase compensation value according to the phase of the first voltage sampling signal, the phase of the second voltage sampling signal and a phase compensation value calculation formula;
the phase compensation value calculation formula is as follows: thetaXY=θ2-θ1;
Wherein, thetaXYFor said phase compensation value, θ2For the phase of said second voltage sampling signal, θ1The phase of the first voltage sample signal.
In this embodiment, the compensation control device of the energy storage converter further includes:
the second contactor control module is used for disconnecting the grid-connected and off-grid contactor and attracting the direct current main contactor and the alternating current main contactor;
the second sampling module is used for acquiring a third voltage sampling signal corresponding to a third sampling point and a fourth voltage sampling signal corresponding to the second sampling point; the third sampling point is positioned between the grid-connected and off-grid contactor and a power grid; the fourth voltage sampling signal is a voltage sampling signal corresponding to a second sampling point after the output signal of the energy storage converter is adjusted according to the first transformer compensation coefficient;
the target compensation coefficient calculation module is used for calculating a second transformer compensation coefficient according to the third voltage sampling signal, the fourth voltage sampling signal and the first transformer compensation coefficient;
and the second adjusting module is used for adjusting the output signal of the energy storage converter according to the second transformer compensation coefficient.
In this embodiment, the second transformer compensation coefficient includes a target amplitude compensation coefficient, the first transformer compensation coefficient includes an amplitude compensation coefficient, and the target compensation coefficient calculation module includes:
the target amplitude compensation coefficient calculation unit is used for calculating a fine adjustment amplitude compensation coefficient according to the amplitude of the third voltage sampling signal, the amplitude of the fourth voltage sampling signal and a fine adjustment amplitude compensation coefficient calculation formula;
multiplying the fine tuning amplitude compensation coefficient by the amplitude compensation coefficient to obtain the target amplitude compensation coefficient;
the calculation formula of the fine tuning amplitude compensation coefficient is as follows:
wherein A isYZFine-tuning the compensation coefficient, U, for said amplitude3For the amplitude of the third voltage sample signal, U4The amplitude of the fourth voltage sample signal.
In this embodiment, the second transformer compensation coefficient includes a target phase compensation value, the first transformer compensation coefficient includes a phase compensation value, and the target compensation coefficient calculation module includes:
a target phase compensation value calculation unit, configured to calculate a fine-tuning phase compensation value according to the phase of the third voltage sampling signal, the phase of the fourth voltage sampling signal, and a fine-tuning phase compensation value calculation formula;
adding the fine tuning phase compensation value and the phase compensation value to obtain a target phase compensation value;
the calculation formula of the fine tuning phase compensation value is as follows: thetaYZ=θ3-θ4;
Wherein, thetaYZFor said fine phase compensation value, theta3Is the phase, θ, of the third sampled signal4The phase of the fourth voltage sample signal.
The compensation control device of the energy storage converter provided by the embodiment of the invention can eliminate the interference of the sampling circuit to the energy storage converter system, further improve the consistency of the output signal of the energy storage converter and a power grid, and ensure the quality and stability of the alternating current output by the energy storage converter system.
Fig. 4 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 4, the/terminal device 4 of this embodiment includes: a processor 40, a memory 41 and a computer program 42 stored in said memory 41 and executable on said processor 40. The processor 40 executes the computer program 42 to implement the steps in the above embodiments of the compensation control method for the energy storage converter, such as S101 to S104 shown in fig. 2. Alternatively, the processor 40, when executing the computer program 42, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 110 to 140 shown in fig. 3.
Illustratively, the computer program 42 may be partitioned into one or more modules/units that are stored in the memory 41 and executed by the processor 40 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 42 in the terminal device 4. For example, the computer program 42 may be divided into a first contactor control module, a first sampling module, a compensation factor calculation module, and a first adjustment module (module in a virtual device).
The terminal device 4 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 40, a memory 41. Those skilled in the art will appreciate that fig. 4 is merely an example of a terminal device 4 and does not constitute a limitation of terminal device 4 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 41 may also be an external storage device of the terminal device 4, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the/terminal device 4. The memory 41 is used for storing the computer program and other programs and data required by the terminal device. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.