Rotary valve control method, device and equipment for polyvinyl chloride feeding and conveying production line

By combining the adaptive PID controller and nonlinear model, the rotary valve opening in the polyvinyl chloride feeding conveying system is dynamically adjusted, which solves the problem of fineness and response of material flow control and achieves efficient operation under complex working conditions.

CN118959675AActive Publication Date: 2024-11-15GUANGDONG SOPHON INTELLIGENT TECH CO LTD +1

Patent Information

Application Number
CN202411373415.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-11-15
Estimated Expiration
2044-09-29

AI Technical Summary

Technical Problem

In the polyvinyl chloride feeding and conveying system, the prior art is difficult to finely control the material flow rate and cannot adapt to complex production requirements, especially when the capacity demand fluctuates greatly.

Method used

Real-time acquisition of sensor data is used, and the opening of the rotary valve is dynamically adjusted by combining an adaptive PID controller and a pre-constructed nonlinear model. When the flow fluctuates slightly, use the adaptive PID controller to fine-tune it. When the flow changes significantly, global optimization and adjustment are performed through nonlinear models to ensure accurate control of material flow.

Benefits of technology

It realizes precise control of changes in the characteristics of complex materials, improves the system's response speed and control stability, and ensures stable and efficient operation and control under different working conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118959675A_ABST
    Figure CN118959675A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of industrial control, and discloses a rotary valve control method, device and equipment for a polyvinyl chloride feeding and conveying production line, and the method comprises the steps: collecting sensor data in real time, and obtaining material characteristic data which at least comprises flow data; calculating flow deviation according to the flow data and target flow; when the flow deviation is smaller than a preset threshold value, PI D parameters of a self-adaptive PI D controller are adjusted according to the flow deviation, a first opening degree value is calculated according to the adjusted PI D parameters, and the opening degree of a rotary valve is adjusted according to the first opening degree value; otherwise, the material characteristic data are input into a pre-constructed nonlinear model, a second opening value is obtained, the opening of the rotary valve is adjusted according to the second opening value, and the nonlinear model is used for representing the nonlinear relation between the material characteristic data and the opening of the rotary valve. And the material flow can be controlled in time and precisely, and the complex production requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of industrial control, and in particular relates to a rotary valve control method, device and equipment for a polyvinyl chloride feeding and conveying production line. Background Art

[0002] In the polyvinyl chloride (PVC) feeding and conveying system, the methods for controlling the rotary valve mainly include: manual adjustment, timing control and simple switch control. Manual adjustment means that the operator manually adjusts the opening of the rotary valve, that is, the degree of opening of the valve, according to the actual feeding situation and production experience, so as to control the feeding speed of the material. The larger the opening of the rotary valve, the more the valve is opened, and the greater the material flow allowed to pass; the smaller the opening, the smaller the material flow. Manual adjustment relies on manual operation, has low accuracy, is easily limited by the operator's experience, and is difficult to respond to changes in production capacity demand in a timely manner; timing control automatically adjusts the opening of the rotary valve through a preset time interval to ensure that a certain amount of material is fed within the specified time. Due to the preset fixed time interval, it is difficult to flexibly respond to the rapid changes in production capacity demand, especially when the demand fluctuates greatly, the feeding speed cannot be adjusted in time, resulting in a delayed response; simple switch control directly controls the opening and closing state of the rotary valve through the switch signal, which means that the rotary valve is in a fully open or fully closed state. Although it is easy to operate, it lacks fine control of the material flow and cannot adapt to complex production requirements. Summary of the invention

[0003] The object of the present invention is to provide a rotary valve control method, device, equipment and storage medium for a polyvinyl chloride feeding and conveying production line, which can solve the problem that the material flow cannot be timely and finely controlled and cannot adapt to complex production requirements.

[0004] The first aspect of the present invention discloses a rotary valve control method for a polyvinyl chloride feeding and conveying production line, comprising:

[0005] Collect sensor data in real time to obtain material characteristic data, wherein the material characteristic data at least includes flow data;

[0006] Calculating a flow deviation according to the flow data and a target flow;

[0007] When the flow deviation is less than a preset threshold, adjusting a PID parameter of an adaptive PID controller according to the flow deviation, calculating a first opening value according to the adjusted PID parameter, and adjusting the opening of the rotary valve according to the first opening value;

[0008] Otherwise, the material characteristic data is input into a pre-built nonlinear model to obtain a second opening value, and the opening of the rotary valve is adjusted according to the second opening value. The nonlinear model is used to characterize the nonlinear relationship between the material characteristic data and the opening of the rotary valve.

[0009] In some embodiments, the material characteristic data further includes viscosity data, pressure data and temperature data, and a nonlinear model is pre-built, including:

[0010] For the nonlinear part of the input of the Hammerstein-Wiener model, the first models corresponding to the material viscosity, pipeline pressure and material temperature are constructed respectively;

[0011] For the linear dynamic part of the Hammerstein-Wiener model, a second model is constructed based on all the first models and transfer functions;

[0012] For the output nonlinear part of the Hammerstein-Wiener model, construct a third model according to the second model;

[0013] Constructing a loss function of a Hammerstein-Wiener model according to the third model;

[0014] The Hammerstein-Wiener model is iteratively trained based on historical material property data to obtain the nonlinear model.

[0015] In some embodiments, before the historical material characteristic data is input into the Hammerstein-Wiener model, a moving average filter is used to smooth the viscosity data, the pressure data and the temperature data.

[0016] In some embodiments, the step of respectively constructing first models corresponding to material viscosity, pipeline pressure, and material temperature includes:

[0017] The first model corresponding to the material viscosity is constructed using linear terms, quadratic terms, and exponential terms;

[0018] The first model corresponding to the pipeline pressure is constructed using linear and quadratic terms;

[0019] The first model corresponding to the material temperature is constructed using logarithmic terms and linear terms.

[0020] In some embodiments, after collecting sensor data in real time, the method further includes:

[0021] Inputting the material characteristic data into a pre-built nonlinear model to obtain an initial opening value of the rotary valve;

[0022] The opening of the rotary valve is adjusted according to the initial opening value.

[0023] In some embodiments, adjusting the PID parameters of the adaptive PID controller according to the flow deviation to obtain the first opening value includes:

[0024] According to the flow deviation, proportional parameters, integral parameters and differential parameters of the adaptive PID controller are calculated respectively;

[0025] The first opening value is calculated according to the proportional parameter, the integral parameter and the differential parameter.

[0026] The second aspect of the present invention discloses a rotary valve control device for a polyvinyl chloride feeding and conveying production line, comprising:

[0027] A data acquisition module, used to collect sensor data in real time to obtain material characteristic data, wherein the material characteristic data at least includes flow data;

[0028] A flow deviation module, used for calculating the flow deviation according to the flow data and the target flow;

[0029] A fine-tuning module, configured to adjust a PID parameter of an adaptive PID controller according to the flow deviation when the flow deviation is less than a preset threshold, calculate a first opening value according to the adjusted PID parameter, and adjust the opening of the rotary valve according to the first opening value;

[0030] A global optimization module is used to input the material characteristic data into a pre-constructed nonlinear model to obtain a second opening value when the flow deviation is greater than or equal to a preset threshold, and adjust the opening of the rotary valve according to the second opening value. The nonlinear model is used to characterize the nonlinear relationship between the material characteristic data and the opening of the rotary valve.

[0031] In some embodiments, the fine-tuning module also includes a PID parameter unit, which is used to calculate the proportional parameter, integral parameter and differential parameter of the adaptive PID controller according to the flow deviation; and calculate the first opening value according to the proportional parameter, the integral parameter and the differential parameter.

[0032] The third aspect of the present invention discloses an electronic device, comprising a memory storing executable program code and a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the rotary valve control method for the polyvinyl chloride feeding and conveying production line disclosed in the first aspect.

[0033] A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the rotary valve control method for a polyvinyl chloride feeding and conveying production line disclosed in the first aspect.

[0034] The beneficial effect of the present invention is that a nonlinear model is pre-constructed to accurately capture the complex relationship between material properties and the opening of the rotary valve. The deviation between the actual flow rate and the target flow rate is calculated. When the flow rate fluctuates slightly, the PID parameters of the adaptive PID controller are dynamically adjusted to calculate the opening of the rotary valve, so as to keep the material flow rate stable near the target value and improve the response speed and control stability of the system. When the material flow rate changes significantly, that is, when the material properties change significantly, the direct use of the PID controller at this time cannot fully cope with the complex nonlinear dynamics. The nonlinear model is re-called to predict the opening of the rotary valve to ensure the accuracy of flow control. It can provide precise control in the case of complex material property changes, and at the same time has the ability to respond quickly, ensuring that the system can achieve stable and efficient operation and control under different working conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings herein show specific examples of the technical solutions described in the present invention, and together with the specific implementation methods, constitute a part of the specification, and are used to explain the technical solutions, principles and effects of the present invention.

[0036] Unless otherwise specified or defined, the same reference numerals in different drawings represent the same or similar technical features, and the same or similar technical features may also be represented by different reference numerals.

[0037] Figure 1 It is a flow chart of a rotary valve control method for a polyvinyl chloride feeding and conveying production line disclosed in an embodiment of the present invention;

[0038] Figure 2 is a flow chart of pre-building a nonlinear model in an embodiment of the present invention;

[0039] Figure 3 is a flow chart of constructing a first model in an embodiment of the present invention;

[0040] Figure 4 It is a structural schematic diagram of a rotary valve control device of a polyvinyl chloride feeding and conveying production line according to an embodiment of the present invention;

[0041] Figure 5 It is a structural schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] Unless otherwise specified or defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art. In the case of combining the technical solution of the present invention with realistic scenarios, all technical and scientific terms used herein may also have meanings corresponding to the purpose of implementing the technical solution of the present invention. The "first, second..." used herein is only used to distinguish the names and does not represent a specific quantity or order. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0043] It should be noted that when a component is considered to be "fixed to" another component, it can be directly fixed to the other component or there can be a central component; when an component is considered to be "connected to" another component, it can be directly connected to the other component or there can be a central component at the same time; when an component is considered to be "installed on" another component, it can be directly installed on the other component or there can be a central component at the same time. When an component is considered to be "set on" another component, it can be directly set on the other component or there can be a central component at the same time.

[0044] Unless otherwise specified or defined, the "said" and "the" used in this document refer to the technical features or technical contents mentioned or described before the corresponding position, and the technical features or technical contents may be the same as or similar to the technical features or technical contents mentioned therein. In addition, the terms "including" and "having" and any variations thereof used in this document are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0045] The process flow of the polyvinyl chloride (PVC) feeding and conveying production line is as follows: the material is packaged in ton bags, transported to the designated ton bag unpacking equipment by overhead cranes, unpacked and unloaded by the ton bag unpacking machine, and the unloading switch is controlled by a butterfly valve and the unloading amount is controlled by a rotary valve to the accelerator. Then, the material passes through the accelerator and is conveyed by the Roots blower under dilute phase positive pressure, enters the powder tank, and then passes through the accelerator and is extracted to the vacuum feeder by the Roots blower under negative pressure, and then is conveyed to the glue liquid metering tank. In the glue liquid metering tank, the material is preheated and stirred, and then conveyed to the next process through a pipeline, completing the entire feeding and conveying process.

[0046] In the polyvinyl chloride feeding and conveying production line, the current method of controlling the rotary valve cannot respond in time and cannot accurately control when complex material properties change. To address the above problems, the present invention combines nonlinear modeling with an adaptive PID (Proportional Integral Differential) controller. When the material flow rate changes slightly, real-time dynamic fine-tuning is performed through an adaptive PID controller. When the material flow rate changes significantly, global optimization adjustment is performed through nonlinear modeling to ensure that the system can adapt to complex working conditions and achieve optimal control effects and efficient operation.

[0047] The embodiment of the present invention discloses a rotary valve control method for a polyvinyl chloride feeding and conveying production line, which is used to control the opening of the rotary valve in the polyvinyl chloride feeding and conveying production line, and can provide precise control under the condition of complex material property changes, while having rapid response capabilities. The method can be implemented by computer programming as an independent control system or a part of the control system of the polyvinyl chloride feeding and conveying production line. The executor of the method can be an electronic device such as a computer, a laptop computer, a tablet computer, or a control chip embedded in an electronic device, and the present invention is not limited to this. In order to facilitate the understanding of the present invention, the specific embodiments of the present invention will be described in more detail below with reference to the drawings in the specification.

[0048] like Figure 1 As shown, the method comprises the following steps:

[0049] Step S100: collecting sensor data in real time to obtain material characteristic data, wherein the material characteristic data at least includes flow data;

[0050] The sensor is installed downstream of the rotary valve. The type of sensor is not limited as long as it can collect data related to the material properties. Among them, the material properties need to be related to the opening of the rotary valve. Since the material flow rate is the factor most directly related to the opening of the rotary valve, the material properties at least include the material flow rate, and other items are not limited, such as material viscosity, pipeline pressure, material temperature, material flow rate, material particle size, etc. In this embodiment, the material properties selected are material viscosity, pipeline pressure, material temperature and material flow rate.

[0051] The material characteristic data is collected in real time by sensors, and the material characteristic data includes at least flow data. The material characteristic data of this embodiment includes viscosity data, pressure data, temperature data and flow data. Specifically, the viscosity data at time t is recorded as V(t), the pressure data is recorded as P(t), the temperature data is recorded as T(t), and the flow data is F(t).

[0052] Step S200: Calculating flow deviation according to flow data and target flow;

[0053] The real-time collected flow data F(t) is compared with the target flow F target (t) is subtracted to obtain the flow deviation e(t). The specific expression is: e(t) = F target (t)-F(t).

[0054] Step S300: when the flow deviation is less than a preset threshold, adjusting the PID parameters of the adaptive PID controller according to the flow deviation, calculating the first opening value according to the adjusted PID parameters, and adjusting the opening of the rotary valve according to the first opening value;

[0055] When the flow deviation is less than the preset threshold (such as within 5%), it indicates that the material flow has only changed slightly. At this time, the use of the adaptive PID controller to fine-tune the rotary valve can not only keep the material flow stable near the target value, but also improve the system's response speed and control stability. Among them, the adaptive PID controller is a control algorithm that can automatically adjust its control parameters (proportional, integral and differential gains) according to the dynamic changes of the system.

[0056] Specifically, firstly, the proportional parameter, integral parameter and differential parameter of the adaptive PID controller are calculated respectively according to the flow deviation; then, the first opening value is calculated according to the proportional parameter, integral parameter and differential parameter, and then the opening of the rotary valve is adjusted according to the first opening value.

[0057] In this embodiment, the PID parameter K of the adaptive PID controller is first dynamically adjusted. p , K i , K d , the specific formula is:

[0058] K p =K p +α×|e(t)|,

[0059] K i =K i +β×∫e(t)dt,

[0060]

[0061] Among them, α, β, and γ are the adjustment coefficients of proportional gain, integral gain, and differential gain, respectively, and usually take smaller values ​​(such as 0.01 to 0.1), and e(t) is the flow deviation.

[0062] Then, the output y of the adaptive PID controller is calculated c (t), i.e., the first opening value, is used to fine-tune the opening of the rotary valve. The specific formula for calculating the first opening value is:

[0063]

[0064] Among them, τ is the value between time 0-t.

[0065] Otherwise, when the flow deviation is greater than or equal to the preset threshold, the following step S400 is executed.

[0066] Step S400: inputting material characteristic data into a pre-built nonlinear model to obtain a second opening value, and adjusting the opening of the rotary valve according to the second opening value, wherein the nonlinear model is used to characterize the nonlinear relationship between the material characteristic data and the opening of the rotary valve.

[0067] When the flow deviation is greater than or equal to the preset threshold, it indicates that the material characteristics have fluctuated significantly, and accordingly, the material flow rate has also changed significantly. Although the adaptive PID controller has a fast response speed, in this case, fine-tuning the opening of the rotary valve through the adaptive PID controller can no longer adapt to the latest material characteristics. Therefore, the material characteristic data needs to be input into a pre-built nonlinear model. The pre-built nonlinear model has learned the complex nonlinear dynamic relationship between the material characteristic data and the opening of the rotary valve, and can re-give a matching rotary valve opening based on the latest material characteristics, that is, obtain a second opening value, and then adjust the opening of the rotary valve according to the second opening value to adapt to the new working conditions. This global adjustment method can better cope with large fluctuations in material characteristics and ensure efficient operation of the system under different conditions.

[0068] By combining nonlinear modeling and adaptive PID controller, precise control of the opening of the rotary valve under complex nonlinear conditions is achieved in the polyvinyl chloride feeding and conveying production line. It is able to accurately capture the relationship between material characteristics and the opening of the rotary valve under complex nonlinear conditions. When the material flow rate changes slightly, the adaptive PID controller fine-tunes the PID parameters in real time according to the real-time flow deviation, and automatically adjusts the opening of the rotary valve to achieve rapid fine-tuning and stable operation of the production line. When the material flow rate changes significantly, the nonlinear model is re-called for global optimization and the control strategy is adjusted to ensure precise control of the material flow and ensure that the production line adapts to complex conditions. It achieves real-time adjustment of the opening of the rotary valve according to material characteristics or working conditions, and continuously optimizes the control strategy during operation.

[0069] Specifically, this embodiment constructs a nonlinear model based on the Hammerstein-Wiener model, wherein the Hammerstein-Wiener model is a mathematical tool for modeling nonlinear systems, combining the characteristics of the Hammerstein model and the Wiener model. It is usually used to describe systems with nonlinear dynamic characteristics and is widely used in control engineering, signal processing, system identification and other fields. The Hammerstein-Wiener model consists of an input nonlinear part, a linear dynamic part and an output nonlinear part.

[0070] like Figure 2 As shown, the steps to pre-build a nonlinear model include:

[0071] Step P100: for the input nonlinear part of the Hammerstein-Wiener model, first models corresponding to material viscosity, pipeline pressure and material temperature are respectively constructed;

[0072] Based on the application scenario of the polyvinyl chloride feeding and conveying production line, the input nonlinear part mainly performs nonlinear transformation on the viscosity V(t), pressure P(t), and temperature T(t) of the material to generate the intermediate signal z v (t), z p (t), z t (t) is used to capture the nonlinear relationship between the input variables and the dynamic behavior of the system, and the first models corresponding to material viscosity, pipeline pressure and material temperature are constructed respectively.

[0073] like Figure 3 As shown, the specific steps of constructing the first model include:

[0074] Step P110: constructing a first model corresponding to material viscosity using linear terms, quadratic terms and exponential terms;

[0075] Step P120: constructing a first model corresponding to pipeline pressure using linear terms and quadratic terms;

[0076] Step P130: Use logarithmic terms and linear terms to construct a first model corresponding to the material temperature.

[0077] The viscosity of the material is expressed by the linear term V(t) and the quadratic term V(t). 2 The nonlinear modeling is performed with the exponential term exp(a4V(t)) to obtain the first model corresponding to the material viscosity. The specific expression is:

[0078] z v (t)=f1(V(t))=a1V(t)+a2V(t) 2 +a3exp(a4V(t)),

[0079] Among them, a1, a2, a3, and a4 respectively represent the coefficients of the nonlinear effect of the viscosity data V(t) on the production line.

[0080] The pipeline pressure is calculated by the linear term P(t) and the quadratic term P(t) 2 Describe the direct and nonlinear effects of pipeline pressure on the system and obtain the first model corresponding to pipeline pressure. The specific expression is:

[0081] z p (t)=f2(P(t))=b1P(t)+b2P(t)2 ,

[0082] Wherein, b1 and b2 represent the linear and nonlinear coefficients of the pressure data P(t), respectively.

[0083] The material temperature uses the logarithmic term log(T(t)+1) combined with the linear term T(t) to describe the slow gradual change of the material temperature on the production line, and obtains the first model corresponding to the material temperature. The specific expression is:

[0084] z t (t)=f3(T(t))=c1T(t)+c2log(T(t)+1),

[0085] Among them, c1 and c2 are the nonlinear and linear coefficients of temperature data respectively.

[0086] Step P200: for the linear dynamic part of the Hammerstein-Wiener model, construct a second model based on all the first models and transfer functions;

[0087] The linear dynamic part describes the time response of the production line, usually expressed as a transfer function G(s):

[0088]

[0089] Among them, k is the gain, which indicates the degree of amplification or reduction of the input by the system; τ is the time constant, which describes the dynamic response of the system to the input signal; s is the frequency domain variable in the Laplace transform, which is obtained by Laplace transforming the time domain signal of the input data. By converting the differential equation in the time domain into an algebraic equation in the frequency domain, frequency domain analysis can simplify complex dynamic behaviors, making the analysis of system response more intuitive and efficient.

[0090] In this embodiment, after the material viscosity, pipeline pressure, and material temperature are transformed nonlinearly to obtain their respective first models, they are used as input signals of the linear dynamic system and together with the transfer function to construct the second model. The specific expression is:

[0091] z(t)=G(s)·(z v (t)+z p (t)+z t (t)).

[0092] Step P300: constructing a third model based on the second model for the output nonlinear part of the Hammerstein-Wiener model;

[0093] The output nonlinear part is used to convert the output z(t) of the second model in the linear dynamic system into the opening of the rotary valve. The specific nonlinear function expression is:

[0094]

[0095] Among them, d1 and d2 represent the linear and quadratic coefficients of z(t), respectively, and tanh is a nonlinear activation function. d3 represents the amplification coefficient of the tanh function, which is used to control the influence of tanh(d4z(t)) on the output of the linear dynamic system; d4 represents the sensitivity coefficient of the tanh function, which controls the speed and sensitivity of the nonlinear response of the linear dynamic system to z(t).

[0096] Step P400: constructing a loss function of the Hammerstein-Wiener model according to the third model;

[0097] The loss function is used to measure the difference between the output of the Hammerstein-Wiener model and the experimental data. For the Hammerstein-Wiener model, the model output is minimized. The loss function is constructed by the sum of squared errors between the experimental output y(t).

[0098]

[0099] Where θ is the set of parameters to be estimated, θ = {a1, a2, a3, a4, b1, b2, c1, c2, d1, d2, d3, d4}; t = 1 means calculating the error from the first time point, and T is the total number of time steps.

[0100] Step P500: Iteratively train the Hammerstein-Wiener model based on historical material property data to obtain a nonlinear model.

[0101] The parameter θ of the Hammerstein-Wiener model is solved by minimizing the loss function (i.e., minE(θ)), and the model is optimized to finally obtain a nonlinear model. This embodiment uses the gradient descent method for optimization. First, initialize each parameter, which can be set based on experience or randomly selected. Then, calculate the loss function for each parameter θ i The partial derivative of That is, the rate of change of the loss function relative to each parameter. The gradient indicates how to adjust the parameter to reduce the error under the current parameter value. According to the gradient direction, update each parameter value:

[0102]

[0103] Among them, α is the learning rate, which controls the step size of each parameter update. The parameters are updated gradually until the loss function converges to a smaller value.

[0104] When training the Hammerstein-Wiener model, the pre-collected historical data of the polyvinyl chloride feeding and conveying production line (including material property data and rotary valve opening data at historical moments) can be used as a training data set, or the above real-time data and historical data can be used together as a training data set.

[0105] In some embodiments, before the historical material characteristic data is input into the Hammerstein-Wiener model, the collected data is also preprocessed to ensure the accuracy and stability of the data by filtering out noise. This embodiment uses moving average filtering to smooth the viscosity data, pressure data and temperature data. Specifically, assume Indicates viscosity data Pressure data Temperature data Traffic data and real-time rotary valve opening For any variable in , the smoothed data X(t) after moving average filtering is expressed as:

[0106]

[0107] Among them, X(t) is the smoothed data (viscosity V(t), pressure P(t), temperature T(t), flow F(t), and real-time opening of the rotary valve y(t)). is the original material characteristic data, and N is the window size of the moving average.

[0108] The above smoothing process can be used as a separate module or integrated into a module in a nonlinear model.

[0109] In actual use, in order to make the initial opening of the rotary valve match the current material properties, after real-time sensor data collection, it also includes: inputting the material property data into a pre-built nonlinear model to obtain the initial opening value of the rotary valve; adjusting the opening of the rotary valve according to the initial opening value. Obviously, when there is no integrated smoothing module in the nonlinear model, the above material property data can be smoothed before being input into the pre-built nonlinear model. By outputting the initial opening value of the rotary valve through the nonlinear model, it can ensure that the material flow of the polyvinyl chloride feeding and conveying production line reaches the target value in the initial state.

[0110] In summary, this embodiment pre-models the complex nonlinear dynamic relationship between the material properties and the opening of the rotary valve, and constructs a nonlinear model to accurately capture the complex relationship between the material properties and the opening of the rotary valve. Then, the sensor data (including material viscosity, pressure, temperature and flow rate, etc.) is collected in real time. When the flow rate fluctuates slightly, the PID parameter K of the adaptive PID controller is dynamically adjusted by calculating the deviation between the actual flow rate and the target flow rate. p , K i , K d , keep the material flow stable near the target value, improve the system's response speed and control stability. When the material flow changes significantly, that is, the material properties change significantly, the nonlinear model is re-called to predict the opening of the rotary valve to ensure the accuracy of flow control.

[0111] By effectively combining nonlinear modeling with real-time feedback regulation, it is able to provide precise control under complex material property changes while having rapid response capabilities to ensure stable and efficient operation and control of the system under different working conditions.

[0112] like Figure 4 As shown, based on the above-mentioned rotary valve control method for the polyvinyl chloride feeding and conveying production line, the embodiment of the present invention discloses a rotary valve control device for the polyvinyl chloride feeding and conveying production line, including:

[0113] The data acquisition module 600 is used to collect sensor data in real time to obtain material characteristic data, wherein the material characteristic data at least includes flow data;

[0114] A flow deviation module 610, configured to calculate a flow deviation based on the flow data and a target flow;

[0115] A fine-tuning module 620, configured to adjust a PID parameter of an adaptive PID controller according to the flow deviation when the flow deviation is less than a preset threshold, calculate a first opening value according to the adjusted PID parameter, and adjust the opening of the rotary valve according to the first opening value;

[0116] The global optimization module 630 is used to input the material characteristic data into a pre-constructed nonlinear model to obtain a second opening value when the flow deviation is greater than or equal to a preset threshold, and adjust the opening of the rotary valve according to the second opening value. The nonlinear model is used to characterize the nonlinear relationship between the material characteristic data and the opening of the rotary valve.

[0117] In some embodiments, the opening fine-tuning module also includes a PID parameter unit, which is used to calculate the proportional parameter, integral parameter and differential parameter of the adaptive PID controller according to the flow deviation; and calculate the first opening value according to the proportional parameter, the integral parameter and the differential parameter.

[0118] like Figure 5 As shown, an embodiment of the present invention discloses an electronic device, including a memory 401 storing executable program codes and a processor 402 coupled to the memory 401;

[0119] The processor 402 calls the executable program code stored in the memory 401 to execute the rotary valve control method for the polyvinyl chloride feeding and conveying production line described in the above embodiments.

[0120] An embodiment of the present invention further discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the rotary valve control method for the polyvinyl chloride feeding and conveying production line described in the above embodiments.

[0121] The purpose of the above embodiments is to exemplarily reproduce and deduce the technical solution of the present invention, and to fully describe the technical solution, purpose and effect of the present invention. Its purpose is to make the public understand the disclosed content of the present invention more thoroughly and comprehensively, and it does not limit the scope of protection of the present invention.

[0122] The above embodiments are not exhaustive enumerations of the present invention, and there may be multiple other implementations not listed. Any replacement and improvement made without violating the concept of the present invention shall fall within the protection scope of the present invention.

Claims

1. A rotary valve control method for a polyvinyl chloride feeding and conveying production line, characterized in that: include: Collect sensor data in real time to obtain material characteristic data, wherein the material characteristic data at least includes flow data; Calculating a flow deviation according to the flow data and a target flow; When the flow deviation is less than a preset threshold, adjusting a PID parameter of an adaptive PID controller according to the flow deviation, calculating a first opening value according to the adjusted PID parameter, and adjusting the opening of the rotary valve according to the first opening value; Otherwise, the material characteristic data is input into a pre-built nonlinear model to obtain a second opening value, and the opening of the rotary valve is adjusted according to the second opening value. The nonlinear model is used to characterize the nonlinear relationship between the material characteristic data and the opening of the rotary valve.

2. The rotary valve control method for a polyvinyl chloride feeding and conveying production line according to claim 1, characterized in that: The material characteristic data also includes viscosity data, pressure data and temperature data, and a nonlinear model is pre-built, including: For the nonlinear part of the input of the Hammerstein-Wiener model, the first models corresponding to the material viscosity, pipeline pressure and material temperature are constructed respectively; For the linear dynamic part of the Hammerstein-Wiener model, a second model is constructed based on all the first models and transfer functions; For the output nonlinear part of the Hammerstein-Wiener model, construct a third model according to the second model; Constructing a loss function of a Hammerstein-Wiener model according to the third model; The Hammerstein-Wiener model is iteratively trained based on historical material property data to obtain the nonlinear model.

3. The rotary valve control method for a polyvinyl chloride feeding and conveying production line according to claim 2, characterized in that: Before the historical material characteristic data are input into the Hammerstein-Wiener model, the viscosity data, the pressure data and the temperature data are smoothed by using a moving average filter.

4. The rotary valve control method for a polyvinyl chloride feeding and conveying production line according to claim 2, characterized in that: The first models corresponding to the material viscosity, pipeline pressure and material temperature are respectively constructed, including: The first model corresponding to the material viscosity is constructed using linear terms, quadratic terms, and exponential terms; The first model corresponding to the pipeline pressure is constructed using linear and quadratic terms; The first model corresponding to the material temperature is constructed using logarithmic terms and linear terms.

5. The rotary valve control method for a polyvinyl chloride feeding and conveying production line according to claim 1, characterized in that: After collecting sensor data in real time, it also includes: Inputting the material characteristic data into a pre-built nonlinear model to obtain an initial opening value of the rotary valve; The opening of the rotary valve is adjusted according to the initial opening value.

6. The rotary valve control method for a polyvinyl chloride feeding and conveying production line according to claim 1, characterized in that: The step of adjusting the PID parameters of the adaptive PID controller according to the flow deviation, and calculating the first opening value according to the adjusted PID parameters, comprises: According to the flow deviation, proportional parameters, integral parameters and differential parameters of the adaptive PID controller are calculated respectively; The first opening value is calculated according to the proportional parameter, the integral parameter and the differential parameter.

7. A rotary valve control device for a polyvinyl chloride feeding and conveying production line, characterized in that: include: A data acquisition module, used to collect sensor data in real time to obtain material characteristic data, wherein the material characteristic data at least includes flow data; A flow deviation module, used for calculating the flow deviation according to the flow data and the target flow; A fine-tuning module, configured to adjust a PID parameter of an adaptive PID controller according to the flow deviation when the flow deviation is less than a preset threshold, calculate a first opening value according to the adjusted PID parameter, and adjust the opening of the rotary valve according to the first opening value; A global optimization module is used to input the material characteristic data into a pre-constructed nonlinear model to obtain a second opening value when the flow deviation is greater than or equal to a preset threshold, and adjust the opening of the rotary valve according to the second opening value. The nonlinear model is used to characterize the nonlinear relationship between the material characteristic data and the opening of the rotary valve.

8. The rotary valve control device for the polyvinyl chloride feeding and conveying production line according to claim 7, characterized in that: The fine-tuning module also includes a PID parameter unit, which is used to calculate the proportional parameter, integral parameter and differential parameter of the adaptive PID controller according to the flow deviation; and calculate the first opening value according to the proportional parameter, the integral parameter and the differential parameter.

9. An electronic device, characterized in that: It comprises a memory storing executable program code and a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the rotary valve control method for the polyvinyl chloride feeding and conveying production line according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program enables a computer to execute the rotary valve control method for a polyvinyl chloride feeding and conveying production line according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Material caching device and method applicable to polyvinyl chloride paste resin production

    CN107720281A

  • Mixing device and mixing method for diaphragm production

    CN117140771A

  • Data collection systems and methods for water / fluids

    WO2016032405A1

Cited By

  • Temperature control method and system for air preheater

    CN119847244A

  • Multi-stage full-automatic stirrer control system and method

    CN120085604A