Control method and system of terminal and main machine in refrigeration system and storage medium
By linking and controlling the terminal and main unit in the refrigeration system, demand commands and status information are obtained, control commands are generated and responded to, the problem of abnormal operation of the main unit and terminal is solved, and the stable operation of the system and the improvement of user experience are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN ENVICOOL TECH
- Filing Date
- 2022-12-02
- Publication Date
- 2026-04-28
AI Technical Summary
In existing refrigeration systems, abnormal situations may occur during the operation of the main unit and the terminal unit. For example, the main unit may be running while the electronic expansion valve of the terminal unit is closed, preventing the refrigerant from flowing back. Or, the electronic expansion valve of the terminal unit may be open while the main unit is not open, resulting in incomplete evaporation of the refrigerant and causing the system to malfunction.
By implementing linkage control between the terminal and the main unit in the refrigeration system, demand commands and status information are obtained, corresponding control commands are generated, and responses are made based on feedback information from the main unit, ensuring that the main unit and the terminal are turned on or off synchronously, reducing the occurrence of system abnormalities.
It increases the linkage between the host and the terminal, ensures the normal operation of the system, reduces the occurrence of abnormal situations, and outputs prompts in a timely manner when abnormalities occur, thereby improving the user experience.
Smart Images

Figure CN115978850B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of refrigeration equipment technology, and in particular relates to a control method for a terminal in a refrigeration system, a control method for a host in a refrigeration system, ... and a computer-readable storage medium. Background Technology
[0002] The phase change cooling system includes ECM (Evaporating Condenser Modules, outdoor evaporative condenser heat dissipation modules), CCM (Cooling Conveyor Modules, cooling capacity distribution modules), and TCM (Terminal Cooling Modules, indoor terminal heat dissipation modules). The ECM is the main unit module (referred to as the main unit), which mainly consists of a compressor, refrigerant pump, and condenser, providing cooling capacity for the entire system. The CCM is the system refrigerant piping, distributing the refrigerant cooled by the main unit to each terminal and collecting the refrigerant returning from each terminal and sending it back to the main unit. The TCM is the terminal cooling module (referred to as the terminal), where the refrigerant exchanges heat with the indoor air in the coils, thus achieving a phase change of the refrigerant, carrying away heat from the indoor air, and lowering the indoor temperature to achieve a cooling effect.
[0003] The terminals of the phase change cooling system are distributed in different areas, each with an independent controller. The controller determines whether the terminal needs to start cooling based on the environmental conditions of that terminal and adjusts the electronic expansion valve and fan to regulate the cooling capacity. The main unit also has an independent controller to control components such as the compressor, refrigerant pump, and condenser fan. However, the following abnormal situations may occur in actual operation of the main unit and terminals: When the main unit is running and all electronic expansion valves of the terminals are closed, the refrigerant delivered to the terminals cannot return to the main unit, leading to abnormal system operation; when the electronic expansion valves of the terminals are open but the main unit is not open, the refrigerant will not evaporate completely and will enter the gas pipes, unable to return to the main unit, also causing the system to malfunction.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] Based on this, it is necessary to propose a control method for the terminal in a refrigeration system, a control method for the host in a refrigeration system, a refrigeration system, and a computer-readable storage medium to address the above problems.
[0006] The technical problem solved by this application is achieved by the following technical solution:
[0007] This application provides a control method for a terminal in a refrigeration system, comprising the following steps: acquiring demand commands and status information, wherein the demand commands include an on or off command, and the status information includes host status information and / or terminal status information; generating control commands based on the demand commands and status information; responding according to the control commands; or, sending the control commands to the host and responding according to feedback information sent back by the host.
[0008] In an optional embodiment of this application, when the demand instruction is an activation instruction and the status information is host status information, a control instruction is generated based on the demand instruction and the status information, including: determining the host status based on the host status information; when the host status information determines that the host is in an activating state, generating a cooling control instruction; or, when the host status information determines that the host is in a deactivating state, generating an activation control instruction.
[0009] In an optional embodiment of this application, a control command is sent to the host, and a response is made based on the feedback information sent back by the host, including: when the control command is a power-on control command, the power-on control command is sent to the host to control the host to turn on, and the feedback information sent back by the host is continuously obtained; if a power-on success message is received from the host within a preset time, a cooling control command is generated to control the first terminal to start cooling; if a power-on failure message is received from the host within a preset time, a host power-on failure message is generated and output; if no feedback message is received from the host within a preset time, a power-on control command is generated again and sent to the host.
[0010] In an optional embodiment of this application, when the demand instruction is a shutdown instruction and the status information is terminal status information, a control instruction is generated based on the demand instruction and the status information, including: determining whether a second terminal is running based on the terminal status information; the refrigeration system includes multiple terminals, including a first terminal and a second terminal, the second terminal being all terminals except the first terminal; when a second terminal is running, a terminal shutdown control instruction is generated to control the shutdown of the first terminal; or, when no second terminal is running, a shutdown request instruction is generated to request control to shut down the first terminal and the host.
[0011] In an optional embodiment of this application, a control command is sent to the host, and a response is made based on the feedback information sent back by the host, including: when the control command is a shutdown request command, a shutdown request command is sent to the host, and feedback information sent back by the host is continuously obtained; if a shutdown permission information is received from the host within a preset time, a terminal shutdown control command is generated to control the shutdown of the first terminal; if no feedback information is received from the host within the preset time, a shutdown request command is generated again and sent to the host.
[0012] This application also provides a control method for a host in a refrigeration system, applied to the host, comprising the following steps: obtaining a control command sent from a first terminal, the control command including a power-on control command or a power-off request command; responding according to the control command and generating feedback information to send to the first terminal.
[0013] In an optional embodiment of this application, responding to a control command and generating feedback information to send to the first terminal includes: when the control command is a power-on control command, determining whether the host can be powered on normally; if the host can be powered on normally, starting the host according to the power-on control command, generating feedback information including power-on success information, and sending power-on success information to the first terminal; if the host cannot be powered on normally, generating feedback information including power-on failure information, and sending power-on failure information to the first terminal.
[0014] In an optional embodiment of this application, responding to a control command and generating feedback information to send to the first terminal includes: when the control command is a shutdown request command, determining whether the terminal in the cooling system has a cooling demand, the cooling system including multiple terminals, including a first terminal and a second terminal, the second terminal being all terminals except the first terminal; if the second terminal does not have a cooling demand, controlling the shutdown host according to the shutdown request command, generating feedback information including permission to shut down, and sending permission to shut down to the first terminal; if the second terminal has a cooling demand, maintaining the operating state of the host, generating feedback information including permission to shut down, and sending permission to shut down to the first terminal.
[0015] This application also provides a refrigeration system, including a main unit and a first terminal; the first terminal is used to execute the control method for the terminal in the refrigeration system as described above; the main unit is used to execute the control method for the main unit in the refrigeration system as described above.
[0016] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described above.
[0017] The embodiments of this application have the following beneficial effects:
[0018] This application can generate corresponding control commands based on the status information at the host or terminal when the first terminal receives a demand command, thereby increasing the linkage between the host and terminal in the refrigeration system, ensuring that the host and terminal in the system can be turned on or off simultaneously, thereby reducing the occurrence of abnormal system operation.
[0019] The above description is merely an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it according to the contents of the specification, and to make the above-mentioned solutions and other objects, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and do not limit this application. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] in:
[0022] Figure 1 This is a flowchart illustrating a terminal control method in a refrigeration system provided in Embodiment 1.
[0023] Figure 2 A simplified structural diagram illustrating the connection relationships between various components in an existing refrigeration system;
[0024] Figure 3 A simplified schematic diagram of the terminal structure in an existing refrigeration system;
[0025] Figure 4 This is a flowchart illustrating the control method of the terminal in the refrigeration system when the demand command is an activation command, as provided in Embodiment 2.
[0026] Figure 5 This is a flowchart illustrating the control method of the terminal in the refrigeration system when the demand command is a shutdown command, as provided in Embodiment 3.
[0027] Figure 6 This is a flowchart illustrating a control method for the main unit in a refrigeration system provided in Embodiment 4.
[0028] Figure 7 This is a flowchart illustrating the method by which the main unit responds to control commands in the refrigeration system provided in Embodiment 5.
[0029] Figure 8 This is a schematic block diagram of the refrigeration system provided in Example 6. Detailed Implementation
[0030] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0031] Example 1
[0032] Figure 1 This is a flowchart illustrating a terminal control method in a refrigeration system according to Embodiment 1. For a clearer description of the terminal control method in this embodiment, please refer to... Figures 1-3 .
[0033] The method provided in this application is applicable to both the terminal units and the main unit in a phase change cooling system (hereinafter referred to as the refrigeration system or system). The refrigeration system includes an ECM (Electronic Controlled Module) for the main unit, a TCM (Transported Cooling Module) as the terminal unit, and a CCM (Conducting Cooling Module) connecting the two for refrigerant transfer. The main unit provides cooling capacity to the entire system; the CCM distributes the refrigerant cooled by the main unit to each terminal unit and collects the refrigerant returning from each terminal unit and sends it back to the main unit, serving as the connection between the main unit and the terminal units; the TCM is the terminal unit that ultimately achieves cooling. It should be noted that a cooling system can include multiple terminals. The refrigerant exchanges heat with the indoor air in the coils of the terminal units, thereby achieving a phase change of the refrigerant, removing heat from the indoor air, and simultaneously lowering the indoor temperature to achieve a cooling effect. Specific structural diagrams of the refrigeration system and the terminal cooling system can be found in the following references: Figure 2 and Figure 3 ,for Figure 2 The provided refrigeration system settings, and Figure 3The principles underlying how the provided terminals achieve cooling are relatively well-established, and therefore will not be elaborated upon here. The refrigeration system mainly includes two cooling modes: compressor refrigeration and natural cooling mode. In the former, the compressor in the main unit evaporates the liquid refrigerant into a gaseous state, which is then transferred to the terminal for heat dissipation. The refrigerant then returns to a liquid state and is sent back to the main unit for cooling. In the latter, the temperature difference between the main unit and the terminal utilizes the circulating refrigerant to achieve cooling. This application does not propose any improvements to the specific structure of the system, and the relevant technology is existing; therefore, it will only be briefly described here without further elaboration. As can be seen from the above description, the refrigerant in the main unit and the terminal plays a crucial role in the cooling process. When the main unit is running and all electronic expansion valves in the terminal are closed, the refrigerant sent to the terminal cannot return to the main unit, leading to abnormal system operation. When the electronic expansion valves in the terminal are open but the main unit is not, the refrigerant will not evaporate completely and will enter the gas pipe, unable to return to the main unit, also causing the unit to malfunction. Therefore, it is necessary to achieve linkage control between the main unit and the terminal. For this purpose, the control method for the terminal in the refrigeration system provided in this application is proposed, including steps S110 to S130. The method described in Embodiment 1 of this application is applied to the first terminal. From the foregoing description and... Figure 2 As shown in the illustration, a refrigeration system can include multiple terminals, which can be further divided into first terminals and second terminals. The concepts of first terminal and second terminal are relative. Each terminal has its own controller, so any terminal can be a first terminal, while the remaining terminals in the system other than the first terminals are second terminals.
[0034] Step S110: Obtain the demand command and status information. The demand command includes an enable command or a disable command, and the status information includes host status information and / or terminal status information.
[0035] In one embodiment, in a refrigeration system, the presence of cooling demand is primarily determined by the terminal devices, i.e., demand commands, including on / off commands. Upon receiving a demand command, status information needs to be acquired simultaneously. This status information mainly pertains to the operational information of other devices in the system, including host status information and / or terminal status information. Specifically, host status information is used to determine the on / off status of the host device, while terminal status information focuses on the operational status of the second terminal device. Furthermore, the acquired demand commands and the required status information are matched; specifically, upon receiving an on / off command, host status information is acquired; and upon receiving a off / off command, terminal status information is acquired. Detailed implementation methods will be described in detail later and will not be elaborated upon here.
[0036] Step S120: Generate control instructions based on demand instructions and status information.
[0037] Step S130: Respond according to the control command; or, send the control command to the host and respond according to the feedback information sent back by the host.
[0038] In one implementation, as mentioned above, the acquired demand instructions and the required state information are matched, and therefore the corresponding generated control instructions are also matched. For example, the "on" instruction is a control instruction related to turning on the cooling at the terminal; while the "off" instruction is a control instruction related to turning off the main unit and / or the first terminal. It is understood that the "on" and "off" instructions are two independent processes in their implementation, from generation to subsequent response. Therefore, in the following sections, the implementation of the scheme will be described separately for the "on" and "off" instruction processes.
[0039] In one embodiment, when the demand command is an activation command and the status information is host status information, in step S120: generating a control command based on the demand command and the status information includes: determining the host status based on the host status information; generating a cooling control command when the host is determined to be in an activating state based on the host status information; or generating an activation control command when the host is determined to be in a deactivating state based on the host status information.
[0040] In one embodiment, as described above, the main unit is the module that provides cooling capacity to the entire refrigeration system. Therefore, when the first terminal receives the start command, it needs to determine the main unit's status, that is, whether the main unit is in a stopped state based on the main unit's status information. The first terminal can only start refrigeration after the main unit is turned on. If the terminal needs to be turned on but the main unit is in a stopped state, the terminal's electronic expansion valve cannot open. If it does open, there is a high probability that liquid will return to the system, causing the system to malfunction. Therefore, when the main unit is stopped, the terminal must send a request to the main unit to start simultaneously, that is, generate a start control command. When the main unit is determined to be in a started state based on the main unit's status information, a refrigeration control command can be directly generated. In step S130: responding according to the control command, the first terminal can directly open the electronic expansion valve according to the refrigeration control command to perform refrigeration.
[0041] In one embodiment, step S130 involves sending a control command to the host and responding based on feedback information from the host, including: when the control command is a power-on control command, sending the power-on control command to the host to control the host to power on, and continuously acquiring feedback information from the host; if a power-on success message is received from the host within a preset time, generating a cooling control command to control the first terminal to start cooling; if a power-on failure message is received from the host within a preset time, generating and outputting a host power-on failure message; if no feedback message is received from the host within a preset time, generating a power-on control command again and sending it to the host.
[0042] In one implementation, if the control command is a power-on control command, the host computer's cooperation is required. Therefore, the power-on control command can be sent to the host computer to control its startup. The system then waits for feedback from the host computer before proceeding with subsequent steps. The host computer's feedback status can include three scenarios: 1. Receiving a successful startup message from the host computer within a preset time; 2. Receiving a startup failure message from the host computer within a preset time; 3. Not receiving feedback from the host computer within a preset time. Specifically, in the first scenario, the host computer has successfully started, and the first terminal can directly open the electronic expansion valve according to the cooling control command to perform cooling. In the second scenario, it indicates that there is an error or malfunction on the host computer side that prevents it from starting, i.e., cooling cannot be achieved. Therefore, a host startup failure message can be generated and output to inform the user of the specific reason: a malfunction on the host computer prevents cooling. In the third scenario, a timeout occurs due to unknown reasons. Therefore, a power-on control command can be generated again and resent to the host computer to repeat the aforementioned steps, ensuring successful startup of the host computer or confirming a malfunction on the host computer side. Furthermore, the number of repetitions can be set, and the specific settings can be configured by the manufacturer or user; no limitation is made here. If no feedback is received from the host after the preset number of executions, a corresponding prompt message can be generated to indicate that the cooling cannot be turned on for unknown reasons. It is worth noting that in all three cases of this embodiment, a preset time is required as the basis for determining success, failure, or timeout. Similarly, the specific value of the preset time can be set by the manufacturer or user; no limitation is made here. Moreover, the three cases do not have to use the same standard; that is, the three preset times are independent of each other. Similarly, the specific settings can be arbitrarily configured according to the actual situation; no restrictions are imposed here, only a brief explanation is given. Therefore, according to this embodiment, a comprehensive explanation is given for the case where the demand command is an "on" command, so that the first terminal can be synchronously turned on for cooling with the host, increasing the linkage between the first terminal and the host, comprehensively covering the situations that may be encountered when a turn-on demand is made, ensuring the normal start-up of the cooling function, reducing the occurrence of failures, and outputting prompts in a timely manner when an abnormality occurs, so as to quickly resolve the fault, reduce extra operations, and improve the user experience.
[0043] In one embodiment, when the demand command is a shutdown command and the status information is terminal status information, in step S120: a control command is generated based on the demand command and the status information, including: determining whether a second terminal is running based on the terminal status information; the refrigeration system includes multiple terminals, including a first terminal and a second terminal, the second terminal being all terminals except the first terminal; when a second terminal is running, a terminal shutdown control command is generated to control the shutdown of the first terminal; or, when no second terminal is running, a shutdown request command is generated to request control to shut down the first terminal and the host.
[0044] In one embodiment, as described above, the refrigeration system includes multiple terminals, which can be further divided into first terminals and second terminals. The main unit is the module that provides cooling capacity to the entire system. Therefore, when the first terminal needs to be shut down, it is necessary to determine whether the second terminal is also shut down. If all terminals are forcibly shut down before the main unit is shut down, the refrigerant cannot return to the main unit, causing system abnormalities. That is to say, before the main unit is shut down, it is necessary to determine whether all terminals in the system are shut down. Therefore, the first terminal needs to determine whether it is the last operating terminal in the system, which is determined by obtaining terminal status information. When the first terminal determines, based on the obtained terminal status information, that is, the second terminal is still operating in the system, i.e., the first terminal is not the last operating terminal, it can directly generate a terminal shutdown control command. In step S130: responding to the control command, the electronic expansion valve of the first terminal is closed to shut down the refrigeration. If the first terminal determines, based on the obtained terminal status information, that the second terminal is not operating in the system, i.e., the first terminal is the last operating terminal. A shutdown request command needs to be generated first. The host can only shut down the first terminal after it confirms that shutdown is possible.
[0045] In one embodiment, step S130: sending a control command to the host and responding according to the feedback information sent back by the host includes: when the control command is a shutdown request command, sending the shutdown request command to the host and continuously obtaining the feedback information sent back by the host; if the host sends back permission to shut down within a preset time, generating a terminal shutdown control command to control the shutdown of the first terminal; if the host does not send back any feedback information within the preset time, generating a shutdown request command again and sending it to the host.
[0046] In one embodiment, if the control command is a shutdown request command, the host's cooperation is also required. The first terminal can only shut down after the host sends back feedback information. The host's feedback information status can specifically include two situations: 1. Receiving a shutdown permission message from the host within a preset time; 2. Not receiving feedback information from the host within a preset time. Specifically, in the first situation, the host has already granted shutdown permission to the first terminal, so the first terminal can generate a shutdown control command in response, shutting down the cooling by closing the electronic expansion valve of the first terminal. In the second situation, where a timeout occurs due to unforeseen reasons, a shutdown request command can be generated again and resent to the host to repeat the aforementioned steps, ensuring the host successfully returns a shutdown permission message. Furthermore, the number of repetitions can be set, and the specific settings can be determined by the manufacturer or user; no limitation is made here. Similarly, the specific value of the preset time can be set by the manufacturer or user; no limitation is made here. Furthermore, the two scenarios can be based on different standards; that is, the two preset times are independent of each other. The specific settings can be arbitrarily configured according to actual conditions, and are not limited here, only briefly explained. Moreover, in this embodiment, the first terminal obtains a shutdown permission message from the host. That is, the first terminal only needs to confirm that the host allows it to shut down; whether the host is shut down or not does not affect the shutdown of the first terminal. Because when the first terminal sends a shutdown request command, the host may receive a cooling request from the second terminal. This situation falls under the host's control method, which will be described in detail in the corresponding method section later, and will not be elaborated upon here.
[0047] Therefore, this application can generate corresponding control commands based on the status information at the host or terminal when the first terminal receives a demand command, thereby increasing the linkage between the host and terminal in the refrigeration system. This ensures that the host and terminal in the system can be turned on or off simultaneously, reducing the occurrence of system malfunctions. Furthermore, the terminal control method in the refrigeration system provided in one embodiment of this application can control the on / off states as two independent branches, ensuring that the first terminal can be turned on or off in coordination and linkage with the host. During execution, retrying can be performed for abnormal situations, further ensuring synchronized on / off states between the terminal and host. In case of abnormalities, corresponding prompts are generated and output promptly, allowing users to understand the cause of system abnormalities and troubleshoot accordingly, improving system efficiency, increasing user convenience, and enhancing the user experience.
[0048] Example 2
[0049] Figure 4 This is a flowchart illustrating the control method for the terminal unit in the refrigeration system when the demand command is an enable command, as provided in Embodiment 2. For a clearer description of the terminal unit control method in the refrigeration system provided in this embodiment, please refer to... Figures 1-4 .
[0050] Step S410: Determine the host status based on the host status information.
[0051] In one embodiment, as described above, the main unit is the module that provides cooling capacity to the entire refrigeration system. Therefore, when the first terminal receives the start command, it needs to determine the status of the main unit, that is, to determine whether the main unit is in a stopped state based on the main unit status information. Based on the operating status of the main unit, corresponding control commands are generated to comprehensively address possible situations, fully ensure the linkage between the first terminal and the main unit, and ensure the smooth start of the cooling function.
[0052] Step S420: When the host is determined to be powered on based on the host status information, a cooling control command is generated.
[0053] In one embodiment, when the host is determined to be powered on based on the host status information, a cooling control command can be directly generated so that the first terminal can directly open the electronic expansion valve to perform cooling, thereby ending the process of activating the cooling requirement.
[0054] Step S430: When the host is determined to be in a stopped state based on the host status information, a power-on control command is generated.
[0055] In one implementation, if the terminal unit needs to be turned on but the main unit is in a stopped state, the electronic expansion valve at the terminal unit cannot be opened. Forcing it to open would greatly increase the likelihood of liquid backflow into the system, causing it to malfunction. Therefore, when the main unit is stopped, the terminal unit must send a request to the main unit to turn on simultaneously, i.e., generate a power-on control command. Only after ensuring the main unit is powered on can the first terminal unit begin its cooling function normally according to the established procedure.
[0056] Step S440: Send the power-on control command to the host to control the host to turn on, and continuously obtain feedback information sent back by the host.
[0057] Step S450: If a successful power-on message is received from the host within a preset time, a cooling control command is generated to control the first terminal to start cooling.
[0058] Step S460: If a power-on failure message is received from the host within a preset time, then generate and output the host power-on failure message.
[0059] Step S470: If no feedback is received from the host within the preset time, the power-on control command is generated again.
[0060] After step S470, return to step S440.
[0061] In one embodiment, if the control command is a power-on control command, the host computer's cooperation is required. Therefore, the power-on control command can be sent to the host computer to control its startup. The system waits for feedback from the host computer before proceeding with subsequent steps. The host computer returns feedback information in three possible states: 1. A successful startup message is received from the host computer within a preset time; 2. A startup failure message is received from the host computer within a preset time; 3. No feedback message is received from the host computer within a preset time. Specifically, in the first case, the host computer has successfully started, and the first terminal can directly open the electronic expansion valve according to the cooling control command to perform cooling. In the second case, it indicates that there is an error or malfunction on the host computer side that prevents it from starting, i.e., cooling cannot be achieved. Therefore, a host startup failure message can be generated and output to inform the user of the specific reason: a malfunction on the host computer prevents cooling. In the third case, a timeout occurs due to unknown reasons. Therefore, a power-on control command can be generated again and resent to the host computer to repeat the aforementioned step S440. This repeated execution ensures successful startup of the host computer or confirms a malfunction on the host computer side. Furthermore, the number of repetitions can be set, and the specific settings can be determined by the manufacturer or the user; no limitation is made here. If no feedback is received from the host after the preset number of executions, a corresponding prompt message can be generated to indicate that the cooling system cannot be turned on for unknown reasons. It is worth noting that in all three scenarios of this embodiment, a preset time is required as the basis for determining success, failure, or timeout. Similarly, the specific value of the preset time can be set by the manufacturer or the user; no limitation is made here. Moreover, the three scenarios do not necessarily use the same standard; that is, the three preset times are independent of each other. Again, the specific settings can be arbitrarily configured according to actual conditions; no restrictions are imposed here, only a brief explanation is provided.
[0062] Therefore, this application can generate corresponding control commands based on the status information at the host or terminal when the first terminal receives a demand command, thereby increasing the linkage between the host and terminal in the refrigeration system. This ensures that the host and terminal in the system can be turned on or off simultaneously, reducing the occurrence of abnormal system operation. Furthermore, the terminal control method in the refrigeration system provided in one embodiment of this application can comprehensively cover and resolve potential situations for the demand command as an on command, ensuring that the first terminal can start refrigeration synchronously with the host, increasing the linkage between the first terminal and the host, ensuring the normal operation of the refrigeration function at the first terminal, reducing the occurrence of faults, and promptly outputting prompts when abnormalities occur for quick fault resolution, reducing additional operations and improving user experience.
[0063] Example 3
[0064] Figure 5 This is a flowchart illustrating the control method for the terminal unit in the refrigeration system when the demand command is a shutdown command, as provided in Embodiment 3. For a clearer description of the terminal unit control method in the refrigeration system provided in this embodiment, please refer to... Figures 1-3 and Figure 5 .
[0065] Step S510: Determine whether a second terminal is running based on the terminal status information.
[0066] In one embodiment, a refrigeration system may include multiple terminals, with "first terminal" and "second terminal" being relative concepts. Each terminal has its own controller, so any terminal can be a first terminal, and the remaining terminals in the system besides the first terminals are second terminals. As mentioned above, the refrigeration system includes multiple terminals, which can be further divided into first terminals and second terminals, and the main unit is the module that provides cooling capacity to the entire system. Therefore, when a first terminal needs to be shut down, it is necessary to determine whether the second terminals are also shut down. If all terminals are forcibly shut down before the main unit is shut down, the refrigerant cannot return to the main unit, causing system abnormalities. That is to say, before shutting down the main unit, it is necessary to ensure that all terminals in the system are shut down. Therefore, a first terminal needs to determine whether it is the last operating terminal in the system, which is determined by obtaining terminal status information.
[0067] Step S520: When a second terminal is running, a terminal shutdown control command is generated to control the shutdown of the first terminal.
[0068] In one embodiment, when the first terminal determines, based on the acquired terminal status information, that there is still a second terminal running in the system, that is, the first terminal is not the last running terminal, it can directly generate a terminal shutdown control command to end the process of shutting down the first terminal.
[0069] Step S530: If no second terminal is running, generate a shutdown request instruction to request control to shut down the first terminal and the host.
[0070] Step S540: Send the shutdown request instruction to the host and continuously obtain feedback information sent back by the host.
[0071] Step S550: If a shutdown permission message is received from the host within a preset time, a terminal shutdown control command is generated to control the shutdown of the first terminal.
[0072] Step S560: If no feedback is received from the host within the preset time, generate a close request instruction again.
[0073] After step S560, return to step S540.
[0074] In one embodiment, if the control command is a shutdown request command, the host's cooperation is also required. The first terminal can only shut down after the feedback information sent back by the host is confirmed. The host's feedback information status can specifically include three situations: 1. Receiving a shutdown permission message from the host within a preset time; 2. Not receiving a feedback message from the host within a preset time. Specifically, in the first situation, the host has already granted shutdown permission to the first terminal, so the first terminal can generate a shutdown control command to respond, shutting down the cooling by closing the electronic expansion valve of the first terminal. In the second situation, where a timeout occurs due to unforeseen reasons, a shutdown request command can be generated again and resent to the host to repeat the aforementioned steps, including step S540, to ensure the host successfully returns a shutdown permission message. Furthermore, the number of repetitions can be set, and the specific settings can be determined by the manufacturer or user; this is not limited here. Similarly, the specific value of the preset time can be set by the manufacturer or user; this is not limited here. Furthermore, the two scenarios can be based on different standards; that is, the two preset times are independent of each other. The specific settings can be arbitrarily configured according to actual conditions, and are not limited here, only briefly explained. Moreover, in this embodiment, the first terminal obtains a shutdown permission message from the host. That is, the first terminal only needs to confirm that the host allows it to shut down; whether the host is shut down or not does not affect the shutdown of the first terminal. Because when the first terminal sends a shutdown request command, the host may receive a cooling request from the second terminal. This situation falls under the host's control method, which will be described in detail in the corresponding method section later, and will not be elaborated upon here.
[0075] Therefore, this application can generate corresponding control commands based on the status information at the host or terminal when a demand command is received at the first terminal, thereby increasing the linkage between the host and terminal in the refrigeration system. This ensures that the host and terminal in the system can be turned on or off simultaneously, reducing the occurrence of abnormal system operation. Furthermore, the terminal control method in the refrigeration system provided in one embodiment of this application can also comprehensively cover and resolve possible situations when the demand command is a shutdown command, ensuring that the first terminal can be shut down normally, increasing the linkage between the first terminal and the host, ensuring the normal shutdown of the refrigeration function at the first terminal, reducing the occurrence of faults, and promptly outputting prompts when abnormalities occur for quick fault resolution, reducing additional operations and improving user experience.
[0076] Example 4
[0077] Figure 6This is a flowchart illustrating a control method for the main unit in a refrigeration system according to Embodiment 4. For a clearer description of the control method for the main unit in the refrigeration system provided in this embodiment, please refer to... Figures 1-6 .
[0078] Step S610: Obtain control commands sent from the first terminal, including power-on control commands or power-off request commands.
[0079] In one embodiment, how the first end is generated and under what circumstances the corresponding control instructions are generated have been described in detail in Embodiments 1 to 3 above. Please refer to the relevant descriptions above for details, and they will not be repeated here.
[0080] Step S620: Respond to the control command and generate feedback information to send to the first terminal.
[0081] In one implementation, as mentioned above, the enable and disable instructions are two independent processes in their implementation, from generation to subsequent response. Therefore, in the following sections, the implementation of the scheme will be described separately for the enable and disable instructions.
[0082] In one embodiment, step S620: responding to the control command and generating feedback information to send to the first terminal includes: when the control command is a power-on control command, determining whether the host can be powered on normally; if the host can be powered on normally, starting the host according to the power-on control command, generating feedback information including power-on success information, and sending power-on success information to the first terminal; if the host cannot be powered on normally, generating feedback information including power-on failure information, and sending power-on failure information to the first terminal.
[0083] In one embodiment, when the first terminal sends a power-on control command, it indicates that the host is in a powered-off state. Upon powering on, the host can perform a self-test to determine if it has any faults and whether it can power on normally. Based on the results of the self-test, corresponding feedback information is generated. If the host powers on normally, a power-on success message is generated; if the host cannot power on normally, a power-on failure message is generated. This feedback information is then sent back to the first terminal. Specifically, when sending back feedback information including power-on failure information, the feedback information may include the specific reason for the host's power-on failure. This ensures that the first terminal includes this information when generating the power-on failure message, allowing the user to clearly understand the cause of the anomaly and take timely action to ensure the normal operation of the system.
[0084] In one embodiment, step S620: responding to the control command and generating feedback information to send to the first terminal includes: when the control command is a shutdown request command, determining whether the terminal in the cooling system has a cooling demand, the cooling system includes multiple terminals, including a first terminal and a second terminal, the second terminal being all terminals except the first terminal; if the second terminal does not have a cooling demand, controlling the shutdown host according to the shutdown request command, generating feedback information including permission to shut down, and sending permission to shut down to the first terminal; if the second terminal has a cooling demand, maintaining the operating state of the host, generating feedback information including permission to shut down, and sending permission to shut down to the first terminal.
[0085] In one implementation, when the host receives a shutdown request instruction, it indicates that the first terminal that sent the instruction is the last running terminal in the system. Before the host shuts down, a judgment needs to be made to determine whether there is a cooling request from a second terminal at the time the first terminal sent the shutdown request instruction and the host received it. It is understood that, as the module providing cooling capacity in the system, the host, although not receiving power-on control instructions from terminals during startup, still needs to send cooling requests to the host to achieve cooling, thus enabling the host and terminals to coordinate and achieve cooling. Therefore, if a cooling request from a second terminal is received within this time period, it means that the host cannot shut down, and the first terminal will no longer be the last running terminal. Therefore, while maintaining the host's running state, feedback information including permission to shut down can be generated and sent to the first terminal to allow it to shut down normally. If no cooling demand is received from the second terminal within the timeframe between the first terminal sending the shutdown request and the host receiving the shutdown request, the first terminal can be determined as the last operating terminal. To ensure normal system operation and reduce system anomalies such as refrigerant backflow, the host can shut down first, and then send feedback information including permission to shut down to the first terminal, allowing the first terminal to shut down subsequently, thus safely and normally ending the cooling process. Furthermore, the "timeframe between the first terminal sending the shutdown request and the host receiving the shutdown request" mentioned above can be extended. It is understandable that shortly after the host shuts down, a new power-on control command from the first terminal might be received, causing the host to repeatedly power on and off for a certain period. To avoid system anomalies caused by repeated power-on and power-off, the host can immediately send feedback information including permission to shut down upon receiving the shutdown request command from the first terminal. It can also reduce its operating efficiency to a semi-standby or standby state, and if no cooling demand or power-on control command is received after a preset time, it will also shut down. This avoids the host repeatedly turning on and off, further improving system stability.
[0086] Therefore, this application can generate corresponding control commands based on the status information at the host or terminal when a demand command is received at the first terminal, thereby increasing the linkage between the host and terminal in the refrigeration system. This ensures that the host and terminal in the system can be turned on or off simultaneously, thus reducing the occurrence of system malfunctions. Furthermore, the host control method in the refrigeration system provided in one embodiment of this application can also, during the power-on process, determine whether the host can normally boot or cannot boot normally through a self-test operation, and provide feedback on the boot failure information, including the cause of the fault. This allows the user to understand the specific reason for the system boot failure in a timely manner, thereby resolving system malfunctions promptly. In addition, in the case of shutdown, a preset waiting time is added to avoid repeated power-on and power-off of the host, further improving system stability, reducing user operations, increasing user convenience, and enhancing the user experience.
[0087] Example 5
[0088] Figure 7 This is a flowchart illustrating the method for the host computer in a refrigeration system to respond to control commands according to Embodiment 5. For a clear description of the method for the host computer in a refrigeration system to respond to control commands provided in this embodiment, please refer to... Figures 1 to 7 .
[0089] Step S710: When the control command is a power-on control command, determine whether the host can be powered on normally.
[0090] In one embodiment, the power-on control command is a control command generated and sent to the host by the first terminal when it determines that the host is in a shutdown state. The specific process of determining, generating, and sending this command has been described in detail in the previous embodiments; detailed steps can be found therein and will not be repeated here. As mentioned earlier, when the host receives the power-on control command, it indicates that the host is in a shutdown state. When the host powers on, it can perform a self-test to determine if it has any faults and whether it can power on normally. Step S720: If the host cannot power on normally, feedback information including power-on failure information is generated and sent to the first terminal.
[0091] Step S720: If the host cannot power on normally, generate feedback information including power-on failure information and send it to...
[0092] Step S730: If the host can be powered on normally, start the host according to the power-on control command, generate feedback information including power-on success information, and send the power-on success information to the first terminal.
[0093] In one implementation, if the host fails to power on normally, a power-on failure message is generated, and corresponding feedback information is sent back to the first terminal. Specifically, when sending back feedback information including the power-on failure message, the feedback information may include the specific reason for the host's power-on failure, so that the first terminal includes this content when generating the host power-on failure message, allowing the user to clearly understand the cause of the anomaly and take timely action to ensure the normal operation of the system. If the host powers on normally, a power-on success message is generated, enabling the host and the first terminal to work together to achieve cooling, thereby maintaining operation and continuing subsequent execution steps.
[0094] Step S740: When the control command is a shutdown request command, determine whether there is a cooling demand at the terminal in the refrigeration system.
[0095] Step S750: If the second terminal has no cooling requirement, the host is controlled to shut down according to the shutdown request instruction, feedback information including permission to shut down is generated, and permission to shut down is sent to the first terminal.
[0096] Step S760: If the second terminal has a cooling requirement, the main unit is kept running, feedback information including permission to shut down is generated, and permission to shut down is sent to the first terminal.
[0097] In one embodiment, the shutdown request instruction is generated when the first terminal has a shutdown requirement and, by acquiring terminal status information, determines that the first terminal is the last running terminal among multiple terminals in the system, it generates a control instruction to request the simultaneous shutdown of the host. The specific implementation methods for determining, generating, and sending this instruction have been described in detail in the preceding embodiments; please refer to those descriptions for further details. When the host receives the shutdown request instruction, it indicates that the first terminal sending the instruction is the last running terminal in the system. Before the host shuts down, a preliminary judgment is needed to determine whether there is a cooling request from a second terminal at the time the first terminal sends the shutdown request instruction and the host receives it. It is understood that, as the module providing cooling capacity in the system, the host, although not receiving power-on control instructions from terminals during startup, still needs to send cooling requests to the host to achieve cooling, thus enabling the host and terminals to coordinate and achieve cooling. Therefore, if a cooling request is received from the second terminal during this time period, it means the main unit cannot be shut down, and the first terminal will no longer be the last operating terminal. Thus, while maintaining the main unit's operation, feedback information including permission to shut down can be generated and sent to the first terminal, allowing it to shut down normally. If no cooling request is received from the second terminal between the time the first terminal sends the request and the main unit receives the shutdown instruction, the first terminal is determined to be the last operating terminal. To ensure normal system operation and reduce system anomalies such as refrigerant backflow, the main unit can shut down first, and then send feedback information including permission to shut down, and send permission to shut down to the first terminal, allowing it to shut down subsequently, thus safely and normally ending the cooling process. Furthermore, the "time point between the first terminal sending the request and the main unit receiving the shutdown instruction" mentioned above can be extended. It is understandable that shortly after the main unit shuts down, a new power-on control instruction from the first terminal might be received, causing the main unit to repeatedly power on and off within a certain period. To avoid system malfunctions caused by repeated power-on and power-off, the host computer can immediately send back feedback information, including permission to shut down, upon receiving a shutdown request command from the first terminal. It will also reduce its operating efficiency to a semi-standby or standby state. If no cooling demand or power-on control command is received after a preset period, it will then shut down. This avoids repeated power-on and power-off of the host computer, further improving system stability.
[0098] Therefore, this application can generate corresponding control commands based on the status information at the host or terminal when the first terminal receives a demand command, thereby increasing the linkage between the host and terminal in the refrigeration system. This ensures that the host and terminal in the system can be turned on or off simultaneously, reducing the occurrence of system malfunctions. Furthermore, the terminal control method in the refrigeration system provided in one embodiment of this application can also, during the power-on process, determine whether the host can normally boot or cannot boot normally, and provide feedback on the boot failure information, including the cause of the fault. This allows the user to understand the specific reason for the system boot failure in a timely manner and resolve system abnormalities promptly. Additionally, in the case of shutdown, a preset waiting time is added to avoid repeated power-on and power-off of the host, further improving system stability, reducing user operations, increasing user convenience, and enhancing the user experience.
[0099] Example 6
[0100] Figure 8 This is a schematic block diagram of the refrigeration system provided in Embodiment Six. For a clear description of the refrigeration system provided in this embodiment, please refer to... Figures 1 to 8 .
[0101] The refrigeration system 80 provided in this embodiment includes a first terminal 810 and a main unit 820. The first terminal 810 can execute the control methods for the terminal in the refrigeration system provided in Embodiments 1, 2, and 3; while the main unit 820 can execute the control methods for the main unit in the refrigeration system described in Embodiments 3 and 4. Specifically, the control methods for the terminal in the refrigeration system provided in Embodiments 1, 2, and 3, or the control methods for the main unit in the refrigeration system described in Embodiments 3 and 4, have been described in detail in the relevant embodiments, and can be referred to above for details, which will not be repeated here.
[0102] Therefore, this application can generate corresponding control commands based on the status information at the host or terminal when the first terminal receives the demand command, thereby increasing the linkage between the host and terminal in the refrigeration system, ensuring that the host and terminal in the system can be turned on or off simultaneously, thereby reducing the occurrence of abnormal system operation.
[0103] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in Embodiment 1, Embodiment 2, Embodiment 3, Embodiment 4, or Embodiment 5.
[0104] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0105] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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.
[0106] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A control method for a terminal unit in a refrigeration system, characterized in that, Applied to the first end, the method includes the following steps: Obtain demand instructions and status information, wherein the demand instructions include start instructions or stop instructions, and the status information includes host status information and / or terminal status information; Generate control instructions based on the demand instructions and the status information; Respond to the control command; or, send the control command to the host and respond to the feedback information sent back by the host. When the demand instruction is the shutdown instruction and the status information is the terminal status information... The step of generating control instructions based on the demand instructions and the status information includes: Based on the terminal status information, it is determined whether a second terminal is running; the refrigeration system includes terminals, the terminals include the first terminal and the second terminal, and the second terminal is any terminal other than the first terminal among all terminals; When the second terminal is running, a terminal shutdown control command is generated to control the shutdown of the first terminal; If no second terminal is running, a shutdown request instruction is generated to request control to shut down the first terminal and the host.
2. The control method for the terminal in the refrigeration system as described in claim 1, characterized in that, When the demand instruction is the enable instruction and the status information is the host status information... The step of generating control instructions based on the demand instructions and the status information includes: The host status is determined based on the host status information; When the host is determined to be powered on based on the host status information, a cooling control command is generated. When the host is determined to be in a shutdown state based on the host status information, a power-on control command is generated.
3. The control method for the terminal in the refrigeration system as described in claim 2, characterized in that, Sending the control command to the host and responding based on the feedback information sent back by the host includes: When the control command is the power-on control command, the power-on control command is sent to the host to control the host to be turned on, and the feedback information sent back by the host is continuously obtained; If a power-on success message is received from the host within a preset time, the cooling control command is generated to control the first terminal to start cooling. If a power-on failure message is received from the host within the preset time, then a host power-on failure message is generated and output. If no feedback is received from the host within the preset time, the power-on control command is generated again and sent to the host.
4. The control method for the terminal in the refrigeration system as described in claim 1, characterized in that, Sending the control command to the host and responding based on the feedback information sent back by the host includes: When the control command is the shutdown request command, the shutdown request command is sent to the host, and the feedback information sent back by the host is continuously obtained; If the host sends a permission to shut down message within a preset time, the terminal shutdown control command is generated to control the shutdown of the first terminal. If no feedback is received from the host within the preset time, the shutdown request instruction is generated again and sent to the host.
5. A control method for a main unit in a refrigeration system, applied to the main unit, wherein the main unit is used to execute the control method for a terminal unit in a refrigeration system as described in claim 1, characterized in that, Includes the following steps: Receive control commands sent from the first terminal, the control commands including power-on control commands or power-off request commands; The system responds to the control commands and generates feedback information which is then sent to the first terminal.
6. The control method for the main unit in the refrigeration system as described in claim 5, characterized in that, The step of responding to the control command and generating feedback information to send to the first terminal includes: When the control command is the power-on control command, determine whether the host can be powered on normally; If the host can be powered on normally, the host is started according to the power-on control command, the feedback information including the power-on success information is generated, and the power-on success information is sent to the first terminal. If the host fails to power on normally, feedback information including power-on failure information is generated and sent to the first terminal.
7. The control method for the main unit in the refrigeration system as described in claim 5, characterized in that, The step of responding to the control command and generating feedback information to send to the first terminal includes: When the control command is the shutdown request command, it is determined whether there is a cooling demand in the terminal of the refrigeration system. The refrigeration system includes terminals, and the terminals include the first terminal and the second terminal. The second terminal is all terminals except the first terminal. If the second terminal has no cooling requirement, the host is shut down according to the shutdown request instruction, feedback information including shutdown permission information is generated, and the shutdown permission information is sent to the first terminal; If the second terminal has a cooling requirement, the host remains operational, generates feedback information including permission to shut down, and sends the permission to shut down information to the first terminal.
8. A refrigeration system, characterized in that, Includes the host and the first terminal; The first terminal is used to perform the method as described in any one of claims 1-4; The host is used to perform the method as described in any one of claims 5-7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Control device and method of heat pump heating and cooling system
CN104006503A