Current detection correction method, inverter and storage medium
By using the current detection and correction method in the photovoltaic energy storage inverter, the current value is collected by controlling the inverter's loop, and the wiring error of the current transformer is judged and corrected, the problem of current transformer installation is solved and the installation is improved. Accuracy and convenience.
Patent Information
- Application Number
- CN202411259255.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-09-10
AI Technical Summary
In photovoltaic energy storage inverters, the installation error of the current transformer causes manual correction, resulting in installation difficulties and errors.
Provide a current detection and correction method, which controls the L1-N and L2-N circuits of the phase crack inverter for single-phase grid-connected discharge, collects current values, determines whether the current transformer is wired out of place or direction incorrect, and performs phase correction. , determine the actual current value.
Conveniently and quickly correct wiring errors of current transformers, reduce manual intervention, and improve installation accuracy.
Smart Images

Figure CN118777965B_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 split-phase inverter, wherein the split-phase inverter is connected to a first current transformer and a second current transformer, and the correction method comprises:
[0005] Control the split-phase inverter to connect to the grid in single phase through the L1-N loop, so that the split-phase inverter discharges to the grid;
[0006] Obtaining a first current value collected by the first current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L1-N loop;
[0007] determining whether the first current transformer is misconnected according to the first current value;
[0008] 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 split-phase inverter performs single-phase grid-connected discharge through the L1-N loop is obtained;
[0009] determining whether the wiring direction of the second current transformer is wrong according to the second current value;
[0010] If it is determined according to the second current value that the wiring direction of the second current transformer is wrong, the phase of the second current value is corrected to obtain a first corrected current value, and the first corrected current value is determined as the actual current on the L1-N loop.
[0011] Optionally, the correction method further includes:
[0012] If it is determined according to the second current value that the wiring direction of the second current transformer is correct, the second current value is determined as the actual current on the L1 -N loop.
[0013] Optionally, the correction method further includes:
[0014] If it is determined according to the first current value that the wiring of the first current transformer is not misaligned, then determining according to the first current value whether the wiring direction of the first current transformer is wrong;
[0015] If it is determined according to the first current value that the wiring direction of the first current transformer is wrong, the phase of the first current value is corrected to obtain a second corrected current value, and the second corrected current value is determined as the actual current on the L1-N loop;
[0016] If it is determined according to the first current value that the wiring direction of the first current transformer is correct, the first current value is determined as the actual current on the L1 -N loop.
[0017] Optionally, the correction method further includes:
[0018] Control the L2-N loop to connect to the grid in single phase, so that the split-phase inverter can discharge to the grid;
[0019] If it is determined according to the first current value that the wiring of the first current transformer is not misaligned, then obtaining a third current value collected by the second current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L2-N loop;
[0020] determining whether the wiring direction of the second current transformer is wrong according to the third current value;
[0021] If it is determined according to the third current value that the wiring direction of the second current transformer is wrong, the phase of the third current value is corrected to obtain a third corrected current value, and the third corrected current value is determined as the actual current on the L2-N loop;
[0022] If it is determined according to the third current value that the wiring direction of the second current transformer is correct, the third current value is determined as the actual current on the L2-N loop.
[0023] Optionally, the correction method further comprises:
[0024] If the wiring misalignment of the first current transformer is determined according to the first current value, a fourth current value collected by the first current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L2-N loop is obtained;
[0025] determining whether the wiring direction of the first current transformer is wrong according to the fourth current value;
[0026] If it is determined according to the fourth current value that the wiring direction of the first current transformer is wrong, the phase of the fourth current value is corrected to obtain a fourth corrected current value, and the fourth corrected current value is determined as the actual current on the L2-N loop;
[0027] If it is determined according to the fourth current value that the wiring direction of the first current transformer is correct, the fourth current value is determined as the actual current on the L2-N loop.
[0028] Optionally, determining whether the first current transformer is misconnected according to the first current value includes:
[0029] If the first current value is 0, it is determined that the first current transformer is misconnected;
[0030] If the first current value is not 0, it is determined that the wiring of the first current transformer is not misaligned.
[0031] Optionally, determining whether the second current transformer is connected in a wrong direction according to the second current value includes:
[0032] If the second current value is positive, it is determined that the wiring direction of the second current transformer is correct;
[0033] If the second current value is a negative value, it is determined that the wiring direction of the second current transformer is wrong.
[0034] Optionally, before controlling the split-phase inverter to perform single-phase grid connection through the L1-N loop so that the split-phase inverter discharges to the grid, it also includes:
[0035] Detect whether the load connected to the split-phase inverter is disconnected. When the load is disconnected, control the split-phase inverter to perform single-phase grid connection through the L1-N loop.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] In the current detection correction method provided in the first aspect above, the split-phase inverter can be controlled to be connected to the grid in a single phase through the L1-N loop, so that the split-phase inverter discharges to the grid; the first current value collected by the first current transformer when the split-phase inverter is connected to the grid in a single phase through the L1-N loop is obtained, if the wiring of the first current transformer is determined to be misplaced according to the first current value, then the second current value collected by the second current transformer when the split-phase inverter is connected to the grid in a single phase through the L1-N loop is obtained, if the wiring direction of the second current transformer is determined to be wrong according to the second current value, then the phase of the second current value is corrected to obtain the first correction current value, and the first correction current value is determined as the actual current on the L1-N loop. In the above manner, the current transformer connected to the L1-N loop can be determined quickly and conveniently, and the current value collected by the current transformer connected to the L1-N loop can be corrected to obtain the actual current on the L1-N loop, which can solve the problem of incorrect installation of the current transformer and the need for manual correction.
[0040] 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
[0041] 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.
[0042] Figure 1 is a schematic diagram of a split-phase inverter provided in an embodiment of the present application operating in a single-phase mode;
[0043] Figure 2 is a schematic diagram of a split-phase inverter provided in an embodiment of the present application operating in a split-phase mode;
[0044] Figure 3 is a flow chart of a current detection correction method provided in an embodiment of the present application;
[0045] Figure 4 is a single-phase mode logic diagram of the current detection correction method provided in an embodiment of the present application;
[0046] Figure 5 is a split-phase mode logic diagram of the current detection correction method provided in an embodiment of the present application;
[0047] Figure 6 It is a schematic diagram of the structure of the inverter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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.
[0053] 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.
[0054] First, the technical terms mentioned in the embodiments of the present application are explained.
[0055] Split-phase inverter: It is a power converter that is mainly used to convert DC power into AC power. Its working principle is based on power electronics technology and control principles. Through effective circuit design and regulation, it realizes the conversion from DC to AC.
[0056] Split phase (pseudo two-phase): Split phase inverter or "pseudo two-phase" inverter is not a true two-phase system. It usually generates two slightly offset voltage waveforms from a single-phase power supply through some means (such as electronic switches or transformers) to simulate the effect of two phases. However, in terms of physical connection, it is still only connected to the live and neutral wires of the single-phase power supply.
[0057] Grid connection: Grid connection refers to connecting the power generated by the inverter to the mains power grid so that the two can jointly supply power to the load or feed power back to the grid. During the grid connection process, the inverter needs to ensure that its output voltage, frequency and phase match those of the mains power grid.
[0058] When installing a current transformer, users often connect the current transformer’s phase line or direction incorrectly. Figure 1 , taking the split-phase inverter working in single-phase mode as an example, in order to be compatible with the split-phase working inverter, there are two internal current transformer channels, so the external current transformer has two possible errors: wiring misalignment and phase reversal. The process of split-phase inverter to achieve single-phase mode mainly depends on its internal circuit design and control strategy. Although the term "split-phase" is usually associated with phase control or phase adjustment, in the application of single-phase inverters, it refers more to the working mode of the inverter on a single phase. Figure 1 In the figure, L1 is the live wire and N is the neutral wire. CT1 represents the first current transformer, and its data is connected to the internal channel 1 of the MCU (Microcontroller Unit) of the inverter. The internal channel can be the data port of the MCU for receiving data. INV is the abbreviation of inverter, and GRID is the abbreviation of mains electricity.
[0059] Similarly, the embodiment of the present application is still applicable in the corresponding split-phase working mode. When facing the errors of misalignment and reverse connection of the current transformer wiring, there are eight possible topological connection block diagrams of the split-phase inverter, such as Figure 2As shown. The definitions of L1, L2, and N are as follows: In a split-phase inverter, L1 and L2 represent two voltage output terminals with slightly offset phases generated by split-phase technology, and N is the neutral line. ① and ② respectively represent the order of grid-connected discharge. CT1 represents the first current transformer, and its data is connected to the internal channel one of the inverter's MCU. CT2 represents the second current transformer, and its data is connected to the internal channel two of the inverter's MCU. The internal channel can be the data port of the MCU, which is used to receive data. INV is the abbreviation of inverter in English, and GRID is the abbreviation of mains electricity in English.
[0060] Figure 3 A 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 split-phase inverter, and the split-phase inverter is connected to a first current transformer and a second current transformer, and is described in detail as follows:
[0061] Step 301, controlling the split-phase inverter to perform single-phase grid connection through the L1-N loop, so that the split-phase inverter discharges to the grid.
[0062] Step 302, obtaining a first current value collected by the first current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L1-N loop.
[0063] Step 303: Determine whether the first current transformer is misconnected according to the first current value.
[0064] Step 304: If it is determined according to the first current value that the wiring of the first current transformer is misaligned, a second current value collected by the second current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L1-N loop is obtained.
[0065] Step 305: Determine whether the second current transformer is connected in the wrong direction according to the second current value.
[0066] Step 306: If it is determined according to the second current value that the connection direction of the second current transformer is wrong, the phase of the second current value is corrected to obtain a first corrected current value, and the first corrected current value is determined as the actual current on the L1-N loop.
[0067] See also Figure 1 , taking the split-phase inverter (INV) working in single-phase mode as an example, the MCU of the split-phase inverter (INV) controls the relay to close, which can turn on the L1-N loop, and the current output by the split-phase inverter (INV) flows back to the split-phase inverter (INV) through the L1 phase line and the N line. When the L1-N loop is turned on, the first current transformer (CT1) can collect the current value, which is recorded as the first current value. According to the first current value, it can be determined whether the first current transformer is misplaced. Among them, the L1-N loop includes the L1 phase line and the N line.
[0068] For example, if the first current value is 0, it is determined that the wiring of the first current transformer (CT1) is misplaced; if the first current value is not 0, it is determined that the wiring of the first current transformer (CT1) is not misplaced. Specifically, the wiring of the first current transformer (CT1) is not misplaced, which means that the first current transformer (CT1) is connected to the L1 phase line, and the wiring of the first current transformer (CT1) is misplaced, which means that the first current transformer (CT1) is not connected to the L1 phase line. When the first current transformer (CT1) is connected to the L1 phase line, the L1-N loop is turned on, and the first current value collected by the first current transformer (CT1) is not 0; when the first current transformer (CT1) is not connected to the L1 phase line, the L1-N loop is turned on, and the first current value collected by the first current transformer (CT1) is 0. In this way, it can be determined whether the wiring of the first current transformer (CT1) is misplaced based on the first current value.
[0069] If the first current transformer (CT1) is misconnected according to the first current value, it means that the current transformer connected to the L1 phase line is the second current transformer (CT2). When the L1-N loop is turned on, the current value collected by the second current transformer (CT2) is recorded as the second current value. It should be understood that even if it has been confirmed that the second current transformer (CT2) is connected to the L1 phase line, the second current value cannot be directly determined as the actual current on the L1-N loop. At this time, it is necessary to determine whether the second current transformer is connected in the wrong direction according to the second current value.
[0070] For example, if the second current value is a positive value, it is determined that the wiring direction of the second current transformer (CT2) is correct; if the second current value is a negative value, it is determined that the wiring direction of the second current transformer (CT2) is wrong. Specifically, if the wiring direction of the second current transformer (CT2) is correct, the current value collected by the second current transformer (CT2) is a positive value; if the wiring direction of the second current transformer (CT2) is wrong, the current value collected by the second current transformer (CT2) is a negative value. According to the positive and negative judgment of the second current value, it can be determined whether the wiring direction of the second current transformer (CT2) is correct, that is, whether the second current transformer (CT2) is positively connected or reversely connected.
[0071] In some embodiments, the correction method further includes: if it is determined that the wiring direction of the second current transformer is correct according to the second current value, the second current value is determined as the actual current on the L1-N loop. Specifically, if it is determined that the second current transformer (CT2) is positively connected according to the second current value, the second current value is the actual current on the L1-N loop. If it is determined that the second current transformer (CT2) is reversely connected according to the second current value, it means that the second current value is not the actual current on the L1-N loop. At this time, it is necessary to perform phase correction on the second current value, that is, reversely correct the phase of the second current value to obtain a first corrected current value, and the first corrected current value is determined as the actual current on the L1-N loop.
[0072] In some embodiments, 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, then determining whether the wiring direction of the first current transformer is wrong according to the first current value; if it is determined according to the first current value that the wiring direction of the first current transformer is wrong, then correcting the phase of the first current value to obtain a second correction current value, and determining the second correction current value as the actual current on the L1-N loop; if it is determined according to the first current value that the wiring direction of the first current transformer is correct, then determining the first current value as the actual current on the L1-N loop.
[0073] Specifically, if the wiring of the first current transformer (CT1) is not misplaced, it means that the first current transformer (CT1) is connected to the L1 phase line. If the first current value is a positive value, it is determined that the first current transformer (CT1) is connected forwardly and the wiring direction is correct, and the first current value is the actual current on the L1-N loop. If the first current value is a negative value, it is determined that the first current transformer (CT1) is reversely connected and the wiring direction is wrong. It is necessary to reversely correct the phase of the first current value to obtain a second corrected current value, which is the actual current on the L1-N loop.
[0074] In some embodiments, the split-phase inverter (INV) is in a split-phase operation mode, and in this case, it is also necessary to detect the actual current on the L2-N loop. Based on this, the correction method further includes:
[0075] The L2-N loop is controlled to perform single-phase grid connection so that the split-phase inverter discharges to the grid.
[0076] If it is determined according to the first current value that the wiring of the first current transformer is not misplaced, then a third current value collected by the second current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L2-N loop is obtained.
[0077] It is determined whether the wiring direction of the second current transformer is wrong according to the third current value.
[0078] If it is determined according to the third current value that the wiring direction of the second current transformer is wrong, the phase of the third current value is corrected to obtain a third corrected current value, and the third corrected current value is determined as the actual current on the L2-N loop.
[0079] If it is determined according to the third current value that the wiring direction of the second current transformer is correct, the third current value is determined as the actual current on the L2-N loop.
[0080] In the present application, please refer to Figure 2 , the L2-N loop includes the L2 phase line and the N phase line. After the current transformer connected to the L1 phase line has been determined, the current transformer of the L2 phase line can be determined. For example, if it has been determined that the current transformer connected to the L1 phase line is the first current transformer (CT1), then the current transformer connected to the L2 phase line is the second current transformer (CT2).
[0081] Taking the current transformer connected to the L2 phase line as the second current transformer (CT2) as an example, when the L2-N loop is turned on, the current value collected by the second current transformer (CT2) is recorded as the third current value. If the third current value is a positive value, it means that the second current transformer (CT2) is connected in the forward direction, that is, the wiring direction of the second current transformer (CT2) is correct, and the third current value is the actual current on the L2-N loop. If the third current value is a negative value, it means that the second current transformer (CT2) is reversely connected, that is, the wiring direction of the second current transformer (CT2) is wrong. In this case, the phase of the third current value needs to be corrected. For example, the phase is reversely corrected to obtain the third corrected current value, and the third corrected current value is the actual current on the L2-N loop.
[0082] In some embodiments, the correction method also includes: if it is determined based on the first current value that the wiring of the first current transformer is misplaced, then obtaining a fourth current value collected by the first current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L2-N loop; determining whether the wiring direction of the first current transformer is incorrect based on the fourth current value; if it is determined based on the fourth current value that the wiring direction of the first current transformer is incorrect, then correcting the phase of the fourth current value to obtain a fourth corrected current value, and determining the fourth corrected current value as the actual current on the L2-N loop; if it is determined based on the fourth current value that the wiring direction of the first current transformer is correct, then determining the fourth current value as the actual current on the L2-N loop.
[0083] Specifically, if it has been determined that the current transformer connected to the L1 phase line is the second current transformer (CT2), then the current transformer connected to the L2 phase line is the first current transformer (CT1). Taking the current transformer connected to the L2 phase line as the first current transformer (CT1) as an example, when the L2-N loop is turned on, the current value collected by the first current transformer (CT1) is recorded as the fourth current value. If the fourth current value is a positive value, it means that the first current transformer (CT1) is positively connected, that is, the wiring direction of the first current transformer (CT1) is correct, and the fourth current value is the actual current on the L2-N loop. If the fourth current value is a negative value, it means that the first current transformer (CT1) is reversely connected, that is, the wiring direction of the first current transformer (CT1) is wrong. In this case, the phase of the fourth current value needs to be corrected, such as the phase is reversely corrected to obtain a fourth corrected current value, and the fourth corrected current value is the actual current on the L2-N loop.
[0084] In some embodiments, before controlling the split-phase inverter to perform single-phase grid-connection through the L1-N loop so that the split-phase inverter discharges to the grid, the correction method also includes: detecting whether the load connected to the split-phase inverter is disconnected, and when the load is disconnected, controlling the split-phase inverter to perform single-phase grid-connection through the L1-N loop. Specifically, before grid connection, the load connected to the split-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 split-phase inverter is disconnected. Only when the load is disconnected, the split-phase inverter (INV) is controlled to perform single-phase grid-connected discharge.
[0085] When the load is disconnected, the MCU of the split-phase inverter performs status detection according to the set clock cycle. If it is confirmed to be in the self-generation and self-use 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). If the reading is positive, it is recorded in the MCU as logic 01 (1). If the reading is negative, it is recorded as logic 10 (2).
[0086] Take the split-phase inverter working in single-phase mode as an example, please refer to Figure 4 , Figure 4 This is the control logic block diagram of the split-phase inverter working in single-phase mode. After the detection is completed, based on the reading results, the MCU will first determine whether the current transformer is misconnected, and then determine whether the current transformer is reversed. After confirming the misconnection, it will exchange the data of each channel after each sampling cycle. After confirming that the current transformer is reversed, its phase will be reversed.
[0087] Take the split-phase inverter operating in split-phase mode as an example, please refer to Figure 5 , Figure 5 It is the equivalent connection topology block diagram under the split-phase circuit and the control logic of the MCU. Figure 2① and ② represent the order of grid-connected discharge, respectively. CT1 represents the detection data connected to channel 1, and CT2 represents the detection data connected to channel 2. Similar to the single-phase mode, after completing the self-test, the grid-connected discharge is first carried out through the L1-N loop, and the reading of channel 1 is detected. If the reading in the MCU is logical "00", it means that the wiring of CT1 and CT2 is misplaced. At this time, the data of channel 2 is the current of the L1-N loop, and the data of channel 1 is the current of the L2-N loop. The phase of channel 2 data is further determined. If the reading in the MCU is logical "01", it means that CT1 is connected forwardly and no processing is required. If the reading in the MCU is logical "10", it means that CT1 is reversely connected and reverse phase correction is performed.
[0088] Then, the L2-N loop is connected to the grid for discharge, and the same phase judgment is performed on the data of channel one. If the phase is reversed, correction is performed. After each cycle of detection and correction is completed, the data of channels one and two are exchanged.
[0089] If the reading of channel one of the grid-connected discharge detection through the L1-N loop is not "00" at the beginning, it means that the wiring of CT1 and CT2 is correct, the reading of channel one is the L1-N current, and the reading of channel two is the L2-N current. It is only necessary to perform the same phase determination and correction as above on the two channels in sequence.
[0090] As can be seen from the above, in the present application scheme, the split-phase inverter can be controlled to be connected to the grid in single phase through the L1-N loop, so that the split-phase inverter discharges to the grid; the first current value collected by the first current transformer when the split-phase inverter is connected to the grid in single phase through the L1-N loop is obtained, if the wiring of the first current transformer is determined to be misplaced according to the first current value, then the second current value collected by the second current transformer when the split-phase inverter is connected to the grid in single phase through the L1-N loop is obtained, if the wiring direction of the second current transformer is determined to be wrong according to the second current value, then the phase of the second current value is corrected to obtain the first corrected current value, and the first corrected current value is determined as the actual current on the L1-N loop. In the above manner, the current transformer connected to the L1-N loop can be determined quickly and conveniently, and the current value collected by the current transformer connected to the L1-N loop can be corrected, so as to obtain the actual current on the L1-N loop, which can solve the problem of incorrect installation of the current transformer and the need for manual correction.
[0091] 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.
[0092] Figure 6 This is a schematic diagram of the structure of an inverter provided in one embodiment of the present application. Figure 6As shown, the inverter 6 of this embodiment includes: at least one processor 60 ( Figure 6 Only one is shown), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, wherein when the processor 60 executes the computer program 62, the inverter executes the current detection correction method.
[0093] The inverter 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 6 This is only an example of the inverter 6 and does not constitute a limitation on the inverter 6. The inverter 6 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.
[0094] The processor 60 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.
[0095] In some embodiments, the memory 61 may be an internal storage unit of the inverter 6, such as a hard disk or memory of the inverter 6. In other embodiments, the memory 61 may also be an external storage device of the inverter 6, 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 6. Further, the memory 61 may include both an internal storage unit of the inverter 6 and an external storage device. The memory 61 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 61 may also be used to temporarily store data that has been output or is to be output.
[0096] 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.
[0097] 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.
[0098] 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.
[0099] 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.
[0100] 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.
[0101] 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.
[0102] 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.
[0103] 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.
[0104] 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.
[0105] 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 split-phase inverter, the split-phase inverter is connected to a first current transformer and a second current transformer, and the correction method includes: Controlling the split-phase inverter to perform single-phase grid connection through the L1-N loop so that the split-phase inverter discharges to the grid; Obtaining a first current value collected by the first current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L1-N loop; Determining whether the first current transformer is misconnected according to the first current value, wherein if it is determined according to the first current value that the first current transformer is misconnected, it means that the current transformer connected to the L1 phase line is the second current transformer, and if the first current transformer is not misconnected, it means that the first current transformer is connected to the L1 phase line; 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 split-phase inverter performs single-phase grid-connected discharge through the L1-N loop is obtained; determining whether the second current transformer has a wrong wiring direction according to the second current value; If it is determined according to the second current value that the wiring direction of the second current transformer is wrong, the phase of the second current value is corrected to obtain a first corrected current value, and the first corrected current value is determined as the actual current on the L1-N loop.
2. The calibration method according to claim 1, characterized in that: The correction method also includes: If it is determined according to the second current value that the wiring direction of the second current transformer is correct, the second current value is determined as the actual current on the L1-N loop.
3. The calibration method according to claim 1 or 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 misaligned, determining according to the first current value whether the wiring direction of the first current transformer is wrong; If it is determined according to the first current value that the wiring direction of the first current transformer is wrong, correcting the phase of the first current value to obtain a second corrected current value, and determining the second corrected current value as the actual current on the L1-N loop; If it is determined according to the first current value that the wiring direction of the first current transformer is correct, the first current value is determined as the actual current on the L1-N loop.
4. The calibration method according to claim 3, characterized in that: The correction method also includes: Controlling the L2-N loop to perform single-phase grid connection so that the split-phase inverter discharges to the grid; If it is determined according to the first current value that the wiring of the first current transformer is not misaligned, obtaining a third current value collected by the second current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L2-N loop; determining whether the second current transformer has a wrong wiring direction according to the third current value; If it is determined according to the third current value that the wiring direction of the second current transformer is wrong, correcting the phase of the third current value to obtain a third corrected current value, and determining the third corrected current value as the actual current on the L2-N loop; If it is determined according to the third current value that the wiring direction of the second current transformer is correct, the third current value is determined as the actual current on the L2-N loop.
5. The calibration method according to claim 4, characterized in that: The correction method also includes: If the wiring misalignment of the first current transformer is determined according to the first current value, a fourth current value collected by the first current transformer when the split-phase inverter performs single-phase grid-connected discharge through the L2-N loop is obtained; determining whether the first current transformer has a wrong wiring direction according to the fourth current value; If it is determined according to the fourth current value that the wiring direction of the first current transformer is wrong, correcting the phase of the fourth current value to obtain a fourth corrected current value, and determining the fourth corrected current value as the actual current on the L2-N loop; If it is determined according to the fourth current value that the wiring direction of the first current transformer is correct, the fourth current value is determined as the actual current on the L2-N loop.
6. The calibration method according to claim 1, wherein: The determining whether the first current transformer is misconnected according to the first current value comprises: If the first current value is 0, it is determined that the first current transformer is misconnected; If the first current value is not 0, it is determined that the wiring of the first current transformer is not misaligned.
7. The calibration method according to claim 6, characterized in that: The determining, according to the second current value, whether the wiring direction of the second current transformer is wrong comprises: If the second current value is a positive value, it is determined that the wiring direction of the second current transformer is correct; If the second current value is a negative value, it is determined that the wiring direction of the second current transformer is wrong.
8. The calibration method according to claim 1, wherein: Before controlling the split-phase inverter to perform single-phase grid connection through the L1-N loop so that the split-phase inverter discharges to the grid, it also includes: Detect whether the load connected to the split-phase inverter is disconnected. When the load is disconnected, control the split-phase inverter to perform single-phase grid connection through the L1-N 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.
