Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application 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 application with unnecessary detail.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Fig. 1 shows a structure of an energy storage converter system according to an embodiment of the present application, referring to fig. 1, the energy storage converter system includes an energy storage converter PCS, a battery module BMS, a transformer T, a dc main contactor KM1, an ac main contactor KM2, and an off-grid contactor KM3. 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 the direct current main contactor KM1, the alternating current end of the energy storage converter PCS is connected with the primary side of the transformer T through the alternating current main contactor KM2, and the secondary side of the transformer T is connected to a power grid through the off-grid contactor KM3. The first sampling point X is located between the alternating current 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 power grid.
The execution main body of the compensation control method of the energy storage converter provided by the embodiment is a controller DSP in the energy storage converter PCS.
Fig. 2 shows a flow chart of implementation of a compensation control method of an energy storage converter provided by an embodiment of the present application, referring to fig. 2, the compensation control method of an energy storage converter provided by the embodiment of the present application includes:
s101: the method comprises the steps of respectively disconnecting 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; and the off-grid contactor KM3 between the transformer T and the power grid is sucked.
Specifically, in order to ensure that uncompensated ac power is not output to the power grid, it is necessary to first confirm that both the dc main contactor KM1 and the ac main contactor KM2 are disconnected, and then inhale and leave the grid contactor KM3.
S102: acquiring a first voltage sampling signal corresponding to a first sampling point and a second voltage sampling signal corresponding to a second sampling point; the first sampling point is positioned between the alternating current main contactor KM2 and the transformer T, and the second sampling point is positioned between the transformer T and the grid-connected and off-grid contactor KM 3;
in this embodiment, if the secondary side of the transformer T is high voltage, the first voltage transformer PT1 needs to be set at the second sampling point. The controller DSP obtains a voltage sampling signal of the secondary side of the first voltage transformer PT1 as a second initial voltage sampling signal, and then converts the second initial voltage sampling signal into a second voltage sampling signal corresponding to a second sampling point.
Specifically, the magnitude calculation formula of the second voltage sampling signal is: u (U) 2 =A PT1 *U 2 ′;
Wherein U is 2 Sampling the amplitude of the signal for a second voltage, A PT1 For the transformation ratio of the first voltage transformer PT1, U 2 ' 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 represent the change of the voltage after the transformation treatment of the transformer T, and provide basis for compensating the error introduced by the transformer T.
In one embodiment of the present application, the first transformer compensation coefficient includes an amplitude compensation coefficient, and S103 includes:
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 is TR For the amplitude compensation coefficient, A T For the stated transformation ratio of the transformer T, U 2 Sampling the amplitude of the signal for the second voltage, U 1 The amplitude of the signal is sampled for the first voltage.
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 transformation ratio and the declared transformation ratio of the transformer T may not be exactly equal. The ratio of the actual transformation ratio of the transformer T to the declaration transformation ratio of the transformer T is the amplitude compensation coefficient.
In one embodiment of the present application, 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: θ XY =θ 2 -θ 1 ;
Wherein θ XY For the phase compensation value, θ 2 For the phase of the second voltage sampling signal, θ 1 The phase of the signal is sampled for the first voltage.
In this embodiment, the phase difference θ between the first voltage sampling signal corresponding to the first sampling point X and the second voltage sampling signal corresponding to the second sampling point Y is calculated based on the phase of the first voltage sampling signal corresponding to the first sampling point X XY And phase difference theta XY As a phase compensation value.
S104: and adjusting an output signal of the energy storage converter according to the first transformer compensation coefficient.
According to the compensation control method for the energy storage converter, the output signals of the energy storage converter can be adjusted according to the voltage sampling signals at the two ends of the transformer T, so that transformation ratio errors and phase errors caused by the transformer T are reduced, disturbance influence caused by the transformer T is reduced, and quality and stability of alternating current output by an energy storage converter system are improved.
In one embodiment of the present application, after S104, the method further comprises:
s105: disconnecting the grid-connected and off-grid contactor KM3, sucking the direct current main contactor KM1 and the alternating current main contactor KM2, and normally inverting an 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; 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 compensation coefficient of the first transformer.
Specifically, after the compensation coefficient of the first transformer is compensated, the energy storage converter is normally inverted and the output signal of the energy storage converter system is stable, 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 high voltage, the first voltage transformer PT1 needs to be set at the second sampling point, and the second voltage transformer PT2 needs to be set at the third sampling point. The controller DSP obtains a voltage sampling signal of the secondary side of the second voltage transformer PT2 at the current moment as a third initial voltage sampling signal, obtains a voltage sampling signal of the secondary side of the 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 a third sampling point, and converts the fourth initial voltage sampling signal into a fourth voltage sampling signal corresponding to a second sampling point.
Specifically, the third voltage samples the signalThe magnitude calculation formula of (2) is: u (U) 3 =A PT2 *U 3 ′;
Wherein U is 3 Sampling the amplitude of the signal for a second voltage, A PT2 For the transformation ratio of the second voltage transformer PT2, U 3 ' is the amplitude of the third initial voltage sample signal.
Specifically, the magnitude calculation formula of the fourth voltage sampling signal is: u (U) 4 =A PT1 *U 4 ′;
Wherein U is 4 Sampling the amplitude of the signal for a second voltage, A PT1 For the transformation ratio of the first voltage transformer PT1, U 4 ' 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 application, the second transformer compensation coefficient comprises a target amplitude compensation coefficient and the first transformer compensation coefficient comprises an amplitude compensation coefficient;
s107 includes:
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 fine tuning amplitude compensation coefficient calculation formula is as follows:
wherein A is YZ For fine tuning the compensation coefficient of the amplitude, U 3 Sampling the amplitude of the signal for a third voltage, U 4 And sampling the amplitude of the signal for the fourth voltage.
In this embodiment, the target amplitude compensation coefficient is recorded as A TC Then A TC =A TR *A YZ 。
In one embodiment of the present application, the second transformer compensation coefficient includes a target phase compensation value, and the first transformer compensation coefficient includes a phase compensation value;
s107 includes:
calculating a fine adjustment phase compensation value according to a phase of the third voltage sampling signal, a phase of the fourth voltage sampling signal and a fine adjustment 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 fine tuning phase compensation value calculation formula is as follows: θ YZ =θ 3 -θ 4 ;
Wherein θ YZ For the fine tuning phase compensation value, θ 3 For the phase of the third sampling signal, θ 4 The phase of the signal is sampled for the fourth voltage.
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 based on the phase of the fourth voltage sampling signal corresponding to the second sampling point Y YZ And phase difference theta YZ As 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 θ TC Theta is then TC =θ XY +θ YZ 。
S108: and adjusting the output signal of the energy storage converter according to the compensation coefficient of the second transformer.
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 of the voltage sampling signal corresponding to the second sampling point and the voltage sampling signal corresponding to the third sampling point. If the deviation does not meet the preset deviation judging condition, executing S107-S108 again until the deviation meets the preset deviation judging condition or the number of times of executing S107-S108 reaches the preset number limit value.
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 judging 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, so that 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 of the sampling circuit on the energy storage converter system is eliminated on the basis of reducing influence of transformer errors on the output of the energy storage converter, consistency of the output signal of the energy storage converter and a power grid is further improved, and quality and stability of alternating current output by the energy storage converter system are guaranteed.
In this embodiment, after the second transformer compensation coefficient is calculated, the second transformer compensation coefficient is stored, and the energy storage converter system is continuously compensated by applying the second transformer compensation coefficient.
Further, since the working state of the transformer T varies to a certain extent after long-time working or restarting, S101-S108 are re-executed after the running time of the energy storage converter system reaches a preset time limit or restarting, so as to calculate the compensation coefficient of the second transformer corresponding to the current moment and ensure the running stability of the energy storage converter system.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Referring to fig. 3, an embodiment of the present application provides a compensation control device 10 of an energy storage converter, including:
a first contactor control module 110 for respectively opening a direct current main contactor between the battery module BMS and the energy storage converter, and an alternating current main contactor between the energy storage converter and the transformer; and sucking a grid-connected contactor between the transformer and the power grid;
the first sampling module 120 is configured to obtain a first voltage sampling signal corresponding to a first sampling point and a second voltage sampling signal corresponding to a second sampling point; the first sampling point is positioned between the alternating current main contactor and the transformer, and the second sampling point is positioned between the transformer and the grid-connected 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;
the first adjusting module 140 is configured to adjust an 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 application 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 uncontrollable errors brought by the transformer, reducing disturbance influence produced by the transformer and further improving the quality and stability of alternating current output by an energy storage converter system.
In one embodiment of the application, the first transformer compensation coefficient comprises an amplitude compensation coefficient;
the first compensation coefficient calculating module 130 includes an amplitude compensation coefficient calculating unit for:
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 is TR For the amplitude compensation coefficient, A T For declaring transformation ratio of said transformer, U 2 Sampling the amplitude of the signal for the second voltage, U 1 The amplitude of the signal is sampled for the first voltage.
In this embodiment, the first transformer compensation coefficient includes a phase compensation value;
the first compensation coefficient calculating module 130 includes a phase compensation value calculating unit for:
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: θ XY =θ 2 -θ 1 ;
Wherein θ XY For the phase compensation value, θ 2 For the phase of the second voltage sampling signal, θ 1 The phase of the signal is sampled for the first voltage.
In this embodiment, the compensation control device of the energy storage converter further includes:
the second contactor control module is used for switching off the off-grid contactor and sucking 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 the 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 compensation coefficient of the first transformer;
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 fine tuning amplitude compensation coefficient calculation formula is as follows:
wherein A is YZ For fine tuning the compensation coefficient of the amplitude, U 3 Sampling the amplitude of the signal for a third voltage, U 4 And sampling the amplitude of the signal for the fourth voltage.
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 adjustment phase compensation value according to a phase of the third voltage sampling signal, a phase of the fourth voltage sampling signal, and a fine adjustment 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 fine tuning phase compensation value calculation formula is as follows: θ YZ =θ 3 -θ 4 ;
Wherein θ YZ For the fine tuning phase compensation value, θ 3 For the phase of the third sampling signal, θ 4 The phase of the signal is sampled for the fourth voltage.
The compensation control device of the energy storage converter provided by the embodiment of the application can eliminate the interference brought by 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 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 application. 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 the memory 41 and executable on the processor 40. The processor 40 performs the steps of the above-described embodiments of the compensation control method of each energy storage converter when executing the computer program 42, such as S101 to S104 shown in fig. 2. Alternatively, the processor 40, when executing the computer program 42, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 110-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 complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution 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 coefficient calculation module, and a first adjustment module (a module in a virtual device).
The terminal device 4 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the terminal device 4 and does not constitute a limitation of the terminal device 4, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 40 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. 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 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) or 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 as well as other programs and data required by the terminal device. The memory 41 may also be used for temporarily storing 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-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
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 solution. 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 application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. . Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.