Temperature control method and device, equipment and storage medium
By collecting the current tank temperature value of the jacketed reactor, using the preset relationship function and the fuzzy PID algorithm to determine the target jacketed temperature value, the temperature control problem of the jacketed reactor at different reaction stages is solved, and accurate temperature control and adaptive adjustment are achieved.
Patent Information
- Application Number
- CN202510614778.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-09-02
AI Technical Summary
The prior art cannot accurately control the temperature of the jacketed reactor, especially the temperature control requirements at different reaction stages cannot be met, and the temperature difference between the jacket and the reaction tank affects the temperature control effect.
By collecting the current tank temperature value of the jacketed reactor, the target jacket temperature value is determined using the preset relationship function, and the adjustment scale is determined in combination with the fuzzy PID algorithm to achieve accurate adjustment of the temperature control components.
It realizes accurate temperature control of jacketed reactors, adapts to the temperature control needs of different reaction stages, and prevents temperature overshoot. It is suitable for jacketed reactors of different volumes, materials and brands.
Smart Images

Figure CN120578239A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of industrial production technology, and in particular to a temperature control method, device, electronic device, and computer storage medium. Background Art
[0002] A jacketed reactor is a chemical reaction device consisting of a reaction vessel and a jacket. The heat transfer medium in the jacket can heat or cool the reactants inside the vessel. However, due to the temperature difference between the jacket and the vessel, as well as the inherent temperature lag, achieving more precise temperature control in the reactor is currently a challenge. Summary of the Invention
[0003] In view of this, one of the technical problems solved by the embodiments of the present application is to provide a temperature control method, device, electronic device and storage medium for more accurate temperature control of a jacketed reactor.
[0004] In a first aspect, an embodiment of the present application provides a temperature control method, the method comprising:
[0005] Collect the current tank temperature value of the jacketed reactor;
[0006] Determining a target jacket temperature value that matches the current tank temperature value according to a preset relationship function; the preset relationship function is used to characterize the functional relationship between the tank temperature value and the jacket temperature value of the jacketed reactor at different reaction stages;
[0007] A fuzzy PID algorithm is used to determine an adjustment scale corresponding to the target jacket temperature value, and the temperature control component is adjusted according to the adjustment scale.
[0008] In a second aspect, an embodiment of the present application provides a temperature control device, comprising:
[0009] The acquisition module is used to collect the current tank temperature value of the jacketed reactor;
[0010] a determination module for determining a target jacket temperature value that matches the current tank temperature value based on a preset relationship function; the preset relationship function is used to characterize the functional relationship between the tank temperature value and the jacket temperature value of the jacketed reactor at different reaction stages;
[0011] The execution module is used to determine the adjustment scale corresponding to the target jacket temperature value by using a fuzzy PID algorithm, and adjust the temperature control component according to the adjustment scale.
[0012] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other through the communication bus; the memory is used to store computer programs, and when the processor is used to execute the programs stored in the memory, the temperature control method as described in the first aspect is implemented.
[0013] In a fourth aspect, an embodiment of the present application provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the temperature control method as described in the first aspect or any one of the embodiments of the first aspect is implemented.
[0014] The embodiments of the present application provide a temperature control method, device, electronic device, and computer storage medium. The embodiments of the present application, on the one hand, can determine the regularity of the temperature difference characteristics between the jacket and the reactor at different reaction stages, and then automatically determine the target jacket temperature value corresponding to the current tank temperature value by utilizing the temperature difference characteristics between the jacket and the reactor, thereby overcoming the influence of the temperature difference between the jacket and the reactor on the temperature control process of the jacketed reactor; on the other hand, a fuzzy PID algorithm is used to determine the adjustment scale corresponding to the target jacket temperature value, thereby achieving precise temperature control for each reaction stage, while better adapting to the characteristics of temperature change hysteresis, preventing temperature overshoot, and achieving precise temperature control for jacketed reactors of different volumes, materials, and brands. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Hereinafter, some specific embodiments of the present application will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:
[0016] Figure 1 A schematic flow chart of a temperature control method provided in an embodiment of the present application;
[0017] Figure 2 A schematic diagram of the temperature change process of the jacketed reactor provided in an embodiment of the present application;
[0018] Figure 3 A schematic structural diagram of a jacketed reactor provided in an embodiment of the present application;
[0019] Figure 4 A schematic structural diagram of a temperature control device provided in an embodiment of the present application.
[0020] List of reference numerals:
[0021] 101: Collect the current tank temperature value of the jacketed reactor;
[0022] 102: Determine a target jacket temperature value that matches the current tank temperature value according to a preset relationship function;
[0023] 103: Using a fuzzy PID algorithm, determine an adjustment scale corresponding to a target jacket temperature value, and adjust the temperature control component according to the adjustment scale;
[0024] 30: Jacketed reactor;
[0025] 301, flow valve;
[0026] 40: temperature control device;
[0027] 401: Collection module;
[0028] 402: Confirm module;
[0029] 403: Execute module. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present application.
[0031] A jacketed reactor is a chemical reaction equipment consisting of a reaction tank and a jacket. A jacketed reactor can heat or cool the reactants in the reaction tank via a heat transfer medium in the jacket to meet production needs.
[0032] In practical applications, the reaction process of a jacketed reactor usually includes multiple stages. The materials added and the amount of materials added in each stage may be different. Moreover, as the total amount of materials accumulates, the material feeding flow rate needs to be changed in stages. This requires targeted temperature control for each different reaction stage to meet product quality requirements.
[0033] However, the current temperature control scheme for jacketed reactors cannot meet the temperature control requirements of different reaction stages, the temperature control accuracy is insufficient, and there is a temperature difference between the reaction tank and the jacket of the jacketed reactor. The current temperature control scheme cannot effectively deal with the impact of this temperature difference on the temperature control effect.
[0034] Based on the above problems, this application is filed.
[0035] The specific implementation of the embodiment of the present application is further explained below in conjunction with the accompanying drawings of the embodiment of the present application.
[0036] The present invention provides a temperature control method. Figure 1 A flow chart diagram of a temperature control method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes the following steps:
[0037] Step 101: collecting the current tank temperature of the jacketed reactor.
[0038] In the embodiments of the present application, the current tank temperature of the jacketed reactor can be collected according to a set period. Specifically, the jacketed reactor can be equipped with a tank temperature detection sensor, and the tank temperature of the jacketed reactor can be collected based on this sensor. The value of the set period can be flexibly set according to actual needs and is not limited in the embodiments of the present application.
[0039] Step 102: Determine a target jacket temperature value that matches the current tank temperature value according to a preset relationship function.
[0040] During the reaction process of a jacketed reactor, there is a temperature difference between the reactor tank and the jacket of the jacketed reactor. As the reaction stage changes, the temperature of the reactor tank and the jacket itself also changes continuously. Correspondingly, the temperature difference also changes continuously. For ease of understanding, Figure 2 The following is a schematic diagram showing the temperature difference between the reactor and the jacket in a cooling scenario for a jacketed reactor. The dotted line represents the jacket temperature, and the solid line represents the reactor temperature. Figure 2 As shown in the figure, at the beginning of the reaction, the jacket temperature is set significantly lower than the temperature of the reactor to achieve cooling. Therefore, as the reaction proceeds, the temperature of the reactor gradually decreases. As the temperature of the reactor continues to decrease, the jacket temperature is set to increase continuously to prevent the reactor temperature from overshooting, and the temperature difference between the reactor and the jacket gradually decreases.
[0041] based on Figure 2 The exemplary scenarios given are understood to mean that, for any reaction scenario, the temperature values of the reaction tank and the jacket are different at different reaction stages. At the same time, the temperature difference between the reaction tank and the jacket, and the rate of change of the temperature difference are different.
[0042] In an embodiment of the present application, for any reaction scenario, the temperature of the reaction tank and the jacket, and the variation pattern of the temperature difference between the two in the scenario can be determined based on a large amount of sample data of the reaction scenario, and a preset relationship function can be generated based on the obtained variation pattern. In an embodiment of the present application, the preset relationship function can be used to characterize the functional relationship between the tank temperature value and the jacket temperature value of the jacketed reactor in different reaction stages. In a specific implementation method, the reaction scenario can be divided into different reaction stages based on the obtained variation pattern. Further, for different reaction stages, the preset relationship function corresponding to the reaction stage can be generated respectively. In this way, the preset relationship functions of different reaction stages of multiple commonly used reaction scenarios can be obtained.
[0043] Based on the above description, in the embodiment of the present application, a target jacket temperature value that matches the current tank temperature value can be determined according to the above preset relationship function. In the embodiment of the present application, the target jacket temperature value refers to the jacket temperature value whose temperature difference from the current tank temperature value meets the reaction requirements of the current reaction stage.
[0044] Specifically, since the temperature of the reaction tank varies during different reaction stages, a variation pattern of the tank temperature during different reaction stages can be determined. This variation pattern can, for example, be the temperature range of the reaction tank during different reaction stages. After acquiring the current tank temperature, the jacketed reactor's current reaction stage can be determined based on this variation pattern. Furthermore, based on the current reaction stage, a target preset relationship function corresponding to the current reaction stage can be determined from the preset relationship functions corresponding to the different reaction stages. Then, based on the target preset relationship function, a target jacket temperature value can be calculated to match the current tank temperature value.
[0045] In the embodiment of the present application, an exemplary implementation of the above-mentioned preset relationship function can be provided. For example, the preset relationship function of the i-th reaction stage can be:
[0046] SP out =PV in ×(U i+1 -U i ) / (V i+1 -V i )
[0047] V i =SP in +SP i
[0048] U i =PV in +PV i
[0049] The i-th reaction stage is any one of the different reaction stages.in Can indicate the current tank temperature value, SP out It can indicate the target jacket temperature value that matches the current tank temperature value. in The preset jacket temperature value can be a preset jacket temperature value for the current reaction scenario, which is the jacket temperature value under ideal conditions. The preset jacket temperature value can be fixed for different reaction stages of the current reaction scenario. During the actual reaction process, the actual jacket temperature value will fluctuate around the preset jacket temperature value. SP i It can represent the jacket temperature reference value of the i-th reaction stage, PV i It can represent the tank temperature reference value of the i-th reaction stage. In the embodiment of the present application, for any reaction scenario, each reaction stage may correspond to a pair of jacket temperature reference values and tank temperature reference values, wherein the jacket temperature reference value can be used to characterize the jacket temperature level of the corresponding reaction stage, and the tank temperature reference value can be used to characterize the tank temperature level of the corresponding reaction stage. Exemplarily, for any reaction stage, the jacket temperature reference value (or tank temperature reference value) can be, for example, the critical jacket temperature value (or critical tank temperature value) for entering the reaction stage, or the jacket temperature reference value (or tank temperature reference value) can also be the median of the jacket temperature value (or tank temperature value) of the reaction stage, etc.
[0050] Taking the preset relationship function given above as an example, in an embodiment of the present application, the implementation process of the above step 102 can be to determine the current reaction stage based on the currently collected tank temperature value. Further, based on the current reaction stage, the jacket temperature reference value and tank temperature reference value corresponding to the current reaction stage are determined. Then, the determined jacket temperature reference value and tank temperature reference value can be substituted into the above formula to obtain the preset relationship function corresponding to the third reaction stage. Then, based on the preset relationship function corresponding to the third reaction stage, a target jacket temperature value that matches the current tank temperature value can be calculated.
[0051] In the above implementation method, based on a large amount of sample data, the temperature difference variation law between the jacket and the reaction tank in each reaction stage of different reaction scenarios is determined, and then the temperature difference variation law is used to automatically determine the target jacket temperature value corresponding to the tank temperature value detected in each reaction stage, and the obtained target jacket temperature value is used to complete the subsequent temperature control process, thereby overcoming the influence of the temperature difference between the jacket and the reaction tank on the temperature control process, which is conducive to achieving more accurate temperature control.
[0052] Step 103: Using a fuzzy PID algorithm, determine an adjustment scale corresponding to the target jacket temperature value, and adjust the temperature control component according to the adjustment scale.
[0053] In the embodiment of the present application, after determining the target jacket temperature value that matches the current tank temperature value, the adjustment scale corresponding to the target jacket temperature value can be further determined. The adjustment scale refers to the adjustment scale of the temperature control component. For example, Figure 3 As shown, the temperature control component can be, for example, a flow valve 301 of a jacketed reactor 30. The flow valve 301 can be used to control the flow rate of the heat transfer medium when entering and exiting the jacket, thereby adjusting the jacket temperature. Accordingly, the adjustment scale can be the valve opening.
[0054] Specifically, the adjustment scale corresponding to the target jacket temperature value may be determined based on the fuzzy PID algorithm.
[0055] First, the inputs to the fuzzy PID algorithm can be determined based on the target jacket temperature. The inputs to the fuzzy PID algorithm can include the temperature deviation between the target jacket temperature and the actual jacket temperature, as well as the rate of change of the temperature deviation. The actual jacket temperature can be detected by a temperature detection device configured for the jacketed reactor. Furthermore, based on the obtained inputs to the fuzzy PID algorithm, the outputs of the fuzzy PID algorithm can be obtained using the fuzzy PID algorithm. The outputs can include an adjustment scale corresponding to the target jacket temperature.
[0056] Specifically, in an embodiment of the present application, a reaction model of different reaction stages of the current reaction scenario can be obtained based on a large amount of sample data of different reaction stages of the current reaction scenario. The reaction model may include the change pattern of the temperature data of each reaction stage contained in the current reaction scenario, for example, it may include the change pattern of the tank temperature value, the jacket temperature value, the temperature deviation between the tank temperature value and the jacket temperature value, the temperature deviation change rate between the tank temperature value and the jacket temperature value, etc. Furthermore, based on the above reaction model, the temperature deviation between the target jacket temperature value and the actual jacket temperature value and the temperature deviation change rate can be fuzzified in accordance with the fuzzy control principle to obtain multiple fuzzy intervals. Among them, the fuzzification implementation method of the temperature deviation between the target jacket temperature value and the actual jacket temperature value can be, for example, first, defining two deviation parameters TT_H2 and TT_H1, where the value of TT_H2 is greater than TT_H1. Furthermore, the two deviation parameters can be used as critical values to fuzzify the temperature deviation interval in the reaction scenario with a value greater than TT_H2 into a large deviation interval, the temperature deviation interval with a value between TT_H2 and TT_H1 into a medium deviation interval, and the temperature deviation interval with a value less than TT_H1 into a small deviation interval. In this way, multiple fuzzy intervals for the temperature deviation between the target jacket temperature value and the actual jacket temperature value can be obtained, namely: a large deviation interval, a medium deviation interval, and a small deviation interval. Fuzzification of the temperature deviation change rate between the target jacket temperature value and the actual jacket temperature value can be implemented, for example, by fuzzifying the temperature deviation change rate into two fuzzy intervals: a positive deviation change rate and a negative deviation change rate. Furthermore, based on the fuzzification results, a fuzzy control rule can be generated. The fuzzy control rule can include a correspondence between the input items of the fuzzy PID algorithm (i.e., the temperature deviation between the target jacket temperature value and the actual jacket temperature value and the temperature deviation change rate) in different value intervals and the output items (i.e., the adjustment scale) with different values.
[0057] The following table shows a possible implementation of fuzzy control rules in a cooling scenario of a reaction tank.
[0058]
[0059] Table 1
[0060] The following describes the temperature control process and control logic implemented based on the fuzzy control rules shown in Table 1 in the cooling scenario.
[0061] As shown in Table 1, in the first reaction stage at the beginning of cooling, the temperature deviation is greater than TT_H2, belonging to the large deviation range, and the deviation change rate is positive. At this time, a larger output item MV_Trk1 can be forcibly assigned to increase the valve opening of the flow valve and increase the flow of the heat transfer medium.
[0062] As the cooling process changes, in the second reaction stage, the temperature deviation is still in the large deviation range, the reaction tank temperature will show a significant downward trend, and the deviation change rate is negative. At this time, a slightly smaller output item MV_Trk2 can be forcibly assigned;
[0063] As the cooling process continues, in the third reaction stage, the temperature deviation is between TT_H2 and TT_H1, the temperature deviation is in the medium deviation range, and the deviation change rate is still negative. The reactor temperature will continue to show a significant downward trend. At this time, a slightly smaller output item MV_Trk3 can be forcibly assigned.
[0064] If the temperature of the reactor shows an upward trend during the cooling process, the temperature deviation is still between TT_H2 and TT_H1, but the deviation change rate is positive, entering the fourth reaction stage. At this time, a slightly larger output item MV_Trk4 can be forced to be assigned;
[0065] If the temperature deviation is between TT_H1 and 0, which is a small deviation range, and the deviation change rate is negative, the fifth reaction stage is entered, and the output item MV_Trk5 is forcibly assigned;
[0066] If the temperature deviation is between TT_H1 and 0, which is a small deviation range, and the deviation change rate is positive, it enters the sixth reaction stage, indicating that the temperature of the reaction tank has increased slightly. In order to suppress the temperature rise, the output item MV_Trk6 can be forcibly assigned at this time.
[0067] Illustratively, the size relationship of the six output items may be: MV_Trk1 > MV_Trk2 > MV_Trk4 > MV_Trk3 > MV_Trk6 > MV_Trk5.
[0068] The fuzzy control rules for the heating scenario are similar to those for the cooling scenario above and will not be described in detail.
[0069] In the embodiment of the present application, the fuzzy control rules described above can be queried based on the obtained input items to obtain the output items of the fuzzy PID algorithm. For example, assuming that the obtained input items are: the temperature deviation between the target jacket temperature value and the actual jacket temperature value is within the large deviation range, and the temperature deviation change rate between the target jacket temperature value and the actual jacket temperature value is positive, then it can be determined that the output item corresponding to reaction stage 1 is MV_Trk1, that is, the adjustment scale of the temperature control component is MV_Trk1.
[0070] Furthermore, after the adjustment scale is determined, the temperature control component can be adjusted according to the adjustment scale.
[0071] In the embodiment of the present application, since the tank temperature values are collected periodically, the above-mentioned adjustment scale will be obtained periodically accordingly. In one possible implementation, after the adjustment scale is determined, the adjustment scale determined this time can be compared with the value of the adjustment scale determined previously. If the two are consistent, then it means that the tank temperature values obtained twice are in the same reaction stage and the reaction stage has not changed. Therefore, no processing is required and the temperature control component is still adjusted based on the adjustment scale determined previously. If the two are inconsistent, then it means that the reaction stage has changed. Therefore, the temperature control component can be adjusted based on the most recently determined adjustment scale.
[0072] In the above implementation, a fuzzy PID algorithm can be applied to temperature control the jacketed reactor. Based on the principle of fuzzy control, the temperature control method provided in the embodiment of the present application can automatically adjust the fuzzy control output based on changes in the temperature deviation range and the positive and negative values of the temperature deviation change rate, thereby forcing different adjustment scales to different reaction stages, thereby meeting the temperature control requirements of different reaction stages and ensuring product quality. Compared with the traditional PID algorithm, it can implement targeted temperature control for different reaction stages with higher precision.
[0073] In addition, the embodiment of the present application is based on the fuzzy PID algorithm, which assigns different adjustment scales to different reaction stages. When the reaction stage is switched, the adjustment scale will change rapidly, the adjustment time is short, and the change amplitude matches the needs of the actual scenario. Compared with the traditional PID algorithm, the adjustment scale changes slightly with the input item at all times. It can better adapt to the time lag characteristics of temperature changes, better meet the staged multi-level temperature control requirements, is less likely to have temperature overshoot, and can achieve more precise temperature control.
[0074] In another possible implementation, if the adjustment scale is determined to be different from the previously determined adjustment scale, adjusting the temperature-control component according to the determined adjustment scale may specifically include adjusting the temperature-control component according to the determined adjustment scale for a preset duration. If it is determined that the preset duration has been exceeded, a PID algorithm may be used to determine the PID adjustment scale, and the temperature-control component may be adjusted based on the PID adjustment scale. It should be understood that the PID algorithm differs from the aforementioned fuzzy PID algorithm, and reference may be made to the relevant art for details. The preset duration can be flexibly set based on actual needs, for example, 2-5 seconds.
[0075] In the above implementation, the fuzzy PID algorithm and the PID algorithm can be applied simultaneously to control the temperature of the jacketed reactor. For any reaction stage, the adjustment scale output by the fuzzy PID algorithm can be applied to adjust the temperature control component within the preset time length. After exceeding the preset time length, the adjustment scale output by the PID algorithm can be applied to adjust the temperature control component. The implementation process of determining the adjustment scale using the fuzzy PID algorithm can refer to the description of the embodiment of this application, and the implementation process of determining the adjustment scale using the PID algorithm can refer to the relevant technology, which will not be described in detail in the embodiment of this application. Based on the above implementation, the advantages of the fuzzy PID algorithm can be used to supplement the temperature control process of the traditional PID algorithm, so as to better adapt to the time lag characteristics of temperature changes, meet the needs of multi-stage temperature control in stages, prevent temperature overshoot, and at the same time give play to the advantage of the traditional PID algorithm in adjusting the output value in real time as the input value changes.
[0076] Through the above technical solution, on the one hand, the law of the temperature difference characteristics between the jacket and the reaction tank in different reaction stages can be determined, and then the temperature difference characteristics between the jacket and the reaction tank can be used to automatically determine the target jacket temperature value corresponding to the current tank temperature value, thereby overcoming the influence of the temperature difference between the jacket and the reaction tank on the temperature control process of the jacketed reactor; on the other hand, the fuzzy control output item can be automatically adjusted according to the change of the temperature deviation range, thereby achieving precise temperature control of each reaction stage, and at the same time better adapting to the characteristics of the time lag of temperature changes, preventing temperature overshoot, and achieving precise temperature control of jacketed reactors of different volumes, materials and brands.
[0077] Based on a temperature control method provided in any of the above embodiments, an embodiment of the present application provides a temperature control device, such as Figure 4 As shown, Figure 4 A schematic diagram of the structure of a temperature control device provided in an embodiment of the present application is shown, wherein the temperature control device 40 includes: an acquisition module 401, a determination module 402, and an execution module 403;
[0078] The acquisition module 401 is used to acquire the current tank temperature value of the jacketed reactor;
[0079] Determination module 402 is used to determine a target jacket temperature value that matches the current tank temperature value based on a preset relationship function; the preset relationship function is used to represent the functional relationship between the tank temperature value and the jacket temperature value of the jacketed reactor at different reaction stages;
[0080] The execution module 403 is used to determine the adjustment scale corresponding to the target jacket temperature value by using the fuzzy PID algorithm, and adjust the temperature control component according to the adjustment scale.
[0081] Optionally, in an embodiment of the present application, the determining module 402 is specifically configured to:
[0082] According to the current tank temperature value, determine the current reaction stage of the jacketed reactor;
[0083] Determining a target preset relationship function corresponding to the current reaction stage from the preset relationship functions corresponding to the different reaction stages;
[0084] The target jacket temperature value that matches the current tank temperature value is calculated using the target preset relationship function.
[0085] Optionally, in one embodiment of the present application, the target parameters included in the preset relationship function corresponding to different reaction stages have different values, and the target parameters include a tank temperature reference value and a jacket temperature reference value.
[0086] Optionally, in one embodiment of the present application, the preset relationship function corresponding to the i-th reaction stage includes:
[0087] SP out =PV in ×(U i+1 -U i ) / (V i+1 -V i )
[0088] V i =SP in +SP i
[0089] U i =PV in +PV i
[0090] Among them, the i-th reaction stage is any reaction stage among the different reaction stages, SP out Indicates the target jacket temperature value that matches the current tank temperature value, PV in Indicates the current tank temperature value, SP in Indicates the preset jacket temperature value, SP i Indicates the jacket temperature reference value of the i-th reaction stage, PV i Represents the tank temperature reference value of the i-th reaction stage.
[0091] Optionally, in one embodiment of the present application, the adjustment scale includes valve opening.
[0092] Optionally, in one embodiment of the present application, the execution module 403 is specifically configured to:
[0093] Determining input items of a fuzzy PID algorithm according to the target jacket temperature value, the input items including a temperature deviation between the target jacket temperature value and the actual jacket temperature value, and a rate of change of the temperature deviation;
[0094] Based on the input items, an output item of the fuzzy PID algorithm is obtained, and the output item includes an adjustment scale corresponding to the target jacket temperature value.
[0095] Optionally, in one embodiment of the present application, the execution module 403 is specifically configured to:
[0096] According to the input item, the preset fuzzy control rules are queried, and the preset fuzzy control rules include the corresponding relationship between input items of different value intervals and output items of different values;
[0097] According to the query results, the output items of the fuzzy PID algorithm are determined.
[0098] Optionally, in one embodiment of the present application, the execution module 403 is specifically configured to:
[0099] When the determined adjustment scale is different from the adjustment scale determined last time, the temperature control component is adjusted according to the adjustment scale.
[0100] Optionally, in one embodiment of the present application, the execution module 403 is specifically configured to:
[0101] When the determined adjustment scale is different from the adjustment scale determined last time, the temperature control component is adjusted according to the adjustment scale within a preset time period.
[0102] Optionally, in one embodiment of the present application, the execution module 403 is further configured to:
[0103] After detecting that the preset time has been exceeded, the PID algorithm is used to determine the PID adjustment scale, and the temperature control component is adjusted based on the PID adjustment scale.
[0104] The temperature control device of the embodiment of the present application is used to implement the corresponding temperature control methods in the aforementioned multiple method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each module in the temperature control device of the embodiment of the present application can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be described in detail here.
[0105] Based on the temperature control method described in any of the above embodiments, an embodiment of the present application provides an electronic device, including: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; the memory is used to store computer programs, and the processor is used to execute the program stored in the memory to implement the method described in any of the above embodiments.
[0106] Based on the temperature control method described in any of the above embodiments, an embodiment of the present application provides a computer storage medium storing a computer program, which implements the method described in any of the above embodiments when executed by a processor.
[0107] It should be pointed out that, according to the needs of implementation, the various components / steps described in the embodiments of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of the present application.
[0108] The above-described methods according to the embodiments of the present application can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored in a remote recording medium or non-transitory machine-readable medium downloaded via a network and then stored in a local recording medium, so that the methods described herein can be stored in such software processing on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It is understood that a computer, processor, microprocessor controller, or programmable hardware includes a storage component (e.g., RAM, ROM, flash memory, etc.) that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the control method of the adjustment machine described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the control method of the adjustment machine shown herein, the execution of the code converts the general-purpose computer into a dedicated computer for executing the control method of the adjustment machine shown herein.
[0109] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0110] Those skilled in the art will appreciate that the units and method steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of this application.
[0111] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.
[0112] The above implementation methods are only used to illustrate the embodiments of the present application, and are not intended to limit the embodiments of the present application. Ordinary technicians in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of the present application, and the scope of patent protection of the embodiments of the present application should be defined by the claims.
Claims
1. A temperature control method comprising: Collect the current tank temperature value of the jacketed reactor; Determining a target jacket temperature value that matches the current tank temperature value according to a preset relationship function; The preset relationship function is used to characterize the functional relationship between the tank temperature value and the jacket temperature value of the jacketed reactor at different reaction stages; A fuzzy PID algorithm is used to determine an adjustment scale corresponding to the target jacket temperature value, and the temperature control component is adjusted according to the adjustment scale.
2. The method according to claim 1, wherein The step of determining a target jacket temperature value that matches the current tank temperature value according to a preset relationship function includes: Determining the current reaction stage of the jacketed reactor according to the current tank temperature value; Determining a target preset relationship function corresponding to the current reaction stage from the preset relationship functions corresponding to the different reaction stages; The target preset relationship function is used to calculate a target jacket temperature value that matches the current tank temperature value.
3. The method according to claim 2, wherein: The target parameters included in the preset relationship functions corresponding to the different reaction stages have different values, and the target parameters include a tank temperature reference value and a jacket temperature reference value.
4. The method according to claim 3, wherein: The preset relationship functions corresponding to the i-th reaction stage include: SP out =PV in ×(U i+1 -U i ) / (V i+1 -V i ) V i =SP in +SP i U i =PV in +PV i Wherein, the i-th reaction stage is any one of the different reaction stages, and the SP out Indicates the target jacket temperature value that matches the current tank temperature value. The PV in Indicates the current tank temperature value, the SP in Indicates the preset jacket temperature value, the SP i represents the jacket temperature reference value of the i-th reaction stage, the PV i represents the tank temperature reference value of the i-th reaction stage.
5. The method according to claim 1, wherein The adjustment scale includes valve opening.
6. The method according to claim 5, wherein: The method of using a fuzzy PID algorithm to determine an adjustment scale corresponding to the target jacket temperature value includes: Determining input items of a fuzzy PID algorithm according to the target jacket temperature value, the input items including a temperature deviation between the target jacket temperature value and the actual jacket temperature value, and a rate of change of the temperature deviation; Based on the input item, an output item of the fuzzy PID algorithm is obtained, and the output item includes an adjustment scale corresponding to the target jacket temperature value.
7. The method according to claim 6, wherein: The step of obtaining an output item of the fuzzy PID algorithm based on the input item includes: According to the input item, querying a preset fuzzy control rule, the preset fuzzy control rule including a correspondence between the input items of different value intervals and output items of different values; According to the query result, the output item of the fuzzy PID algorithm is determined.
8. The method according to claim 7, wherein: The adjusting the temperature control component according to the adjustment scale includes: When it is determined that the adjustment scale is different from the adjustment scale determined last time, the temperature control component is adjusted according to the adjustment scale.
9. The method according to claim 8, wherein When it is determined that the adjustment scale is different from the adjustment scale determined previously, adjusting the temperature control component according to the adjustment scale includes: When it is determined that the adjustment scale is different from the adjustment scale determined last time, the temperature control component is adjusted according to the adjustment scale within a preset time period.
10. The method according to claim 9, wherein: The method further comprises: After detecting that the preset time period is exceeded, a PID adjustment scale is determined using a PID algorithm, and the temperature control component is adjusted based on the PID adjustment scale.
11. A temperature control device, wherein: The device comprises: The acquisition module is used to collect the current tank temperature value of the jacketed reactor; a determination module for determining a target jacket temperature value that matches the current tank temperature value based on a preset relationship function; the preset relationship function is used to characterize the functional relationship between the tank temperature value and the jacket temperature value of the jacketed reactor at different reaction stages; The execution module is used to determine the adjustment scale corresponding to the target jacket temperature value by using a fuzzy PID algorithm, and adjust the temperature control component according to the adjustment scale.
12. An electronic device comprising: A processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; Memory for storing computer programs; A processor, configured to implement the method steps described in any one of claims 1 to 10 when executing a program stored in a memory.
13. A computer storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 10 when executed by a processor.