Air source heat pump water heater waterless commodity inspection adaptive compensation method and system
By combining piecewise cubic spline interpolation and an improved feedforward PID algorithm, an adaptive compensation method for the commercial inspection of air source heat pump water heaters without water was constructed. This method solves the problems of fitting accuracy and dynamic control of nonlinear characteristics under environmental temperature changes, and achieves efficient and reliable commercial inspection judgment and quality control.
Patent Information
- Application Number
- CN202611350337.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-02
- Publication Date
- 2026-11-20
AI Technical Summary
Existing waterless inspection technology lacks adaptability to changes in ambient temperature, resulting in insufficient fitting accuracy of nonlinear characteristics of heat pump systems over a wide temperature range. Dynamic control and steady-state judgment are independent, and the judgment threshold adjustment is lagging, making it difficult to achieve accurate inspection judgment.
A nonlinear environmental compensation function is constructed using piecewise cubic spline interpolation, and real-time control is performed by combining it with an improved feedforward PID algorithm. The compressor frequency and fan speed are adjusted by adaptive feedforward PID, and a closed-loop system of control-acquisition-determination is formed by combining multi-dimensional comprehensive judgment indicators and online threshold optimization.
It achieves high-precision equivalent water feature estimation over a wide temperature range, shortens heating stabilization time, improves the reliability of commodity inspection and quality traceability, adapts to different seasons and regional conditions, and realizes refined graded quality control.
Smart Images

Figure CN123134598A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of commercial inspection technology for air source heat pump water heaters, and in particular to an adaptive compensation method and system for commercial inspection of air source heat pump water heaters without water. Background Technology
[0002] Air source heat pump water heaters typically undergo operational inspections before leaving the factory to confirm the unit's heating capacity, heat exchange status, electrical safety, and the proper functioning of key components. Traditional inspection methods involve filling the water tank with water before testing, collecting parameters such as exhaust temperature, intake pressure, compressor current, and overall power after the system has stabilized, and then draining and purging the pipes after testing. This process not only occupies significant production line space and extends the testing cycle time but also incurs continuous water consumption and pipe maintenance costs.
[0003] To overcome the aforementioned shortcomings, in recent years, some waterless detection solutions have attempted to replace actual water injection with air-side operation. For example, Chinese invention patent CN119436563B proposes a waterless commercial inspection algorithm operation method for an integrated air source heat pump water heater. By setting the inlet and outlet air temperatures and determining the fan speed and compressor frequency, key parameters under water-containing and waterless states are tested before mass production to form a benchmark data package. A feedforward PID algorithm is used to adjust the compressor and fan speeds to ensure stable outlet air temperature. The real-time collected commercial inspection data is compared with the benchmark data package for judgment. This solution effectively shortens the commercial inspection cycle by eliminating the water injection and drainage process. However, its correction data package is a static difference—that is, a fixed difference between water-containing and waterless parameters—which does not consider the impact of ambient temperature changes on parameter offsets between water-containing and waterless states. Furthermore, the adjustment of the error allowable value depends on post-event statistical analysis and lacks real-time adaptive capability.
[0004] For example, Chinese invention patent application CN122360984A proposes an intelligent method and system for determining the absence of water in air source heat pump water heaters. This method establishes a dedicated inspection benchmark, including an offset ratio, by pairing test results of the same model prototype under water-containing and water-free conditions. Then, during mass production testing, real-time parameters of the waterless state are collected, steady-state representative values are extracted, and the equivalent water-containing characteristics are calculated by combining the offset ratio and environmental correction terms. Finally, a comprehensive judgment index is generated for inspection. While this scheme introduces an offset ratio and an environmental correction term, its environmental correction uses a linear first-order approximation—the environmental sensitivity coefficient comes from the difference between benchmark values in adjacent environmental intervals—which limits the fitting accuracy for the nonlinear environmental response of the heat pump system over a wide temperature range. Furthermore, this scheme does not involve dynamic control of the heating process and lacks proactive measures to ensure the stability of the outlet air temperature.
[0005] In summary, the existing waterless commercial inspection technology still has the following shortcomings: (1) The environmental temperature compensation method is singular, mostly linear correction, which is difficult to adapt to the nonlinear characteristics of heat pump systems in a wide temperature range; (2) The dynamic control and steady-state judgment of the heating process are independent of each other, and the integrated closed loop of "control-acquisition-judgment" has not been formed; (3) The adjustment of the judgment threshold depends on the batch statistics after the fact, and there is a lack of an online adaptive optimization mechanism based on real-time detection data. Summary of the Invention
[0006] In view of this, the present invention provides an adaptive compensation method and system for waterless inspection of air source heat pump water heaters to solve or alleviate the technical problems existing in the prior art, and at least provides a beneficial option.
[0007] The technical solution of this invention is implemented as follows: An adaptive compensation method for waterless inspection of air source heat pump water heaters includes the following steps: S1. Establish dedicated inspection standards: Select several prototypes of the same model and run them in both water-based and waterless inspection states. Collect stable representative values of key parameters, calculate the offset ratio of each key parameter in the waterless inspection state relative to the water-based inspection state, and construct nonlinear environmental compensation functions for each key parameter using piecewise cubic spline interpolation. Record the product model, the benchmark representative values of each key parameter in the water-based inspection state, the benchmark representative values of each key parameter in the waterless inspection state, the offset ratio, the nonlinear environmental compensation function, and the corresponding applicable environmental temperature range as dedicated inspection standards. S2. Adaptive feedforward PID heating control: After the product to be inspected enters the waterless inspection station, the corresponding special inspection benchmark is retrieved, and the heating process starts with the initial fan speed and the initial compressor frequency. During the heating process, the improved feedforward PID algorithm with the introduction of the ambient temperature feedforward term is used to calculate the error term in real time, and the compressor frequency and fan speed are adjusted according to the error term until the outlet air temperature is stable within the target range. S3. Steady-state feature extraction of nonlinear environmental compensation: After the outlet air temperature stabilizes, a common steady-state time window is determined. Within the common steady-state time window, the waterless steady-state representative values of each key parameter are extracted. Based on the offset ratio of each key parameter, the nonlinear environmental compensation function, the water-containing commercial inspection benchmark representative value, and the current ambient temperature, the equivalent water-containing characteristics of each key parameter are calculated. S4. Multi-dimensional comprehensive judgment: Based on the first deviation between the equivalent water-containing characteristics of each key parameter and the representative value of the water-containing commercial inspection benchmark, the second deviation between the waterless steady-state representative value of each key parameter and the representative value of the waterless commercial inspection benchmark, and the coupling deviation between exhaust temperature and overall power, a comprehensive judgment index is generated. The comprehensive judgment index is compared with the judgment threshold to obtain the commercial inspection judgment result. S5. Tiered handling and online threshold adaptive optimization: Calculate the handling margin coefficient based on the comprehensive judgment index, execute release or interception actions according to the tiered rules, and adaptively determine the sliding window size based on the production line cycle time, and update the judgment threshold in real time using the comprehensive judgment index of the most recent products as a sample. S6. Repeat steps S2 to S5 until all products have completed commercial inspection.
[0008] A further preferred method is to calculate the offset ratio in step S1 as follows: for the k-th key parameter, calculate according to the following formula: in, This represents the stable representative value of the k-th key parameter of the i-th prototype under water-containing inspection conditions. This represents the stable representative value of the k-th key parameter of the i-th prototype under anhydrous commercial inspection conditions. This indicates that the calculation results for all prototypes of the same model are taken as the median value. It is a preset positive number.
[0009] A further preferred method is as follows: The specific method for constructing the nonlinear environmental compensation function using piecewise cubic spline interpolation in step S1 is as follows: Select at least five temperature characteristic nodes within the applicable ambient temperature range of the model; run the waterless commercial inspection program at each temperature node after the ambient temperature stabilizes; continuously collect steady-state operating data after the outlet air temperature stabilizes and take the average value as the parameter value at that temperature node. Based on ambient temperature As the independent variable, with Piecewise cubic spline interpolation is performed on the dependent variable, in each interval The above-described nonlinear environmental compensation function Expressed as: Among them, each node satisfies the continuity of function values, the continuity of the first derivative, and the continuity of the second derivative, and all coefficients are pre-stored in a dedicated commercial inspection standard.
[0010] Further preferred: the error term of the improved feedforward PID algorithm in step S2 Calculate using the following formula: in, This is the measured value of the outlet air temperature during the k-th heating cycle. The target value for the outlet air temperature. This represents the fitted slope value of the outlet air temperature change over time. This is the current measured ambient temperature. The value is the center value of the applicable ambient temperature range recorded in the special commodity inspection standard. , , This is the feedforward scaling factor. The integral coefficient is... The number of historical periods taken for the integral term; According to the error term The method for adjusting the compressor frequency and fan speed is as follows: If Then reduce the larger of the current fan speed and the current compressor frequency. ;like Then increase the smaller of the current fan speed and the current compressor frequency. The fan speed and compressor frequency are both normalized values.
[0011] Further preferred: the equivalent water feature in step S3 Calculate using the following formula: in, This represents the anhydrous steady-state value of the k-th key parameter. This represents the offset ratio of the k-th key parameter. This represents the standard value for the k-th key parameter in water-based commodity inspection. Let k be the nonlinear environmental compensation function for the k-th key parameter. This is the current measured ambient temperature. The reference ambient temperature.
[0012] Further preferred: The comprehensive judgment index D in step S4 is calculated according to the following formula: in, The equivalent water-bearing characteristic for the k-th key parameter is... This represents the standard value for the k-th key parameter in water-based commodity inspection. This represents the anhydrous steady-state value of the k-th key parameter. This represents the anhydrous commodity inspection standard value for the k-th key parameter. These are the weighting coefficients for the anhydrous steady-state consistency term. This is the weighting coefficient for the power-exhaust temperature coupling deviation term; These correspond to the exhaust temperature, intake pressure, compressor current, and overall power, respectively.
[0013] A further preferred embodiment: the disposal margin coefficient A in step S5 is calculated according to the following formula: in, To comprehensively evaluate the indicators, This is the comprehensive judgment threshold for the current model; The classification rule is as follows: If If it is deemed as a normal qualified condition, the release procedure will be carried out; if If the boundary is deemed acceptable, the release action is executed and the boundary acceptance mark is recorded; if If it fails, it is deemed unqualified, and an interception action is executed; among them, This is the standard acceptable threshold value. This is the boundary dividing value. .
[0014] A further preferred embodiment: The method for adaptively determining the sliding window size based on the production line cycle time in step S5 is as follows: The sliding window size N is determined according to the following formula: in, This represents the average commercial inspection cycle time on the production line, expressed in seconds per unit. The set response time is in minutes; The method for real-time updating of the judgment threshold is as follows: using the comprehensive judgment index D of the most recent N products as samples, the sample mean is calculated in real time using a sliding window method. and sample standard deviation ,according to Update the judgment threshold, where The window continuously slides along with the commodity inspection process, using a preset multiplier; the updated judgment threshold... Constraints must also be met. ,in and These are the lower and upper limits of the judgment threshold set during the calibration phase for this model, respectively. If the value exceeds the constraint range, the nearest boundary value will be used.
[0015] Further preferred: the common steady-state time window in step S3 simultaneously satisfies the following conditions: (a) Continuous in time; (b) The standard deviation of each key parameter within the common steady-state time window is less than a preset threshold; (c) The sampling levels of each key parameter within the common steady-state time window are generally close to the representative values of the anhydrous commercial inspection standard for the corresponding model in the dedicated commercial inspection standard; the method for extracting the anhydrous steady-state representative values of each key parameter within the common steady-state time window is as follows: take the median value of all sampled values of each key parameter within the common steady-state time window as the anhydrous steady-state representative value of that key parameter. .
[0016] As another preferred embodiment, the present invention also provides a system employing an adaptive compensation method for waterless inspection of air-source heat pump water heaters, comprising: A dedicated commodity inspection standard establishment module is used to perform step S1 as described above; An adaptive feedforward PID control module is used to execute step S2 as described above; The steady-state feature extraction and compensation module is used to perform step S3 as described above; The comprehensive determination module is used to execute step S4 as described above; The graded processing and online optimization module is used to perform step S5 as described above.
[0017] Compared with the prior art, the present invention has the following significant advantages: Based on the overall technical solution described in claim 1, the present invention achieves the following beneficial effects: First, by introducing a nonlinear environmental compensation function constructed by piecewise cubic spline interpolation on the basis of water / water offset ratio compensation, it can accurately characterize the nonlinear variation characteristics of each key parameter of the heat pump system in a wide range of ambient temperatures. This overcomes the technical defect of insufficient fitting accuracy of the linear environmental correction term in the existing technology under extreme low or high temperature conditions, significantly improves the accuracy of the equivalent water feature estimation, and enables the commodity inspection judgment to maintain a high degree of consistency under different seasons and regional conditions. Secondly, by introducing an ambient temperature feedforward term into the PID control of the heating process, the control system can adjust the control quantity in advance when the ambient temperature fluctuates, avoiding the response lag caused by simply relying on the feedback adjustment of the outlet air temperature. By organically combining dynamic heating control with steady-state parameter acquisition, the heating stabilization time is effectively shortened, forming an integrated closed loop of "control-acquisition-judgment". Third, by adaptively determining the sliding window size based on the production line cycle time and updating the judgment threshold in real time, the judgment threshold can be automatically adjusted according to dynamic factors such as production line status fluctuations and sensor drift, without the need for manual intervention afterward. This overcomes the defect of severe lag in threshold adjustment in existing technologies. At the same time, the upper and lower bound constraints of the window size ensure the unity of statistical robustness and engineering response timeliness. Fourth, by setting three-level classification and handling rules for regular qualified, boundary qualified, and unqualified, and introducing a coupling deviation term between exhaust temperature and overall power in the comprehensive judgment index, the quality control has been improved from binary judgment to refined classification. It can also effectively identify "hidden faults" where local parameters are normal but the overall thermal state is abnormal, improving the reliability of commodity inspection judgment and the traceability of product quality.
[0018] The above overview is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the invention will become readily apparent from the accompanying drawings and the following detailed description. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart of the adaptive compensation method for waterless commercial inspection of an air source heat pump water heater in this embodiment.
[0021] Figure 2 A schematic diagram illustrating the construction of a nonlinear environmental compensation function.
[0022] Figure 3 This is a schematic diagram illustrating the principle of online threshold optimization based on an adaptive sliding window for production line cycle time.
[0023] Figure 4 This is a structural diagram of an adaptive compensation system for a waterless commercial inspection of an air source heat pump water heater.
[0024] Figure 5 This is a flowchart of the adaptive compensation method for waterless commercial inspection of air source heat pump water heater in Embodiment 2. Detailed Implementation
[0025] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of the invention. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0026] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings. Example
[0027] like Figure 1 As shown, an adaptive compensation method for waterless inspection of an air source heat pump water heater includes the following steps: S1. Establish dedicated inspection standards: Select several prototypes of the same model and run them under water-containing and waterless inspection conditions respectively. Collect stable representative values of key parameters, calculate the offset ratio of each key parameter under waterless inspection conditions relative to water-containing inspection conditions, and construct nonlinear environmental compensation functions for each key parameter using piecewise cubic spline interpolation. Record the product model, the benchmark representative values of each key parameter under water-containing inspection conditions, the benchmark representative values of each key parameter under waterless inspection conditions, the offset ratio, the nonlinear environmental compensation function, and the corresponding applicable environmental temperature range as dedicated inspection standards.
[0028] A further preferred method is to calculate the offset ratio in step S1 as follows: for the k-th key parameter, calculate according to the following formula: in, This represents the stable representative value of the k-th key parameter of the i-th prototype under water-containing inspection conditions. This represents the stable representative value of the k-th key parameter of the i-th prototype under anhydrous commercial inspection conditions. This indicates that the calculation results for all prototypes of the same model are taken as the median value. It is a preset positive number.
[0029] A further preferred method is as follows: The specific method for constructing the nonlinear environmental compensation function using piecewise cubic spline interpolation in step S1 is as follows: Select at least five temperature characteristic nodes within the applicable ambient temperature range of the model; run the waterless commercial inspection program at each temperature node after the ambient temperature stabilizes; continuously collect steady-state operating data after the outlet air temperature stabilizes and take the average value as the parameter value at that temperature node. Based on ambient temperature As the independent variable, with Piecewise cubic spline interpolation is performed on the dependent variable, in each interval The above-described nonlinear environmental compensation function Expressed as: Among them, each node satisfies the continuity of function values, the continuity of the first derivative, and the continuity of the second derivative, and all coefficients are pre-stored in a dedicated commercial inspection standard.
[0030] In the specific implementation process: Several prototype units of the same model (preferably three to five units) were selected and operated under both water-containing and waterless inspection conditions. Under similar conditions of target values for inlet and outlet air temperatures and environmental conditions in both conditions, stable representative values of key parameters were collected. The key parameters include exhaust temperature, intake pressure, compressor current, and total power.
[0031] For the k-th key parameter, calculate the offset ratio r_k between the waterless inspection state and the watery inspection state: in, This represents the stable representative value of the k-th key parameter of the i-th prototype under water-containing inspection conditions. This represents the stable representative value of the k-th key parameter of the i-th prototype under anhydrous commercial inspection conditions. This indicates that the median value is taken from the calculation results of all prototypes of the same model. It is a preset small positive number (preferably 0.01~0.1) to avoid calculation errors caused by an excessively small denominator.
[0032] The benchmark representative values of each key parameter under the product model and water-containing inspection status. Benchmark representative values of key parameters under anhydrous commercial inspection conditions Offset ratio of each key parameter The corresponding applicable ambient temperature range is recorded as a dedicated commercial inspection standard C1.
[0033] like Figure 2 As shown, a nonlinear environmental compensation function is constructed. : During the prototype calibration phase, a standard prototype of the same model is placed in an adjustable ambient temperature and humidity test chamber. At least five temperature characteristic nodes (preferably -5°C, 5°C, 15°C, 25°C, 35°C, and 45°C) are uniformly selected within the nominal operating ambient temperature range of the model (e.g., -5°C to 45°C). At each temperature node, after the ambient temperature stabilizes within ±0.5°C, a waterless commercial inspection procedure is run. After the outlet air temperature stabilizes at the target value (preferably 60°C), steady-state operating data is continuously collected for at least 60 seconds. The average value of each key parameter is taken as the parameter value at that temperature node. .
[0034] Based on ambient temperature As the independent variable, the steady-state test values of each key parameter are used. As the dependent variable, a continuous function is constructed using piecewise cubic spline interpolation. Piecewise cubic spline interpolation ensures that the function is continuously differentiable at the first and second order at the nodes. This avoids the Runge phenomenon in high-order polynomial fitting and ensures a smooth transition of parameter changes between temperature nodes. It can accurately reflect the nonlinear drift of parameters in the heat pump system caused by changes in refrigerant properties, lubricating oil viscosity, and compressor efficiency over a wide temperature range.
[0035] Specifically, in each interval superior, Expressed as: Among them, coefficient , , , By interpolation conditions , The continuity conditions of the first and second derivatives at the nodes are uniquely determined and pre-stored in the dedicated commercial inspection standard C1 for real-time retrieval in subsequent steps.
[0036] S2. Adaptive Feedforward PID Heating Control: After the product to be inspected enters the waterless inspection station, the corresponding special inspection benchmark is retrieved, and the heating process begins with the initial fan speed and the initial compressor frequency. During the heating process, the improved feedforward PID algorithm with the introduction of the ambient temperature feedforward term is used to calculate the error term in real time, and the compressor frequency and fan speed are adjusted according to the error term until the outlet air temperature is stable within the target range.
[0037] Further preferred: the error term of the improved feedforward PID algorithm in step S2 Calculate using the following formula: in, This is the measured value of the outlet air temperature during the k-th heating cycle. The target value for the outlet air temperature. This represents the fitted slope value of the outlet air temperature change over time. This is the current measured ambient temperature. The value is the center value of the applicable ambient temperature range recorded in the special commodity inspection standard. , , This is the feedforward scaling factor. The integral coefficient is... The number of historical periods taken for the integral term; According to the error term The method for adjusting the compressor frequency and fan speed is as follows: If Then reduce the larger of the current fan speed and the current compressor frequency. ;like Then increase the smaller of the current fan speed and the current compressor frequency. The fan speed and compressor frequency are both normalized values.
[0038] In the specific implementation process, after the air source heat pump water heater to be inspected enters the waterless commercial inspection station, the control system obtains the product model and retrieves the corresponding special commercial inspection standard C1.
[0039] The control system is activated based on the law of conservation of energy and the set air intake temperature. and target value of air outlet temperature (Preferred temperature: 60°C) Calculate the enthalpy difference required to change the heating medium in the hot water tank during the waterless commercial inspection process. Utilizing enthalpy difference The relationship between fan speed and compressor frequency is used to determine the initial fan speed. and initial compressor frequency The heating process begins as a start-up parameter.
[0040] During the heating process, an improved feedforward PID algorithm is used to calculate and adjust the error terms of the compressor frequency and fan speed in real time. : in, This is the measured value of the outlet air temperature during the k-th heating cycle. The target value for the outlet air temperature. This represents the fitted slope value of the outlet air temperature change over time. This is the current measured ambient temperature. The value is the center value of the applicable ambient temperature range recorded in the dedicated commodity inspection standard C1. , , This is the feedforward scaling factor. The integral coefficient is... The number of historical periods taken for the integral term (preferably 6).
[0041] Compared with existing technologies, the feedforward PID algorithm in this step additionally introduces an ambient temperature feedforward term. This allows the control system to adjust the control quantity in advance when the ambient temperature changes, rather than waiting for the outlet air temperature to deviate from the target value before making feedback adjustments, thereby improving the environmental adaptability of the heating process and the stability of the outlet air temperature.
[0042] Continuous monitoring Value, if Then , The larger one decreases ;like Then , The smaller one increases ;in , All comparisons and operations are performed using normalized values.
[0043] S3. Steady-state feature extraction of nonlinear environmental compensation: After the outlet air temperature stabilizes, a common steady-state time window is determined. Within the common steady-state time window, the waterless steady-state representative values of each key parameter are extracted. Based on the offset ratio of each key parameter, the nonlinear environmental compensation function, the water-containing commercial inspection benchmark representative value, and the current ambient temperature, the equivalent water-containing characteristics of each key parameter are calculated.
[0044] Further preferred: the equivalent water feature in step S3 Calculate using the following formula: in, This represents the anhydrous steady-state value of the k-th key parameter. This represents the offset ratio of the k-th key parameter. This represents the standard value for the k-th key parameter in water-based commodity inspection. Let k be the nonlinear environmental compensation function for the k-th key parameter. This is the current measured ambient temperature. The reference ambient temperature.
[0045] In the specific implementation process, the outlet air temperature Stabilize within the target range (i.e.) ,in After setting a preset stability threshold (preferably 1°C), determine the common steady-state time window. The common steady-state time window The following conditions must be met simultaneously: (a) they are continuous in time; (b) the exhaust temperature, intake pressure, compressor current, and overall power of the machine all converge within the time window (i.e., the standard deviation of each parameter is less than the preset threshold); (c) the sampling level of each parameter within the time window is generally close to the representative value of the anhydrous commercial inspection standard for the corresponding model in the dedicated commercial inspection standard C1. .
[0046] During the common steady-state time window Within this framework, the intermediate level value of each key parameter is taken as the representative value for the anhydrous steady state. : in, Indicates time The original value of the kth key parameter collected.
[0047] Subsequently, the nonlinear environmental compensation function constructed in step S1 is used. and offset ratio Calculate the equivalent water-containing characteristics of the product to be inspected. To avoid dimensional confusion, an environmental deviation compensation term is introduced. ,in The center value of the applicable ambient temperature range recorded in the dedicated commodity inspection standard C1 (in this embodiment) Construct a normalized equivalent formula for calculating the water-bearing characteristics: The physical meaning of this formula is clear: The model-level offset ratio is used to perform an equivalent mapping from the waterless steady-state representative value to the water-containing operating condition. This involves nonlinear compensation for the additional deviation introduced by the ambient temperature deviating from the reference ambient temperature. When the ambient temperature is detected... Equal to the reference ambient temperature hour, The environmental compensation item is zero, thus avoiding the problem of dimensional confusion.
[0048] Compared with the use of linear environment correction terms in existing technologies Compared to the previous scheme, the piecewise cubic spline nonlinear environmental compensation function used in this invention... It can more accurately characterize the nonlinear variation characteristics of key parameters of heat pump systems over a wide range of ambient temperatures, thereby obtaining more accurate equivalent water-containing characteristic estimates under different seasons and ambient temperature conditions.
[0049] Product model, anhydrous steady-state representative values of key parameters Equivalent water characteristics of each key parameter Current ambient temperature The corresponding baseline record identifier is written into the inspection feature record C2.
[0050] S4. Multi-dimensional comprehensive judgment: Based on the first deviation between the equivalent water-containing characteristics of each key parameter and the representative value of the water-containing commercial inspection benchmark, the second deviation between the waterless steady-state representative value of each key parameter and the representative value of the waterless commercial inspection benchmark, and the coupling deviation between exhaust temperature and overall power, a comprehensive judgment index is generated. The comprehensive judgment index is compared with the judgment threshold to obtain the commercial inspection judgment result.
[0051] Further preferred: The comprehensive judgment index D in step S4 is calculated according to the following formula: in, The equivalent water-bearing characteristic for the k-th key parameter is... This represents the standard value for the k-th key parameter in water-based commodity inspection. This represents the anhydrous steady-state value of the k-th key parameter. This represents the anhydrous commodity inspection standard value for the k-th key parameter. These are the weighting coefficients for the anhydrous steady-state consistency term. This is the weighting coefficient for the power-exhaust temperature coupling deviation term; These correspond to the exhaust temperature, intake pressure, compressor current, and overall power, respectively.
[0052] In the specific implementation process, the inspection characteristic record C2 and the special inspection standard C1 are read, and the comprehensive judgment index D is calculated: in, These correspond to the exhaust temperature, intake pressure, compressor current, and overall power, respectively. The equivalent water-containing feature for the k-th parameter is derived from the inspection feature record C2 of the commodity to be inspected; The k-th parameter is the representative value of the water-based commodity inspection standard, which is derived from the special commodity inspection standard C1; The anhydrous steady-state representative value of the k-th parameter is derived from the inspection feature record C2 of the commodity to be inspected. The representative value of the anhydrous commodity inspection standard for the kth parameter is derived from the special commodity inspection standard C1; The weighting coefficient for the anhydrous steady-state consistency term (preferably 0.4~0.8). This is the weighting coefficient for the power-exhaust temperature coupling deviation term (preferably 0.3~0.7).
[0053] The first item of the comprehensive judgment index D characterizes the deviation between the equivalent water-containing characteristics and the water-containing commercial inspection standard, reflecting the degree of performance compliance of the product under test in the equivalent water-containing sense; the second item characterizes the deviation between the waterless steady-state representative value and the waterless commercial inspection standard, reflecting the consistency of the product under test in the waterless operating state; the third item characterizes the relative deviation difference between exhaust temperature and whole machine power in the equivalent water-containing area, used to constrain the thermal coupling relationship of the heat pump system—when the direction and magnitude of the deviation change of the two are consistent, this item is close to zero, and when the two are obviously mismatched, this item increases, thereby effectively identifying the situation where local parameters are normal but the overall thermal state is abnormal.
[0054] The comprehensive judgment index D is compared with the judgment threshold recorded in the special commodity inspection standard C1. Comparison: If If it is qualified, it is deemed to have passed commodity inspection; if If so, it is determined to be unqualified for commodity inspection.
[0055] like Figure 3 As shown, S5, graded handling and online threshold adaptive optimization: calculate the handling margin coefficient based on the comprehensive judgment index, execute the release or interception action according to the graded rules, and adaptively determine the sliding window size based on the production line cycle time, and update the judgment threshold in real time with the comprehensive judgment index of the most recent several products as samples.
[0056] A further preferred embodiment: The method for adaptively determining the sliding window size based on the production line cycle time in step S5 is as follows: The sliding window size N is determined according to the following formula: in, This represents the average commercial inspection cycle time on the production line, expressed in seconds per unit. The set response time is in minutes; The method for real-time updating of the judgment threshold is as follows: using the comprehensive judgment index D of the most recent N products as samples, the sample mean is calculated in real time using a sliding window method. and sample standard deviation ,according to Update the judgment threshold, where The window continuously slides along with the commodity inspection process, using a preset multiplier; the updated judgment threshold... Constraints must also be met. ,in and These are the lower and upper limits of the judgment threshold set during the calibration phase for this model, respectively. If the value exceeds the constraint range, the nearest boundary value will be used.
[0057] A further preferred embodiment: the disposal margin coefficient A in step S5 is calculated according to the following formula:
[0058] in, To comprehensively evaluate the indicators, This is the comprehensive judgment threshold for the current model; The classification rule is as follows: If If it is deemed as a normal qualified condition, the release procedure will be carried out; if If the boundary is deemed acceptable, the release action is executed and the boundary acceptance mark is recorded; if If it fails, it is deemed unqualified, and an interception action is executed; among them, This is the standard acceptable threshold value. This is the boundary dividing value. .
[0059] A further preferred embodiment: The method for adaptively determining the sliding window size based on the production line cycle time in step S5 is as follows: The sliding window size N is determined according to the following formula: in, This represents the average commercial inspection cycle time on the production line, expressed in seconds per unit. The set response time is in minutes; The method for real-time updating of the judgment threshold is as follows: using the comprehensive judgment index D of the most recent N products as samples, the sample mean is calculated in real time using a sliding window method. and sample standard deviation ,according to Update the judgment threshold, where The window continuously slides along with the commodity inspection process, using a preset multiplier; the updated judgment threshold... Constraints must also be met. ,in and These are the lower and upper limits of the judgment threshold set during the calibration phase for this model, respectively. If the value exceeds the constraint range, the nearest boundary value will be used.
[0060] Further preferred: the common steady-state time window in step S3 simultaneously satisfies the following conditions: (a) Continuous in time; (b) The standard deviation of each key parameter within the common steady-state time window is less than a preset threshold; (c) The sampling levels of each key parameter within the common steady-state time window are generally close to the representative values of the anhydrous commercial inspection standard for the corresponding model in the dedicated commercial inspection standard; the method for extracting the anhydrous steady-state representative values of each key parameter within the common steady-state time window is as follows: take the median value of all sampled values of each key parameter within the common steady-state time window as the anhydrous steady-state representative value of that key parameter. .
[0061] In the specific implementation process, the disposal margin coefficient A is calculated based on the comprehensive judgment index D: in, This is the comprehensive judgment threshold for the current model.
[0062] Based on the value of the disposal margin coefficient A, the commodity inspection disposal shall be carried out according to the following grading rules: like ( If the value is the standard acceptable threshold (preferably 0.20), then it is considered standard acceptable, and the release operation is performed, allowing the product to proceed to the next workstation. like ( If the boundary value is 0 (preferably), then the boundary is deemed acceptable, and the release action is executed, but a "boundary acceptable" flag is written in the result record. like If the product fails to meet the requirements, it will be deemed unqualified, and an interception action will be executed, removing the product from the normal factory circulation path.
[0063] At the same time, the control system establishes an online threshold adaptive optimization mechanism, which specifically includes: (a) Real-time data collection: For each product that has completed commercial inspection, its comprehensive judgment index D, disposal margin coefficient A, and current ambient temperature are collected. The product model and the judgment result (normally qualified / boundary qualified / unqualified) are stored in the commodity inspection database; (b) Adaptive determination of sliding window: The optimal window size N is based on the average inspection cycle time of the production line. (Unit: seconds / unit) and the set response time (Unit: minutes, preferably 30-60 minutes) This will be determined jointly, with upper and lower bounds defined: Among them, the lower limit of the window The selection is based on the principles of mathematical statistics: when When, the standard error of the sample mean It has converged to the stable interval, and the coefficient of deviation of the standard deviation estimate is less than 5%, meeting the statistical robustness requirements; upper window limit. The selection criteria are based on engineering control requirements, avoiding excessively large windows that could cause the threshold response to lag behind production line process drift. Through the above adaptive rules, the threshold optimization mechanism of this invention can maintain optimal performance on both fast and slow production lines—when the production line cycle time is fast, the window is appropriately increased to accumulate a sufficient sample size, and when the production line cycle time is slow, the window is appropriately decreased to ensure timely response. (c) Sliding window statistics: For each model, the comprehensive judgment index D of the most recent N products is used as a sample, and the sample mean is calculated in real time using a sliding window method. and sample standard deviation The window slides continuously as the commodity inspection process progresses—for each new commodity inspection data item, the window slides forward one position, removing the data of the oldest product and adding the latest data; (d) Dynamic update of judgment threshold: Based on the statistical results of the sliding window, the comprehensive judgment threshold of this model is updated according to the following rules. : in, The preset multiplier (preferably 3) is used. This represents the average of the comprehensive judgment indicators within the current sliding window. This represents the standard deviation of the comprehensive judgment index within the current sliding window. (e) Threshold validity verification: Updated The following constraints must also be met: ,in and These are the lower and upper limits of the judgment threshold set for this model during the calibration phase, respectively; if the limit is exceeded, the nearest boundary value is taken as the updated threshold. (f) Adaptive adjustment of grading boundary values: conventional qualified boundary values and boundary value Keep it fixed ( , (in order to maintain the stability of the tiered treatment standards).
[0064] Compared with existing technologies, the online threshold adaptive optimization mechanism of the present invention has the following differences and advantages: The error allowable value k1 of existing technologies (such as CN119436563B) depends on periodic post-event analysis, which requires manual intervention and has a long adjustment cycle; while the present invention adopts a sliding window real-time statistical method based on the adaptive determination of production line cycle time. The judgment threshold can be updated after the commercial inspection of each product is completed, realizing real-time online optimization of the threshold. It can respond in a timely manner to dynamic factors such as production line status fluctuations, measurement error changes and environmental factor drift, without the need for manual intervention.
[0065] S6. Repeat steps S2 to S5 until all products have completed commercial inspection.
[0066] In the specific implementation process, steps S2 to S5 are repeated to ensure that each product to be inspected completes heating, steady-state feature extraction, comprehensive judgment and graded processing under adaptive feedforward PID control until all products complete commercial inspection.
[0067] like Figure 4 As shown, as another preferred embodiment, this application also provides a system employing an adaptive compensation method for waterless inspection of air source heat pump water heaters, comprising: A dedicated commodity inspection standard establishment module is used to perform step S1 as described above; An adaptive feedforward PID control module is used to execute step S2 as described above; The steady-state feature extraction and compensation module is used to perform step S3 as described above; The comprehensive determination module is used to execute step S4 as described above; The graded processing and online optimization module is used to perform step S5 as described above.
[0068] In the specific implementation process, the final inspection result includes the product model, comprehensive judgment index D, disposal margin coefficient A, judgment mark, actual execution result, and inspection timestamp, and is associated with the work order information in the manufacturing execution system to form a complete quality traceability record. This invention also provides an intelligent control system for waterless inspection of air source heat pump water heaters with adaptive environmental compensation, including the following modules: A dedicated commodity inspection benchmark establishment module is used to select the same model of prototype and run it in both water-containing and waterless commodity inspection states. It collects stable representative values of key parameters, calculates the offset ratio of the waterless commodity inspection state relative to the water-containing commodity inspection state, and uses a piecewise cubic spline interpolation method to construct nonlinear environmental compensation functions for each key parameter. Combined with the applicable environmental range, a dedicated commodity inspection benchmark is formed. An adaptive feedforward PID control module is used to adjust the compressor frequency and fan speed in real time during the waterless commercial inspection heating process using an improved feedforward PID algorithm that incorporates an ambient temperature feedforward term. The error term calculation formula for the improved feedforward PID algorithm is as follows: The steady-state feature extraction and compensation module is used to determine a common steady-state time window after the outlet air temperature stabilizes, extract the waterless steady-state representative values of each key parameter, and calculate the equivalent water-containing features by combining the offset ratio and the nonlinear environmental compensation function. Generate the inspection features of the commodity to be inspected; The comprehensive judgment module is used to read the characteristics of the commodity inspection to be inspected and the special commodity inspection benchmark, calculate the deviation between the equivalent water-containing characteristics and the representative value of the water-containing commodity inspection benchmark, the deviation between the waterless steady-state representative value and the waterless commodity inspection benchmark representative value, and the coupling deviation between power and exhaust temperature, generate a comprehensive judgment index, and compare it with the judgment threshold to obtain the commodity inspection judgment result. The tiered handling and online optimization module is used to calculate the handling margin coefficient based on comprehensive judgment indicators, execute release, boundary release, or interception actions in combination with tiered rules, and update the judgment threshold in real time based on the production line cycle time adaptive sliding window statistical method. The size N of the adaptive sliding window is based on... Sure. Example
[0069] This embodiment uses a certain model of integrated air source heat pump water heater (rated power 2000W, applicable ambient temperature range -5°C to 45°C, production line inspection cycle time) Taking (seconds / unit) as an example, the implementation process of this embodiment will be described in detail.
[0070] I. Establish specific commercial inspection standards for each model (Step S1) (a) Calculation of offset ratio like Figure 5 As shown, five identical prototype units (numbered #01 to #05) were selected and subjected to both water-containing and waterless commercial inspection tests under an ambient temperature of 25°C ± 1°C. During the tests, the inlet air temperature was set to 20°C, and the target outlet air temperature was set to 60°C.
[0071] Taking exhaust temperature as an example, the steady-state representative values of the five prototypes under water conditions are 85.2, 84.8, 85.5, 84.9, and 85.1 (unit: °C), and the steady-state representative values under waterless conditions are 78.3, 77.9, 78.6, 78.0, and 78.2 (unit: °C). Calculate the normalized offset ratio for each prototype: #01: (85.2 − 78.3) / (85.2 + 0.1) ≈ 0.0809 #02: (84.8 − 77.9) / (84.8 + 0.1) ≈ 0.0812 #03: (85.5 − 78.6) / (85.5 + 0.1) ≈ 0.0806 #04: (84.9 − 78.0) / (84.9 + 0.1) ≈ 0.0812 #05: (85.1 − 78.2) / (85.1 + 0.1) ≈ 0.0810 After arranging the five results by size, the median value is taken to obtain the offset ratio of the exhaust temperature for this model. Similarly, the inhalation pressure offset ratio can be calculated. Compressor current offset ratio Overall power offset ratio .
[0072] Water-based reference value for exhaust temperature °C (the median value of the representative steady-state values of five sample machines with water), and the representative value of the anhydrous baseline. °C (the median level of the representative values of the five sample machines in anhydrous steady state).
[0073] like Figure 2 As shown, (II) Construction of Nonlinear Environmental Compensation Function The standard prototype was placed in an adjustable ambient temperature and humidity test chamber. Six temperature characteristic nodes were uniformly selected within the ambient temperature range of -5°C to 45°C: -5°C, 5°C, 15°C, 25°C, 35°C, and 45°C. At each temperature node, after the ambient temperature stabilized within ±0.5°C, a waterless commercial inspection procedure was run. After the outlet air temperature stabilized at the target value of 60°C, steady-state operation data was continuously collected for 60 seconds. The average value was taken as the exhaust temperature value at that node, and the data points were obtained. (Note: In the above table °C is the steady-state value of the exhaust temperature under anhydrous conditions, i.e. ; and The difference in °C comes from: This represents the median level of the waterless steady-state values of the five prototypes, while These are single-unit test values of the standard prototype under precise laboratory control conditions. Both are engineering approximations, and in actual use, the values used are determined by... (Serves as a benchmark for environmental compensation functions.) Based on ambient temperature As the independent variable, exhaust temperature As the dependent variable, a continuous function is constructed using piecewise cubic spline interpolation. In the interval Above, assume that the coefficients determined by the spline interpolation conditions are... , , , Then within that interval: Function values at each temperature node ( The first and second derivatives at each node are continuous, and all coefficients are pre-stored in the dedicated commercial inspection standard C1.
[0074] Similarly, construct inhalation pressure Compressor current and overall power The nonlinear compensation function.
[0075] II. Adaptive Feedforward PID Heating Control (Step S2) After the product to be inspected (product number #06) enters the commodity inspection station, the barcode scanner reads the product model, and the control system retrieves the corresponding dedicated commodity inspection standard C1. Current ambient temperature. Reference ambient temperature .
[0076] Calculate the enthalpy difference based on the law of conservation of energy. Determine the initial fan speed RPM and initial compressor frequency Hz, start the heating process.
[0077] During the heating process, an improved feedforward PID algorithm is used to calculate the error term in real time. .Pick , , , , , .
[0078] Assuming the measured outlet air temperature is in the kth heating cycle The temperature deviations for the first five cycles were -1.2, -0.8, -0.5, -0.3, and -0.1 (in °C), respectively. The slope of the outlet air temperature fitting was... °C / cycle, then:
[0079] because Increase the fan speed and compressor frequency The larger one (compressor frequency 65 Hz) decreases. The adjusted compressor frequency is 64.21 Hz. After approximately three heating cycles (about 120 seconds), the outlet air temperature stabilizes within the range of 60°C ± 0.5°C.
[0080] III. Steady-state feature extraction for nonlinear environmental compensation (step S3) After the outlet air temperature stabilizes, determine the common steady-state time window. (For 10 consecutive seconds, the fluctuations of each parameter converged). Extract the anhydrous steady-state representative values of each parameter (taking the median level value): Exhaust temperature °C Inhalation pressure MPa Compressor current A Total power W Current ambient temperature Reference ambient temperature Find the piecewise cubic spline interpolation function. In the interval Interpolation calculations are performed on the above. °C, and °C, then the environmental deviation compensation item: The equivalent water-containing characteristic for calculating exhaust temperature: The equivalent water-containing characteristic value of 87.09°C is only about 2°C higher than the water-containing baseline value of 85.1°C, which is consistent with the physical law that the exhaust temperature of a heat pump increases slightly at higher ambient temperatures (28°C vs 25°C), and the dimensions are reasonable.
[0081] Similarly, calculate: Assumption MPa MPa, then MPa MPa Assumption A, A, then A, A Assumption W, W, then W, W Write the above data into the inspection feature record C2.
[0082] IV. Multi-dimensional comprehensive judgment (step S4) Read the water-based standard representative values of each parameter of this model from the dedicated commodity inspection standard C1. , , , Anhydrous reference value , , , .Pick , .
[0083] The calculation includes four items related to water area deviation: Total water area deviation .
[0084] Calculate the four terms of deviation without water area (multiplied by coefficients) ): Total deviation without water area Multiply by a coefficient Later .
[0085] Calculate the coupling terms (exhaust temperature and power, take...) ): Comprehensive evaluation criteria: The initial judgment threshold for this model ,because It was determined to be qualified for commodity inspection.
[0086] like Figure 3 As shown in Figure 5, the hierarchical treatment and online threshold adaptive optimization are performed (step S5). Calculate the disposal margin factor: Pick , .because If the boundary is deemed acceptable, the release action is executed, and a "boundary acceptable" marker is written into the result record.
[0087] Online threshold update: First, determine the size of the sliding window. In this embodiment, the production line inspection cycle time is... Seconds / unit, set response time minutes, then: because In the upper and lower boundaries inside, take .
[0088] The average of the comprehensive judgment indicators within the current sliding window (N=300) for this model Standard deviation ,Pick ,but: Verification constraints: Assume that the following constraints were set during the calibration phase of this model. , , Within the constraints, update the judgment threshold for this model to: .
[0089] Record the final inspection results: product model, , The system includes a judgment mark indicating "boundary compliance", an actual execution result indicating "release", and an inspection timestamp, all linked to the manufacturing execution system work order.
[0090] VI. Repeated execution Repeat steps S2 to S5 for subsequent products until all products have completed commercial inspection. After each product's inspection is completed, the sliding window moves forward one position, and the judgment threshold is continuously updated online.
[0091] VII. Example of Adaptive Sliding Window under Different Production Line Cycle Times To illustrate the broad applicability of the sliding window adaptive method, let's assume the inspection cycle time of another production line. Seconds / unit (automated high-speed production line), set response time minutes, then: because In the upper and lower boundaries inside, take At this time, the window is relatively small, which allows it to maintain sufficient responsiveness on high-speed production lines and track rapid changes in the production line status in a timely manner.
[0092] Let's assume another low-speed production line. Seconds / unit, then: because Take the lower bound value This ensures that at least 100 samples are used for statistical inference, meeting the requirements of statistical robustness.
[0093] like Seconds / unit (ultra-high-speed production line): because Take the upper bound value This avoids the threshold response lagging behind the production line process drift due to an excessively large window size.
[0094] To further understand this application: 1. Nonlinear environmental compensation improves wide-temperature-range adaptability. Existing technologies (such as CN122360984A) use a linear first-order approximation for environmental correction, i.e. When the ambient temperature deviates significantly from the center of the reference interval, the linear approximation error increases significantly. This invention, based on the offset ratio compensation for water / waterless states, introduces a nonlinear environmental compensation function constructed using piecewise cubic spline interpolation. This method can accurately characterize the nonlinear variation characteristics of key parameters of a heat pump system across the entire applicable ambient temperature range. Piecewise cubic spline interpolation ensures the first and second order continuous differentiability of the function at the nodes, avoiding the Runge phenomenon of high-order polynomial fitting and guaranteeing a smooth transition of parameter changes between temperature nodes. Experiments show that within the conventional test temperature range of 15°C to 35°C, the difference between nonlinear compensation and linear compensation is not significant; however, under low-temperature conditions below 5°C or high-temperature conditions above 40°C, nonlinear compensation can reduce the estimation error of equivalent water-containing characteristics by 40% to 50%, significantly improving the accuracy and consistency of commodity inspection judgments under different seasons and regional conditions.
[0095] 2. Environmental feedforward PID achieves integrated control-decision closed loop. In existing technologies, although CN119436563B employs a feedforward PID algorithm, its feedforward term only includes the outlet air temperature deviation and outlet air temperature slope; CN122360984A completely neglects the dynamic control of the heating process. This invention innovatively introduces an environmental temperature feedforward term based on existing feedforward PID technologies. This allows the control system to adjust control parameters in advance when ambient temperature fluctuates, rather than passively waiting for the outlet air temperature to deviate from the target value before providing feedback correction. This improvement organically combines dynamic control of the heating process with precise acquisition of steady-state parameters, forming an integrated closed loop of "control-acquisition-judgment," effectively shortening the heating stabilization time and improving commercial inspection efficiency.
[0096] 3. Real-time adaptive sliding window online threshold optimization. Existing technologies (such as CN119436563B) rely on periodic post-event analysis to adjust the error tolerance value. This requires manual collection of fault data, assessment of production line fluctuations, and manual adjustment of the k1 value, resulting in long adjustment cycles and slow response times. This invention employs a sliding window statistical method based on adaptive determination of production line cycle time—window size... Using the comprehensive evaluation criteria of the most recent N products as a sample, the mean and standard deviation are calculated in real time, according to... The rules automatically update the judgment thresholds. A lower limit of 100 ensures statistical robustness, while an upper limit of 300 ensures timely engineering response. Each completed product inspection triggers a threshold update, enabling real-time online adaptive optimization of the judgment thresholds. This allows for timely responses to dynamic factors such as production line status fluctuations, sensor measurement drift, and batch differences in components, without requiring manual intervention, significantly reducing the labor and time costs of maintaining inspection standards.
[0097] 4. Graded handling enhances the precision of quality control. Existing technologies (such as CN119436563B) use a binary judgment method of pass / fail. This invention introduces a handling margin coefficient. And set the standard qualification ( ), boundary qualified ( ) and unqualified ( The three-tiered handling rules allow products that meet the boundary requirements to be released but are marked with special markings. These products can be prioritized and closely monitored during subsequent sampling or quality analysis. This upgrades the system from a binary "qualified / unqualified" judgment to a three-tiered refined control system of "routine qualified - boundary qualified - unqualified," helping quality management departments to more accurately grasp the distribution and trend changes in product quality.
[0098] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in the present invention, and these should all be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for adaptive compensation during waterless inspection of an air source heat pump water heater, characterized in that, Includes the following steps: S1. Establish dedicated inspection standards: Select several prototypes of the same model and run them in both water-based and waterless inspection states. Collect stable representative values of key parameters, calculate the offset ratio of each key parameter in the waterless inspection state relative to the water-based inspection state, and construct nonlinear environmental compensation functions for each key parameter using piecewise cubic spline interpolation. Record the product model, the benchmark representative values of each key parameter in the water-based inspection state, the benchmark representative values of each key parameter in the waterless inspection state, the offset ratio, the nonlinear environmental compensation function, and the corresponding applicable environmental temperature range as dedicated inspection standards. S2. Adaptive feedforward PID heating control: After the product to be inspected enters the waterless inspection station, the corresponding special inspection benchmark is retrieved, and the heating process starts with the initial fan speed and the initial compressor frequency. During the heating process, the improved feedforward PID algorithm with the introduction of the ambient temperature feedforward term is used to calculate the error term in real time, and the compressor frequency and fan speed are adjusted according to the error term until the outlet air temperature is stable within the target range. S3. Steady-state feature extraction of nonlinear environmental compensation: After the outlet air temperature stabilizes, a common steady-state time window is determined. Within the common steady-state time window, the waterless steady-state representative values of each key parameter are extracted. Based on the offset ratio of each key parameter, the nonlinear environmental compensation function, the water-containing commercial inspection benchmark representative value, and the current ambient temperature, the equivalent water-containing characteristics of each key parameter are calculated. S4. Multi-dimensional comprehensive judgment: Based on the first deviation between the equivalent water-containing characteristics of each key parameter and the representative value of the water-containing commercial inspection benchmark, the second deviation between the waterless steady-state representative value of each key parameter and the representative value of the waterless commercial inspection benchmark, and the coupling deviation between exhaust temperature and overall power, a comprehensive judgment index is generated. The comprehensive judgment index is compared with the judgment threshold to obtain the commercial inspection judgment result. S5. Tiered handling and online threshold adaptive optimization: Calculate the handling margin coefficient based on the comprehensive judgment index, execute release or interception actions according to the tiered rules, and adaptively determine the sliding window size based on the production line cycle time, and update the judgment threshold in real time using the comprehensive judgment index of the most recent products as a sample. S6. Repeat steps S2 to S5 until all products have completed commercial inspection.
2. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, The offset ratio in step S1 is calculated as follows: for the k-th key parameter, it is calculated according to the following formula: in, This represents the stable representative value of the k-th key parameter of the i-th prototype under water-containing inspection conditions. This represents the stable representative value of the k-th key parameter of the i-th prototype under anhydrous commercial inspection conditions. This indicates that the calculation results for all prototypes of the same model are taken as the median value. It is a preset positive number.
3. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, The specific method for constructing the nonlinear environmental compensation function using piecewise cubic spline interpolation in step S1 is as follows: Select at least five temperature characteristic nodes within the applicable ambient temperature range of the model; run a waterless commercial inspection program at each temperature node after the ambient temperature stabilizes; continuously collect steady-state operating data and take the average value as the parameter value at that temperature node after the outlet air temperature stabilizes. Based on ambient temperature As the independent variable, with Piecewise cubic spline interpolation is performed on the dependent variable, in each interval The above-described nonlinear environmental compensation function Expressed as: Among them, each node satisfies the continuity of function values, the continuity of the first derivative, and the continuity of the second derivative, and all coefficients are pre-stored in a dedicated commercial inspection standard.
4. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, The error term of the improved feedforward PID algorithm in step S2 Calculate using the following formula: ; in, This is the measured value of the outlet air temperature during the k-th heating cycle. The target value for the outlet air temperature. This represents the fitted slope value of the outlet air temperature change over time. This is the current measured ambient temperature. The value is the center value of the applicable ambient temperature range recorded in the special commodity inspection standard. , , This is the feedforward scaling factor. The integral coefficient is... The number of historical periods taken for the integral term; According to the error term The method for adjusting the compressor frequency and fan speed is as follows: If Then reduce the larger of the current fan speed and the current compressor frequency. ;like Then increase the smaller of the current fan speed and the current compressor frequency. The fan speed and compressor frequency are both normalized values.
5. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, The equivalent water feature in step S3 Calculate using the following formula: in, This represents the anhydrous steady-state value of the k-th key parameter. This represents the offset ratio of the kth key parameter. This represents the standard value for the k-th key parameter in water-based commodity inspection. Let be the nonlinear environmental compensation function for the k-th key parameter. This is the current measured ambient temperature. The reference ambient temperature.
6. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, In step S4, the comprehensive judgment index D is calculated according to the following formula: in, The equivalent water-bearing characteristic for the k-th key parameter is... This represents the standard value for the k-th key parameter in water-based commodity inspection. This represents the anhydrous steady-state value of the k-th key parameter. This represents the anhydrous commodity inspection standard value for the k-th key parameter. These are the weighting coefficients for the anhydrous steady-state consistency term. This is the weighting coefficient for the power-exhaust temperature coupling deviation term; These correspond to the exhaust temperature, intake pressure, compressor current, and overall power, respectively.
7. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, In step S5, the disposal margin coefficient A is calculated according to the following formula: in, To comprehensively evaluate the indicators, This is the comprehensive judgment threshold for the current model; The classification rule is as follows: If If it is deemed as a normal qualified condition, the release procedure will be carried out; if If the boundary is deemed acceptable, the release action is executed and the boundary acceptance mark is recorded; if If it fails, it is deemed unqualified, and an interception action is executed; among them, This is the standard acceptable threshold value. This is the boundary dividing value. .
8. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, The method for adaptively determining the sliding window size based on the production line cycle time in step S5 is as follows: The sliding window size N is determined according to the following formula: in, This represents the average commercial inspection cycle time on the production line, expressed in seconds per unit. The set response time is in minutes; The method for real-time updating of the judgment threshold is as follows: using the comprehensive judgment index D of the most recent N products as samples, the sample mean is calculated in real time using a sliding window method. and sample standard deviation ,according to Update the judgment threshold, where The window continuously slides along with the commodity inspection process, using a preset multiplier; the updated judgment threshold... Constraints must also be met. ,in and These are the lower and upper limits of the judgment threshold set during the calibration phase for this model, respectively. If the value exceeds the constraint range, the nearest boundary value will be used.
9. The adaptive compensation method for waterless inspection of air source heat pump water heaters according to claim 1, characterized in that, The common steady-state time window in step S3 simultaneously satisfies the following conditions: (a) Continuous in time; (b) The standard deviation of each key parameter within the common steady-state time window is less than a preset threshold; (c) The sampling levels of each key parameter within the common steady-state time window are generally close to the representative values of the anhydrous commercial inspection standard for the corresponding model in the dedicated commercial inspection standard; the method for extracting the anhydrous steady-state representative values of each key parameter within the common steady-state time window is as follows: take the median value of all sampled values of each key parameter within the common steady-state time window as the anhydrous steady-state representative value of that key parameter. .
10. A system employing the adaptive compensation method for waterless inspection of air source heat pump water heaters as described in claim 1, characterized in that, include: A dedicated commodity inspection standard establishment module is used to perform step S1 as described in claim 1; An adaptive feedforward PID control module is used to execute step S2 as described in claim 1; A steady-state feature extraction and compensation module is used to perform step S3 as described in claim 1; The comprehensive determination module is used to perform step S4 as described in claim 1; The graded processing and online optimization module is used to perform step S5 as described in claim 1.
Citation Information
Patent Citations
A method for operating an algorithm for waterless commercial inspection of an integrated air source heat pump water heater
CN119436563B
Intelligent judgment method and system for water-free commodity inspection of air source heat pump water heater
CN122360984A
