Preparation method of antibacterial polyurethane based on preparation parameter control
By analyzing the temperature and catalyst concentration changes in the polymerization reaction records, the PID controller parameters were optimized, which solved the problem of insufficient response feedback of the PID controller during the polymerization reaction and improved the stability and efficiency of antibacterial polyurethane preparation.
Patent Information
- Application Number
- CN202410804999.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-21
AI Technical Summary
Currently, there is a response feedback problem in the control of catalyst concentration during the polymerization process through PID controllers, which leads to oscillation and error risks in the control process, affecting the stability and efficiency of the preparation process of antibacterial polyurethane.
By obtaining the temperature and catalyst concentration monitoring curves in the polymerization reaction record, calculate the polymerization reaction delay factor and the basic response value of the PID controller, adjust the fuzzy adjustment coefficient and proportional gain coefficient, and optimize the PID controller parameters to achieve more accurate catalyst concentration control. .
This effectively avoids oscillation during the catalyst concentration control process and improves the production efficiency and stability of the antibacterial polyurethane preparation process.
Smart Images

Figure CN118373954B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of organic synthesis, and in particular to a method for preparing antibacterial polyurethane based on preparation parameter control. Background Art
[0002] Polymer antimicrobial polyurethane (PVDF) has many unique properties due to its unique chain structure, and has great application potential in flexible electronic devices. In the preparation process of antimicrobial polyurethane, a catalyst is usually required to start or accelerate the polymerization reaction. The catalyst allows the polyol and isocyanate mixture molecules to fully polymerize under high pressure and high temperature conditions. In this process, the double bonds of the polyol and isocyanate mixture molecules are opened, allowing the monomer molecules to connect into long chains.
[0003] In the polymerization process, it is particularly important to control the concentration of the catalyst. Improper control of the catalyst concentration may cause problems such as premature chain termination or insufficient polymerization reaction, which in turn leads to shortening or incompleteness of the polymer chain and the formation of different by-products or foreign matter. The catalyst concentration in the polymerization process is currently controlled by a PID controller, but in actual production, the conventional PID controller cannot obtain effective response feedback in the polymerization process, and its empirical parameter setting may cause oscillation or error risks in the control process. Summary of the invention
[0004] The present invention provides a preparation method of antibacterial polyurethane based on preparation parameter control, so as to solve the problem that the catalyst concentration in the polymerization reaction process is regulated by a PID controller in the prior art, but the conventional PID controller cannot obtain effective response feedback in the polymerization reaction process in actual production, and its empirical parameter setting may lead to the risk of oscillation or error in the regulation process.
[0005] The preparation method of the antibacterial polyurethane based on preparation parameter control of the present invention adopts the following technical scheme:
[0006] One embodiment of the present invention provides a method for preparing an antibacterial polyurethane based on preparation parameter control, the method comprising the following steps:
[0007] Obtain all polymerization reaction records of the antibacterial polyurethane preparation process, each polymerization reaction record includes: temperature monitoring curve, catalyst concentration monitoring curve, unit stirring cycle, and purity of the antibacterial polyurethane generated after the polymerization reaction;
[0008] According to the unit stirring period, all temperature curve segments of each temperature monitoring curve and all concentration curve segments of each catalyst concentration monitoring curve are obtained; according to all temperature curve segments of each temperature monitoring curve, a polymerization reaction delay factor of each polymerization reaction record is obtained; the initial catalyst concentration of all polymerization reaction records is obtained; according to the polymerization reaction delay factors of all polymerization reaction records and the initial catalyst concentration of all polymerization reaction records, a basic delay value of the polymerization reaction is obtained; the basic delay value of the polymerization reaction represents the delay effect of the initial catalyst concentration on the polymerization reaction process; according to all concentration curve segments of all catalyst concentration monitoring curves, a basic response value of the PID controller is obtained; the basic response value of the PID controller represents the responsiveness of the PID controller set by empirical parameters to the polymerization reaction process;
[0009] A fuzzy adjustment coefficient is obtained according to the basic delay value of the polymerization reaction and the basic response value of the PID controller. A compensation factor is obtained according to the purity of the antibacterial polyurethane generated after the polymerization reaction and the fuzzy adjustment coefficient. A new proportional gain coefficient is obtained according to the compensation factor. A new PID controller is obtained according to the new proportional gain coefficient, and the catalyst concentration is controlled by using the new PID controller.
[0010] Furthermore, the specific steps of obtaining all temperature curve segments of each temperature monitoring curve and all concentration curve segments of each catalyst concentration monitoring curve according to the unit stirring period are as follows:
[0011] According to the duration of the unit stirring cycle, the temperature monitoring curve recorded by each polymerization reaction is divided into a number of temperature curve segments of equal length to the unit stirring cycle;
[0012] According to the duration of the unit stirring cycle, the catalyst concentration monitoring curve recorded for each polymerization reaction is divided into a number of concentration curve segments with the same length as the unit stirring cycle.
[0013] Furthermore, the polymerization reaction delay factor of each polymerization reaction record is obtained according to all temperature curve segments of each temperature monitoring curve, and the specific steps include the following:
[0014] Obtaining the maximum temperature value and the minimum temperature value of each temperature curve segment of the temperature monitoring curve of each polymerization reaction record, dividing the difference between the maximum temperature value and the minimum temperature value of each temperature curve segment by the duration of each temperature curve segment, and obtaining the temperature change rate of each temperature curve segment of the temperature monitoring curve of each polymerization reaction record;
[0015]
[0016] Wherein, r represents the rth temperature curve segment of the temperature monitoring curve of each polymerization reaction record, N represents the number of all temperature curve segments of the temperature monitoring curve of each polymerization reaction record, s represents the sth polymerization reaction record, Represents the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction, represents the temperature change rate of the rth temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction, Represents the polymerization delay factor of the sth polymerization record.
[0017] Furthermore, the step of obtaining the initial catalyst concentration of all polymerization reaction records and obtaining the basic delay value of the polymerization reaction according to the polymerization reaction delay factors of all polymerization reaction records and the initial catalyst concentration of all polymerization reaction records includes the following specific steps:
[0018] Obtaining the first concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction;
[0019] Taking the maximum catalyst concentration value in the first concentration curve segment of the catalyst concentration monitoring curve of each polymerization reaction record as the catalyst initial concentration of each polymerization reaction record, and obtaining the catalyst initial concentrations of all polymerization reaction records;
[0020] The catalyst initial concentrations having the same value among the catalyst initial concentrations recorded in all polymerization reactions are classified into one category to obtain several categories of catalyst initial concentrations;
[0021] The temperature change rates with the same values in the first temperature curve segment of the temperature monitoring curves recorded by all polymerization reactions are classified into one category to obtain several categories of temperature change rates;
[0022]
[0023] in, represents the initial catalyst concentration recorded for all polymerization reactions, represents the total number of classes of initial catalyst concentrations recorded for all polymerization reactions, The temperature change rate of the first temperature curve segment of the temperature monitoring curve representing all polymerization reaction records, Represents the total number of classes of temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions; represents the polymerization delay factor for all polymerization records, represents the covariance of the initial catalyst concentration and the polymerization delay factor for all polymerization records, represents the standard deviation of the initial catalyst concentration recorded for all polymerization reactions, Represents the standard deviation of the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions, e represents the natural constant, Represents the basic delay value of the polymerization reaction.
[0024] Furthermore, the basic response value of the PID controller is obtained according to all concentration curve segments of all catalyst concentration monitoring curves, and the specific steps include the following:
[0025] Obtain the number of all extreme value points of each concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction;
[0026] The catalyst concentration monitoring curves recorded in all polymerization reactions are combined in pairs to obtain several curve groups;
[0027]
[0028] Where r represents the rth concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction, represents the variance of the number of extreme points in the rth concentration curve segment of the catalyst concentration monitoring curve recorded for all polymerization reactions, N represents the number of all concentration curve segments of the catalyst concentration monitoring curve recorded for each polymerization reaction, Represents the error adaptation of the default PID parameters, represents an exponential function with a natural constant as the base, and B represents the basic response value of the PID controller.
[0029] Furthermore, the error adaptation amount of the default PID parameters includes:
[0030]
[0031] Wherein, z represents the zth curve group, M represents the total number of curve groups obtained from the catalyst concentration monitoring curves of all polymerization reaction records, i represents the i-th sampling moment of the catalyst concentration monitoring curve of any polymerization reaction record, L represents the total number of sampling moments of the catalyst concentration monitoring curve of any polymerization reaction record, a represents the catalyst concentration monitoring curve of the a-th polymerization reaction record of any curve group, b represents the catalyst concentration monitoring curve of the b-th polymerization reaction record of any curve group, represents the concentration value of the catalyst concentration monitoring curve of the ath polymerization reaction record of the zth curve group at the i-th sampling time, represents the concentration value of the catalyst concentration monitoring curve of the bth polymerization reaction record of the zth curve group at the i-th sampling time, Represents the error adaptation amount of the default PID parameters.
[0032] Furthermore, the fuzzy adjustment coefficient is obtained according to the basic delay value of the polymerization reaction and the basic response value of the PID controller, and the specific steps include the following:
[0033]
[0034] Among them, A represents the basic delay value of the polymerization reaction, B represents the basic response value of the PID controller, and C represents the fuzzy adjustment coefficient.
[0035] Furthermore, the compensation factor is obtained according to the purity of the antibacterial polyurethane generated after the polymerization reaction and the fuzzy adjustment coefficient, and the specific steps include the following:
[0036]
[0037] Among them, C represents the fuzzy adjustment coefficient, E represents the purity of the antibacterial polyurethane produced after the polymerization reaction of all polymerization reaction records is completed, Represents the variance of the purity of the antimicrobial polyurethane produced after the polymerization reaction is completed for all polymerization reaction records. represents the compensation factor and e represents the natural constant.
[0038] Furthermore, the step of obtaining a new proportional gain coefficient according to the compensation factor includes the following specific steps:
[0039] Get the empirical parameters of the proportional gain coefficient of the PID controller;
[0040]
[0041] in, represents the compensation factor, represents the empirical parameter of the proportional gain coefficient of the PID controller, Represents the new proportional gain coefficient.
[0042] Furthermore, the new PID controller is obtained according to the new proportional gain coefficient, and the catalyst concentration is regulated by the new PID controller, including the following specific steps:
[0043] The PID controller parameters are set using the new proportional gain coefficient to obtain a new PID controller;
[0044] Obtain the expected concentration value of the catalyst and the catalyst concentration monitoring curve during the actual antibacterial polyurethane polymerization reaction;
[0045] The expected concentration value of the catalyst and the catalyst concentration monitoring curve during the actual antibacterial polyurethane polymerization reaction are input into the new PID controller to obtain the catalyst control amount.
[0046] The beneficial effects of the technical solution of the present invention are as follows: in view of the problem that the conventional PID controller cannot obtain effective response feedback in the polymerization reaction process, resulting in oscillation of the control system, the present invention divides the temperature monitoring curve and the catalyst concentration monitoring curve by the unit stirring cycle of the polymerization kettle to obtain the basic delay value of the polymerization reaction and the basic response value of the PID controller, obtains the fuzzy adjustment coefficient by exploring the delay effect of the initial concentration of the catalyst on the polymerization reaction process and the responsiveness of the PID controller to the polymerization reaction process, and adjusts the proportional gain coefficient in combination with the polymerization reaction result; the present invention obtains the fuzzy adjustment coefficient as the response feedback of the polymerization reaction process by analyzing the temperature change rate and the concentration change of the catalyst in different stirring cycles, and compared with the conventional PID controller parameters obtained by experience, experiments, etc., the new PID controller obtained by the present invention can effectively avoid the oscillation problem generated in the control process, and greatly improve the production efficiency and production stability of the preparation process of antibacterial polyurethane. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 The present invention is a flowchart of the steps of the method for preparing antibacterial polyurethane based on the control of preparation parameters;
[0049] Figure 2 It is the simulation curve of conventional PID control effect;
[0050] Figure 3 It is a schematic diagram of the curve segment division of the temperature monitoring curve and the catalyst concentration monitoring curve. DETAILED DESCRIPTION
[0051] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the preparation method of the antibacterial polyurethane based on the control of preparation parameters proposed by the present invention, its specific implementation method, structure, characteristics and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0052] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0053] The specific scheme of the preparation method of the antibacterial polyurethane based on the control of preparation parameters provided by the present invention is described in detail below with reference to the accompanying drawings.
[0054] See also Figure 1 , which shows a flow chart of the steps of a method for preparing an antibacterial polyurethane based on preparation parameter control provided by an embodiment of the present invention, the method comprising the following steps:
[0055] Step S001, obtaining all polymerization reaction records of antibacterial polyurethane.
[0056] Each polymerization reaction requires the preparation of polyols, isocyanates (toluene diisocyanate), quaternary ammonium salt antimicrobial agents, tertiary amines or organotin compound catalysts, stabilizers, surfactants, etc.
[0057] Introducing polyol and isocyanate into a polymerization kettle to form a polyol and isocyanate mixture, setting the temperature in the polymerization kettle to 80 degrees Celsius and the polymerization pressure to 3.0 MPa;
[0058] It should be noted that the temperature, pressure and other parameters in the polymerization kettle are not constant, but will change dynamically with factors such as endothermic and exothermic reactions and changes in gas content during the polymerization reaction;
[0059] The catalyst can be added once or continuously, but the stability of the polymerization reaction cannot be guaranteed by adding the catalyst once, and the violent reaction speed may cause the increase of by-products. Therefore, the catalyst is generally added continuously as the polymerization reaction proceeds to ensure that the concentration of the catalyst can maintain the full reaction in the polymerization reactor as the polymerization reaction proceeds. The continuous addition method has strong controllability and good economy, and is more suitable for complex and high-standard production processes. The process of continuously adding the catalyst requires precise control and monitoring of the addition and concentration of the catalyst.
[0060] Obtain all historical polymerization reaction records in the preparation process of antibacterial polyurethane. Each polymerization reaction record includes: the temperature monitoring curve in the polymerization kettle (obtained by the temperature sensor), the catalyst concentration monitoring curve (obtained by the online analyzer), the unit stirring cycle in the polymerization kettle, and the purity of the antibacterial polyurethane generated after the polymerization reaction;
[0061] It should be noted that: in all polymerization reaction records, a PID controller with empirical parameter settings was used to control the catalyst dosage; the temperature monitoring curve in the polymerization kettle has the time on the horizontal axis and the temperature on the vertical axis; the catalyst concentration monitoring curve has the time on the horizontal axis and the concentration on the vertical axis; and the temperature monitoring curves and catalyst concentration monitoring curves of all polymerization reaction records are sampled digital signals, and the signal sampling lengths are equal.
[0062] Step S002, obtaining all temperature curve segments of each temperature monitoring curve and all concentration curve segments of each catalyst concentration monitoring curve according to the unit stirring period, obtaining the polymerization reaction delay factor of each polymerization reaction record according to all temperature curve segments of each temperature monitoring curve, obtaining the catalyst initial concentration of all polymerization reaction records, and obtaining the basic delay value of the polymerization reaction according to the polymerization reaction delay factor and the initial catalyst concentration of all polymerization reaction records; obtaining the basic response value of the PID controller according to all concentration curve segments of the catalyst concentration monitoring curve of all polymerization reaction records.
[0063] In a polymerization reaction, the catalyst usually participates in the reaction but is not directly consumed by the polymerization reaction. The role of the catalyst is to start or accelerate the polymerization reaction. Therefore, the catalyst concentration in the polymerization reactor and the change in reaction temperature can be monitored to indirectly infer the speed of the polymerization reaction.
[0064] PID (Proportional-Integral-Derivative) controller is a classic control algorithm, which is often used to regulate and stabilize industrial processes. When controlling the catalyst concentration in a polymerization reactor, the PID controller can maintain the target concentration by monitoring the catalyst concentration and other monitoring data and adjusting the catalyst supply. However, during the polymerization reaction, no matter which monitoring method is used to monitor the polymerization reaction rate, it is indirect monitoring and errors are inevitable.
[0065] The core parameters of the PID controller are the proportional gain coefficient, integral time, and differential time, which are referred to as P value, I value, and D value respectively. The P value controls the response speed of the system, the I value controls the steady-state error of the system, and the D value controls the stability of the system. All three can be obtained through multiple experiments and adjustments to obtain empirical parameter settings, such as the commonly used Ziegler-Nichols tuning method. However, for the concentration control of the polymerization reaction catalyst of antibacterial polyurethane, the error is more likely to exist in the indirect monitoring of the polymerization reaction process. The reaction process directly affects the response speed of the control system. Therefore, among the empirical parameters of the three core parameters, only the P value has the worst robustness, while the I value and the D value are errors of the control system itself and are not directly affected by the reaction process. Therefore, the empirical parameters of the I value and the D value are more stable.
[0066] If the P value is set only by relying on empirical parameters, it is very likely that the control system will respond too slowly or too quickly, causing the catalyst concentration control to oscillate and delay, and failing to achieve the expected control effect.
[0067] like Figure 2 As shown, Figure 2It is a conventional PID control effect simulation curve. From the simulation results, it can be seen that when the empirical parameters obtained by the Ziegler-Nichols tuning method are conventionally used to set the PID controller, a large overshoot is generated in the steady-state response of the PID controller, and it is greater than 50%. The excessive overshoot obviously cannot meet the system indicators, and the oscillation is obvious during the process, and the control effect is poor. Therefore, the present invention optimizes the PID controller, specifically:
[0068] 1. Get the basic delay value of the polymerization reaction.
[0069] The initial concentration of the catalyst determines the potential energy of the starting reaction of the polymerization reaction. The higher the initial concentration, the more active groups will participate in the reaction. These active groups exist in the polyol and isocyanate mixture that first comes into contact with the catalyst. The catalyst can only activate more active groups after the polyol and isocyanate mixture is stirred by the agitator in the polymerization kettle. However, it is impossible to ensure that the stirring speed of the agitator is completely synchronized with the reaction speed of the catalyst. Therefore, the monitoring information at the initial concentration can provide the most accurate polymerization reaction rate, and the monitoring information after the reaction starts will have certain errors.
[0070] Obtain the unit stirring cycle of the agitator in the polymerization kettle, where the duration of the unit stirring cycle is the length of time for the main shaft of the agitator to rotate one circle;
[0071] like Figure 3 As shown, when the polymerization reaction starts, the stirrer starts to stir and the initial concentration of catalyst is added into the polymerization kettle. From the moment the reaction starts, the temperature monitoring curve recorded by each polymerization reaction is divided into a number of temperature curve segments of equal length to the unit stirring cycle in sequence according to the duration of the unit stirring cycle; at the same time, the catalyst concentration monitoring curve recorded by each polymerization reaction is divided into a number of concentration curve segments of equal length to the unit stirring cycle in sequence according to the duration of the unit stirring cycle;
[0072] According to all temperature curve segments of the temperature monitoring curve of each polymerization reaction record, the polymerization reaction delay factor of each polymerization reaction record is calculated:
[0073] Obtain all temperature values of each temperature curve segment of the temperature monitoring curve of each polymerization reaction record, obtain the maximum temperature value and the minimum temperature value of each temperature curve segment according to all temperature values of each temperature curve segment, divide the difference between the maximum temperature value and the minimum temperature value of each temperature curve segment by the duration of each temperature curve segment, and obtain the temperature change rate of each temperature curve segment of the temperature monitoring curve of each polymerization reaction record;
[0074]
[0075] Wherein, r represents the rth temperature curve segment of the temperature monitoring curve of each polymerization reaction record, N represents the number of all temperature curve segments of the temperature monitoring curve of each polymerization reaction record, s represents the sth polymerization reaction record, Represents the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction, represents the temperature change rate of the rth temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction, represents the polymerization delay factor of the sth polymerization record;
[0076] The square difference between the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction and the temperature change rate of the rth temperature curve segment. Since the first temperature curve segment of the temperature monitoring curve recorded for each polymerization reaction corresponds to the first unit stirring cycle, the initial concentration of the catalyst exists in the first unit stirring cycle. Therefore, the temperature change rate in the first unit stirring cycle can reflect the polymerization reaction rate most accurately. It represents averaging the square difference between the temperature change rate of the first temperature curve segment of the temperature monitoring curve of each polymerization reaction record and the temperature change rate of all other temperature curve segments to obtain the polymerization reaction delay factor of each polymerization reaction record;
[0077] The purpose of calculating the polymerization delay factor of each polymerization reaction record is to evaluate the degree of polymerization delay of each polymerization reaction record by calculating the temperature change rate with the smallest error in the first unit stirring period and the temperature change rates with possible errors in other stirring periods.
[0078] Further, the polymerization reaction delay factors of all polymerization reaction records are obtained;
[0079] The maximum concentration value in the first unit stirring period of the catalyst concentration monitoring curve of each polymerization reaction record is used as the initial catalyst concentration of each polymerization reaction record to obtain the initial catalyst concentration of all polymerization reaction records;
[0080] The catalyst initial concentrations having the same value among the catalyst initial concentrations recorded in all polymerization reactions are classified into one category to obtain several categories of catalyst initial concentrations;
[0081] The temperature change rates with the same values in the first temperature curve segment of the temperature monitoring curves recorded by all polymerization reactions are classified into one category to obtain several categories of temperature change rates;
[0082] Calculate the base delay value of the polymerization reaction:
[0083]
[0084] in, represents the initial catalyst concentration recorded for all polymerization reactions, represents the total number of classes of initial catalyst concentrations recorded for all polymerization reactions, The temperature change rate of the first temperature curve segment of the temperature monitoring curve representing all polymerization reaction records, Represents the total number of classes of temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions; represents the polymerization delay factor for all polymerization records, represents the covariance of the initial catalyst concentration and the polymerization delay factor for all polymerization records, represents the standard deviation of the initial catalyst concentration recorded for all polymerization reactions, Represents the standard deviation of the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions, e represents the natural constant, represents the basic delay value of the polymerization reaction;
[0085] The ratio of the total number of types of catalyst initial concentrations recorded for all polymerization reactions to the total number of types of temperature change rates of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions. The closer this ratio is to 1, the more positively correlated the initial catalyst concentration is with the reaction rate at the start of the polymerization reaction, i.e. The closer to 0, the more positively correlated the initial catalyst concentration is with the reaction rate at the start of the polymerization reaction. The function will Inverse normalization, The closer to 0, the The closer to 1 between 0 and 1; Pearson correlation coefficient between initial catalyst concentration and polymerization delay factor for all polymerization records, Represents the determination factor of the initial catalyst concentration and the polymerization delay factor of all polymerization reaction records. The larger the determination factor is between 0 and 1, the more the reaction delay in the polymerization process is affected by the initial catalyst concentration. and The product of is taken as the basic delay value of the polymerization process ;
[0086] It should be noted that the basic delay value of the polymerization reaction represents the delay effect of the initial concentration of the catalyst on the polymerization process;
[0087] 2. Calculate the basic response value of the PID controller.
[0088] Obtain the number of all extreme value points of each concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction;
[0089] The catalyst concentration monitoring curves recorded in all polymerization reactions are combined in pairs to obtain several curve groups;
[0090]
[0091]
[0092] Where r represents the rth concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction, represents the variance of the number of extreme points in the rth concentration curve segment of the catalyst concentration monitoring curves of all polymerization reaction records, N represents the number of all concentration curve segments of the catalyst concentration monitoring curves of each polymerization reaction record, z represents the zth curve group, M represents the total number of curve groups obtained from the catalyst concentration monitoring curves of all polymerization reaction records, i represents the i-th sampling moment of the catalyst concentration monitoring curve of any polymerization reaction record, L represents the total number of sampling moments of the catalyst concentration monitoring curve of any polymerization reaction record, a represents the catalyst concentration monitoring curve of the a-th polymerization reaction record of any curve group, b represents the catalyst concentration monitoring curve of the b-th polymerization reaction record of any curve group, represents the concentration value of the catalyst concentration monitoring curve of the ath polymerization reaction record of the zth curve group at the i-th sampling time, represents the concentration value of the catalyst concentration monitoring curve of the bth polymerization reaction record of the zth curve group at the i-th sampling time, represents an exponential function with a natural constant as the base, and B represents the basic response value of the PID controller; Represents the error adaptation amount of the default PID parameters.
[0093] The extreme point indicates that the catalyst concentration monitoring curve has changed, that is, the extreme point will appear in the catalyst concentration monitoring curve only when the PID controller under the empirical parameter setting participates in the catalyst concentration adjustment. The variance of the number of extreme points in the rth concentration curve segment of the catalyst concentration monitoring curve of all polymerization reaction records is larger, which means that the frequency difference of the PID controller on the catalyst in the same stirring cycle of all polymerization reaction records is larger. Represents the average value of the difference in the control frequency of the catalyst by the PID controller of all polymerization reaction records. The larger the value, the worse the responsiveness of the PID controller with the empirical parameter setting.
[0094] The square difference of the concentration values of the catalyst concentration monitoring curves of the two polymerization reaction records representing the zth curve group at the i-th sampling time, The average square error of all curve groups representing the catalyst concentration monitoring curves of all polymerization reaction records is called the error adaptation of the default PID parameters and is denoted as The larger the value, the greater the difference between the catalyst concentration monitoring curves recorded in all polymerization reactions, that is, the greater the difference in the catalyst concentration control by the PID controller set by the empirical parameters, that is, the more oscillating the catalyst concentration control process of the PID controller;
[0095] use The function will and The product of is inversely proportional to normalization. When the product is larger, The smaller the value between 0 and 1, the smaller the basic response value of the PID controller set by the empirical parameters.
[0096] It should be noted that the basic response value of the PID controller represents the responsiveness of the PID controller set by the empirical parameters to the polymerization process. The more oscillating the control system is, the smaller the basic response value of the PID controller is, that is, the worse the performance of the PID controller is.
[0097] Step S003, obtaining a compensation factor according to the basic delay value of the polymerization reaction and the basic response value of the PID controller, obtaining a new proportional gain coefficient according to the compensation factor, obtaining a new PID controller according to the new proportional gain coefficient, and using the new PID controller to regulate the catalyst concentration.
[0098] The compensation factor is obtained according to the basic delay value of the polymerization reaction and the basic response value of the PID controller, specifically:
[0099]
[0100] Among them, A represents the basic delay value of the polymerization reaction, B represents the basic response value of the PID controller, and E represents the purity of the antibacterial polyurethane produced after the polymerization reaction is completed for all polymerization reaction records. Represents the variance of the purity of the antimicrobial polyurethane produced after the polymerization reaction is completed for all polymerization reaction records. represents the compensation factor; e represents the natural constant;
[0101] It represents the ratio of the basic delay value of the polymerization reaction to the basic response value of the PID controller. The larger the basic delay value and the smaller the basic response value, the higher the degree of compensation for the P value of the PID controller. This is only an evaluation result of the performance of the PID controller itself with empirical parameter settings. It is called the fuzzy adjustment coefficient, denoted by C;
[0102] The fuzzy adjustment coefficient cannot be used directly to adjust the PID controller parameters, so it is also necessary to combine the feedback information of the polymerization reaction results to obtain the compensation factor. Since the purity of the antibacterial polyurethane produced after the polymerization reaction can reflect the control effect of the catalyst concentration to a certain extent, the higher the purity, the less by-products, and the better the control effect of the catalyst concentration. The larger the value, the worse the performance of the PID controller with the empirical parameter setting is for the polymerization result. However, since the purity of the antibacterial polyurethane is not completely related to the control effect of the catalyst concentration, the variance of the purity of the antibacterial polyurethane generated after the polymerization reaction is completed is calculated using the Sigmoid function for all polymerization reaction records. Perform nonlinear transformation, Represents the Sigmoid function, Output value after nonlinear transformation Parameter compensation requirement as the P value of the PID controller;
[0103] The product of the parameter compensation requirement and the compensation degree As a compensating factor;
[0104] The compensation factor is used to compensate the empirical parameters of the PID controller P value to obtain a new proportional gain coefficient:
[0105] Firstly, the Ziegler-Nichols tuning method is used to obtain the empirical parameters of the proportional gain coefficient of the PID controller;
[0106]
[0107] in, represents the compensation factor, represents the empirical parameter of the proportional gain coefficient of the PID controller, Represents the new proportional gain coefficient;
[0108] The PID controller parameters are set using the new proportional gain coefficient to obtain a new PID controller;
[0109] The expected concentration value of the catalyst and the catalyst concentration monitoring curve during the actual antibacterial polyurethane polymerization reaction are input into the new PID controller, and the catalyst control amount can be directly output through the PID controller.
[0110] At this point, the new PID controller after resetting the proportional gain coefficient can be used to stably regulate the catalyst concentration during the antibacterial polyurethane polymerization reaction, avoiding the concentration error that may occur when the catalyst is continuously added, and reducing the possibility of by-products during the polymerization reaction.
[0111] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for preparing an antibacterial polyurethane based on preparation parameter control, characterized in that: The method comprises the following steps: Obtain all polymerization reaction records of the antibacterial polyurethane preparation process, each polymerization reaction record includes: temperature monitoring curve, catalyst concentration monitoring curve, unit stirring cycle, and purity of the antibacterial polyurethane generated after the polymerization reaction; According to the unit stirring period, all temperature curve segments of each temperature monitoring curve and all concentration curve segments of each catalyst concentration monitoring curve are obtained; according to all temperature curve segments of each temperature monitoring curve, a polymerization reaction delay factor of each polymerization reaction record is obtained; the initial catalyst concentration of all polymerization reaction records is obtained; according to the polymerization reaction delay factors of all polymerization reaction records and the initial catalyst concentration of all polymerization reaction records, a basic delay value of the polymerization reaction is obtained; according to all concentration curve segments of all catalyst concentration monitoring curves, a basic response value of the PID controller is obtained; A fuzzy adjustment coefficient is obtained according to a basic delay value of the polymerization reaction and a basic response value of the PID controller, a compensation factor is obtained according to the purity of the antibacterial polyurethane generated after the polymerization reaction and the fuzzy adjustment coefficient, a new proportional gain coefficient is obtained according to the compensation factor, a new PID controller is obtained according to the new proportional gain coefficient, and the catalyst concentration is regulated by using the new PID controller; The specific steps of obtaining all temperature curve segments of each temperature monitoring curve and all concentration curve segments of each catalyst concentration monitoring curve according to the unit stirring cycle are as follows: According to the duration of the unit stirring cycle, the temperature monitoring curve recorded by each polymerization reaction is divided into a number of temperature curve segments of equal length to the unit stirring cycle; According to the duration of the unit stirring cycle, the catalyst concentration monitoring curve recorded in each polymerization reaction is divided into a number of concentration curve segments of equal length to the unit stirring cycle; The step of obtaining the polymerization delay factor of each polymerization reaction record according to all temperature curve segments of each temperature monitoring curve comprises the following specific steps: Obtaining the maximum temperature value and the minimum temperature value of each temperature curve segment of the temperature monitoring curve of each polymerization reaction record, dividing the difference between the maximum temperature value and the minimum temperature value of each temperature curve segment by the duration of each temperature curve segment, and obtaining the temperature change rate of each temperature curve segment of the temperature monitoring curve of each polymerization reaction record; Wherein, r represents the rth temperature curve segment of the temperature monitoring curve of each polymerization reaction record, N represents the number of all temperature curve segments of the temperature monitoring curve of each polymerization reaction record, s represents the sth polymerization reaction record, Represents the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction, represents the temperature change rate of the rth temperature curve segment of the temperature monitoring curve recorded for the sth polymerization reaction, represents the polymerization delay factor of the sth polymerization record; The step of obtaining the initial catalyst concentration of all polymerization reaction records and obtaining the basic delay value of the polymerization reaction according to the polymerization reaction delay factors of all polymerization reaction records and the initial catalyst concentration of all polymerization reaction records includes the following specific steps: Obtaining the first concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction; Taking the maximum catalyst concentration value in the first concentration curve segment of the catalyst concentration monitoring curve of each polymerization reaction record as the catalyst initial concentration of each polymerization reaction record, and obtaining the catalyst initial concentrations of all polymerization reaction records; The catalyst initial concentrations having the same value among the catalyst initial concentrations recorded in all polymerization reactions are classified into one category to obtain several categories of catalyst initial concentrations; The temperature change rates with the same values in the first temperature curve segment of the temperature monitoring curves recorded by all polymerization reactions are classified into one category to obtain several categories of temperature change rates; in, represents the initial catalyst concentration recorded for all polymerization reactions, represents the total number of classes of initial catalyst concentrations recorded for all polymerization reactions, The temperature change rate of the first temperature curve segment of the temperature monitoring curve representing all polymerization reaction records, Represents the total number of classes of temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions; represents the polymerization delay factor for all polymerization records, represents the covariance of the initial catalyst concentration and the polymerization delay factor for all polymerization records, represents the standard deviation of the initial catalyst concentration recorded for all polymerization reactions, Represents the standard deviation of the temperature change rate of the first temperature curve segment of the temperature monitoring curve recorded for all polymerization reactions, e represents the natural constant, represents the basic delay value of the polymerization reaction; The basic response value of the PID controller is obtained according to all concentration curve segments of all catalyst concentration monitoring curves, and the specific steps include the following: Obtain the number of all extreme value points of each concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction; The catalyst concentration monitoring curves recorded in all polymerization reactions are combined in pairs to obtain several curve groups; Where r represents the rth concentration curve segment of the catalyst concentration monitoring curve recorded for each polymerization reaction, represents the variance of the number of extreme points in the rth concentration curve segment of the catalyst concentration monitoring curve recorded for all polymerization reactions, N represents the number of all concentration curve segments of the catalyst concentration monitoring curve recorded for each polymerization reaction, Represents the error adaptation of the default PID parameters, represents an exponential function with a natural constant as the base, and B represents the basic response value of the PID controller; The error adaptation amount of the default PID parameters includes: Wherein, z represents the zth curve group, M represents the total number of curve groups obtained from the catalyst concentration monitoring curves of all polymerization reaction records, i represents the i-th sampling moment of the catalyst concentration monitoring curve of any polymerization reaction record, L represents the total number of sampling moments of the catalyst concentration monitoring curve of any polymerization reaction record, a represents the catalyst concentration monitoring curve of the a-th polymerization reaction record of any curve group, b represents the catalyst concentration monitoring curve of the b-th polymerization reaction record of any curve group, represents the concentration value of the catalyst concentration monitoring curve of the ath polymerization reaction record of the zth curve group at the i-th sampling time, represents the concentration value of the catalyst concentration monitoring curve of the bth polymerization reaction record of the zth curve group at the i-th sampling time, Represents the error adaptation amount of the default PID parameters; The fuzzy adjustment coefficient is obtained according to the basic delay value of the polymerization reaction and the basic response value of the PID controller, and the specific steps include the following: Among them, A represents the basic delay value of the polymerization reaction, B represents the basic response value of the PID controller, and C represents the fuzzy adjustment coefficient; The specific steps of obtaining the compensation factor according to the purity of the antibacterial polyurethane generated after the polymerization reaction and the fuzzy adjustment coefficient are as follows: Among them, C represents the fuzzy adjustment coefficient, E represents the purity of the antibacterial polyurethane produced after the polymerization reaction of all polymerization reaction records is completed, Represents the variance of the purity of the antimicrobial polyurethane produced after the polymerization reaction is completed for all polymerization reaction records. represents the compensation factor, and e represents the natural constant; The specific steps of obtaining a new proportional gain coefficient according to the compensation factor are as follows: Get the empirical parameters of the proportional gain coefficient of the PID controller; in, represents the compensation factor, represents the empirical parameter of the proportional gain coefficient of the PID controller, Represents the new proportional gain coefficient.
2. The method for preparing antibacterial polyurethane based on preparation parameter control according to claim 1, characterized in that: The new PID controller is obtained according to the new proportional gain coefficient, and the catalyst concentration is regulated by the new PID controller, including the following specific steps: The PID controller parameters are set using the new proportional gain coefficient to obtain a new PID controller; Obtain the expected concentration value of the catalyst and the catalyst concentration monitoring curve during the actual antibacterial polyurethane polymerization reaction; The expected concentration value of the catalyst and the catalyst concentration monitoring curve during the actual antibacterial polyurethane polymerization reaction are input into the new PID controller to obtain the catalyst control amount.
Citation Information
Patent Citations
Process for producing a polyurethane composition
CN113166356A
Feed-forward regulation and control method and device for stabilizing concentration of filling slurry
CN116166060A
DMF concentration on-line detection and control system
CN202677209U
Polymer formation and simulation thereof
US20150169802A1
Synthesis of polyurethane polymers in flow reactors
US20220380516A1
