Rectifier power supply communication system and method
Through a three-layer independent communication architecture and a rectified power supply communication system designed with multiple redundancy, the stability problems caused by communication channel failure in traditional systems are solved, and a high-reliability communication system is realized, ensuring the stable operation of the power system.
Patent Information
- Application Number
- CN202510780404.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2045-06-12
AI Technical Summary
Traditional power communication systems lack redundant design, resulting in the inability to provide backup channels when communication channels fail, affecting the stability and reliability of the power system.
A three-layer communication system architecture is designed, including inter-board communication layer, internal CAN communication layer and external CAN communication layer. Each layer has multiple independent communication lines, and a multi-controller architecture and message queue technology are used to achieve redundancy and fault isolation of communication.
It improves the stability and reliability of the rectified power communication system, ensures the continuity of communication, and will not affect other layers even if a certain communication layer fails, prevents communication interruption, and enhances the scalability of the system.
Smart Images

Figure CN120301729B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of power electronics technology, and in particular to a highly reliable high-power rectifier power supply communication system and method. Background Art
[0002] A rectifier power supply communication system facilitates data transmission and interaction within a rectifier power supply and between it and external monitoring equipment. In modern power electronics systems, particularly in aerospace, instrumentation, and other technical fields, rectifier power supplies play a crucial role, providing a stable and reliable DC power source for the entire power equipment system. However, with the increasing number of power-consuming devices and the increasing power load, the requirements for rectifier power supply communication systems are becoming increasingly stringent.
[0003] At present, most traditional power supply communication systems use a single communication channel, lack redundancy design, and have poor scalability. When a communication channel fails, there is no backup channel to ensure communication continuity, which will seriously affect the stable operation of the power system.
[0004] To solve the above problems, it is necessary to design a highly reliable, high-power rectifier power supply communication system and method to improve the stability and reliability of the power supply communication system and meet the power supply needs. Summary of the Invention
[0005] The present invention provides a highly reliable high-power rectifier power supply communication system and method, which are used to improve the stability and reliability of the power supply communication system and meet power supply requirements.
[0006] In one aspect, the present invention provides a rectifier power supply communication system, the system comprising
[0007] Multiple parallel independent rectifier modules, each rectifier module includes a first type control board and a second type control board;
[0008] an inter-board communication layer, configured to implement data interaction between the first type of control board and the second type of control board;
[0009] Internal CAN communication layer, used to realize data interaction between the rectifier module and the communication control board;
[0010] A communication control board, comprising a plurality of parallel independent controllers, wherein the controllers exchange data with the rectifier module via the internal CAN communication layer;
[0011] The external CAN communication layer is used to realize data interaction between the communication control board and the host computer.
[0012] Furthermore, the inter-board communication layer, the internal CAN communication layer, the communication control board and the external CAN communication layer all have mutually independent multi-channel communication lines.
[0013] Furthermore, the inter-board communication layer is an inter-board communication bus, and the first-type control boards and the second-type control boards of multiple rectifier modules are connected to the inter-board communication bus through their respective first CAN interfaces.
[0014] Furthermore, the inner CAN communication layer is an inner CAN communication bus;
[0015] The second type control boards of the plurality of rectifier modules are all connected to the internal CAN communication bus through their respective second CAN interfaces;
[0016] The controllers are connected to the internal CAN communication bus through their respective first CAN interfaces.
[0017] Furthermore, the host computer has multiple communication CAN interfaces, which respectively exchange data with the second CAN interfaces of multiple controllers.
[0018] Further, the controller is a main controller and a redundant controller;
[0019] The first CAN interface of the host computer is connected to the second CAN interface of the main controller as the main communication line for external CAN data communication; the second CAN interface of the host computer is connected to the second CAN interface of the redundant controller as a redundant communication line for external CAN data communication.
[0020] Furthermore, the rectifier module includes: an input power filter, a relay board, a first type control board and a second type control board connected in sequence.
[0021] On the other hand, the present invention further provides a rectifier power supply communication method, which utilizes a rectifier power supply communication system as described above for communication, and the method includes: implementing the sending and receiving of CAN communication data based on a message queue.
[0022] Furthermore, the step of sending CAN communication data based on the message queue includes:
[0023] S101 creates a send message queue, initializes the queue head pointer and queue tail pointer, sets the maximum number of message arrays in the send message queue, and clears the data in the message array;
[0024] S102 fills a sending frame with the message to be sent according to the preset CAN communication protocol, where the sending frame includes a command number, a source address, a destination address, and the data to be sent;
[0025] S103: The sending message queue executes an enqueue operation, and stores the message to be sent into the sending message queue for caching;
[0026] S104 In the main loop program, it is determined whether the message sending queue is empty; if it is not empty, the messages are dequeued in order, and the CAN bottom hardware sending module is driven to complete the sending of CAN communication data.
[0027] Furthermore, the step of receiving CAN communication data based on the message queue includes:
[0028] S201 creates a receive message queue, initializes the queue head pointer and queue tail pointer, sets the maximum number of message arrays in the receive message queue, and clears the data in the message array;
[0029] S202 monitors in real time in the main loop program whether the CAN underlying hardware receiving module receives a message; if a message is received, reads the destination address of the received message; if the destination address is not a local address, discards the message;
[0030] S203: The received message queue executes an enqueue operation and stores the received message into the received message queue for caching;
[0031] S204 In the main loop program, it is determined whether the received message queue is empty; if not, the messages are dequeued in order, and the received message parsing is completed according to the preset CAN communication protocol.
[0032] In general, the present invention provides a rectifier power supply communication system and method. The technical solution conceived by the present invention can achieve the following beneficial effects compared with the prior art:
[0033] (1) The present invention proposes a three-layer communication system architecture, which decouples the high-power rectifier power supply communication system into an inter-board communication layer, an internal CAN communication layer, and an external CAN communication layer. Each layer of communication is relatively independent. Even if a communication layer fails, it will not affect other communication layers. The fault isolation is strong, which greatly improves the stability and reliability of the entire communication system.
[0034] (2) The present invention adopts a multi-channel communication redundancy design. Based on the multi-controller architecture in the communication control board, the inter-board communication layer, the internal CAN communication layer and the external CAN communication layer all have independent multi-channel communication lines. When one communication line fails during operation, it can seamlessly switch to other redundant communication lines for operation without causing system communication interruption, thereby improving the stability and reliability of the communication system.
[0035] (3) The CAN sending method and CAN receiving method based on the message queue of the present invention use the message queue as a buffer to store message data that cannot be processed temporarily when the amount of communication data is large or the processing is not timely, which can effectively prevent the loss of communication data frames and improve the reliability of CAN communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0037] Figure 1 This is a schematic diagram of the system architecture of a rectifier power supply communication system and method provided by the present invention. Figure 1 ;
[0038] Figure 2 This is a schematic structural diagram of a rectifier module of a rectifier power supply communication system and method provided by the present invention;
[0039] Figure 3 This is a schematic diagram of the system architecture of a rectifier power supply communication system and method provided by the present invention. Figure 2 ;
[0040] Figure 4 This is a logical diagram of a CAN message queue of a rectifier power supply communication system and method provided by the present invention;
[0041] Figure 5 This is a schematic diagram of the steps for sending CAN communication data of a rectifier power supply communication system and method provided by the present invention;
[0042] Figure 6 The present invention provides a rectifier power supply communication system and method for receiving CAN communication data. DETAILED DESCRIPTION
[0043] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.
[0044] It should be noted that, in the description of the embodiments of the present invention, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a system, method, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such system, method, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the system, method, or apparatus comprising the element.
[0045] In order to improve the stability and reliability of the existing power supply communication system and meet the power supply demand, the present invention provides a highly reliable high-power rectifier power supply communication system and method.
[0046] Figure 1 This is a schematic diagram of the system architecture of a rectifier power supply communication system. Specifically, the system includes multiple parallel independent rectifier modules, an inter-board communication layer, an internal CAN communication layer, an external CAN communication layer, and a communication control board. By designing a three-layer communication architecture, the high-power rectifier power supply communication system is decoupled into the inter-board communication layer, the internal CAN communication layer, and the external CAN communication layer, thereby converting three-phase AC input power into DC output power.
[0047] The three-layer communication system architecture proposed in this invention decouples the high-power rectifier power supply communication system into the inter-board communication layer, the internal CAN communication layer and the external CAN communication layer. Each layer of communication is relatively independent. Even if a communication layer fails, it will not affect other communication layers. The fault isolation is strong, which greatly improves the stability and reliability of the entire communication system.
[0048] Multiple parallel independent rectifier modules, each rectifier module includes a first type control board and a second type control board.
[0049] It should be noted that multiple rectifier modules connected in parallel can increase the output current capacity of the power supply system and have a redundant backup function. When a rectifier module fails, other rectifier modules can be used to work independently to provide power output.
[0050] The first type of control board is used to improve the power system's power factor. Specifically, by correcting the power supply's input current waveform to synchronize it with the voltage waveform, this reduces the current's harmonic components and improves the power factor. Power factor refers to the relationship between active power and total power consumption (apparent power), specifically the ratio of active power divided by total power consumption. This control reduces reactive power and increases active power, thereby improving power system efficiency. For example, the first type of control board might be a PFC (Power Factor Correction) control board.
[0051] The second type of control board is used to convert a fixed DC voltage to another fixed DC voltage, realizing voltage conversion to meet different needs in the system. By using switching devices such as MOSFET or transistors, the on-off state of the switch is periodically controlled to realize pulse modulation of the input voltage, thereby realizing voltage conversion and automatic voltage regulation. Not only can the voltage be increased or decreased, but the output voltage can also be precisely adjusted by controlling the frequency and duty cycle of the switch. For example, the second type of control board can be a DCDC (Direct Current to Direct Current) control board.
[0052] As an embodiment, the rectifier module includes: an input power filter, a relay board, a first type control board and a second type control board connected in sequence. Figure 2 As shown, the system comprises two parallel rectifier modules, 1 and 2, and a communication control board. Each rectifier module includes an input EMI filter, a relay board, a PFC unit, and a DCDC unit. The PFC unit includes the PFC main power circuit and the PFC control board, while the DCDC unit includes the DCDC main power circuit and the DCDC control board. If rectifier module 1 fails, rectifier module 2 can operate independently to provide power output.
[0053] The inter-board communication layer is used to implement data interaction between the first type of control board and the second type of control board.
[0054] In one embodiment, the inter-board communication layer is an inter-board communication bus. The first-type control boards and second-type control boards of the multiple rectifier modules are each connected to the inter-board communication bus via their respective first CAN interfaces. The first-type control boards have first CAN interfaces, while the second-type control boards have first and second CAN interfaces.
[0055] As a specific embodiment, Figure 1 As shown, the rectifier module consists of two parallel rectifier modules: rectifier module 1 and rectifier module 2. The first type of control board is the PFC control board, and the second type of control board is the DCDC control board. Rectifier module 1 includes PFC control board 1 and DCDC control board 1; rectifier module 2 includes PFC control board 2 and DCDC control board 2. Both PFC control board 1 and PFC control board 2 have a first CAN interface (CAN1 interface); both DCDC control board 1 and DCDC control board 2 have a first CAN interface (CAN1 interface) and a second CAN interface (CAN2 interface).
[0056] The inter-board communication layer communicates between the PFC control board and the DCDC control board within the rectifier module. This layer utilizes a dual-path redundant design. Specifically, PFC control board 1, PFC control board 2, and DCDC control board 1 and 2 all access the inter-board communication bus through their respective CAN1 interfaces, enabling communication between the PFC and DCDC control boards.
[0057] The first type of control board and the second type of control board exchange data via an inter-board communication bus.
[0058] As a specific embodiment, the rectifier module 1 serves as the main communication line, and the DCDC control board 1 exchanges data with the PFC control board 1 through the inter-board communication bus; at the same time, the rectifier module 1 serves as a redundant communication line, and the DCDC control board 1 exchanges data with the PFC control board 2 through the inter-board communication bus.
[0059] The rectifier module 2 serves as the main communication line, and the DCDC control board 2 exchanges data with the PFC control board 2 through the inter-board communication bus. At the same time, the rectifier module 2 serves as a redundant communication line, and the DCDC control board 2 exchanges data with the PFC control board 1 through the inter-board communication bus.
[0060] The internal CAN communication layer is used to realize data interaction between the rectifier module and the communication control board.
[0061] The communication control board includes multiple parallel independent controllers, which exchange data with the rectifier module through the internal CAN communication layer.
[0062] As an embodiment, the internal CAN communication layer is an internal CAN communication bus. The second type control boards of the plurality of rectifier modules are connected to the internal CAN communication bus through their respective second CAN interfaces; and the controllers are connected to the internal CAN communication bus through their respective first CAN interfaces.
[0063] The second-type control board has a first CAN interface and a second CAN interface; the first CAN interface of the second-type control board is connected to the inter-board communication layer, and the second CAN interface is connected to the internal CAN communication layer. The controller also has a first CAN interface and a second CAN interface; the first CAN interface of the controller is connected to the internal CAN communication layer, and the second CAN interface is connected to the external CAN communication layer.
[0064] As a specific embodiment, Figure 1 As shown, the rectifier modules are two parallel rectifier modules 1 and rectifier modules 2, and the communication control board is two parallel main controllers 1 (ARM1) and redundant controllers 2 (ARM2). Both ARM1 and ARM2 have CAN1 and CAN2 interfaces.
[0065] The internal CAN communication layer serves as the communication layer between the communication control board and the rectifier modules. The communication control board utilizes a dual-ARM architecture, with ARM1 serving as the primary controller and ARM2 as the redundant controller. ARM1 accesses the internal CAN bus via CAN1, while the DC / DC control boards of rectifier modules 1 and 2 each access the internal CAN bus via their respective CAN2 interfaces, establishing the primary communication line between the communication control board and the rectifier modules. As part of the dual-path communication redundancy design, ARM2 accesses the internal CAN bus via CAN1, providing redundant communication between the communication control board and the rectifier modules.
[0066] The external CAN communication layer is used to realize data interaction between the communication control board and the host computer.
[0067] As an embodiment, the host computer has multiple communication CAN interfaces, which respectively exchange data with the second CAN interfaces of multiple controllers. Specifically, the host computer has a first CAN interface and a second CAN interface; the first CAN interface of the host computer communicates with the second CAN interface of the main controller, and the second CAN interface of the host computer communicates with the second CAN interface of the redundant controller.
[0068] Furthermore, the controller comprises two independent parallel main controllers and redundant controllers. The first CAN interface of the host computer is connected to the second CAN interface of the main controller, serving as the main communication line for external CAN data communication; the second CAN interface of the host computer is connected to the second CAN interface of the redundant controller, serving as the redundant communication line for external CAN data communication.
[0069] As a specific embodiment, Figure 1 As shown, ARM1 in the communication control board receives periodic status and alarm data sent by DCDC control board 1 and DCDC control board 2, processes the data according to the preset external CAN communication protocol, and sends it to the host computer through CAN2 of ARM1; the communication control board ARM1 forwards the non-periodic configuration and control instructions issued by the host computer and sends them to DCDC control board 1 and DCDC control board 2.
[0070] As a dual-channel communication redundant design, ARM2 in the communication control board receives periodic status and alarm data sent by DCDC control board 1 and DCDC control board 2, processes the data according to the preset external CAN communication protocol, and sends it to the host computer through CAN2 of ARM2. Communication control board ARM2 forwards aperiodic configuration and control instructions issued by the host computer and sends them to DCDC control board 1 and DCDC control board 2.
[0071] At the same time, DCDC control board 1 periodically sends current sharing instructions to DCDC control board 2, and DCDC control board 2 also periodically sends current sharing instructions to DCDC control board 1, providing current sharing data for current sharing control of the rectifier module.
[0072] The external CAN communication layer serves as the communication layer between the host computer and the communication control board. The host computer uses dual CAN channels to communicate with the communication control board, implementing a redundant dual-path communication design for external CAN data. The host computer's CAN1 interface connects to the CAN2 interface on the communication control board ARM1, serving as the primary communication line for external CAN data. The host computer's CAN2 interface connects to the CAN2 interface on the communication control board ARM2, serving as a redundant communication line for external CAN data.
[0073] The host computer receives the periodic status and alarm data sent by ARM1 through CAN1 and displays it on the human-machine interface of the host computer. At the same time, the host computer can send configuration and control instructions to ARM1 through CAN1 according to user needs. ARM1 splits the configuration and control instruction messages and forwards them to rectifier module 1 and rectifier module 2 respectively.
[0074] As a dual-channel communication redundant design, the host computer receives periodic status and alarm data sent by ARM2 through CAN2 and displays it on the host computer's human-machine interface. At the same time, the host computer can send configuration and control instructions to ARM2 through CAN2 according to user needs. ARM2 splits the configuration and control instruction messages and forwards them to rectifier module 1 and rectifier module 2 respectively.
[0075] It should be noted that the inter-board communication layer, internal CAN communication layer, communication control board, and external CAN communication layer all have independent multi-channel communication lines. When the power system is operating normally, communication is carried out using the primary communication lines of each communication layer. If the primary communication line of a communication layer fails, communication can be seamlessly switched to the redundant communication line on the same layer.
[0076] The present invention adopts a multi-channel communication redundancy design. Based on the multi-controller architecture in the communication control board, the inter-board communication layer, the internal CAN communication layer and the external CAN communication layer all have independent multi-channel communication lines. When one communication line fails during operation, it can seamlessly switch to other redundant communication lines for operation without causing system communication interruption, thereby improving the stability and reliability of the communication system.
[0077] It should be noted that the communication system architecture of the present invention can be expanded to include multiple rectifier modules. The newly added rectifier modules are connected to the internal CAN communication bus via the CAN2 interface of the second type control board.
[0078] After setting the communication address of the newly added rectifier module, it can communicate with the communication control board to complete the host computer monitoring of the newly added rectifier module. At the same time, the rectifier modules can exchange current sharing data with each other to achieve current sharing control of the rectifier modules.
[0079] It should be noted that the number of controllers in the communication control board and the number of rectifier modules do not necessarily correspond one to one. Figure 3 As shown, three rectifier modules can be provided: rectifier module 1, rectifier module 2, and rectifier module 3. Each rectifier module includes a first-type control board and a second-type control board; the first-type control boards are connected to the inter-board communication bus through their respective first CAN interfaces; the second-type control boards are connected to the inter-board communication bus through their respective first CAN interfaces and to the intra-CAN communication bus through their respective second CAN interfaces.
[0080] In the three-layer architecture of the communication system of the present invention, each layer uses CAN to send and receive messages. However, when the amount of data sent and received by CAN communication messages is large, frame drops may occur due to untimely processing.
[0081] In order to solve this problem, the present invention also provides a rectifier power supply communication method, which uses any of the rectifier power supply communication systems mentioned above to communicate, and the method includes: implementing the sending and receiving of CAN communication data based on a message queue.
[0082] The message queue is a first-in-first-out queue data structure, including a head pointer, a tail pointer, a message array, an enqueue operation, and a dequeue operation. Figure 4 As shown in the figure, each CAN communication frame is regarded as a message. The message enters the queue from the head and exits the queue from the tail, realizing the sending and receiving of CAN communication data.
[0083] As an example, Figure 5 As shown, the steps of sending CAN communication data implemented by the message queue include:
[0084] S101 creates a send message queue, initializes the head pointer and tail pointer, sets the maximum number of message arrays in the send message queue, and clears the data in the message array;
[0085] S102 fills a sending frame with the message to be sent according to the preset CAN communication protocol, where the sending frame includes a command number, a source address, a destination address, and the data to be sent;
[0086] S103: The sending message queue executes an enqueue operation, and stores the message to be sent into the sending message queue for caching;
[0087] S104 In the main loop program, it is determined whether the message sending queue is empty; if it is not empty, the messages are dequeued in order, and the CAN bottom hardware sending module is driven to complete the sending of CAN communication data.
[0088] As another example, Figure 6 As shown, the steps of receiving CAN communication data based on the message queue include:
[0089] S201 creates a receive message queue, initializes the head pointer and tail pointer, sets the maximum number of message arrays in the receive message queue, and clears the data in the message array;
[0090] S202 monitors in real time in the main loop program whether the CAN underlying hardware receiving module has received a message; if a message is received, reads the destination address of the received message; if the destination address is not a local address, discards the message;
[0091] S203: The received message queue executes an enqueue operation and stores the received message into the received message queue for caching;
[0092] S204 In the main loop program, it is determined whether the received message queue is empty; if not, the messages are dequeued in order, and the received message parsing is completed according to the preset CAN communication protocol.
[0093] The present invention provides a CAN sending method and a CAN receiving method based on a message queue. When the amount of communication data is large or the processing is not timely, the message queue is used as a buffer to store message data that cannot be processed temporarily, which can effectively prevent the loss of communication data frames and improve the reliability of CAN communication.
[0094] It should be noted that for the aforementioned embodiments, for simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0095] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0096] In the several embodiments provided in this application, it should be understood that the disclosed methods or systems can be implemented in other ways. For example, the embodiments described above are merely illustrative, and the division of the units described is merely a logical functional division. In actual implementation, other division methods may be used, such as combining or integrating multiple units or components into another system, or ignoring or not implementing certain features.
[0097] 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 these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0098] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0099] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. This computer software product is stored in a memory and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application.
[0100] Those skilled in the art will appreciate that all or part of the various circuits in the above embodiments may be implemented by instructing related hardware through a program. The program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0101] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure herein, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art that are not recorded in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
[0102] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0103] It will be easily understood by those skilled in the art that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A rectifier power supply communication system, characterized in that: The system comprises: Multiple parallel independent rectifier modules, each rectifier module includes a first type control board and a second type control board; The inter-board communication layer is an inter-board communication bus. The first control boards and the second control boards of the plurality of rectifier modules are connected to the inter-board communication bus through their respective first CAN interfaces, so as to realize data exchange between the first control boards and the second control boards. The internal CAN communication layer is an internal CAN communication bus. The second-type control boards of multiple rectifier modules are connected to the internal CAN communication bus through their respective second CAN interfaces, so as to realize data exchange between the rectifier modules and the communication control boards. A communication control board, comprising a plurality of parallel independent controllers, wherein the controllers exchange data with the rectifier module via the internal CAN communication layer; The external CAN communication layer is used to realize data interaction between the communication control board and the host computer; The system adopts a multi-channel communication redundancy design. The inter-board communication layer, the internal CAN communication layer, the communication control board and the external CAN communication layer all have independent multi-channel communication lines. When one communication line fails during operation, it can seamlessly switch to other redundant communication lines for operation.
2. A rectifier power supply communication system according to claim 1, characterized in that: The controllers are connected to the internal CAN communication bus through their respective first CAN interfaces.
3. A rectifier power supply communication system according to claim 1, characterized in that: The host computer has multiple communication CAN interfaces, which respectively exchange data with the second CAN interfaces of multiple controllers.
4. A rectifier power supply communication system according to claim 1, characterized in that: The controllers are a main controller and a redundant controller; The first CAN interface of the host computer is connected to the second CAN interface of the main controller as the main communication line for external CAN data communication; the second CAN interface of the host computer is connected to the second CAN interface of the redundant controller as a redundant communication line for external CAN data communication.
5. The rectifier power supply communication system according to claim 1, characterized in that: The rectifier module includes: an input power filter, a relay board, a first type control board and a second type control board connected in sequence.
6. A rectifier power supply communication method, characterized in that: Communicating using a rectifier power supply communication system according to any one of claims 1 to 5, the method comprising: implementing sending and receiving CAN communication data based on a message queue.
7. A rectifier power supply communication method according to claim 6, characterized in that: The steps of sending CAN communication data based on the message queue include: S101 creates a send message queue, initializes the queue head pointer and queue tail pointer, sets the maximum number of message arrays in the send message queue, and clears the data in the message array; S102 fills a sending frame with the message to be sent according to the preset CAN communication protocol, where the sending frame includes a command number, a source address, a destination address, and the data to be sent; S103: The sending message queue executes an enqueue operation, and stores the message to be sent into the sending message queue for caching; S104 In the main loop program, it is determined whether the message sending queue is empty; if it is not empty, the messages are dequeued in order, and the CAN bottom hardware sending module is driven to complete the sending of CAN communication data.
8. A rectifier power supply communication method according to claim 6, characterized in that: The step of receiving CAN communication data based on the message queue includes: S201 creates a receive message queue, initializes the queue head pointer and queue tail pointer, sets the maximum number of message arrays in the receive message queue, and clears the data in the message array; S202 monitors in real time in the main loop program whether the CAN underlying hardware receiving module receives a message; if a message is received, reads the destination address of the received message; if the destination address is not a local address, discards the message; S203: The received message queue executes an enqueue operation and stores the received message into the received message queue for caching; S204 In the main loop program, it is determined whether the received message queue is empty; if not, the messages are dequeued in order, and the received message parsing is completed according to the preset CAN communication protocol.
Citation Information
Patent Citations
Redundant high-safety CAN (controller area network) bus communication system and communication method thereof
CN103634150A
CAN communication protocol for medical equipment control system
CN106292403A
CAN message high-load-rate receiving method and system
CN112118125A
Power system communication architecture and power system
CN221010143U