Power grid phase sequence detection method, power equipment and computer readable storage medium

By acquiring the voltage values ​​of phase B, phase C, and phase A of the power grid and their changing states, the power grid phase sequence detection process is simplified, solving the problem of complex detection in existing technologies and achieving efficient and accurate phase sequence detection.

CN121595973APending Publication Date: 2026-03-03BEIJING HEKANG NEW ENERGY FREQUENCY CONVERSION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411171230.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

In existing technologies, power grid phase sequence detection relies on complex angular frequency or amplitude calculations, resulting in a cumbersome and inefficient detection process.

Method used

By acquiring the phase B, phase C, and phase A voltage values ​​of the power grid, and based on the relationship between the phase A voltage value and the phase B and phase C voltage values, the phase sequence of the power grid is determined.

Benefits of technology

It simplifies the calculation process, improves the efficiency and accuracy of power grid phase sequence detection, and enables efficient phase sequence detection at low cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121595973A_ABST
    Figure CN121595973A_ABST
Patent Text Reader

Abstract

The invention discloses a power grid phase sequence detection method, power equipment and a computer readable storage medium, and relates to the technical field of power electronics, and the power grid phase sequence detection method comprises the steps: obtaining the change states of a B-phase voltage value, a C-phase voltage value and an A-phase voltage value of a power grid voltage; and determining the phase sequence of the power grid according to the change state of the A-phase voltage and the magnitude relationship between the B-phase voltage value and the C-phase voltage value. According to the invention, the power grid phase sequence can be detected simply, conveniently and efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power electronics technology, and in particular to a power grid phase sequence detection method, power equipment, and computer-readable storage medium. Background Technology

[0002] In a three-phase power system, the phase sequence of the power grid is a crucial parameter that directly affects the operation and stability of electrical equipment. Therefore, accurately detecting the phase sequence of the power grid is essential for all types of electrical equipment connected to the grid.

[0003] Currently, the detection of power grid phase sequence generally relies on the calculation of angular frequency or amplitude. However, this method is often accompanied by a complex calculation process, which not only makes the power grid phase sequence detection process cumbersome, but also restricts the detection efficiency of power grid phase sequence. Summary of the Invention

[0004] The main objective of this application is to provide a power grid phase sequence detection method, power equipment, and computer-readable storage medium, which aims to achieve simple and efficient detection of power grid phase sequence.

[0005] To achieve the above objectives, this application provides a power grid phase sequence detection method, the method comprising:

[0006] Obtain the changes in phase B, phase C, and phase A voltages of the power grid.

[0007] The phase sequence of the power grid is determined based on the change state of the phase A voltage and the magnitude relationship between the phase B voltage value and the phase C voltage value.

[0008] In one embodiment, the step of determining the phase sequence of the power grid based on the change state of the phase A voltage and the magnitude relationship between the phase B voltage value and the phase C voltage value includes:

[0009] Based on the change state of the phase A voltage and the relationship between the phase B voltage value and the phase C voltage value, the target phase sequence condition that the power grid must satisfy is determined;

[0010] The phase sequence of the power grid is determined based on the target phase sequence conditions satisfied by the power grid.

[0011] In one embodiment, the step of determining the target phase sequence conditions satisfied by the power grid based on the change state of the phase A voltage and the magnitude relationship between the phase B voltage value and the phase C voltage value includes:

[0012] If the voltage change state of phase A is rising and the voltage value of phase B is less than the voltage value of phase C, or if the voltage change state of phase A is falling and the voltage value of phase B is greater than the voltage value of phase C, then the target phase sequence condition satisfied by the power grid is determined to be a positive sequence condition.

[0013] If the voltage change state of phase A is rising and the voltage value of phase B is greater than the voltage value of phase C, or if the voltage change state of phase A is falling and the voltage value of phase B is less than the voltage value of phase C, then the target phase sequence condition satisfied by the power grid is determined to be a negative sequence condition.

[0014] In one embodiment, the step of determining the phase sequence of the power grid based on the target phase sequence conditions satisfied by the power grid includes:

[0015] If the target phase sequence condition satisfied by the power grid is a positive sequence condition, then the phase sequence of the power grid is determined to be positive.

[0016] If the target phase sequence condition satisfied by the power grid is a negative sequence condition, then the phase sequence of the power grid is determined to be negative.

[0017] In one embodiment, the step of adjusting the count value of the phase sequence counter according to the target phase sequence condition satisfied by the power grid to obtain the target count value of the phase sequence counter includes:

[0018] If the target phase sequence condition met by the power grid is a positive sequence condition, then the count value of the phase sequence counter is incremented by one to obtain the target count value of the phase sequence counter;

[0019] If the target phase sequence condition satisfied by the power grid is a negative sequence condition, then the count value of the phase sequence counter is reduced by one to obtain the target count value of the phase sequence counter;

[0020] The step of determining the phase sequence of the power grid based on the target count value of the phase sequence counter includes:

[0021] When the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be positive; when the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be negative.

[0022] In one embodiment, the step of determining the phase sequence of the power grid based on the target phase sequence conditions satisfied by the power grid includes:

[0023] Based on the target phase sequence conditions satisfied by the power grid, the count values ​​of the positive sequence counter and the negative sequence counter are adjusted to obtain the target count values ​​of the positive sequence counter and the negative sequence counter.

[0024] The phase sequence of the power grid is determined based on the target count value of the positive sequence counter and the target count value of the negative sequence counter.

[0025] In one embodiment, the step of determining the phase sequence of the power grid based on the target count value of the phase sequence counter further includes:

[0026] When the absolute value of the target count value of the phase sequence counter is greater than the preset count threshold, if the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be positive; if the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be negative.

[0027] In one embodiment, the step of determining the phase sequence of the power grid based on the target phase sequence conditions satisfied by the power grid includes:

[0028] Based on the target phase sequence conditions satisfied by the power grid, the count values ​​of the positive sequence counter and the negative sequence counter are adjusted to obtain the target count values ​​of the positive sequence counter and the negative sequence counter.

[0029] The phase sequence of the power grid is determined based on the target count value of the positive sequence counter and the target count value of the negative sequence counter.

[0030] In one embodiment, the step of determining the phase sequence of the power grid based on the target count value of the positive sequence counter and the target count value of the negative sequence counter includes:

[0031] If the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be positive.

[0032] If the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be negative.

[0033] In one embodiment, the step of determining the phase sequence of the power grid based on the target count value of the positive sequence counter and the target count value of the negative sequence counter further includes:

[0034] If the sum of the target count value of the positive sequence counter and the target count value of the negative sequence counter is greater than a preset count sum threshold, and / or the absolute value of the difference between the target count value of the positive sequence counter and the target count value of the negative sequence counter is greater than a preset count difference threshold, then if the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be positive; if the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be negative.

[0035] In one embodiment, the step of obtaining the change states of phase B voltage, phase C voltage, and phase A voltage of the power grid includes:

[0036] The grid voltage is filtered to obtain the filtered grid voltage;

[0037] Obtain the A-phase voltage value, B-phase voltage value, and C-phase voltage value of the grid voltage after filtering;

[0038] The change state of phase A voltage is determined by the relationship between the phase A voltage value obtained at the current moment and the phase A voltage value obtained at the previous moment.

[0039] In addition, to achieve the above objectives, this application also provides a power device, the power device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the power grid phase sequence detection method as described above.

[0040] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the power grid phase sequence detection method described above.

[0041] In addition, to achieve the above objectives, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the power grid phase sequence detection method described above.

[0042] This application provides a method for detecting the phase sequence of a power grid. First, the method acquires the voltage values ​​of phase B, phase C, and the change state of phase A in the power grid. Then, based on the change state of phase A voltage and the magnitude relationship between phase B and phase C voltage values, the phase sequence of the power grid can be determined. Because the voltage magnitude relationship between phase B and phase C voltages differs under the same phase sequence and change state of phase A voltage, the phase sequence of the power grid can be accurately determined by analyzing the change state of phase A voltage and the magnitude relationship between phase B and phase C voltage values.

[0043] Therefore, this application proposes a method for detecting the phase sequence of a power grid by utilizing the phase voltage of each phase. Since this method involves fewer and simpler calculations in the actual detection of the power grid phase sequence, it can easily and efficiently achieve the detection of the power grid phase sequence. Attached Figure Description

[0044] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0045] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0046] Figure 1 This is a flowchart illustrating the power grid phase sequence detection method provided in the first embodiment of this application;

[0047] Figure 2 A schematic diagram of the grid voltage waveform during positive sequence provided in an embodiment of this application;

[0048] Figure 3 A schematic diagram of the grid voltage waveform during negative sequence operation provided in an embodiment of this application;

[0049] Figure 4 This is a schematic diagram of the overall process of the power grid phase sequence detection method provided in the embodiments of this application;

[0050] Figure 5 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.

[0051] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0052] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0053] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0054] In a three-phase power system, the phase sequence of the power grid is a crucial parameter that directly affects the operation and stability of electrical equipment. Therefore, accurately detecting the phase sequence of the power grid is essential for all types of electrical equipment connected to the grid.

[0055] Currently, the detection of power grid phase sequence generally relies on the calculation of angular frequency or amplitude. However, this method is often accompanied by a complex calculation process, which not only makes the power grid phase sequence detection process cumbersome, but also restricts the detection efficiency of power grid phase sequence.

[0056] Based on this, this application provides a power grid phase sequence detection method. First, it acquires the B-phase voltage value, C-phase voltage value, and the change state of the A-phase voltage in the power grid. Then, based on the change state of the A-phase voltage and the magnitude relationship between the B-phase and C-phase voltage values, the phase sequence of the power grid can be determined. Since the voltage magnitude relationship between the B-phase and C-phase voltages differs under the same A-phase voltage change state in different phase sequences of the power grid, the phase sequence of the power grid can be accurately determined by the change state of the A-phase voltage and the magnitude relationship between the B-phase and C-phase voltage values.

[0057] Therefore, this application proposes a method for detecting the phase sequence of a power grid by utilizing the phase voltage of each phase. Since this method involves fewer and simpler calculations in the actual detection of the power grid phase sequence, it can easily and efficiently achieve the detection of the power grid phase sequence.

[0058] The execution subject of the power grid phase sequence detection method of this application can be a power equipment; it can also be a control device, control system, control circuit, etc. that can realize data processing, network communication and program operation functions; it can also be a power system that includes power equipment and power grid. This embodiment does not specifically limit it in this regard.

[0059] The following description uses power equipment as the implementing entity to illustrate the various embodiments.

[0060] Based on this, this application proposes a power grid phase sequence detection method according to the first embodiment. Please refer to [link / reference]. Figure 1 The power grid phase sequence detection method includes steps S10 to S20:

[0061] Step S10: Obtain the change status of phase B voltage, phase C voltage, and phase A voltage of the power grid.

[0062] It should be noted that the phase A voltage can change in either an increasing or decreasing state. The state of phase A voltage change can be determined by observing the changes in its value. Specifically, if the current phase A voltage value is greater than the previous phase A voltage value, the phase A voltage change state is determined to be increasing; if the current phase A voltage value is less than or equal to the previous phase A voltage value, the phase A voltage change state is determined to be decreasing.

[0063] Additionally, it should be noted that in the process of obtaining the B-phase voltage value, C-phase voltage value, and A-phase voltage change status of the grid voltage, the A-phase voltage value, B-phase voltage value, and C-phase voltage value of the grid voltage can be obtained every certain time interval; then, by comparing the current obtained A-phase voltage value with the previous obtained A-phase voltage value, the change status of the A-phase voltage can be determined.

[0064] Step S20: Determine the phase sequence of the power grid based on the change state of phase A voltage and the relationship between phase B voltage and phase C voltage.

[0065] It should be noted that under different phase sequences in the power grid, the voltage magnitude relationship between phase B and phase C is different even when phase A voltage varies. For example, refer to... Figure 2 The diagram shows the waveforms of the three-phase voltages (A, B, and C) under ideal grid conditions during the positive sequence of the grid; and reference... Figure 3 The diagram shows the waveforms of the three-phase voltages (phases A, B, and C) under ideal grid conditions during negative sequence operation. Figure 2 It can be seen that when the voltage of phase A is rising, the voltage of phase B is less than the voltage of phase C; when the voltage of phase A is falling, the voltage of phase B is greater than the voltage of phase C; from Figure 3 It can be seen that when the voltage of phase A is rising, the voltage of phase B is greater than the voltage of phase C; when the voltage of phase A is falling, the voltage of phase B is less than the voltage of phase C. Therefore, the phase sequence of the power grid can be determined by the changing state of the voltage of phase A and the relationship between the voltage values ​​of phase B and phase C.

[0066] This embodiment provides a power grid phase sequence detection method. First, it acquires the voltage values ​​of phase B, phase C, and the changing state of phase A of the power grid. Then, based on the changing state of phase A voltage and the magnitude relationship between phase B and phase C voltage values, the phase sequence of the power grid can be determined. Because the voltage magnitude relationship between phase B and phase C voltages differs under the same phase sequence and changing state of phase A voltage, the phase sequence of the power grid can be accurately determined by analyzing the changing state of phase A voltage and the magnitude relationship between phase B and phase C voltage values.

[0067] Therefore, this embodiment proposes a method for detecting the phase sequence of a power grid by utilizing the phase voltage of each phase. Since this method involves fewer and simpler calculations in the actual detection of the power grid phase sequence, it can easily and efficiently achieve the detection of the power grid phase sequence.

[0068] Furthermore, since the power grid phase sequence detection method provided in this embodiment can detect the power grid phase sequence without the need for additional external equipment, it can also achieve power grid phase sequence detection at low cost.

[0069] In one feasible implementation, step S20 may include steps S21 to S22:

[0070] Step S21: Determine the target phase sequence conditions that the power grid must meet based on the change state of phase A voltage and the magnitude relationship between phase B voltage and phase C voltage.

[0071] It should be noted that the target phase sequence condition can be either a positive or negative sequence condition.

[0072] Step S22: Determine the phase sequence of the power grid based on the target phase sequence conditions met by the power grid.

[0073] Step S21 may include steps S211 to S212:

[0074] Step S211: If the voltage change state of phase A is rising and the voltage value of phase B is less than the voltage value of phase C, or if the voltage change state of phase A is falling and the voltage value of phase B is greater than the voltage value of phase C, then the target phase sequence condition satisfied by the power grid is determined to be a positive sequence condition.

[0075] It is understandable that if the voltage of phase A is increasing and the voltage of phase B is less than the voltage of phase C, or if the voltage of phase A is decreasing and the voltage of phase B is greater than the voltage of phase C, it indicates that the three-phase voltages of the power grid (phases A, B, and C) are in a state where "when the voltage of phase A is increasing, the voltage of phase B is less than the voltage of phase C; when the voltage of phase A is decreasing, the voltage of phase B is greater than the voltage of phase C." Since the power grid voltage will exhibit this state when the phase sequence meets the positive sequence condition, it can be determined that the target phase sequence condition met by the power grid is positive sequence.

[0076] Step S212: If the voltage change state of phase A is rising and the voltage value of phase B is greater than the voltage value of phase C, or if the voltage change state of phase A is falling and the voltage value of phase B is less than the voltage value of phase C, then the target phase sequence condition satisfied by the power grid is determined to be a negative sequence condition.

[0077] It is understandable that if the voltage of phase A is increasing and the voltage of phase B is greater than the voltage of phase C, or if the voltage of phase A is decreasing and the voltage of phase B is less than the voltage of phase C, it indicates that the three-phase voltages of the power grid (phases A, B, and C) are in a state where "when the voltage of phase A is increasing, the voltage of phase B is greater than the voltage of phase C; when the voltage of phase A is decreasing, the voltage of phase B is less than the voltage of phase C." Since the power grid voltage exhibits this state when the phase sequence meets the negative sequence condition, it can be determined that the target phase sequence condition met by the power grid is the negative sequence condition.

[0078] Based on the first embodiment described above, a second embodiment of the power grid phase sequence detection method of this application is proposed. In the second embodiment, step S22 may include steps S221 to S222:

[0079] Step S221: If the target phase sequence condition met by the power grid is a positive sequence condition, determine that the phase sequence of the power grid is positive.

[0080] Step S222: If the target phase sequence condition satisfied by the power grid is a negative sequence condition, determine that the phase sequence of the power grid is negative.

[0081] In this embodiment, after determining the target phase sequence conditions that the power grid must meet, the phase sequence of the power grid can be directly determined based on these conditions. Therefore, this embodiment has good efficiency in determining the phase sequence of the power grid.

[0082] Based on the first embodiment described above, a third embodiment of the power grid phase sequence detection method of this application is proposed. In the third embodiment, step S22 may include steps S223 to S224:

[0083] Step S223: Adjust the count value of the phase sequence counter according to the target phase sequence conditions met by the power grid to obtain the target count value of the phase sequence counter;

[0084] It should be noted that the target count value of the phase sequence counter is the count value after adjustment, and the initial value of the phase sequence counter is zero.

[0085] In a first feasible implementation, step S223 may include steps S231 to S232:

[0086] Step S231: If the target phase sequence condition met by the power grid is a positive sequence condition, then increment the count value of the phase sequence counter by one to obtain the target count value of the phase sequence counter.

[0087] Step S232: If the target phase sequence condition met by the power grid is a negative sequence condition, then the count value of the phase sequence counter is decremented by one to obtain the target count value of the phase sequence counter.

[0088] In a second feasible implementation, step S223 may include steps S233 to S234:

[0089] Step S233: If the target phase sequence condition met by the power grid is a positive sequence condition, then the count value of the phase sequence counter is decremented by one to obtain the target count value of the phase sequence counter.

[0090] Step S234: If the target phase sequence condition met by the power grid is a positive sequence condition, then increment the count value of the phase sequence counter by one to obtain the target count value of the phase sequence counter.

[0091] The above are only two feasible implementations of step S223 provided in this embodiment. This embodiment does not specifically limit the specific implementation of step S223.

[0092] Step S224: Determine the phase sequence of the power grid based on the target count value of the phase sequence counter.

[0093] In the case where the first embodiment is adopted in step S223, step S224 may include step S241:

[0094] Step S241: When the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be positive; when the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be negative.

[0095] It is understandable that when the target count value of the phase sequence counter is greater than or equal to zero, it means that the power grid has been determined to meet the positive sequence condition at least once, and the phase sequence of the power grid can be determined to be positive. When the target count value of the phase sequence counter is less than zero, it means that the power grid has been determined to meet the negative sequence condition at least once, and the phase sequence of the power grid can be determined to be negative.

[0096] In the case where the second implementation method is adopted in step S223, step S224 may include step S242:

[0097] Step S242: When the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be negative; when the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be positive.

[0098] It is understandable that when the target count value of the phase sequence counter is greater than or equal to zero, it means that the power grid has been determined to meet the negative sequence condition at least once, and the phase sequence of the power grid can be determined to be negative; when the target count value of the phase sequence counter is less than zero, it means that the power grid has been determined to meet the positive sequence condition at least once, and the phase sequence of the power grid can be determined to be positive.

[0099] Based on the third embodiment described above, a fourth embodiment of the power grid phase sequence detection method of this application is proposed. In the fourth embodiment, when step S223 adopts the first implementation method, step S224 may include step S243:

[0100] Step S243: When the absolute value of the target count value of the phase sequence counter is greater than the preset count threshold, if the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be positive; if the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be negative.

[0101] In the case where the second implementation method is adopted in step S223, step S224 may include step S244:

[0102] Step S244: When the absolute value of the target count value of the phase sequence counter is greater than the preset count threshold, if the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be negative; if the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be positive.

[0103] It should be noted that the preset counting threshold can be a default value, such as 10; or it can be flexibly set by the user according to the actual situation. This embodiment does not make specific limitations on this.

[0104] It is understandable that when the grid voltage quality is poor, using only one set of data on the changes in phase B, phase C, and phase A voltages to determine the grid phase sequence can easily lead to misjudgments. Therefore, to ensure the accuracy of grid phase sequence detection, in this embodiment, after each set of data on the changes in phase B, phase C, and phase A voltages to determine if the grid meets the target phase sequence conditions, the phase sequence counter is adjusted. The adjusted counter value is used to reflect the grid phase sequence status indicated by multiple sets of data on the changes in phase B, phase C, and phase A voltages. If the absolute value of the target count of the phase sequence counter is greater than a preset count threshold, it indicates that multiple sets of data on the changes in phase B, phase C, and phase A voltages show that the grid meets the positive or negative sequence conditions, thus accurately determining the grid phase sequence.

[0105] Based on the first embodiment described above, a fifth embodiment of the power grid phase sequence detection method of this application is proposed. In the fifth embodiment, step S22 may include steps S225 to S226:

[0106] Step S225: Based on the target phase sequence conditions met by the power grid, adjust the count values ​​of the positive sequence counter and the negative sequence counter to obtain the target count values ​​of the positive sequence counter and the negative sequence counter.

[0107] It should be noted that the positive sequence counter records the number of times the power grid meets the positive sequence condition, and the target count value of the positive sequence counter is the adjusted count value. The negative sequence counter records the number of times the power grid meets the negative sequence condition, and the target count value of the negative sequence counter is the adjusted count value. Both the positive and negative sequence counters are initially set to zero.

[0108] In one feasible implementation, step S225 may include: if the target phase sequence condition met by the power grid is a negative sequence condition, then increment the count value of the negative sequence counter by one and maintain the count value of the positive sequence counter to obtain the target count value of the negative sequence counter and the target count value of the positive sequence counter; if the target phase sequence condition met by the power grid is a positive sequence condition, then increment the count value of the positive sequence counter by one and maintain the count value of the negative sequence counter to obtain the target count value of the positive sequence counter and the target count value of the negative sequence counter.

[0109] Step S226: Determine the phase sequence of the power grid based on the target count value of the positive sequence counter and the target count value of the negative sequence counter.

[0110] It is understandable that when the grid voltage quality is poor, relying solely on a set of data on the changes in phase B, phase C, and phase A voltages to determine the grid phase sequence can easily lead to misjudgments. Therefore, to ensure the accuracy of grid phase sequence detection, this embodiment uses positive-sequence counters and negative-sequence counters to record the number of times the grid meets the positive-sequence and negative-sequence conditions, respectively. Then, by comparing the target count values ​​of the positive-sequence counter and the negative-sequence counter, the grid phase sequence can be accurately determined.

[0111] In a first feasible implementation, step S226 may include steps S261 to S262:

[0112] Step S261: If the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be positive.

[0113] Step S262: If the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be negative.

[0114] It should be noted that the preset count and threshold can be a default value, such as 10; or they can be flexibly set by the user according to the actual situation. This embodiment does not impose any specific limitations on this.

[0115] In this embodiment, if the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, it means that the power grid has been determined to meet the positive sequence condition multiple times, and the phase sequence of the power grid can be determined to be positive; if the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, it means that the power grid has been determined to meet the negative sequence condition multiple times, and the phase sequence of the power grid can be determined to be negative.

[0116] In a second feasible implementation, step S26 may include step S263:

[0117] In step S263, if the sum of the target count value of the positive sequence counter and the target count value of the negative sequence counter is greater than a preset count sum threshold, and / or the absolute value of the difference between the target count value of the positive sequence counter and the target count value of the negative sequence counter is greater than a preset count difference threshold, then if the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be positive; if the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be negative.

[0118] It should be noted that the preset count and threshold can be a default value, such as 10; or they can be flexibly set by the user according to the actual situation, and this embodiment does not impose specific limitations on this. The preset count difference threshold can be a default value, such as 3; or it can be flexibly set by the user according to the actual situation, and this embodiment does not impose specific limitations on this.

[0119] It is understandable that when determining the phase sequence of the power grid, if the number of data sets of B-phase voltage values, C-phase voltage values, and A-phase voltage change states used is small, the final determined phase sequence may be inaccurate when the power grid voltage quality is poor due to the limited number of data sets used. Therefore, this embodiment restricts the determination of the phase sequence by requiring that the sum of the target count values ​​of the positive sequence counter and the negative sequence counter be greater than a preset count sum threshold, and / or the absolute value of the difference between the target count values ​​of the positive sequence counter and the negative sequence counter be greater than a preset count difference threshold. In other words, the phase sequence determination is performed only after multiple sets of data on the change states of B-phase voltage values, C-phase voltage values, and A-phase voltage have been used to determine the phase sequence conditions met by the power grid, and / or after a large number of data sets indicate that the power grid meets the negative or positive sequence conditions. This further improves the accuracy of the determined power grid phase sequence.

[0120] The above are only two feasible implementations of step S226 provided in this embodiment. This embodiment does not specifically limit the specific implementation of step S226.

[0121] It should be noted that, regarding the implementation methods of step S22 provided in the second, third, fourth, and fifth embodiments described above, the second and third embodiments have the best determination efficiency because they only require one or a small number of sets of data on the changes in phase B, phase C, and phase A voltages to determine the phase sequence of the power grid. The fourth embodiment has the best determination accuracy because it requires many sets of data on the changes in phase B, phase C, and phase A voltages to determine the phase sequence of the power grid. The fifth embodiment requires between the second / third and fourth embodiments to determine the number of sets of data on the changes in phase B, phase C, and phase A voltages when determining the phase sequence of the power grid. Therefore, it can simultaneously meet the requirements of improving the determination efficiency of the power grid phase sequence and ensuring the determination accuracy of the power grid phase sequence.

[0122] This embodiment does not specifically limit the implementation of step S22. For example, in other feasible implementations of step S22, the specific implementation may include: if the target phase sequence condition satisfied by the power grid is a positive sequence condition for N consecutive times, then the phase sequence of the power grid is determined to be positive; if the target phase sequence condition satisfied by the power grid is a negative sequence condition for N consecutive times, then the phase sequence of the power grid is determined to be negative.

[0123] Based on the first, second, third, fourth, and / or fifth embodiments described above, a sixth embodiment of the power grid phase sequence detection method of this application is proposed. In the sixth embodiment, step S10 may include steps S11 to S13:

[0124] Step S11: Filter the grid voltage to obtain the filtered grid voltage;

[0125] It should be noted that the grid voltage can be filtered using a filter (such as a bandpass filter) to obtain the filtered grid voltage.

[0126] Step S12: Obtain the A-phase voltage value, B-phase voltage value, and C-phase voltage value of the filtered grid voltage;

[0127] Step S13: Determine the change state of phase A voltage based on the relationship between the phase A voltage value obtained at the current moment and the phase A voltage value obtained at the previous moment.

[0128] In this embodiment, the grid voltage is first filtered to remove unnecessary interference and noise, resulting in a filtered grid voltage. Then, the A-phase, B-phase, and C-phase voltage values ​​of the grid voltage are obtained. This improves the accuracy of the obtained B-phase, C-phase, and A-phase voltage change states, thereby improving the accuracy of the subsequently determined grid phase sequence.

[0129] For example, to help understand the overall implementation process of the power grid phase sequence detection method obtained by combining the above embodiments, please refer to... Figure 4 , specifically:

[0130] First, obtain the phase A voltage change value Ua1, phase B voltage value Ub, and phase C voltage value Uc of the power grid. Then, determine whether the phase A voltage change value Ua1 is greater than zero. If the phase A voltage change value Ua1 is greater than zero, determine whether the phase B voltage value Ub is greater than the phase C voltage value Uc. If so, decrement the phase sequence counter value SeqCount by one (corresponding to SeqCount-- in the figure) to obtain the target count value of the phase sequence counter. If not, increment the phase sequence counter value SeqCount by one (corresponding to SeqCount++ in the figure) to obtain the target count value of the phase sequence counter.

[0131] If the voltage change value Ua1 of phase A is less than zero, then determine whether the voltage value Ub of phase B is greater than the voltage value Uc of phase C. If yes, then increment the count value SeqCount of the phase sequence counter by one (corresponding to SeqCount++ in the figure) to obtain the target count value of the phase sequence counter; if no, then decrement the count value SeqCountt of the phase sequence counter by one (corresponding to SeqCount-- in the figure) to obtain the target count value of the phase sequence counter.

[0132] After obtaining the target count value of the phase sequence counter, it is determined whether the absolute value of the target count value of the phase sequence counter is greater than the preset count threshold. If so, it is determined whether the target count value of the phase sequence counter is greater than zero. If it is greater than zero, the phase sequence of the power grid is determined to be positive; if it is less than zero, the phase sequence of the power grid is determined to be negative. If the absolute value of the target count value of the phase sequence counter is less than or equal to the preset count threshold, the process returns to the steps of obtaining the A-phase voltage change value Ua1, the B-phase voltage value Ub, and the C-phase voltage value Uc of the power grid voltage.

[0133] It should be noted that this example is only for the purpose of assisting in understanding this application and does not constitute a limitation on the power grid phase sequence detection method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0134] This application also provides a power device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the power grid phase sequence detection method in the above embodiments.

[0135] The following is for reference. Figure 5 It shows a structural schematic diagram of a power device suitable for implementing the embodiments of this application. Figure 5 The electrical equipment shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of this application.

[0136] like Figure 5As shown, the power equipment may include a processing unit 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 102 or a program loaded from storage device 103 into random access memory (RAM) 104. The RAM 104 also stores various programs and data required for the operation of the power equipment. The processing unit 101, ROM 102, and RAM 104 are interconnected via a bus 105. An input / output (I / O) interface 106 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 106: input devices 107 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 108 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 103 including, for example, magnetic tapes, hard disks, etc.; and communication devices 109. The communication device 109 allows the power equipment to communicate wirelessly or wiredly with other devices to exchange data. Although the diagram shows electrical equipment with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0137] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from ROM 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.

[0138] The power equipment provided in this application embodiment, employing the power grid phase sequence detection method described in the above embodiments, can easily and efficiently detect the power grid phase sequence. Compared with the prior art, the beneficial effects of the power equipment provided in this application embodiment are the same as those of the power grid phase sequence detection method provided in the above embodiments, and other technical features of the power equipment are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0139] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0140] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the above claims.

[0141] This application also provides a computer-readable storage medium storing a computer program that can run on a processor. The computer program is used to execute the power grid phase sequence detection method in the above embodiments.

[0142] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0143] The aforementioned computer-readable storage medium may be included in the power equipment or may exist independently and not assembled into the power equipment.

[0144] The aforementioned computer-readable storage medium carries one or more programs, which, when executed by the power equipment, cause the power equipment to: acquire the B-phase voltage value, C-phase voltage value, and A-phase voltage change status of the power grid voltage; and determine the phase sequence of the power grid based on the A-phase voltage change status and the magnitude relationship between the B-phase voltage value and the C-phase voltage value.

[0145] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0146] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0147] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0148] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described power grid phase sequence detection method, which can easily and efficiently realize the detection of power grid phase sequence. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as the beneficial effects of the power grid phase sequence detection method provided in the above embodiments, and will not be repeated here.

[0149] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the power grid phase sequence detection method described above.

[0150] The computer program product provided in this application embodiment can easily and efficiently detect the phase sequence of the power grid. Compared with the prior art, the beneficial effects of the computer program product provided in this application embodiment are the same as the beneficial effects of the power grid phase sequence detection method provided in the above embodiments, and will not be repeated here.

[0151] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A method for detecting phase sequence in a power grid, characterized in that, The method includes: Obtain the changes in phase B, phase C, and phase A voltages of the power grid. The phase sequence of the power grid is determined based on the change state of the phase A voltage and the magnitude relationship between the phase B voltage value and the phase C voltage value.

2. The power grid phase sequence detection method as described in claim 1, characterized in that, The step of determining the phase sequence of the power grid based on the change state of the phase A voltage and the magnitude relationship between the phase B voltage value and the phase C voltage value includes: Based on the change state of the phase A voltage and the relationship between the phase B voltage value and the phase C voltage value, the target phase sequence condition that the power grid must satisfy is determined; The phase sequence of the power grid is determined based on the target phase sequence conditions satisfied by the power grid.

3. The power grid phase sequence detection method as described in claim 2, characterized in that, The step of determining the target phase sequence conditions satisfied by the power grid based on the change state of the phase A voltage and the magnitude relationship between the phase B voltage value and the phase C voltage value includes: If the voltage change state of phase A is rising and the voltage value of phase B is less than the voltage value of phase C, or if the voltage change state of phase A is falling and the voltage value of phase B is greater than the voltage value of phase C, then the target phase sequence condition satisfied by the power grid is determined to be a positive sequence condition. If the voltage change state of phase A is rising and the voltage value of phase B is greater than the voltage value of phase C, or if the voltage change state of phase A is falling and the voltage value of phase B is less than the voltage value of phase C, then the target phase sequence condition satisfied by the power grid is determined to be a negative sequence condition.

4. The power grid phase sequence detection method as described in claim 2 or 3, characterized in that, The step of determining the phase sequence of the power grid based on the target phase sequence conditions satisfied by the power grid includes: If the target phase sequence condition satisfied by the power grid is a positive sequence condition, then the phase sequence of the power grid is determined to be positive. If the target phase sequence condition satisfied by the power grid is a negative sequence condition, then the phase sequence of the power grid is determined to be negative.

5. The power grid phase sequence detection method as described in claim 2 or 3, characterized in that, The step of determining the phase sequence of the power grid based on the target phase sequence conditions satisfied by the power grid includes: Based on the target phase sequence conditions met by the power grid, the count value of the phase sequence counter is adjusted to obtain the target count value of the phase sequence counter; The phase sequence of the power grid is determined based on the target count value of the phase sequence counter.

6. The power grid phase sequence detection method as described in claim 5, characterized in that, The step of adjusting the phase sequence counter's count value according to the target phase sequence conditions satisfied by the power grid to obtain the target count value of the phase sequence counter includes: If the target phase sequence condition met by the power grid is a positive sequence condition, then the count value of the phase sequence counter is incremented by one to obtain the target count value of the phase sequence counter; If the target phase sequence condition satisfied by the power grid is a negative sequence condition, then the count value of the phase sequence counter is reduced by one to obtain the target count value of the phase sequence counter; The step of determining the phase sequence of the power grid based on the target count value of the phase sequence counter includes: When the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be positive; when the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be negative.

7. The power grid phase sequence detection method as described in claim 6, characterized in that, The step of determining the phase sequence of the power grid based on the target count value of the phase sequence counter further includes: When the absolute value of the target count value of the phase sequence counter is greater than the preset count threshold, if the target count value of the phase sequence counter is greater than or equal to zero, the phase sequence of the power grid is determined to be positive; if the target count value of the phase sequence counter is less than zero, the phase sequence of the power grid is determined to be negative.

8. The power grid phase sequence detection method as described in claim 2 or 3, characterized in that, The step of determining the phase sequence of the power grid based on the target phase sequence conditions satisfied by the power grid includes: Based on the target phase sequence conditions satisfied by the power grid, the count values ​​of the positive sequence counter and the negative sequence counter are adjusted to obtain the target count values ​​of the positive sequence counter and the negative sequence counter. The phase sequence of the power grid is determined based on the target count value of the positive sequence counter and the target count value of the negative sequence counter.

9. The power grid phase sequence detection method as described in claim 8, characterized in that, The step of determining the phase sequence of the power grid based on the target count value of the positive sequence counter and the target count value of the negative sequence counter includes: If the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be positive. If the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be negative.

10. The power grid phase sequence detection method as described in claim 9, characterized in that, The step of determining the phase sequence of the power grid based on the target count value of the positive sequence counter and the target count value of the negative sequence counter further includes: If the sum of the target count value of the positive sequence counter and the target count value of the negative sequence counter is greater than a preset count sum threshold, and / or the absolute value of the difference between the target count value of the positive sequence counter and the target count value of the negative sequence counter is greater than a preset count difference threshold, then if the target count value of the positive sequence counter is greater than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be positive; if the target count value of the positive sequence counter is less than the target count value of the negative sequence counter, the phase sequence of the power grid is determined to be negative.

11. The power grid phase sequence detection method according to any one of claims 1 to 10, characterized in that, The steps for obtaining the B-phase voltage value, C-phase voltage value, and A-phase voltage change status of the power grid voltage include: The grid voltage is filtered to obtain the filtered grid voltage; Obtain the A-phase voltage value, B-phase voltage value, and C-phase voltage value of the grid voltage after filtering; The change state of phase A voltage is determined by the relationship between the phase A voltage value obtained at the current moment and the phase A voltage value obtained at the previous moment.

12. An electrical device, characterized in that, The power equipment includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the power grid phase sequence detection method as described in any one of claims 1 to 11.

13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the power grid phase sequence detection method according to any one of claims 1 to 11.