Current detection correction method, inverter and storage medium
By setting up R-N, S-N and T-N loops in the photovoltaic energy storage inverter, the wiring and direction of the current transformer are automatically corrected, which solves the problem of incorrect current transformer installation and improves installation efficiency and accuracy.
Patent Information
- Application Number
- CN202411273980.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In photovoltaic energy storage inverters, incorrect installation of current transformers requires manual correction, resulting in installation difficulties and errors.
By setting up R-N, S-N and T-N loops in the three-phase inverter, current transformers are used to collect current values, and the wiring and direction of the current transformers are automatically corrected to ensure correct installation.
Automatic correction of current transformers is realized, avoiding manual intervention and improving installation efficiency and accuracy.
Smart Images

Figure CN118795404A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of photovoltaic power generation technology, and in particular, relates to a current detection correction method, an inverter, and a computer-readable storage medium. Background Art
[0002] In the application of photovoltaic energy storage inverters, current transformers are needed to achieve self-generation and self-use of electricity. However, when installing current transformers, users often have the pain point that the current transformer needs to be connected to the correct phase line, and the direction of the transformer also needs to be fixed, which brings the problem of easy errors in the installation of current transformers to the user end. Summary of the invention
[0003] In view of this, the present application provides a current detection correction method, an inverter and a computer-readable storage medium, which can solve the problem of current transformer installation errors and the need for manual correction.
[0004] In a first aspect, the present application provides a current detection correction method, which is applied to a three-phase inverter, wherein an R-phase line, an S-phase line, a T-phase line and an N-phase line are provided between the three-phase inverter and the power grid, and the three-phase inverter is connected to three current transformers, and the correction method comprises: Controlling the three-phase inverter to perform single-phase grid connection through the RN circuit so that the three-phase inverter discharges to the grid, the RN circuit including an R-phase line and an N-line; Determine the actual current of the current transformer connected to the R-phase line and the R-phase line according to the current value collected by at least one of the three current transformers when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit; Controlling the three-phase inverter to perform single-phase grid connection through the SN circuit so that the three-phase inverter discharges to the grid, the SN circuit including the S-phase line and the N-line; According to the current value collected by at least one of the other two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop, the current transformer connected to the S-phase line, the current transformer connected to the T-phase line and the actual current of the S-phase line are determined, and the other two current transformers are two current transformers other than the current transformer connected to the R-phase line; Controlling the three-phase inverter to connect to the grid in single phase through the TN circuit so that the three-phase inverter discharges to the grid. The TN circuit includes a T-phase line and an N-line. The actual current of the T-phase line is determined based on the current value collected by the current transformer connected to the T-phase line when the three-phase inverter performs single-phase grid-connected discharge through the TN circuit.
[0005] In one implementation, the three current transformers include a first current transformer, a second current transformer, and a third current transformer; According to the current value collected by at least one of the three current transformers when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit, the actual current of the current transformer connected to the R-phase line and the R-phase line is determined, including: Obtaining a first current value collected by the first current transformer when the three-phase inverter performs single-phase grid-connected discharge through the RN loop; determining whether the first current transformer is misconnected according to the first current value; If the wiring misalignment of the first current transformer is determined according to the first current value, a second current value collected by the second current transformer when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit is obtained; Determine the current transformer connected to the R-phase line from the second current transformer and the third current transformer according to the second current value; The current value collected by the current transformer connected to the R-phase line when the three-phase inverter performs single-phase grid-connected discharge through the RN loop is obtained, and the actual current of the R-phase line is determined according to the current value.
[0006] In one implementation, the correction method further includes: If it is determined according to the first current value that the wiring of the first current transformer is not misplaced, the first current transformer is determined as a current transformer connected to the R-phase line, and the actual current of the R-phase line is determined according to the first current value.
[0007] In one implementation, according to the current value collected by at least one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop, the current transformer connected to the S-phase line, the current transformer connected to the T-phase line, and the actual current of the S-phase line are determined, including: Obtaining a third current value collected by one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop; Determine a current transformer connected to the S-phase line and a current transformer connected to the T-phase line according to the third current value; The actual current of the S-phase line is determined based on the current value collected by the current transformer connected to the S-phase line when the three-phase inverter performs single-phase grid-connected discharge through the SN loop.
[0008] In one implementation, a method of determining an actual current of any one of the R phase line, the S phase line, and the T phase line includes: According to the current value collected by the corresponding current transformer during the single-phase grid-connected discharge of any phase line, determine whether the wiring direction of the current transformer is wrong; If the wiring direction is wrong, the phase of the current value is corrected to obtain a corrected current value, and the corrected current value is determined as the actual current of any one-phase line.
[0009] In one implementation, determining a current transformer connected to the R-phase line from the second current transformer and the third current transformer according to the second current value includes: If the second current value is 0, it is determined that the current transformer connected to the R phase line is the third current transformer; If the second current value is not 0, it is determined that the current transformer connected to the R-phase line is the second current transformer.
[0010] In one implementation, determining whether the wiring direction of any one-phase line is wrong according to the current value collected by the corresponding current transformer during single-phase grid-connected discharge includes: If the current value collected by the corresponding current transformer during single-phase grid-connected discharge of any phase line is positive, it is determined that the wiring direction of the current transformer is correct; If the current value collected by the corresponding current transformer during single-phase grid-connected discharge of any phase line is negative, it is determined that the wiring direction of the current transformer is wrong.
[0011] In one implementation, before controlling the three-phase inverter to perform single-phase grid connection through the RN loop so that the three-phase inverter discharges to the grid, the correction method further includes: Detect whether the load connected to the three-phase inverter is disconnected. When the load is disconnected, control the three-phase inverter to perform single-phase grid connection through the RN circuit.
[0012] In a second aspect, the present application provides an inverter, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is used to call and run the computer program from the memory, so that the inverter executes the method provided in the first aspect above.
[0013] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method provided in the first aspect is implemented.
[0014] In a fourth aspect, the present application provides a computer program product. When the computer program product runs on an inverter, the inverter executes the method provided in the first aspect.
[0015] In the current detection correction method provided in the first aspect above, the relays of the RN circuit, the SN circuit and the TN circuit are controlled to close in sequence to perform single-phase grid-connected discharge, and during each single-phase grid-connected discharge, the current transformer connected to the corresponding phase line and the actual current of the corresponding phase line are determined based on the reading of at least one current transformer. Even if the user installs the current transformer incorrectly, the relay can automatically correct the readings of each current transformer to obtain the actual current on each phase line, which can solve the problem of incorrect installation of the current transformer and the need for manual correction.
[0016] It can be understood that the beneficial effects of the second to fourth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0018] Figure 1 This is a schematic diagram of a first wiring method of a current transformer provided in an embodiment of the present application; Figure 2 This is a schematic diagram of a second wiring method of a current transformer provided in an embodiment of the present application; Figure 3 This is a schematic diagram of a third wiring method of a current transformer provided in an embodiment of the present application; Figure 4 This is a schematic diagram of a fourth wiring method of a current transformer provided in an embodiment of the present application; Figure 5 This is a schematic diagram of a fifth wiring method of a current transformer provided in an embodiment of the present application; Figure 6 This is a schematic diagram of a sixth wiring method of a current transformer provided in an embodiment of the present application; Figure 7 Schematic diagram of the seventh wiring method of the current transformer provided in the embodiment of the present application; Figure 8 This is a schematic diagram of an eighth wiring method of a current transformer provided in an embodiment of the present application; Fig. 9 is a flow chart of a current detection correction method provided in an embodiment of the present application; Fig.10a It is a logic diagram of the first part of the current detection correction method provided in the embodiment of the present application; Fig.10b It is a logic diagram of the second part of the current detection correction method provided in the embodiment of the present application; Fig.11 It is a schematic diagram of the structure of the inverter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0020] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0021] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0022] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0023] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0024] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0025] The three-phase inverter is a high-power inverter for electric power, which converts DC power (such as power from renewable energy sources such as solar panels and wind turbines) into three-phase AC power (AC380V). Three-phase power consists of three AC potentials with the same frequency, equal amplitude, and phase difference of 120°, and has high power supply capacity and stability.
[0026] In photovoltaic systems, the three-phase four-wire connection is a common power system wiring method, including three phase lines (R, S, T) and a neutral line (N). When connecting a three-phase inverter to the grid, the output port of the inverter needs to be connected to the input port of the grid in the order of R, S, and T. Specifically, the R phase of the inverter is connected to the R phase of the grid, the S phase is connected to the S phase of the grid, and the T phase is connected to the T phase of the grid.
[0027] For three-phase inverters, in order to achieve self-generation and self-use of electric energy, a current transformer needs to be installed on each of the three phase lines (R, S, T). The current transformer is used to detect the current on the corresponding phase line. For example, a ring current transformer can be used to pass the phase line through the window of the ring current transformer to ensure that the phase line is completely inside the ring core. The direction of the phase line should be consistent with the design requirements of the ring current transformer. The current transformer is connected to the inverter. When the current transformer detects the current on the corresponding phase line, the detected current is fed back to the inverter.
[0028] When installing a current transformer, users often connect the current transformer’s phase line or direction incorrectly. Figure 1-Figure 8 Taking the three-phase circuit as an example, there are many equivalent connection topology block diagrams, with a total of six different wiring situations. Under each wiring, there are eight possible current transformer phases with different conditions, for a total of forty-eight situations. Among them, CT1 represents the first current transformer, and its data is connected to the internal channel one of the inverter's MCU (Microcontroller Unit); CT2 represents the second current transformer, and its data is connected to the internal channel two of the inverter's MCU; CT3 represents the third current transformer, and its data is connected to the internal channel three of the inverter's MCU. The internal channel can be the data port of the MCU for receiving data. INV is the abbreviation of inverter in English, and GRID is the abbreviation of mains electricity in English. It should be noted that Figure 1-Figure 8 The Chinese numbers 1, 2, and 3 in the figure represent the internal channels of the MCU. Specifically, "1" in the figure represents channel 1, "2" in the figure represents channel 2, and "3" in the figure represents channel 3.
[0029] Fig. 9A flow chart of a current detection correction method provided in an embodiment of the present application is shown. The current detection correction method is applied to a three-phase inverter. An R-phase line, an S-phase line, a T-phase line and an N-phase line are provided between the three-phase inverter and the power grid. The three-phase inverter is connected to three current transformers, which are described in detail as follows: Step 901, controlling a three-phase inverter to perform single-phase grid connection through an RN loop, so that the three-phase inverter discharges to the grid, wherein the RN loop includes an R-phase line and an N-line.
[0030] Step 902, determining the actual current of the current transformer connected to the R phase line and the R phase line according to the current value collected by at least one of the three current transformers when the three-phase inverter performs single-phase grid-connected discharge through the RN loop.
[0031] Step 903, controlling the three-phase inverter to perform single-phase grid connection through the SN loop, so that the three-phase inverter discharges to the grid, and the SN loop includes an S-phase line and an N-line.
[0032] Step 904, according to the current value collected by at least one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop, determine the current transformer connected to the S-phase line, the current transformer connected to the T-phase line, and the actual current of the S-phase line, and the remaining two current transformers are the two current transformers other than the current transformer connected to the R-phase line.
[0033] Step 905, controlling the three-phase inverter to perform single-phase grid connection through a TN loop, so that the three-phase inverter discharges to the grid, and the TN loop includes a T-phase line and an N-line.
[0034] Step 906, determining the actual current of the T-phase line according to the current value collected by the current transformer connected to the T-phase line when the three-phase inverter performs single-phase grid-connected discharge through the TN loop.
[0035] See also Figure 1-Figure 8, the MCU of the three-phase inverter (INV) controls relay 1 to close, which can turn on the RN loop, and the current output by the three-phase inverter (INV) flows back to the three-phase inverter (INV) through the R-phase line and the N-line. When the RN loop is turned on, the three current transformers (CT1, CT2, CT3) can all collect current values. According to the current value collected by at least one of the three current transformers (CT1, CT2, CT3), the current transformer connected to the R-phase line can be determined, and after determining the current transformer connected to the R-phase line, the actual current of the R-phase line can be determined according to the current value collected by the current transformer connected to the R-phase line. It can be understood that when the RN loop is turned on, the current transformer connected to the R-phase line can collect a non-zero current value, while the current transformer not connected to the R-phase line collects a current value of 0. Based on this, the current transformer connected to the R-phase line can be determined from the three current transformers according to the current value collected by the current transformer.
[0036] After determining the current transformer connected to the R phase line, the MCU of the three-phase inverter (INV) controls relay 2 to close, which can conduct the SN circuit, and the current output by the three-phase inverter (INV) flows back to the three-phase inverter (INV) through the S phase line and the N line. Then, according to the current value collected by one of the other two current transformers (such as CT2, CT3) except the current transformer (such as CT1) connected to the R phase line among the three current transformers (CT1, CT2, CT3), the current transformer connected to the S phase line can be determined. Since there are three current transformers in total, when the current transformer connected to the R phase line and the current transformer connected to the S phase line are determined, the current transformer connected to the T phase line is also determined. Furthermore, according to the current value collected by the current transformer connected to the S phase line, the actual current of the S phase line can be determined.
[0037] Finally, the MCU of the three-phase inverter (INV) controls relay 3 to close, which can conduct the TN circuit. The current output by the three-phase inverter (INV) flows back to the three-phase inverter (INV) through the T-phase line and the N-phase line. When the TN circuit is conducted, the current transformer connected to the T-phase line collects the current value, and the actual current of the T-phase line can be determined based on the current value.
[0038] Through the above method, the relays of the RN loop, the SN loop and the TN loop are controlled to close in sequence to perform single-phase grid-connected discharge. During each single-phase grid-connected discharge, the current transformer connected to the corresponding phase line and the actual current of the corresponding phase line are determined according to the reading of at least one current transformer. Even if the user installs the current transformer incorrectly, the relay can automatically correct the readings of each current transformer to obtain the actual current on each phase line, which can solve the problem of incorrect installation of the current transformer and the need for manual correction.
[0039] In some embodiments, the three current transformers include a first current transformer (CT1), a second current transformer (CT2) and a third current transformer (CT3); the step 902, according to the current value collected by at least one of the three current transformers when the three-phase inverter (INV) performs single-phase grid-connected discharge through the RN circuit, determines the current transformer connected to the R-phase line and the actual current of the R-phase line, including: Obtaining a first current value collected by the first current transformer when the three-phase inverter performs single-phase grid-connected discharge through the RN loop; determining whether the first current transformer is misconnected according to the first current value; If the wiring misalignment of the first current transformer is determined according to the first current value, a second current value collected by the second current transformer when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit is obtained; Determine the current transformer connected to the R-phase line from the second current transformer and the third current transformer according to the second current value; The current value collected by the current transformer connected to the R-phase line when the three-phase inverter performs single-phase grid-connected discharge through the RN loop is obtained, and the actual current of the R-phase line is determined according to the current value.
[0040] Specifically, when the first current transformer (CT1) is connected to the R-phase line, the first current transformer is not misconnected, and when the first current transformer (CT1) is not connected to the R-phase line, the first current transformer is misconnected. When the three-phase inverter (INV) performs single-phase grid-connected discharge through the RN circuit, the first current transformer (CT1) collects a first current value. If the first current value is 0, it means that the first current transformer (CT1) is misconnected, otherwise it means that the first current transformer (CT1) is not misconnected, that is, the first current transformer (CT1) is correctly connected to the R-phase line.
[0041] If the wiring of the first current transformer (CT1) is misplaced, it means that the current transformer connected to the R-phase line is the second current transformer (CT2) or the third current transformer (CT3). Based on this, the current transformer connected to the R-phase line can be determined from the second current transformer (CT2) and the third current transformer (CT3) according to the second current value collected by the second current transformer (CT2) when the three-phase inverter (INV) performs single-phase grid-connected discharge through the RN circuit. For example, if the current transformer connected to the R-phase line is the second current transformer (CT2), the actual current of the R-phase line can be determined according to the second current value. For another example, if the current transformer connected to the R-phase line is the third current transformer (CT3), the actual current on the R-phase line can be determined according to the current value collected by the third current transformer (CT3) when the three-phase inverter (INV) performs single-phase grid-connected discharge through the RN circuit.
[0042] In some embodiments, if the second current value is 0, it is determined that the current transformer connected to the R-phase line is the third current transformer; if the second current value is not 0, it is determined that the current transformer connected to the R-phase line is the second current transformer. That is to say, if the second current value is 0, it is determined that the current transformer connected to the R-phase line is not the second current transformer (CT2). In the case that it is known that the current transformer connected to the R-phase line is not the first current transformer (CT1) and the second current transformer (CT2), it can be determined that the current transformer connected to the R-phase line is the third current transformer (CT3).
[0043] In some embodiments, if it is determined according to the first current value that the wiring of the first current transformer is not misplaced, the first current transformer is determined as a current transformer connected to the R-phase line, and the actual current of the R-phase line is determined according to the first current value.
[0044] Specifically, if the first current value is not 0, it means that the first current transformer (CT1) is correctly connected to the R-phase line. When the three-phase inverter (INV) performs single-phase grid-connected discharge through the RN circuit, the first current transformer (CT1) collects the first current value, and the actual current of the R-phase line can be determined based on the first current value.
[0045] In some embodiments, the above step 904, according to the current value collected by at least one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop, determines the current transformer connected to the S-phase line, the current transformer connected to the T-phase line, and the actual current of the S-phase line, including: A third current value collected by one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop is obtained.
[0046] The current transformer connected to the S-phase line and the current transformer connected to the T-phase line are determined according to the third current value.
[0047] The actual current of the S-phase line is determined based on the current value collected by the current transformer connected to the S-phase line when the three-phase inverter performs single-phase grid-connected discharge through the SN loop.
[0048] Among them, the above-mentioned other two current transformers are two current transformers other than the current transformer connected to the R-phase line. For example, the current transformer connected to the R-phase line is the first current transformer (CT1), and the other two current transformers refer to the second current transformer (CT2) and the third current transformer (CT3). For another example, the current transformer connected to the R-phase line is the second current transformer (CT2), and the other two current transformers refer to the first current transformer (CT1) and the third current transformer (CT3).
[0049] Taking the current transformer connected to the R-phase line as the second current transformer (CT2) as an example, when the three-phase inverter (INV) performs single-phase grid-connected discharge through the SN loop, the current value collected by the first current transformer (CT1) is the third current value. If the third current value is 0, it is determined that the current transformer connected to the S-phase line is the third current transformer (CT3), and the current transformer connected to the T-phase line is the first current transformer (CT1). If the third current value is not 0, it is determined that the current transformer connected to the S-phase line is the first current transformer (CT1), and the current transformer connected to the T-phase line is the third current transformer (CT3).
[0050] Taking the current transformer connected to the S-phase line as the first current transformer (CT1) as an example, the actual current of the S-phase line can be determined based on the current value collected by the first current transformer (CT1) when the three-phase inverter (INV) performs single-phase grid-connected discharge through the SN loop.
[0051] In some embodiments, the method for determining the actual current of any one of the R phase line, the S phase line and the T phase line includes: determining whether the wiring direction of the current transformer is wrong based on the current value collected by the corresponding current transformer when the single-phase grid-connected discharge of any one of the phase lines is carried out; if the wiring direction is wrong, correcting the phase of the current value to obtain a corrected current value, and determining the corrected current value as the actual current of any one of the phase lines.
[0052] For example, when a three-phase inverter (INV) performs single-phase grid-connected discharge through an SN loop, the current value collected by the current transformer connected to the S-phase line is recorded as current value a. Based on current value a, it can be determined whether the current transformer connected to the S-phase line has a wrong wiring direction. If the wiring direction is correct, the actual current of the S-phase line is current value a. If the wiring direction is wrong, the phase of current value a needs to be corrected, and the actual current of the S-phase line is the corrected current value a. The phase of current value a can be corrected by reverse phase correction.
[0053] Specifically, if the current value a is a positive value, it is determined that the wiring direction of the current transformer connected to the S-phase line is correct, and if the current value a is a negative value, it is determined that the wiring direction of the current transformer connected to the S-phase line is wrong. It should be understood that the method for judging whether the wiring direction of the current transformer connected to the R-phase line and the current transformer connected to the T-phase line is correct is consistent with the method for judging whether the wiring direction of the current transformer connected to the S-phase line is correct, and will not be repeated here.
[0054] In some embodiments, before controlling the three-phase inverter to perform single-phase grid-connection through the RN circuit so that the three-phase inverter discharges to the grid, the correction method also includes: detecting whether the load connected to the three-phase inverter is disconnected, and when the load is disconnected, controlling the three-phase inverter to perform single-phase grid-connection through the RN circuit. Specifically, before grid connection, the load connected to the three-phase inverter (INV) needs to be disconnected to avoid the impact of the load on the grid during grid connection. It should be noted that before controlling any phase line to be connected to the grid, it is necessary to confirm whether the load connected to the three-phase inverter is disconnected. Only when the load is disconnected, the three-phase inverter (INV) is controlled to perform single-phase grid-connected discharge.
[0055] When the load is disconnected, the MCU of the three-phase inverter performs status detection according to the set clock cycle. If it is confirmed to be in the self-generated and self-used state, the grid-connected relay is controlled to close and the grid is discharged. If the current transformer is set to read no data, it is recorded as logic 00 (0), the reading is recorded as logic 01 (1) in the MCU, and the reading is negative as logic 10 (2). After the detection is completed, according to the reading results, the MCU will first determine whether the current transformer is misplaced, and then determine whether the current transformer is reversed. After confirming the misplacement, it will exchange the data of each channel after each sampling cycle. After confirming that the current transformer is reversed, its phase is reversed. Please refer to Fig.10a and Fig.10b , Fig.10a and Fig.10b The control logic block diagram of the three-phase inverter is shown in Figure 2. Figure 1-Figure 8①, ②, and ③ represent the order of grid-connected discharge. The three-phase inverter first controls RN single-phase grid-connected discharge, and detects channel one. If it is not "00", it means that CT1 is in the correct position, and then CT1 is phase-detected and corrected. Otherwise, it means that CT1 is misconnected. At this time, continue to detect channel two. If it is not "00", it means that CT2 is wrongly connected to the R line, and then further phase detection and correction are performed on the reading of channel two. If it is "00", it means that CT3 is wrongly connected to the R line, and further phase detection and correction are performed on the reading of channel three.
[0056] When CT1 is correctly connected to the R line and the phase detection and correction are completed, the SN single-phase grid-connected discharge is controlled. Channel 2 is detected first. If it is not "00", it means that the positions of CT2 and CT3 are correct. Then, phase detection and correction are performed on the channel 2 data. Otherwise, it means that CT3 is wrongly connected to the S line. The S line current data exists in channel 3. Phase detection and correction are performed on channel 3.
[0057] When CT3 is misplaced and connected to the R line and the phase detection and correction is completed, the SN single-phase grid-connected discharge is controlled. First, channel 2 is detected. If it is not "00", it means that CT2 is correctly connected. Then, phase detection and correction are performed on the channel 2 data. Otherwise, it means that CT1 is wrongly connected to the S line. Phase detection and correction are performed on the channel 1 data.
[0058] When CT2 is misplaced and connected to the R line and the phase detection and correction is completed, the SN single-phase grid-connected discharge is controlled. Channel 1 is detected first. If it is not "00", it means that CT1 is misplaced and connected to the S line. Phase detection and correction are performed on the data of channel 1. Otherwise, it means that CT3 is misplaced and connected to the S line. Phase detection and correction are performed on the data of channel 3.
[0059] After completing the two-line position confirmation and phase detection correction, control the TN single-phase discharge. When the CT1 position is correct, the CT2 position is correct, and the CT3 position is also correct, detect channel three, and the detection data does not need to be further processed; when the CT1 position is correct and the CT2 position is wrongly connected to the T line, then CT3 is wrongly connected to the S line, and the phase detection and correction of channel two data are performed, and the channel two and three data are exchanged after each sampling clock cycle; if CT3 is misplaced and connected to the R line, and CT1 is misplaced and connected to the S line, then CT2 is misplaced and connected to the T line, and the phase detection and correction of channel two data are performed, and the channel one and channel two data are exchanged after each sampling clock cycle, and then the channel two and channel three data are exchanged; if CT3 is misplaced and connected to the R line, and CT1 is misplaced and connected to the S line, then CT2 is misplaced and connected to the T line, and the phase detection and correction of channel two data are performed, and the channel one and channel two data are exchanged after each sampling clock cycle, and then the channel two and channel three data are exchanged; If CT2 is connected to the R line and CT2 is connected correctly, then CT1 is connected to the T line incorrectly, and phase detection and correction are performed on channel one data, and channel 1 (i.e. channel one) and channel 3 (i.e. channel three) data are exchanged after each sampling clock cycle; if CT2 is connected to the R line incorrectly and CT3 is connected to the S line incorrectly, then CT1 is connected to the T line incorrectly, and phase detection and correction are performed on channel one data, and channel 1 and channel 2 (i.e. channel two) data are exchanged after each sampling clock cycle, and then channel 1 and channel 3 data are exchanged; if CT2 is connected to the R line incorrectly and CT1 is connected to the S line incorrectly, then CT3 is connected correctly, and phase detection and correction are performed on channel three data, and channel 1 and channel 2 data are exchanged after each sampling clock cycle.
[0060] As can be seen from the above, in the scheme of the present application, the relays of the RN circuit, the SN circuit and the TN circuit are controlled to close in sequence to perform single-phase grid-connected discharge, and during each single-phase grid-connected discharge, the current transformer connected to the corresponding phase line and the actual current of the corresponding phase line are determined based on the reading of at least one current transformer. Even if the user installs the current transformer incorrectly, the relay can automatically correct the readings of each current transformer to obtain the actual current on each phase line, which can solve the problem of incorrect installation of the current transformer and the need for manual correction.
[0061] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0062] Fig.11 This is a schematic diagram of the structure of an inverter provided in one embodiment of the present application. Fig.11 As shown, the inverter 11 of this embodiment includes: at least one processor 110 ( Fig.11Only one is shown in the figure), a memory 111, and a computer program 112 stored in the above-mentioned memory 111 and executable on the above-mentioned at least one processor 110, when the above-mentioned processor 110 executes the above-mentioned computer program 112, the inverter executes the above-mentioned current detection correction method.
[0063] The inverter 11 may include, but is not limited to, a processor 110 and a memory 111. Those skilled in the art will appreciate that Fig.11 This is only an example of the inverter 11 and does not constitute a limitation on the inverter 11 . The inverter 11 may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.
[0064] The processor 110 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0065] In some embodiments, the memory 111 may be an internal storage unit of the inverter 11, such as a hard disk or memory of the inverter 11. In other embodiments, the memory 111 may also be an external storage device of the inverter 11, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the inverter 11. Further, the memory 111 may also include both an internal storage unit of the inverter 11 and an external storage device. The memory 111 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 111 may also be used to temporarily store data that has been output or is to be output.
[0066] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0067] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0068] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0069] An embodiment of the present application provides a computer program product. When the computer program product runs on an inverter, the inverter executes the steps in the above-mentioned method embodiments.
[0070] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code can be in source code form, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may at least include: any entity or device that can carry the computer program code to the inverter, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0072] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0073] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the above modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0074] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple 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.
[0075] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for correcting current detection, characterized in that: Applied to a three-phase inverter, wherein an R-phase line, an S-phase line, a T-phase line and an N-phase line are arranged between the three-phase inverter and the power grid, and the three-phase inverter is connected to three current transformers, the correction method comprises: Controlling the three-phase inverter to perform single-phase grid connection through an RN circuit so that the three-phase inverter discharges to the grid, wherein the RN circuit includes the R-phase line and the N-line; Determine the actual current of the current transformer connected to the R-phase line and the R-phase line according to the current value collected by at least one of the three current transformers when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit; Controlling the three-phase inverter to perform single-phase grid connection through an SN loop so that the three-phase inverter discharges to the grid, wherein the SN loop includes the S-phase line and the N-line; According to the current value collected by at least one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop, determine the current transformer connected to the S-phase line, the current transformer connected to the T-phase line and the actual current of the S-phase line, wherein the remaining two current transformers are two current transformers other than the current transformer connected to the R-phase line; Controlling the three-phase inverter to perform single-phase grid connection through a TN circuit so that the three-phase inverter discharges to the grid, wherein the TN circuit includes the T-phase line and the N-line; The actual current of the T-phase line is determined according to the current value collected by the current transformer connected to the T-phase line when the three-phase inverter performs single-phase grid-connected discharge through the TN loop.
2. The calibration method according to claim 1, characterized in that: The three current transformers include a first current transformer, a second current transformer and a third current transformer; The determining, according to a current value collected by at least one of the three current transformers when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit, the current transformer connected to the R-phase line and the actual current of the R-phase line comprises: Obtaining a first current value collected by the first current transformer when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit; determining whether the first current transformer is misconnected according to the first current value; If it is determined that the first current transformer is misconnected according to the first current value, obtaining a second current value collected by the second current transformer when the three-phase inverter performs single-phase grid-connected discharge through the RN circuit; Determining the current transformer connected to the R-phase line from the second current transformer and the third current transformer according to the second current value; The current value collected by the current transformer connected to the R-phase line when the three-phase inverter performs single-phase grid-connected discharge through the RN loop is obtained, and the actual current of the R-phase line is determined according to the current value.
3. The calibration method according to claim 2, characterized in that: The correction method also includes: If it is determined according to the first current value that the wiring of the first current transformer is not misplaced, the first current transformer is determined as the current transformer connected to the R-phase line, and the actual current of the R-phase line is determined according to the first current value.
4. The calibration method according to claim 3, characterized in that: The method of determining the current transformer connected to the S-phase line, the current transformer connected to the T-phase line, and the actual current of the S-phase line according to the current value collected by at least one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop comprises: Obtaining a third current value collected by one of the remaining two current transformers when the three-phase inverter performs single-phase grid-connected discharge through the SN loop; Determine the current transformer connected to the S-phase line and the current transformer connected to the T-phase line according to the third current value; The actual current of the S-phase line is determined according to the current value collected by the current transformer connected to the S-phase line when the three-phase inverter performs single-phase grid-connected discharge through the SN loop.
5. The calibration method according to claim 4, characterized in that: The method of determining the actual current of any one of the R phase line, the S phase line and the T phase line includes: Determine whether the wiring direction of the current transformer is wrong according to the current value collected by the corresponding current transformer when the single-phase grid-connected discharge of any one-phase line is carried out; If the wiring direction is wrong, the phase of the current value is corrected to obtain a corrected current value, and the corrected current value is determined as the actual current of the arbitrary phase line.
6. The calibration method according to any one of claims 2 to 5, characterized in that: The determining the current transformer connected to the R-phase line from the second current transformer and the third current transformer according to the second current value comprises: If the second current value is 0, determining that the current transformer connected to the R-phase line is the third current transformer; If the second current value is not 0, it is determined that the current transformer connected to the R-phase line is the second current transformer.
7. The calibration method according to claim 5, characterized in that: The step of determining whether the wiring direction of the current transformer is wrong according to the current value collected by the corresponding current transformer during the single-phase grid-connected discharge of any one-phase line comprises: If the current value collected by the corresponding current transformer during the single-phase grid-connected discharge of any one-phase line is positive, it is determined that the wiring direction of the current transformer is correct; If the current value collected by the corresponding current transformer during single-phase grid-connected discharge of any one-phase line is negative, it is determined that the wiring direction of the current transformer is wrong.
8. The calibration method according to claim 1, wherein: Before controlling the three-phase inverter to perform single-phase grid connection through the RN circuit so that the three-phase inverter discharges to the grid, the correction method further includes: Detect whether the load connected to the three-phase inverter is disconnected, and when the load is disconnected, control the three-phase inverter to perform single-phase grid connection through the RN loop.
9. An inverter, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and the processor is used to call and run the computer program from the memory, so that the inverter executes the method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Method for testing single-interval current transformer
CN103616657A
Automatic wire connection test method of electric power control metering device
CN107976648A
Phase sequence detection device and method, and air conditioning equipment
CN110780126A
Inverter and DC branch current calibration method thereof
CN116540164A
Voltage transformer secondary circuit wiring verification device
CN215986452U
