Liquid cooling unit control method and system based on Modbus RTU
By using the Modbus RTU protocol to achieve real-time communication and task scheduling between the liquid chiller unit and the host equipment, the problems of single control strategy and weak fault handling capability of the liquid chiller unit are solved, and precise control and efficient operation and maintenance are achieved.
Patent Information
- Application Number
- CN202511210538.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-11-18
AI Technical Summary
Existing liquid chiller units have a single control strategy that cannot be dynamically adjusted, poor communication stability, and weak fault handling capabilities, resulting in energy waste, limited equipment performance, and high operation and maintenance costs.
The Modbus RTU protocol is used to realize real-time communication between the liquid chiller unit and the host equipment, obtain equipment status and fault information, perform precise control and fault diagnosis through task scheduling mechanism, support telemetry and remote control commands, and improve control accuracy and fault response efficiency.
It achieves precise control of the liquid-cooled unit, reduces communication error rate, improves operation and maintenance efficiency and fault handling speed, and reduces maintenance costs.
Smart Images

Figure CN120972701A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of industrial automation control, and in particular to a liquid cooling unit control method and system based on Modbus RTU. BACKGROUND
[0002] Liquid cooling units are commonly used in data center cooling systems, industrial process cooling links, etc., and are indispensable equipment for temperature control in current industrial automation systems. The existing liquid cooling units mainly have the following shortcomings in control:
[0003] 1) Single control strategy: Traditional control methods mostly use fixed threshold control, which cannot dynamically adjust control parameters according to real-time operating conditions of liquid cooling units and external environmental changes, resulting in energy waste and limited device performance. For example, when the ambient temperature fluctuates, it cannot automatically optimize the refrigeration output, which may cause excessive refrigeration or insufficient refrigeration.
[0004] 2) Poor communication stability: Some communication protocols are easily disturbed in complex industrial environments, leading to data transmission errors or loss, affecting the accurate transmission of control instructions and real-time feedback of device status, and reducing system reliability and stability.
[0005] 3) Weak fault handling capability: The system cannot realize centralized monitoring of the operating state of the liquid cooling unit, and the fault warning is lagging, relying on manual troubleshooting, which significantly increases maintenance costs and downtime; field personnel need to view device operating information through professional software and complete multiple steps of operation, which is cumbersome and affects operation and maintenance efficiency and emergency response capability.
[0006] Therefore, the control method of the existing liquid cooling unit needs to be optimized and improved. SUMMARY
[0007] To overcome the shortcomings of the prior art, the application provides a liquid cooling unit control method and system based on Modbus RTU.
[0008] A liquid cooling unit control method based on Modbus RTU, which is applied to one or more liquid cooling unit devices that communicate with a preset host device through Modbus RTU protocol, and includes:
[0009] Real-time acquisition of any one or more of the operating state, key parameters and fault information of the current device;
[0010] Sending the acquired operating state, key parameters and fault information to the preset host device through Modbus RTU protocol communication;
[0011] Real-time receiving and executing of instruction information sent by the preset host device.
[0012] Optionally, the liquid cooling unit device comprises a water pump or a compressor.
[0013] Optionally, the instruction information comprises a telemetry instruction, and the telemetry instruction is used to make the liquid cooling unit device acquire any one or more of the running state, the key parameter and the fault information of the current device in real time.
[0014] Optionally, the instruction information comprises a remote control instruction, and the remote control instruction is used to control the liquid cooling unit device to realize a preset function.
[0015] Optionally, the Modbus RTU-based liquid cooling unit control method is also applied to the preset host device, and comprises the following steps:
[0016] setting a device address and a function parameter for one or more liquid cooling unit devices;
[0017] receiving and analyzing data sent by the liquid cooling unit device;
[0018] sending instruction information to one or more liquid cooling unit devices.
[0019] Optionally, a task scheduling mechanism is adopted, and the instruction information is sent to one or more liquid cooling unit devices according to a preset time period.
[0020] Optionally, when it is analyzed that the data sent by the liquid cooling unit device contains fault information, an alarm signal is sent and / or the instruction information is adjusted, and the adjusted instruction information is used to adjust the running parameter of the liquid cooling unit device.
[0021] A Modbus RTU-based liquid cooling unit control system is used to implement the Modbus RTU-based liquid cooling unit control method and comprises a preset host device and one or more liquid cooling unit devices that communicate with the preset host device through a Modbus RTU protocol.
[0022] The Modbus RTU-based liquid cooling unit control method and system focus on the precise control technology of the liquid cooling unit, use the Modbus RTU communication protocol to realize the precise control of various parameters of the liquid cooling unit, and aim to solve the problem that the liquid cooling unit is not precise and flexible in industrial production, a data center and the like. The technical scheme has a wide application prospect in a data center cooling system, an industrial process cooling link and various devices that need precise temperature control.
[0023] Compared with the prior art, the technical scheme has the following technical effects:
[0024] 1) Control accuracy is improved. The communication data transmission error rate is low, the running state can be adjusted in real time according to the actual working condition, the control instruction is accurately executed and the device state is real-time feedback, and the control precision is improved.
[0025] 2) The running state is convenient to view. The field staff can quickly and intuitively view the device running state through the host device without complex operation, and the operation and maintenance efficiency is improved.
[0026] 3) The fault processing efficiency is improved. The host device can feedback fault information in time, and through perfect fault processing mechanism, the fault can be quickly and accurately diagnosed and processed, the fault response time can be shortened, and the maintenance cost can be reduced. BRIEF DESCRIPTION OF DRAWINGS
[0027] Figure 1 The flow chart of the liquid cooling unit control method based on Modbus RTU in the embodiment of the application on the liquid cooling unit device;
[0028] Figure 2 The flow chart of the liquid cooling unit control method based on Modbus RTU in the embodiment of the application on the preset host device;
[0029] Figure 3 The framework diagram of the liquid cooling unit control system based on Modbus RTU in the embodiment of the application;
[0030] Figure 4 The control flow chart of the liquid cooling unit control system based on Modbus RTU in the embodiment of the application. DETAILED DESCRIPTION
[0031] In order to make the technical problems, technical schemes and beneficial effects to be solved by the application more clear and obvious, the application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application and not to limit the application.
[0032] A liquid cooling unit control method based on Modbus RTU is provided, which is applied to one or more liquid cooling unit devices in communication with a preset host device through Modbus RTU protocol. The preset host device is a computer host device and can be directly controlled by the staff. The liquid cooling unit device includes but is not limited to water pump, compressor and other liquid cooling related devices. Modbus RTU protocol is a serial communication protocol based on serial communication protocol such as RS485, RS232, etc. The flow at the liquid cooling unit device end is as shown in Figure 1 The steps include:
[0033] S1, real-time acquisition of any one or more of the running state, key parameters and fault information of the current device.
[0034] The running state includes but is not limited to the boot, shutdown, and fault of the device. The key parameters are related to the specific liquid cooling unit device, such as temperature, pressure, etc. The running state, key parameters and fault information can all be analyzed by the preset host device and provide basis for control decision.
[0035] S2, the acquired running state, key parameters, and fault information are sent to the preset host device through Modbus RTU protocol communication.
[0036] The liquid cooling unit device is the slave device of Modbus RTU communication, and the preset host device is the master device of Modbus RTU communication, and both sides are based on Modbus RTU protocol communication.
[0037] S3, real-time reception and execution of the instruction information sent by the preset host device.
[0038] The instruction information is used for the control of the liquid cooling unit device by the preset host device. The liquid cooling unit device as a slave device can be real-time acquired.
[0039] Further, the instruction information includes a telemetry instruction and a remote control instruction. The telemetry instruction is used to make the liquid cooling unit device real-time acquire any one or more of the running state, key parameters and fault information of the current device. The remote control instruction is used to control the liquid cooling unit device to realize the preset function, such as flexibly setting the unit control mode, enabling the on-off, starting and stopping the water pump, and setting the target water temperature and other parameters to meet the different working condition requirements.
[0040] As shown in Figure 2 The liquid cooling unit control method based on Modbus RTU is also applied to the preset host device, and includes the following steps:
[0041] S4, setting the device address and function parameters for one or more liquid cooling unit devices.
[0042] The device address is used to distinguish different liquid cooling unit devices for facilitating communication with the host. The function parameters are related to the specific liquid cooling unit device, including but not limited to enabling the on-off, working mode, etc.
[0043] S5, receiving and analyzing the data sent by the liquid cooling unit device.
[0044] Specifically, the data sent by the liquid cooling unit device has a predetermined bit number and format; the host device first analyzes the received data through a specific function to determine whether the data format is correct, and then analyzes to facilitate subsequent control. For example, by analyzing the fault information. Once a fault is detected, appropriate measures are taken quickly, such as adjusting the operating parameters, issuing an alarm signal, etc., to ensure stable operation of the system.
[0045] S6, sending instruction information to one or more liquid cooling unit devices.
[0046] The instruction information can not only obtain the running state of the liquid cooling unit water pump, compressor and other devices, and key parameters such as temperature and pressure, but also control and adjust the parameters of the liquid cooling unit device.
[0047] Further, the host device adopts a task scheduling mechanism to send instruction information to one or more liquid cooling unit devices according to a predetermined time period.
[0048] A liquid cooling unit control system based on Modbus RTU, as shown in Figure 3 The system includes a preset host device and one or more liquid cooling unit devices that communicate with the preset host device through the Modbus RTU protocol. The system is used to implement the above-mentioned liquid cooling unit control method based on Modbus RTU, which has been described above. To avoid repetition, this will not be repeated here.
[0049] For ease of understanding, the overall control process of liquid cooling control is illustrated by taking Figure 4 As an example. After the system is initialized, the host device enters the liquid cooling task loop, which includes: sending a remote control frame (remote control instruction) to the liquid cooling unit device with a period of 1000ms, sending a telemetry frame (telemetry instruction) to the liquid cooling unit device with a period of 500ms, communication state detection with the liquid cooling unit device, whether to execute the water temperature adjustment instruction, whether to execute the device parameter viewing instruction, and obtain the system state.
[0050] Among them, the communication state detection includes: when the communication is successful, the device parameters are analyzed and the failure count is reset; further detect whether the device is faulty, if there is a fault, report the system fault, if there is no fault, in this loop detection. When the communication fails, first accumulate the number of communication failures, and retry; when the number of failures exceeds 3 times, it is determined as a communication failure.
[0051] Whether to execute the water temperature adjustment instruction includes: when executing the water temperature adjustment instruction, first update the target water temperature parameter, and then print the modified target water temperature through the serial port.
[0052] Whether to execute the device parameter viewing instruction includes: when executed, the device parameters are printed through the serial port.
[0053] The system state acquisition comprises: judging whether the system is working, if yes, modifying the remote control parameter to working, if not working, continuing to judge whether the last state of the system is working; if the last state is working, performing 3-minute countdown, when the countdown reaches, modifying the remote control parameter to stop. Namely, automatically controlling the working state of the liquid cooling unit according to the system state, and linkage with the system. When the system is working, the liquid cooling unit is working, when the system stops working, the liquid cooling unit stops working after 3-minute countdown, playing a role of removing residual heat.
[0054] During the above control process, the user can view and control through the console. The console is connected with the host device, and at least comprises the functions of viewing the device state, supporting parameter adjustment and convenient operation. Among them, viewing the device state is used to acquire various parameters of the liquid cooling unit; supporting parameter adjustment is used to adjust the target water temperature through instructions; convenient operation includes inputting instructions to realize executing corresponding instructions.
[0055] The above is the description of the present application, which is used to help understand the present application, but the embodiments of the present application are not limited by the above examples, any change, modification, replacement, combination, simplification made without departing from the principle of the present application should be equivalent replacement mode, and all are included in the protection scope of the present application.
Claims
1. A Modbus RTU-based liquid chiller unit control method, characterized by, The liquid cooling unit control method based on Modbus RTU is applied to one or more liquid cooling unit devices in communication with a preset host device through Modbus RTU protocol, and comprises the following steps: Real-time acquisition of any one or more of the running state, key parameters and fault information of the current device; Sending the acquired running state, key parameters and fault information to the preset host device through Modbus RTU protocol communication; Real-time reception and execution of the instruction information sent by the preset host device.
2. The Modbus RTU-based liquid chiller unit control method of claim 1, wherein, The liquid cooling unit device comprises a water pump or a compressor.
3. The Modbus RTU-based liquid chiller unit control method of claim 1, wherein, The instruction information comprises a telemetry instruction for the liquid cooling unit device to acquire any one or more of the running state, key parameters and fault information of the current device in real time.
4. The Modbus RTU-based liquid chiller unit control method of claim 1, wherein, The instruction information comprises a remote control instruction for controlling the liquid cooling unit device to realize a preset function.
5. The Modbus RTU based liquid chiller unit control method according to any one of claims 1 to 4, wherein, The liquid cooling unit control method based on Modbus RTU is also applied to the preset host device, and comprises the following steps: Setting device addresses and function parameters for one or more liquid cooling unit devices; Receiving and analyzing the data sent by the liquid cooling unit device; Sending instruction information to one or more liquid cooling unit devices.
6. The Modbus RTU-based liquid chiller unit control method of claim 5, wherein, The sending of instruction information to one or more liquid cooling unit devices comprises: Using a task scheduling mechanism to send instruction information to one or more liquid cooling unit devices according to a preset time period.
7. The Modbus RTU-based liquid chiller unit control method of claim 5, wherein, When analyzing and analyzing the data sent by the liquid cooling unit device contains fault information, an alarm signal is sent and / or the instruction information is adjusted, and the adjusted instruction information is used to adjust the running parameters of the liquid cooling unit device.
8. A liquid cooling unit control system based on Modbus RTU, characterized in that, The liquid cooling unit control system based on Modbus RTU is used to realize the liquid cooling unit control method based on Modbus RTU as claimed in any one of claims 1 to 7, and comprises a preset host device and one or more liquid cooling unit devices in communication with the preset host device through Modbus RTU protocol.
Citation Information
Patent Citations
Backup system for temperature control units of liquid cooling unit and control method thereof
CN106358425A
Environment control system of energy storage system
CN118732482A
Distributed liquid cooling control system, central coordination controller and cooling control unit
CN118928087A
Energy storage cold plate type liquid cooling unit control system
CN119401028A
Power exchange station liquid cooling control system based on PLC control
CN120143907A