Reaction kettle temperature control method, device, equipment and storage medium
Patent Information
- Application Number
- CN202510382274.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2026-09-29
AI Technical Summary
[0004]然而,上述控制方式存在一定的局限性:第一,存在一定的响应时间,影响温度调节的速度和效率;第二,在实际操作中温度控制可能达不到理想的精确度,影响产品质量和产量;第三,在某些情况下仍需人工介入调节,增加工作负担,难以保证一致性,且人为错误可能导致温度失控,增加安全风险
[0018]通过上述技术方案,本公开实施例提供的反应釜温度控制方法,通过采用PID算法,在预设的条件下引入积分和微分计算,动态控制阀门占空比,提高温度调节的响应速度和精度,实现反应釜内温度的稳定控制,减少人工干预的需求,降低因人为错误导致的安全风险。同时每一周期阀门占空可以不依赖于上一周期占空比,进行独立计算,确保化学反应的高效性和产品质量的一致性。
Smart Images

Figure CN122837539A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of temperature control technology for reaction equipment, and specifically to a method, apparatus, equipment, and storage medium for temperature control of a reaction vessel. Background Technology
[0002] In the production of polyolefin catalysts, temperature control of the reaction equipment (especially the reactor) is very important. The stability of the temperature and the rate of heating directly affect the quality and yield of the product.
[0003] The current control method involves determining the minimum and maximum reaction temperatures, and then using a control system to regulate the heating and cooling of the reactor with steam or heat exchange oil to adjust the reaction temperature. Different reaction stages are controlled automatically or manually to simulate temperature control curves. The system records temperature data for subsequent analysis of the impact of temperature control on yield and quality, thereby further optimizing the temperature control strategy.
[0004] However, the above control methods have certain limitations: First, there is a certain response time, which affects the speed and efficiency of temperature regulation; second, in actual operation, temperature control may not achieve the ideal accuracy, affecting product quality and output; third, in some cases, manual intervention is still required, which increases the workload, makes it difficult to ensure consistency, and human error may lead to temperature runaway, increasing safety risks. Summary of the Invention
[0005] The purpose of this disclosure is to provide a method, apparatus, device, and storage medium for controlling the temperature of a reaction vessel, aiming to partially or completely solve the above-mentioned technical problems.
[0006] To achieve the above objectives, in a first aspect, embodiments of this disclosure provide a method for controlling the temperature of a reactor, comprising: acquiring, within a current cycle, a first temperature value of the reactor, a second temperature value prior to the first temperature value by a preset time period, a target temperature value, and a cumulative temperature deviation value; determining, based on the first temperature value, the second temperature value, and the target temperature value, a temperature deviation value and a temperature change rate of the reactor; accumulating the temperature deviation value in response to a temperature control valve having a duty cycle greater than zero and a temperature deviation value greater than or equal to a first lower limit and less than or equal to a first upper limit, to update the cumulative temperature deviation value; at the end of the current cycle, determining, based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate, a target duty cycle of the temperature control valve; and if the duty cycle of the temperature control valve is not equal to the target duty cycle, then at the beginning of the next cycle, controlling the duty cycle of the temperature control valve to be adjusted to the target duty cycle so that the first temperature value is adjusted to the target temperature value.
[0007] In some embodiments, determining the temperature deviation value and temperature change rate of the reactor based on the first temperature value, the second temperature value, and the target temperature value includes: determining the temperature deviation value as the difference between the target temperature value and the first temperature value; and determining the temperature change rate as the ratio of the difference between the first temperature value and the second temperature value to a preset time period.
[0008] In some embodiments, in response to the duty cycle of the temperature control valve being greater than zero and the temperature deviation value being greater than or equal to a first lower limit and less than or equal to a first upper limit, accumulating the temperature deviation value to update the accumulated temperature deviation value includes: when the product of the accumulated temperature deviation value and the temperature deviation value is non-negative, summing the accumulated temperature deviation value and the temperature deviation value to obtain the accumulated temperature deviation value; when the product of the accumulated temperature deviation value and the temperature deviation value is negative, determining the accumulated deviation rate based on the accumulated temperature deviation value, and summing the product of the temperature deviation value and the accumulated deviation rate with the accumulated temperature deviation value to obtain the accumulated temperature deviation value.
[0009] In some embodiments, the cumulative deviation rate is determined based on the cumulative temperature deviation value using the following formula: TMP_DV=ABS_ST(TMP_T) / 5.0*I_X+0.5, where TMP_DV is the cumulative deviation rate, ABS_ST(TMP_T) is the absolute value of the cumulative temperature deviation value, and I_X is the integral coefficient.
[0010] In some embodiments, the method further includes: updating the second lower limit value to the cumulative temperature deviation value in response to the cumulative temperature deviation value being less than or equal to the second lower limit value; and updating the second upper limit value to the cumulative temperature deviation value in response to the cumulative temperature deviation value being greater than or equal to the second upper limit value.
[0011] In some embodiments, determining the target duty cycle of a temperature-controlled valve based on a temperature deviation value, an updated cumulative temperature deviation value, and a temperature change rate includes: obtaining a proportional coefficient, an integral coefficient, and a derivative coefficient; determining a first duty cycle of the temperature-controlled valve based on the temperature deviation value and the proportional coefficient, wherein the first duty cycle is the product of the temperature deviation value and the proportional coefficient; determining a second duty cycle of the temperature-controlled valve based on the updated cumulative temperature deviation value and the integral coefficient, wherein the second duty cycle is the product of the updated cumulative temperature deviation value and the integral coefficient; determining a third duty cycle of the temperature-controlled valve based on the temperature change rate and the derivative coefficient; and determining a target duty cycle of the temperature-controlled valve based on the first duty cycle, the second duty cycle, and the third duty cycle, wherein the target duty cycle is the difference between the sum of the first duty cycle and the second duty cycle and the third duty cycle.
[0012] In some embodiments, the differential coefficients include a first differential coefficient and a second differential coefficient; determining the third duty cycle of the temperature control valve based on the temperature change rate and the differential coefficients includes: determining the acceleration of the temperature change rate based on the temperature change rate; determining the deviation value of the temperature change rate based on the temperature change rate, the acceleration of the temperature change rate, and the second differential coefficient, wherein the deviation value of the temperature change rate is the product of the absolute value of the temperature change rate and the acceleration of the temperature change rate and the second differential coefficient; determining the third duty cycle of the temperature control valve based on the temperature change rate, the deviation value of the temperature change rate, and the first differential coefficient, wherein the third duty cycle is the product of the sum of the temperature change rate and the deviation value of the temperature change rate and the first differential coefficient.
[0013] In some embodiments, the method further includes: in response to the smoothing selection switch being in the on state, obtaining the target duty cycle of the first four cycles, including the target duty cycle of the first cycle, the target duty cycle of the second cycle, the target duty cycle of the third cycle, and the target duty cycle of the fourth cycle; taking the average value of the target duty cycle of the first four cycles and the target duty cycle of the current cycle, and determining the average value as the target duty cycle of the temperature control valve.
[0014] In some embodiments, the method further includes: in response to the temperature control valve having a duty cycle of zero, determining a target duty cycle for the temperature control valve based on a temperature deviation value and a temperature change rate.
[0015] Secondly, embodiments of this disclosure provide a reactor temperature control device, comprising: an acquisition unit, configured to acquire, within a current cycle, a first temperature value of the reactor, a second temperature value prior to the first temperature value by a preset time period, a target temperature value, and a cumulative temperature deviation value; a first determination unit, configured to determine, based on the first temperature value, the second temperature value, and the target temperature value, the temperature deviation value and the temperature change rate of the reactor; an accumulation unit, configured to, in response to a temperature control valve duty cycle being greater than zero and a temperature deviation value being greater than or equal to a first lower limit and less than or equal to a first upper limit, accumulate the temperature deviation value to update the cumulative temperature deviation value; a second determination unit, configured to, at the end of the current cycle, determine, based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate, the target duty cycle of the temperature control valve; and a control unit, configured to, if the temperature control valve duty cycle is not equal to the target duty cycle, at the beginning of the next cycle, control the temperature control valve duty cycle to be adjusted to the target duty cycle so that the first temperature value is adjusted to the target temperature value.
[0016] Thirdly, embodiments of this disclosure provide a computer device comprising: a memory configured to store instructions; and a processor configured to retrieve instructions from the memory and, when executing the instructions, to implement the reactor temperature control method provided in the first aspect or any embodiment of the first aspect.
[0017] Fourthly, embodiments of this disclosure provide a machine-readable storage medium storing instructions that cause a machine to perform the reactor temperature control method provided in the first aspect or any embodiment of the first aspect.
[0018] Through the above technical solution, the reactor temperature control method provided in this disclosure adopts a PID algorithm, introducing integral and derivative calculations under preset conditions to dynamically control the valve duty cycle, thereby improving the response speed and accuracy of temperature regulation, achieving stable temperature control within the reactor, reducing the need for manual intervention, and lowering safety risks caused by human error. Simultaneously, the valve duty cycle for each cycle can be calculated independently, independent of the previous cycle's duty cycle, ensuring high efficiency of the chemical reaction and consistency of product quality.
[0019] Other features and advantages of the embodiments disclosed herein will be described in detail in the following detailed description section. Attached Figure Description
[0020] The accompanying drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the following detailed description to explain the embodiments of this disclosure, but do not constitute a limitation thereof. In the drawings:
[0021] Figure 1 This is a schematic flowchart of a reactor temperature control method provided according to Embodiment 1 of this disclosure;
[0022] Figure 2 Temperature curve analysis diagrams for implementing existing temperature control methods provided in embodiments of this disclosure;
[0023] Figure 3 Temperature curve analysis diagrams provided for implementing the reactor temperature control method of this disclosure in embodiments of this disclosure;
[0024] Figure 4 This is a schematic flowchart of a reactor temperature control method according to Embodiment 2 of this disclosure;
[0025] Figure 5 This is a schematic flowchart of a reaction vessel temperature control method provided according to Embodiment 3 of this disclosure;
[0026] Figure 6 This is a schematic flowchart of a reaction vessel temperature control method provided according to Embodiment 4 of this disclosure;
[0027] Figure 7 This is a schematic diagram of the overall process of the reactor temperature control method provided in the embodiments of this disclosure;
[0028] Figure 8This is a schematic diagram of a reactor temperature control device provided according to an embodiment of the present disclosure. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for illustration and explanation of the embodiments of this disclosure and are not intended to limit the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.
[0030] It should be noted that the acquisition, transmission, storage, use, and processing of data in this disclosed technical solution comply with the relevant provisions of national laws and regulations. In the embodiments of this disclosure, certain existing industry solutions such as software, components, and models may be mentioned. These should be considered exemplary, intended only to illustrate the feasibility of implementing the technical solution of this disclosure, and do not imply that the applicant has already used or necessarily used such solutions.
[0031] Furthermore, if the embodiments of this disclosure involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this disclosure.
[0032] Figure 1 This is a schematic flowchart of a reactor temperature control method according to Embodiment 1 of this disclosure. Figure 1 As shown, the reactor temperature control method provided in Embodiment 1 of this disclosure may include steps S11 to S15.
[0033] Step S11: Within the current cycle, obtain the first temperature value of the reactor, the second temperature value before the preset time interval of the first temperature value, the target temperature value, and the cumulative temperature deviation value.
[0034] The first temperature value refers to the current temperature of the reactor, and the second temperature value refers to the temperature of the reactor before the current temperature value reaches a preset time interval. One or more preset time intervals constitute a cycle, where the preset time interval can be understood as the time interval for calculating the rate of temperature change, and each cycle can be understood as a control cycle for calculating and controlling the output duty cycle of the temperature control valve. Different preset time intervals reflect different calculation accuracies. For example, the preset time interval can be set to 2 seconds, 5 seconds, or 10 seconds, and a cycle can be set to 30 seconds.
[0035] The target temperature value of the reactor can be set manually or automatically. If set manually, the target temperature value can be the final temperature the reactor needs to achieve, or the temperature the reactor needs to achieve at the current stage; the user can set it according to the actual situation. If set automatically, the target temperature value can be the inflection point temperature value at different stages on the theoretical temperature curve of the reactor. In the embodiments of this disclosure, regardless of whether the setting is manual or automatic, the reactor temperature control method of this disclosure can ensure that the error between the actual output temperature value and the target temperature value of the reactor is controlled within ±1℃.
[0036] It should be noted that if the current cycle in this embodiment is not the first cycle, the cumulative temperature deviation value is the cumulative temperature deviation value of the previous multiple preset durations within the current cycle; if the current cycle in this embodiment is the first cycle, the initial cumulative temperature deviation value is 0. At the end of each cycle, the cumulative temperature deviation value is reset to 0.
[0037] Step S12: Based on the first temperature value, the second temperature value, and the target temperature value, determine the temperature deviation value and the temperature change rate of the reactor.
[0038] Temperature deviation value refers to the temperature deviation between the current temperature value and the target temperature value, and temperature change rate refers to the instantaneous temperature change rate between the current temperature value and the temperature value before the preset time.
[0039] In step S12, based on the first temperature value and the target temperature value, the difference between the target temperature value and the first temperature value is determined as the temperature deviation value. The specific formula is as shown in Formula 1: TMP_DT = TMP_SET - TMP, where TMP_DT is the temperature deviation value, TMP_SET is the target temperature value, and TMP is the first temperature value. For example, if the current temperature value (first temperature value) is 20℃ and the target temperature value is 25℃, then the temperature deviation value calculated according to Formula 1 is 5℃.
[0040] In step S12, based on the first temperature value and the second temperature value, the ratio of the difference between the first temperature value and the second temperature value to a preset time duration is determined as the temperature change rate. The specific formula is as shown in Formula 2: TMP_UP = (TMP - TMP_O) / T, where TMP_UP is the temperature change rate, TMP is the first temperature value, TMP_O is the second temperature value, and T is the preset time duration. For example, if the current temperature value (first temperature value) is 20℃ and the temperature value in the previous 5 seconds (second temperature value) is 19℃, then according to Formula 2, the temperature change rate is calculated to be 0.25℃ / second.
[0041] Step S13: In response to the temperature control valve having a duty cycle greater than zero and a temperature deviation value greater than or equal to the first lower limit and less than or equal to the first upper limit, accumulate the temperature deviation value to update the accumulated temperature deviation value.
[0042] A duty cycle greater than zero for the temperature-controlled valve indicates that the valve is outputting, meaning it is open. In this case, integral control is initiated, accumulating the temperature deviation value. The first upper limit and first lower limit define the temperature deviation range. Typically, the absolute values of the first upper limit and the first lower limit are the same but opposite in sign. When the temperature deviation value is not between the first upper and lower limits, the integral term is not accumulated; that is, the temperature deviation value is not accumulated to avoid excessively large accumulated temperature deviations, which could lead to integral saturation. Therefore, in this embodiment, the temperature deviation value is only accumulated and updated when the duty cycle of the temperature-controlled valve is greater than zero and the temperature deviation value is greater than or equal to the first lower limit and less than or equal to the first upper limit.
[0043] For systems with significant temperature changes, such as reactor head temperature control and reactor jacket temperature control, the absolute value of the first upper limit or the absolute value of the first lower limit should be set as large as possible (greater than 5). For systems with large temperature inertia and insignificant temperature changes, the absolute value of the first upper limit or the absolute value of the first lower limit should be set as small as possible (less than 2.5) to prevent cumulative oversaturation.
[0044] In some embodiments, if the target temperature value is manually set, the cumulative temperature deviation value can be reset to 0 when a change in the target temperature value is detected. A change in the target temperature value means that the material in the reactor has entered the next stage of chemical reaction, or that the material in the reactor has restarted a new stage of chemical reaction. At this time, the previous cumulative temperature deviation value will affect the new calculation. Therefore, the integral term can be cleared, that is, the cumulative temperature deviation value can be reset to 0, and the accumulation can start again.
[0045] In step S13, when the product of the cumulative temperature deviation value and the temperature deviation value is non-negative, the sum of the cumulative temperature deviation value and the temperature deviation value is accumulated as the cumulative temperature deviation value. If the product of the cumulative temperature deviation value and the temperature deviation value is non-negative, it indicates that the accumulation is positive, so the temperature deviation value can be directly added to the cumulative value.
[0046] The specific formula is shown in Formula 3: TMP_T = TMP_T + TMP_DT, where TMP_T is the cumulative temperature deviation value and TMP_DT is the temperature deviation value. For example, under the condition that the duty cycle of the temperature control valve is greater than zero and the temperature deviation value is within the range of [-20℃, 20℃], if the cumulative temperature deviation value is 10℃ and the temperature deviation value is 5℃, then according to Formula 3, the cumulative temperature deviation value is calculated to be 15℃.
[0047] In step S13, when the product of the cumulative temperature deviation value and the temperature deviation value is negative, the cumulative deviation rate is determined based on the cumulative temperature deviation value, and the sum of the product of the temperature deviation value and the cumulative deviation rate and the cumulative deviation value is accumulated to obtain the cumulative temperature deviation value. If the product of the cumulative temperature deviation value and the temperature deviation value is negative, it indicates that the accumulation is reverse accumulation. In this case, the absolute value of the cumulative temperature deviation value gradually decreases over time. The larger the cumulative temperature deviation value, the faster the accumulation rate (the rate of decrease of the cumulative temperature deviation value is multiplied, and the faster it decreases), in order to eliminate integral saturation as soon as possible.
[0048] The specific formula is shown in Formula 4: TMP_T = TMP_T + TMP_DT * TMP_DV, where TMP_T is the cumulative temperature deviation value, TMP_DT is the temperature deviation value, and TMP_DV is the cumulative deviation rate. The cumulative deviation rate, determined based on the cumulative temperature deviation value, is shown in Formula 5: TMP_DV = ABS_ST(TMP_T) / 5.0 * I_X + 0.5, where TMP_DV is the cumulative deviation rate, ABS_ST(TMP_T) is the absolute value of the cumulative temperature deviation value, and I_X is the integral coefficient. For example, under the conditions that the duty cycle of the temperature control valve is greater than zero and the temperature deviation value is within the range of [-20℃, 20℃], if the cumulative temperature deviation value is 10℃, the temperature deviation value is -5℃, and the integral coefficient I_X is 0.03, then according to Formulas 4 and 5, the cumulative temperature deviation value is calculated to be 6.75℃.
[0049] Step S14: At the end of the current cycle, determine the target duty cycle of the temperature control valve based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate.
[0050] The duty cycle of a thermostatic valve refers to the proportion of the valve's open time within a single cycle, ranging from 0% to 100%. The temperature control medium setting is selected based on the actual site conditions: ON for refrigerant control and OFF for hot media control. When set to ON, the output duty cycle signal is inverted for refrigerant temperature control. When set to OFF, the output duty cycle signal does not need to be inverted for hot media temperature control. For example, when the thermostatic valve's duty cycle is 50% and set to OFF, it means that the hot media-controlled thermostatic valve is open for half the time and closed for the other half of a cycle.
[0051] In some embodiments, where hot and cold media are used alternately, the maximum output value of the regulating valve is set to 100%, and the minimum output value is set to -100%, so that the output duty cycle varies from -100% to 100%. The output duty cycle is then processed a second time and assigned to two regulating valve control loops (for example, one loop is used for heating and the other loop is used for cooling as a split-range). Dead zone setting is supported, which is to avoid frequent valve operation due to small fluctuations in the input signal.
[0052] In step S14, the target duty cycle of the temperature control valve is determined based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate, which may further include steps S141 to S145.
[0053] In step S14, a positional PID algorithm is used, where the valve duty cycle in each cycle is calculated independently, independent of the previous cycle's duty cycle. The output duty cycle is the sum of the duty cycles calculated separately for the proportional, integral, and derivative components.
[0054] Step S141: Obtain the proportional coefficient, integral coefficient, and differential coefficient.
[0055] The proportional coefficient represents the duty cycle of the temperature control valve when the temperature deviation is 1℃. The integral coefficient represents the duty cycle of the temperature control valve when the current cumulative deviation is 1℃. The derivative coefficient represents the duty cycle of the temperature control valve for every 1℃ decrease within the preset time period.
[0056] Step S142: Based on the temperature deviation value and the proportional coefficient, determine the first duty cycle of the temperature control valve, wherein the first duty cycle is the product of the temperature deviation value and the proportional coefficient.
[0057] The proportional duty cycle is calculated as the first duty cycle, specifically by multiplying the proportional coefficient by the temperature deviation value. The specific formula is shown in Formula 5: MV_P = TMP_DT × P_X, where MV_P is the proportional output duty cycle (first duty cycle), TMP_DT is the temperature deviation value, and P_X is the proportional coefficient. For example, if the temperature deviation value is 5℃ and the proportional coefficient is 0.05, then according to Formula 5, the first duty cycle (i.e., the proportional output duty cycle) calculated is 50%.
[0058] Step S143: Based on the updated cumulative temperature deviation value and integral coefficient, determine the second duty cycle of the temperature control valve, wherein the second duty cycle is the product of the updated cumulative temperature deviation value and the integral coefficient.
[0059] The integral part calculates the duty cycle as the second duty cycle, specifically by multiplying the integral coefficient by the cumulative temperature deviation value. The specific formula is shown in Formula Six: MV_I = TMP_T × I_X, where MV_I is the integral output duty cycle (second duty cycle), TMP_T is the cumulative temperature deviation value, and I_X is the integral coefficient. For example, if the cumulative temperature deviation value is 5℃ and the integral coefficient is 0.03, then according to Formula Six, the second duty cycle (i.e., the integral output duty cycle) calculated is 15%.
[0060] Step S144: Determine the third duty cycle of the temperature control valve based on the temperature change rate and the differential coefficient.
[0061] The differential part calculates the duty cycle as the third duty cycle. Specifically, the differential coefficients include the first differential coefficient and the second differential coefficient. Based on the temperature change rate and the differential coefficients, the third duty cycle of the temperature control valve is determined, which may further include steps S151 to S513.
[0062] Step S151: Determine the acceleration of the temperature change rate based on the temperature change rate.
[0063] Based on the instantaneous rate of temperature change of the current temperature value and the instantaneous rate of temperature change of the temperature value before the preset time, the acceleration of the rate of temperature change before the preset time can be determined. When the acceleration of the rate of temperature change is opposite in sign to the rate of temperature change itself, the acceleration of the rate of temperature change will weaken the influence of the differential term to a certain extent.
[0064] Step S152: Based on the rate of temperature change, the acceleration of the rate of temperature change, and the second differential coefficient, determine the deviation value of the rate of temperature change, wherein the deviation value of the rate of temperature change is the product of the absolute value of the rate of temperature change and the acceleration and the second differential coefficient of the rate of temperature change.
[0065] The specific formula is shown in Formula 7: TMP_UPP=ABS_ST(TMP_UP)×TMP_DD×DD_X, where TMP_UPP is the deviation value of the temperature change rate, ABS_ST(TMP_UP) is the absolute value of the temperature change rate, TMP_DD is the acceleration of the temperature change rate, and DD_X is the second differential coefficient. For example, if the temperature change rate is 0.1℃ / second and the acceleration of the temperature change rate is 0.05℃ / second... 2 The second differential coefficient is 5, so the deviation value of the temperature change rate calculated according to Formula 7 is 0.025℃ / second.
[0066] Step S153: Based on the temperature change rate, the deviation value of the temperature change rate, and the first differential coefficient, determine the third duty cycle of the temperature control valve, wherein the third duty cycle is the product of the sum of the temperature change rate and the deviation value of the temperature change rate and the first differential coefficient.
[0067] The specific formula is shown in Formula 8: MV_D = (TMP_UP + TMP_UPP) × D_X, where MV_D is the differential output duty cycle (third duty cycle), TMP_UP is the temperature change rate, TMP_UPP is the deviation value of the temperature change rate, and D_X is the first differential coefficient. For example, if the temperature change rate is 0.1℃ / second, the deviation value of the temperature change rate is 0.025℃ / second, and the first differential coefficient is 100, then according to Formula 8, the third duty cycle (i.e., the differential output duty cycle) is calculated to be 12.5%.
[0068] Step S145: Based on the first duty cycle, the second duty cycle, and the third duty cycle, determine the target duty cycle of the temperature control valve, wherein the target duty cycle is the difference between the sum of the first duty cycle and the second duty cycle and the third duty cycle.
[0069] The specific formula is shown in Formula Nine: MV = MV_P + MV_I - MV_D, where MV is the target duty cycle, MV_P is the proportional output duty cycle (first duty cycle), MV_I is the integral output duty cycle (second duty cycle), and MV_D is the derivative output duty cycle (third duty cycle). Substituting the first duty cycle calculated in step S142, the second duty cycle calculated in step S143, and the third duty cycle calculated in step S144 into Formula Nine, we can obtain the target duty cycle of the temperature control valve as 52.5%.
[0070] It should be noted that for chemical reaction systems involving heat exchange, an integral coefficient should be appropriately set to eliminate steady-state errors; a typical empirical value is 0.03 or 0.04. For purely physical mixtures without heat exchange, the integral coefficient can be set to 0. For systems with hysteresis, a differential coefficient should be set; the stronger the hysteresis, the larger the differential coefficient, generally 100–150, and 300–500 for systems with strong hysteresis. For systems with large hysteresis, an acceleration coefficient should also be added; an empirical parameter of 5 is used.
[0071] When the measured temperature fluctuates significantly around the target temperature without decreasing, the proportional and integral coefficients should be appropriately reduced. When the measured temperature consistently stays close to the target temperature without overshoot, the integral coefficient should be appropriately increased or the derivative parameter decreased.
[0072] Step S15: If the duty cycle of the temperature control valve is not equal to the target duty cycle, then at the beginning of the next cycle, control the duty cycle of the temperature control valve to adjust to the target duty cycle so that the first temperature value is adjusted to the target temperature value.
[0073] The core idea of this step is to achieve precise temperature control by periodically adjusting the duty cycle of the temperature control valve, relying heavily on real-time detection, error calculation, and dynamic adjustment. Through multiple adjustments, the temperature value can be gradually brought close to and stabilized at the target temperature value.
[0074] Taking the production process temperature characteristic curve of automatically switching between hot and cold media at different reaction stages in the synthesis of polyolefin catalysts as an example, the beneficial effects of the reactor temperature control method in the above embodiments are explained. Figure 2 The temperature curve analysis diagram provided in this embodiment of the prior art temperature control method is shown in the figure. The green curve 1 is the theoretical curve of the temperature change in the reactor over time, and the red curve 2 is the actual output curve of the temperature change in the reactor over time after implementing the prior art temperature control method. Figure 3 The temperature curve analysis diagram provided for implementing the reactor temperature control method of this disclosure in the embodiments of this disclosure, wherein the green curve 1 is the theoretical curve of the temperature change inside the reactor over time, and the red curve 2 is the actual output curve of the temperature change inside the reactor over time after implementing the reactor temperature control method of this disclosure. According to Figure 2 and Figure 3 It can be seen that, Figure 2 The actual output curve deviates significantly from the theoretical curve. Figure 3 The actual output curve shows a smaller deviation from the original theoretical curve, meaning the temperature control deviation has been reduced from a maximum of ±5℃ to within ±1℃, thus improving product quality and output.
[0075] The reactor temperature control method provided in Embodiment 1 of this disclosure significantly improves the system's response speed by introducing temperature change rate and temperature change rate acceleration information. This allows the system to react more quickly to any temperature fluctuations, thereby reducing response delay and improving temperature regulation efficiency. By combining this method with a PID (Proportional-Integral-Derivative) algorithm, more precise temperature control is achieved, ensuring that the temperature inside the reactor is stably maintained near a preset value. Furthermore, this method greatly reduces the need for manual intervention, improves operational safety and consistency, reduces the workload of operators, and mitigates the risks associated with human error. Due to the increased automation and enhanced temperature control accuracy, this method effectively reduces the risk of temperature runaway, further ensuring the safety of the production process.
[0076] Figure 4 This is a schematic flowchart of a reactor temperature control method according to Embodiment 2 of this disclosure. The reactor temperature control method provided in Embodiment 2, while inheriting all the steps of Embodiment 1, further introduces a limiting control mechanism for the cumulative temperature deviation value to optimize temperature control performance. For example... Figure 4 As shown, it may also include steps S21 to S22.
[0077] Step S21: In response to the cumulative temperature deviation value being less than or equal to the second lower limit value, update the second lower limit value to the cumulative temperature deviation value.
[0078] Step S22: In response to the cumulative temperature deviation value being greater than or equal to the second upper limit value, update the second upper limit value to the cumulative temperature deviation value.
[0079] To prevent integral saturation—the problem of controller output exceeding its physical limits due to long-term accumulated errors—Example 2 introduces an important constraint: limiting the cumulative temperature deviation value TMP_T, expressed as Lim(TMP_T) = 100 / I_X, where TMP_T is the cumulative temperature deviation value and I_X is the integral coefficient. After limiting, the maximum duty cycle MV_I of the integral part is limited to no more than 100%. This means that no matter how large the accumulated deviation is, the adjustment generated by the controller through integral action will not exceed the maximum capacity of the system, effectively suppressing integral saturation and ensuring the stability and reliability of the control system.
[0080] The reactor temperature control method provided in Embodiment 2 of this disclosure not only continues the advantages of rapid response and precise control of temperature fluctuations in Embodiment 1, but also achieves more precise and stable temperature control by introducing a limiting process for the cumulative temperature deviation value.
[0081] Figure 5This is a schematic flowchart of a reactor temperature control method according to Embodiment 3 of this disclosure. The reactor temperature control method provided in Embodiment 3 not only includes all the steps of Embodiment 1 or Embodiment 2 above, but also incorporates a new function for output smoothing to optimize the stability during valve duty cycle adjustment. Figure 5 As shown, it may also include steps S31 to S32.
[0082] Step S31: In response to the smoothing selection switch being turned on, obtain the target duty cycle for the first four cycles, including the target duty cycle for the first cycle, the target duty cycle for the second cycle, the target duty cycle for the third cycle, and the target duty cycle for the fourth cycle.
[0083] When the system detects that the smoothing selection switch is on, it will collect the target duty cycle of the first four cycles (i.e., the target duty cycle of the first to fourth cycles) and use it to calculate the average value, thereby achieving a smoother valve duty cycle adjustment.
[0084] Step S32: Take the average of the target duty cycle of the previous four cycles and the target duty cycle of the current cycle, and determine the average value as the target duty cycle of the temperature control valve.
[0085] The target duty cycle of these four historical periods is averaged with the target duty cycle of the current period to obtain a more stable target duty cycle that is suitable for the response rate of the actuator.
[0086] Because this disclosure uses a positional PID algorithm, the valve duty cycle in each cycle is independent and does not depend on the duty cycle of the previous cycle. To avoid the system output duty cycle changing too quickly or with too large an amplitude, which would prevent the actuator response rate from being insufficient, output smoothing can be performed. When output smoothing is enabled, the module's built-in duty cycle calculation register automatically stores the valve duty cycles of the previous 5 cycles. The final output duty cycle is the average of the module's calculated duty cycle for the current cycle and the actual duty cycles of the previous 5 cycles.
[0087] The reaction vessel temperature control method provided in Embodiment 3 of this disclosure, by introducing a smoothing process, can significantly reduce unstable factors caused by sudden changes while maintaining efficient temperature control, thus providing more ideal environmental conditions for chemical reactions.
[0088] Figure 6 This is a schematic flowchart of a reactor temperature control method according to Embodiment 4 of this disclosure. Figure 6 As shown, the reactor temperature control method provided in Embodiment 4 of this disclosure may include steps S41 to S44.
[0089] Step S41: Within the current cycle, obtain the first temperature value of the reactor, the second temperature value before the preset time before the first temperature value, the target temperature value, and the cumulative temperature deviation value.
[0090] Step S42: Based on the first temperature value, the second temperature value, and the target temperature value, determine the temperature deviation value and the temperature change rate of the reactor.
[0091] Step S43: In response to the temperature control valve having a duty cycle of zero, determine the target duty cycle of the temperature control valve based on the temperature deviation value and the temperature change rate.
[0092] When the duty cycle of the temperature-controlled valve is zero, it means the valve is completely closed. In this case, integral control is not activated to avoid unnecessary overshoot. Based on the temperature deviation and the rate of temperature change, the system determines a new target duty cycle to ensure that it provides a reasonable reference for subsequent actions even when the valve is closed.
[0093] Step S43: If the duty cycle of the temperature control valve is not equal to the target duty cycle, then at the beginning of the next cycle, control the duty cycle of the temperature control valve to adjust to the target duty cycle so that the first temperature value is adjusted to the target temperature value.
[0094] For a description of steps S41, S42 and S43, please refer to the detailed description of steps S11, S12 and S15 in the above embodiment, which will not be repeated here.
[0095] The reaction vessel temperature control method provided in Embodiment 4 of this disclosure improves other solutions for the temperature control mechanism. Through refined data processing and intelligent decision-making mechanisms, it achieves a more efficient, stable, and energy-saving temperature control effect.
[0096] The following provides specific examples and explanations of the overall control principle of the reactor temperature control method provided in the above embodiments of this disclosure.
[0097] Figure 7 This is a schematic diagram of the overall process of the reactor temperature control method provided according to embodiments of this disclosure. Figure 7 As shown, the overall process of the reactor temperature control method provided in this embodiment includes the following steps.
[0098] The first step is to obtain the current temperature value, the target temperature value, and the temperature value 30 seconds ago, and calculate the temperature deviation and the rate of temperature change based on the obtained parameters. Specifically, obtain the temperature value 30 seconds ago (TMP_O), calculate the temperature deviation from the current temperature (TMP_DT), the temperature rise within 30 seconds, i.e., the rate of temperature change (TMP_DL), and calculate the acceleration of the rate of temperature change (TMP_DD). To improve the calculation accuracy, a 5-second moving average can be introduced, i.e., simultaneously calculate the 5-second moving average of the current temperature value and the 5-second moving average of the acceleration of the rate of temperature change.
[0099] The second step is to calculate the proportional duty cycle. The current temperature deviation is multiplied by the deviation coefficient to obtain the deviation calculation output value, that is, the temperature deviation value (TMP_DT) is multiplied by the proportional coefficient (P_X) to obtain the proportional duty cycle output value (MV_P).
[0100] Step 3: Determine if the temperature control valve is open. Integral control is activated when the valve is first opened. During integral control, deviation is accumulated, and the deviation value for each cycle is incremented. When the deviation value exceeds the limit, the accumulated value stops incrementing. When the temperature deviation accumulates in the positive direction, the accumulation rate is normal. When the deviation accumulates in the negative direction, the larger the accumulated deviation value, the faster the accumulation rate. The rate decreases as the accumulated value decreases, with a maximum rate coefficient of 20.5 times and a minimum rate coefficient of 0.5 times. At the same time, the accumulated temperature deviation value is limited, and the maximum amplitude affects the valve duty cycle by no more than 100%, i.e., TMP_T = LIM_REAL(100.0 / I_X, TMP_T, (0.0-100.0) / I_X), where TMP_T is the accumulated temperature deviation value and I_X is the integral coefficient.
[0101] Specifically, when the temperature deviation exceeds the first limit range, the integral term does not accumulate to avoid excessive accumulation and integral saturation due to excessive deviation. At the same time, the cumulative temperature deviation value TMP_T is limited, Lim(TMP_T) = 100 / I_X, that is, the duty cycle MV_I of the integral part does not exceed 100% at most, in order to suppress integral saturation.
[0102] When the current temperature deviation TMP_DT and the cumulative temperature deviation value TMP_T have opposite signs, it is called reverse accumulation of deviation. At this time, the absolute value of TMP_T gradually decreases over time. The larger TMP_T is, the faster the accumulation rate (the rate of TMP_T decreases is multiplied, and the faster it decreases), in order to eliminate integral saturation as soon as possible.
[0103] Step 4: Calculate the integral duty cycle. Multiply the cumulative deviation value by the cumulative deviation coefficient to obtain the cumulative deviation calculation output value, that is, multiply the cumulative temperature deviation value (TMP_T) by the integral coefficient (I_X) to obtain the integral duty cycle output value (MV_I).
[0104] The fifth step is to calculate the differential duty cycle. The rate of temperature change (heating) is multiplied by the rate of change coefficient to obtain the output value of the rate of change calculation. That is, the differential duty cycle output value (MV_D) is obtained according to the formula MV_D=(TMP_UP+ABS_ST(TMP_UP)*TMP_DD*DD_X)*D_X, where TMP_UP is the rate of temperature change, TMP_DD is the acceleration of the rate of temperature change, DD_X is the second differential coefficient, and D_X is the first differential coefficient.
[0105] The calculated temperature change rate is divided into two parts: the current actual temperature change rate (temperature change value within 30 seconds) and the product of the absolute value of the temperature change rate and the acceleration of the temperature change rate. That is, when the acceleration of the temperature change rate is opposite to the temperature change rate itself, the acceleration of the temperature change rate will play a certain role in weakening the influence of the differential term.
[0106] Step 6: Calculate the total duty cycle. The total calculated output value is the sum of the three sub-calculated output values, i.e., MV = MV_P + MV_I - MV_D, where MV is the total duty cycle output value, MV_P is the proportional duty cycle output value, MV_I is the integral duty cycle output value, and MV_D is the differential duty cycle output value.
[0107] Step 7: Calculate the valve output duty cycle for the current cycle and record the valve duty cycle over 4 cycles for output smoothing. During output smoothing, the valve duty cycle is the moving average of the valve duty cycle over 4 cycles and the calculated duty cycle for the current cycle; otherwise, it is the calculated duty cycle for the current cycle.
[0108] Step 8: Determine if inversion is enabled. If enabled, then invert the value.
[0109] Step 9: Start the module. When operating manually, release the duty cycle control of the regulating valve, pause the deviation accumulation, and reset all parameters when the module is not started, clearing the deviation accumulation value to zero.
[0110] Step 10: Update the recorded temperature setpoint value from the previous cycle.
[0111] When the target temperature value changes, the cumulative deviation value can be cleared after a delay of 5 system cycles. The 5-cycle delay is to prevent the valve closing delay caused by the activation of output smoothing processing from causing the integral control to be erroneously activated.
[0112] The algorithm employs a positional PID algorithm, where the valve duty cycle in each cycle is calculated independently, independent of the previous cycle's duty cycle. The output duty cycle is the sum of the duty cycles calculated separately for the proportional, integral, and derivative components. Specifically, the proportional component calculates the duty cycle by multiplying the proportional coefficient (P_X) by the current temperature deviation; the proportional coefficient represents the valve duty cycle value when the temperature deviation is 1℃. The integral component calculates the duty cycle by multiplying the integral coefficient (I_X) by the current cumulative temperature deviation; the integral coefficient represents the valve duty cycle value when the current cumulative deviation is 1℃. The derivative component calculates the duty cycle by multiplying the calculated temperature change rate by the derivative coefficient (D_X); the derivative coefficient represents the valve duty cycle value for every 1℃ decrease in temperature within 30 seconds.
[0113] Since this module uses a positional PID controller, the valve duty cycle is independent of the previous cycle's duty cycle. To prevent the system output duty cycle from changing too quickly or with too large an amplitude, which would overwhelm the actuator's response rate, output smoothing can be implemented. When output smoothing is enabled, the module's built-in duty cycle register automatically stores the valve duty cycles of the previous 5 cycles. The final output duty cycle is the average of the module's calculated duty cycle for the current cycle and the actual duty cycles of the previous 5 cycles.
[0114] For example, in the production process of polyolefin catalysts, the current temperature inside the reactor is 110°C, the set temperature for the current cycle is 111°C, the temperature 30 seconds ago was 0.2°C, the current valve opening percentage is 46%, and the valve opening percentages for the previous four cycles were 44.5%, 44.9%, 45.5%, and 45.8%, respectively. The calculated current temperature deviation is 1.0°C.
[0115] First, the calculated temperature change rate for the current cycle is 0.4℃ / second, and the acceleration of the temperature change rate for the current cycle is 0.01℃ / second².
[0116] Secondly, the calculated proportional output value for the current cycle is 0.1 (proportional output value = current temperature deviation value * proportional coefficient, proportional coefficient is 135); the calculated integral output value for the current cycle is 0.3 (integral output value = cumulative temperature deviation value * integral coefficient, integral coefficient is 26); and the calculated differential output value for the current cycle is 0.5 (differential output value = temperature change rate * differential coefficient, differential coefficient is 0.2).
[0117] Finally, the calculated valve output value for the current cycle is 46.9, or 46.9%.
[0118] When calculating the integral output value, if the current temperature deviation is within the range of [-0.5, 0.5] and is a positive accumulation, the deviation is directly accumulated; if the current temperature deviation is within the range of [-2.5, 2.5] and is a negative accumulation, the deviation is accumulated according to a certain rate of temperature change. When calculating the valve output value, if the positive / reverse action switch is on, the value is reversed; if it is off, the value is not reversed. If the smoothing selection switch is on, the valve output value = (valve output value of the previous 4 cycles + valve output value of the current cycle) / 5; if it is off, it equals the valve output value of the current cycle.
[0119] The reactor temperature control method provided in this disclosure is applicable to reactor temperature control in various environments. It can also be used as the inner loop of a cascade temperature control system. The outer loop output value can be introduced into the SP pin of this module after dimensional conversion.
[0120] Figure 8 This is a structural block diagram of a reactor temperature control device provided according to an embodiment of this disclosure. Figure 8 As shown, the reactor temperature control device 100 includes: an acquisition unit 110, a first determination unit 120, an accumulation unit 130, a second determination unit 140, and a control unit 150.
[0121] The acquisition unit 110 is used to acquire, within the current cycle, the first temperature value of the reactor, the second temperature value before the first temperature value by a preset time, the target temperature value, and the cumulative temperature deviation value.
[0122] The first determining unit 120 is used to determine the temperature deviation value and temperature change rate of the reactor based on the first temperature value, the second temperature value and the target temperature value.
[0123] The accumulation unit 130 is used to accumulate the temperature deviation value in response to the temperature control valve having a duty cycle greater than zero and a temperature deviation value greater than or equal to a first lower limit and less than or equal to a first upper limit, so as to update the accumulated temperature deviation value.
[0124] The second determining unit 140 is used to determine the target duty cycle of the temperature control valve at the end of the current cycle based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate.
[0125] The control unit 150 is used to adjust the duty cycle of the temperature control valve to the target duty cycle at the beginning of the next cycle if the duty cycle of the temperature control valve is not equal to the target duty cycle, so that the first temperature value is adjusted to the target temperature value.
[0126] The reactor temperature control device provided in this disclosure, employing the reactor temperature control method described in the above embodiments, can solve the technical problems mentioned in the background art.
[0127] The beneficial effects of the reactor temperature control device provided in this disclosure are the same as those of the reactor temperature control method provided in the above embodiments, and other technical features in the reactor temperature control device are the same as those in the reactor temperature control method disclosed, and will not be repeated here.
[0128] This disclosure also provides a computer device, which includes: a memory configured to store instructions; and a processor configured to retrieve instructions from the memory and, when executing the instructions, to implement the reactor temperature control method provided in the above embodiments.
[0129] The beneficial effects of the computer equipment provided in this embodiment are the same as those of the reaction vessel temperature control method provided in the above embodiments, and will not be repeated here.
[0130] This disclosure also provides a machine-readable storage medium storing instructions for causing a machine to perform the reactor temperature control method provided in the first aspect or any embodiment of the first aspect.
[0131] The beneficial effects of the machine-readable storage medium provided in this disclosure are the same as those of the reactor temperature control method provided in the above embodiments, and will not be repeated here.
[0132] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0134] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0135] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0136] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0137] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0138] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0139] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0140] The above are merely embodiments of this disclosure and are not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.
Claims
1. A method for controlling the temperature of a reaction vessel, characterized in that, include: Within the current cycle, acquire the first temperature value of the reactor, the second temperature value before the first temperature value by a preset time, the target temperature value, and the cumulative temperature deviation value; Based on the first temperature value, the second temperature value, and the target temperature value, the temperature deviation value and the temperature change rate of the reactor are determined; In response to the temperature control valve having a duty cycle greater than zero and the temperature deviation value being greater than or equal to a first lower limit and less than or equal to a first upper limit, the temperature deviation value is accumulated to update the accumulated temperature deviation value. At the end of the current cycle, the target duty cycle of the temperature control valve is determined based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate. as well as If the duty cycle of the temperature control valve is not equal to the target duty cycle, then at the beginning of the next cycle, the duty cycle of the temperature control valve is adjusted to the target duty cycle so that the first temperature value is adjusted to the target temperature value.
2. The reaction vessel temperature control method according to claim 1, characterized in that, The step of determining the temperature deviation and temperature change rate of the reactor based on the first temperature value, the second temperature value, and the target temperature value includes: Based on the first temperature value and the target temperature value, the difference between the target temperature value and the first temperature value is determined as the temperature deviation value; Based on the first temperature value and the second temperature value, the ratio of the difference between the first temperature value and the second temperature value to the preset time duration is determined as the temperature change rate.
3. The reaction vessel temperature control method according to claim 1, characterized in that, The step of responding to the temperature control valve having a duty cycle greater than zero and the temperature deviation value being greater than or equal to a first lower limit and less than or equal to a first upper limit, and accumulating the temperature deviation value to update the accumulated temperature deviation value, includes: When the product of the cumulative temperature deviation value and the temperature deviation value is non-negative, the sum of the cumulative temperature deviation value and the temperature deviation value is accumulated to obtain the cumulative temperature deviation value. When the product of the cumulative temperature deviation value and the temperature deviation value is negative, the cumulative deviation rate is determined based on the cumulative temperature deviation value, and the sum of the product of the temperature deviation value and the cumulative deviation rate and the cumulative temperature deviation value is accumulated to obtain the cumulative temperature deviation value.
4. The reactor temperature control method according to claim 3, characterized in that, The cumulative deviation rate is determined based on the cumulative temperature deviation value using the following formula: TMP_DV=ABS_ST(TMP_T) / 5.0*I_X+0.5, In the formula, TMP_DV is the cumulative deviation rate, ABS_ST(TMP_T) is the absolute value of the cumulative temperature deviation, and I_X is the integral coefficient.
5. The method for controlling the temperature of a reactor according to any one of claims 1-4, characterized in that, Also includes: In response to the cumulative temperature deviation value being less than or equal to the second lower limit value, the second lower limit value is updated to the cumulative temperature deviation value; In response to the cumulative temperature deviation value being greater than or equal to the second upper limit value, the second upper limit value is updated to the cumulative temperature deviation value.
6. The reactor temperature control method according to claim 1, characterized in that, Determining the target duty cycle of the temperature control valve based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate includes: Obtain the proportional coefficient, integral coefficient, and derivative coefficient; Based on the temperature deviation value and the proportional coefficient, the first duty cycle of the temperature control valve is determined, wherein the first duty cycle is the product of the temperature deviation value and the proportional coefficient; Based on the updated cumulative temperature deviation value and the integral coefficient, the second duty cycle of the temperature control valve is determined, wherein the second duty cycle is the product of the updated cumulative temperature deviation value and the integral coefficient; Based on the temperature change rate and the differential coefficient, the third duty cycle of the temperature control valve is determined; Based on the first duty cycle, the second duty cycle, and the third duty cycle, a target duty cycle for the temperature control valve is determined, wherein the target duty cycle is the difference between the sum of the first duty cycle and the second duty cycle and the third duty cycle.
7. The reactor temperature control method according to claim 6, characterized in that, The differential coefficients include a first differential coefficient and a second differential coefficient; determining the third duty cycle of the temperature control valve based on the temperature change rate and the differential coefficients includes: Based on the rate of temperature change, determine the acceleration of the rate of temperature change; Based on the temperature change rate, the acceleration of the temperature change rate, and the second differential coefficient, a deviation value of the temperature change rate is determined, wherein the deviation value of the temperature change rate is the product of the absolute value of the temperature change rate and the acceleration of the temperature change rate and the second differential coefficient. Based on the temperature change rate, the deviation value of the temperature change rate, and the first differential coefficient, the third duty cycle of the temperature control valve is determined, wherein the third duty cycle is the product of the sum of the temperature change rate and the deviation value of the temperature change rate and the first differential coefficient.
8. The reactor temperature control method according to claim 6, characterized in that, Also includes: In response to the smoothing selection switch being turned on, the target duty cycle for the first four cycles is obtained, including the target duty cycle for the first cycle, the target duty cycle for the second cycle, the target duty cycle for the third cycle, and the target duty cycle for the fourth cycle. The average value of the target duty cycle of the previous four cycles and the target duty cycle of the current cycle is taken, and the average value is determined as the target duty cycle of the temperature control valve.
9. The method for controlling the temperature of a reaction vessel according to claim 1, characterized in that, Also includes: In response to the temperature control valve having a duty cycle of zero, a target duty cycle for the temperature control valve is determined based on the temperature deviation value and the temperature change rate.
10. A temperature control device for a reaction vessel, characterized in that, include: The acquisition unit is used to acquire, within the current cycle, the first temperature value of the reactor, the second temperature value before the first temperature value by a preset time, the target temperature value, and the cumulative temperature deviation value. The first determining unit is used to determine the temperature deviation value and temperature change rate of the reactor based on the first temperature value, the second temperature value and the target temperature value; The accumulation unit is used to accumulate the temperature deviation value in response to the duty cycle of the temperature control valve being greater than zero and the temperature deviation value being greater than or equal to a first lower limit value and less than or equal to a first upper limit value, so as to update the accumulated temperature deviation value. The second determining unit is used to determine the target duty cycle of the temperature control valve at the end of the current cycle based on the temperature deviation value, the updated cumulative temperature deviation value, and the temperature change rate. as well as The control unit is configured to adjust the duty cycle of the temperature control valve to the target duty cycle at the start of the next cycle if the duty cycle of the temperature control valve is not equal to the target duty cycle, so that the first temperature value is adjusted to the target temperature value.
11. A computer device, characterized in that, include: The memory is configured to store instructions; as well as The processor is configured to retrieve the instructions from the memory and, when executing the instructions, to implement the reactor temperature control method according to any one of claims 1-9.
12. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores instructions for causing the machine to perform the reactor temperature control method according to any one of claims 1-9.