Multi-unit automatic voltage control and regulation method and system
By using public queues and alternating temporary storage conversion in the multi-unit automatic voltage control system, the problem of numerical storage obstacles and interruption of the abort method when the kernel works separately is solved, and the working efficiency of the kernel is improved.
Patent Information
- Application Number
- CN202411115366.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-26
AI Technical Summary
In the prior art, there are obstacles in storing log values when the core works separately when the automatic voltage control of multiple units, and the abortion method has a large interference, affecting work efficiency.
By setting values in the public queue and querying the changes in value regularly, using alternating temporary storage conversion, ensuring that the kernel uses the same temporary storage at the same time point, preventing the abortion method from interfering, and confirming the conversion requirements by querying temporary storage residual capacity.
Improve the working function of the kernel, prevent the abortion method from interfering with the kernel work, ensure the coordinated use of alternating temporary storage, and improve the processing efficiency of the kernel.
Smart Images

Figure CN119030036A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automatic voltage control of units, and in particular relates to a method and system for automatic voltage control and regulation of multiple units. Background Art
[0002] When multiple generator sets, that is, multiple units, are combined to supply power to the grid, it is necessary to install generator paralleling / grid-connected cabinets so that the system can meet the requirements of joint power supply and enable the generators to work normally.
[0003] To perform voltage regulation on multiple wind turbines, as pointed out in the prior art solution with patent publication number "CN102157943B", it mainly relies on a voltage transmitter and a converter connected to a controller. The voltage transmitter is used to sample the grid-side voltage of each wind turbine and transmit it to the controller. The controller is used to identify the collected grid-side voltage of each wind turbine and control the converter to perform voltage regulation on each wind turbine.
[0004] The controller identifies the collected grid-side voltage of each wind turbine generator and controls the converter to perform voltage regulation on each wind turbine generator set in the following manner: when the grid-side voltage of the wind turbine generator set deviates from the stable operating voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to regulate the grid-side voltage of the wind turbine generator set.
[0005] During the period when the controller identifies the grid-side voltage of each wind turbine and controls the converter to perform voltage regulation on each wind turbine, a pair of cores are often used to perform the corresponding voltage identification and regulation functions. When a pair of cores work independently, log values must be stored for analysis when failures occur. Even if a pair of cores work independently, they still have interdependent working relationships. Therefore, if the log values are stored independently, the correlation cannot be found through the log values of each other after long-term detection. Therefore, the log values stored by a pair of cores must be coordinated in the same temporary storage domain for analysis.
[0006] Due to the limitation of cache capacity, log values need to be stored in memory blocks frequently. Therefore, a pair of alternating cache conversions are used to facilitate that when a pair of cores log values to cache one, the log values in cache two can be sent to the memory block without interference. Therefore, the pair of cores need to cooperate.
[0007] Now, when a pair of kernels need to communicate, they often use the suspend method to communicate. However, when the suspend is activated, the kernel will temporarily put the current task on hold to detect the suspend status and then return to process the current task. This often leads to the following defects:
[0008] First, the kernel is often processing more critical tasks, so interrupting it often does not help the current critical processing tasks;
[0009] Second, there is no need to implement immediate storage of log values in such an urgent situation.
[0010] Therefore, it is necessary to construct a collaborative method in which a pair of kernels use a pair of alternating temporary storage log values to overcome the above defects, ensure that the same temporary storage is used for input, and improve the efficiency of kernel processing. Summary of the invention
[0011] In order to solve the defects existing in the prior art, the present invention proposes a multi-unit automatic voltage control and adjustment method and system, which sets values in a shared queue through a pair of cores, then periodically queries the changes in the values, and queries whether the conversion marker is set to confirm whether a core is to perform a temporary storage conversion, to ensure that a pair of cores use the same temporary storage in the alternating temporary storage at the same time, thereby preventing the current use of the suspension method from interfering with the core work and improving the working function of a pair of cores. The method of the present invention also uses a method of periodically querying the residual capacity of the temporary storage to confirm whether a core is to perform a temporary storage conversion, further ensuring that a pair of cores use the same temporary storage in the alternating temporary storage at the same time.
[0012] The present invention utilizes the following technical solutions.
[0013] A multi-unit automatic voltage control and regulation method, comprising:
[0014] The voltage transmitter samples the grid-side voltage of each wind turbine generator and transmits it to the controller. The controller identifies the grid-side voltage of each wind turbine generator and controls the converter to adjust the voltage of each wind turbine generator. A pair of cores are used to perform the corresponding voltage identification and adjustment functions.
[0015] During the period when the controller determines the grid-side voltage of each wind turbine generator set and controls the converter to adjust the voltage of each wind turbine generator set, the method further includes:
[0016] S1: Set a queue of four bytes that can be accessed by a pair of cores as a shared queue, and each core uses a one-byte unit in the shared queue;
[0017] S2: Set a pair of 2 16 The byte-capacity cache is treated as an alternating cache; here GF uses the first quarter of the cache, and CF uses the second three quarters of the cache;
[0018] S3: Here, any kernel detects the value of the shared queue every 3 seconds to determine whether the kernel should convert the currently sent buffer.
[0019] Preferably, in S1, a pair of kernels are a preceding kernel: GF and a succeeding kernel: CF.
[0020] Preferably, S3 specifically includes:
[0021] S3.0: Execute S3.1 at every 3s interval;
[0022] S3.1: Detect whether the values of GF and CF in the shared queue are the same; if they are different, execute S3.2; if they are the same, there is no need to perform temporary storage conversion, and execute S3.5;
[0023] S3.2: Check whether the GF conversion flag is set; if not, it means that CF has achieved temporary conversion, and S3.3 is executed; if so, it means that CF has not yet achieved temporary conversion, and S3.4 is executed;
[0024] S3.3: GF first sends a binary stream into the currently used temporary storage: 11111111111111111, then changes the value in the shared queue and transfers it to another temporary storage, completing S3;
[0025] S3.4: GF does not perform temporary storage conversion and completes S3;
[0026] S3.5: Check whether the GF conversion flag is set; if so, it means that CF has also achieved temporary storage conversion, and execute S3.6; if not, execute S3.4;
[0027] S3.6: Clear the GF conversion flag and complete S3.
[0028] Preferably, during the period when the controller determines the grid-side voltage of each wind turbine generator set and controls the converter to perform voltage regulation on each wind turbine generator set, the method further includes:
[0029] Execute S4, which starts after S2 is achieved.
[0030] Preferably, S4 includes:
[0031] S4.1: Here, any kernel queries the value of the shared queue after registering ten log values, and then executes S3.1 until S3 is completed, and then executes S4.2;
[0032] S4.2: Detect whether the temporary storage currently used by GF has the capacity that can be recorded by the remaining 2 log values. If so, execute S4.3; if not, execute S4.7;
[0033] S4.3: After recording the log value in the currently used temporary storage, it then records a binary stream: 1111111111111111, and then checks whether the GF conversion flag is set. If so, execute S4.4; if not, execute S4.5;
[0034] S4.4: Then check whether the values of GF and CF in the shared queue are the same. If they are the same, execute S4.5; if they are different, execute S4.6;
[0035] S4.5: GF performs temporary conversion, then sets the GF conversion marker, then registers the log value, and completes S4;
[0036] S4.6: Perform additional treatment and complete S4;
[0037] S4.7: GF sends the log value to be registered into the current temporary storage, completing S4.
[0038] Preferably, the additional processing includes: firstly placing the log value to be stored in a random unit of the main memory, and then sending the log value into the temporary storage after there is a free storage unit in the temporary storage.
[0039] Preferably, the controller identifies the collected grid-side voltage of each wind turbine generator and controls the converter to perform voltage regulation on each wind turbine generator set in the following manner: when the grid-side voltage of the wind turbine generator set deviates from the stable operating voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to regulate the grid-side voltage of the wind turbine generator set.
[0040] A multi-unit automatic voltage control and regulation system, comprising:
[0041] The voltage transmitter and converter are connected to the controller. The voltage transmitter is used to sample the grid-side voltage of each wind turbine and transmit it to the controller. The controller is used to identify the collected grid-side voltage of each wind turbine and control the converter to perform voltage regulation on each wind turbine. It uses a pair of cores to perform the corresponding voltage identification and regulation functions.
[0042] Preferably, the controller is a PLC, a single chip microcomputer, an industrial computer or a microprocessor.
[0043] Preferably, the module working on the controller includes a regulating module, which is used to identify the grid-side voltage of each wind turbine generator set and control the converter to perform voltage regulation on each wind turbine generator set in a manner including: when the grid-side voltage of the wind turbine generator set deviates from the stable operating voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to regulate the grid-side voltage of the wind turbine generator set;
[0044] The adjustment module is also used to set a queue of four bytes that can be taken by a pair of cores as a shared queue, and a pair of cores use a one-byte unit in the shared queue respectively; 16 The byte-capacity cache is used as an alternating cache; GF uses the first quarter of the cache, and CF uses the last three quarters of the cache; any core detects the value of the shared queue every 3s to determine whether the core should convert the currently sent cache.
[0045] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:
[0046] A pair of cores set values in a shared queue, then periodically query the value changes, and query whether the conversion flag is set to confirm whether a core is going to perform a temporary storage conversion, to ensure that a pair of cores use the same temporary storage in the alternating temporary storage at the same time, thereby avoiding the interference of the current suspension method on the core work and improving the working function of the pair of cores. The method of the present invention also uses a method of periodically querying the residual capacity of the temporary storage to confirm whether a core is going to perform a temporary storage conversion, further ensuring that a pair of cores use the same temporary storage in the alternating temporary storage at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flow chart of the multi-unit automatic voltage control and regulation method described in the present invention;
[0048] Figure 2 It is a schematic diagram of the architecture of the multi-unit automatic voltage control and regulation system described in the present invention. DETAILED DESCRIPTION
[0049] During the period when the controller identifies the grid-side voltage of each wind turbine and controls the converter to perform voltage regulation on each wind turbine, a pair of cores are often used to perform the corresponding voltage identification and regulation functions. When a pair of cores work independently, log values must be stored for analysis when failures occur. Even if a pair of cores work independently, they still have interdependent working relationships. Therefore, if the log values are stored independently, the correlation cannot be found through the log values of each other after long-term detection. Therefore, the log values stored by a pair of cores must be coordinated in the same temporary storage domain for analysis.
[0050] Due to the limitation of cache capacity, log values need to be stored in memory blocks frequently. Therefore, a pair of alternating cache conversions are used to facilitate that when a pair of cores log values to cache one, the log values in cache two can be sent to the memory block without interference. Therefore, the pair of cores need to cooperate.
[0051] Now, when a pair of kernels need to communicate, they often use the suspend method to communicate. However, when the suspend is activated, the kernel will temporarily put the current task on hold to detect the suspend status and then return to process the current task. This often leads to the following defects:
[0052] First, the kernel is often processing more critical tasks, so interrupting it often does not help the current critical processing tasks;
[0053] Second, there is no need to implement immediate storage of log values in such an urgent situation.
[0054] Therefore, it is necessary to construct a collaborative method in which a pair of kernels use a pair of alternating temporary storage log values to overcome the above defects, ensure that the same temporary storage is used for input, and improve the efficiency of kernel processing.
[0055] The present invention sets values in a shared queue via a pair of cores, then periodically queries changes in the values, and queries whether the conversion flag is set, to confirm whether a core is to perform a temporary storage conversion, to ensure that a pair of cores use the same temporary storage in the alternating temporary storage at the same time, thereby preventing the current use of the suspension method from interfering with the core work and improving the working functions of the pair of cores. The method of the present invention also uses a method of periodically querying the residual capacity of the temporary storage to confirm whether a core is to perform a temporary storage conversion, further ensuring that a pair of cores use the same temporary storage in the alternating temporary storage at the same time.
[0056] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely expressed in combination with the drawings in the embodiments of the present invention. The embodiments expressed in this application are only part of the embodiments of the present invention, not all of them. According to the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the protection scope of the present invention.
[0057] like Figure 1 As shown, a multi-unit automatic voltage control and regulation method according to the present invention comprises:
[0058] The voltage transmitter samples the grid-side voltage of each wind turbine generator and transmits it to the controller. The controller identifies the grid-side voltage of each wind turbine generator and controls the converter to adjust the voltage of each wind turbine generator. A pair of cores are used to perform the corresponding voltage identification and adjustment functions.
[0059] During the period when the controller determines the grid-side voltage of each wind turbine generator set and controls the converter to adjust the voltage of each wind turbine generator set, the method further includes:
[0060] S1: Set a queue of four bytes that can be accessed by a pair of cores as a shared queue. A pair of cores use a one-byte unit in the shared queue respectively; access means that the value can be retrieved.
[0061] In a preferred but non-limiting embodiment of the present invention, in S1, a pair of kernels are respectively a preceding kernel: GF and a succeeding kernel: CF in this application.
[0062] S2: Set a pair of 2 16 The byte-capacity cache is treated as an alternating cache; here GF uses the first quarter of the cache, and CF uses the second three quarters of the cache;
[0063] S3: Here, any kernel detects the value of the shared queue at intervals of 3s to determine whether the kernel should change the currently sent buffer; sending means storing the log value.
[0064] In a preferred but non-limiting embodiment of the present invention, S3 specifically includes:
[0065] S3.0: Execute S3.1 at every 3s interval;
[0066] S3.1: Detect whether the values of GF and CF in the shared queue are the same; if they are different, it means that one core has completed the cache conversion, and S3.2 is executed; if they are the same, it means that a pair of cores are still using the same cache, and there is no need to perform cache conversion, and S3.5 is executed;
[0067] S3.2: Check whether the GF conversion flag is set; if not, it means that CF has achieved temporary conversion, and S3.3 is executed; if so, it means that CF has not yet achieved temporary conversion, and S3.4 is executed;
[0068] S3.3: GF first sends a binary stream into the currently used temporary storage: 11111111111111111, then changes the value in the shared queue and transfers it to another temporary storage, completing S3;
[0069] S3.4: GF does not perform temporary storage conversion and completes S3;
[0070] S3.5: Check whether the GF conversion flag is set; if so, it means that CF has also achieved temporary storage conversion, and execute S3.6; if not, execute S3.4;
[0071] S3.6: Clear the GF conversion flag and complete S3.
[0072] In a preferred but non-limiting embodiment of the present invention, during the period when the controller determines the grid-side voltage of each wind turbine generator set and controls the converter to perform voltage regulation on each wind turbine generator set, the process further includes:
[0073] Execute S4, which starts after S2 is achieved.
[0074] In a preferred but non-limiting embodiment of the present invention, S4 comprises:
[0075] S4.1: Here, any kernel queries the value of the shared queue after recording ten log values, and then executes S3.1 until S3 is completed, and then executes S4.2; a log value is recorded when a log event occurs.
[0076] S4.2: Detect whether the temporary storage currently used by GF has the capacity that can be recorded by the remaining 2 log values. If so, execute S4.3; if not, execute S4.7;
[0077] S4.3: After recording the log value in the currently used temporary storage, it then records a binary stream: 1111111111111111, and then checks whether the GF conversion flag is set. If so, execute S4.4; if not, execute S4.5;
[0078] S4.4: Then check whether the values of GF and CF in the shared queue are the same. If they are the same, it means that CF has completed the temporary storage conversion and the other temporary storage can be used, and then execute S4.5; if they are different, execute S4.6;
[0079] S4.5: GF performs temporary conversion, then sets the GF conversion marker, then registers the log value, and completes S4;
[0080] S4.6: Perform additional treatment and complete S4;
[0081] In a preferred but non-limiting embodiment of the present invention, it is often the case that neither of the temporary storages can be used, and additional processing is performed, the additional processing comprising: firstly placing the log value to be stored in a random unit of the main memory, and then sending the log value to the temporary storage after there is an empty storage unit in the temporary storage;
[0082] S4.7: GF sends the log value to be registered into the current temporary storage, completing S4.
[0083] In a preferred but non-limiting embodiment of the present invention, the controller identifies the collected grid-side voltage of each wind turbine generator and controls the converter to perform voltage regulation on each wind turbine generator set, including: when the grid-side voltage of the wind turbine generator set deviates from the stable operating voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to adjust the grid-side voltage of the wind turbine generator set.
[0084] like Figure 2As shown, a multi-unit automatic voltage control and regulation system according to the present invention comprises:
[0085] The voltage transmitter and converter are connected to the controller. The voltage transmitter is used to sample the grid-side voltage of each wind turbine and transmit it to the controller. The controller is used to identify the collected grid-side voltage of each wind turbine and control the converter to perform voltage regulation on each wind turbine. It uses a pair of cores to perform the corresponding voltage identification and regulation functions.
[0086] In a preferred but non-limiting embodiment of the present invention, the controller is a PLC, a single-chip microcomputer, an industrial computer or a microprocessor.
[0087] In a preferred but non-limiting embodiment of the present invention, the module working on the controller includes a regulating module, which is used to identify the grid-side voltage of each wind turbine generator set and control the converter to perform voltage regulation on each wind turbine generator set in a manner including: when the grid-side voltage of the wind turbine generator set deviates from the stable operating voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to regulate the grid-side voltage of the wind turbine generator set;
[0088] The adjustment module is also used to set a queue of four bytes that can be taken by a pair of cores as a shared queue, and a pair of cores use a one-byte unit in the shared queue respectively; 16 The byte-capacity cache is used as an alternating cache; GF uses the first quarter of the cache, and CF uses the last three quarters of the cache; here any core detects the value of the shared queue every 3s to determine whether the core should change the currently sent cache.
[0089] The beneficial effects of the present invention are that, compared with the prior art, the technical effects of the present invention include:
[0090] A pair of cores set values in a shared queue, then periodically query the value changes, and query whether the conversion flag is set to confirm whether a core is going to perform a temporary storage conversion, to ensure that a pair of cores use the same temporary storage in the alternating temporary storage at the same time, thereby avoiding the interference of the current suspension method on the core work and improving the working function of the pair of cores. The method of the present invention also uses a method of periodically querying the residual capacity of the temporary storage to confirm whether a core is going to perform a temporary storage conversion, further ensuring that a pair of cores use the same temporary storage in the alternating temporary storage at the same time.
[0091] The present disclosure can be a system, method and / or computer program product. The computer program product can include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement each aspect of the present disclosure.
[0092] A computer readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer readable storage medium can be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples of computer readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the above. The computer readable storage medium used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (such as a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0093] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.
[0094] The computer program instructions for performing the operations of the present disclosure can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. Computer-readable program instructions can be executed entirely on the controller computer, partially on the controller computer, as a separate software package, partially on the controller computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the controller computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (just as using an Internet service provider to connect through the Internet). In some embodiments, each aspect of the present disclosure is implemented by utilizing state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), which can execute computer-readable program instructions.
[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for automatic voltage control and regulation of multiple units, characterized in that: include: The voltage transmitter samples the grid-side voltage of each wind turbine generator and transmits it to the controller. The controller identifies the grid-side voltage of each wind turbine generator and controls the converter to adjust the voltage of each wind turbine generator. A pair of cores are used to perform the corresponding voltage identification and adjustment functions. During the period when the controller determines the grid-side voltage of each wind turbine generator set and controls the converter to adjust the voltage of each wind turbine generator set, the method further includes: S1: Set a queue of four bytes that can be accessed by a pair of cores as a shared queue, and each core uses a one-byte unit in the shared queue; S2: Set a pair of 2 16 The byte-capacity cache is treated as an alternating cache; here GF uses the first quarter of the cache, and CF uses the second three quarters of the cache; S3: Here, any kernel detects the value of the shared queue every 3 seconds to determine whether the kernel should convert the currently sent buffer.
2. The multi-unit automatic voltage control and regulation method according to claim 1, characterized in that: In S1, a pair of kernels are the preceding kernel: GF and the succeeding kernel: CF.
3. The multi-unit automatic voltage control and regulation method according to claim 2, characterized in that: S3 specifically includes: S3.0: Execute S3.1 at every 3s interval; S3.1: Detect whether the values of GF and CF in the shared queue are the same; if they are different, execute S3.2; if they are the same, there is no need to perform temporary storage conversion, and execute S3.5; S3.2: Check whether the GF conversion flag is set; if not, it means that CF has achieved temporary conversion, and S3.3 is executed; if so, it means that CF has not yet achieved temporary conversion, and S3.4 is executed; S3.3: GF first sends a binary stream into the currently used temporary storage: 11111111111111111, then changes the value in the shared queue and transfers it to another temporary storage, completing S3; S3.4: GF does not perform temporary storage conversion and completes S3; S3.5: Check whether the GF conversion flag is set; if so, it means that CF has also achieved temporary storage conversion, and execute S3.6; if not, execute S3.4; S3.6: Clear the GF conversion flag and complete S3.
4. The multi-unit automatic voltage control and regulation method according to claim 3 is characterized in that: During the period when the controller determines the grid-side voltage of each wind turbine generator set and controls the converter to adjust the voltage of each wind turbine generator set, the method further includes: Execute S4, which starts after S2 is achieved.
5. The multi-unit automatic voltage control and regulation method according to claim 4, characterized in that S4 include: S4.1: Here, any kernel queries the value of the shared queue after registering ten log values, and then executes S3.1 until S3 is completed, and then executes S4.2; S4.2: Detect whether the temporary storage currently used by GF has the capacity that can be recorded by the remaining 2 log values. If so, execute S4.3; if not, execute S4.7; S4.3: After recording the log value in the currently used temporary storage, it then records a binary stream: 1111111111111111, and then checks whether the GF conversion flag is set. If so, execute S4.4; if not, execute S4.5; S4.4: Then check whether the values of GF and CF in the shared queue are the same. If they are the same, execute S4.5; if they are different, execute S4.6; S4.5: GF performs temporary conversion, then sets the GF conversion marker, then registers the log value, and completes S4; S4.6: Perform additional treatment and complete S4; S4.7: GF sends the log value to be registered into the current temporary storage, completing S4.
6. The multi-unit automatic voltage control and regulation method according to claim 5, characterized in that: Additional processing includes: first placing the log value to be stored in a random unit of the main memory, and then sending the log value to the temporary storage after there is a free storage unit in the temporary storage.
7. The multi-unit automatic voltage control and regulation method according to claim 1, characterized in that: The controller identifies the collected grid-side voltage of each wind turbine generator and controls the converter to perform voltage regulation on each wind turbine generator set in the following manner: when the grid-side voltage of the wind turbine generator set deviates from the stable operating voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to regulate the grid-side voltage of the wind turbine generator set.
8. A multi-unit automatic voltage control and regulation system, characterized in that: include: The voltage transmitter and converter are connected to the controller. The voltage transmitter is used to sample the grid-side voltage of each wind turbine and transmit it to the controller. The controller is used to identify the collected grid-side voltage of each wind turbine and control the converter to perform voltage regulation on each wind turbine. It uses a pair of cores to perform the corresponding voltage identification and regulation functions.
9. The multi-unit automatic voltage control and regulation system according to claim 8, characterized in that: The controller is a PLC, a single chip microcomputer, an industrial computer or a microprocessor.
10. The multi-unit automatic voltage control and regulation system according to claim 8, characterized in that: The module working on the controller includes a regulating module, which is used to identify the grid-side voltage of each wind turbine generator set and control the converter to perform voltage regulation on each wind turbine generator set in the following manner: when the grid-side voltage of the wind turbine generator set deviates from the stable working voltage range of the set, the controller determines the reactive current required for voltage regulation and the converter outputs or inputs the current to regulate the grid-side voltage of the wind turbine generator set; The adjustment module is also used to set a queue of four bytes that can be taken by a pair of cores as a shared queue, and a pair of cores use a one-byte unit in the shared queue respectively; 16 The byte-capacity cache is used as an alternating cache; GF uses the first quarter of the cache, and CF uses the last three quarters of the cache; any core detects the value of the shared queue every 3s to determine whether the core should convert the currently sent cache.
