Direct-current voltage event triggering distributed control method based on one-way communication
By adopting a distributed control method for DC voltage event triggering of one-way communication in the microgrid, dynamically adjusting the communication frequency, the resource waste problem caused by traditional fixed-cycle communication is solved, and the reliability and stability of the system are improved.
Patent Information
- Application Number
- CN202411011095.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-12
AI Technical Summary
The traditional microgrid control method is based on fixed-cycle communication, which leads to waste of communication resources and limits the performance and scalability of the system, especially when the system's power quality is stable and good.
The DC voltage event triggering distributed control method based on unidirectional communication is adopted. By obtaining the state variable values of local and neighbor nodes, the error value is calculated to determine whether the secondary regulation conditions are met. If they are met, one-way communication will be conducted, otherwise no communication will be done. Use event triggering mechanism to dynamically adjust the communication frequency.
It effectively saves communication resources, improves the reliability and stability of the system, reduces the communication bandwidth requirements, and improves the communication efficiency of the system.
Smart Images

Figure CN118944294A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of voltage control, and more specifically, to a DC voltage event-triggered distributed control method based on unidirectional communication. Background Art
[0002] With the rapid development of distributed generation technology, the DC collection scenario of renewable energy power generation has attracted more and more attention, and has been demonstrated and applied to a certain extent in new power systems, with broad prospects for future development. However, the energy management and control issues in the renewable energy collection scenario have always been a difficult and hot topic in research, involving energy storage and scheduling, power control and optimization, load balancing and management, etc. Therefore, it is particularly important to further study the energy management and control issues in microgrids. Traditional microgrid control methods usually adopt distributed control schemes based on fixed-cycle communication. Although this scheme can achieve coordinated control of microgrids to a certain extent, due to the fixed allocation of communication resources, it often leads to a waste of communication demand, especially when the system power quality is stable and good, thereby limiting the performance and scalability of the system. The above problems need to be solved urgently. Summary of the invention
[0003] The purpose of the present invention is to address the deficiencies of the prior art and to propose a DC voltage event-triggered distributed control method based on unidirectional communication.
[0004] In a first aspect, a DC voltage event-triggered distributed control method based on unidirectional communication is provided, comprising:
[0005] Obtaining a real-time first state variable value at the local power supply end side;
[0006] Determine a neighbor node that communicates with the local power supply end side, and obtain a second state variable value sent by the local power supply end side during the most recent communication and a third state variable value received from the neighbor node most recently;
[0007] Calculate a local error value and a global error value according to the first state variable value, the second state variable value and the third state variable value; the local error value is the difference between the first state variable value and the second state variable value, and the global error value is the difference between the first state variable value and the third state variable value;
[0008] Whether the secondary control condition is met is determined based on the local error value and the global error value; if the secondary control condition is met, the local power supply end data is communicated unidirectionally to the neighboring node; otherwise, no communication is performed.
[0009] Preferably, judging whether the secondary control condition is met according to the local error value and the global error value includes:
[0010] The local error value and the global error value are used as inputs of the event triggering function;
[0011] If the output of the event trigger function is greater than a preset trigger threshold, it is determined that the secondary control condition is met;
[0012] If the event trigger function result is less than or equal to the preset trigger threshold, it is determined that the secondary control condition is not met.
[0013] Preferably, the preset trigger threshold is determined according to system communication frequency requirements.
[0014] Preferably, the communication method is network communication or power carrier communication.
[0015] Preferably, when the communication mode is network communication, the unidirectional communication of the local power supply end data to the neighboring node includes:
[0016] Determining local power supply end data that needs to be transmitted, and passing the local power supply end data to the transmission layer;
[0017] The transport layer divides the data into blocks and numbers them to obtain data blocks, and transmits the data blocks to the network layer;
[0018] The network layer adds the target IP address and the source IP address to the data block, and transmits the data block with the target IP address and the source IP address added to the data link layer;
[0019] The data link layer uses the subnet mask to determine the network segment where the local device is located and the network segment where the target IP address is located; based on the determination result, the data block is transmitted to the physical layer;
[0020] The physical layer splits the data block frame into bit streams and transmits them to neighboring nodes.
[0021] Preferably, the step of transmitting the data block to the physical layer according to the determination result comprises:
[0022] If the network segment where the local device is located is in the same network segment as the target IP address, the ARP broadcast protocol is used to resolve the MAC address of the target IP address, and the data block is transmitted to the physical layer according to the MAC address;
[0023] If the network segment where the local device is located is not in the same network segment as the target IP address, the data block is transmitted to the switch, and the switch transmits the data block to the router based on the gateway address of the local device, and the data block is transmitted to the physical layer through the router.
[0024] Preferably, the state variable value is voltage or active power.
[0025] Preferably, the determining of the neighboring nodes communicating with the local power supply end side includes: determining the neighboring nodes of the local power supply end through a system unidirectional communication topology.
[0026] In a second aspect, a DC voltage event-triggered distributed control device based on unidirectional communication is provided, which is used to execute any of the DC voltage event-triggered distributed control methods based on unidirectional communication described in the first aspect, including:
[0027] An acquisition module, used for acquiring a real-time first state variable value at a local power supply end;
[0028] A determination module, used to determine a neighbor node communicating with the local power supply end side, and obtain a second state variable value sent by the local power supply end side during the most recent communication and a third state variable value received from the neighbor node most recently;
[0029] A calculation module, configured to calculate a local error value and a global error value according to the first state variable value, the second state variable value and the third state variable value; the local error value is the difference between the first state variable value and the second state variable value, and the global error value is the difference between the first state variable value and the third state variable value;
[0030] The judgment module is used to judge whether the secondary control condition is met according to the local error value and the global error value; if the secondary control condition is met, the local power supply end data is communicated unidirectionally to the neighboring node; otherwise, no communication is performed.
[0031] In a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute any of the DC voltage event-triggered distributed control methods based on unidirectional communication described in the first aspect.
[0032] The beneficial effects of the present invention are as follows: the present invention introduces an event trigger mechanism and utilizes local errors and global errors to determine whether the trigger mechanism is reached. If the event trigger condition is reached, one-way communication is performed, thereby reducing the demand for communication bandwidth, effectively saving communication resources, and improving the reliability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A flow chart of a DC voltage event-triggered distributed control method based on unidirectional communication;
[0034] Figure 2 This is a structural diagram of the renewable energy DC collection scenario;
[0035] Figure 3 It is a flow chart for judging the secondary control conditions;
[0036] Figure 4 A flowchart for one-way communication;
[0037] Figure 5 It is a structural schematic diagram of a DC voltage event-triggered distributed control device based on unidirectional communication;
[0038] Figure 6 A diagram of the system dynamic response under different trigger thresholds provided by an embodiment of the present invention;
[0039] Figure 7 A dynamic response diagram of the system when a load mutation occurs provided by an embodiment of the present invention;
[0040] Figure 8 A comparison diagram of the control strategy provided by the embodiment of the present invention and the traditional time-triggered control strategy;
[0041] Fig. 9 A diagram of a test communication triggering situation provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The present invention is further described below in conjunction with embodiments. The description of the following embodiments is only used to help understand the present invention. It should be noted that for ordinary persons in the art, without departing from the principle of the present invention, the present invention can also be modified in some ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
[0043] Embodiment 1:
[0044] like Figure 2 As shown, Example 1 of the present application provides an electric power system in a DC collection scenario of renewable energy power generation, the system includes a number of distributed DC power supplies, each of which is equipped with a controller to achieve secondary regulation and information transmission of the distributed power supplies. When the system state changes, global information is transmitted between multiple controllers through a unidirectional communication network, thereby achieving secondary control of the DC collection scenario and reducing the communication burden.
[0045] Specifically, the new energy DC collection scenario in this application adopts distributed power source DC parallel connection, and can adopt a variety of distributed new energy power generation technologies, such as solar energy, wind energy, etc.; the new energy DC collection scenario of multiple machines in parallel may include an energy storage system; the new energy DC collection scenario can operate normally without being connected to the main power grid.
[0046] The event-triggered control in this application refers to calculating or changing the control input at certain specific moments, and can flexibly adjust the sampling and communication frequencies according to the operating status of the system, so as to achieve the same control effect as the timed and fixed-frequency communication with less communication frequency.
[0047] Based on the above system, Embodiment 1 of the present application provides a DC voltage event-triggered distributed control method based on unidirectional communication, such as Figure 1 As shown, including:
[0048] S101, obtaining a real-time first state variable value at a local power supply end.
[0049] The state variable of the present application refers to the variable that the secondary control needs to adjust, such as voltage or active power.
[0050] S102: Determine a neighbor node that communicates with the local power supply end side, and obtain a second state variable value sent by the local power supply end side during the most recent communication and a third state variable value received from the neighbor node most recently.
[0051] The neighbor nodes can be predetermined by the unidirectional communication topology of the system, that is, the local power supply end side can only receive the state variables of the nodes with unidirectional communication lines pointing to it. For example, assuming that node B is the local power supply end, node A points to node B through a unidirectional communication line, and node B points to node C through a unidirectional communication line. Then node A and node C are determined to be neighbor nodes of node B, and node B can obtain the state variable value of node A, and can send its own state variable value to node C.
[0052] S103. Calculate a local error value and a global error value according to the first state variable value, the second state variable value and the third state variable value; the local error value is the difference between the first state variable value and the second state variable value, and the global error value is the difference between the first state variable value and the third state variable value.
[0053] S104, judging whether the secondary regulation condition is met according to the local error value and the global error value; if the secondary regulation condition is met, the local power supply end data is communicated unidirectionally to the neighboring node; otherwise, no communication is performed.
[0054] Specifically, Figure 3 As shown, S104 includes:
[0055] S1041. Use the local error value and the global error value as inputs of the event triggering function.
[0056] The formula of the event trigger function is as follows:
[0057]
[0058] Among them, f i (t) represents the event trigger function, e i (t) represents the local error, ε i (t) represents the global error and k represents the gain coefficient.
[0059] S1042: If the output of the event trigger function is greater than a preset trigger threshold, it is determined that the secondary control condition is met, and the local power supply side performs unidirectional communication with the neighboring node.
[0060] Among them, when there are multiple state variables, if the event trigger function result of any state variable exceeds the preset trigger threshold, the state variable data on the local power supply side will be transmitted to the neighboring node.
[0061] In addition, the preset trigger threshold is determined according to the system communication frequency requirement. By changing the threshold of the event trigger function, the communication frequency of the system can be further adjusted. As the threshold increases, the system communication frequency can be further reduced; and by setting a smaller trigger threshold, the system fluctuation can be smoother and the response speed can be faster. Under a given trigger threshold, the larger the gain coefficient k, the more difficult it is to trigger the system, the lower the frequency of triggered communication, and the slower the response speed of secondary control, but with higher communication efficiency. Generally, but not limitedly, the gain coefficient can be selected as a compromise between system performance requirements and communication bandwidth requirements, taking a value between 0-1. The dynamic response of the system under different thresholds is as follows: Figure 6 shown.
[0062] This embodiment provides a minimum time interval in the trigger function algorithm, that is, sets the fastest communication frequency, which can prevent the processor from always being in the triggered state, thereby causing losses to the communication network.
[0063] S1043. If the event trigger function result is less than or equal to the preset trigger threshold, it is determined that the secondary control condition is not met and no communication is performed.
[0064] The communication of this embodiment is realized through a 100M or 1000M network; in addition, the communication method adopts a network communication method, and also supports common communication methods such as power carrier and RS-485 to meet the data exchange requirements with various devices. When the communication method is network communication, the local power supply end data is communicated to the neighboring node in a unidirectional manner (S1042), such as Figure 4 As shown, including:
[0065] S10421. Determine the local power supply end data that needs to be transmitted, and pass the local power supply end data to the transmission layer.
[0066] S10422. The transport layer divides the data into blocks and numbers them to obtain data blocks, and transmits the data blocks to the network layer.
[0067] S10423. The network layer adds the target IP address and the source IP address to the data block, and transmits the data block with the target IP address and the source IP address added to the data link layer.
[0068] S10424. The data link layer uses the subnet mask to determine the network segment where the local device is located and the network segment where the target IP address is located; based on the determination result, the data block is transmitted to the physical layer.
[0069] If the network segment where the local device is located is in the same network segment as the target IP address, the ARP broadcast protocol is used to resolve the MAC address of the target IP address, and the data block is transmitted to the physical layer according to the MAC address;
[0070] If the network segment where the local device is located is not in the same network segment as the target IP address, the data block is transmitted to the switch, and the switch transmits the data block to the router based on the gateway address of the local device, and the data block is transmitted to the physical layer through the router.
[0071] S10425. The physical layer splits the data block frame into bit streams and transmits them to neighboring nodes.
[0072] In a specific test verification of this embodiment, the Figure 2 The system circuit and communication topology, at t = 0-2s, each distributed power supply in the system only uses droop control; at t = 2s, the switchable load is incorporated into the test system, and the secondary control strategy proposed in this application starts to work; at t = 4s, the switchable load is cut out from the test system.
[0073] like Figure 7 As shown in the figure, the system maintains power balance through droop control within 0-2s, but due to the characteristics of droop control, the DC bus voltage deviates from the reference value. At the same time, since the simulation model established in this section takes into account the line impedance, the power distribution between each DG is not strictly based on the droop coefficient. At t = 2s, the secondary control strategy proposed in this paper starts to work, and the system can achieve system voltage recovery and accurate distribution of active power within 0.6s. Similarly, at t = 4s, the removal of the switchable load causes system voltage fluctuations, but the system stability can still be quickly restored within 0.6s.
[0074] Compared with the control strategy based on time triggering, the results are as follows Figure 8 As shown. The control strategy proposed in this article has similar control effects to the control strategy based on time triggering. However, it should be pointed out that the control period of the event-triggered controller compared in this section is 0.1ms, which means that when the system is in a steady state, a large amount of invalid communication will still be generated. The controller proposed in this application can dynamically adjust the communication frequency according to the system state. In the two time periods of t=2-2.5s and t=4-4.5s, the communication frequency increases because the system load has just been switched. At other times, since the system is in a steady state, the communication frequency within the system is low, such as Fig. 9As shown, the communication efficiency of the system is greatly improved and the communication burden of the system is reduced.
[0075] It can be seen that the present application establishes an event triggering mechanism, performs communication and control only when an event is triggered, and adopts a one-way communication strategy to avoid unnecessary communication overhead and energy consumption. Compared with fixed-cycle and two-way communication, it can effectively save communication resources.
[0076] Embodiment 2:
[0077] Based on Example 1, Example 2 of the present application provides a distributed control device triggered by a DC voltage event based on unidirectional communication, such as Figure 5 As shown, including:
[0078] An acquisition module 501 is used to acquire a real-time first state variable value of a local power supply end side;
[0079] The determination module 502 is used to determine the neighbor node communicating with the local power supply end side, and obtain the second state variable value sent by the local power supply end side during the most recent communication and the third state variable value received from the neighbor node most recently;
[0080] A calculation module 503 is used to calculate a local error value and a global error value according to the first state variable value, the second state variable value and the third state variable value; the local error value is the difference between the first state variable value and the second state variable value, and the global error value is the difference between the first state variable value and the third state variable value;
[0081] The judgment module 504 is used to judge whether the secondary regulation condition is met according to the local error value and the global error value; if the secondary regulation condition is met, the local power supply end data is communicated unidirectionally to the neighboring node; otherwise, no communication is performed.
[0082] Specifically, the device provided in this embodiment is a system corresponding to the method provided in Embodiment 1. Therefore, the parts in this embodiment that are the same or similar to those in Embodiment 1 can be referenced to each other and will not be repeated in this application.
[0083] Embodiment 3:
[0084] The present application embodiment provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded by a processor and executed to trigger a distributed control method based on unidirectional communication provided by the DC voltage event provided in the above embodiment, for example Figure 1 The method shown.
[0085] The present application also provides a computer program product including instructions. When the computer program product is run on a computer, the computer executes the DC voltage event-triggered distributed control method based on unidirectional communication provided in the above method embodiment. For example, Figure 1 The method shown.
Claims
1. A DC voltage event-triggered distributed control method based on unidirectional communication, characterized in that: include: Obtaining a real-time first state variable value at the local power supply end side; Determine a neighbor node that communicates with the local power supply end side, and obtain a second state variable value sent by the local power supply end side during the most recent communication and a third state variable value received from the neighbor node most recently; Calculate a local error value and a global error value according to the first state variable value, the second state variable value and the third state variable value; the local error value is the difference between the first state variable value and the second state variable value, and the global error value is the difference between the first state variable value and the third state variable value; Determine whether the secondary control condition is met based on the local error value and the global error value; if the secondary control condition is met, the local power supply end data is communicated unidirectionally to the neighboring node; Otherwise, no communication occurs.
2. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 1, characterized in that: The determining whether the secondary control condition is met according to the local error value and the global error value includes: The local error value and the global error value are used as inputs of the event triggering function; If the output of the event trigger function is greater than a preset trigger threshold, it is determined that the secondary control condition is met; If the event trigger function result is less than or equal to the preset trigger threshold, it is determined that the secondary control condition is not met.
3. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 2, characterized in that: The preset trigger threshold is determined according to the system communication frequency requirement.
4. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 2 or 3, characterized in that: The communication method is network communication or power carrier communication.
5. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 4, characterized in that: When the communication mode is network communication, the unidirectional communication of the local power supply end data to the neighboring node includes: Determining local power supply end data that needs to be transmitted, and passing the local power supply end data to the transmission layer; The transport layer divides the data into blocks and numbers them to obtain data blocks, and transmits the data blocks to the network layer; The network layer adds the target IP address and the source IP address to the data block, and transmits the data block with the target IP address and the source IP address added to the data link layer; The data link layer uses the subnet mask to determine the network segment where the local device is located and the network segment where the target IP address is located; based on the determination result, the data block is transmitted to the physical layer; The physical layer splits the data block frame into bit streams and transmits them to neighboring nodes.
6. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 5, characterized in that: The step of transmitting the data block to the physical layer according to the determination result includes: If the network segment where the local device is located is in the same network segment as the target IP address, the ARP broadcast protocol is used to resolve the MAC address of the target IP address, and the data block is transmitted to the physical layer according to the MAC address; If the network segment where the local device is located is not in the same network segment as the target IP address, the data block is transmitted to the switch, and the switch transmits the data block to the router based on the gateway address of the local device, and the data block is transmitted to the physical layer through the router.
7. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 6, characterized in that: The state variable value is voltage or active power.
8. The DC voltage event-triggered distributed control method based on unidirectional communication according to claim 7, characterized in that: The determining of the neighboring nodes that communicate with the local power supply end side includes: determining the neighboring nodes of the local power supply end through the system unidirectional communication topology.
9. A DC voltage event-triggered distributed control device based on unidirectional communication, characterized in that: The method for executing a DC voltage event-triggered distributed control method based on unidirectional communication according to any one of claims 1 to 8 comprises: An acquisition module, used for acquiring a real-time first state variable value at a local power supply end; A determination module, used to determine a neighbor node communicating with the local power supply end side, and obtain a second state variable value sent by the local power supply end side during the most recent communication and a third state variable value received from the neighbor node most recently; A calculation module, configured to calculate a local error value and a global error value according to the first state variable value, the second state variable value and the third state variable value; the local error value is the difference between the first state variable value and the second state variable value, and the global error value is the difference between the first state variable value and the third state variable value; The judgment module is used to judge whether the secondary control condition is met according to the local error value and the global error value; if the secondary control condition is met, the local power supply end data is communicated unidirectionally to the neighboring node; otherwise, no communication is performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the DC voltage event-triggered distributed control method based on unidirectional communication according to any one of claims 1 to 8.
