Reactive compensation controller switching control method and device based on wireless communication
Through the reactive power compensation controller turn-off control method based on wireless communication, the problem of insufficient accuracy and driving capability of the wired driving method during long-distance wiring in the prior art is solved, and accurate wireless control of the compensation module is realized.
Patent Information
- Application Number
- CN202510127654.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-05
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2045-02-05
AI Technical Summary
The wired driving method of the existing reactive power compensation controller is prone to interference or insufficient driving capacity during long-distance wiring, and it is impossible to accurately realize the switching control of the capacitor.
The reactive power compensation controller switching control method based on wireless communication is adopted, and the compensation module is accurately controlled by wireless manual switching and/or wireless automatic switching. The specific steps include scanning module, display module, judgment module, stop module, generation module, sending module and determining the use of modules.
The accuracy of the reactive compensation controller's turn-off control of the capacitor is improved, and the interference and insufficient driving capability are reduced due to the long communication range between the controller and the compensation module.
Smart Images

Figure CN119561081A_ABST
Abstract
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] At present, 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 switching capacitors has great limitations. For example, a large number of secondary lines are required to achieve wired drive wiring, which is relatively troublesome. Therefore, in the face of some special usage scenarios, such as: the distance between the controller's acquisition signal module and the compensation action module is far apart, when exceeding a certain communication range, it is easy to cause interference or insufficient driving ability, so it may not be possible to accurately achieve the switching control of the capacitor. It can be seen that it is particularly important to propose a technical solution to improve the accuracy of the reactive compensation controller's switching control of the capacitor. Summary of the invention
[0004] The present invention provides a switching control method and device for a reactive compensation controller based on wireless communication, which can improve the switching control accuracy of the reactive compensation controller on capacitors 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 of a reactive compensation controller based on wireless communication, the method is applied to a reactive compensation controller, the reactive compensation controller is wirelessly connected to a plurality of compensation modules, 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, 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, and each of the compensation modules at least includes a capacitor; The reactive power 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 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 condition 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 the target compensation module according to the first state return frame of each target compensation module as a control basis for the wireless automatic switching mode; The reactive power compensation controller sends a corresponding switching frame to each of the target compensation modules based on the wireless communication protocol, so as to realize automatic switching control of each of the target compensation modules 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, and the switching state includes an switched-on state or a switched-off state.
[0006] The second aspect of the present invention discloses a reactive compensation controller switching control device based on wireless communication, wherein the reactive compensation controller is wirelessly connected to a plurality of compensation modules, and the reactive compensation controller is used to implement switching control of each compensation module to adjust the voltage of the power system, and the switching control method includes wireless manual switching and / or wireless automatic switching, and the device includes: A scanning module, used for scanning all the compensation modules based on a preset wireless communication protocol when the reactive power compensation controller is powered on, to obtain a scanning result, wherein each compensation module includes at least a capacitor; A display module, used for displaying 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 the wireless manual switching mode; A judging module, configured to judge whether there is at least one target compensation module satisfying a target condition for switching control according to a first state return frame of each compensation module; a stop module, configured to control the scanning module to stop performing the scanning operation when the judging module judges that there is at least one target compensation module that meets the target condition; A generating module, used 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, used for sending a corresponding switching frame to each of the target compensation modules based on the wireless communication protocol, so as to realize automatic switching control of each of the target compensation modules by the reactive power compensation controller; The determination module is used 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, and the switching state includes an engaged state or a removed state.
[0007] The third aspect of the present invention discloses another reactive power compensation controller switching control device based on wireless communication, the device comprising: 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 power compensation controller based on wireless communication disclosed in the first aspect of the present invention.
[0008] 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.
[0009] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: 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, and 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 executing 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, 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 already-in-service 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 a preset wireless communication protocol when the reactive compensation controller is powered on 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 the wireless manual switching method, and can quickly and accurately implement the wireless manual switching control of each compensation module by the reactive compensation controller through the state return frame displayed by the touch device; determine 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, and when it is determined that there is, the reactive compensation controller stops executing the scanning operation, and accurately generates a switching frame for the target compensation module according to the first state return frame of each target compensation module as a control basis for the wireless automatic switching method, and then sends a corresponding switching frame to each target compensation module based on the wireless communication protocol to achieve wireless manual switching. The automatic switching control of each target compensation module by the reactive compensation controller can quickly and accurately realize the wireless automatic switching control of the compensation module by the reactive compensation controller based on the automatically generated switching frame, and the diversity and flexibility of the switching control mode of the reactive compensation controller for the compensation module can be improved by setting a touch device and a switching frame generation process; and then the switching state of each target compensation module is determined according to the second state return frame for the switching operation sent by each target compensation module (the switching state includes the switched-on state or the cut-off state), which can improve the accuracy and efficiency of the reactive compensation controller in obtaining the switching state of each target compensation module, thereby facilitating the subsequent switching control operation of the reactive compensation module to provide an accurate and reliable basis, and this scheme can 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 in the wired driving mode by setting wireless communication between the reactive compensation controller and the compensation module to drive the switching. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] 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.
[0011] Figure 1 It is a flow chart of a switching control method of a reactive power compensation controller based on wireless communication disclosed in an embodiment of the present invention; Figure 2 It is a flow chart of another reactive power compensation controller switching control method based on wireless communication disclosed in an embodiment of the present invention; Figure 3 It is a structural schematic diagram of a reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention; Figure 4 It is a structural schematic diagram of another reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention; Figure 5 It is a structural schematic diagram of another reactive power compensation controller switching control device based on wireless communication disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0012] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in 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. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0013] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.
[0014] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0015] The present invention discloses a switching control method and device of 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; 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 condition 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 a control basis for the wireless automatic switching mode, and then sends a state return frame to each target compensation module based on the wireless communication protocol. Send the corresponding switching frame to realize the automatic switching control of each target compensation module by the reactive compensation controller, and can quickly and accurately realize the wireless automatic switching control of the compensation module by the reactive compensation controller based on the automatically generated switching frame, and can improve the diversity and flexibility of the switching control mode of the reactive compensation controller for the compensation module by setting the touch device and the switching frame generation process; then according to the second state return frame for the switching operation sent by each target compensation module, determine the switching state of each target compensation module (the switching state includes the switched-in state or the cut-off state), which can improve the accuracy and efficiency of the reactive compensation controller to obtain the switching state of each target compensation module, so as to provide an accurate and reliable basis for the subsequent switching control operation of the reactive compensation module, and this scheme can reduce the interference or insufficient driving capacity caused by long-distance wiring in the wired driving mode when the communication range between the controller and the compensation module is far. The following are detailed descriptions.
[0016] Embodiment 1 See also Figure 1 , Figure 1 1 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 reactive compensation controller switching control method based on wireless communication can be applied to a 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, and a 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 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 embodiments 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: 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.
[0017] 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 may be 15200bit / s, and the wireless communication protocol may include three frames of content, which may be: a controller reading a compensation module status frame, a compensation module return frame, and a controller controlling a compensation module switching frame, which is not limited in the embodiment of the present invention.
[0018] In the embodiment of the present invention, the controller reads the data content of the compensation module status frame (including the meaning of multiple serial numbers and the data content corresponding to each serial number) and can refer to Table 1: Table 1: Data content table of compensation module status frame read by controller
[0019] Among them, H refers to the high 16 bits of the address, and L refers to the low 16 bits of the address, because the communication frame sends data once in one byte, that is, 16 bits of data, but the communication data length is 32 bits, so it is separated into two 16-bit data. For example, Lora target address H is the high 16 bits of the Lora target address, and Lora target address L is the low 16 bits of the Lora target address; CRCH is the high 16 bits of the check code, and CRCL is the low 16 bits of the check code; and so on. Specifically, Lora target address H: 00, Lora target address L: 01, can represent the module with a wireless address of 01 in all compensation modules (the device address is also 01); Lora target address H: 00, Lora target address L: 00, can represent the module with a wireless address of 00 in all compensation modules; Lora channel is the Lora communication frequency band; address H: 00, address L: 00, can represent the first capacitor; address H: 00, address L: 01, can represent the second capacitor.
[0020] The data content of the frame returned by the compensation module (including multiple sequence numbers and the meaning of the data content corresponding to each sequence number) can be referred to Table 2: Table 2: Data content table of compensation module return frame
[0021] Among them, Table 2 takes a compensation module containing 2 capacitors as an example. Among them, capacitor 1 state H is the high 16 bits of capacitor 1 state, capacitor 1 state L is the low 16 bits of capacitor 1 state, capacitor 1 temperature H is the high 16 bits of capacitor 1 temperature, capacitor 1 temperature L is the low 16 bits of capacitor 1 temperature, and so on. Specifically, capacitor 1A phase current, capacitor 1B phase current, capacitor 1C phase current can respectively represent the A, B, and C three-phase currents of capacitor 1, and capacitor 2A phase current, capacitor 2B phase current, and capacitor 2C phase current can respectively represent the A, B, and C three-phase currents of capacitor 2.
[0022] The data content of the controller controlling the compensation module switching frame (including multiple serial numbers and the meaning of the data content corresponding to each serial number) can be referred to Table 3: Table 3: Data content table of the controller controlling the compensation module switching frame
[0023] Among them, data content H: 00, data content L: 00, can represent the removal of the corresponding compensation module (that is, the compensation switch in the corresponding compensation module is disconnected); data content H: 00, data content L: 01, can represent the input of the corresponding compensation module (that is, the compensation switch in the corresponding compensation module is turned on).
[0024] 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: Table 4: Communication data content table of fault codes of wireless communication protocol
[0025] 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 the C-phase current process of the corresponding compensation module.
[0026] 102. The reactive power compensation controller displays 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.
[0027] 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. Further, 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.
[0028] 103. The reactive power compensation controller determines 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.
[0029] In the embodiment of the present invention, specifically, the target condition for performing switching control may be a condition that 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 the switching state (e.g., a target compensation module changes from an on state to a off state, or a target compensation module changes from a off state to an on state).
[0030] In the embodiment of the present invention, when the judgment result of step 103 is yes, that is, when it is judged that there is at least one target compensation module that meets the target condition, step 104 is triggered to be executed; when the judgment result of step 103 is no, that is, when it is judged that there is no at least one target compensation module that meets the target condition, this process can be ended, or step 101 can be continued to be executed, such as Figure 1 As shown, Figure 1Take continuing to execute step 101 as an example.
[0031] 104. The reactive power compensation controller stops executing 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.
[0032] In the embodiment of the present invention, specifically, the reactive power compensation controller determines the operation information of each target compensation module according to the first state return frame of the target compensation module, and generates a switching frame for the target compensation module according to the operation information of the target compensation module. Optionally, the operation information may include the power of the capacitor of the corresponding target compensation module, the operation current of the corresponding target compensation module, the operation temperature of the corresponding target compensation module, the operation state of the corresponding target compensation module, the switching times of the corresponding target compensation module and the total input time of the corresponding target compensation module (the switching times and the total input time may be determined according to the current first state return frame of the corresponding target compensation module and the historical state return frame), and the embodiment of the present invention does not limit this.
[0033] 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.
[0034] 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 input, the compensation switch is turned on, and when the data content indicates removal, the compensation switch is turned off.
[0035] 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.
[0036] 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 power 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 of 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.
[0037] It can be seen that implementation Figure 1 The 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 contained in the scanning result through a touch device connected to the reactive compensation controller as a control basis for a wireless manual switching method, and can quickly and accurately implement 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, 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 according to 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 method, and then sends a corresponding to each target compensation module based on the wireless communication protocol. Switching frames are used to realize automatic switching control of each target compensation module by the reactive compensation controller. Based on the automatically generated switching frames, the reactive compensation controller can quickly and accurately realize wireless automatic switching control of the compensation module. The diversity and flexibility of the switching control methods of the reactive compensation controller on the compensation module can be improved by setting a touch device and a switching frame generation process. Then, according to the second state return frame for the switching operation sent by each target compensation module, the switching state of each target compensation module is determined (the switching state includes the switched-in state or the cut-off state). This can improve the accuracy and efficiency of the reactive compensation controller in obtaining the switching state of each target compensation module, thereby facilitating the subsequent switching control operation of the reactive compensation module to provide an accurate and reliable basis. In addition, this scheme can 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 in the wired driving mode by setting wireless communication between the reactive compensation controller and the compensation module to drive the switching.
[0038] In an optional embodiment, the reactive power compensation controller in step 103 above determines 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, which may include: 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 the current control strategy of the reactive power compensation controller according to the operation information of all compensation modules; and determines whether the current control strategy is used to indicate that the reactive power compensation controller has a preset switching control requirement for at least one compensation module; When it is determined 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 condition for switching control, wherein the target compensation module is a compensation module that has a switching control requirement; 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.
[0039] 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 a switching control requirement for the first-category compensation module set, and determining that the reactive compensation controller does not have a switching control requirement for the second-category compensation module set are used as the current control strategy of the reactive compensation controller.
[0040] 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 according to the operating information of all compensation modules; then determine 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 determined 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 determined 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.
[0041] Embodiment 2 See also Figure 2 , Figure 21 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 reactive power compensation controller switching control method based on wireless communication can be applied to a reactive power compensation controller, which 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, which is not limited in the embodiments 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: 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.
[0042] In the embodiment of the present invention, the status information includes online information or offline information.
[0043] 202. The reactive power compensation controller selects, from all the compensation modules, all compensation modules whose status information is online information according to the status information of all the compensation modules.
[0044] 203. The reactive power compensation controller regards 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 sequence.
[0045] 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 the 16 online compensation modules can be scanned, one compensation module at a time, and one compensation module is only scanned once in one cycle.
[0046] 204. The reactive power compensation controller scans each compensation module in turn based on a preset wireless communication protocol and a slave scanning sequence to obtain a scanning result.
[0047] In the embodiment of the present invention, the scanning result may include a result that the reactive power compensation controller receives a frame returned by the corresponding compensation module, or a result that the reactive power compensation controller does not receive a frame returned by the corresponding compensation module.
[0048] 205. The reactive power compensation controller displays 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.
[0049] 206. The reactive power compensation controller determines 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.
[0050] 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 to be executed; 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, this process can be ended, or step 204 can be continued to be executed, such as Figure 2 As shown, Figure 2 Take continuing to execute step 204 as an example.
[0051] 207. The reactive power compensation controller stops executing 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.
[0052] 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.
[0053] 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.
[0054] In the embodiment of the present invention, for other descriptions of step 201 to step 209, please refer to the detailed description of step 101 to step 106 in the first embodiment, and the embodiment of the present invention will not be repeated.
[0055] 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 contained in the scanning result through a touch device connected to the reactive compensation controller as a control basis for a wireless manual switching method, and can quickly and accurately implement 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, 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 according to 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 method, and then sends a corresponding to each target compensation module based on the wireless communication protocol. Switching frames are used to realize automatic switching control of each target compensation module by the reactive compensation controller. Based on the automatically generated switching frames, the reactive compensation controller can quickly and accurately realize wireless automatic switching control of the compensation module. The diversity and flexibility of the switching control methods of the reactive compensation controller on the compensation module can be improved by setting a touch device and a switching frame generation process. Then, according to the second state return frame for the switching operation sent by each target compensation module, the switching state of each target compensation module is determined (the switching state includes the switched-in state or the cut-off state). This can improve the accuracy and efficiency of the reactive compensation controller in obtaining the switching state of each target compensation module, thereby facilitating the subsequent switching control operation of the reactive compensation module to provide an accurate and reliable basis. In addition, this scheme can 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 in the wired driving mode by setting wireless communication between the reactive compensation controller and the compensation module to drive the switching. 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 according to the status information of all compensation modules. Then, 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 order, thereby improving the accuracy and reliability of determining the slave scanning order used as the basis for scanning. Then, based on the wireless communication protocol, each compensation module is scanned in turn according to the slave scanning order to obtain a scanning result, thereby improving the accuracy and reliability of scanning all compensation modules.
[0056] In an optional embodiment, after the reactive power compensation controller in step 204 scans each compensation module in turn based on a preset wireless communication protocol and a slave scanning sequence to obtain a scanning result, the method may further include: For each compensation module, the reactive power compensation controller determines whether a first state return frame sent by the compensation module is received; and when it is determined that the first state return frame sent by the compensation module is received, the reactive power compensation controller is triggered to perform an operation of determining 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; When it is determined that the first state return frame sent by the compensation module is not received, the reactive power compensation controller marks the compensation module as scanning abnormal information, and re-executes the operation based on the preset wireless communication protocol to scan all compensation modules and obtain the scanning result; The reactive power compensation controller detects the marking information of all compensation modules, and determines whether the current condition of the slave scanning sequence meets the preset update condition according to the marking information of all 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 marking information of all compensation modules.
[0057] In an embodiment of the present invention, optionally, marking information can be used to indicate marking information of a scanning result of a corresponding compensation module during a current scan by the reactive compensation controller. Specifically, when the reactive compensation controller receives a first state return frame of a compensation module during a certain scanning process, the reactive compensation controller may not mark the compensation module during this scanning process, that is, the marking information of the compensation module during this scanning process is empty; when the reactive compensation controller does not receive a first state return frame of a compensation module during a certain scanning process, the reactive compensation controller may mark the compensation module during this scanning process as scanning abnormality information, that is, the marking information of the compensation module during this scanning process is scanning abnormality information, which is not limited by the embodiment of the present invention.
[0058] Specifically, the update condition is used to indicate that the marking information of at least one compensation module indicated by the slave scanning sequence is all scanning abnormality information within a preset continuous scanning number. Specifically, for the abnormal compensation module whose marking information is all scanning abnormality information within the continuous scanning number, the sequence number of the abnormal compensation module is deleted from all scanning orders of the above-mentioned slave scanning sequence to complete the update of the slave scanning sequence.
[0059] It can be seen that this optional embodiment can 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 execute 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 abnormal information, and re-executes the preset wireless communication protocol for all compensation modules. A compensation module is scanned to obtain a scanning result, and then the marking information of all the compensation modules is detected, and based on the marking information of all the compensation modules, it is judged whether the current condition of the slave scanning sequence meets the preset update condition; when it is judged 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. By setting a marking information judgment process based on multiple scans, the situation in which the reactive compensation controller directly determines that the compensation module communication is abnormal due to a delayed response of a certain module during a certain scan can be reduced, and the accuracy and reliability of updating the slave scanning sequence can be improved when the existence of an abnormal compensation module is accurately determined.
[0060] In this optional embodiment, as an optional implementation mode, the reactive power compensation controller determines whether the current condition of the slave scanning sequence meets the preset update condition according to the marking information of all compensation modules, which may include: The reactive power compensation controller determines, according to the marking information of all the compensation modules, whether there is at least one abnormal compensation module among all the compensation modules whose marking information is scanning abnormal information within a preset continuous scanning number; When it is determined that there is at least one abnormal compensation module whose marking information is 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 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.
[0061] In an embodiment of the present invention, optionally, the preset number of continuous scans may be 5 times, or 6 times, or any other set value, wherein the number of continuous scans may be input by an operator to the reactive compensation controller through a touch device, or may be input by an operator when setting the scanning program of the reactive compensation controller, and the embodiment of the present invention does not limit this.
[0062] It can be seen that this optional implementation mode can determine whether there is at least one abnormal compensation module among all the compensation modules according to the marking information of all the compensation modules through the reactive compensation controller, and the marking information of all the compensation modules is scanning abnormality information within the preset continuous scanning times. When it is determined that there is at least one abnormal compensation module whose marking information is scanning abnormality information within the continuous scanning 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 modules 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 marking information of each compensation module is not scanning abnormality information for at least one time within the continuous scanning 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 modules does not meet the update condition.
[0063] In another optional embodiment, the reactive power compensation controller in step 204 scans each compensation module in turn based on a preset wireless communication protocol and a slave scanning sequence to obtain a scanning result, which may include: 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 the scanning result.
[0064] 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.
[0065] 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 order and the data reading instructions for each compensation module to achieve scanning of each compensation module and obtain scanning results. This 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 order.
[0066] In yet another optional embodiment, the method may further include: For each target compensation module, the reactive power compensation controller determines whether a second state return frame for switching operation sent by the target compensation module is received; and when it is determined that the second state return frame sent by the target compensation module is received, the reactive power compensation controller is triggered to perform an operation of determining the switching state of each target compensation module according to the second state return frame for 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 a scanning operation next time.
[0067] For example, when the reactive power compensation controller does not receive the second state return frame sent by a compensation module, it will continue to send the switching command to the compensation module for up to 50 times (the command is sent through the wireless communication method of the switching frame). When the second state 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.
[0068] 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 the operation of determining 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; 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 based on 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 compensation controller on each target compensation module, Until the number of continuous sending times reaches the preset number of continuous sending times; when the second state return frame sent by the target compensation module is not received within the preset number of continuous sending times, the target compensation module is marked as a faulty module information, and the faulty module information is used as a basis for determining the slave scanning order when the reactive power 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 a switching command is sent to a certain target compensation module for multiple consecutive times and no second state return frame is received. By setting a fault marking process based on multiple sending of switching commands, it can reduce the situation where the reactive power compensation controller directly determines 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 the presence of a faulty compensation module is accurately determined.
[0069] Embodiment 3 See also Figure 3 , Figure 3 1 is a schematic diagram of a switching control device of a reactive power compensation controller 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: 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, wherein each compensation module includes at least a capacitor; 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; A judgment module 303 is used 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; The stop module 304 is used 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; A generating module 305 is used 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; The sending module 306 is used to send a corresponding switching frame to each target compensation module based on a wireless communication protocol, so as to realize automatic switching control of each target compensation module by the reactive power compensation controller; The determination module 307 is used 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, and the switching state includes an engaged state or a removed state.
[0070] It can be seen that implementation Figure 3The reactive compensation controller described 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 contained in the scanning result through a touch device connected to the reactive compensation controller as a control basis for a wireless manual switching method, and can quickly and accurately implement 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, 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 according to 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 method, and then sends a corresponding switching frame to each target compensation module based on the wireless communication protocol to implement The reactive compensation controller can automatically switch on and off each target compensation module, and can quickly and accurately realize the wireless automatic switching control of the reactive compensation controller on the compensation module based on the automatically generated switching frame, and can improve the diversity and flexibility of the switching control mode of the reactive compensation controller on the compensation module by setting a touch device and a switching frame generation process; and then 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 (the switching state includes the switched-on state or the cut-off state), which can improve the accuracy and efficiency of the reactive compensation controller in obtaining the switching state of each target compensation module, thereby facilitating the subsequent switching control operation of the reactive compensation module to provide an accurate and reliable basis, and this scheme can 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 in the wired driving mode by setting wireless communication between the reactive compensation controller and the compensation module to drive the switching.
[0071] In an optional embodiment, the scanning module 301 scans all compensation modules based on a preset wireless communication protocol, and the method of obtaining the scanning result may specifically include: Obtaining an initial serial number of each compensation module and status information of the compensation module, where the status information includes online information or offline information; According to the status information of all compensation modules, all compensation modules whose status information is online information are selected from all compensation modules; 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; Based on the preset wireless communication protocol and according to the slave scanning sequence, each compensation module is scanned in turn to obtain the scanning result.
[0072] 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 whose status information is online information from all compensation modules according to the status information of all compensation modules, and then use all compensation modules whose status information is online information as slaves, and sort all slaves according to the initial serial numbers of all slaves to obtain a slave scanning order, thereby improving the accuracy and reliability of determining the slave scanning order used as the basis for scanning, and then based on the wireless communication protocol, each compensation module is scanned in turn according to the slave scanning order to obtain the scanning result, which can improve the accuracy and reliability of scanning all compensation modules.
[0073] In this optional embodiment, as an optional implementation, the judgment module 303 is also used to, when the scanning module 301 scans each compensation module in turn based on the preset wireless communication protocol and the slave scanning order, and after obtaining the scanning result, for each compensation module, determine whether the first state return frame sent by the compensation module is received; and when it is determined that the first state return frame sent by the compensation module is received, trigger the scanning module 301 to perform the operation of determining 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. And, if Figure 4 As shown, Figure 4 is a structural schematic 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 also include: 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 state return frame sent by the compensation module is not received, and trigger the scanning module 301 to re-execute the operation based on the preset wireless communication protocol to scan all compensation modules and obtain the scanning result.
[0074] The detection module 309 is used to detect the marking information of all compensation modules.
[0075] The judgment module 303 is further used to judge whether the current condition of the slave scanning sequence meets the preset update condition according to the marking information of all compensation modules.
[0076] The updating module 310 is used 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.
[0077] It can be seen that implementation Figure 4The 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 execute 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 abnormal information, and re-executes the preset wireless communication protocol for all The compensation module is scanned to obtain the scanning result, and then the marking information of all the compensation modules is detected, and according to the marking information of all the compensation modules, whether the current condition of the slave scanning sequence meets the preset update condition is judged; when it is judged 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. By setting the marking 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 the delayed response of a certain module during a certain scan can be reduced, and the accuracy and reliability of updating the slave scanning sequence can be improved when the abnormal compensation module is accurately determined.
[0078] In this optional implementation, the judgment module 303 may judge whether the current condition of the slave scanning sequence meets the preset update condition according to the marking information of all compensation modules, which may specifically include: 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 scanning abnormal 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 scanning abnormal information within the continuous scanning times, determining that the current condition of the slave scanning sequence meets the preset update condition; 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.
[0079] It can be seen that this optional implementation mode can also determine whether there is at least one abnormal compensation module among all the compensation modules according to the marking information of all the compensation modules through the reactive compensation controller, and when it is determined that there is at least one abnormal compensation module whose marking information is scanning abnormality information within the preset continuous scanning 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 modules 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 marking information of each compensation module is not scanning abnormality information for at least one time within the continuous scanning 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 modules does not meet the update condition.
[0080] In this optional embodiment, as an optional implementation, the scanning module 301 scans each compensation module in turn based on a preset wireless communication protocol and according to the slave scanning order, and the method of obtaining the scanning result may specifically include: Based on a preset wireless communication protocol, generating a data reading instruction for each compensation module; According to the scanning sequence of the slave machine 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.
[0081] It can be seen that this optional implementation 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 order and the data reading instructions for each compensation module to achieve scanning of each compensation module and obtain scanning results. This 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 order.
[0082] In another optional embodiment, the judging module 303 is further used to judge, for each target compensation module, whether a second state return frame for switching operation sent by the target compensation module is received; and when the judging module 303 judges that the second state return frame sent by the target compensation module is received, the determining module 307 is triggered to perform an operation of determining the switching state of each target compensation module according to the second state return frame for switching operation sent by each target compensation module; When the judgment module 303 determines that the second state return frame sent by the target compensation module is not received, the corresponding switching frame is sent to each target compensation module based on the wireless communication protocol again to realize the automatic switching control operation of the reactive power compensation controller on each target compensation module until the continuous sending number reaches the preset continuous sending number. And, Figure 4 As shown, the reactive power compensation controller also includes: The second marking module 311 is used to mark the target compensation module as faulty module information 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.
[0083] 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 the operation of determining 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; 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 based on 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 compensation controller on each target compensation module, Until the number of continuous sending times reaches the preset number of continuous sending times; when the second state return frame sent by the target compensation module is not received within the preset number of continuous sending times, the target compensation module is marked as a faulty module information, and the faulty module information is used as a basis for determining the slave scanning order when the reactive power 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 a switching command is sent to a certain target compensation module for multiple consecutive times and no second state return frame is received. By setting a fault marking process based on multiple sending of switching commands, it can reduce the situation where the reactive power compensation controller directly determines 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 the presence of a faulty compensation module is accurately determined.
[0084] 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 according to the first state return frame of each compensation module, which may specifically include: Analyzing the operation information of each compensation module according to the first state return frame of each compensation module; Determine the current control strategy of the reactive power compensation controller according to the operation information of all compensation modules; and judge whether the current control strategy is used to indicate that the reactive power compensation controller has a preset switching control requirement for at least one compensation module; When it is determined that the current control strategy is used to indicate that the reactive power compensation controller has a switching control requirement for at least one compensation module, it is determined that there is at least one target compensation module that meets the target condition for switching control, wherein the target compensation module is a compensation module that has a switching control requirement; 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.
[0085] 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 according to the operating information of all compensation modules; then determine 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 determined 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 determined 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.
[0086] Embodiment 4 See also Figure 5 , Figure 5 1 is a schematic diagram of the structure 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 power compensation controller switching control device based on wireless communication may include: A memory 401 storing executable program codes; a processor 402 coupled to the memory 401; The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the switching control method of the reactive power compensation controller based on wireless communication described in the first embodiment of the present invention or the second embodiment of the present invention.
[0087] Embodiment 5 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 in the switching control method of reactive compensation controller based on wireless communication described in Embodiment 1 or Embodiment 2 of the present invention.
[0088] Embodiment 6 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 in the reactive compensation controller switching control method based on wireless communication described in Example 1 or Example 2.
[0089] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0090] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes 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 rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0091] 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 discloses only 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, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the 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, 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, 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, and each of the compensation modules at least includes a capacitor; The reactive power 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 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 condition 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 the target compensation module according to the first state return frame of each target compensation module as a control basis for the wireless automatic switching mode; The reactive power compensation controller sends a corresponding switching frame to each of the target compensation modules based on the wireless communication protocol, so as to realize automatic switching control of each of the target compensation modules 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, and the switching state includes an switched-on state or a switched-off state.
2. The switching control method of reactive power compensation controller based on wireless communication according to claim 1, characterized in that: 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 regards all compensation modules whose status information is the online information as slaves, and sorts all the slaves according to the initial sequence numbers of all the slaves to obtain a slave scanning sequence; The reactive power compensation controller scans each of the compensation modules in turn based on a preset wireless communication protocol and according to the slave scanning sequence to obtain a scanning result.
3. The switching control method of reactive power compensation controller based on wireless communication according to claim 2, characterized in that: After the reactive power compensation controller scans each compensation module in turn based on a preset wireless communication protocol and according to the slave scanning sequence to obtain a scanning result, the method further includes: For each of the compensation modules, the reactive power compensation controller determines whether a first state return frame sent by the compensation module is received; and when it is determined that the first state return frame sent by the compensation module is 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 condition for switching control according to the first state return frame of each of the compensation modules; When it is determined that the first state return frame sent by the compensation module is not received, the reactive power compensation controller marks the compensation module as scanning abnormal information, and re-executes the operation based on the preset wireless communication protocol to scan all the compensation modules to obtain the scanning result; The reactive power compensation controller detects the marking 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 marking 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 marking information of all the compensation modules.
4. The switching control method of reactive power compensation controller based on wireless communication according to claim 3 is characterized in that: The reactive power compensation controller determines whether the current condition of the slave scanning sequence meets the preset update condition according to the marking information of all the compensation modules, including: The reactive power compensation controller determines, according to the marking information of all the compensation modules, whether there is at least one abnormal compensation module among all the compensation modules whose marking information is all the scanning abnormal 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.
5. The switching control method of reactive power compensation controller based on wireless communication according to any one of claims 2 to 4, characterized in that: The reactive power compensation controller scans each compensation module in turn 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 the scanning result.
6. The switching control method of reactive power compensation controller based on wireless communication according to claim 5, characterized in that: The method further comprises: For each of the target compensation modules, the reactive power compensation controller determines whether a second state return frame for switching operation sent by the target compensation module is received; and when it is determined that the second state return frame sent by the target compensation module is received, the reactive power compensation controller is triggered to execute the operation of determining the switching state of each of the target compensation modules according to the second state return frame for switching operation sent by each of the target compensation modules; 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 continuous sending number reaches the preset continuous sending number; 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.
7. The switching control method of reactive power compensation controller based on wireless communication according to any one of claims 1, 2, 3, 4 and 6, characterized in that: The reactive power compensation controller determines 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, 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 compensation controller determines a current control strategy of the reactive compensation controller according to the operation information of all the compensation modules; and determines whether the current control strategy is used to indicate that the reactive 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 is used to indicate that the reactive compensation controller has the switching control requirement for at least one of the compensation modules, the reactive 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 a 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.
8. 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, and the device includes: A scanning module, used for scanning all the compensation modules based on a preset wireless communication protocol when the reactive power compensation controller is powered on, to obtain a scanning result, wherein each compensation module includes at least a capacitor; A display module, used for displaying 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 the wireless manual switching mode; A judging 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 stop module, configured to control the scanning module to stop performing the scanning operation when the judging module judges that there is at least one target compensation module that meets the target condition; A generating module, used 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, used for sending a corresponding switching frame to each of the target compensation modules based on the wireless communication protocol, so as to realize automatic switching control of each of the target compensation modules by the reactive power compensation controller; The determination module is used 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, and the switching state includes an engaged state or a removed state.
9. 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 as described in any one of claims 1-7.
10. 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 power compensation controller based on wireless communication as described in any one of claims 1-7.
Citation Information
Patent Citations
Intelligent monitor used for intelligent capacitor group
CN105098978A
New type low voltage smart reactive power compensator
CN105914757A
Reactive power compensation control system and control method of reactive power compensation device
CN108123457A
Intelligent capacitor switching composite switch and switching control method
CN108539754A
Communication-type intelligent reactive power compensation controller and switching method thereof
CN108832637A