Reactive compensation controller switching control method and device based on wireless communication

The connection between the reactive power compensation controller and the compensation module is achieved through the wireless communication protocol, which solves the problem of inaccurate switching control under wired driving mode, improves the accuracy and efficiency of switching control, reduces interference and insufficient driving, and provides diversified and flexible switching control.

CN119561081BActive Publication Date: 2025-08-22SHENG YE ELECTRIC CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510127654.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-08-22
Estimated Expiration
2045-02-05

AI Technical Summary

Technical Problem

In the wired driving mode, the existing reactive power compensation controller is prone to interference or insufficient driving capability when the controller is far away from the compensation module, resulting in inaccurate turn-off control.

Method used

The wireless communication protocol is used to realize the connection between the reactive compensation controller and multiple compensation modules. Wireless manual and automatic switching control is performed by scanning, displaying, judging and generating switching frames, including scanning modules, display modules, judgment modules, generation modules and sending modules, ensuring the accuracy and flexibility of switching control.

Benefits of technology

The accuracy and efficiency of the reactive compensation controller in the switching control of the compensation module is improved, the interference and insufficient driving capacity caused by long-distance wiring are reduced, and the diversified and flexible switching control methods are provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561081B_ABST
    Figure CN119561081B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of reactive power compensation technology, and discloses a method and device for controlling the switching of a reactive compensation controller based on wireless communication. The method is applied to a reactive compensation controller and includes: upon power-up, scanning all compensation modules through the controller to obtain a scanning result, wherein the compensation module includes at least a capacitor; displaying the first state return frame of each compensation module through a touch device as a control basis for wireless manual switching; judging whether a target compensation module meets the switching control conditions based on the first state return frame; stopping the scanning operation when it is judged that a target compensation module exists; generating a switching frame for the target compensation module based on the first state return frame as a control basis for wireless automatic switching; sending a switching frame to each target compensation module to implement automatic switching control; and determining the switching state of each target compensation module based on its second state return frame. It can be seen that the implementation of the present invention can improve the accuracy and efficiency of switching control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of reactive power compensation, and in particular to a switching control method and device of a reactive power compensation controller based on wireless communication. Background Art

[0002] Currently, the main method of reactive power compensation is: a reactive power compensation controller is connected to the switch of the capacitor through a wired connection, and the reactive power compensation controller is often driven by a wired drive method to control the switching of the capacitor. Among them, the wired drive method is mainly 12V level drive or drive through RS485 communication method.

[0003] However, practice has found that the existing wired drive method for reactive compensation capacitor switching has significant limitations. For example, a large number of secondary lines are required to achieve wired drive wiring, which is relatively cumbersome. As a result, in some special usage scenarios, such as when the distance between the controller's signal acquisition module and the compensation action module is far apart, interference or insufficient driving capacity is easily generated when exceeding a certain communication range, and thus accurate capacitor switching control may not be achieved. Therefore, it is particularly important to propose a technical solution to improve the accuracy of reactive compensation controller switching control of capacitors. Summary of the Invention

[0004] The present invention provides a switching control method and device for a reactive power compensation controller based on wireless communication, which can improve the switching control accuracy of the reactive power compensation controller on the capacitor and reduce the interference or insufficient driving capacity caused by long-distance wiring when the communication range between the controller and the compensation module is far.

[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a switching control method for a reactive power compensation controller based on wireless communication. The method is applied to a reactive power compensation controller, wherein the reactive power compensation controller is wirelessly connected to multiple compensation modules. The reactive power compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system. The switching control method includes wireless manual switching and / or wireless automatic switching, and the method includes:

[0006] When the reactive power compensation controller is powered on, the reactive power compensation controller scans all the compensation modules based on a preset wireless communication protocol to obtain a scanning result, wherein each compensation module includes at least a capacitor;

[0007] The reactive power compensation controller displays the first status return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive power compensation controller, as a control basis for the wireless manual switching mode;

[0008] The reactive power compensation controller determines whether there is at least one target compensation module that meets the target conditions for switching control according to the first state return frame of each compensation module;

[0009] When it is determined that there is at least one target compensation module that meets the target condition, the reactive power compensation controller stops performing the scanning operation; and generates a switching frame for each target compensation module according to the first state return frame of the target compensation module, which serves as a control basis for the wireless automatic switching mode;

[0010] The reactive power compensation controller sends a corresponding switching frame to each target compensation module based on the wireless communication protocol, so as to realize automatic switching control of each target compensation module by the reactive power compensation controller;

[0011] The reactive power compensation controller determines the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module, where the switching state includes an on-state or a off-state.

[0012] A second aspect of the present invention discloses a reactive power compensation controller switching control device based on wireless communication, wherein the reactive power compensation controller is wirelessly connected to a plurality of compensation modules, and the reactive power compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system, wherein the switching control mode includes wireless manual switching and / or wireless automatic switching, and the device includes:

[0013] a scanning module, configured to scan all the compensation modules based on a preset wireless communication protocol when the reactive power compensation controller is powered on, and obtain a scanning result, wherein each compensation module includes at least a capacitor;

[0014] A display module is configured to display, via a touch device connected to the reactive power compensation controller, the first state return frame sent by each compensation module during the scanning process included in the scanning result as a control basis for the wireless manual switching mode;

[0015] a judgment module, configured to judge whether there is at least one target compensation module that meets the target condition for switching control according to the first state return frame of each compensation module;

[0016] a stopping module, configured to control the scanning module to stop performing a scanning operation when the judging module determines that there is at least one target compensation module that meets the target condition;

[0017] a generating module for generating a switching frame for each target compensation module according to the first state return frame of the target compensation module, as a control basis for the wireless automatic switching mode;

[0018] A sending module, configured to send a corresponding switching frame to each of the target compensation modules based on the wireless communication protocol, so as to implement automatic switching control of each of the target compensation modules by the reactive power compensation controller;

[0019] The determination module is configured to determine the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module, wherein the switching state includes an engaged state or a disconnected state.

[0020] The third aspect of the present invention discloses another reactive power compensation controller switching control device based on wireless communication, the device comprising:

[0021] a memory storing executable program code;

[0022] a processor coupled to the memory;

[0023] The processor calls the executable program code stored in the memory to execute the reactive compensation controller switching control method based on wireless communication disclosed in the first aspect of the present invention.

[0024] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the switching control method of the reactive compensation controller based on wireless communication disclosed in the first aspect of the present invention.

[0025] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0026] In an embodiment of the present invention, when the reactive compensation controller is powered on, the reactive compensation controller scans all compensation modules based on a preset wireless communication protocol to obtain a scanning result, wherein each compensation module includes at least a capacitor; the reactive compensation controller displays the first state return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive compensation controller, as a control basis for the wireless manual switching mode; the reactive compensation controller determines whether there is at least one target compensation module that meets the target conditions for switching control based on the first state return frame of each compensation module; when it is determined that there is at least one target compensation module that meets the target conditions When at least one target compensation module of the component is detected, the reactive compensation controller stops performing the scanning operation; and generates a switching frame for the target compensation module according to the first state return frame of each target compensation module, which serves as a control basis for the wireless automatic switching mode; the reactive compensation controller sends a corresponding switching frame to each target compensation module based on the wireless communication protocol to realize the automatic switching control of each target compensation module by the reactive compensation controller; the reactive compensation controller determines the switching state of each target compensation module according to the second state return frame for the switching frame sent by each target compensation module, and the switching state includes an on-state or a cut-off state.It can be seen that the implementation of the present invention can enable the reactive compensation controller to accurately scan all compensation modules based on the preset wireless communication protocol when the reactive compensation controller is powered on to obtain the scanning results, and display the first state return frame sent by each compensation module during the scanning process included in the scanning results through the touch device connected to the reactive compensation controller as the control basis of the wireless manual switching mode, and can quickly and accurately realize the wireless manual switching control of each compensation module by the reactive compensation controller through the state return frame displayed by the touch device; according to the first state return frame of each compensation module, it is judged whether there is at least one target compensation module that meets the target conditions for switching control; when it is judged that there is, the reactive compensation controller stops executing the scanning operation, and according to the first state return frame of each target compensation module, accurately generates a switching frame for the target compensation module as the control basis of the wireless automatic switching mode, and then sends the corresponding switching frame to each target compensation module based on the wireless communication protocol to realize wireless manual switching. The reactive power compensation controller automatically switches each target compensation module, enabling rapid and accurate wireless automatic switching control of the compensation module by the reactive power compensation controller based on automatically generated switching frames. Furthermore, by providing a touch device and a switching frame generation process, the reactive power compensation controller can enhance the diversity and flexibility of its switching control methods. Furthermore, based on the second status return frame sent by each target compensation module for the switching operation, the reactive power compensation controller determines the switching status of each target compensation module (including switched-on or switched-off states). This improves the accuracy and efficiency of the reactive power compensation controller's knowledge of the switching status of each target compensation module, thereby providing an accurate and reliable basis for subsequent switching control operations of the reactive power compensation module. Furthermore, by establishing wireless communication between the reactive power compensation controller and the compensation module to drive switching, this solution can reduce interference or insufficient driving capacity caused by long-distance wiring when the communication range between the controller and the compensation module is long in a wired drive mode. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 This is a flow chart of a method for controlling switching of a reactive power compensation controller based on wireless communication disclosed in an embodiment of the present invention;

[0029] Figure 2 This is a flow chart of another method for controlling switching of a reactive power compensation controller based on wireless communication disclosed in an embodiment of the present invention;

[0030] Figure 3 This is a structural diagram of a reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention;

[0031] Figure 4 This is a structural diagram of another reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention;

[0032] Figure 5 This is a structural diagram of another reactive compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0034] The terms "first," "second," and so on, in the description and claims of the present invention and the accompanying drawings are used to distinguish between different items, not to describe a specific order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or end comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed therein, or may optionally include other steps or elements inherent to such process, method, product, or end.

[0035] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0036] The present invention discloses a switching control method and device for a reactive compensation controller based on wireless communication. When the reactive compensation controller is powered on, the reactive compensation controller can accurately scan all compensation modules based on a preset wireless communication protocol to obtain a scanning result, and display the first state return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive compensation controller as a control basis for a wireless manual switching mode. The reactive compensation controller can quickly and accurately implement wireless manual switching control of each compensation module through the state return frame displayed by the touch device; based on the first state return frame of each compensation module, it is judged whether there is at least one target compensation module that meets the target conditions for switching control; when it is judged that there is, the reactive compensation controller stops executing the scanning operation, and based on the first state return frame of each target compensation module, accurately generates a switching frame for the target compensation module as a control basis for the wireless automatic switching mode, and then sends a signal to each target compensation module based on the wireless communication protocol. The reactive compensation controller automatically switches each target compensation module by sending a corresponding switching frame. This allows for rapid and accurate wireless automatic switching control of the compensation modules based on the automatically generated switching frames. Furthermore, the provision of a touch-sensitive device and a switching frame generation process enhances the diversity and flexibility of the reactive compensation controller's switching control methods. The reactive compensation controller then determines the switching status of each target compensation module (including switched-on or switched-off) based on the second status return frame sent by each target compensation module. This improves the accuracy and efficiency of the reactive compensation controller's knowledge of the switching status of each target compensation module, thereby providing an accurate and reliable basis for subsequent switching control operations of the reactive compensation module. Furthermore, by establishing wireless communication between the reactive compensation controller and the compensation module to drive switching, this solution mitigates interference or insufficient driving capacity caused by long wiring distances between the controller and the compensation module, which can occur in wired drive systems when the communication range between the controller and the compensation module is long. These are explained in detail below.

[0037] Example 1

[0038] See also Figure 1 , Figure 1 This is a flow chart of a reactive power compensation controller switching control method based on wireless communication disclosed in an embodiment of the present invention. Figure 1The described switching control method of the reactive compensation controller based on wireless communication can be applied to the reactive compensation controller, which is wirelessly connected to multiple compensation modules (specifically, the reactive compensation controller is provided with a communication host, and each compensation module is provided with a communication slave. The wireless connection between the reactive compensation controller and each compensation module can be achieved through a preset wireless communication protocol). The reactive compensation controller is used to implement the switching control of each compensation module to adjust the voltage of the power system. The switching control method includes wireless manual switching and / or wireless automatic switching, which is not limited in the embodiment of the present invention. Figure 1 As shown, the reactive power compensation controller switching control method based on wireless communication may include the following operations:

[0039] 101. When the reactive power compensation controller is powered on, the reactive power compensation controller scans all compensation modules based on a preset wireless communication protocol to obtain a scanning result.

[0040] In an embodiment of the present invention, optionally, each compensation module may include at least one capacitor, wherein the number of capacitors may be one or more. Each compensation module may also include a compensation switch, and further, may also include other components such as reactors and fuses. Optionally, the preset wireless communication protocol may be one of the communication protocols of LoRa, Bluetooth, Zigbee and WiFi. Taking LoRa wireless communication as an example, through a low-frequency half-duplex LoRa industrial-grade module, its operating frequency band is 398~525Mhz, and the module communication distance can reach 2500 meters, which can realize one-to-many communication between the reactive compensation controller and multiple compensation modules. The communication baud rate can be 15200bit / s, and the wireless communication protocol can include three frame contents, specifically: the controller reads the compensation module status frame, the compensation module return frame and the controller controls the compensation module switching frame, which is not limited in the embodiment of the present invention.

[0041] In the embodiment of the present invention, the controller reads the data content of the compensation module status frame (including multiple serial numbers and the meaning of the data content corresponding to each serial number) and can refer to Table 1:

[0042] Table 1: Data content table of compensation module status frame read by controller

[0043]

[0044] Here, H refers to the upper 16 bits of the address, and L refers to the lower 16 bits of the address. Because communication frames transmit data as 16-bit bytes, but the communication data length is 32 bits, two 16-bit data bits are used. For example, Lora target address H represents the upper 16 bits of the Lora target address, and Lora target address L represents the lower 16 bits of the Lora target address. CRCH represents the upper 16 bits of the checksum, and CRCL represents the lower 16 bits of the checksum. And so on. Specifically, Lora target address H:00, Lora target address L:01, can represent the module with wireless address 01 (device address 01) among all compensation modules. Lora target address H:00, Lora target address L:00, can represent the module with wireless address 00 among all compensation modules. Lora channel represents the Lora communication frequency band. Address H:00, address L:00, can represent the first capacitor, and address H:00, address L:01, can represent the second capacitor.

[0045] The data content of the compensation module return frame (including multiple sequence numbers and the meaning of the data content corresponding to each sequence number) can be referred to Table 2:

[0046] Table 2: Data content of the compensation module return frame

[0047]

[0048] Table 2 takes a compensation module containing two capacitors as an example. Capacitor 1 status H represents the upper 16 bits of capacitor 1 status, capacitor 1 status L represents the lower 16 bits of capacitor 1 status, capacitor 1 temperature H represents the upper 16 bits of capacitor 1 temperature, capacitor 1 temperature L represents the lower 16 bits of capacitor 1 temperature, and so on. Specifically, capacitor 1A phase current, capacitor 1B phase current, and capacitor 1C phase current can represent the A, B, and C three-phase currents of capacitor 1, respectively, and capacitor 2A phase current, capacitor 2B phase current, and capacitor 2C phase current can represent the A, B, and C three-phase currents of capacitor 2, respectively.

[0049] The data content of the controller's switching frame for the compensation module (including multiple serial numbers and the meaning of the data content corresponding to each serial number) can be found in Table 3:

[0050] Table 3: Data content table of the controller-controlled compensation module switching frame

[0051]

[0052] Among them, data content H: 00, data content L: 00, can represent that the corresponding compensation module is cut off (that is, the compensation switch in the corresponding compensation module is disconnected); data content H: 00, data content L: 01, can represent that the corresponding compensation module is put into use (that is, the compensation switch in the corresponding compensation module is turned on).

[0053] Furthermore, the wireless communication protocol may also include the communication data content of the fault code (including multiple serial numbers and the meaning of the data content corresponding to each serial number), as shown in Table 4 below:

[0054] Table 4: Communication data content table of fault codes of wireless communication protocol

[0055]

[0056] For example, when fault code A0 is detected, it means that the corresponding compensation module is overheated; when fault code A1 is detected, it means that the A-phase current of the corresponding compensation module is overcurrent; when fault code A2 is detected, it means that the B-phase current of the corresponding compensation module is overcurrent; when fault code A3 is detected, it means that the C-phase current process of the corresponding compensation module.

[0057] 102. The reactive compensation controller displays the first status return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive compensation controller, which serves as a control basis for the wireless manual switching mode.

[0058] In an embodiment of the present invention, specifically, when the reactive compensation controller displays the first state return frame of each compensation module through a touch device (touch screen), the operator of the reactive compensation controller can view the return frame of each compensation module through the touch device. Furthermore, the operator can control the reactive compensation controller to send a switching frame to a certain compensation module by triggering a switching instruction for the certain compensation module on the touch device (such as the operator clicks on the touch device to change the state of a certain compensation module to the switched-on state), so as to realize manual switching control of the compensation module.

[0059] 103. The reactive power compensation controller determines whether there is at least one target compensation module that meets the target conditions for switching control according to the first state return frame of each compensation module.

[0060] In an embodiment of the present invention, specifically, satisfying the target condition for switching control may be a condition where the controller has a switching control requirement for the corresponding target compensation module. The switching control requirement may be a control requirement for the corresponding target compensation module to change its switching state (e.g., changing a target compensation module from an on state to a off state, or changing a target compensation module from a off state to an on state).

[0061] In the embodiment of the present invention, when the judgment result of step 103 is yes, that is, when it is judged that at least one target compensation module that meets the target condition exists, step 104 is triggered; when the judgment result of step 103 is no, that is, when it is judged that at least one target compensation module that meets the target condition does not exist, the present process can be terminated, or step 101 can be continued, such as Figure 1 As shown, Figure 1 Take continuing to execute step 101 as an example.

[0062] 104. The reactive power compensation controller stops the scanning operation and generates a switching frame for each target compensation module according to the first state return frame of the target compensation module, which serves as a control basis for the wireless automatic switching mode.

[0063] In an embodiment of the present invention, specifically, the reactive power compensation controller determines the operating information of each target compensation module based on the first state return frame of the target compensation module, and generates a switching frame for the target compensation module based on the operating information of the target compensation module. Optionally, the operating information may include one or more combinations of the following: the charge level of the capacitor of the corresponding target compensation module, the operating current of the corresponding target compensation module, the operating temperature of the corresponding target compensation module, the operating state of the corresponding target compensation module, the number of switching cycles of the corresponding target compensation module, and the total operating time of the corresponding target compensation module (the number of switching cycles and the total operating time may be determined based on the current first state return frame of the corresponding target compensation module and historical state return frames). This is not limited in the embodiment of the present invention.

[0064] 105. The reactive power compensation controller sends a corresponding switching frame to each target compensation module based on the wireless communication protocol, so as to realize automatic switching control of each target compensation module by the reactive power compensation controller.

[0065] In an embodiment of the present invention, specifically, the reactive compensation controller sends a corresponding switching frame to each target compensation module to trigger the compensation switch of the target compensation module to be turned on or off according to the data content of the switching frame. Specifically, when the data content indicates that the compensation switch is turned on, and when the data content indicates that the compensation switch is turned off, the compensation switch is turned on.

[0066] 106. The reactive power compensation controller determines the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module.

[0067] In an embodiment of the present invention, the switching state includes an engaged state or a disconnected state. Optionally, the switching operation may be a first switching operation based on a wireless manual switching method, or a second switching operation based on a wireless automatic switching method, which is not limited in the embodiment of the present invention. Specifically, the reactive compensation controller compares the switching state of each target compensation module with the switching frame for each target compensation module to obtain a switching comparison result for each target compensation module; when the switching comparison result indicates that the switching state of the corresponding target compensation module conforms to the switching frame for the target compensation module, it is determined that the switching control operation verification of the target compensation module has passed; when the switching comparison result indicates that the switching state of the corresponding target compensation module does not conform to the switching frame for the target compensation module, it is determined that the switching control operation verification of the target compensation module has failed.

[0068] It can be seen that implementation Figure 1The described reactive compensation controller switching control method based on wireless communication can, when the reactive compensation controller is powered on, accurately scan all compensation modules through the reactive compensation controller based on a preset wireless communication protocol to obtain a scanning result, and display the first state return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive compensation controller as a control basis for a wireless manual switching mode. The reactive compensation controller can quickly and accurately implement wireless manual switching control of each compensation module through the state return frame displayed on the touch device; based on the first state return frame of each compensation module, determine whether there is at least one target compensation module that meets the target conditions for switching control. When it is determined that there is, the reactive compensation controller stops executing the scanning operation, and based on the first state return frame of each target compensation module, accurately generates a switching frame for the target compensation module as a control basis for the wireless automatic switching mode, and then sends a corresponding signal to each target compensation module based on the wireless communication protocol. A switching frame is used to implement automatic switching control of each target compensation module by the reactive compensation controller. Based on the automatically generated switching frame, the reactive compensation controller can quickly and accurately implement wireless automatic switching control of the compensation modules. Furthermore, by providing a touch device and a switching frame generation process, the reactive compensation controller can improve the diversity and flexibility of its switching control methods for the compensation modules. The reactive compensation controller then determines the switching status of each target compensation module (including switched-on or switched-off) based on the second status return frame sent by each target compensation module for the switching operation. This improves the accuracy and efficiency of the reactive compensation controller's knowledge of the switching status of each target compensation module, thereby providing an accurate and reliable basis for subsequent switching control operations of the reactive compensation module. Furthermore, by establishing wireless communication between the reactive compensation controller and the compensation module to drive switching, this solution can reduce interference or insufficient driving capacity caused by long-distance wiring when the communication range between the controller and the compensation module is long in a wired drive mode.

[0069] In an optional embodiment, the reactive power compensation controller in step 103 may determine whether there is at least one target compensation module that meets the target conditions for switching control based on the first state return frame of each compensation module, which may include:

[0070] The reactive power compensation controller analyzes the operation information of each compensation module according to the first state return frame of each compensation module;

[0071] The reactive compensation controller determines a current control strategy of the reactive compensation controller based on the operating information of all compensation modules; and determines whether the current control strategy indicates that the reactive compensation controller has a preset switching control requirement for at least one compensation module;

[0072] When it is determined that the current control strategy indicates that the reactive power compensation controller has a switching control requirement for at least one compensation module, the reactive power compensation controller determines that there is at least one target compensation module that meets the target condition for switching control, wherein the target compensation module is the compensation module that has the switching control requirement;

[0073] When it is determined that the current control strategy is used to indicate that the reactive compensation controller does not have switching control requirements for all compensation modules, the reactive compensation controller determines that there is no target compensation module that meets the target conditions for switching control.

[0074] In an embodiment of the present invention, specifically, the reactive compensation controller determines the expected operating requirements of each compensation module in a preset future time period based on the operating information of each compensation module, and compares the expected operating requirements of each compensation module with the acquired current operating requirements of the compensation module to obtain an operating requirement comparison result; according to the operating requirement comparison results of all compensation modules, all compensation modules are classified to obtain a first-category compensation module set and a second-category compensation module set, wherein the first-category compensation module set is empty or the operating requirement comparison results of all compensation modules in the first-category compensation module set are the result of changes in the operating requirements, and the second-category compensation module set is empty or the reactive compensation controller determines that the operating requirements of all compensation modules in the second-category compensation module set have not changed; determining that the reactive compensation controller has switching control requirements for the first-category compensation module set, and determining that the reactive compensation controller does not have switching control requirements for the second-category compensation module set are used as the current control strategy of the reactive compensation controller.

[0075] It can be seen that this optional embodiment can accurately analyze the operating information of each compensation module through the reactive compensation controller according to the first state return frame of each compensation module, and accurately determine the current control strategy of the reactive compensation controller based on the operating information of all compensation modules; then judge whether the current control strategy is used to indicate that the reactive compensation controller has a preset switching control requirement for at least one compensation module. When it is judged that the current control strategy is used to indicate that the reactive compensation controller does not have a switching control requirement for all compensation modules, the reactive compensation controller determines that there is no target compensation module that meets the target conditions for switching control; and when it is judged that the current control strategy is used to indicate that the reactive compensation controller has a switching control requirement for at least one compensation module, the reactive compensation controller determines that there is at least one target compensation module that meets the target conditions for switching control, wherein the target compensation module is a compensation module with a switching control requirement, which can improve the accuracy and reliability of determining the target compensation module that needs to be switched.

[0076] Example 2

[0077] See also Figure 2 , Figure 2 This is a flow chart of a reactive power compensation controller switching control method based on wireless communication disclosed in an embodiment of the present invention. Figure 2 The described switching control method of the reactive compensation controller based on wireless communication can be applied to a reactive compensation controller, which is wirelessly connected to multiple compensation modules. The reactive compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system. The switching control method includes wireless manual switching and / or wireless automatic switching, which is not limited in the embodiment of the present invention. Figure 2 As shown, the reactive power compensation controller switching control method based on wireless communication may include the following operations:

[0078] 201. When the reactive power compensation controller is powered on, the reactive power compensation controller obtains an initial serial number of each compensation module and status information of the compensation module.

[0079] In the embodiment of the present invention, the status information includes online information or offline information.

[0080] 202. The reactive power compensation controller selects, from all compensation modules, all compensation modules whose status information is online information according to the status information of all compensation modules.

[0081] 203. The reactive power compensation controller takes all compensation modules whose status information is online information as slaves, and sorts all slaves according to their initial sequence numbers to obtain a slave scanning order.

[0082] For example, assuming there are 32 compensation modules, among which each compensation module does not communicate with each other, and there are 16 compensation modules currently online, then these 16 online compensation modules can be scanned, one compensation module at a time, and one compensation module is only scanned once in one cycle.

[0083] 204. The reactive power compensation controller scans each compensation module in sequence based on a preset wireless communication protocol and a slave scanning sequence to obtain a scanning result.

[0084] In the embodiment of the present invention, the scanning result may include a result that the reactive power compensation controller receives a return frame from the corresponding compensation module, or a result that the reactive power compensation controller does not receive a return frame from the corresponding compensation module.

[0085] 205. The reactive power compensation controller displays the first status return frame sent by each compensation module during the scanning process included in the scanning result through the touch device connected to the reactive power compensation controller, which serves as a control basis for the wireless manual switching mode.

[0086] 206. The reactive power compensation controller determines whether there is at least one target compensation module that meets the target conditions for switching control according to the first state return frame of each compensation module.

[0087] In the embodiment of the present invention, when the judgment result of step 206 is yes, that is, when it is judged that at least one target compensation module that meets the target condition exists, step 207 is triggered; when the judgment result of step 206 is no, that is, when it is judged that at least one target compensation module that meets the target condition does not exist, the present process can be terminated, or step 204 can be continued, such as Figure 2 As shown, Figure 2 Take continuing to execute step 204 as an example.

[0088] 207. The reactive power compensation controller stops the scanning operation and generates a switching frame for each target compensation module according to the first state return frame of the target compensation module, which serves as a control basis for the wireless automatic switching mode.

[0089] 208. The reactive power compensation controller sends a corresponding switching frame to each target compensation module based on the wireless communication protocol, so as to realize automatic switching control of each target compensation module by the reactive power compensation controller.

[0090] 209. The reactive power compensation controller determines the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module.

[0091] In the embodiment of the present invention, for other descriptions of steps 201 to 209 , please refer to the detailed description of steps 101 to 106 in the first embodiment, which will not be repeated in the embodiment of the present invention.

[0092] It can be seen that implementation Figure 2The described reactive compensation controller switching control method based on wireless communication can, when the reactive compensation controller is powered on, accurately scan all compensation modules through the reactive compensation controller based on a preset wireless communication protocol to obtain a scanning result, and display the first state return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive compensation controller as a control basis for a wireless manual switching mode. The reactive compensation controller can quickly and accurately implement wireless manual switching control of each compensation module through the state return frame displayed on the touch device; based on the first state return frame of each compensation module, determine whether there is at least one target compensation module that meets the target conditions for switching control. When it is determined that there is, the reactive compensation controller stops executing the scanning operation, and based on the first state return frame of each target compensation module, accurately generates a switching frame for the target compensation module as a control basis for the wireless automatic switching mode, and then sends a corresponding signal to each target compensation module based on the wireless communication protocol. A switching frame is used to implement automatic switching control of each target compensation module by the reactive compensation controller. Based on the automatically generated switching frame, the reactive compensation controller can quickly and accurately implement wireless automatic switching control of the compensation modules. Furthermore, by providing a touch device and a switching frame generation process, the reactive compensation controller can improve the diversity and flexibility of its switching control methods for the compensation modules. The reactive compensation controller then determines the switching status of each target compensation module (including switched-on or switched-off) based on the second status return frame sent by each target compensation module for the switching operation. This improves the accuracy and efficiency of the reactive compensation controller's knowledge of the switching status of each target compensation module, thereby providing an accurate and reliable basis for subsequent switching control operations of the reactive compensation module. Furthermore, by establishing wireless communication between the reactive compensation controller and the compensation module to drive switching, this solution can reduce interference or insufficient driving capacity caused by long-distance wiring when the communication range between the controller and the compensation module is long in a wired drive mode. In addition, the reactive compensation controller can also obtain the initial serial number of each compensation module and its status information, such as online or offline, and accurately select all compensation modules with online status information from all compensation modules based on the status information of all compensation modules. Subsequently, all compensation modules with online status information are used as slaves, and all slaves are sorted according to the initial serial numbers of all slaves to obtain a slave scanning sequence, thereby improving the accuracy and reliability of determining the slave scanning sequence used as the basis for scanning. Based on the wireless communication protocol, each compensation module is scanned in turn according to the slave scanning sequence to obtain a scanning result, which can improve the accuracy and reliability of scanning all compensation modules.

[0093] In an optional embodiment, after the reactive power compensation controller in step 204 scans each compensation module in sequence based on a preset wireless communication protocol and a slave scanning order, and obtains a scanning result, the method may further include:

[0094] For each compensation module, the reactive power compensation controller determines whether a first status return frame sent by the compensation module has been received; and when it is determined that the first status return frame sent by the compensation module has been received, the reactive power compensation controller is triggered to perform an operation to determine whether there is at least one target compensation module that meets the target conditions for switching control based on the first status return frame of each compensation module;

[0095] When it is determined that the first status return frame sent by the compensation module is not received, the reactive power compensation controller marks the compensation module as scanning abnormality information, and re-executes the operation of scanning all compensation modules based on the preset wireless communication protocol to obtain the scanning result;

[0096] The reactive power compensation controller detects the tag information of all compensation modules and determines whether the current conditions of the slave scanning sequence meet the preset update conditions based on the tag information of all compensation modules;

[0097] When it is determined that the current condition of the slave scanning sequence meets the update condition, the slave scanning sequence is updated according to the marking information of all the compensation modules.

[0098] In an embodiment of the present invention, optionally, the marking information can be used to indicate the marking information of the reactive compensation controller on the scanning result of the corresponding compensation module during the current scan. Specifically, when the reactive compensation controller receives the first state return frame of a compensation module during a certain scanning process, the reactive compensation controller may not mark the compensation module during the current scan, that is, the marking information of the compensation module during the current scan is empty; when the reactive compensation controller does not receive the first state return frame of a compensation module during a certain scanning process, the reactive compensation controller may mark the compensation module during the current scan as scanning abnormality information, that is, the marking information of the compensation module during the current scan is scanning abnormality information, which is not limited in the embodiment of the present invention.

[0099] Specifically, the update condition indicates that at least one compensation module indicated by the slave scan sequence has all its marking information indicating scan abnormality for a predetermined number of consecutive scans. Specifically, for any abnormal compensation module whose marking information indicates all scan abnormality for a predetermined number of consecutive scans, the sequence number of the abnormal compensation module is deleted from all scan orders in the slave scan sequence, thereby completing the update of the slave scan sequence.

[0100] It can be seen that this optional embodiment can determine whether the first status return frame sent by each compensation module is received through the reactive compensation controller; and when it is determined that the first status return frame sent by the compensation module is received, the reactive compensation controller is triggered to execute the operation of judging whether there is at least one target compensation module that meets the target conditions for switching control according to the first status return frame of each compensation module, which can improve the triggering accuracy and timeliness of judging whether there is a target compensation module operation. When it is determined that the first status return frame sent by the compensation module is not received, the reactive compensation controller marks the compensation module as scanning abnormality information and re-executes the preset wireless communication protocol for all compensation modules. A compensation module is scanned to obtain the scanning result, and then the tag information of all compensation modules is detected, and based on the tag information of all compensation modules, it is judged whether the current conditions of the slave scanning sequence meet the preset update conditions; when it is judged that the current conditions of the slave scanning sequence meet the update conditions, the slave scanning sequence is updated according to the tag information of all compensation modules. By setting a tag information judgment process based on multiple scans, the situation in which the reactive compensation controller directly determines that the communication of the compensation module is abnormal due to a delayed response of a module during a certain scan can be reduced, and the accuracy and reliability of the update of the slave scanning sequence can be improved when the existence of an abnormal compensation module is accurately determined.

[0101] In this optional embodiment, as an optional implementation manner, the reactive power compensation controller determines whether the current condition of the slave scanning sequence meets the preset update condition based on the tag information of all compensation modules, which may include:

[0102] The reactive power compensation controller determines, based on the tag information of all the compensation modules, whether there is at least one abnormal compensation module among all the compensation modules whose tag information is abnormal scanning information within a preset continuous scanning number;

[0103] When it is determined that there is at least one abnormal compensation module whose marking information is scanning abnormal information within the continuous scanning number, the reactive power compensation controller determines that the current condition of the slave scanning sequence meets the preset update condition;

[0104] When it is determined that the mark information of each compensation module is not scan abnormal information at least once within the continuous scanning times, the reactive power compensation controller determines that the current condition of the slave scanning sequence does not meet the preset update condition.

[0105] In an embodiment of the present invention, optionally, the preset number of continuous scans can be 5 times, or 6 times, or any other set value, wherein the number of continuous scans can be input by the operator to the reactive compensation controller through a touch device, or can be input by the operator when setting the scanning program of the reactive compensation controller, and the embodiment of the present invention does not limit this.

[0106] It can be seen that this optional implementation method can determine whether there is at least one abnormal compensation module among all compensation modules based on the tag information of all compensation modules, and when it is determined that there is at least one abnormal compensation module whose tag information is scanning abnormality information within the preset continuous scanning number of times, it is determined that the current condition of the slave scanning order meets the preset update condition, which can improve the accuracy and reliability of determining that the scanning order of the compensation module meets the update condition in the event of an abnormal compensation module that has not responded after multiple scans; when it is determined that the tag information of each compensation module is not scanning abnormality information at least once within the continuous scanning number of times, it is determined that the current condition of the slave scanning order does not meet the preset update condition, which can improve the accuracy and reliability of determining that the scanning order of the compensation module does not meet the update condition.

[0107] In another optional embodiment, the reactive power compensation controller in step 204 scans each compensation module in sequence based on a preset wireless communication protocol and a slave scanning order to obtain a scanning result, which may include:

[0108] The reactive power compensation controller generates data reading instructions for each compensation module based on a preset wireless communication protocol;

[0109] The reactive power compensation controller sends corresponding data reading instructions to each compensation module in turn according to the slave scanning sequence and the data reading instructions for each compensation module, so as to scan each compensation module and obtain the scanning results.

[0110] For example, taking Lora communication as an example, the data format of the data read instruction generated by the reactive compensation controller can be a 32-bit address data format, wherein the 32-bit address data can be divided into 2 16-bit address data, such as high 16-bit address data and low 16-bit address data.

[0111] It can be seen that this optional embodiment can accurately generate data reading instructions for each compensation module based on a preset wireless communication protocol through the reactive compensation controller, and then send corresponding data reading instructions to each compensation module in turn according to the slave scanning sequence and the data reading instructions for each compensation module to realize the scanning of each compensation module and obtain the scanning results. It can improve the accuracy and reliability of the reactive compensation controller's data reading of the compensation module based on the data reading instructions and the slave scanning sequence.

[0112] In yet another optional embodiment, the method may further include:

[0113] For each target compensation module, the reactive power compensation controller determines whether a second state return frame for a switching operation sent by the target compensation module has been received; and when it is determined that the second state return frame sent by the target compensation module has been received, the reactive power compensation controller is triggered to execute an operation of determining a switching state of each target compensation module based on the second state return frame for a switching operation sent by each target compensation module;

[0114] When it is determined that the second state return frame sent by the target compensation module is not received, the reactive power compensation controller re-executes the wireless communication protocol to send a corresponding switching frame to each target compensation module, so as to realize the automatic switching control operation of the reactive power compensation controller on each target compensation module, until the number of continuous transmissions reaches the preset number of continuous transmissions;

[0115] When the second state return frame sent by the target compensation module is not received within the preset number of continuous transmissions, the reactive compensation controller marks the target compensation module as faulty module information. The faulty module information is used as the basis for determining the slave scanning order when the reactive compensation controller performs a scanning operation next time.

[0116] For example, when the reactive power compensation controller does not receive the second status return frame sent by a compensation module, it will continue to send the switch command to the compensation module for up to 50 times (the command is sent through wireless communication of the switch frame). When the second status return frame sent by the compensation module is not received for more than 50 times, the reactive power compensation controller will mark the compensation module as a faulty module.

[0117] It can be seen that this optional embodiment can determine whether the second state return frame for the switching operation sent by each target compensation module is received through the reactive compensation controller; and when it is determined that the second state return frame sent by the target compensation module is received, trigger the reactive compensation controller to perform an operation of determining the switching state of each target compensation module based on the second state return frame for the switching operation sent by each target compensation module; it can improve the triggering accuracy and timeliness of the determination operation of the switching state of the compensation module when the second state return frame sent by the corresponding compensation module is received, and when it is determined that the second state return frame sent by the target compensation module is not received, re-execute the operation of sending the corresponding switching frame to each target compensation module based on the wireless communication protocol to realize the automatic switching control operation of the reactive compensation controller on each target compensation module. Until the number of continuous transmissions reaches the preset number of continuous transmissions; when the second state return frame sent by the target compensation module is not received within the preset number of continuous transmissions, the target compensation module is marked as a fault module information, and the fault module information is used as a basis for determining the slave scanning order when the reactive compensation controller performs a scanning operation next time. It can improve the accuracy and reliability of marking the target compensation module as a faulty module when switching commands are sent to a target compensation module for multiple consecutive times and no second state return frames are received. By setting a fault marking process based on multiple transmissions of switching commands, it can reduce the occurrence of the reactive compensation controller directly determining that the compensation module is faulty due to delayed communication, and can improve the accuracy and reliability of determining the slave scanning order of the next scanning operation when it is accurately determined that there is a faulty compensation module.

[0118] Example 3

[0119] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention. Figure 3 The reactive compensation controller switching control device based on wireless communication described above can be applied to a reactive compensation controller, which is wirelessly connected to multiple compensation modules. The reactive compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system. The switching control method includes wireless manual switching and / or wireless automatic switching, which is not limited in the embodiment of the present invention. Figure 3 As shown, the device may include:

[0120] The scanning module 301 is used to scan all compensation modules based on a preset wireless communication protocol when the reactive power compensation controller is powered on to obtain a scanning result, where each compensation module includes at least a capacitor;

[0121] The display module 302 is used to display the first state return frame sent by each compensation module during the scanning process included in the scanning result through the touch device connected to the reactive power compensation controller as a control basis for the wireless manual switching mode;

[0122] A judgment module 303 is configured to judge whether there is at least one target compensation module that meets the target conditions for switching control according to the first state return frame of each compensation module;

[0123] The stopping module 304 is configured to control the scanning module 301 to stop performing the scanning operation when the judging module 303 judges that there is at least one target compensation module that meets the target condition;

[0124] A generating module 305 is configured to generate a switching frame for each target compensation module according to the first state return frame of the target compensation module, as a control basis for the wireless automatic switching mode;

[0125] The sending module 306 is used to send a corresponding switching frame to each target compensation module based on a wireless communication protocol to achieve automatic switching control of each target compensation module by the reactive power compensation controller;

[0126] The determination module 307 is configured to determine the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module, where the switching state includes an on-state or a off-state.

[0127] It can be seen that implementation Figure 3The described reactive power compensation controller can, when the reactive power compensation controller is powered on, accurately scan all compensation modules through the reactive power compensation controller based on a preset wireless communication protocol to obtain a scanning result, and display the first state return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive power compensation controller as a control basis for a wireless manual switching mode. The reactive power compensation controller can quickly and accurately implement wireless manual switching control of each compensation module through the state return frame displayed on the touch device; based on the first state return frame of each compensation module, determine whether there is at least one target compensation module that meets the target conditions for switching control. When it is determined that there is, the reactive power compensation controller stops executing the scanning operation, and based on the first state return frame of each target compensation module, accurately generates a switching frame for the target compensation module as a control basis for the wireless automatic switching mode. Subsequently, based on the wireless communication protocol, the corresponding switching frame is sent to each target compensation module to implement The reactive power compensation controller automatically switches each target compensation module, enabling rapid and accurate wireless automatic switching control of the compensation module based on automatically generated switching frames. Furthermore, by providing a touch device and a switching frame generation process, the reactive power compensation controller can enhance the diversity and flexibility of its switching control methods. The reactive power compensation controller then determines the switching status of each target compensation module (including switched-on or switched-off) based on a second status return frame sent by each target compensation module for the switching operation. This improves the accuracy and efficiency of the reactive power compensation controller's knowledge of the switching status of each target compensation module, thereby providing an accurate and reliable basis for subsequent switching control operations of the reactive power compensation module. Furthermore, by establishing wireless communication between the reactive power compensation controller and the compensation module to drive switching, this solution can mitigate interference or insufficient driving capacity caused by long-distance wiring when the communication range between the controller and the compensation module is long in a wired drive mode.

[0128] In an optional embodiment, the scanning module 301 scans all compensation modules based on a preset wireless communication protocol, and a method of obtaining the scanning result may specifically include:

[0129] Obtaining the initial serial number of each compensation module and status information of the compensation module, where the status information includes online information or offline information;

[0130] According to the status information of all compensation modules, all compensation modules whose status information is online are selected from all compensation modules;

[0131] All compensation modules whose status information is online are regarded as slaves, and all slaves are sorted according to their initial sequence numbers to obtain a slave scanning order;

[0132] Based on the preset wireless communication protocol and according to the slave scanning order, each compensation module is scanned in turn to obtain the scanning results.

[0133] It can be seen that this optional embodiment can obtain the initial serial number and status information of each compensation module, such as online or offline, through the reactive compensation controller, and accurately select all compensation modules with online status information from all compensation modules based on the status information of all compensation modules, and then use all compensation modules with online status information as slaves, and sort all slaves according to the initial serial numbers of all slaves to obtain a slave scanning sequence, thereby improving the accuracy and reliability of determining the slave scanning sequence used as the basis for scanning, and then based on the wireless communication protocol, scan each compensation module in turn according to the slave scanning sequence to obtain the scanning result, which can improve the accuracy and reliability of scanning all compensation modules.

[0134] In this optional embodiment, as an optional implementation, the judgment module 303 is further configured to, when the scanning module 301 scans each compensation module in sequence based on a preset wireless communication protocol and according to a slave scanning order, determine, for each compensation module, whether a first status return frame sent by the compensation module has been received after obtaining the scanning result; and when it is determined that the first status return frame sent by the compensation module has been received, trigger the scanning module 301 to perform an operation to determine whether there is at least one target compensation module that meets the target conditions for switching control based on the first status return frame of each compensation module. And, if Figure 4 As shown, Figure 4 1 is a schematic structural diagram of another reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention, wherein the device may further include:

[0135] The first marking module 308 is used to mark the compensation module as scanning abnormality information when the judgment module 303 determines that the first status return frame sent by the compensation module is not received, and trigger the scanning module 301 to re-execute the preset wireless communication protocol to scan all compensation modules and obtain the scanning results.

[0136] The detection module 309 is used to detect the marking information of all compensation modules.

[0137] The judgment module 303 is further configured to judge whether the current condition of the slave scanning sequence meets a preset update condition according to the marking information of all the compensation modules.

[0138] The updating module 310 is configured to update the slave scanning sequence according to the marking information of all the compensation modules when the judging module 303 judges that the current condition of the slave scanning sequence meets the updating condition.

[0139] It can be seen that implementation Figure 4 The described device can also determine whether the first state return frame sent by each compensation module is received through the reactive compensation controller; and when it is determined that the first state return frame sent by the compensation module is received, the reactive compensation controller is triggered to perform the operation based on the first state return frame of each compensation module to determine whether there is at least one target compensation module that meets the target conditions for switching control, which can improve the triggering accuracy and timeliness of determining whether there is a target compensation module operation. When it is determined that the first state return frame sent by the compensation module is not received, the reactive compensation controller marks the compensation module as scanning abnormality information and re-executes the preset wireless communication protocol for all The compensation module is scanned to obtain the scanning result, and then the tag information of all compensation modules is detected, and based on the tag information of all compensation modules, it is judged whether the current conditions of the slave scanning sequence meet the preset update conditions; when it is judged that the current conditions of the slave scanning sequence meet the update conditions, the slave scanning sequence is updated according to the tag information of all compensation modules. By setting a tag information judgment process based on multiple scans, the situation in which the reactive compensation controller directly determines that the communication of the compensation module is abnormal due to a delayed response of a module during a certain scan can be reduced, and the accuracy and reliability of the update of the slave scanning sequence can be improved when the existence of an abnormal compensation module is accurately determined.

[0140] In this optional embodiment, the judgment module 303 may optionally judge whether the current condition of the slave scanning sequence meets the preset update condition based on the tag information of all compensation modules by:

[0141] According to the marking information of all the compensation modules, it is determined whether there is at least one abnormal compensation module among all the compensation modules whose marking information is abnormal scanning information within a preset continuous scanning number;

[0142] When it is determined that there is at least one abnormality compensation module whose marking information is all scanning abnormality information within a continuous scanning number, determining that the current condition of the slave scanning sequence meets the preset update condition;

[0143] When it is determined that the mark information of each compensation module is not scan abnormal information at least once within the continuous scanning times, it is determined that the current condition of the slave scanning sequence does not meet the preset update condition.

[0144] It can be seen that this optional implementation method can also determine whether there is at least one abnormal compensation module among all compensation modules based on the tag information of all compensation modules, and when it is determined that there is at least one abnormal compensation module whose tag information is scanning abnormality information within the preset continuous scanning number of times, it is determined that the current condition of the slave scanning sequence meets the preset update condition, which can improve the accuracy and reliability of determining that the scanning sequence of the compensation module meets the update condition in the event of an abnormal compensation module that has not responded after multiple scans; when it is determined that the tag information of each compensation module is not scanning abnormality information at least once within the continuous scanning number of times, it is determined that the current condition of the slave scanning sequence does not meet the preset update condition, which can improve the accuracy and reliability of determining that the scanning sequence of the compensation module does not meet the update condition.

[0145] In this optional embodiment, as an optional implementation, the scanning module 301 scans each compensation module in sequence based on a preset wireless communication protocol and according to the slave scanning order. The method of obtaining the scanning result may specifically include:

[0146] Generate a data reading instruction for each compensation module based on a preset wireless communication protocol;

[0147] According to the slave scanning sequence and the data reading instruction for each compensation module, the corresponding data reading instruction is sent to each compensation module in turn to scan each compensation module and obtain the scanning result.

[0148] It can be seen that this optional implementation method can accurately generate data reading instructions for each compensation module based on a preset wireless communication protocol through the reactive compensation controller, and then send corresponding data reading instructions to each compensation module in turn according to the slave scanning sequence and the data reading instructions for each compensation module to realize the scanning of each compensation module and obtain the scanning results. It can improve the accuracy and reliability of the reactive compensation controller's data reading of the compensation module based on the data reading instructions and the slave scanning sequence.

[0149] In another optional embodiment, the judgment module 303 is further configured to determine, for each target compensation module, whether a second state return frame for a switching operation sent by the target compensation module has been received; and when the judgment module 303 determines that the second state return frame sent by the target compensation module has been received, triggering the determination module 307 to execute an operation of determining the switching state of each target compensation module based on the second state return frame for a switching operation sent by each target compensation module;

[0150] When the judgment module 303 determines that the second state return frame sent by the target compensation module has not been received, it re-executes the wireless communication protocol to send the corresponding switching frame to each target compensation module to realize the automatic switching control operation of the reactive power compensation controller on each target compensation module until the number of continuous transmissions reaches the preset number of continuous transmissions. And, if Figure 4 As shown, the reactive power compensation controller also includes:

[0151] The second marking module 311 is used to mark the target compensation module as a faulty module when the second state return frame sent by the target compensation module is not received within a preset number of continuous transmission times. The faulty module information is used as a basis for determining the slave scanning order when the reactive compensation controller performs a scanning operation next time.

[0152] It can be seen that this optional embodiment can determine whether the second state return frame for the switching operation sent by each target compensation module is received through the reactive compensation controller; and when it is determined that the second state return frame sent by the target compensation module is received, trigger the reactive compensation controller to perform an operation of determining the switching state of each target compensation module based on the second state return frame for the switching operation sent by each target compensation module; it can improve the triggering accuracy and timeliness of the determination operation of the switching state of the compensation module when the second state return frame sent by the corresponding compensation module is received, and when it is determined that the second state return frame sent by the target compensation module is not received, re-execute the operation of sending the corresponding switching frame to each target compensation module based on the wireless communication protocol to realize the automatic switching control operation of the reactive compensation controller on each target compensation module. Until the number of continuous transmissions reaches the preset number of continuous transmissions; when the second state return frame sent by the target compensation module is not received within the preset number of continuous transmissions, the target compensation module is marked as a fault module information, and the fault module information is used as a basis for determining the slave scanning order when the reactive compensation controller performs a scanning operation next time. It can improve the accuracy and reliability of marking the target compensation module as a faulty module when switching commands are sent to a target compensation module for multiple consecutive times and no second state return frames are received. By setting a fault marking process based on multiple transmissions of switching commands, it can reduce the occurrence of the reactive compensation controller directly determining that the compensation module is faulty due to delayed communication, and can improve the accuracy and reliability of determining the slave scanning order of the next scanning operation when it is accurately determined that there is a faulty compensation module.

[0153] In another optional embodiment, the judgment module 303 judges whether there is at least one target compensation module that meets the target condition for switching control based on the first state return frame of each compensation module, which may specifically include:

[0154] Analyzing the operation information of each compensation module according to the first state return frame of each compensation module;

[0155] Determining a current control strategy of the reactive power compensation controller based on the operating information of all compensation modules; and determining whether the current control strategy indicates that the reactive power compensation controller has a preset switching control requirement for at least one compensation module;

[0156] When it is determined that the current control strategy indicates that the reactive power compensation controller has a switching control requirement for at least one compensation module, determining that there is at least one target compensation module that meets the target condition for switching control, wherein the target compensation module is the compensation module that has the switching control requirement;

[0157] When it is determined that the current control strategy is used to indicate that the reactive compensation controller does not have switching control requirements for all compensation modules, it is determined that there is no target compensation module that meets the target conditions for switching control.

[0158] It can be seen that this optional embodiment can accurately analyze the operating information of each compensation module through the reactive compensation controller according to the first state return frame of each compensation module, and accurately determine the current control strategy of the reactive compensation controller based on the operating information of all compensation modules; then judge whether the current control strategy is used to indicate that the reactive compensation controller has a preset switching control requirement for at least one compensation module. When it is judged that the current control strategy is used to indicate that the reactive compensation controller does not have a switching control requirement for all compensation modules, the reactive compensation controller determines that there is no target compensation module that meets the target conditions for switching control; and when it is judged that the current control strategy is used to indicate that the reactive compensation controller has a switching control requirement for at least one compensation module, the reactive compensation controller determines that there is at least one target compensation module that meets the target conditions for switching control, wherein the target compensation module is a compensation module with a switching control requirement, which can improve the accuracy and reliability of determining the target compensation module that needs to be switched.

[0159] Example 4

[0160] See also Figure 5 , Figure 5 This is a structural diagram of another reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention. Figure 5 As shown, the reactive compensation controller switching control device based on wireless communication may include:

[0161] A memory 401 storing executable program code;

[0162] a processor 402 coupled to the memory 401;

[0163] The processor 402 calls the executable program code stored in the memory 401 to execute the steps of the switching control method of the reactive compensation controller based on wireless communication described in the first embodiment of the present invention or the second embodiment of the present invention.

[0164] Example 5

[0165] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps of the reactive compensation controller switching control method based on wireless communication described in Embodiment 1 or Embodiment 2 of the present invention.

[0166] Example 6

[0167] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the reactive compensation controller switching control method based on wireless communication described in Example 1 or Example 2.

[0168] The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Those skilled in the art can understand and implement the present invention without inventive effort.

[0169] Through the detailed description of the above embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by means of hardware. Based on this understanding, the above technical solution, in essence, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disk storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0170] Finally, it should be noted that the switching control method and device of a reactive compensation controller based on wireless communication disclosed in the embodiment of the present invention only discloses a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, ordinary technicians in this field should understand that it is still possible to modify the technical solutions recorded in the aforementioned embodiments, or to replace some of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A reactive power compensation controller switching control method based on wireless communication, characterized in that: The method is applied to a reactive power compensation controller, which is wirelessly connected to a plurality of compensation modules. The reactive power compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system. The switching control method includes wireless manual switching and / or wireless automatic switching, and the method includes: When the reactive power compensation controller is powered on, the reactive power compensation controller scans all the compensation modules based on a preset wireless communication protocol to obtain a scanning result, wherein each compensation module includes at least a capacitor; The reactive power compensation controller displays the first status return frame sent by each compensation module during the scanning process included in the scanning result through a touch device connected to the reactive power compensation controller, as a control basis for the wireless manual switching mode; The reactive power compensation controller determines whether there is at least one target compensation module that meets the target conditions for switching control according to the first state return frame of each compensation module; When it is determined that there is at least one target compensation module that meets the target condition, the reactive power compensation controller stops performing the scanning operation; and generates a switching frame for each target compensation module according to the first state return frame of the target compensation module, which serves as a control basis for the wireless automatic switching mode; The reactive power compensation controller sends a corresponding switching frame to each target compensation module based on the wireless communication protocol, so as to realize automatic switching control of each target compensation module by the reactive power compensation controller; The reactive power compensation controller determines the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module, wherein the switching state includes an on-state or a off-state; The reactive power compensation controller scans all the compensation modules based on a preset wireless communication protocol to obtain scanning results, including: The reactive power compensation controller obtains an initial serial number of each compensation module and status information of the compensation module, wherein the status information includes online information or offline information; The reactive power compensation controller selects, from all the compensation modules, all the compensation modules whose status information is the online information according to the status information of all the compensation modules; The reactive power compensation controller uses all compensation modules whose status information is the online information as slaves, and sorts all the slaves according to their initial sequence numbers to obtain a slave scanning order; The reactive power compensation controller scans each compensation module in sequence based on a preset wireless communication protocol and according to the slave scanning order to obtain a scanning result; Furthermore, after the reactive power compensation controller scans each compensation module in sequence based on a preset wireless communication protocol and according to the slave scanning order to obtain a scanning result, the method further includes: For each compensation module, the reactive power compensation controller determines whether a first status return frame sent by the compensation module has been received; and when it is determined that the first status return frame sent by the compensation module has been received, the reactive power compensation controller is triggered to perform the operation of determining whether there is at least one target compensation module that meets the target conditions for switching control based on the first status return frame of each compensation module; When it is determined that the first status return frame sent by the compensation module is not received, the reactive power compensation controller marks the compensation module as scanning abnormality information, and re-executes the preset wireless communication protocol to scan all the compensation modules to obtain the scanning results; The reactive power compensation controller detects the tag information of all the compensation modules, and determines whether the current condition of the slave scanning sequence meets the preset update condition according to the tag information of all the compensation modules; When it is determined that the current condition of the slave scanning sequence meets the update condition, the slave scanning sequence is updated according to the tag information of all the compensation modules.

2. The method for switching control of reactive power compensation controller based on wireless communication according to claim 1, characterized in that: The reactive power compensation controller determines whether the current condition of the slave scanning sequence meets a preset update condition based on the tag information of all the compensation modules, including: The reactive power compensation controller determines, based on the tag information of all the compensation modules, whether there is at least one abnormal compensation module among all the compensation modules whose tag information is the abnormal scanning information within a preset continuous scanning number; When it is determined that there is at least one abnormal compensation module whose marking information is all the scanning abnormal information within the continuous scanning times, the reactive power compensation controller determines that the current condition of the slave scanning sequence meets the preset update condition; When it is determined that the marking information of each compensation module is not the scanning abnormality information at least once within the continuous scanning times, the reactive power compensation controller determines that the current condition of the slave scanning sequence does not meet the preset update condition.

3. The reactive power compensation controller switching control method based on wireless communication according to claim 1 or 2, characterized in that: The reactive power compensation controller scans each compensation module in sequence based on a preset wireless communication protocol and according to the slave scanning sequence to obtain a scanning result, including: The reactive power compensation controller generates a data reading instruction for each compensation module based on a preset wireless communication protocol; The reactive power compensation controller sends corresponding data reading instructions to each compensation module in turn according to the slave scanning sequence and the data reading instructions for each compensation module, so as to scan each compensation module and obtain a scanning result.

4. The method for switching control of reactive power compensation controller based on wireless communication according to claim 3, characterized in that: The method further comprises: For each target compensation module, the reactive power compensation controller determines whether a second state return frame for a switching operation sent by the target compensation module has been received; and when it is determined that the second state return frame sent by the target compensation module has been received, triggering the reactive power compensation controller to execute the operation of determining the switching state of each target compensation module based on the second state return frame for a switching operation sent by each target compensation module; When it is determined that the second state return frame sent by the target compensation module is not received, the reactive power compensation controller re-executes the wireless communication protocol to send a corresponding switching frame to each target compensation module, so as to realize the automatic switching control operation of the reactive power compensation controller on each target compensation module, until the number of continuous transmissions reaches the preset number of continuous transmissions; When the second state return frame sent by the target compensation module is not received within the preset number of continuous transmissions, the reactive compensation controller marks the target compensation module as faulty module information, and the faulty module information is used as a basis for determining the slave scanning order when the reactive compensation controller performs the scanning operation next time.

5. The reactive power compensation controller switching control method based on wireless communication according to any one of claims 1, 2 and 4, characterized in that: The reactive power compensation controller determines whether there is at least one target compensation module that meets the target conditions for switching control according to the first state return frame of each compensation module, including: The reactive power compensation controller analyzes the operation information of each compensation module according to the first state return frame of each compensation module; The reactive power compensation controller determines a current control strategy of the reactive power compensation controller based on the operation information of all the compensation modules; and determines whether the current control strategy indicates that the reactive power compensation controller has a preset switching control requirement for at least one of the compensation modules; When it is determined that the current control strategy indicates that the reactive power compensation controller has the switching control requirement for at least one compensation module, the reactive power compensation controller determines that there is at least one target compensation module that meets the target condition for switching control, wherein the target compensation module is the compensation module that has the switching control requirement; When it is determined that the current control strategy is used to indicate that the reactive power compensation controller does not have the switching control requirement for all the compensation modules, the reactive power compensation controller determines that there is no target compensation module that meets the target condition for switching control.

6. A reactive power compensation controller switching control device based on wireless communication, characterized in that: The device is applied to a reactive power compensation controller, the reactive power compensation controller is wirelessly connected to a plurality of compensation modules, the reactive power compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system, the switching control method includes wireless manual switching and / or wireless automatic switching, the device is used to execute the switching control method of the reactive power compensation controller based on wireless communication according to any one of claims 1 to 5, and the device includes: a scanning module, configured to scan all the compensation modules based on a preset wireless communication protocol when the reactive power compensation controller is powered on, and obtain a scanning result, wherein each compensation module includes at least a capacitor; A display module is configured to display, via a touch device connected to the reactive power compensation controller, the first state return frame sent by each compensation module during the scanning process included in the scanning result as a control basis for the wireless manual switching mode; a judgment module, configured to judge whether there is at least one target compensation module that meets the target condition for switching control according to the first state return frame of each compensation module; a stopping module, configured to control the scanning module to stop performing a scanning operation when the judging module determines that there is at least one target compensation module that meets the target condition; a generating module for generating a switching frame for each target compensation module according to the first state return frame of the target compensation module, as a control basis for the wireless automatic switching mode; A sending module, configured to send a corresponding switching frame to each of the target compensation modules based on the wireless communication protocol, so as to implement automatic switching control of each of the target compensation modules by the reactive power compensation controller; The determination module is configured to determine the switching state of each target compensation module according to the second state return frame for the switching operation sent by each target compensation module, wherein the switching state includes an engaged state or a disconnected state.

7. A reactive power compensation controller switching control device based on wireless communication, characterized in that: The device comprises: a memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the switching control method of the reactive compensation controller based on wireless communication according to any one of claims 1 to 5.

8. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the switching control method of the reactive compensation controller based on wireless communication according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent monitor used for intelligent capacitor group

    CN105098978A

  • New type low voltage smart reactive power compensator

    CN105914757A

  • Reactive compensation module based on LoRa wireless communication

    CN213151662U