Voltage regulation method and device of unit and storage medium

By using a dual-channel redundant design in the unit, the target terminal voltage value is determined according to the channel state, and the problem of determining the number of single channel messages is solved, achieving the accuracy and stability of voltage regulation.

CN119482502APending Publication Date: 2025-02-18STATE GRID BEIJING ELECTRIC POWER CO +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411504241.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

During the voltage regulation process of the unit, the prior art usually determines whether to receive messages from a single channel based on the number of messages in a single channel, resulting in the inaccurate transmission of packets from a certain channel, resulting in the problem of inaccurate voltage regulation. .

Method used

By establishing independent first and second channels in the unit, the terminal receiving terminal voltage values ​​transmitted by the controller through these two channels are adjusted and formed into a data queue respectively. According to the number of messages and the difference amount of each channel, the channel state is determined, thereby determining the target terminal voltage value with a confidence level higher than a preset threshold for voltage regulation.

Benefits of technology

It realizes timely detection and handling of channel transmission abnormalities, ensures the accuracy of voltage regulation, improves the operating stability and efficiency of the unit, reduces the adverse effects on the power grid, and improves the quality of wind power grid connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119482502A_ABST
    Figure CN119482502A_ABST
Patent Text Reader

Abstract

The invention discloses a voltage regulation method and device of a unit and a storage medium, and relates to the field of unit control. The method comprises the following steps: adjusting terminal voltage values sent by a terminal receiving controller through a first channel and a second channel; the adjusting terminal forms a first data queue by the generator terminal voltage values belonging to the generator set and acquired from the first channel; forming a second data queue by the generator terminal voltage values belonging to the generator set and acquired from the second channel; determining the channel state of each channel according to the number of messages in the first data queue and the number of messages in the second data queue; determining a target terminal voltage value from the first data queue and / or the second data queue according to the channel state of each channel; and adjusting the voltage of the unit according to the target terminal voltage value. The technical problem that message transmission abnormity of a certain channel cannot be found in time in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology and the field of unit control, and in particular to a method, device and storage medium for voltage regulation of a unit. Background Art

[0002] With the large-scale development of wind power, in order to meet the requirements of the power grid for wind power access, necessary wind power voltage regulation should be carried out when the wind farm is connected to the power grid. Among them, the unit, as the smallest unit of the wind farm, is the key to wind power voltage regulation.

[0003] At present, there are two ways to implement wind power voltage regulation: one is machine-end voltage regulation. No matter which control strategy is adopted, the machine-end voltage is the direct object of control; the other is field-end voltage regulation. The field-end voltage is adjusted by controlling the reactive power of the wind farm connected to the power grid, thereby indirectly adjusting the machine-end voltage.

[0004] Regardless of the control method, the voltage value needs to be sent to the adjustment terminal through the controller, which can be communicated by wired or wireless means. Among them, the wired communication method generally uses RS485 / Ethernet for communication, and its advantage is that the channel performance is stable and reliable; the wireless communication method generally uses UWB or wireless data transmission radio for communication, and its advantage is that the communication equipment is simple and cheap. However, due to the limitations of wired channels, wind power voltage regulation currently still mainly uses wireless communication to send the machine-end voltage value to the adjustment terminal, thereby realizing wind power voltage regulation. The advantage of wireless communication is that the communication equipment is simple and cheap, but the disadvantage is that its reliability and stability are poor.

[0005] Although the prior art provides a dual-channel communication method, in the process of voltage regulation of the unit, it is usually determined whether to receive the message of a single channel based on the number of messages in the channel. This method will result in the inability to timely discover the abnormal message transmission of a certain channel, thereby causing the problem of inaccurate voltage regulation. For example, by comparing the size of the number of messages in a pair of wireless communication channels, if the machine-end voltage value transmitted by the channel with a larger number of messages is received, once an abnormal situation occurs in which the controller repeatedly transmits the same message, the repeatedly transmitted message will be received, forming a defect of incorrect rules in the future; if the machine-end voltage value transmitted by the channel with a smaller number of messages is received, once an abnormal situation occurs in which some messages are lost during the channel transmission process, the machine-end voltage value will be less, which will also form a defect of incorrect rules in the future; if it is stipulated that messages can only be received when the number of messages in a pair of channels is equal, once the machine-end voltage value transmitted by any channel is abnormal, the messages of both channels cannot be received normally.

[0006] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0007] The embodiments of the present application provide a voltage regulation method, device and storage medium for a unit, so as to at least solve the technical problem in the prior art that, during the voltage regulation process of the unit, whether to receive the message of a single channel is usually determined based on the number of messages on the channel, resulting in the inability to timely detect the message transmission abnormality of a certain channel, causing inaccurate voltage regulation.

[0008] According to one aspect of an embodiment of the present application, a voltage regulation method for a unit is provided, which is applied to the unit, wherein the unit includes a controller and a regulation terminal, and a first channel and a second channel independent of each other are established between the controller and the regulation terminal. The voltage regulation method for the unit includes: the regulation terminal receives a machine-end voltage value sent by the controller through the first channel and the second channel; the regulation terminal composes a first data queue with the machine-end voltage values ​​belonging to the unit obtained from the first channel; and composes a second data queue with the machine-end voltage values ​​belonging to the unit obtained from the second channel; the channel state of each channel is determined according to the number of messages in the first data queue and the number of messages in the second data queue; the target machine-end voltage value is determined from the first data queue and / or the second data queue according to the channel state of each channel, wherein the target machine-end voltage value is a message with a confidence level higher than a preset threshold; and the voltage of the unit is regulated according to the target machine-end voltage value.

[0009] Optionally, the channel state of each channel is determined based on the number of messages in the first data queue and the number of messages in the second data queue, including: when it is detected that the number of messages in the first data queue is greater than the number of messages in the second data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value, determining that the second channel is in an abnormal state and the first channel is in a normal state; when it is detected that the number of messages in the second data queue is greater than the number of messages in the first data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value, determining that the first channel is in an abnormal state and the second channel is in a normal state; when it is detected that the message difference between the first data queue and the second data queue is less than or equal to a preset critical value, determining that both the first channel and the second channel are in normal states.

[0010] Optionally, according to the channel status of each channel, a target machine-end voltage value is determined from the first data queue and / or the second data queue, including: when it is determined that the first channel is in an abnormal state and the second channel is in a normal state, the machine-end voltage value in the second data queue is used as the target machine-end voltage value; when it is determined that the first channel is in a normal state and the second channel is in an abnormal state, the machine-end voltage value in the first data queue is used as the target machine-end voltage value; when it is determined that both the first channel and the second channel are in a normal state, detecting whether the channel identification code of the machine-end voltage value in each data queue is the same as the to-be-received code of the machine-end voltage value, and obtaining a detection result, wherein the channel identification code of each machine-end voltage value is a serial number assigned by the controller to the machine-end voltage value, and the to-be-received code of each machine-end voltage value is a serial number assigned by the adjustment terminal to the machine-end voltage value; according to the detection result, the target machine-end voltage value is determined from the first data queue and the second data queue.

[0011] Optionally, according to the detection results, the target machine-end voltage value is determined from the first data queue and the second data queue, including: determining the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue according to the detection results, wherein the channel identification code of the first type of machine-end voltage value is equal to the to-be-received code; the channel identification code of the second type of machine-end voltage value is less than the to-be-received code; the channel identification code of the third type of machine-end voltage value is greater than the to-be-received code; and determining the target machine-end voltage value from the first data queue and the second data queue according to the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue.

[0012] Optionally, based on the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue, the target machine-end voltage value is determined from the first data queue and the second data queue, including: taking the first type of machine-end voltage value in the first data queue as the target machine-end voltage value; taking the channel identification code of the first type of machine-end voltage value in the first data queue as the first type of code; and deleting the machine-end voltage value carrying the first type of code in the second data queue.

[0013] Optionally, based on the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue, the target machine-end voltage value is determined from the first data queue and the second data queue, including: using the channel identification code of the second type of machine-end voltage value in the first data queue as the second type of code; using the channel identification code of the third type of machine-end voltage value in the first data queue as the third type of code; detecting whether the i-th machine-end voltage value carrying the second type of code or the third type of code in the second data queue is the first type of machine-end voltage value in the second data queue, where i is a positive integer; and determining that the i-th machine-end voltage value is the target machine-end voltage value when it is detected that the i-th machine-end voltage value is the first type of machine-end voltage value in the second data queue.

[0014] Optionally, based on the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue, a target machine-end voltage value is determined from the first data queue and the second data queue, including: when it is detected that the machine-end voltage value carrying the third type of code in the second data queue is not the first type of machine-end voltage value in the second data queue, detecting whether the machine-end voltage value carrying the third type of code in the second data queue is the third type of machine-end voltage value in the second data queue; when it is detected that the machine-end voltage value carrying the third type of code in the second data queue belongs to the third type of machine-end voltage value in the second data queue, after waiting for the adjustment terminal to increase the allocated number of codes to be received, determining whether the machine-end voltage value carrying the third type of code in the second data queue is updated to the first type of machine-end voltage value according to the newly allocated codes to be received; when it is determined that the machine-end voltage value carrying the third type of code in the second data queue is updated to the first type of machine-end voltage value, taking the machine-end voltage value updated to the first type of machine-end voltage value as the target machine-end voltage value.

[0015] Optionally, according to the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue, the target machine-end voltage value is determined from the first data queue and the second data queue, including: detecting whether the number of messages in the first channel and the number of messages in the second channel are equal; if the number of messages in the first channel and the number of messages in the second channel are not equal, taking the channel with the least number of messages as the target channel; if the number of messages in the first channel and the number of messages in the second channel are equal, selecting any one channel as the target channel; and determining, according to the number of messages in the target channel, the number of messages that need to be detected each time the target machine-end voltage value is determined.

[0016] According to another aspect of the present application, according to a voltage regulation device of a unit, applied to the unit, the unit includes a controller and a regulation terminal, and a first channel and a second channel independent of each other are established between the controller and the regulation terminal. The voltage regulation device of the unit includes: a first processing unit, used for regulating the terminal to receive the machine-end voltage value sent by the controller through the first channel and the second channel; a second processing unit, used for the regulating terminal to form a first data queue with the machine-end voltage value belonging to the unit obtained from the first channel; and to form a second data queue with the machine-end voltage value belonging to the unit obtained from the second channel; a first determination unit, used to determine the channel state of each channel according to the number of messages in the first data queue and the number of messages in the second data queue; a second determination unit, used to determine the target machine-end voltage value from the first data queue and / or the second data queue according to the channel state of each channel, wherein the target machine-end voltage value is a message with a confidence level higher than a preset threshold; and an adjustment unit, used to adjust the voltage of the unit according to the target machine-end voltage value.

[0017] According to another aspect of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, wherein when the computer program is executed, the device where the computer-readable storage medium is located executes the above-mentioned voltage regulation method of the unit.

[0018] Through the unit voltage regulation method, device and storage medium provided by the present application, it is possible to timely discover and handle channel transmission anomalies, thereby ensuring the accuracy of voltage regulation. In practical applications, this method can significantly improve the operating stability and efficiency of the unit, avoid inaccurate voltage regulation caused by channel anomalies, thereby reducing adverse effects on the power grid and improving the quality of wind power grid connection. At the same time, through the redundant design of dual channels, the robustness and reliability of the system are enhanced, providing a guarantee for the long-term stable operation of the unit, thereby solving the technical problem that in the voltage regulation process of the unit in the prior art, since it is usually determined based on the number of messages on a single channel whether to receive the message of the channel, it is impossible to timely discover the message transmission anomaly of a certain channel, resulting in inaccurate voltage regulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 is a flow chart of a voltage regulation method for a generator set according to an embodiment of the present application;

[0021] Figure 2 is a schematic diagram of a voltage regulating device of a unit according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] It should also be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) collected by this application are information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation portals are provided for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0025] According to an embodiment of the present application, an embodiment of a voltage regulation method for a unit is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] Figure 1 is a flow chart of a voltage regulation method for a generator set according to an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0027] Step S101, adjusting the terminal receiving voltage value sent by the controller through the first channel and the second channel.

[0028] Optionally, the voltage regulation method of a unit in the present application can be applied to a unit, wherein the unit includes a controller and a regulation terminal, and a first channel and a second channel independent of each other are established between the controller and the regulation terminal.

[0029] Optionally, the controller can be connected to a voltage sensor, wherein the voltage sensor collects the machine-end voltage value of the unit and transmits the collected machine-end voltage value to the controller. The controller transmits the transmitted machine-end voltage value of the unit to the regulation terminal. The regulation terminal finally fully utilizes the decoupling control characteristics of the active power and reactive power of the doubly fed unit based on the transmitted machine-end voltage value of the unit, thereby achieving dynamic regulation of the voltage of the doubly fed wind farm.

[0030] Optionally, the controller may be a single chip microcomputer or a PLC, and the regulating terminal may be a server or a computer device.

[0031] Step S102: the regulating terminal forms a first data queue with the terminal voltage values ​​belonging to the group obtained from the first channel; and forms a second data queue with the terminal voltage values ​​belonging to the group obtained from the second channel.

[0032] Optionally, the first channel and the second channel can be a pair of WIFI channels. Compared with using a single channel for communication, using dual channels for communication can improve the communication security of the decoupling device of the reactive power distribution regulation unit. For example, assuming that one WIFI channel has an abnormality, another WIFI channel can be used to ensure normal communication.

[0033] Optionally, the controller transmits the terminal voltage value of the unit to the regulating terminal in the form of a message.

[0034] Optionally, the first channel and the second channel are used to transmit machine-end voltage values ​​of each category, and the adjustment terminal periodically receives the machine-end voltage values ​​(i.e., messages) in the first channel and the second channel, identifies the category of each message (i.e., which unit it belongs to), and then classifies the machine-end voltage values ​​of different categories in the channel into different channel queues.

[0035] For example, the machine-end voltage value belonging to category 1 in the first channel is sent to the channel 1 queue of the first channel, the machine-end voltage value belonging to category 2 in the first channel is sent to the channel 2 queue of the first channel...the machine-end voltage value belonging to category Y in the first channel is sent to the channel Y queue of the first channel; the machine-end voltage value belonging to category 1 in the second channel is sent to the channel 1 queue of the second channel, the machine-end voltage value belonging to category 2 in the second channel is sent to the channel 2 queue of the second channel...the machine-end voltage value belonging to category Y in the second channel is sent to the channel Y queue of the second channel.

[0036] Optionally, the units in step S102 are units of the same genus.

[0037] Step S103: determining the channel status of each channel according to the number of messages in the first data queue and the number of messages in the second data queue.

[0038] Optionally, if the first data queue and the second data queue are both in normal status, the number of messages in the first data queue and the number of messages in the second data queue should be the same. Therefore, based on this principle, the channel status of the first channel and the channel status of the second channel can be judged by comparing the difference in the number of messages between the first data queue and the second data queue.

[0039] Step S104: determining a target terminal voltage value from the first data queue and / or the second data queue according to the channel status of each channel.

[0040] In step S104, the target terminal voltage value is a message with a confidence level higher than a preset threshold.

[0041] Optionally, if an abnormality occurs in any channel, the message transmitted in the channel may also be abnormal, for example, the channel repeats sending some messages or misses sending some messages. On this basis, the adjustment terminal can determine the message (i.e., the target terminal voltage value) with a confidence level higher than a preset threshold from the first data queue and / or the second data queue according to the channel state of each channel, for example, filter the repeated messages and supplement the missed messages.

[0042] Step S105, adjusting the voltage of the unit according to the target unit-end voltage value.

[0043] Optionally, after determining the target machine-end voltage value, the regulating terminal may distribute active power and / or reactive power to the unit according to the target machine-end voltage value, thereby achieving voltage regulation of the unit based on the distributed active power and / or reactive power.

[0044] Based on the contents of the above steps S101 to S105, it can be known that the terminal receiving controller first adjusts the terminal voltage value sent by the first channel and the second channel, and then adjusts the terminal to form a first data queue with the terminal voltage value belonging to the group obtained from the first channel; and forms a second data queue with the terminal voltage value belonging to the group obtained from the second channel. Subsequently, the channel state of each channel is determined according to the number of messages in the first data queue and the number of messages in the second data queue; according to the channel state of each channel, the target terminal voltage value is determined from the first data queue and / or the second data queue, wherein the target terminal voltage value is a message with a confidence level higher than a preset threshold. Finally, the voltage of the group is adjusted according to the target terminal voltage value.

[0045] It can be seen from the above content that the unit voltage regulation method, device and storage medium provided by the present application can timely detect and handle channel transmission abnormalities, thereby ensuring the accuracy of voltage regulation. In practical applications, this method can significantly improve the operating stability and efficiency of the unit, avoid inaccurate voltage regulation caused by channel abnormalities, thereby reducing adverse effects on the power grid and improving the quality of wind power grid connection. At the same time, through the redundant design of dual channels, the robustness and reliability of the system are enhanced, providing a guarantee for the long-term stable operation of the unit, thereby solving the technical problem that in the voltage regulation process of the unit in the prior art, the abnormal transmission of the message of a certain channel cannot be detected in time, resulting in inaccurate voltage regulation, because it is usually determined based on the number of messages on a single channel.

[0046] In an optional embodiment, the channel state of each channel is determined according to the number of messages in the first data queue and the number of messages in the second data queue, including: when it is detected that the number of messages in the first data queue is greater than the number of messages in the second data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value, it is determined that the second channel is in an abnormal state and the first channel is in a normal state; when it is detected that the number of messages in the second data queue is greater than the number of messages in the first data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value, it is determined that the first channel is in an abnormal state and the second channel is in a normal state; when it is detected that the message difference between the first data queue and the second data queue is less than or equal to a preset critical value, it is determined that both the first channel and the second channel are in normal states.

[0047] Optionally, comparing the number of packets in the first data queue to be greater than the number of packets in the second data queue, possible comparison values ​​obtained include: a first comparison value, a second comparison value and a third comparison value.

[0048] The first comparison value indicates that the number of messages in the first data queue is greater than the number of messages in the second data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value. When the first comparison value is obtained, it can be determined that an abnormality has occurred in the second channel, and the second channel can be regarded as a suspicious channel.

[0049] Secondly, the second comparison value indicates that the number of messages in the second data queue is greater than the number of messages in the first data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value. When the second comparison value is obtained, it can be determined that an abnormality has occurred in the first channel, and the first channel can be regarded as a suspicious channel.

[0050] In addition, the third comparison value indicates that the message difference between the first data queue and the second data queue is less than a preset critical value. When the third comparison value is obtained, it can be determined that both the first channel and the second channel are in normal state.

[0051] It should be noted that this method can quickly identify the health status of the channel and provide an accurate data source for subsequent voltage regulation. It is particularly suitable for centralized control of large-scale units in wind farms and can effectively avoid unstable operation of the entire wind farm due to single point failures.

[0052] In an optional embodiment, according to the channel state of each channel, the target machine-end voltage value is determined from the first data queue and / or the second data queue, including: when it is determined that the first channel is in an abnormal state and the second channel is in a normal state, the machine-end voltage value in the second data queue is used as the target machine-end voltage value; when it is determined that the first channel is in a normal state and the second channel is in an abnormal state, the machine-end voltage value in the first data queue is used as the target machine-end voltage value; when it is determined that both the first channel and the second channel are in a normal state, the channel identification code of the machine-end voltage value in each data queue is detected to be the same as the waiting code of the machine-end voltage value, and the detection result is obtained, wherein the channel identification code of each machine-end voltage value is the serial number assigned by the controller to the machine-end voltage value, and the waiting code of each machine-end voltage value is the serial number assigned by the adjustment terminal to the machine-end voltage value. Finally, according to the detection result, the target machine-end voltage value is determined from the first data queue and the second data queue.

[0053] Optionally, after obtaining the first comparison value, it is determined that the second channel is in an abnormal state. At this time, all the machine-end voltage values ​​in the second data queue are taken out and discarded; the first channel is used as an independent trust channel, and all the machine-end voltage values ​​in the first data queue are taken out as target machine-end voltage values.

[0054] Optionally, after obtaining the second comparison value, it is determined that the first channel is in an abnormal state. At this time, all the machine-end voltage values ​​in the first data queue are taken out and discarded; the second channel is used as an independent trust channel, and all the machine-end voltage values ​​in the second data queue are taken out as the target machine-end voltage values.

[0055] Optionally, after obtaining the third comparison value, it is determined that the first channel and the second channel are both in a normal state. At this time, the machine-end voltage value is copied from the first data queue and the second data queue respectively, and the channel identification code of the machine-end voltage value is detected to see whether it is consistent with the code to be received, and the target machine-end voltage value is determined from the first data queue and the second data queue according to the detection result.

[0056] It should be noted that the present application can not only handle channel failures through the above method, but also further improve the accuracy of data through coding matching when the channel is normal. It is suitable for refined management of the unit and ensures accurate voltage regulation under any circumstances.

[0057] In an optional embodiment, according to the detection results, the target machine-end voltage value is determined from the first data queue and the second data queue, including: determining the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue according to the detection results, wherein the channel identification code of the first type of machine-end voltage value is equal to the to-be-received code; the channel identification code of the second type of machine-end voltage value is less than the to-be-received code; the channel identification code of the third type of machine-end voltage value is greater than the to-be-received code; and determining the target machine-end voltage value from the first data queue and the second data queue according to the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue.

[0058] Optionally, detecting whether the channel identification code of the terminal voltage value is consistent with the to-be-received code includes the following three detection results:

[0059] The first detection result is that if the channel identification code of a certain terminal voltage value is detected to be consistent with the code to be received, the terminal voltage value is determined to be a reasonable terminal voltage value (i.e., a first type of terminal voltage value);

[0060] The second detection result is that if the channel identification code of a certain terminal voltage value is detected to be less than the code to be received, the terminal voltage value is determined to be a message that is repeatedly transmitted (i.e., the second type of terminal voltage value);

[0061] The third detection result is that if the channel identification code of a certain terminal voltage value is greater than the code to be received, the terminal voltage value is determined to be a missing message (i.e., the third type of terminal voltage value), that is, the code to be received has not arrived, but a message with a higher code value has been sent. This situation is often caused by the channel missing the message. Among them, the code is the sequence number of the message.

[0062] It should be noted that by classifying and processing the voltage values ​​at the machine end, it is possible to effectively identify and handle problems such as data delay and loss, thereby ensuring the real-time and accuracy of voltage regulation. This is suitable for the operation control of the unit under extreme weather conditions, such as thunderstorms and strong winds, and ensures the stable operation of the unit in harsh environments.

[0063] In an optional embodiment, a target machine-end voltage value is determined from the first data queue and the second data queue based on the first-class machine-end voltage value, the second-class machine-end voltage value and the third-class machine-end voltage value in each data queue, including: taking the first-class machine-end voltage value in the first data queue as the target machine-end voltage value; taking the channel identification code of the first-class machine-end voltage value in the first data queue as the first-class code; and deleting the machine-end voltage value carrying the first-class code in the second data queue.

[0064] Optionally, for the reasonable terminal voltage value (i.e., the first type terminal voltage value) set in the first data queue, such terminal voltage value can be directly used as the target terminal voltage value. In addition, in order to receive the same terminal voltage value, the channel identification code of the first type terminal voltage value in the first data queue can also be used as the first type code, and then the terminal voltage value carrying the first type code in the second data queue is deleted.

[0065] It should be noted that this method can effectively avoid repeated data processing, improve the efficiency of voltage regulation, and is suitable for rapid response control of the unit. For example, in the grid fault recovery phase, it can quickly adjust the voltage of the unit to help the grid quickly restore stability.

[0066] In an optional embodiment, a target machine-end voltage value is determined from the first data queue and the second data queue based on the first machine-end voltage value, the second machine-end voltage value and the third machine-end voltage value in each data queue, including: using the channel identification code of the second machine-end voltage value in the first data queue as the second type of code; using the channel identification code of the third machine-end voltage value in the first data queue as the third type of code; detecting whether the i-th machine-end voltage value carrying the second type of code or the third type of code in the second data queue is the first type of machine-end voltage value in the second data queue, where i is a positive integer; and determining the i-th machine-end voltage value to be the target machine-end voltage value when it is detected that the i-th machine-end voltage value is the first type of machine-end voltage value in the second data queue.

[0067] Optionally, if a certain machine-end voltage value in the first data queue is a second-category machine-end voltage value or a third-category machine-end voltage value (i.e., a certain machine-end voltage value in the first data queue is a message marked as repeated transmission or a message marked as missing), the channel identification code of this machine-end voltage value is first obtained, and a machine-end voltage value that also carries the channel identification code is determined from the second data queue. If the machine-end voltage value carrying the channel identification code determined from the second data queue belongs to the first-category machine-end voltage value in the second data queue, the machine-end voltage value carrying the channel identification code determined from the second data queue is used as the target machine-end voltage value.

[0068] It should be noted that through the above-mentioned method of the present application, the advantages of dual channels can be fully utilized. Even when the data transmission is not completely synchronized, the accuracy of the data can be ensured through cross-validation. It is suitable for dynamic voltage regulation of the unit. For example, when the wind speed changes greatly, the machine-end voltage can be adjusted in a timely and accurate manner to maintain stable operation of the unit.

[0069] In an optional embodiment, a target machine-end voltage value is determined from the first data queue and the second data queue based on the first-category machine-end voltage value, the second-category machine-end voltage value and the third-category machine-end voltage value in each data queue, including: when it is detected that the machine-end voltage value carrying the third-category code in the second data queue is not the first-category machine-end voltage value in the second data queue, detecting whether the machine-end voltage value carrying the third-category code in the second data queue is the third-category machine-end voltage value in the second data queue; when it is detected that the machine-end voltage value carrying the third-category code in the second data queue belongs to the third-category machine-end voltage value in the second data queue, after waiting for the adjustment terminal to increase the allocated number of codes to be received, determining whether the machine-end voltage value carrying the third-category code in the second data queue is updated to the first-category machine-end voltage value based on the newly allocated codes to be received; when it is determined that the machine-end voltage value carrying the third-category code in the second data queue is updated to the first-category machine-end voltage value, using the machine-end voltage value updated to the first-category machine-end voltage value as the target machine-end voltage value.

[0070] Optionally, if a machine-end voltage value in the first data queue (assuming it is the machine-end voltage value X1, and the channel identification code of the machine-end voltage value X1 is L1) is determined to be a lost message (i.e., the third type of machine-end voltage value), and the machine-end voltage value Y1 carrying the channel identification code L1 in the second data queue is also a lost message, then it means that the to-be-received code corresponding to the channel identification code L1 has not received the corresponding message on a pair of channels. At this time, the to-be-received code corresponding to the channel identification code L1 can be increased, and the message receiving result about the channel identification code L1 is determined to be NULL. The adjustment terminal determines whether the machine-end voltage value carrying the channel identification code L1 in the second data queue is updated to the first type of machine-end voltage value based on the newly allocated to-be-received code. If the machine-end voltage value carrying the channel identification code L1 is updated to the first type of machine-end voltage value, the machine-end voltage value of L1 carrying the channel identification code in the second data queue is used as the target machine-end voltage value. If the machine-end voltage value carrying the channel identification code L1 is still the third type of machine-end voltage value, the to-be-received code corresponding to the channel identification code L1 continues to be increased, and the code comparison process continues.

[0071] It should be noted that through the dynamic adjustment of the received code, the delay problem of data transmission can be effectively handled, ensuring the real-time nature of voltage regulation. It is suitable for remote monitoring and regulation of the unit. For example, in the central control room of a wind farm, the voltage of the unit can be monitored and adjusted in real time, thereby improving the overall operating efficiency of the wind farm.

[0072] In an optional embodiment, a target machine-end voltage value is determined from the first data queue and the second data queue according to the first-category machine-end voltage value, the second-category machine-end voltage value and the third-category machine-end voltage value in each data queue, including: detecting whether the number of messages in the first channel and the number of messages in the second channel are equal; if the number of messages in the first channel and the number of messages in the second channel are not equal, taking the channel with the least number of messages as the target channel; if the number of messages in the first channel and the number of messages in the second channel are equal, selecting any one channel as the target channel; and determining, according to the number of messages in the target channel, the number of messages that need to be detected each time the target machine-end voltage value is determined.

[0073] Optionally, in the present application, if the number of messages in the first data queue is less than the number of messages in the second data queue, the number of messages in the first data queue is determined as the iteration number; if the number of messages in the second data queue is less than the number of messages in the first data queue, the number of messages in the second data queue is determined as the iteration number. The iteration number is the number of messages that need to be detected each time the target terminal voltage value is determined.

[0074] It should be noted that the above method can flexibly deal with the imbalance problem of channel transmission. By selecting the channel with the least number of messages as the target channel, the burden of data processing can be effectively reduced and the efficiency of voltage regulation can be improved. It is suitable for high-load operation of the unit, such as in seasons with abundant wind resources. It can ensure the stable operation of the unit under high power generation.

[0075] According to another aspect of the embodiment of the present application, a voltage regulating device of a unit is provided, which is applied to the unit. The unit includes a controller and a regulating terminal. A first channel and a second channel independent of each other are established between the controller and the regulating terminal. Figure 2 As shown, the voltage regulating device of the unit includes: a first processing unit 201 , a second processing unit 202 , a first determining unit 203 , a second determining unit 204 , and a regulating unit 205 .

[0076] The first processing unit 201 is used to adjust the terminal receiving controller to send the machine-end voltage value through the first channel and the second channel; the second processing unit 202 is used to adjust the terminal to form a first data queue with the machine-end voltage value belonging to the group obtained from the first channel; and to form a second data queue with the machine-end voltage value belonging to the group obtained from the second channel; the first determination unit 203 is used to determine the channel state of each channel according to the number of messages in the first data queue and the number of messages in the second data queue; the second determination unit 204 is used to determine the target machine-end voltage value from the first data queue and / or the second data queue according to the channel state of each channel, wherein the target machine-end voltage value is a message with a confidence level higher than a preset threshold; the adjustment unit 205 is used to adjust the voltage of the group according to the target machine-end voltage value.

[0077] Optionally, the first determination unit 203 includes: a first determination subunit, a second determination subunit, and a third determination subunit. The first determination subunit is used to determine that the second channel is in an abnormal state and the first channel is in a normal state when it is detected that the number of messages in the first data queue is greater than the number of messages in the second data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value; the second determination subunit is used to determine that the first channel is in an abnormal state and the second channel is in a normal state when it is detected that the number of messages in the second data queue is greater than the number of messages in the first data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value; the third determination subunit is used to determine that both the first channel and the second channel are in a normal state when it is detected that the message difference between the first data queue and the second data queue is less than or equal to a preset critical value.

[0078] Optionally, the second determination unit 204 includes: a first processing subunit, a second processing subunit, a first detection subunit, and a fourth determination subunit. The first processing subunit is used to use the terminal voltage value in the second data queue as the target terminal voltage value when it is determined that the first channel is in an abnormal state and the second channel is in a normal state; the second processing subunit is used to use the terminal voltage value in the first data queue as the target terminal voltage value when it is determined that the first channel is in a normal state and the second channel is in an abnormal state; the first detection subunit is used to detect whether the channel identification code of the terminal voltage value in each data queue is the same as the waiting code of the terminal voltage value when it is determined that both the first channel and the second channel are in a normal state, and obtain a detection result, wherein the channel identification code of each terminal voltage value is the serial number assigned by the controller to the terminal voltage value, and the waiting code of each terminal voltage value is the serial number assigned by the adjustment terminal to the terminal voltage value; the fourth determination subunit is used to determine the target terminal voltage value from the first data queue and the second data queue according to the detection result.

[0079] Optionally, the fourth determination subunit includes: a first determination module and a second determination module. The first determination module is used to determine the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue according to the detection result, wherein the channel identification code of the first type of machine-end voltage value is equal to the code to be received; the channel identification code of the second type of machine-end voltage value is less than the code to be received; the channel identification code of the third type of machine-end voltage value is greater than the code to be received; the second determination module is used to determine the target machine-end voltage value from the first data queue and the second data queue according to the first type of machine-end voltage value, the second type of machine-end voltage value and the third type of machine-end voltage value in each data queue.

[0080] Optionally, the second determination module includes: a first processing submodule, a second processing submodule, and a third processing submodule. The first processing submodule is used to use the first type of machine-side voltage value in the first data queue as the target machine-side voltage value; the second processing submodule is used to use the channel identification code of the first type of machine-side voltage value in the first data queue as the first type of code; and the third processing submodule is used to delete the machine-side voltage value carrying the first type of code in the second data queue.

[0081] Optionally, the second determination module includes: a fourth processing submodule, a fifth processing submodule, a first detection submodule, and a first determination submodule. The fourth processing submodule is used to use the channel identification code of the second type of machine-side voltage value in the first data queue as the second type of code; the fifth processing submodule is used to use the channel identification code of the third type of machine-side voltage value in the first data queue as the third type of code; the first detection submodule is used to detect whether the i-th machine-side voltage value carrying the second type of code or the third type of code in the second data queue is the first type of machine-side voltage value in the second data queue, wherein i is a positive integer; the first determination submodule is used to determine that the i-th machine-side voltage value is the target machine-side voltage value when the i-th machine-side voltage value is detected to be the first type of machine-side voltage value in the second data queue.

[0082] Optionally, the second determination module includes: a second detection submodule, a second determination submodule, and a third determination submodule. The second detection submodule is used to detect whether the machine-end voltage value carrying the third type of code in the second data queue is the third type of machine-end voltage value in the second data queue when it is detected that the machine-end voltage value carrying the third type of code in the second data queue is not the first type of machine-end voltage value in the second data queue; the second determination submodule is used to determine whether the machine-end voltage value carrying the third type of code in the second data queue is updated to the first type of machine-end voltage value according to the newly allocated code to be received after it is detected that the machine-end voltage value carrying the third type of code in the second data queue belongs to the third type of machine-end voltage value in the second data queue, according to the waiting adjustment terminal to increase the allocated number of codes to be received; the third determination submodule is used to use the machine-end voltage value updated to the first type of machine-end voltage value as the target machine-end voltage value when it is determined that the machine-end voltage value carrying the third type of code in the second data queue is updated to the first type of machine-end voltage value.

[0083] Optionally, the voltage regulating device of the unit further includes: a detection unit, a third processing unit, a fourth processing unit, and a third determination unit. The detection unit is used to detect whether the number of messages in the first channel is equal to the number of messages in the second channel; the third processing unit is used to use the channel with the least number of messages as the target channel if the number of messages in the first channel is not equal to the number of messages in the second channel; the fourth processing unit is used to select any one channel as the target channel if the number of messages in the first channel is equal to the number of messages in the second channel; the third determination unit is used to determine the number of messages that need to be detected each time the target machine-end voltage value is determined according to the number of messages in the target channel.

[0084] According to another aspect of the present application, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, wherein when the computer program is executed, the device where the computer-readable storage medium is located executes the above-mentioned voltage regulation method of the unit.

[0085] The above-mentioned embodiments or examples disclosed in the present application are not exhaustive, but are only illustrative of some embodiments or examples, and are not intended to be specific limitations on the scope of protection disclosed in the present application. In the absence of contradiction, each step in a certain embodiment or example in the present application can be implemented as an independent example, and the steps can be combined arbitrarily. For example, the scheme after removing some steps in a certain embodiment or example can also be implemented as an independent example, and the order of the steps in a certain embodiment or example can be arbitrarily exchanged. In addition, the optional methods or optional examples in a certain embodiment or example can be combined arbitrarily; in addition, the various embodiments or examples can be combined arbitrarily, for example, some or all steps of different embodiments or examples can be combined arbitrarily, and a certain embodiment or example can be combined arbitrarily with the optional methods or optional examples of other embodiments or examples.

[0086] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0087] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0088] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0089] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0090] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0091] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0092] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A voltage regulation method for a unit, characterized in that: Applied to a generator set, the generator set includes a controller and a regulating terminal, a first channel and a second channel independent of each other are established between the controller and the regulating terminal, and the voltage regulating method of the generator set includes: The regulating terminal receives the terminal voltage value sent by the controller through the first channel and the second channel; The regulating terminal forms a first data queue with the terminal voltage value belonging to the unit obtained from the first channel; and forms a second data queue with the terminal voltage value belonging to the unit obtained from the second channel; Determining a channel state of each channel according to the number of messages in the first data queue and the number of messages in the second data queue; Determine a target terminal voltage value from the first data queue and / or the second data queue according to the channel state of each channel, wherein the target terminal voltage value is a message having a confidence level higher than a preset threshold; The voltage of the unit is adjusted according to the target unit-end voltage value.

2. The voltage regulation method of a generator set according to claim 1, characterized in that: Determining a channel state of each channel according to the number of messages in the first data queue and the number of messages in the second data queue includes: When it is detected that the number of messages in the first data queue is greater than the number of messages in the second data queue, and the message difference between the first data queue and the second data queue is greater than a preset critical value, it is determined that the second channel is in an abnormal state and the first channel is in a normal state; When it is detected that the number of messages in the second data queue is greater than the number of messages in the first data queue, and the message difference between the first data queue and the second data queue is greater than the preset critical value, it is determined that the first channel is in an abnormal state and the second channel is in a normal state; When it is detected that the message difference between the first data queue and the second data queue is less than or equal to the preset critical value, it is determined that the first channel and the second channel are both in a normal state.

3. The voltage regulation method of a generator set according to claim 1, characterized in that: Determining a target terminal voltage value from the first data queue and / or the second data queue according to the channel state of each channel includes: When it is determined that the first channel is in an abnormal state and the second channel is in a normal state, taking the machine-end voltage value in the second data queue as the target machine-end voltage value; In a case where it is determined that the first channel is in a normal state and the second channel is in an abnormal state, taking the machine-end voltage value in the first data queue as the target machine-end voltage value; In the case where it is determined that both the first channel and the second channel are in a normal state, detecting whether the channel identification code of the machine-end voltage value in each data queue is the same as the to-be-received code of the machine-end voltage value, and obtaining a detection result, wherein the channel identification code of each machine-end voltage value is a serial number assigned by the controller to the machine-end voltage value, and the to-be-received code of each machine-end voltage value is a serial number assigned by the regulating terminal to the machine-end voltage value; According to the detection result, the target machine-end voltage value is determined from the first data queue and the second data queue.

4. The voltage regulation method of a unit according to claim 3, characterized in that: According to the test results, Determining the target terminal voltage value from the first data queue and the second data queue includes: Determine, according to the detection result, a first type of machine-end voltage value, a second type of machine-end voltage value, and a third type of machine-end voltage value in each data queue, wherein the channel identification code of the first type of machine-end voltage value is equal to the to-be-received code; the channel identification code of the second type of machine-end voltage value is less than the to-be-received code; and the channel identification code of the third type of machine-end voltage value is greater than the to-be-received code; The target machine-end voltage value is determined from the first data queue and the second data queue according to the first type machine-end voltage value, the second type machine-end voltage value and the third type machine-end voltage value in each data queue.

5. The voltage regulation method of a generator set according to claim 4, characterized in that: Determining the target machine-end voltage value from the first data queue and the second data queue according to the first machine-end voltage value, the second machine-end voltage value, and the third machine-end voltage value in each data queue includes: Using the first type of machine-end voltage value in the first data queue as the target machine-end voltage value; Using the channel identification code of the first type of terminal voltage value in the first data queue as the first type of code; The terminal voltage value carrying the first type of code in the second data queue is deleted.

6. The voltage regulation method of a generator set according to claim 4, characterized in that: Determining the target machine-end voltage value from the first data queue and the second data queue according to the first machine-end voltage value, the second machine-end voltage value, and the third machine-end voltage value in each data queue includes: Using the channel identification code of the second type of terminal voltage value in the first data queue as the second type of code; Using the channel identification code of the third type of terminal voltage value in the first data queue as the third type of code; Detecting whether the i-th machine-end voltage value carrying the second type of code or the third type of code in the second data queue is the first type of machine-end voltage value in the second data queue, where i is a positive integer; In the case where it is detected that the i-th machine-end voltage value is a first type of machine-end voltage value in the second data queue, the i-th machine-end voltage value is determined to be the target machine-end voltage value.

7. The voltage regulation method of a generator set according to claim 6, characterized in that: Determining the target machine-end voltage value from the first data queue and the second data queue according to the first machine-end voltage value, the second machine-end voltage value, and the third machine-end voltage value in each data queue includes: In the case of detecting that the machine-end voltage value carrying the third type of code in the second data queue is not the first type of machine-end voltage value in the second data queue, detecting whether the machine-end voltage value carrying the third type of code in the second data queue is the third type of machine-end voltage value in the second data queue; In the case of detecting that the machine-end voltage value carrying the third type of code in the second data queue belongs to the third type of machine-end voltage value in the second data queue, after waiting for the adjustment terminal to increase the allocated number of the to-be-received codes, determining whether the machine-end voltage value carrying the third type of code in the second data queue is updated to the first type of machine-end voltage value according to the newly allocated to-be-received codes; When it is determined that the machine-end voltage value carrying the third type of code in the second data queue is updated to the first type of machine-end voltage value, the machine-end voltage value updated to the first type of machine-end voltage value is used as the target machine-end voltage value.

8. The voltage regulation method of a generator set according to claim 4, characterized in that: Before determining the target machine-end voltage value from the first data queue and the second data queue according to the first machine-end voltage value, the second machine-end voltage value, and the third machine-end voltage value in each data queue, the voltage regulation method of the machine group further includes: Detecting whether the number of messages on the first channel is equal to the number of messages on the second channel; If the number of messages on the first channel is not equal to the number of messages on the second channel, taking the channel with the least number of messages as the target channel; If the number of messages on the first channel is equal to the number of messages on the second channel, one of the channels is selected as the target channel; The number of messages that need to be detected each time the target machine-end voltage value is determined is determined according to the number of messages of the target channel.

9. A voltage regulating device for a unit, characterized in that: Applied to a generator set, the generator set includes a controller and a regulating terminal, a first channel and a second channel independent of each other are established between the controller and the regulating terminal, and the voltage regulating device of the generator set includes: A first processing unit, configured for the regulating terminal to receive the terminal voltage value sent by the controller through the first channel and the second channel; a second processing unit, configured for the regulating terminal to form a first data queue with the terminal voltage value belonging to the unit obtained from the first channel; and to form a second data queue with the terminal voltage value belonging to the unit obtained from the second channel; a first determining unit, configured to determine a channel state of each channel according to the number of messages in the first data queue and the number of messages in the second data queue; a second determining unit, configured to determine a target machine-end voltage value from the first data queue and / or the second data queue according to a channel state of each channel, wherein the target machine-end voltage value is a message having a confidence level higher than a preset threshold; The regulating unit is used to regulate the voltage of the unit according to the target unit-end voltage value.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located executes the voltage regulation method for the unit according to any one of claims 1 to 8.