Variable frequency heat pump partition variable period PID energy self-adaptive regulation method and system

By using a partitioned variable-cycle PID energy adaptive adjustment method, the problem of balancing speed and stability in variable frequency heat pump systems is solved, achieving rapid response and stable operation, optimizing energy distribution, and extending equipment life.

CN122384348APending Publication Date: 2026-07-14GUANGDONG NEW ENERGY TECH DEV

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUANGDONG NEW ENERGY TECH DEV
Filing Date
2026-05-12
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

In existing variable frequency heat pump system control, traditional PID control algorithms struggle to balance speed and stability, leading to system oscillations when the temperature difference is small, slow response when the temperature difference is large, unreasonable energy distribution, frequent equipment start-ups and shutdowns, and reduced service life.

Method used

The partitioned variable-cycle PID energy adaptive regulation method is adopted. The temperature difference is processed by nonlinear compression to generate operating partitions. The regulation cycle is dynamically adjusted by combining the regulation space ratio and the state change amplitude, and unified energy state control is executed to optimize the compressor frequency and unit start-up and shutdown logic.

Benefits of technology

It achieves rapid response and stable operation under complex working conditions, avoids system oscillation, optimizes energy distribution, extends equipment life, and improves system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122384348A_ABST
    Figure CN122384348A_ABST
Patent Text Reader

Abstract

The application provides a variable frequency heat pump partition variable period PID energy self-adaptive adjustment method and system. The method comprises the following steps: collecting the total pipe water temperature and calculating the original temperature difference, obtaining the effective temperature difference through nonlinear compression processing, and generating operation partitions such as under-temperature, stable or over-temperature according to the effective temperature difference; then, the adjustment space ratio is calculated in combination with the upper limit of the system energy, and the adjustment space ratio is shaped to generate continuous energy states; then, the adjustment period is dynamically adjusted according to the change amplitude of the energy state, and the PID operation with the introduction of the period parameter is executed in the period to generate the adjustment amount; finally, the target operation energy is calculated and boundary constraint is performed, and the compressor frequency and equipment are uniformly controlled. Through the partition variable period PID control strategy, the application effectively solves the problem that the response speed and stability of the heat pump system are difficult to balance, realizes the self-adaptive accurate adjustment of the energy, and improves the dynamic performance and operation energy efficiency of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of HVAC control technology, and particularly relates to a variable frequency heat pump zoned variable period PID energy adaptive adjustment method and system. Background Technology

[0002] In existing variable frequency heat pump system control, traditional PID control algorithms are typically used to adjust the system's output energy to match the terminal load demand. However, traditional control strategies often struggle to balance system speed and stability when faced with complex and changing operating conditions.

[0003] First, during temperature regulation, if a linear mapping relationship is used, the system becomes overly sensitive when the temperature difference is small, easily causing oscillations. Conversely, when the temperature difference is large, if the adjustment range is limited, the system response is slow and unable to quickly recover from a state significantly deviating from the set value. Second, existing energy management strategies typically lack fine-grained classification of system operating states, resulting in insufficient consideration of remaining adjustment space during energy loading or unloading, leading to unreasonable energy allocation and impacting system energy efficiency. Furthermore, fixed-cycle PID calculations struggle to adapt to transient changes during periods of severe fluctuation or rapid adjustment, easily causing overshoot or excessively long adjustment times. Simultaneously, the execution layer lacks a unified coordination mechanism for compressor frequency, individual unit activation / deactivation, and overall system start-up / shutdown, easily leading to frequent equipment start-ups and shutdowns, affecting service life.

[0004] Therefore, there is an urgent need for a centralized control energy regulation method that can adaptively adjust, has a fast dynamic response, and operates stably, in order to solve the problems existing in the above-mentioned prior art. Summary of the Invention

[0005] This invention discloses a variable frequency heat pump zoned variable period PID energy adaptive adjustment method and system to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the first aspect of the present invention provides a variable frequency heat pump zoned variable cycle PID energy adaptive adjustment method, the method comprising: Collect the main water temperature and calculate the original temperature difference with the set water temperature. Perform nonlinear compression processing on the original temperature difference to obtain the effective temperature difference. Based on the comparison result of the effective temperature difference and the preset partition boundary, generate the corresponding operating partition. Read the current system operating energy and the system available energy limit, calculate the adjustment space ratio in combination with the operating partition, assign direction and shape the adjustment space ratio to generate a continuous energy state; Read the energy state of the previous cycle, calculate the state change amplitude based on the current energy state, dynamically adjust the adjustment cycle according to the state change amplitude, and perform PID calculation to generate the adjustment amount based on the adjusted adjustment cycle. Based on the adjustment amount, the current system operating energy, and the upper limit of the system available energy, the target operating energy is calculated. After applying boundary constraints to the target operating energy, the final execution target is generated. Based on the final execution target, the compressor frequency, compressor start-up and shutdown, and unit start-up and shutdown are uniformly controlled.

[0007] Furthermore, the generation of the corresponding operating partitions specifically involves: generating an under-temperature regulation partition when the effective temperature difference is greater than the positive boundary; generating a stability maintenance partition when the effective temperature difference is between the positive and negative boundaries; and generating an over-temperature regulation partition when the effective temperature difference is less than the negative boundary.

[0008] Furthermore, the calculation of the adjustment space ratio in conjunction with the operating zone is specifically as follows: when in the under-temperature adjustment zone, the ratio of the remaining loadable space to the upper limit of the system's available energy is calculated; when in the over-temperature adjustment zone, the ratio of the current releaseable space to the upper limit of the system's available energy is calculated; when in the stable maintenance zone, the adjustment space ratio is zero.

[0009] Furthermore, the process of assigning direction and shaping the adjustment space ratio specifically involves: introducing a shaping coefficient to rationally compress the adjustment space ratio, so that the growth of the energy state automatically slows down when the adjustment space ratio approaches the upper limit, and assigning positive, negative or zero directional information to the energy state according to the operating partition.

[0010] Furthermore, the dynamic adjustment of the adjustment period based on the magnitude of state changes specifically involves: compressing the reference adjustment period based on the absolute value of the current energy state and the absolute value of the energy state changes in adjacent periods; when the system is in a rapid energy adjustment process, the adjustment period is compressed and shortened; when the system tends to stabilize, the adjustment period is automatically widened to approach the reference adjustment period.

[0011] Furthermore, the step of generating the adjustment amount by performing PID calculation based on the adjusted adjustment period specifically involves: incorporating the current adjustment period into the calculation of the PID derivative term, so that the strength of the derivative term changes synchronously with the length of the current adjustment period. When the adjustment period becomes shorter, the derivative term is more agile, and when the adjustment period becomes longer, the derivative term naturally slows down.

[0012] Furthermore, the calculation of the target operating energy based on the adjustment amount, the current system operating energy, and the upper limit of the system's available energy specifically involves: calculating the energy increase target in the loading direction based on the proportion of the remaining loadable space, and calculating the energy reduction target in the unloading direction based on the proportion of the current releaseable space, so that the energy increase in the low-load area is sufficient and the energy reduction in the high-load area is effective.

[0013] Furthermore, the boundary constraint on the target operating energy specifically involves limiting the target operating energy between the lower bound when the system is completely unloaded and the upper bound of the sum of the current available compressor capacities, thereby generating a physically reachable final execution target.

[0014] Furthermore, the unified control of compressor frequency, compressor activation / deactivation, and unit activation / deactivation based on the final execution target specifically involves: prioritizing the allocation of frequency adjustment based on the rated capacity ratio of each compressor; when the frequency has reached its limit and still cannot meet the target, compressor activation / deactivation is executed; when the capacity of a single unit is insufficient, unit activation / deactivation is executed.

[0015] A second aspect of the present invention provides a variable frequency heat pump zoned variable cycle PID energy adaptive regulation system, the system comprising: The partition generation module is used to collect the main water temperature and calculate the original temperature difference with the set water temperature. The original temperature difference is subjected to nonlinear compression processing to obtain the effective temperature difference. Based on the comparison result of the effective temperature difference and the preset partition boundary, the corresponding operating partition is generated. The state generation module is used to read the current system operating energy and the system available energy limit, calculate the adjustment space ratio in combination with the operating partition, assign direction and shape the adjustment space ratio to generate continuous energy states; The adjustment amount calculation module is used to read the energy state of the previous cycle, calculate the state change amplitude in combination with the current energy state, dynamically adjust the adjustment cycle according to the state change amplitude, and perform PID calculation to generate the adjustment amount based on the adjusted adjustment cycle. The execution module is used to calculate the target operating energy based on the adjustment amount, the current system operating energy, and the upper limit of the system available energy, generate the final execution target after applying boundary constraints to the target operating energy, and perform unified control on the compressor frequency, compressor start-up and shutdown, and unit start-up and shutdown based on the final execution target.

[0016] The beneficial technical effects of the present invention are at least as follows: To address the aforementioned issues, this invention provides a variable frequency heat pump zoned variable period PID energy adaptive regulation method and system. Through nonlinear compression and operational zoning strategies, it effectively solves the technical challenge of balancing response speed and system stability in traditional PID control. This method automatically adjusts the regulation intensity based on the temperature difference, ensuring rapid response under large temperature differences while avoiding system oscillations under small temperature differences. By introducing a variable period PID algorithm, the regulation period can be dynamically adjusted according to the system's energy state, significantly improving the system's dynamic response performance and control accuracy under transient conditions. Combined with a unified energy boundary constraint and equipment coordination control mechanism, the logical sequence of compressor frequency, commissioning / discharging, and unit start-up / shutdown is optimized, avoiding frequent equipment operation and extending equipment lifespan, thus achieving efficient, stable, and energy-saving operation of the heat pump system. Attached Figure Description

[0017] The present invention will be further described with reference to the accompanying drawings, but the embodiments in the drawings do not constitute any limitation on the present invention. For those skilled in the art, other drawings can be obtained based on the following drawings without creative effort.

[0018] Figure 1 This is a flowchart of the variable frequency heat pump zoned variable period PID energy adaptive adjustment method of the present invention.

[0019] Figure 2 This is a framework diagram of the variable frequency heat pump zoned variable period PID energy adaptive adjustment system of the present invention. Detailed Implementation

[0020] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0021] In one or more embodiments, such as Figure 1 As shown, a zoned variable-cycle PID energy adaptive adjustment method for variable-frequency heat pumps is disclosed, the method comprising the following: S1: Collect the main water temperature and calculate the original temperature difference with the set water temperature. Perform nonlinear compression processing on the original temperature difference to obtain the effective temperature difference. Based on the comparison result between the effective temperature difference and the preset partition boundary, generate the corresponding operating partition.

[0022] Specifically, after entering the operation zone generation stage, the main controller first reads the set water temperature from the parameter storage area, and then reads the current water temperature from the main pipe water temperature acquisition link. The set water temperature is usually written to the controller's non-volatile storage area via the human-machine interface, host computer download, or debugging port, and is directly retrieved by the program during the operation cycle. The current water temperature is usually acquired by a temperature sensor installed on the main pipe. The sensor can be an insertable thermistor or a digital temperature device. The acquired signal first passes through a sampling circuit and then is sent to the analog-to-digital conversion channel. The main control chip completes filtering and updating under a fixed sampling cycle to obtain the current water temperature register value. The main controller then calculates the original temperature difference, using the conventional deviation definition in thermal control. ; in, The initial temperature difference is obtained by the controller by subtracting the set water temperature from the current water temperature. To set the water temperature, the value comes from the target temperature stored in the parameter area; The current water temperature is derived from the reading of the main water temperature sensor after sampling, filtering, and register updating. This formula uses the basic deviation expression in temperature closed-loop control, which clarifies the difference between the target condition and the current condition, facilitating the subsequent conversion of continuous temperature differences into discrete zones. Taking a typical set of operating conditions as an example, if the set water temperature write value is... The current main water temperature reading is The original temperature difference is If the current main water temperature rises to The original temperature difference then becomes In a heat pump centralized control scenario, when the original temperature difference is directly used for zoning, small fluctuations near the setpoint can cause frequent zoning changes in operating status. Therefore, the main controller needs to obtain... Then, nonlinear compression processing is performed to make the partitioned input smoother when it is close to the set point, while still retaining sufficient direction and amplitude information when the deviation is significant.

[0023] Compression is performed in a continuous manner, and the expression is written as follows: ; in, The effective temperature difference after compression is calculated in real time by the main controller based on the original temperature difference and compression coefficient, and serves as the direct basis for zone determination. This represents the original temperature difference, the value of which comes from the calculation result of the previous formula; The compression factor is a pre-tuned value stored in the parameter area; for example, it can be set to... ; The absolute value of the original temperature difference is determined by the controller. The absolute value is taken. This formula is constructed by retaining the original temperature difference as the numerator to ensure the positive and negative directions remain unchanged, and then adding a correction term related to the absolute value of the deviation to the denominator. This makes the output closer to the original value when the temperature difference is large, and the output change more smoothly when the temperature difference is small. The same set of configuration parameters is used for explanation. , and Sometimes, After substituting, we get At this point, the system still retains a relatively obvious under-temperature characteristic; when , Sometimes, After substituting, we get This result creates a smoother partition input near the setpoint; when , Sometimes, After substituting, we get Its direction remains negative, suitable for subsequent identification as an operating state requiring energy recovery. The main control program receives... Then, read the preset partition boundaries in the parameter area and perform sequential comparisons: when When the temperature exceeds the positive boundary, an under-temperature regulation zone is generated; when A stable partition is generated when it is located between the positive and negative boundaries; when When the temperature difference is less than the negative boundary, an over-temperature regulation zone is generated. The resulting operating zone can be written to the control register using integer encoding; for example, a positive value indicates under-temperature regulation, zero value indicates stable holding, and a negative value indicates over-temperature regulation. This operating zone is then directly sent to the next stage for energy state generation. The entire implementation process consists of "parameter reading—temperature acquisition—raw temperature difference calculation—compression temperature difference calculation—boundary comparison—zone encoding output," with a clear calculation chain and a fixed execution order, allowing direct embedding into existing variable frequency heat pump main control programs.

[0024] S2: Read the current system operating energy and the system available energy limit, calculate the adjustment space ratio in combination with the operating partition, assign direction and shape the adjustment space ratio to generate a continuous energy state.

[0025] Specifically, after generating the operating partition, the main controller directly sends the operating partition register value output from the previous stage to the energy state generation stage, using this operating partition as the direction reference for the current cycle. The operating partition is stored in the controller using a fixed code, with the under-temperature regulation zone corresponding to... The stable maintenance zone corresponds to Over-temperature regulation zone corresponding After the main controller enters this stage, it first reads the register value, and then synchronously reads the current system operating energy and the system's available energy limit. The current system operating energy is denoted as... The value is calculated from the frequency feedback of each operating compressor. Specifically, the main controller reads the current frequency of each compressor via the drive communication link, then calculates and sums the values ​​according to the rated energy share pre-stored in the equipment capacity table. For example, if the rated energy share of a certain compressor is... The current frequency is the rated frequency. Then the operating energy contributed by the compressor in the current cycle is The upper limit of available energy of the system is denoted as Its value is obtained by summing the rated energy shares of the compressors currently allowed to operate. During status scanning, the main controller includes compressors with fault lockouts, protection delays completed, and those allowed to operate in the capacity table, and adds their rated energy shares to form the upper limit available for the current cycle. In this way, the operating zones provide direction. Give the currently loaded level. Given the current cycle's capacity boundary, the task of this step is to organize these three quantities into a continuous energy state that can be directly used later.

[0026] This adjustment process first constructs the adjustment space ratio based on the actual adjustment space in the heat pump centralized control system. Its basis lies in the equipment capacity balance relationship: when the system is in the under-temperature adjustment zone, the space that can be further added equals the total available capacity minus the currently operating capacity, i.e. When the system is in the over-temperature regulation zone, the available capacity for subsequent release is equal to the capacity already deployed in the system, i.e. When the system is in the stable maintenance region, no new adjustment space is expanded in the current cycle. Therefore, the "adjustable space" is first taken, and then divided by the total available capacity. By establishing a normalized ratio, a continuous quantity applicable to different unit sizes can be obtained. Based on this classic capacity balance relationship, this application unifies the undertemperature and overtemperature spaces into the same piecewise expression to obtain the regulation space ratio. ; in, This indicates the adjustment space ratio, which is calculated in real time by the main controller in this stage. This indicates the upper limit of the system's available energy, and its value comes from the sum of the rated energy shares of all available compressors in the equipment capacity table; This represents the current system operating energy, and its value comes from the cumulative result of frequency feedback from each operating compressor after being converted according to the rated energy share. This represents the operating partition, whose value is directly derived from the operating partition register value generated in the previous step. The derivation logic of this formula is continuous: first, it determines whether to use "remaining loadable space" or "currently releaseable space" in this cycle based on the operating partition; then, it is proportionalized using the total available capacity to ensure that the result always falls within a controllable range, facilitating unified calling by the subsequent variable-cycle PID controller. In terms of the numerical process, if three compressors are available to operate in the current cycle, their rated energy shares are respectively... , , ,but If two compressors are currently running, the operating energy converted to the corresponding frequency is as follows: and ,but When the previous stage outputs the under-temperature adjustment zone, that is... Substituting into the above formula, we get... This indicates that there is still a large loading capacity in this cycle; when the output of the previous stage exceeds the temperature regulation zone, i.e. Substituting into the above formula, we get... This indicates that some energy has been released during this cycle; when the output of the previous stage remains stable, that is... hour, This indicates that the current level will be maintained during this period.

[0027] After obtaining the adjustment space ratio, the master controller continues to generate the energy state, which is the only output for this cycle. This quantity must retain the directional information given by the operating partition, reflect the current adjustable space, and ensure that the value changes smoothly near the boundary so that the subsequent variable-period PID remains stable under different load conditions. The construction used here is derived from the bounded continuous shaping concept in control engineering, that is, first taking a normalized input, and then obtaining a continuous, bounded, and monotonic control state quantity through rational compression. This application... Introducing direction factor on the basis and shaping coefficient This forms the following expression ; in, The energy state is represented by the energy state register, which is written by the main controller after calculation in this stage, and can be directly read by the next stage. This indicates the operating partition, whose value comes from the operating partition register value of the previous stage, and is used to give the energy state a clear positive or negative direction; This represents the adjustment space ratio obtained from the previous formula; This represents the integer shaping coefficient, whose value is pre-written into the parameter area, for example, taking... or This is used to control the slope of change within the high spatial interval. The derivation of this formula is as follows: First, obtain the following from the previous formula... This allows the current adjustment space to be expressed in proportional form; then... Place it in the molecule to ensure that the larger the space, the higher the energy state; then add it to the denominator. , making when When approaching the upper limit, The growth automatically slows down, thus avoiding overly aggressive control inputs from the system in large-space conditions; finally, multiplied by This results in a positive energy state being output in the under-temperature region, a negative energy state being output in the over-temperature region, and a zero energy state being output in the stable region. Taking the above energy data as an example, when... , , And the parameters are set in the parameter area. First, we obtain from the previous equation. Substituting into the formula again, we get If the equipment operating level rises to And it is still in the under-temperature regulation zone, then there is After substituting, we get This indicates that although there is still a loading direction, the intensity has clearly converged; if the system is in the over-temperature regulation zone and maintains... ,but After substituting, we get The main controller thus obtains a continuous state variable with a decreasing direction and a moderate amplitude. The entire execution sequence can be explicitly written in the program as follows: first, read the running partition register, then read the capability table and frequency feedback to obtain... and ,calculate Then read the parameter area. calculate Finally Write to the energy state register. Thus, this step transforms the discrete operating partition given in the previous step into a continuous energy state with direction, boundary constraints, and shaping characteristics, enabling subsequent adjustment steps to perform calculations around the actual adjustable space of the heat pump central control.

[0028] S3: Read the energy state of the previous cycle, calculate the state change amplitude based on the current energy state, dynamically adjust the adjustment cycle according to the state change amplitude, and perform PID calculation to generate the adjustment amount based on the adjusted adjustment cycle.

[0029] Specifically, after completing the energy state generation in the previous stage, the master controller directly reads the current cycle's energy state from the energy state register. And read the energy state retained from the previous cycle from the historical state register. Then, the variable-period PID control adjustment generation process begins. The basic method used here is derived from classical discrete PID control. The original form of classical discrete PID is to use the current control deviation as the proportional term, the discrete accumulation of the deviation as the integral term, and the rate of change of the deviation between two adjacent sampling times as the derivative term, and then calculate the control output according to a fixed sampling period. The actual operation process in the heat pump centralized control scenario has two obvious characteristics: first, the water-side heat capacity and pipeline lag will cause a delay in the response of the main pipe water temperature to energy input; second, the compressor frequency adjustment and the compressor and unit start-up and shutdown actions are not on the same time scale, so the adjustment period needs to automatically shrink or widen according to the magnitude and change of the current energy state. Based on this, this step starts from the discrete control framework with a fixed sampling period, rewrites the "sampling period" as "the adjustment period determined by the current state", and then completes the PID adjustment calculation under this adjustment period, so that the adjustment rhythm matches the actual response process of the heat pump system. The main controller executes in a fixed order in the program: first, it reads the current energy state. Historical energy state Then, it reads the reference adjustment period, period correction coefficient, and PID parameters stored in the parameter area, calculates the current adjustment period, and finally generates the current adjustment amount based on this adjustment period and writes it to the adjustment amount register. For the initial entry into the energy regulation zone, re-entry into the energy regulation zone after a shutdown, or re-entry into the regulation zone from the stable holding zone, the master controller first initializes the historical state register to the current energy state, i.e., sets... At the same time, the integral register is cleared to the initial integral value of the current cycle, so that the differential term of the first adjustment cycle starts from zero, and the integral term is accumulated again from the current operating condition.

[0030] The calculation of the current adjustment period starts from the "reference sampling period" in discrete control. In conventional practice, the sampling period is a fixed value. This application introduces two state corrections on this basis: the first is the absolute value of the current energy state, reflecting the strength of the current adjustment demand; the second is the absolute value of the difference between the current energy state and the energy state of the previous period, reflecting the rate of change of the system between two adjacent periods. The master controller then forms the current adjustment period based on this. ; in, This indicates the adjustment period used in the current cycle, which is calculated by the master controller at the beginning of this cycle; This indicates the reference adjustment period, the value of which is written into the parameter area during the debugging phase and read directly by the main controller during runtime. This represents the current energy state correction coefficient, the value of which comes from the parameter region and is used to characterize the compressibility of the current energy state on the adjustment cycle. This represents the correction coefficient for adjacent state changes. Its value comes from the parameter region and is used to characterize the compressibility of the adjustment period by the magnitude of energy state changes. This indicates the current energy state output from the previous stage, and its value comes from the energy state register. This represents the energy state of the previous cycle, and its value comes from the historical state register. The derivation of this formula is continuous: first, using... This represents the basic adjustment rhythm of the system under steady operating conditions. Then, the two factors most directly affecting the adjustment rhythm under the current operating conditions—"current deviation degree" and "rate of state change"—are added as additional terms to the denominator, causing the denominator to increase with the intensity of the state and the intensity of the change. Automatic reduction; when the system enters the stable region, and As the denominator decreases, the fractional value gradually falls back down. This gradually approaches the reference period. The resulting adjustment period always maintains a similar relationship to the reference period and has a clear engineering meaning. Let's take a set of typical parameters as an example, assuming the parameter area is written with... , , Currently reading from the energy status register Read from the historical status register Then there is , After substituting, we get This indicates that the system is in a significant energy adjustment process, and the main controller should adopt a tighter adjustment rhythm; as the system gradually stabilizes in subsequent cycles, the readings will show... , Then there is This indicates that a more gradual adjustment rhythm is more suitable for the system at this time. If it is the moment of first entering adjustable range, the main controller has already set the parameters. Then there is At this point, the adjustment cycle is determined solely by the current energy state.

[0031] After obtaining the current adjustment cycle Afterwards, the main controller continues to calculate the adjustment amount for this cycle. The basic expression used here still comes from the classic discrete PID formula, that is, using the current state term as the proportional term, the accumulated state term as the integral term, and the difference between adjacent states divided by the current cycle as the derivative term. In a heat pump centralized control scenario, the energy state output from the previous stage... The running partition, adjustable space, and current demand direction have been unified into a single quantity, therefore this section directly uses... This replaces the temperature difference deviation in traditional PID controllers, forming a PID input oriented towards total system energy regulation. The main controller stores the integral register within the controller. This register is updated by the program at the end of each cycle according to the formula "the integral value of the previous cycle plus the current energy state multiplied by the current adjustment cycle", and is directly accessed within the current cycle. The main controller then calculates the adjustment amount using the following formula. ; in, This indicates the adjustment amount for this cycle. After the main controller calculates it, it is written into the adjustment amount register and used for total energy execution in the next stage. This represents the proportionality coefficient, the value of which comes from the parameter area and is used to set the direct effect of the current energy state on the adjustment amount. This represents the integral coefficient, the value of which comes from the parameter area and is used to set the intensity of the continuous effect of the cumulative energy state on the regulation amount. This represents the accumulated value in the current integral register, which is obtained by the master controller accumulating the value cycle by cycle according to the historical energy state in the control loop; This represents the differential coefficient, the value of which comes from the parameter region and is used to set the suppressive or accelerating effect of the energy state change trend on the regulation amount. Indicates the current energy state; Indicates the energy state of the previous cycle; This represents the current adjustment period obtained from the previous equation. The derivation of this equation is directly connected to the previous one: the previous equation first calculates the suitable adjustment period under the current operating condition, and the subsequent equation introduces this adjustment period into the differential term, so that the rate of state change acts synchronously with the length of the current period. Thus, when the system is in a rapidly changing phase, the previous equation provides a shorter adjustment period. The difference term in the latter equation will be more readily apparent; when the system enters a stable phase, the former equation will provide a longer timeframe. The difference term in the latter equation naturally slows down, and the overall adjustment becomes smoother. Continuing with the previous example, assume that the current integral register already contains... Parameters are set in the parameter area. , , And the previous equation has already been obtained. Current energy state Previous cycle energy state Then there is As the system stabilizes further, the next cycle will read... , The previous equation yields The integration register is updated to Then we can obtain If it is the moment of first entering energy regulation, the main controller has already set it. And clear the integral register to zero. At this point, the derivative term is zero and the integral term is initially zero. The adjustment starts with the proportional term, for example, when From time to time Then, in subsequent cycles, integral and difference effects are gradually introduced.

[0032] After completing the above two calculations, the main controller will... Write to the adjustment register and record the current energy state. The historical status register is overwritten and used as the basis for the next cycle. Use, and according to the current cycle The integral register is updated once. This step further transforms the continuous energy state output from the previous stage into a dynamically rhythmic adjustment, ensuring continuous connection of energy state, adjustment cycle, and adjustment amount within the same control chain. For both single-unit and multi-unit variable frequency heat pump scenarios, this processing further converts the main pipe water temperature deviation, after undergoing "operation zone generation" and "energy state generation," into an adjustment amount suitable for direct invocation by the execution layer. Subsequent compressor frequency increases / decreases, compressor activation / deactivation, and unit activation / deactivation actions can all revolve around this adjustment amount, thus fully connecting the "state recognition—energy expression—rhythm adjustment—action execution" chain in the heat pump centralized control system.

[0033] S4: Calculate the target operating energy based on the adjustment amount, the current system operating energy, and the upper limit of the system available energy. After applying boundary constraints to the target operating energy, generate the final execution target. Then, perform unified control on the compressor frequency, compressor start-up and shutdown, and unit start-up and shutdown based on the final execution target.

[0034] Specifically, after completing the adjustment calculation, the main controller reads the output from the previous stage from the adjustment register. And read the current system operating energy from the operating status table. and the system's available energy limit Then, the total energy execution process begins. The core idea here comes from the state update relationship in discrete control systems, namely, "the next state equals the current state plus the control increment." This relationship is often written in control theory as... ,in This represents the control input. In a heat pump centralized control scenario, the system state can be represented by the current operating energy, while the adjustment quantity... The energy requirements for system increases or decreases were already clearly stated in the previous step. Therefore, this step, based on this state update relationship and combined with the energy definition from step two ("loading to check remaining loadable space, unloading to check current releaseable space"), rewrites the control increment in different directions: when When positive, the main controller calculates the energy increase target for this cycle based on the current remaining loadable space; when... When the value is negative, the main controller calculates the energy reduction target for this cycle based on the current available space, thereby obtaining the target operating energy. ; in, This represents the target operating energy for this cycle, calculated by the main controller in this step. This represents the current system operating energy, and its value is obtained by summing the frequency feedback of each operating compressor after converting it according to the rated capacity. This represents the adjustment amount output from the previous stage. Its value is calculated by the variable period PID and stored in the adjustment amount register. This represents the upper limit of available energy in the system, determined by the sum of the rated capacities of the compressors currently capable of operation. The derivation of this expression is based on the classical state update formula, introducing two different boundary correction terms to account for the bidirectional execution characteristics of heat pump centralized control: the loading direction adopts... This corresponds to the percentage of currently available loadable space; the unloading direction adopts... This corresponds to the current proportion of available space. In this way, the energy increase is more substantial when the system is in a low-load zone, and the energy reduction is more effective when in a high-load zone, ensuring that the target operating energy always matches the current adjustable space. Let's illustrate this with a set of typical operating conditions: if the current available upper limit of the system is... The current operating energy is The output adjustment amount of the previous stage is Then there is If the current system operating energy is The output adjustment amount of the previous stage is Then there is This indicates that the magnitude of energy reduction will increase in tandem with the current loaded level.

[0035] Obtain the target operating energy Subsequently, the master controller continues to constrain the system based on its capability boundaries. The fundamental method used here is derived from the concept of saturation constraint in engineering control, which limits the target value to the system's physical reach, ensuring that subsequent execution objects always correspond to the actual equipment capabilities. The master controller generates the final execution target using the following formula. ; in, This indicates the final execution target for this cycle, which is used by the main controller to guide frequency regulation, compressor commissioning / decommissioning, and unit commissioning / decommissioning after the calculation is completed in this step; This represents the target operating energy calculated using the previous formula; This represents the upper limit of the current available energy of the system. The derivation logic of this formula is to further restrict the theoretical target obtained from the previous formula within the actual capacity range of the system, so that the execution target is neither lower than the lower bound when the system is completely unloaded, nor higher than the sum of the capacities of all currently available compressors. Continuing with the previous example, in , , When, the previous equation is obtained Because this value is located and Between, therefore there is If, under a certain extreme unload condition, the current operating energy is only... The system's available limit is Adjustment amount is Then the previous equation is obtained After being constrained by this expression, we have Through this process, subsequent execution steps always revolve around the energy required to reach physically attainable targets.

[0036] After obtaining the final execution goal Then, the main controller uses this target value as the sole basis for execution decomposition. First, it adjusts the frequency of the running compressors: based on the mapping relationship between the current frequency and capacity of each compressor, the main controller calculates the energy value corresponding to the sum of the current frequencies, and... The difference is used as the total frequency adjustment amount, which is then allocated according to the rated capacity ratio of each compressor and the current remaining frequency adjustment margin. The new frequency setting value is sent to each drive board through the communication interface. During the frequency adjustment process, the frequency of each compressor is limited by its allowable range. When a compressor reaches its maximum frequency, the main controller fixes it at that value and allocates the remaining energy increase demand to other operating compressors; when a compressor drops to its minimum frequency, the main controller fixes it at that value and allocates the remaining energy reduction demand to other operating compressors.

[0037] When all operating compressors have reached their maximum frequency and the system has not yet reached its maximum frequency... At this time, the main controller selects a compressor from the standby compressor list that meets the conditions for activation. The selection conditions are provided by the device status register, including that the compressor is currently fault-free, the minimum downtime has been met, and the start-up permission flag is valid. The main controller sends a start command to the compressor and gradually increases its frequency after startup, so that the total system energy approaches the required level. When the frequency adjustment has been reduced to the lower limit and the current operating energy is still higher than the limit... When this happens, the main controller selects a compressor to perform a shutdown operation based on the running time, priority, or load distribution, and recalculates the frequency distribution of the remaining compressors.

[0038] In a multi-unit system, when all compressors within a single unit are running and still cannot achieve the desired effect... At this time, the main controller further selects a standby unit from the unit level to perform a full unit startup; when the system load remains below the current combined capacity, it selects a unit with a lower load to perform a full unit shutdown. Throughout the entire execution process, It is always used as a unified target quantity in the judgment, so that frequency regulation, compressor start-up and shutdown, and unit start-up and shutdown are completed in a coordinated manner under the same energy scale. After the main controller finishes the current cycle, it writes back the new operating energy. Registers provide the basis for calculations in the next cycle, enabling the entire control chain to form a continuous closed loop from energy state to regulation quantity to actual execution.

[0039] In one or more embodiments, such as Figure 2 As shown, a variable frequency heat pump zoned variable cycle PID energy adaptive regulation system is disclosed, the system comprising: The partition generation module is used to collect the main water temperature and calculate the original temperature difference with the set water temperature. The original temperature difference is subjected to nonlinear compression processing to obtain the effective temperature difference. Based on the comparison result of the effective temperature difference and the preset partition boundary, the corresponding operating partition is generated. The state generation module is used to read the current system operating energy and the system available energy limit, calculate the adjustment space ratio in combination with the operating partition, assign direction and shape the adjustment space ratio to generate continuous energy states; The adjustment amount calculation module is used to read the energy state of the previous cycle, calculate the state change amplitude in combination with the current energy state, dynamically adjust the adjustment cycle according to the state change amplitude, and perform PID calculation to generate the adjustment amount based on the adjusted adjustment cycle. The execution module is used to calculate the target operating energy based on the adjustment amount, the current system operating energy, and the upper limit of the system available energy, generate the final execution target after applying boundary constraints to the target operating energy, and perform unified control on the compressor frequency, compressor start-up and shutdown, and unit start-up and shutdown based on the final execution target.

[0040] It is worth noting that the specific workflow of the variable frequency heat pump zoned variable period PID energy adaptive adjustment system provided in this embodiment of the invention is the same as that of the variable frequency heat pump zoned variable period PID energy adaptive adjustment method described in the above embodiments, and will not be repeated here.

[0041] This invention also provides a variable frequency heat pump zoned variable cycle PID energy adaptive regulation device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the steps described in the above embodiments of the variable frequency heat pump zoned variable cycle PID energy adaptive regulation method, for example... Figure 1 The steps S1 to S4 described above; or, when the processor executes the computer program, it implements the functions of each module in the above system embodiments.

[0042] For example, the computer program may be divided into one or more modules, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program in the variable frequency heat pump zoned variable cycle PID energy adaptive regulation device.

[0043] The variable frequency heat pump zone-specific variable period PID energy adaptive adjustment device can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. The variable frequency heat pump zone-specific variable period PID energy adaptive adjustment device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that the variable frequency heat pump zone-specific variable period PID energy adaptive adjustment device may also include input / output devices, network access devices, buses, etc.

[0044] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the variable frequency heat pump zoned variable cycle PID energy adaptive regulation device, connecting various parts of the device via various interfaces and lines.

[0045] The memory can be used to store the computer program and / or modules. The processor implements various functions of the variable frequency heat pump zoned variable cycle PID energy adaptive regulation device by running or executing the computer program and / or modules stored in the memory and calling the data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created according to the operation of the controller, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital card (SD card), flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0046] The integrated module of the variable frequency heat pump zoned variable cycle PID energy adaptive adjustment device, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0047] 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 computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0048] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A variable frequency heat pump zoned variable period PID energy adaptive adjustment method, characterized in that, The method includes: Collect the main water temperature and calculate the original temperature difference with the set water temperature. Perform nonlinear compression processing on the original temperature difference to obtain the effective temperature difference. Based on the comparison result of the effective temperature difference and the preset partition boundary, generate the corresponding operating partition. Read the current system operating energy and the system available energy limit, calculate the adjustment space ratio in combination with the operating partition, assign direction and shape the adjustment space ratio to generate a continuous energy state; Read the energy state of the previous cycle, calculate the state change amplitude based on the current energy state, dynamically adjust the adjustment cycle according to the state change amplitude, and perform PID calculation to generate the adjustment amount based on the adjusted adjustment cycle. Based on the adjustment amount, the current system operating energy, and the upper limit of the system available energy, the target operating energy is calculated. After applying boundary constraints to the target operating energy, the final execution target is generated. Based on the final execution target, the compressor frequency, compressor start-up and shutdown, and unit start-up and shutdown are uniformly controlled.

2. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The generation of the corresponding operating partitions is specifically as follows: when the effective temperature difference is greater than the positive boundary, an under-temperature regulation partition is generated; when the effective temperature difference is between the positive and negative boundaries, a stability maintenance partition is generated; and when the effective temperature difference is less than the negative boundary, an over-temperature regulation partition is generated.

3. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The calculation of the adjustment space ratio in conjunction with the operation zone is specifically as follows: when in the under-temperature adjustment zone, the ratio of the remaining loadable space to the upper limit of the system's available energy is calculated; When in the overtemperature regulation zone, calculate the ratio of the current available space to the upper limit of the system's available energy; When in a stable holding partition, the adjustment space ratio is zero.

4. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The process of assigning direction and shaping the adjustment space ratio specifically involves: introducing a shaping coefficient to rationally compress the adjustment space ratio, so that the growth of the energy state automatically slows down when the adjustment space ratio approaches the upper limit, and assigning positive, negative or zero directional information to the energy state according to the operating partition.

5. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The dynamic adjustment of the adjustment period based on the magnitude of state change specifically involves: compressing the reference adjustment period based on the absolute value of the current energy state and the absolute value of the change in energy state in adjacent periods; When the system is in a rapid energy adjustment process, the adjustment cycle is compressed and shortened; When the system stabilizes, the adjustment period automatically widens to approach the reference adjustment period.

6. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The method of generating adjustment quantity by performing PID calculation based on the adjusted adjustment period is as follows: the current adjustment period is introduced into the calculation of the PID derivative term, so that the effect of the derivative term changes synchronously with the length of the current adjustment period. When the adjustment period is shorter, the derivative term is more agile, and when the adjustment period is longer, the derivative term naturally slows down.

7. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The calculation of the target operating energy based on the adjustment amount, the current system operating energy, and the upper limit of the system's available energy is specifically as follows: the loading direction calculates the energy increase target based on the proportion of the remaining loadable space, and the unloading direction calculates the energy reduction target based on the proportion of the current releaseable space, so that the energy increase in the low load area is sufficient and the energy reduction in the high load area is effective.

8. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The boundary constraint on the target operating energy is specifically defined as follows: the target operating energy is limited to the lower bound when the system is completely unloaded and the upper bound of the sum of the current available compressor capacities, thereby generating a physically reachable final execution target.

9. The variable frequency heat pump zoned variable period PID energy adaptive adjustment method according to claim 1, characterized in that, The unified control of compressor frequency, compressor activation / deactivation, and unit activation / deactivation based on the final execution target is as follows: frequency adjustment is allocated based on the rated capacity ratio of each compressor; compressor activation / deactivation is executed when the frequency has reached its limit and still cannot meet the target; and unit activation / deactivation is executed when the capacity of a single unit is insufficient.

10. A variable frequency heat pump zoned variable cycle PID energy adaptive adjustment system, characterized in that, include: The partition generation module is used to collect the main water temperature and calculate the original temperature difference with the set water temperature. The original temperature difference is subjected to nonlinear compression processing to obtain the effective temperature difference. Based on the comparison result of the effective temperature difference and the preset partition boundary, the corresponding operating partition is generated. The state generation module is used to read the current system operating energy and the system available energy limit, calculate the adjustment space ratio in combination with the operating partition, assign direction and shape the adjustment space ratio to generate continuous energy states; The adjustment amount calculation module is used to read the energy state of the previous cycle, calculate the state change amplitude in combination with the current energy state, dynamically adjust the adjustment cycle according to the state change amplitude, and perform PID calculation to generate the adjustment amount based on the adjusted adjustment cycle. The execution module is used to calculate the target operating energy based on the adjustment amount, the current system operating energy, and the upper limit of the system available energy, generate the final execution target after applying boundary constraints to the target operating energy, and perform unified control on the compressor frequency, compressor start-up and shutdown, and unit start-up and shutdown based on the final execution target.