An adaptive PID control method and device for refrigerator

By adaptively adjusting the PID control parameters, the problem that traditional PID control algorithms cannot meet the high requirements of Stirling refrigerators is solved, and the smooth and fast response of the refrigerator control process is achieved.

CN115453856BActive Publication Date: 2024-11-22SUZHOU R&D CENT OF NO 214 RES INST OF CHINA NORTH IND GRP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202211162831.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2024-11-22
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

Traditional PID control algorithms cannot meet the high requirements of Stirling refrigerators for the control process and cannot achieve smooth and fast control response.

Method used

By adaptively adjusting the PID control parameters, the proportional term coefficient, integral term coefficient and duty cycle are calculated based on the current temperature and set temperature of the refrigerator, and the integral term value is corrected in real time to ensure the smoothness and response speed of the control process.

Benefits of technology

Enhanced robustness of PID control in refrigerators, enabling smoother and faster control response.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115453856B_ABST
    Figure CN115453856B_ABST
Patent Text Reader

Abstract

The present invention discloses an adaptive PID control method and device for a refrigerator, the method comprising: obtaining the current temperature and set temperature of the cold end of the refrigerator, calculating the temperature control target difference at the current moment; calculating and correcting the proportional term coefficient and the integral term coefficient at the current moment based on the temperature control target difference at the current moment; obtaining the temperature control target difference at the cold end of the refrigerator at the previous moment and the expected difference between the temperature control target difference at the previous moment and the current moment, and calculating the cooling speed at the current moment in combination with the temperature control target difference at the current moment; calculating and correcting the integral term value at the current moment based on the cooling speed at the current moment and the temperature control target difference at the current moment; calculating the duty cycle at the current moment according to the integral term value at the current moment, in combination with the proportional term coefficient and the temperature control target difference at the current moment; the present invention can adaptively adjust parameters to ensure smooth control process and fast control response.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an adaptive PID control method and device for a refrigerator, belonging to the technical field of refrigerators. Background Art

[0002] The PID control method has the advantages of strong robustness, high adaptability, and simple algorithm, and has a very wide range of applications in the field of industrial control. For Stirling refrigerators, the PID algorithm can be used to achieve precise temperature control. As a general control method, the PID control algorithm in the traditional field can meet most control processes and complete rough control of the target, but for a specific control process, rough control cannot meet the control requirements for the target, because the traditional PID control process needs to artificially change the control parameters according to the control target to complete a relatively smooth process and a faster control response. The traditional PID control algorithm cannot meet the high requirements of the Stirling refrigerator for the control process. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide an adaptive PID control method and device for a refrigerator, which can adaptively adjust parameters according to the characteristics of the refrigerator to ensure a smooth control process and a fast control response.

[0004] To achieve the above object, the present invention is implemented by adopting the following technical solutions:

[0005] In a first aspect, the present invention provides an adaptive PID control method for a refrigerator, comprising:

[0006] Get the current temperature and set temperature of the cold end of the refrigerator, and calculate the current temperature control target difference;

[0007] Calculate and correct the current proportional term coefficient and the current integral term coefficient based on the current temperature control target difference;

[0008] Obtain the temperature control target difference of the cold end of the refrigerator at the previous moment and the expected difference between the temperature control target difference at the previous moment and the current moment, and calculate the cooling speed at the current moment in combination with the temperature control target difference at the current moment;

[0009] Calculate and correct the current moment integral item value based on the current moment cooling speed and the current moment temperature control target difference;

[0010] The current duty cycle is calculated based on the current integral value, the current proportional coefficient, and the current temperature control target difference.

[0011] Optionally, the current moment proportional term coefficient K p_now for:

[0012]

[0013] In the formula, K p_init is the initial proportional term coefficient, E now is the temperature control target difference at the current moment, E now =T now -T set , T now 、T set is the current temperature, set temperature, R p is the rate of change of the proportional term coefficient;

[0014] The current moment integral term coefficient K i_now for:

[0015]

[0016] In the formula, K i_init is the initial integral term coefficient, R i is the rate of change of the integral coefficient.

[0017] Optionally, the current cooling speed K s_now for:

[0018]

[0019] In the formula, E old is the temperature control target difference at the previous moment, E old =T old -T set , T old is the temperature at the previous moment, t=t now -t old , t now -t old is the current moment and the previous moment; E v It is the expected difference between the temperature control target at the previous moment and the current moment.

[0020] Optionally, the calculating and correcting the integral item value at the current moment based on the cooling speed at the current moment and the temperature control target difference at the current moment includes:

[0021] Determine the cooling speed K at the current moment s_now The difference between the current temperature control target and E now Is it satisfied: (E now >0 and K s_now >0) or (E now <0 and K s_now <0),

[0022] If satisfied, then get the integral value S at the previous moment i_old , and combined with the current moment integral coefficient K i_now、Current temperature control target difference E now Calculate the integral value S at the current moment i_now :

[0023] S i_now =K i_now ×E now +S i_old

[0024] Based on the current integral value S i_now Correct the integral value at the current moment;

[0025] If not satisfied, the integral value at the current moment remains unchanged.

[0026] Optionally, the current duty cycle D now for:

[0027] D now =K p_now ×E now +S i_now

[0028] If D now >D max , then let D now =D max , D max is the preset maximum duty cycle.

[0029] In a second aspect, the present invention provides an adaptive PID control device for a refrigerator, the device comprising:

[0030] The target difference acquisition module is used to obtain the current temperature and set temperature of the cold end of the refrigerator and calculate the temperature control target difference at the current moment;

[0031] A coefficient correction module, used to calculate and correct the current moment proportional term coefficient and the current moment integral term coefficient based on the current moment temperature control target difference;

[0032] The speed acquisition module is used to obtain the temperature control target difference of the cold end of the refrigerator at the previous moment and the expected difference between the temperature control target difference at the previous moment and the current moment, and calculate the cooling speed at the current moment in combination with the temperature control target difference at the current moment;

[0033] A numerical correction module, used to calculate and correct the integral item value at the current moment based on the cooling speed at the current moment and the temperature control target difference at the current moment;

[0034] The duty cycle acquisition module is used to calculate the current duty cycle based on the current integral item value, the current proportional item coefficient, and the current temperature control target difference.

[0035] In a third aspect, the present invention provides an adaptive PID control device for a refrigerator, comprising a processor and a storage medium;

[0036] The storage medium is used to store instructions;

[0037] The processor is used to operate according to the instructions to execute the steps according to the above method.

[0038] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the above method when executed by a processor.

[0039] Compared with the prior art, the present invention has the following beneficial effects:

[0040] The present invention provides an adaptive PID control method and device for a refrigerator. During the operation of the refrigerator, the proportional term coefficient, the integral term coefficient, the integral term value and the duty cycle at the current moment can be adjusted in real time according to the difference between the current temperature and the set temperature, thereby enhancing the robustness of PID applied to the refrigerator control process and ensuring a smooth control process and faster control response. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flow chart of an adaptive PID control method for a refrigerator provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0042] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0043] Embodiment 1:

[0044] like Figure 1 As shown, an embodiment of the present invention provides an adaptive PID control method for a refrigerator, comprising:

[0045] 1. Get the current temperature T of the cold end of the refrigerator now and set temperature T set , calculate the temperature control target difference E at the current moment now :

[0046] E now =T now -T set

[0047] 2. Based on the current temperature control target difference E now Calculate and correct the current proportional term coefficient K p_now and the integral coefficient K at the current moment i_now;

[0048] The current proportional coefficient K p_now for:

[0049]

[0050] In the formula, K p_init is the initial proportional term coefficient, R p is the rate of change of the proportional term coefficient;

[0051] The current integral coefficient K i_now for:

[0052]

[0053] In the formula, K i_init is the initial integral term coefficient, R i is the rate of change of the integral coefficient.

[0054] 3. Obtain the temperature control target difference E of the cold end of the refrigerator at the last moment old And the expected difference E between the temperature control target difference at the previous moment and the current moment v (The expected value is the theoretical value obtained based on the refrigerator parameters) and combined with the current temperature control target difference E now Calculate the cooling speed K at the current moment s_now ;

[0055] Current cooling speed K s_now for:

[0056]

[0057] In the formula, E old =T old -T set , T old is the temperature at the previous moment, t=t now -t old , t now -t old The current moment and the previous moment.

[0058] 4. Based on the current cooling speed K s_now The difference between the current temperature control target and E now Calculate and correct the integral value S at the current moment i_now ; Specifically include:

[0059] Determine the cooling speed K at the current moment s_now The difference between the current temperature control target and E now Is it satisfied: (E now >0 and K s_now >0) or (E now <0 and Ks_now <0),

[0060] If satisfied, then get the integral value S at the previous moment i_old , and combined with the current moment integral coefficient K i_now 、Current temperature control target difference E now Calculate the integral value S at the current moment i_now :

[0061] S i_now =K i_now ×E now +S i_old

[0062] Based on the current integral value S i_now Correct the integral value at the current moment;

[0063] If not satisfied, the integral value at the current moment remains unchanged.

[0064] 5. According to the current integral value S i_now , and combined with the current proportional coefficient K p_now 、Current temperature control target difference E now Calculate the current duty cycle S i_now ;

[0065] Current duty cycle D now for:

[0066] D now =K p_now ×E now +S i_now

[0067] If D now >D max , then let D now =D max , D max is the preset maximum duty cycle.

[0068] Among them, the proportional term coefficient, integral term coefficient, integral term value, and duty cycle are all PID parameters of PID control.

[0069] Embodiment 2:

[0070] An embodiment of the present invention provides an adaptive PID control device for a refrigerator, the device comprising:

[0071] The target difference acquisition module is used to obtain the current temperature and set temperature of the cold end of the refrigerator and calculate the temperature control target difference at the current moment;

[0072] A coefficient correction module, used to calculate and correct the current moment proportional term coefficient and the current moment integral term coefficient based on the current moment temperature control target difference;

[0073] The speed acquisition module is used to obtain the temperature control target difference of the cold end of the refrigerator at the previous moment and the expected difference between the temperature control target difference at the previous moment and the current moment, and calculate the cooling speed at the current moment in combination with the temperature control target difference at the current moment;

[0074] A numerical correction module, used to calculate and correct the integral item value at the current moment based on the cooling speed at the current moment and the temperature control target difference at the current moment;

[0075] The duty cycle acquisition module is used to calculate the current duty cycle based on the current integral item value, the current proportional item coefficient, and the current temperature control target difference.

[0076] Embodiment three:

[0077] Based on implementation 1, an embodiment of the present invention provides an adaptive PID control device for a refrigerator, including a processor and a storage medium;

[0078] The storage medium is used to store instructions;

[0079] The processor is used to operate according to the instructions to execute the steps according to the above method.

[0080] Embodiment 4:

[0081] Based on the first embodiment, the embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

[0082] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0083] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0084] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0085] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0086] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An adaptive PID control method for a refrigerator, characterized in that: include: Get the current temperature and set temperature of the cold end of the refrigerator, and calculate the current temperature control target difference; Based on the current temperature control target difference, the current proportional term coefficient and the current integral term coefficient are calculated and corrected; the current proportional term coefficient K p_now for: In the formula, K p_init is the initial proportional term coefficient, E now is the temperature control target difference at the current moment, E now =T now -T set , T now , T set is the current temperature, set temperature, R p is the rate of change of the proportional term coefficient; The current moment integral term coefficient K i_now for: In the formula, K i_init is the initial integral term coefficient, R i is the rate of change of the integral term coefficient; Obtain the temperature control target difference of the cold end of the refrigerator at the previous moment and the expected difference between the temperature control target difference at the previous moment and the current moment, and calculate the cooling speed at the current moment in combination with the temperature control target difference at the current moment; the cooling speed at the current moment K s_now for: In the formula, E old is the temperature control target difference at the previous moment, E old =T old -T set , T old is the temperature at the previous moment, t=t now -t old , t now -t old is the current moment and the previous moment; E v is the expected difference between the temperature control target at the previous moment and the current moment; Calculate and correct the current moment integral item value based on the current moment cooling speed and the current moment temperature control target difference; According to the integral value at the current moment, the current duty cycle is calculated in combination with the proportional coefficient at the current moment and the temperature control target difference at the current moment; The calculation and correction of the integral value at the current moment based on the cooling speed at the current moment and the temperature control target difference at the current moment includes: Determine the cooling speed K at the current moment s_now The difference between the current temperature control target and E now Is it satisfied: (E now >0 and K s_now >0) or (E now <0 and K s_now <0), If satisfied, then get the integral value S at the previous moment i_old , and combined with the current moment integral coefficient K i_now 、Current temperature control target difference E now Calculate the integral value S at the current moment i_now : S i_now =K i_now ×E now +S i_old Based on the current integral value S i_now Correct the integral value at the current moment; If not satisfied, the integral value at the current moment remains unchanged.

2. The adaptive PID control method for a refrigerator according to claim 1, characterized in that: The current duty cycle D now for: D now =K p_now ×E now +S i_now If D now >D max , then let D now =D max , D max is the preset maximum value of the duty cycle.

3. An adaptive PID control device for a refrigerator, characterized in that: The device is used to perform the steps of the method according to claim 1 or 2; the device comprises: The target difference acquisition module is used to obtain the current temperature and set temperature of the cold end of the refrigerator and calculate the temperature control target difference at the current moment; A coefficient correction module, used to calculate and correct the current moment proportional term coefficient and the current moment integral term coefficient based on the current moment temperature control target difference; The speed acquisition module is used to obtain the temperature control target difference of the cold end of the refrigerator at the previous moment and the expected difference between the temperature control target difference at the previous moment and the current moment, and calculate the cooling speed at the current moment in combination with the temperature control target difference at the current moment; A numerical correction module, used to calculate and correct the integral item value at the current moment based on the cooling speed at the current moment and the temperature control target difference at the current moment; The duty cycle acquisition module is used to calculate the current duty cycle based on the current integral item value, the current proportional item coefficient, and the current temperature control target difference.

4. An adaptive PID control device for a refrigerator, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to claim 1 or 2.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to claim 1 or 2 are implemented.

Citation Information

Patent Citations

  • Control equipment and control method of natural gas pipeline dispatching electric control valve

    CN103115243A

  • PID control method and device

    CN106842905A

  • Electric heater, temperature control method thereof, and temperature control apparatus thereof

    CN107329509A

  • Motor control device and storage medium

    CN111034025A

  • Control method and terminal based on position type PID

    CN113296390A