Power conversion device, component controller, new energy system and data relay transmission method
By introducing relay nodes and a relay broadcast query/packet mechanism into the new energy system, the problem of component controllers being unable to receive packets due to poor communication quality was solved, ensuring that component controllers could promptly report missing packet information and successfully upgrade, thereby improving the communication stability and reliability of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-24
- Publication Date
- 2026-03-24
AI Technical Summary
In new energy systems, poor communication quality between power conversion equipment and component controllers can cause some component controllers to fail to receive program packages, leading to upgrade failures.
By introducing a relay node between the power conversion device and the component controller, and utilizing relay broadcast query frames and packets, the component controller can promptly report packet loss information in the event of packet loss, and forward the relay broadcast packets through the relay node, thereby improving communication stability and reliability.
This increases the probability that the component controller will receive the program package even when the communication quality is poor, avoids the problem of component controller upgrade failure, and enhances the communication stability and reliability of the system.
Smart Images

Figure CN121728098A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a power conversion device, a component controller, a new energy system, and a data relay transmission method. Background Technology
[0002] The new energy system mainly includes power conversion equipment, DC power supply, and module controller, with the power conversion equipment and module controller communicating with each other.
[0003] Component controllers require program updates during installation, subsequent maintenance, and product upgrades. Currently, power conversion equipment uses broadcast to send program packages to all component controllers within the system, enabling them to complete the program upgrade. However, if the communication quality between the power conversion equipment and the component controllers is poor, some component controllers may fail to receive the program package, resulting in upgrade failure. Summary of the Invention
[0004] In view of the above problems, this application provides a power conversion device, a component controller, a new energy system, and a data relay transmission method, so that the component controller can successfully complete the program upgrade even when the communication quality between it and the power conversion device is poor. The specific solution is as follows:
[0005] The first aspect of this application provides a power conversion device, which is communicatively connected to a component controller;
[0006] The power conversion device sends a relay broadcast query frame to each component controller. The relay nodes in each component controller forward the relay broadcast query frame within a preset range. The relay broadcast query frame instructs the component controller to report the packet loss information to the power conversion device in the event of a packet loss.
[0007] If the power conversion device receives a missing packet information, it sends a relay broadcast packet to each component controller, and the relay node forwards the relay broadcast packet within a preset range.
[0008] In one possible implementation, after the power conversion device sends a relay broadcast query frame to each component controller, if it does not receive a missing packet information within a first preset time, it records the number of times the relay broadcast query frame has been sent.
[0009] If the power conversion device receives a missing packet information within the first preset time, it sends a relay broadcast program packet to each component controller and clears the recorded number of relay broadcast query frames sent.
[0010] If the number of times the power conversion device records the transmission of relay broadcast query frames does not reach the threshold, the power conversion device will send relay broadcast query frames to each component controller again.
[0011] If the number of times the power conversion device records the transmission of relay broadcast query frames reaches the threshold, the power conversion device updates the relay node.
[0012] In one possible implementation, after updating the relay node, the power conversion device sends a relay broadcast query frame carrying a relay node identifier to each component controller after a second preset time. The relay node identifier indicates the updated relay node.
[0013] In one possible implementation, after the power conversion device sends a relay broadcast package to each component controller, it sends an upgrade command to each component controller. The relay node forwards the upgrade command within a preset range, and the upgrade command instructs the component controller to complete the program upgrade based on the relay broadcast package.
[0014] A second aspect of this application provides a component controller that is communicatively connected to a power conversion device;
[0015] If the component controller is a relay node, the relay node receives the relay broadcast query frame sent by the power conversion device, forwards the relay broadcast query frame within a preset range, and feeds back the packet loss information to the power conversion device in the event of packet loss. When the power conversion device receives the packet loss information, it receives the relay broadcast program packet sent by the power conversion device and forwards the relay broadcast program packet within a preset range.
[0016] If the component controller is not a relay node, when the component controller receives the relay broadcast query frame sent by the power conversion device and the relay node, it will send the packet loss information back to the power conversion device in the event of a packet loss, and when the power conversion device receives the packet loss information, it will receive the relay broadcast program packet sent by the power conversion device and the relay node.
[0017] In one possible implementation, if a relay broadcast query frame originates from a power conversion device, the component controller will send the missing packet information back to the power conversion device if the relay broadcast query frame originates from a relay node, and the relay node will then forward the missing packet information to the power conversion device.
[0018] In one possible implementation, after receiving a message from the power conversion device, the component controller determines that the component controller is a relay node if the relay node identifier in the message matches the identifier of the component controller. The message includes a relay broadcast query frame and a relay broadcast package.
[0019] A third aspect of this application provides a new energy system, including a power conversion device and multiple component controllers that are communicatively connected to the power conversion device, wherein the component controllers are connected to a DC power supply;
[0020] Multiple component controllers include at least one relay node;
[0021] The power conversion device sends relay broadcast query frames to multiple component controllers;
[0022] Relay nodes in multiple component controllers receive relay broadcast query frames and forward them within a preset range;
[0023] Multiple component controllers send packet loss information back to the power conversion device in the event of a packet loss.
[0024] If the power conversion device receives a missing packet message, it sends a relay broadcast packet to multiple component controllers.
[0025] The relay node receives the relay broadcast packet and forwards the relay broadcast packet within a preset range.
[0026] In one possible implementation, the preset scope is multiple component controllers.
[0027] In one possible implementation, multiple component controllers are pre-divided into multiple groups, each group including at least one relay node;
[0028] For each relay node, the preset range corresponding to the relay node is the group corresponding to the relay node.
[0029] A fourth aspect of this application provides a data relay transmission method, comprising:
[0030] The power conversion equipment sends relay broadcast query frames to the controllers of each component;
[0031] The relay nodes in each component controller receive relay broadcast query frames and forward them within a preset range;
[0032] In the event of a packet loss, each component controller sends a packet loss message back to the power conversion device.
[0033] If the power conversion device receives a missing packet message, it sends a relay broadcast packet to each component controller.
[0034] The relay node receives the relay broadcast packet and forwards the relay broadcast packet within a preset range.
[0035] By employing the above technical solutions, this application provides a power conversion device, a component controller, a new energy system, and a data relay transmission method. The power conversion device sends relay broadcast query frames to each component controller in the system, enabling relay nodes in each component controller to forward the relay broadcast query frames within a preset range. Component controllers that are not relay nodes can receive not only the relay broadcast query frames sent by the power conversion device but also the relay broadcast query frames forwarded by the relay nodes. This increases the probability of the component controller receiving relay broadcast query frames even when the communication quality between the component controller and the power conversion device is poor, thereby ensuring that the component controller can promptly report packet loss information to the power conversion device when packets are missing. After receiving a missing packet information, the power conversion device sends relay broadcast packets to each component controller. This allows relay nodes to forward the relay broadcast packets sequentially within a preset range. Component controllers that are not relay nodes can receive not only the relay broadcast packets sent by the power conversion device but also the relay broadcast packets forwarded by the relay nodes. This increases the probability that component controllers with missing packets will receive the relay broadcast packets, solving the problem of component controllers not receiving packets when the communication quality between them and the power conversion device is poor. This improves the stability and reliability of communication between the component controllers and the power conversion device, and avoids the problem of component controllers failing to receive packets and thus failing to upgrade. Attached Figure Description
[0036] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.
[0037] Figure 1 A schematic diagram of a new energy system provided in this application embodiment;
[0038] Figure 2 This is a schematic diagram of another new energy system provided in an embodiment of this application;
[0039] Figure 3 This is a schematic diagram illustrating an application scenario of a new energy system provided in an embodiment of this application;
[0040] Figure 4 A flowchart illustrating a data relay transmission method provided in an embodiment of this application;
[0041] Figure 5 This is a flowchart illustrating another data relay transmission method provided in an embodiment of this application. Detailed Implementation
[0042] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is for explaining specific embodiments only and is not intended to limit the scope of this application.
[0043] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0044] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of elements is not necessarily limited to those elements, but may include other elements not explicitly listed or inherent to those processes, methods, products, or apparatuses.
[0045] See Figure 1 , Figure 1 A schematic diagram of a new energy system structure is shown. The new energy system may include a power conversion device 100 and a component controller 200. Figure 1 The example includes N component controllers (where N is a positive integer greater than 1), and the power conversion device 100 is communicatively connected to the component controller 200.
[0046] Among them, the N component controllers 200 include at least one relay node ( Figure 1 (Taking component controller M as a relay node as an example). The power conversion device 100 sends relay broadcast query frames to multiple component controllers 200. The relay nodes among the multiple component controllers 200 receive the relay broadcast query frames and forward them within a preset range. Non-relay nodes can receive at least two relay broadcast query frames, ensuring that the component controllers 200 promptly report packet loss information to the power conversion device 100 in the event of packet loss. If the power conversion device 100 receives packet loss information, it sends relay broadcast packets to multiple component controllers 200. The relay nodes receive the relay broadcast packets and forward them within a preset range. Non-relay nodes can receive at least two relay broadcast packets, increasing the probability that the component controllers 200 with packet loss receive the relay broadcast packets and solving the problem that the component controllers 200 cannot receive packets when the communication quality between them and the power conversion device 100 is poor.
[0047] The following description Figure 1 The product form of the medium power conversion device 100.
[0048] The power conversion device 100 in this embodiment converts DC power generated by a DC power source into AC power. The power conversion device 100 mainly includes components such as a controller and an inverter circuit. If the DC power source is a photovoltaic module, the power conversion device 100 can be an inverter; if the DC power source is a battery module, the power conversion device 100 can be an energy storage converter.
[0049] The following description Figure 1 The product form of the Component Controller 200.
[0050] The component controller 200 in this embodiment can be an optimizer, a shutdown device, etc., and has functions such as power regulation and electrical protection of the DC power supply. The component controller 200 mainly includes components such as a controller, a DC-DC converter, and electrical protection circuits.
[0051] This application provides a power conversion device that is communicatively connected to a component controller. When the component controller's program needs to be upgraded, the power conversion device sends a relay broadcast query frame to each component controller in a broadcast manner. The relay nodes in each component controller forward the relay broadcast query frame within a preset range. The relay broadcast query frame instructs the component controller to report packet loss information to the power conversion device in the event of a packet loss.
[0052] The relay broadcast query frame carries upgrade verification information. After receiving the relay broadcast query frame, the component controller determines whether there is a missing packet based on the upgrade verification information carried in the relay broadcast query frame. A missing packet means that the program package required for the upgrade is missing.
[0053] Since relay nodes forward relay broadcast query frames within a preset range, component controllers that are not relay nodes can receive not only relay broadcast query frames sent by the power conversion device, but also relay broadcast query frames forwarded by the relay nodes. This increases the probability that the component controller will receive relay broadcast query frames when the communication quality between it and the power conversion device is poor, thereby ensuring that the component controller can promptly report packet loss information to the power conversion device when packets are missing.
[0054] If the power conversion device receives a missing packet information, it sends a relay broadcast packet to each component controller, and the relay node forwards the relay broadcast packet within a preset range.
[0055] It should be noted that as soon as the power conversion device receives a packet loss information, it will send a relay broadcast program packet to each component controller in the form of a broadcast. In other words, the component controller that has not reported the packet loss information will also receive the relay broadcast program packet, so as to avoid missing the component controller that has not reported the packet loss information but has actually lost packets.
[0056] If the packet is large, exceeding the amount of data that a single message can carry, the power conversion device can send it through multiple relay broadcast packet messages.
[0057] Similarly, because relay nodes forward relay broadcast packets within a preset range, component controllers that are not relay nodes can receive not only relay broadcast packets sent by the power conversion device, but also relay broadcast packets forwarded by the relay nodes. This increases the probability that component controllers missing packets will receive relay broadcast packets, solves the problem of component controllers not receiving packets when the communication quality between them and the power conversion device is poor, improves the stability and reliability of communication between the component controllers and the power conversion device, and avoids the problem of component controllers failing to upgrade due to not receiving packets.
[0058] Furthermore, to avoid missing component controllers that actually have missing packets but did not report missing packet information, the power conversion device sends multiple relay broadcast query frames to the component controllers.
[0059] In one possible implementation, after sending relay broadcast query frames to each component controller, if the power conversion device does not receive any missing packet information within a first preset time, it records the number of times the relay broadcast query frames were sent. If missing packet information is received within the first preset time, the power conversion device sends a relay broadcast packet to each component controller and resets the recorded number of times the relay broadcast query frames were sent to zero. If the number of times the relay broadcast query frames were sent does not reach a threshold (the threshold can be 3), the power conversion device sends relay broadcast query frames to each component controller again; if the number of times the relay broadcast query frames were sent reaches the threshold, the power conversion device updates the relay nodes. In other words, the power conversion device only confirms that there are no missing packets in a component controller after sending relay broadcast query frames to the component controller multiple times consecutively without receiving any missing packet information, further avoiding missing component controllers with missing packets.
[0060] In this embodiment, the first preset time is greater than the sum of the time it takes for the power conversion device to send relay broadcast query frames to each component controller in a broadcast manner and the time it takes for the relay node to forward the relay broadcast query frames. The purpose of the power conversion device sending relay broadcast query frames multiple times consecutively is to avoid omissions. If the power conversion device has not received the missing packet information when the number of times it sends relay broadcast query frames reaches the threshold, then there is virtually no possibility of missing packets. This improves the stability and reliability of communication between the component controller and the power conversion device, and avoids the problem of the component controller failing to upgrade due to not receiving the program packet.
[0061] In addition, the purpose of updating the relay nodes in each component controller of the power conversion equipment is to avoid using the same relay node continuously. If the communication quality between the relay node and the power conversion equipment is poor, the relay node may not be able to forward the messages sent by the power conversion equipment in a timely manner. By updating the relay node, the system avoids the relay node from continuing to act as a relay node when the communication quality is poor, thus affecting message forwarding and improving the stability of communication between the power conversion equipment and each component controller.
[0062] There may be multiple ways for the power conversion equipment to update the relay nodes in the controllers of each component.
[0063] In one possible implementation, the power conversion device updates the relay nodes in each component controller in the order of the component controller numbers. For example, during the first update, component controller number 1 is set as the relay node, during the second update, component controller number 2 is set as the relay node, and so on.
[0064] In another possible implementation, the power conversion device randomly updates the relay nodes in the individual component controllers.
[0065] In another possible implementation, the power conversion device updates the relay nodes in each component controller according to the signal strength of the messages sent by each component controller. For example, the component controller with the highest signal strength of the messages sent by each component controller is set as the relay node, thereby improving the communication quality between the power conversion device and each component controller.
[0066] The above three methods for updating relay nodes are merely examples, and this application is not limited to them.
[0067] Furthermore, after updating the relay node, the power conversion device sends a relay broadcast query frame carrying the relay node identifier to each component controller after a second preset time. The relay node identifier indicates the updated relay node. After receiving the relay broadcast query frame, if the identifier of each component controller matches the relay node identifier, it is taken as the updated relay node.
[0068] In one possible implementation, after the power conversion device sends a relay broadcast package to each component controller, it can also send an upgrade command to each component controller. The relay node forwards the upgrade command within a preset range, and the upgrade command instructs the component controller to complete the program upgrade based on the relay broadcast package.
[0069] In another possible implementation, after sending relay broadcast packets to each component controller, the power conversion device can also send relay broadcast query frames to each component controller to further confirm whether there are missing packets. If no missing packet information is received within a first preset time, the number of times the relay broadcast query frames are sent is recorded. If missing packet information is received within the first preset time, the relay broadcast packet is sent to each component controller again, and the recorded number of times the relay broadcast query frames are sent is reset to zero. If the number of times the relay broadcast query frames are sent has not reached a threshold, the power conversion device sends relay broadcast query frames to each component controller again; if the number of times the relay broadcast query frames are sent has reached the threshold, an upgrade command is sent to each component controller. The relay node forwards the upgrade command within a preset range, and the upgrade command instructs the component controller to complete the program upgrade based on the relay broadcast packet.
[0070] This application also provides a component controller, which is communicatively connected to a power conversion device. If the component controller is a relay node, the relay node receives relay broadcast query frames sent by the power conversion device, forwards the relay broadcast query frames within a preset range, and reports packet loss information to the power conversion device in the event of a packet loss. Upon receiving the packet loss information, the power conversion device receives a relay broadcast packet sent by the power conversion device and forwards the relay broadcast packet within the preset range. If the component controller is not a relay node, it receives relay broadcast query frames sent by both the power conversion device and the relay node, reports packet loss information to the power conversion device in the event of a packet loss, and receives a relay broadcast packet sent by both the power conversion device and the relay node upon receiving the packet loss information.
[0071] In one possible implementation, for each component controller, after receiving a relay broadcast query frame, the relay broadcast query frame is parsed to obtain the relay node identifier (taking the DC power supply connected to the component controller as a photovoltaic module as an example, the relay node identifier can be represented by the string identifier + the component identifier). If the relay node identifier matches the identifier of the component controller, the component controller is determined to be a relay node, and the relay broadcast query frame is forwarded within a preset range.
[0072] The relay broadcast query frame carries upgrade verification information. After receiving the relay broadcast query frame, the component controller determines whether there is a missing packet based on the upgrade verification information carried in the relay broadcast query frame. A missing packet means that the program package required for the upgrade is missing.
[0073] There are multiple ways to implement the component controller to determine whether a packet is missing based on the upgrade verification information carried in the relay broadcast query frame.
[0074] In one possible implementation, the upgrade verification information includes the version number of the program package. Each component controller compares the version number in the upgrade verification information with the version number of the installed program package. If they match, there is no missing package; if they do not match, a missing package is determined.
[0075] In another possible implementation, the upgrade verification information includes a CRC (Cyclic Redundancy Check) checksum. Each component controller calculates the CRC checksum based on the relevant data of the installed package and compares the calculated CRC checksum with the received CRC checksum to perform CRC verification. If the verification passes, there is no missing packet; if the verification fails, a missing packet is determined.
[0076] The two methods described above for determining whether a package is missing based on upgrade verification information are merely examples, and this application is not limited to them.
[0077] In the event of a packet loss, one way for the component controller to report the packet loss information to the power conversion device is as follows: if the relay broadcast query frame originates from the power conversion device, the component controller reports the packet loss information to the power conversion device; if the relay broadcast query frame originates from a relay node, the component controller reports the packet loss information to the relay node, which then forwards the packet loss information to the power conversion device.
[0078] This application also provides a new energy system, including any power conversion device provided in this application, a plurality of component controllers provided in this application, and a DC power supply connected to the component controllers;
[0079] Multiple component controllers include at least one relay node;
[0080] The power conversion device sends relay broadcast query frames to multiple component controllers;
[0081] Relay nodes in multiple component controllers receive relay broadcast query frames and forward them within a preset range;
[0082] Multiple component controllers send packet loss information back to the power conversion device in the event of a packet loss.
[0083] If the power conversion device receives a missing packet message, it sends a relay broadcast packet to multiple component controllers.
[0084] The relay node receives the relay broadcast packet and forwards the relay broadcast packet within a preset range.
[0085] Each component controller includes at least one relay node. Each relay node is pre-configured with a preset range. If each component controller includes more than one relay node, the preset ranges corresponding to different relay nodes may or may not overlap. There are multiple ways to deploy relay nodes.
[0086] In one possible implementation, the number of component controllers in the new energy system is relatively small, and each component controller includes a relay node. The preset range corresponding to the relay node is multiple component controllers, that is, the relay node forwards relay broadcast query frames and relay broadcast program packets to all component controllers in the new energy system.
[0087] In another possible implementation, the number of component controllers in the new energy system is relatively large. Multiple component controllers are pre-divided into multiple groups, and each group includes at least one relay node. For each relay node, the preset range corresponding to the relay node is the group corresponding to the relay node. That is, the relay node forwards relay broadcast query frames and relay broadcast program packets within the group.
[0088] Taking a photovoltaic module as an example, where the DC power supply connected to the module controller is a photovoltaic module, and multiple photovoltaic modules are connected in series to form a photovoltaic string:
[0089] If the new energy system includes a photovoltaic string, or if the number of component controllers in the new energy system is small (e.g., less than a first preset value), then the system may include one or more relay nodes. The preset range corresponding to each relay node is the number of component controllers. Theoretically, if the system includes N (N is a positive integer) relay nodes, each component controller can receive (N+1) relay broadcast query frames, increasing the probability that the component controller receives messages sent by the inverter.
[0090] like Figure 2 The schematic diagram of the new energy system shown illustrates that if the new energy system includes at least one photovoltaic string ( Figure 2(Using two photovoltaic (PV) strings as an example), each PV string can be configured with one relay node. If the number of component controllers in a PV string is large, for example, greater than a second preset value, the PV string can include more than one relay node, increasing the probability that the component controllers will receive relay broadcast query frames sent by the power conversion device. The preset range corresponding to the relay node can be each component controller to expand the forwarding range. If the system includes N (N is a positive integer) relay nodes, each component controller can receive (N+1) relay broadcast query frames, increasing the probability that the component controller will receive relay broadcast query frames sent by the power conversion device. The preset range corresponding to the relay node can also be the PV string in which the relay node is located. Taking a PV string including one relay node as an example, the component controller can receive two relay broadcast query frames, ensuring that the component controllers in the PV string can receive messages sent by the power conversion device with a high probability while reducing the power consumption of the relay node.
[0091] The above two methods of deploying relay nodes are merely examples, and this application is not limited to them.
[0092] The following describes one possible application scenario of the new energy system provided in the embodiments of this application.
[0093] Figure 3 This is a schematic diagram of an application scenario for a new energy system, which includes an inverter ( Figure 3 (Using an inverter as an example of a power conversion device) and multiple component controllers, the component controllers are connected to the photovoltaic modules ( Figure 3 (Using a photovoltaic module as an example of a DC power source, the inverter is communicatively connected to multiple module controllers.)
[0094] The component controller can be a photovoltaic (PV) component controller, which can be an optimizer, shutdown device, etc. The inverter and PV component controller communicate via power line communication (PLC). The PLC master node (CCO) within the inverter is the master controller, and the component controller is the PLC slave node (Station, STA). This new energy system eliminates the need for rewiring, utilizing power lines for convenient network deployment, short construction period, low cost, high reliability, and communication speeds that meet system requirements, providing a cost-effective data communication platform for new energy systems.
[0095] The inverter sends relay broadcast query frames to each component controller. The relay nodes in each component controller forward the relay broadcast query frames within a preset range. Non-relay nodes can receive at least two relay broadcast query frames, ensuring that the component controllers promptly report packet loss information to the inverter in the event of packet loss. If the inverter receives packet loss information, it sends relay broadcast program packets to each component controller. The relay nodes forward the relay broadcast program packets within a preset range. Non-relay nodes can receive at least two relay broadcast program packets, increasing the probability that the component controller with packet loss receives the relay broadcast program packets and solving the problem of component controllers not receiving program packets when the communication quality between them and the inverter is poor.
[0096] This application also provides a data relay transmission method, which will be described in detail below with reference to the accompanying drawings.
[0097] Reference Figure 4 , Figure 4 This is a flowchart illustrating a data relay transmission method provided in an embodiment of this application, as shown below. Figure 4 As shown in the figure, the data relay transmission method provided in this application embodiment may include steps 401-405, which are described in detail below.
[0098] 401: The power conversion equipment sends a relay broadcast query frame to each component controller;
[0099] 402: The relay nodes in each component controller receive relay broadcast query frames and forward them within a preset range;
[0100] 403: When a packet is missing, each component controller sends a packet missing information back to the power conversion device;
[0101] 404: If the power conversion device receives a missing packet information, it sends a relay broadcast program packet to each component controller;
[0102] 405: The relay node receives the relay broadcast packet and forwards the relay broadcast packet within a preset range.
[0103] This embodiment discloses a data relay transmission method in which a power conversion device sends relay broadcast query frames to each component controller in the system, so that the relay nodes in each component controller forward the relay broadcast query frames within a preset range. Component controllers that are not relay nodes can not only receive the relay broadcast query frames sent by the power conversion device, but also the relay broadcast query frames forwarded by the relay nodes. This increases the probability of the component controller receiving the relay broadcast query frames when the communication quality between the component controller and the power conversion device is poor, thereby ensuring that the component controller can promptly report packet loss information to the power conversion device when packets are missing. After receiving a missing packet information, the power conversion device sends relay broadcast packets to each component controller. This allows relay nodes to forward the relay broadcast packets sequentially within a preset range. Component controllers that are not relay nodes can receive not only the relay broadcast packets sent by the power conversion device but also the relay broadcast packets forwarded by the relay nodes. This increases the probability that component controllers with missing packets will receive the relay broadcast packets, solving the problem of component controllers not receiving packets when the communication quality between them and the power conversion device is poor. This improves the stability and reliability of communication between the component controllers and the power conversion device, and avoids the problem of component controllers failing to receive packets and thus failing to upgrade.
[0104] Reference Figure 5 , Figure 5 A flowchart illustrating another data relay transmission method provided in this application embodiment is shown below. Figure 5 As shown in the embodiment of this application, a data relay transmission method may include steps 501-511:
[0105] 501: The power conversion equipment sends a relay broadcast query frame to each component controller;
[0106] 502: Relay nodes in each component controller forward relay broadcast query frames within a preset range;
[0107] 503: The component controller determines whether a packet is missing based on the relay broadcast query frame;
[0108] 504: The component controller that is missing a packet sends a packet missing information to the power conversion device;
[0109] 505: Does the power conversion device receive a missing packet information within the first preset time? If the power conversion device receives a missing packet information within the first preset time, proceed to step 506; if the power conversion device does not receive a missing packet information within the first preset time, proceed to step 509.
[0110] 506: The power conversion device sends relay broadcast program packets to each component controller and clears the recorded number of relay broadcast query frames sent;
[0111] 507: Relay nodes in each component controller forward relay broadcast packets within a preset range;
[0112] 508: Missing packet in component controller receiving relay broadcast packet;
[0113] 509: The power conversion equipment records the number of times it sends relay broadcast query frames;
[0114] 510: The power conversion device determines whether the number of times it sends relay broadcast query frames has reached the threshold; if the number of times the power conversion device sends relay broadcast query frames has not reached the threshold, then proceed to step 501; if the number of times the power conversion device sends relay broadcast query frames has reached the threshold, then proceed to step 511.
[0115] 511: The power conversion equipment updates the relay nodes in the controllers of each component.
[0116] This embodiment discloses a data relay transmission method in which the power conversion device sends multiple relay broadcast query frames to the component controller to ensure that the component controller does not have missing packets, thereby avoiding missing component controllers with missing packets and preventing the component controller from failing to upgrade due to not receiving program packets.
[0117] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0118] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0119] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0120] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A power conversion device, characterized in that, The power conversion device is communicatively connected to the component controller; The power conversion device sends a relay broadcast query frame to each of the component controllers. The relay nodes in each of the component controllers forward the relay broadcast query frame within a preset range. The relay broadcast query frame instructs the component controller to report packet loss information to the power conversion device in the event of packet loss. If the power conversion device receives the missing packet information, it sends a relay broadcast packet to each of the component controllers, and the relay node forwards the relay broadcast packet within the preset range.
2. The power conversion device according to claim 1, characterized in that, After the power conversion device sends a relay broadcast query frame to each of the component controllers, if it does not receive the missing packet information within a first preset time, it records the number of times the relay broadcast query frame has been sent. If the power conversion device receives the missing packet information within a first preset time, it sends a relay broadcast program packet to each of the component controllers and clears the recorded number of times the relay broadcast query frame was sent. If the number of times the power conversion device has sent the relay broadcast query frame has not reached the threshold, the power conversion device will send the relay broadcast query frame to each of the component controllers again. If the number of times the power conversion device records sending the relay broadcast query frame reaches a threshold, the power conversion device updates the relay node.
3. The power conversion device according to claim 2, characterized in that, If the number of times the relay broadcast query frame is sent reaches a threshold, the power conversion device obtains the signal strength of the messages sent by each of the component controllers, and updates the relay node according to the signal strength of the messages sent by each of the component controllers.
4. The power conversion device according to claim 2, characterized in that, After updating the relay node, the power conversion device sends a relay broadcast query frame carrying a relay node identifier to each component controller after a second preset time. The relay node identifier indicates the updated relay node.
5. The power conversion device according to claim 1, characterized in that, After sending the relay broadcast program packet to each of the component controllers, the power conversion device sends an upgrade instruction to each of the component controllers. The relay node forwards the upgrade instruction within the preset range. The upgrade instruction instructs the component controller to complete the program upgrade based on the relay broadcast program packet.
6. A component controller, characterized in that, The component controller is communicatively connected to the power conversion device; If the component controller is a relay node, the relay node receives the relay broadcast query frame sent by the power conversion device, forwards the relay broadcast query frame within a preset range, and feeds back the packet loss information to the power conversion device in the event of packet loss. When the power conversion device receives the packet loss information, the relay node receives the relay broadcast program packet sent by the power conversion device and forwards the relay broadcast program packet within the preset range. If the component controller is not a relay node, the component controller receives the relay broadcast query frame sent by the power conversion device and the relay node, and feeds back the packet loss information to the power conversion device in the event of packet loss. If the power conversion device receives the packet loss information, it receives the relay broadcast program packet sent by the power conversion device and the relay node.
7. The component controller according to claim 6, characterized in that, In the event of a packet loss, if the relay broadcast query frame originates from the power conversion device, the component controller will send packet loss information back to the power conversion device; if the relay broadcast query frame originates from the relay node, the component controller will send packet loss information back to the relay node, which will then forward the packet loss information to the power conversion device.
8. The component controller according to claim 6, characterized in that, After receiving a message sent by the power conversion device, if the relay node identifier in the message matches the identifier of the component controller, the component controller determines that the component controller is the relay node. The message includes a relay broadcast query frame and a relay broadcast program packet.
9. A new energy system, characterized in that, It includes a power conversion device and multiple component controllers that are communicatively connected to the power conversion device, wherein the component controllers are connected to a DC power supply; The plurality of component controllers include at least one relay node; The power conversion device sends relay broadcast query frames to multiple component controllers; The relay nodes in the multiple component controllers receive the relay broadcast query frame and forward the relay broadcast query frame within a preset range; In the event of a packet loss, multiple component controllers shall send packet loss information back to the power conversion device; If the power conversion device receives the missing packet information, it sends a relay broadcast packet to multiple component controllers. The relay node receives the relay broadcast packet and forwards the relay broadcast packet within the preset range.
10. The new energy system according to claim 9, characterized in that, The preset range refers to multiple component controllers.
11. The new energy system according to claim 9, characterized in that, The component controllers are pre-divided into multiple groups, each group including at least one of the relay nodes; For each relay node, the preset range corresponding to the relay node is the group corresponding to the relay node.
12. A data relay transmission method, characterized in that, include: The power conversion equipment sends relay broadcast query frames to the controllers of each component; The relay nodes in each of the component controllers receive the relay broadcast query frame and forward the relay broadcast query frame within a preset range; Each of the component controllers feeds back packet loss information to the power conversion device in the event of a packet loss. If the power conversion device receives the missing packet information, it sends a relay broadcast packet to each of the component controllers. The relay node receives the relay broadcast packet and forwards the relay broadcast packet within the preset range.