Industrial high-temperature hot water heat pump control program architecture design method
By designing a control program architecture method for industrial high-temperature hot water heat pumps, the linkage communication and subprograms of the host and slave are combined, the efficiency of program architecture construction in diverse application scenarios is solved, and efficient and intelligent control program development is achieved.
Patent Information
- Application Number
- CN202510114069.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-06-24
AI Technical Summary
When facing diversified application scenarios, the existing industrial high-temperature hot water heat pumps need to frequently build program structures, which have a large workload and low production efficiency.
Design an industrial high-temperature hot water heat pump control program architecture method, including host and slave. The host builds the main program and subroutine. After the host program is completed, the slave copy the host's program architecture, and the host and slave are linked to communicate to complete the multi-machine interconnection. By retrieving and combining corresponding subprogram blocks and functional programs, we can adapt to the needs of different industrial scenarios.
Avoid or reduce the re-organization of control logic and writing programs, with small workload and high production efficiency, and supports multi-computer interconnection and human-computer interactive interface linkage control.
Smart Images

Figure CN120196022A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial product control, and particularly relates to a design method for the control program architecture of an industrial high-temperature hot water heat pump. Background Art
[0002] The industrial high-temperature hot water heat pump absorbs and utilizes the waste heat (i.e., the waste liquid at 35 - 75°C) or the hot liquid that needs to be stably cooled (i.e., the hot liquid at 35 - 75°C) in the production process, and generates high-temperature hot water at 60 - 125°C based on the reverse Carnot cycle to provide heat for the process production. Its advantage lies in the lower cost after replacing the boiler gas heating used in the original process production. According to the local steam price, it can save 100 - 150 yuan per ton. For example, for a material heating link that consumes two tons of steam per hour, after replacing it with this type of heat pump, the daily average energy consumption cost can be saved by 5500 yuan, and the annual average cost can be reduced by 1,650,000 yuan, with remarkable benefits. The industry demands an integrated and stable heat recovery device, and correspondingly, it is necessary to study the system composition and the development of the control program architecture in this field.
[0003] The heat pump unit of the modular industrial high-temperature hot water heat pump is composed of multiple sub-modules, electrical cabinets (including power cabinets and control cabinets), distribution pipes, etc. The power cabinet provides electricity, and the control cabinet is responsible for control. The heat recovery water cycle and the heat supply water cycle are constructed through an external water pump and the distribution pipes. Limited by the system and transportation, the number of sub-modules is generally 2 - 5. Each sub-module has the same configuration, and it is composed of electrical components such as compressors, expansion valves, controllers, temperature and pressure transmitters, and system accessories such as heat exchangers, pipeline fittings, and valves. The heat that each sub-module can supply is limited, so the corresponding quantity needs to be configured according to the demand.
[0004] For diverse application scenarios, their corresponding requirements are different, and there are differences in functions, heat, etc. When switching between different application scenarios, it is necessary to rebuild the program architecture and re-edit and call each module. Frequent rebuilding of the program architecture leads to a large workload and reduces production efficiency. Summary of the Invention
[0005] The technical problem to be solved by the present invention is that in the prior art, when the industrial high-temperature hot water heat pump faces diverse application scenarios, it is necessary to frequently build the program architecture, resulting in a large workload and low production efficiency.
[0006] The present invention solves the above technical problems through the following technical means: A design method for the control program architecture of an industrial high-temperature hot water heat pump, which includes a host and multiple slave machines communicating with the host. Both the host and the slave machines include multiple sub-modules. The host constructs a main program and a sub-program. After the host program is constructed, the slave machines copy the program architecture of the host. The host and the slave machines are linked for communication to complete multi-machine interconnection. The main program executes status instructions, adjusts equipment actions, calls different sub-programs and different function blocks under the sub-programs to complete the setting of the number, start / stop, and running time of the sub-modules, and matches and applies to the corresponding industrial scenarios.
[0007] The present invention is applicable to industrial scenarios with different configurations. Without adjusting the main program, the control program applicable to the corresponding scenario can be obtained by calling and combining the corresponding sub-program blocks and functional programs, which can avoid or minimize re-combing the control logic and writing programs. Only the sub-program blocks need to be modified according to the configuration. After the host program is completed, the slave machine program only needs to copy and perform a small amount of shielding work. Under the master-slave machine linked communication program, multi-machine interconnection in this field is formed, with less workload and high production efficiency.
[0008] Further, the main program includes a main control program, a data processing program, and a module processing program. The main control program enters the corresponding unit state according to an external input signal. The data processing program calls the data calculation block of the sub-program, re-processes the collected analog data to make it conform to the actual situation, and the processed data participates in the program control operation link or is used for screen display. The module processing program is used to control the running state of the sub-modules.
[0009] Furthermore, the control of the running state of the sub-modules includes the start control of the sub-modules. The start process of the sub-modules is as follows:
[0010] Enter the judgment of the allowable loading condition. When the sub-module is in a fault-free and non-running state and maintains for 90s, the allowable loading condition is met. Enter the loading signal judgment. When a loading instruction is received, the loading signal condition is met. Enter the loading rotation position judgment. When the rotation position matches the sub-module address, the bit matching condition is met. After the above judgments pass, the sub-module enters the start state, calls a delay timer, and the expansion valve in the sub-module runs first. After it has run for 10s cumulatively, the compressor in the sub-module runs.
[0011] Furthermore, the control of the running state of the sub-modules includes the stop control of the sub-modules. The stop process of the sub-modules is as follows:
[0012] When no fault occurs, the load shedding signal is judged. When a load shedding instruction is received and the load shedding signal condition is met, the load shedding rotation position is judged. When the rotation position matches the sub-module address and the position matching condition is met, after the above judgments are passed, the sub-module enters the stop state. When a fault occurs, the judgment process is directly skipped and the stop state is entered, and a delay timer is called. The compressor in the sub-module stops running. After 20s of its stop, the expansion valve in the sub-module stops.
[0013] Furthermore, the main program further includes a cooling fan control program, a tracing heating control program, a pipeline anti-freezing control program, a timing energy level control program, and an operation time calculation program that can be called or blocked according to the requirements of the application scenario; the cooling fan control program controls the fan output when the ambient temperature exceeds 40°C until it drops below 32°C and then shuts down the fan; the tracing heating control program is based on the superheat of the oil sump. When the sub-module stops running, if the ambient temperature is lower than 10°C, the tracing heating is set to be turned on, and if the ambient temperature exceeds 15°C, it is reset to turn off the tracing heating. When the sub-module starts, a delay timer is called, and the tracing heating is reset to turn off after 300s; the pipeline anti-freezing control program takes the ambient temperature and the water temperatures at two places, compares them in real time to obtain a minimum value, and takes this minimum value as the judgment basis. When the unit is in the stop operation stage and the judgment basis is below 3°C, the water pump is started once per hour and runs for 480s. After the unit runs, the pipeline anti-freezing control program is automatically blocked; the timing energy level control program adjusts the number of sub-modules in different time periods according to the technological process or peak-valley periods; the operation time calculation program collects the operation times of the sub-modules of each main unit and slave unit, and for the units or sub-modules that reach the set value, they are centrally stopped.
[0014] Further, the subprogram includes a data calculation block, and the data calculation block includes temperature conversion, pressure conversion, and pressure-temperature conversion. Temperature conversion is to convert the integer data of the collected temperature into a floating-point number, and divide the floating-point number by 10 to obtain the processed temperature data. Pressure conversion is to convert the integer data of the collected pressure into a floating-point number, and divide the floating-point number by 1000 to obtain the processed pressure data. Pressure-temperature conversion is to convert the integer data of the collected integer pressure data into a floating-point number, and then use the formula -2497.8 / (LN((floating-point number + 101) / 1000*10)-9.9)-230 to obtain the converted temperature data, where LN represents the natural logarithm function with e as the base.
[0015] Further, the subprogram further includes an energy level adjustment block, and the working process of the energy level adjustment block is as follows:
[0016] 1) After receiving the operation instruction corresponding to the required temperature of the unit, perform the loading waiting judgment to ensure that the trigger of this loading instruction is based on the completion of the execution of the previous loading instruction. Then, accumulate the current number of operating sub-modules and the number of sub-modules that can be loaded in real time. Then, compare the set required temperature with the loading temperature and unloading temperature to form a loading range, an unloading range, and a holding range;
[0017] 2) Execute the sub-module required operation quantity calculation instruction. If the loading switch trigger condition (30 + 30*n)s is met and it is in the loading range, calculate the number of sub-module switches that need to be loaded. If the unloading switch trigger condition (20m - 20n + 40)s is met and it is in the unloading range, calculate the number of sub-module switches that need to be unloaded, and output the calculated number of sub-module operations at this time as the primary sub-module operation quantity; m is the total number of sub-modules, and n is the current number of operating sub-modules;
[0018] 3) Enable timed energy level control, adjust the maximum number of operating sub-modules in different time periods according to the technological process or peak-valley periods. Compare the primary sub-module operation quantity with the maximum number of operating sub-modules. When it exceeds the maximum number of operating sub-modules, take the maximum number of operating sub-modules. When it is lower than the maximum number of operating sub-modules, take the primary sub-module operation quantity. The adjusted result is recorded as the secondary sub-module operation quantity;
[0019] 4) Enable the low heat source temperature limit to limit the secondary sub-module operation quantity, output the final sub-module required operation quantity, and output the loading or unloading instruction by comparing the final sub-module required operation quantity with the current number of operating sub-modules.
[0020] Furthermore, the limitation of the secondary sub-module operation quantity includes:
[0021] When the current heat source temperature is less than x / 3 °C, the final sub-module required operation quantity = 0, where x represents the standard heat source temperature;
[0022] When the current heat source temperature is greater than or equal to x / 3 °C and less than x / 2 °C, the final sub-module required operation quantity = 1;
[0023] When the current heat source temperature is greater than or equal to x / 2 °C and less than 2x / 3 °C, the final sub-module required operation quantity = 2;
[0024] When the current heat source temperature is greater than or equal to 2x / 3 °C, the final sub-module required operation quantity = the secondary sub-module operation quantity.
[0025] Further, the subprogram further includes a rotation block, which is used to set the rotation for the unit and the sub-modules of the unit, and define the start-stop sequence of the unit and the sub-modules of the unit according to the set rotation.
[0026] Further, the subroutine further includes a fault handling block, and the fault handling module is used to perform fault diagnosis on the unit according to the operating status and parameters of the unit, and issue corresponding warnings and shutdown feedback.
[0027] The advantages of the present invention are as follows:
[0028] (1) The present invention is applicable to industrial scenarios with different configurations. Without adjusting the main program, the control program suitable for the corresponding scenario can be obtained by calling and combining the corresponding subroutine blocks and functional programs, which can avoid or minimize the re-combing of the control logic and the programming. Only the subroutine blocks need to be modified according to the configuration. After the host program is completed, the slave program only needs to be copied and a small amount of shielding work is required. Under the master-slave machine linkage communication program, multi-machine interconnection in this field is formed, with small workload and high production efficiency.
[0029] (2) The present invention supports the linkage control use of the human-machine interface (HMI, upper computer), and can freely switch between automatic and manual control modes, and finally realizes the development and application of the modular high-temperature hot water heat pump control program, with high intelligence, universality and competitiveness.
[0030] (3) The present invention divides the control program into a main program, a subroutine, and a linkage communication program. Among them, the main program is the control main line, which executes status instructions, adjusts equipment actions, and calls subroutines, and finally matches and maintains the set target temperature; the subroutine is a callable program block, which can realize data logic operations, energy level adjustment to improve system energy efficiency, reduce operating costs, rotation control to improve system stability, and analyze and handle faults; the linkage communication program realizes multi-machine interconnection in the scenario, with the host machine controlling and the slave machine following. The program architecture is clear at different levels, and the program modules are independent and combinable, realizing the modularization of the control program. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is an architecture diagram of a design method for the control program architecture of an industrial high-temperature hot water heat pump disclosed in an embodiment of the present invention;
[0032] Figure 2 It is a data processing program architecture diagram in a design method for the control program architecture of an industrial high-temperature hot water heat pump disclosed in an embodiment of the present invention;
[0033] Figure 3 It is a module processing program architecture diagram in a design method for the control program architecture of an industrial high-temperature hot water heat pump disclosed in an embodiment of the present invention;
[0034] Figure 4 It is an other function program architecture diagram in a design method for the control program architecture of an industrial high-temperature hot water heat pump disclosed in an embodiment of the present invention;
[0035] Figure 5It is a block diagram of data calculation in the design method of the control program architecture of an industrial high-temperature hot water heat pump disclosed in the embodiments of the present invention;
[0036] Figure 6 It is a block diagram of energy level adjustment in the design method of the control program architecture of an industrial high-temperature hot water heat pump disclosed in the embodiments of the present invention;
[0037] Figure 7 It is a block diagram of low heat source temperature limit in the design method of the control program architecture of an industrial high-temperature hot water heat pump disclosed in the embodiments of the present invention;
[0038] Figure 8 It is a block diagram of the rotation block in the design method of the control program architecture of an industrial high-temperature hot water heat pump disclosed in the embodiments of the present invention;
[0039] Figure 9 It is a block diagram of the fault handling block in the design method of the control program architecture of an industrial high-temperature hot water heat pump disclosed in the embodiments of the present invention;
[0040] Figure 10 It is a block diagram of the linkage communication program in the design method of the control program architecture of an industrial high-temperature hot water heat pump disclosed in the embodiments of the present invention. Detailed implementation manners
[0041] To make the objectives, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0042] As Figure 1 shown, the embodiments of the present invention provide a design method for the control program architecture of an industrial high-temperature hot water heat pump, including a host and multiple slaves communicating with the host. Both the host and the slaves include multiple sub-modules. The host builds a main program and a sub-program. After the host program is built, the slaves copy the program architecture of the host, and the host and the slaves are linked for communication to complete multi-machine interconnection; the main program executes status instructions, adjusts device actions, calls different sub-programs and different function blocks under the sub-programs to set the number, start / stop, and running time of the sub-modules, and matches and applies to the corresponding industrial scenarios. The execution logics of each program are introduced below.
[0043] 1. Master control program
[0044] According to the external input signals (start, stop, emergency stop, reset), enter the corresponding unit status.
[0045] Startup: Place the unit in the startup state position, reset the stop position, call the delay timer, control the peripheral water pump to pre-run for 90 s, and start other programs after ensuring normal water circulation.
[0046] Stop: Place the unit in the stop position, reset the startup position, terminate the actions of each subordinate module, call the delay timer, control the peripheral water pump to stop 60 s later, and ensure that the unit stops completely after the water circuit fully absorbs the residual heat of the heat pump.
[0047] Reset Stop: Corresponding to the stop, until each subordinate module and component stop running, reset the stop position.
[0048] Emergency Stop: Place the unit in the emergency stop position, instantly terminate the operation of each program and component, reset the startup position and stop position, and the unit can resume normal operation only after the external actively ends the emergency stop position.
[0049] Reset: Place the unit in the reset position. Under normal conditions, it will not have any impact. After the unit fails, the fault can be reset to restore the unit to normal operation.
[0050] 2. Data Processing Program
[0051] As Figure 2 shown, call the corresponding data calculation block subroutine, reprocess the collected analog data to make it conform to the actual situation, participate in the program control operation link, and can also be used for screen display. The collected analog data includes: internal module data, including temperature, pressure, saturation temperature corresponding to pressure, and operating current, which mainly participate in data monitoring and fault protection. External control data, including temperature, which mainly participate in energy level adjustment and other function controls.
[0052] 3. Module Processing Program
[0053] As Figure 3 shown, the unit contains multiple sub-modules, and the sub-modules are composed of various pipe fittings and electrical components. This program is responsible for processing the operating status of the sub-modules, as well as starting, stopping, and controlling. There is no need to repeatedly write the programs for each sub-module. Just adjust the variables, which has universality.
[0054] Under the program framework shown above, each sub-module finally transfers the instructions to the specific electrical components and executes them, achieving both stable control in the automatic mode and manual intervention under specific requirements.
[0055] Sub-module startup process: Enter the allowable loading condition judgment, call the cumulative timer. When the sub-module is in a fault-free and unoperated state and maintains for 90s, the allowable loading condition is met. Here, manual intervention (i.e., shielding function) can be performed to make it meet the allowable loading condition, so that it does not participate in the subroutine "rotation block" and cannot operate automatically. Enter the loading signal judgment. This part is linked with the subroutine "energy level adjustment block". When the loading instruction sent by it is received, the loading signal condition is met. Enter the loading rotation position judgment. This part is linked with the "rotation block" - "loading rotation" of the subroutine. When the rotation position sent by it matches the sub-module address, the bit matching condition is met. After the above judgments pass, the sub-module enters the startup state, calls the delay timer, and the expansion valve runs first. After it runs for 10s cumulatively, the compressor runs to ensure the pipeline is unobstructed. Under manual intervention, the startup can be directly controlled through the human-machine interface.
[0056] Sub-module stop process: When no fault occurs, enter the unloading signal judgment. This part is linked with the subroutine "energy level adjustment block". When the unloading instruction sent by it is received, the unloading signal condition is met. Enter the unloading rotation position judgment. This part is linked with the "rotation block" - "unloading rotation" of the subroutine. When the rotation position sent by it matches the sub-module address, the bit matching condition is met. After the above judgments pass, the sub-module enters the stop state. When a fault occurs, directly skip the judgment process and enter the stop state. Call the delay timer, the compressor stops running. After it stops for 20s, the expansion valve stops. Under manual intervention, the stop can be directly controlled through the human-machine interface.
[0057] 4. Other function programs
[0058] As Figure 4 shown, to meet complex application scenarios and external requirements, multiple types of function programs are preset in this area, which can be called and shielded.
[0059] Cooling fan control: To ensure the normal operation of the unit in an environment with too high outdoor temperature and ensure that the components operate within the normal temperature range, the ambient temperature is used as the judgment basis. When it exceeds 40°C, the fan outputs until it drops below 32°C and then shuts down.
[0060] Tracing tape control: To ensure the normal operation of the unit during its first run and after a long-term stop, in this state, the refrigerant is dissolved in the refrigerating oil, resulting in a falsely high oil level. After the compressor runs directly, the refrigerant evaporates into gas and is discharged. At this time, the refrigerating oil level drops, which may affect the stable operation of the compressor before replenishment. Based on the superheat of the oil sump as the judgment basis, when this sub-module stops, if it is lower than 10°C, the tracing tape is set to be turned on; if it exceeds 15°C, the tracing tape is reset to be turned off. When this sub-module starts, call the delay timer, and after 300s, the tracing tape is reset to be turned off.
[0061] Pipe anti-freezing control: To ensure the normal operation of the unit in an environment with relatively low outdoor temperature and prevent the water pipes from freezing during the shutdown period, the ambient temperature and the water temperatures at two locations are taken, and a minimum value is obtained through real-time comparison. This temperature is used as the judgment basis. When the unit is in the stopped operation stage and this temperature is below 3 degrees Celsius, the water pump is started once per hour and runs for 480 seconds. After the unit starts running, this program is automatically blocked.
[0062] Timed energy level control: For industrial application scenarios, it is necessary to reduce the operating cost under reasonable application. This unit is fully driven by electricity and can adjust the energy level upper limit (maximum number of operating sub-modules) in different time periods according to the technological process or peak-valley periods. By default, two sections of adjustment are preset and can be changed at any time. Example: The first time period is from 8:00 to 11:00, and the second time period is from 16:00 to 21:00, with an energy level value of 3, that is, the maximum number of operating sub-modules within 8:00 - 11:00 and 16:00 - 21:00 every day is 3.
[0063] Operating time calculation: Collect the operating times of each host, slave, and sub-module. For the unit or sub-module that reaches a certain set value, centralized maintenance can be carried out, which is linked with the sub-program "rotation block" to block the part that needs to be maintained (see the above 3. Module processing program, sub-module startup process), and other parts operate normally without affecting the process and production.
[0064] The sub-programs include data calculation block, energy level adjustment block, rotation block, and fault handling block. The following introduces each functional block of the sub-program.
[0065] 1. Data calculation block
[0066] Temperature conversion sub-program: The collected integer is converted to a floating-point number, and the floating-point number is divided by 10.
[0067] Pressure conversion sub-program: The collected integer is converted to a floating-point number, and the floating-point number is divided by 1000.
[0068] Pressure-temperature conversion sub-program: The collected integer is converted to a floating-point number, -2497.8 / (LN((floating-point number + 101) / 1000 * 10) - 9.9) - 230. The architecture of the data calculation block is as Figure 5 shown.
[0069] 2. Energy level adjustment block
[0070] As Figure 6As shown, the energy level adjustment block refers to a production process that faces constantly changing demands by automatically adjusting the number of operating sub-modules (this function is shielded in the manual intervention mode). In an industrial scenario, the process production process is not stable throughout. If the unit operates at the same energy level, the energy efficiency is low and the cost is high, and its excellent energy-saving characteristics cannot be well demonstrated, and it may also affect the product quality of the user. Through this sub-program block, after inputting the required temperature, the unit can quickly and stably supply hot water at the corresponding temperature (providing heat for the process production). Even in the face of a large production environment with fluctuations, it can also respond and make adjustments immediately.
[0071] After receiving the operation instruction, this block first executes three instructions: "loading waiting judgment", "real-time cumulative corresponding quantity of sub-module status", and "loading and unloading and holding judgment".
[0072] Loading waiting judgment: It is judged every 10s to ensure that the trigger of this loading instruction must be based on the completion of the execution of the previous loading instruction, aiming to ensure the stability during the increase of the number of operating sub-modules.
[0073] Real-time cumulative corresponding quantity of sub-module status: Real-time cumulative the current number of operating sub-modules and the current loadable quantity of sub-modules, as a part of the trigger judgment of the loading and unloading instruction, and compare it with the required operating quantity of the output sub-module.
[0074] Loading and unloading and holding judgment: Compare the set required temperature with the loading temperature and the unloading temperature to form three intervals. Loading interval: that is, less than or equal to the loading temperature. After staying in this interval for 5s, send out the intermediate value "1".
[0075] Holding interval: that is, greater than the loading temperature and less than the unloading temperature, send out the intermediate value "0".
[0076] Unloading interval: that is, greater than or equal to the unloading temperature. After staying in this interval for 5s, send out the intermediate value "-1".
[0077] At this time, it enters the "calculation instruction of the required operating quantity of sub-modules", and this instruction outputs the primary operating quantity of sub-modules. To ensure the stability of the loading and unloading process, the loading and unloading switch needs to be triggered after meeting the corresponding conditions.
[0078] Loading switch: After meeting the trigger condition of the loading switch for (30 + 30*n)s, where n refers to the current number of operating sub-modules. This means that the more the current number of operating sub-modules, the longer the waiting time for triggering the loading switch, aiming to improve the stability during the loading process and prevent the fluctuation situation of multiple sub-modules being quickly loaded and then unloaded.
[0079] Load shedding switch: After (20m - 20n + 40)s when the load shedding switch triggering condition is met, where m refers to the number of sub - modules and n refers to the number of currently running sub - modules. This means that the fewer the currently running sub - modules, the longer the waiting time for the load shedding switch to trigger, aiming to improve the stability during the load shedding process and prevent the fluctuation situation of multiple sub - modules being quickly loaded and unloaded and then re - loaded.
[0080] After the timed energy level control is enabled, its influence is as shown in the above main program - "Timed Energy Level Control". Output the number of running secondary sub - modules.
[0081] Low heat source temperature limit: The heat source temperature is not stable and will change with the process. When the heat source temperature is low, the recoverable heat in this state is small and cannot meet the simultaneous operation of more than 2 sub - modules. Therefore, to protect the safe operation of the unit, reduce the occurrence of faults, and reduce unnecessary energy consumption, as Figure 7 shown, the number of running sub - modules is restricted in four gradients. The following refers to the standard heat source temperature as x℃.
[0082] First gradient, when the current heat source temperature is less than x / 3℃, the final number of running sub - modules = 0.
[0083] Second gradient, when the current heat source temperature is greater than or equal to x / 3℃ and less than x / 2℃, the final number of running sub - modules = 1.
[0084] Third gradient, when the current heat source temperature is greater than or equal to x / 2℃ and less than 2x / 3℃, the final number of running sub - modules = 2.
[0085] Fourth gradient, when the current heat source temperature is greater than or equal to 2x / 3℃, the final number of running sub - modules = the number of running secondary sub - modules.
[0086] After the above, output the required number of running final sub - modules. By comparing the required number of running final sub - modules with the number of currently running sub - modules, output the loading or load shedding instruction until the requirement is met.
[0087] 3. Rotating block
[0088] As Figure 8 shown, the rotating block means that through the rotating cycle of the unit and the rotating cycle of the internal sub - modules, the first - started - first - stopped mode is achieved, and the operation of each sub - module is evenly distributed to improve the overall stability. It can be summarized as: Extract the sub - modules that are cycled to from the cycled unit.
[0089] Unit rotation: Only called in the main machine and blocked in the slave machine.
[0090] Each unit exists in the block in the form of numbers "1", "2", "3", etc. After the initial rotation value is assigned, start the rotating cycle of the sub - modules: Called in both the main and slave machines.
[0091] Each sub-module exists in the block in the form of numbers "1", "2", "3", etc. After the initial value of the rotation duty is assigned, the loop is started. Example: The loading process such as the start of sub-module 1 of host 1 - the start of sub-module 1 of slave 2 - the start of sub-module 1 of slave 3 - the start of sub-module 2 of host 1 - the start of sub-module 2 of slave 2 - the start of sub-module 2 of slave 3 can be achieved.
[0092] Achieve the unloading process such as the stop of sub-module 1 of host 1 - the stop of sub-module 1 of slave 2 - the stop of sub-module 1 of slave 3 - the stop of sub-module 2 of host 1 - the stop of sub-module 2 of slave 2 - the stop of sub-module 2 of slave 3.
[0093] 4. Fault handling block
[0094] Such as Figure 9 As shown, the fault handling block monitors the parameters and states to ensure the long-term operation of the unit. When the trigger conditions are met, feedback such as warnings and shutdowns is required to remind the users to perform maintenance in a timely manner. The faults include the following categories:
[0095] Type I faults: All units stop running immediately, and this type of fault cannot be self-reset. After troubleshooting, the operation can be restored, including peripheral pump faults and simultaneous abnormal faults of all sub-modules.
[0096] Type II faults: The sub-module with the fault stops running immediately, and other sub-modules operate normally. It is divided into self-reset faults and non-self-reset faults. Self-reset faults are automatically eliminated after a period of time, and the sub-module resumes operation, including overcurrent, undercurrent, and temperature protection faults; non-self-reset faults cannot be automatically eliminated after a period of time, and the sub-module resumes operation after troubleshooting, including oil level faults.
[0097] Type III faults: Such faults are used as warning signals to remind key attention, and will not affect the operation of the unit or sub-module. It includes current and temperature limit warnings.
[0098] Such as Figure 10 As shown, for the architecture of the linkage communication program, the control and regulation part is initiated by the host and sent to the slaves. Each slave needs to feedback its own status back to the host to achieve the closed-loop of the regulation loop.
[0099] Through the above technical solutions, the present invention is applicable to industrial scenarios with different configurations. The main program does not need to be adjusted. By calling and combining the corresponding subroutine blocks and function programs, the control program suitable for the corresponding scenario can be obtained, which can avoid or minimize the re-combing of the control logic and the writing of the program. Only the subroutine blocks need to be modified according to the configuration. After the host program is completed, the slave program only needs copying and a small amount of shielding work. Under the master-slave linkage communication program, multi-machine interconnection in this field is formed, with small workload and high production efficiency.
[0100] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for designing an industrial high-temperature hot water heat pump control program architecture, characterized in that: It includes a host and multiple slaves that communicate with the host. Both the host and the slaves include multiple sub-modules. The host builds the main program and sub-programs. After the host program is built, the slave copies the program architecture of the host. The host and the slave communicate in a linked manner to complete the interconnection of multiple machines. The main program executes status instructions, adjusts equipment actions, calls different sub-programs and different function blocks under the sub-programs to complete the number, start and stop, and running time settings of the sub-modules, matching the corresponding industrial scenarios.
2. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 1, characterized in that: The main program includes a main control program, a data processing program, and a module processing program. The main control program enters the corresponding unit state according to the external input signal; the data processing program calls the data calculation block of the subroutine to reprocess the collected analog data to make it conform to the actual situation. The processed data participates in the program control operation link or is used as a screen display; the module processing program is used to control the operating status of the submodule.
3. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 2, characterized in that: The control of the operating state of the submodule includes submodule startup control, and the submodule startup process is: Enter the judgment of the loading condition permission. When the submodule is in a fault-free and non-operating state and maintains it for 90s, the loading condition permission is met; enter the loading signal judgment. When the loading instruction is received, the loading signal condition is met; enter the loading rotation position judgment. When the rotation position matches the submodule address, the position matching condition is met. After the above judgment is passed, the submodule enters the startup state and calls the delay timer. The expansion valve in the submodule runs first. After it has run for a total of 10s, the compressor in the submodule runs.
4. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 2, characterized in that: The control of the operating state of the submodule includes submodule stop control, and the submodule stop process is: When no fault occurs, the load reduction signal judgment is entered. When the load reduction command is received, the load reduction signal condition is met; the load reduction rotation position judgment is entered. When the rotation position matches the submodule address, the position matching condition is met. After the above judgment is passed, the submodule enters the stop state. When a fault occurs, the judgment process is directly skipped and the stop state is entered. The delay timer is called, and the compressor in the submodule stops running. After it stops for 20 seconds, the expansion valve in the submodule stops.
5. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 2, characterized in that: The main program also includes a cooling fan control program, a heating belt control program, a pipeline antifreeze control program, a timing energy level control program and a running time calculation program, which can be called or shielded according to the needs of the application scenario; the cooling fan control program controls the fan output when the ambient temperature exceeds 40°C, and turns off the fan when it drops below 32°C; the heating belt control program uses the oil pool superheat as the judgment basis. When the submodule stops running, the heating belt is set to turn on when the ambient temperature is lower than 10°C, and the heating belt is reset to turn off when the ambient temperature exceeds 15°C. When the submodule starts, the delay timer is called and reset after 300s Turn off the heating tape; the pipeline antifreeze control program takes the ambient temperature and the water temperature at two locations, compares them in real time to obtain a minimum value, and takes this minimum value as the basis for judgment. When the unit is in the stop operation stage and the judgment basis is below 3 degrees Celsius, the water pump is started once an hour and maintained for 480 seconds. After the unit is running, the pipeline antifreeze control program is automatically shielded; the timing energy level control program adjusts the number of sub-modules in different time periods according to the process flow or peak, flat and valley periods; the running time calculation program collects the sub-module running time of each host and slave, and stops the operation of the units or sub-modules that have reached the set value.
6. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 1, characterized in that: The subroutine includes a data calculation block, which includes temperature conversion, pressure conversion and pressure-temperature conversion. The temperature conversion is to convert the collected integer data of temperature into a floating point number, and divide the floating point number by 10 to obtain the processed temperature data. The pressure conversion is to convert the collected integer data of pressure into a floating point number, and divide the floating point number by 1000 to obtain the processed pressure data. The pressure-temperature conversion is to convert the integer data of the collected integer pressure data into a floating point number, and then use the formula -2497.8 / (LN((floating point number+101) / 1000*10)-9.9)-230 to obtain the converted temperature data, and LN represents a logarithmic function with e as the base.
7. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 1, characterized in that: The subroutine also includes an energy level adjustment block, and the working process of the energy level adjustment block is: 1) After receiving the operation instruction corresponding to the unit's required temperature, a loading waiting judgment is made to ensure that the triggering of this loading instruction is based on the completion of the last loading instruction. Then, the current submodule operation quantity and the current submodule loadable quantity are accumulated in real time. Then, the set required temperature is compared with the loading temperature and the load reduction temperature to form a loading interval, a load reduction interval and a holding interval. 2) Execute the submodule required running quantity calculation instruction. If the loading switch trigger condition (30+30*n)s is met and it is in the loading interval, the switch quantity of the submodule that needs to be loaded is calculated. If the load reduction switch trigger condition (20m-20n+40)s is met and it is in the load reduction interval, the switch quantity of the submodule that needs to be reduced is calculated, and the submodule running quantity calculated at this time is output as the primary submodule running quantity; m is the total number of submodules, and n is the current submodule running quantity; 3) Enable timed energy level control, adjust the maximum number of operating submodules in different time periods according to the process flow or peak, flat and valley periods, compare the number of primary submodules in operation with the maximum number of operating submodules, and take the maximum number of operating submodules when it exceeds the maximum number of operating submodules, and take the primary submodule in operation when it is lower than the maximum number of operating submodules. The adjusted result is recorded as the number of secondary submodules in operation; 4) Enable low heat source temperature limit, limit the running quantity of secondary submodules, output the final submodule required running quantity, and output loading or unloading instructions by comparing the final submodule required running quantity with the current submodule running quantity.
8. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 7, characterized in that: The limiting of the number of running secondary submodules includes: The current heat source temperature is less than x / 3°C, and the final submodule required operation quantity = 0, where x represents the standard heat source temperature; The current heat source temperature is greater than or equal to x / 3°C and less than x / 2°C, and the number of submodules required to run is 1; The current heat source temperature is greater than or equal to x / 2°C and less than 2x / 3°C. The final number of submodules required to run = 2; The current heat source temperature is greater than or equal to 2x / 3°C, and the number of submodules required to run finally = the number of secondary submodules running.
9. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 1, characterized in that: The subroutine also includes a rotation block, which is used to set rotation for the unit and the submodules of the unit, and define the start and stop sequence of the unit and the submodules of the unit according to the set rotation.
10. The method for designing an industrial high-temperature hot water heat pump control program architecture according to claim 1, characterized in that: The subroutine also includes a fault processing block, which is used to perform fault diagnosis on the unit according to the operating status and parameters of the unit, and issue corresponding warnings and shutdown feedback.