Parallel operation internal protocol algorithm based on high-power water-cooled power supply

By adopting CAN parallel communication and distributed control in high-power water-cooled power supplies, the communication efficiency and simplex communication problems of the RS485 interface in the prior art are solved, and efficient parallel communication linkage and real-time current data adjustment of multiple power supplies are achieved.

CN119987513APending Publication Date: 2025-05-13BEIJING DAHUA RADIO INSTR FACTORY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510004786.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, the MODBUS-RTU protocol of the RS485 parallel interface has the need to wait between instructions and the simplex communication does not have the function of simultaneous transmission and reception, resulting in low communication efficiency in high-power water-cooled power supply and airport scenes, and it is impossible to achieve rapid self-test and real-time adjustment of current data.

Method used

CAN parallel communication is adopted to formulate a unique communication protocol within the CAN. Each power supply adopts distributed control, and multiple power supply is connected by an external CAN parallel connection line. Each power supply can monitor the working conditions of other equipment and timely modify the operating current data through software control algorithms.

Benefits of technology

It realizes efficient parallel linkage of multiple power supplies, improves communication efficiency, supports asynchronous reception and processing, can quickly self-test and real-time adjustment of current data, and is suitable for high-power water-cooled power supply scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987513A_ABST
    Figure CN119987513A_ABST
Patent Text Reader

Abstract

The invention discloses a parallel operation internal protocol algorithm based on a high-power water-cooled power supply, which uses CAN parallel operation communication, formulates a CAN internal specific communication protocol, adopts distributed control for each power supply, and realizes parallel operation linkage of a plurality of power supplies through an external CAN parallel operation connecting line; each power supply can monitor the working condition of other equipment, that is, each power supply can serve as a host and monitor the running condition of the online power supply, and once the power supply is abnormal or a new power supply exists, the host timely modifies the current running current data of each power supply through a software control algorithm; each device can monitor the working conditions of other devices, that is, each power supply can serve as a host, the operation conditions of online power supplies are monitored at the same time, and once the power supply is abnormal or there is a new power supply, the host timely modifies the current operation current data of each device through a software control algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a high-power water-cooled power supply, and in particular to an internal protocol algorithm based on a high-power water-cooled power supply parallel operation. Background Art

[0002] At present, in many usage scenarios, thousands of amperes or even higher continuous currents are required, and modular splicing is generally used. In this way, multiple power supplies need to be connected in parallel to achieve high current output. The conventional processing method is to use the RS485 communication mode and combine the Modbus protocol to achieve parallel operation. If the number of parallel machines is too large, the communication time between the host and the slave is too long, the efficiency is very low, the host characteristics cannot be changed at will, and fast self-check cannot be achieved.

[0003] Existing technology:

[0004] 1. Usually RS485 interface communication is adopted. Although this protocol has many functions, it limits the concurrent data transmission. And each instruction must wait for a response or a period of time before sending the next protocol command. In other words, it cannot work asynchronously but only synchronously.

[0005] 2. RS485 parallel interface MODBUS-RTU message model

[0006]

[0007] The protocol needs to be sent and received synchronously, otherwise data misalignment may occur easily when reading and writing large data.

[0008] Disadvantages of the prior art:

[0009] For the MODBUS protocol through the RS485 parallel interface standard, the disadvantages as an external parallel communication protocol are:

[0010] There needs to be a certain amount of waiting between instructions;

[0011] Simplex communication, does not have the function of sending and receiving at the same time.

[0012] In view of this, the present invention is proposed. Summary of the invention

[0013] The purpose of the present invention is to provide an internal protocol algorithm based on high-power water-cooled power parallel connection to solve the above technical problems existing in the prior art.

[0014] The objective of the present invention is achieved through the following technical solutions:

[0015] The invention is based on the internal protocol algorithm of high-power water-cooled power supply paralleling, uses CAN paralleling communication, formulates a unique communication protocol inside CAN, each power supply adopts distributed control, and realizes the parallel linkage of multiple power supplies through an external CAN paralleling connection line;

[0016] Each power supply can monitor the working conditions of other devices, that is, each power supply can become a host and monitor the operation of online power supplies at the same time. Once the power supply is abnormal or there is a new power supply, the host will modify the current operating current data of each unit in time through the software control algorithm;

[0017] CAN adopts an asynchronous receiving processing method, sending and receiving are processed separately, and interrupt reception uses a task mode to cache data.

[0018] Compared with the prior art, the invention provides an internal protocol algorithm based on high-power water-cooled power supply paralleling, uses CAN parallel communication, formulates a unique communication protocol inside CAN, and each power supply adopts distributed control, and realizes the parallel linkage of multiple power supplies through an external CAN parallel connection line. Each device can monitor the working conditions of other devices, that is, each power supply can become a host and monitor the operation of online power supplies at the same time. Once the power supply is abnormal or there is a new power supply, the host can modify the current running current data of each unit in time through the software control algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 The figure is a general task flow chart of an embodiment of the present invention.

[0020] Figure 2 The following is a flow chart of the detection algorithm according to an embodiment of the present invention.

[0021] Figure 3 The figure is a schematic diagram of the parallel connection principle of an embodiment of the present invention. DETAILED DESCRIPTION

[0022] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] The contents not described in detail in the examples of the present invention belong to the prior art known to professionals in the field. If no specific conditions are specified in the examples of the present invention, the conditions are carried out according to the conventional conditions in the field or the conditions recommended by the manufacturer. If the manufacturer is not specified in the reagents or instruments used in the examples of the present invention, they are all conventional products that can be purchased commercially.

[0024] The invention is based on the internal protocol algorithm of high-power water-cooled power supply paralleling, uses CAN paralleling communication, formulates a unique communication protocol inside CAN, each power supply adopts distributed control, and realizes the parallel linkage of multiple power supplies through an external CAN paralleling connection line;

[0025] Each power supply can monitor the working conditions of other devices, that is, each power supply can become a host and monitor the operation of online power supplies at the same time. Once the power supply is abnormal or there is a new power supply, the host will modify the current operating current data of each unit in time through the software control algorithm;

[0026] CAN adopts an asynchronous receiving processing method, sending and receiving are processed separately, and interrupt reception uses a task mode to cache data.

[0027] Features include:

[0028] 1) Automatically broadcast the status, data and address of the device in 100ms period;

[0029] 2) The algorithm detects the number of power supplies on the bus every 1 second;

[0030] 3) Master-slave automatic identification algorithm: If there is no master on the bus temporarily, the master-slave mode on the bus is changed through a software algorithm based on the principle that the address with the smallest address is the master:

[0031] 4) Manually specify the host method: When the local or remote control of this power supply sends a data modification, it will immediately change to the host mode, and the other power supplies will become slave modes, and modify the corresponding output values. The current value will be sent to the slave through the CAN bus. The power control part of the host will provide the basic current sharing signal, and the slave will automatically control the operation of the set current and voltage parameters;

[0032] 5) Offline detection algorithm: If there is a device failure in the slave, the slave fault device will broadcast the fault information three times. After three times, the CAN bus broadcast data will be turned off, and the local power parameters will be set to 0 or the input power supply will be turned off; or the host will receive a 1000 millisecond timeout, and the slave will be judged to be offline; other devices will operate normally.

[0033] The detection algorithm control logic adopts a state machine rotation mechanism, with a maximum cache of 50 in the memory, and the bus status data is detected every 1 second. Specifically, the steps are as follows:

[0034] After power-on, wait for 1000 milliseconds, read 50 cached internal data, and enter the next state;

[0035] Analyze whether each set of data has timeout. If so, clear the current state, mark the data as invalid, record the offline state, and enter the next state.

[0036] Check whether there is a host on the bus. If not, each unit may become the host. Each parameter automatically repeats the first state according to the reasonable multiple of the number of units on the bus.

[0037] After three rounds of continuous detection, check whether there is a host on the bus. If no host is specified, it will be automatically assigned as the host according to the principle of minimum address, and the others will automatically become slaves, and then enter the repeated detection state;

[0038] When a designated master is detected, other power supplies become slaves by default; then they enter the detection state again.

[0039] 1) Among multiple power supplies, at least one power supply should be used as a backup;

[0040] 2) When configuring the master and slave devices, as long as the address is set at the factory, the slave devices can be added or removed at will;

[0041] 3) The host can be specified at any time: you only need to operate one of the power supplies, including changing the current or voltage, to change the host.

[0042] Six power supplies can be connected in parallel to achieve a high-power power supply with a current of 1000A, and 13 power supplies can be connected in parallel to achieve a high-power power supply with a current of 2800A.

[0043] In summary, the embodiment of the present invention is based on the internal protocol algorithm of the high-power water-cooled power supply parallel machine, uses CAN parallel machine communication, formulates a unique communication protocol inside CAN, and each power supply adopts distributed control, and realizes the parallel linkage of multiple power supplies through an external CAN parallel machine connection line. Each device can monitor the working conditions of other devices, that is, each power supply can become a host and monitor the operation of the online power supply at the same time. Once the power supply is abnormal or there is a new power supply, the host will modify the current running current data of each unit in time through the software control algorithm.

[0044] In order to more clearly demonstrate the technical solution and technical effects provided by the present invention, the embodiments of the present invention are described in detail with specific embodiments below.

[0045] Example 1

[0046] like Figure 1 As shown:

[0047] This design uses CAN parallel communication and develops a unique communication protocol inside CAN. Each power supply adopts distributed control and realizes the parallel linkage of multiple power supplies through external CAN parallel connection lines. Each device can monitor the working conditions of other devices, that is, each power supply can become a host and monitor the operation of online power supplies at the same time. Once the power supply is abnormal or there is a new power supply, the host will modify the current data of each current operation in time through the software control algorithm.

[0048] 1. Basic requirements for internal algorithms:

[0049] CAN adopts an asynchronous receiving processing method, that is, sending and receiving are processed separately, and interrupt reception uses a task mode to cache data.

[0050] 1) Automatically broadcast the status, data and address of the device in 100ms period.

[0051] 2) The algorithm detects the number of power supplies on the bus every 1 second.

[0052] 3) Master-slave automatic identification algorithm: If there is no master on the bus temporarily, the master-slave mode on the bus is changed through a software algorithm (the principle of the smallest address being the master).

[0053] 4) Manually specify the host method: When the local or remote control of this power supply sends a data modification, it will immediately change to the host mode, and the other power supplies will become slave modes, and modify the corresponding output values. The current value will be sent to the slave through the CAN bus. The power control part of the host will provide the basic current sharing signal, and the slave will automatically control the operation of the set current and voltage parameters.

[0054] 5) Offline detection algorithm: If there is a device failure in the slave, the slave fault device will broadcast the fault information three times. After three times, the CAN bus broadcast data will be turned off, and the local power parameters will be set to 0 or the input power supply will be turned off; or the host will receive a 1000 millisecond timeout, and the slave will be judged to be offline; other devices will operate normally.

[0055] 2. Structure of each data type

[0056] According to the CAN protocol standard, this protocol uses the extended frame mode, and the data uses 8 bits. If it does not meet 8 bits, it will be filled with 0. The host uses the broadcast mode, and all online slaves can receive it.

[0057]

[0058] 3. Data address and definition

[0059] Serial number Data address Data Definition 1 0x100 Set voltage and current data 2 0x300 Remote voltage and current data 3 0x500 Remote status data 4 0xB00 Set the power output status 5 0x1a00 Set the power protection status 6 0x1B0O Set power limit state 7 0x1C00 Set the power detection state

[0060] Define the receive processing buffer and the maximum number of parallel machines, CAN_PARALL_BUF CAN_buf

[50] ;

[0061] 4. The detection algorithm process steps are as follows Figure 2 As shown:

[0062] The detection algorithm control logic adopts a state machine rotation mechanism, with a maximum cache of 50 in the memory, and the bus status data is detected every 1 second, as follows:

[0063] After power-on, wait for 1000 milliseconds, read 50 cached internal data, and enter the next state.

[0064] Analyze whether each set of data has timeout. If so, clear the current state, mark the data invalid, record the offline state, and enter the next state.

[0065] Check whether there is a host on the bus. If not, each unit may become the host. Each parameter automatically repeats to enter the first state according to a reasonable multiple of the number of units on the bus.

[0066] After three rounds of continuous detection, check whether there is a host on the bus. If no host is specified, the one with the smallest address is automatically assigned as the host, and the others automatically become slaves, and then enter the repeated detection state.

[0067] When a designated master is detected, other power supplies become slaves by default; then they enter the detection state again.

[0068] 5. Parallel connection principle Figure 3 shown.

[0069] 6. During the specific implementation of the present invention:

[0070] 1) When designing a power supply configuration plan, you can design one or two more power supplies as backup, which can be turned on and used when needed. This is the problem of power supply redundancy, which is convenient for later maintenance.

[0071] 2) When configuring the master and slave devices, as long as the address is set at the factory, the slave devices can be added or removed at will, which is convenient for later maintenance.

[0072] 3) The host can be specified at any time: you only need to operate one of the power supplies, such as changing the current or voltage, to change the host, which is convenient for later maintenance.

[0073] The iron cutting project of water-cooled power supply uses this communication protocol to realize a high-power power supply with a current of 1000A by paralleling 6 units and a high-power power supply with a current of 2800A by paralleling 13 units.

[0074] 7. The following alternatives can be adopted:

[0075] 1) CAN uses extended frames, and defines that each piece of data contains corresponding definitions, and the length of each piece of data does not exceed 8 bytes.

[0076] 2) The host uses the broadcast mode to set the mode, which increases the communication speed, reduces the bus burden, and does not require waiting time.

[0077] 3) Each device broadcasts its own modem status, and any device can query the current status of other devices.

[0078] 4) The communication speed is not less than 125kbps.

[0079] Key technical points of the present invention:

[0080] 1) Periodic automatic broadcast interval 100ms

[0081] 2) The communication interface is CAN, and its communication baud rate is required to be no less than 125Kbps

[0082] 3) Master and slave automatic identification algorithm.

[0083] 4) Manually specify the host method.

[0084] 5) Disconnection detection algorithm.

[0085] 6) Detection cycle.

[0086] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.

Claims

1. An internal protocol algorithm based on high-power water-cooled power parallel connection, characterized in that: Use CAN parallel communication, formulate CAN internal unique communication protocol, each power supply adopts distributed control, and realizes parallel linkage of multiple power supplies through external CAN parallel connection line; Each power supply can monitor the working conditions of other devices, that is, each power supply can become a host and monitor the operation of online power supplies at the same time. Once the power supply is abnormal or there is a new power supply, the host will modify the current operating current data of each unit in time through the software control algorithm; CAN adopts an asynchronous receiving processing method, sending and receiving are processed separately, and interrupt reception uses a task mode to cache data.

2. The internal protocol algorithm based on high-power water-cooled power parallel connection according to claim 1 is characterized in that: Features include: 1) Automatically broadcast the status, data and address of the device in 100ms period; 2) The algorithm detects the number of power supplies on the bus every 1 second; 3) Master-slave automatic identification algorithm: If there is no master on the bus temporarily, the master-slave mode on the bus is changed through a software algorithm based on the principle that the address with the smallest address is the master: 4) Manually specify the host method: When the local or remote control of this power supply sends a data modification, it will immediately change to the host mode, and the other power supplies will become slave modes, and modify the corresponding output values. The current value will be sent to the slave through the CAN bus. The power control part of the host will provide the basic current sharing signal, and the slave will automatically control the operation of the set current and voltage parameters; 5) Offline detection algorithm: If there is a device failure in the slave, the slave fault device will broadcast the fault information three times. After three times, the CAN bus broadcast data will be turned off, and the local power parameters will be set to 0 or the input power supply will be turned off; or the host will receive a 1000 millisecond timeout, and the slave will be judged to be offline; other devices will operate normally.

3. The internal protocol algorithm based on high-power water-cooled power parallel connection according to claim 2 is characterized in that: The detection algorithm control logic adopts a state machine rotation mechanism, the memory opens a maximum cache of 50, and the bus status data is detected every 1 second. Specifically, the steps include: After power-on, wait for 1000 milliseconds, read 50 cached internal data, and enter the next state; Analyze whether each set of data has timeout. If so, clear the current state, mark the data as invalid, record the offline state, and enter the next state. Check whether there is a host on the bus. If not, each unit may become the host. Each parameter automatically repeats the first state according to the reasonable multiple of the number of units on the bus. After three rounds of continuous detection, check whether there is a host on the bus. If no host is specified, it will be automatically assigned as the host according to the principle of minimum address, and the others will automatically become slaves, and then enter the repeated detection state; When a designated master is detected, other power supplies become slaves by default; Then enter the detection state again.

4. The internal protocol algorithm based on high-power water-cooled power parallel connection according to claim 3 is characterized in that: 1) Among multiple power supplies, at least one power supply should be used as a backup; 2) When configuring the master and slave devices, as long as the address is set at the factory, the slave devices can be added or removed at will; 3) The host can be specified at any time: you only need to operate one of the power supplies, including changing the current or voltage, to change the host.

5. The internal protocol algorithm based on high-power water-cooled power parallel operation according to any one of claims 1 to 4, characterized in that: Six power supplies can be connected in parallel to achieve a high-power power supply with a current of 1000A, and 13 power supplies can be connected in parallel to achieve a high-power power supply with a current of 2800A.