In-pump pressure control method and system based on ADRC control
Through the method based on ADRC control, the problem that the pressure inside the traditional PID control liquid pump is susceptible to external disturbance is solved, and more stable and accurate pressure control inside the pump is achieved. It is suitable for many industrial fields and improves production efficiency and resource utilization. .
Patent Information
- Application Number
- CN202410613868.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The internal pressure of traditional PID-controlled liquid pumps is susceptible to external disturbances, resulting in reduced control performance and difficulty in achieving stable and accurate fluid delivery.
Adopt an ADRC control method, build a system state model, define the state matrix, input matrix, output matrix and direct transfer matrix, collect and process the pressure data in the pump in real time, calculate the control signal pulse amount, and drive the stepper motor to realize the internal control of the pump. Precise control of pressure enhances robustness to external disturbances.
It improves the stability and robustness of the liquid pump system and achieves more precise pressure control within the pump. It is suitable for industrial production, liquid transportation, chemical engineering, water treatment and other fields, and improves production efficiency and resource utilization.
Smart Images

Figure CN118582376A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of liquid pump pressure control, and in particular to a method and system for controlling the internal pressure of a pump based on ADRC control. Background Art
[0002] Liquid pump systems are widely used in industrial and scientific applications to transport liquid media. Pressure control in the pump is one of the key factors to ensure fluid delivery stability and flow accuracy.
[0003] In the conventional technology, PID is used to control the pressure inside the liquid pump. However, the pressure inside the pump controlled by PID is often susceptible to external disturbances, resulting in a decrease in the control performance of the pressure inside the pump. Summary of the invention
[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method and system for controlling the internal pressure of a pump based on ADRC control, so as to solve the problem of poor performance of the prior art method of using PID to control the internal pressure of a liquid pump.
[0005] To achieve the above-mentioned object and other related objects, the present invention provides a method for controlling the pressure inside a pump based on ADRC control, comprising a liquid pump, wherein the liquid pump is driven by a motor to transport a liquid substance to a designated location;
[0006] The pump internal pressure control method comprises the following steps:
[0007] S1. According to the motor parameter information, a pulse-controlled drive integrated closed-loop stepper motor is selected, wherein a lead screw is provided at the output end of the stepper motor, the other end of the lead screw is movably arranged in the liquid pump, and a piston is meshed on the lead screw;
[0008] S2, driving the lead screw to rotate through a stepper motor, so that the piston engaged with the lead screw moves up and down in the liquid pump to change the pressure in the liquid pump;
[0009] S3. Build a system state model based on ADRC control, and define the state matrix, input matrix, output matrix and direct transfer matrix expressions that constitute ADRC. Calculate the pressure output of the motor-driven control pump through ADRC and obtain the output data;
[0010] S4. In the system state model, real-time data of the pressure inside the pump is collected through the pressure transmitter;
[0011] S5. Processing the real-time collected pump pressure data in the system state model;
[0012] S6, calculating the control signal pulse quantity of the stepper motor based on the pump internal pressure data and the output data of the ADRC after comprehensive processing in the system state model;
[0013] S7. Output the control signal pulse quantity calculated in the system state model to the pulse-controlled drive integrated closed-loop stepper motor, so as to achieve the purpose of controlling the pressure inside the pump by operating the pulse-controlled stepper motor.
[0014] In one embodiment of the present invention, in step S3, the system state model adopts a system state equation, and the system state equation is:
[0015] x(k+1)=Ax(k)+Bu(k)+Gd(k);
[0016] Among them, x(k) represents the state vector of the system, indicating the internal state of the system;
[0017] A is the state matrix, which is used to describe how the state variables evolve over time;
[0018] B is the input matrix, which is used to represent the influence of control input on the state;
[0019] u(k) is the control input signal;
[0020] G is the disturbance matrix, which is used to describe the impact of external disturbance d(k) on the state.
[0021] In one embodiment of the present invention, the expression of the input matrix is:
[0022] u(k)=Cx(k)+Dd^(k)+v^(k);
[0023] Where u(k) represents the control input;
[0024] x(k) is the system state vector;
[0025] k represents the number of discrete time steps;
[0026] The input matrices C and D are constant matrices that describe the effects of the state x(k), external disturbance estimate d^(k), and internal disturbance estimate v^(k) on the control input u(k).
[0027] In one embodiment of the present invention, the expression of the output matrix is:
[0028] y(k)=Hx(k)+d^(k);
[0029] Among them, y(k) represents the output of the system;
[0030] x(k) is the state vector of the system;
[0031] k represents the number of discrete time steps;
[0032] d^(k) represents the estimate of the external disturbance, which is used to make corrections in the output to eliminate the impact of the disturbance;
[0033] The output matrix H describes how the state x(k) is mapped to the output y(k) of the system;
[0034] H is an element in the expression that represents how each component in the state vector affects the output.
[0035] In one embodiment of the present invention, the expression of the direct transfer matrix is:
[0036] u(k)=Cx(k)+Dd^(k)+v^(k);
[0037] Where u(k) is the control input;
[0038] x(k) is the system state vector;
[0039] k represents the number of discrete time steps;
[0040] D describes the weight of the external disturbance;
[0041] d^(k) is the estimated value of the external disturbance;
[0042] v^(k) is an estimate of the internal disturbance.
[0043] In one embodiment of the present invention, in step S3, the ADRC calculation is repeated every 50 ms to obtain discrete-time ADRC control data.
[0044] In one embodiment of the present invention, in step S5, the data processing includes deduplication processing, missing value processing, standardization processing, and outlier processing.
[0045] In one embodiment of the present invention, the system state model is applicable to products such as centrifugal pumps, plunger pumps, and screw pumps, and is applicable to fields such as industrial production, liquid transportation, chemical engineering, agricultural irrigation, and water treatment.
[0046] A pump pressure control system based on ADRC algorithm, applied to the pump pressure control method, comprising a sensor, a controller, an observer and an actuator;
[0047] The sensor is used to monitor the pressure inside the liquid pump;
[0048] The controller includes an implementation module of the ADRC algorithm, which is used to generate a control signal;
[0049] The actuator is used to transmit a control signal to the system state model so as to adjust the operating parameters of the liquid pump;
[0050] The observer is used to estimate the system state variables.
[0051] As described above, the pump internal pressure control method based on ADRC control of the present invention has the following beneficial effects:
[0052] The present invention uses ADRC to control the pressure in the liquid pump. The core idea of ADRC control is to improve the robustness and stability of the system to external disturbances by compensating for the internal disturbances of the liquid pump control operation system. This technology can be widely used in liquid pump systems, including industrial production, liquid transportation, chemical engineering, agricultural irrigation and water treatment, and has broad application prospects in the liquid transportation and control market, which helps to improve production efficiency and resource utilization. In the invention, an observer is also used to estimate the system state variables, which is conducive to better estimation and offset of disturbances, thereby achieving a more accurate pump pressure control effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 Shown is a flow chart of the pump internal pressure control method based on ADRC control disclosed in the present invention.
[0054] Figure 2 Shown is a block diagram of a pump internal pressure control system based on ADRC control disclosed in the present invention.
[0055] Figure 3 The diagram shows the effect of using ADRC to control the boost in Example 4.
[0056] Figure 4 The diagram shows the effect of using PID control to increase the pressure in Example 4.
[0057] Figure 5 This is a diagram showing the effect of using ADRC to control the voltage reduction in Example 4.
[0058] Figure 6 This is a diagram showing the effect of using PID control to reduce pressure in Example 4.
[0059] Figure 7 The diagram shows the effect of using ADRC to control voltage stabilization in Example 4.
[0060] Figure 8 The diagram shows the effect of using PID control to stabilize voltage in Example 4.
[0061] Component number description
[0062] Sensor 1; Controller 2; Observer 3; Actuator 4. DETAILED DESCRIPTION
[0063] The following is a description of the implementation of the present invention by means of specific embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification.
[0064] See also Figures 1 to 8 . It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings in this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no substantial technical significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effects and purposes that can be achieved by the present invention. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of description, and are not used to limit the scope of the implementation of the present invention. Changes or adjustments in their relative relationships should also be regarded as the scope of the implementation of the present invention without substantially changing the technical content.
[0065] Example 1, please refer to Figure 1-2 The present invention provides a method for controlling the internal pressure of a pump based on ADRC control, comprising a liquid pump, wherein the liquid pump is driven by a motor to transport liquid material to a designated location.
[0066] The pump internal pressure control method comprises the following steps:
[0067] S1. According to the motor parameter information, a pulse-controlled drive integrated closed-loop stepper motor is selected, wherein a lead screw is provided at the output end of the stepper motor, the other end of the lead screw is movably arranged in the liquid pump, and a piston is meshed on the lead screw;
[0068] S2, driving the lead screw to rotate through a stepper motor, so that the piston engaged with the lead screw moves up and down in the liquid pump to change the pressure in the liquid pump;
[0069] S3. Build a system state model based on ADRC control, and define the state matrix, input matrix, output matrix and direct transfer matrix expressions that constitute ADRC. Calculate the pressure output of the motor-driven control pump through ADRC and obtain the output data;
[0070] S4. In the system state model, real-time data of the pressure inside the pump is collected through the pressure transmitter;
[0071] S5. Processing the real-time collected pump pressure data in the system state model, wherein the data processing includes deduplication processing, missing value processing, standardization processing, abnormal value processing, etc.;
[0072] S6, calculating the control signal pulse quantity of the stepper motor based on the pump internal pressure data and the output data of the ADRC after comprehensive processing in the system state model;
[0073] S7. Output the control signal pulse quantity calculated in the system state model to the pulse-controlled drive integrated closed-loop stepper motor, so as to achieve the purpose of controlling the pressure inside the pump by operating the pulse-controlled stepper motor.
[0074] In step S3, the system state model adopts the system state equation, and the system state equation is:
[0075] x(k+1)=Ax(k)+Bu(k)+Gd(k);
[0076] Among them, x(k) represents the state vector of the system, indicating the internal state of the system;
[0077] A is the state matrix, which is used to describe how the state variables evolve over time;
[0078] B is the input matrix, which is used to represent the influence of control input on the state;
[0079] u(k) is the control input signal;
[0080] G is the disturbance matrix, which is used to describe the impact of external disturbance d(k) on the state.
[0081] The expression of the input matrix is:
[0082] u(k)=Cx(k)+Dd^(k)+v^(k);
[0083] Where u(k) represents the control input;
[0084] x(k) is the system state vector;
[0085] k represents the number of discrete time steps;
[0086] The input matrices C and D are constant matrices that describe the effects of the state x(k), external disturbance estimate d^(k), and internal disturbance estimate v^(k) on the control input u(k).
[0087] The expression of the output matrix is:
[0088] y(k)=Hx(k)+d^(k);
[0089] Among them, y(k) represents the output of the system;
[0090] x(k) is the state vector of the system;
[0091] k represents the number of discrete time steps;
[0092] d^(k) represents the estimate of the external disturbance, which is used to make corrections in the output to eliminate the impact of the disturbance;
[0093] The output matrix H describes how the state x(k) is mapped to the output y(k) of the system;
[0094] H is an element in the expression that represents how each component in the state vector affects the output.
[0095] The expression of the direct transfer matrix is:
[0096] u(k)=Cx(k)+Dd^(k)+v^(k);
[0097] Where u(k) is the control input;
[0098] x(k) is the system state vector;
[0099] k represents the number of discrete time steps;
[0100] D describes the weight of the external disturbance;
[0101] d^(k) is the estimated value of the external disturbance;
[0102] v^(k) is an estimate of the internal disturbance.
[0103] Specifically, the pump pressure controlled by ADRC is first collected by collecting the current pump pressure signal, which is the analog signal output by the pressure transmitter. The digital data is measured by the ADC module, and the current pump pressure is calculated after calculation.
[0104] Secondly, the current pump pressure value and the expected pressure signal are brought into the ADRC model for calculation, and the output is calculated by ADRC. The output calculated by ADRC is as follows:
[0105] The system state equation x(k+1)=Ax(k)+Bu(k)+Gd(k) is used;
[0106] Input matrix u(k)=Cx(k)+Dd^(k)+v^(k);
[0107] Output matrix y(k)=Hx(k)+d^(k);
[0108] Direct transfer matrix u(k)=Cx(k)+Dd^(k)+v^(k);
[0109] Then, the output matrix is brought into the data processing center, and after processing, the control signal of the motor driver is obtained and acts on the stepper motor;
[0110] By repeating the above ADRC calculation every 50 ms, ADRC control data of multiple time nodes can be obtained.
[0111] Example 2, based on Example 1, the system state model is applicable to products such as centrifugal pumps, plunger pumps, and screw pumps. The applicable fields are industrial production, liquid transportation, chemical engineering, agricultural irrigation, water treatment, etc., and the scope of application is wide.
[0112] Example 3, please refer to Figure 2 , this embodiment provides a pump pressure control system based on ADRC algorithm, which is applied to the pump pressure control method described in Example 1, including a sensor 1, a controller 2, an observer 3 and an actuator 4;
[0113] The sensor 1 is used to monitor the pressure inside the liquid pump;
[0114] The controller 2 includes an implementation module of the ADRC algorithm, which is used to generate a control signal;
[0115] The actuator 4 is used to transmit the control signal to the system state model so as to adjust the operating parameters of the liquid pump;
[0116] The observer 3 is used to estimate the system state variables.
[0117] Example 4, based on the above example, this example provides a set of test data for comparison between ADRC control and PID;
[0118] 1) Current pressure boost effect
[0119] a represents the pressure rise curve of the target pressure set by the user, and b represents the pressure rise curve of the current pressure controlled by ADRC;
[0120] c represents the pressure rise curve of the target pressure set by the user, and d represents the pressure rise curve of the current pressure controlled by PID;
[0121] By the attached Figure 3-4 It can be seen that by comparing the pressure rise curves of the current pressure under ADRC control and traditional PID control, it can be seen that PID control has obvious overshoot phenomenon, that is, in the control and adjustment process, the actual response value of the current pressure exceeds the target pressure value. On the one hand, excessive overshoot will cause production instability and affect product quality and reliability. On the other hand, excessive overshoot will also consume a lot of resources and time. The pressure rise process of ADRC control of the current pressure is smoother, and the pressure control effect in the pump is better.
[0122] 2) Current pressure reduction effect
[0123] e represents the pressure reduction curve of the target pressure set by the user, and f represents the pressure reduction curve of the current pressure controlled by ADRC;
[0124] g represents the pressure reduction curve of the target pressure set by the user, and h represents the pressure reduction curve of the current pressure controlled by PID;
[0125] By the attached Figure 5-6 It can be seen that by comparing the pressure drop curves of the current pressure through ADRC control and traditional PID control, it can be seen that the response time of PID control is longer, while the response time of ADRC control is shorter. The pressure accuracy of the pump is higher when using ADRC control.
[0126] 3) The current pressure stabilization effect at 38.45MPa
[0127] i represents the voltage stabilization line of the target pressure set by the user, and j represents the voltage stabilization line of the current pressure controlled by ADRC;
[0128] k represents the pressure reduction line of the target pressure set by the user, and m represents the pressure stabilization line of the current pressure controlled by PID;
[0129] By the attached Figure 7-8 It can be seen that after the pressure is stabilized at 38.45MPa, the current pressure controlled by ADRC oscillates regularly around 38.45MPa, with a maximum of no more than 38.52MPa and a minimum of no less than 38.39MPa, and a pressure accuracy of ±0.07MPa; the current pressure controlled by PID oscillates irregularly around 38.45MPa, with a maximum of no more than 38.55MPa and a minimum of no less than 38.4MPa, and a pressure accuracy of ±0.1MPa. Using ADRC to control the pressure in the pump has better stability.
[0130] In summary, the present invention uses ADRC to control the pressure in the liquid pump. The core idea of ADRC control is to improve the robustness and stability of the system to external disturbances by compensating for the internal disturbances of the system in which the liquid pump is controlled and operated. This technology can be widely used in liquid pump systems, including industrial production, liquid transportation, chemical engineering, agricultural irrigation, water treatment and other fields. It has broad application prospects in the liquid transportation and control market and helps to improve production efficiency and resource utilization. In the invention, an observer 3 is also used to estimate the system state variables, which is conducive to better estimation and offset of disturbances, thereby achieving a more accurate control effect of the pressure in the pump. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.
[0131] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A method for controlling the internal pressure of a pump based on ADRC control, comprising a liquid pump, wherein the liquid pump is driven by a motor to transport liquid material to a designated location; It is characterized in that The pump internal pressure control method comprises the following steps: S1. According to the motor parameter information, a pulse-controlled drive integrated closed-loop stepper motor is selected, wherein a lead screw is provided at the output end of the stepper motor, the other end of the lead screw is movably arranged in the liquid pump, and a piston is meshed on the lead screw; S2, driving the lead screw to rotate through a stepper motor, so that the piston engaged with the lead screw moves up and down in the liquid pump to change the pressure in the liquid pump; S3. Build a system state model based on ADRC control, and define the state matrix, input matrix, output matrix and direct transfer matrix expressions that constitute ADRC. Calculate the pressure output of the motor-driven control pump through ADRC and obtain the output data; S4. In the system state model, real-time data of the pressure inside the pump is collected through the pressure transmitter; S5. Processing the real-time collected pump pressure data in the system state model; S6, calculating the control signal pulse quantity of the stepper motor based on the pump internal pressure data and the output data of the ADRC after comprehensive processing in the system state model; S7. Output the control signal pulse quantity calculated in the system state model to the pulse-controlled drive integrated closed-loop stepper motor, so as to achieve the purpose of controlling the pressure inside the pump by operating the pulse-controlled stepper motor.
2. The pump internal pressure control method based on ADRC control according to claim 1, characterized in that: In step S3, the system state model adopts the system state equation, and the system state equation is: x(k+1)=Ax(k)+Bu(k)+Gd(k); Among them, x(k) represents the state vector of the system, indicating the internal state of the system; A is the state matrix, which is used to describe how the state variables evolve over time; B is the input matrix, which is used to represent the influence of control input on the state; u(k) is the control input signal; G is the disturbance matrix, which is used to describe the impact of external disturbance d(k) on the state.
3. The pump internal pressure control method based on ADRC control according to claim 2 is characterized in that: The expression of the input matrix is: u(k)=Cx(k)+Dd^(k)+v^(k); Where u(k) represents the control input; x(k) is the system state vector; k represents the number of discrete time steps; The input matrices C and D are constant matrices that describe the effects of the state x(k), external disturbance estimate d^(k), and internal disturbance estimate v^(k) on the control input u(k).
4. The pump internal pressure control method based on ADRC control according to claim 3 is characterized in that: The expression of the output matrix is: y(k)=Hx(k)+d^(k); Among them, y(k) represents the output of the system; x(k) is the state vector of the system; k represents the number of discrete time steps; d^(k) represents the estimate of the external disturbance, which is used to make corrections in the output to eliminate the impact of the disturbance; The output matrix H describes how the state x(k) is mapped to the output y(k) of the system; H is an element in the expression that represents how each component in the state vector affects the output.
5. The pump internal pressure control method based on ADRC control according to claim 4 is characterized in that: The expression of the direct transfer matrix is: u(k)=Cx(k)+Dd^(k)+v^(k); Where u(k) is the control input; x(k) is the system state vector; k represents the number of discrete time steps; D describes the weight of the external disturbance; d^(k) is the estimated value of the external disturbance; v^(k) is an estimate of the internal disturbance.
6. The pump internal pressure control method based on ADRC control according to claim 1, characterized in that: In step S3, the ADRC calculation is repeated every 50 ms to obtain discrete-time ADRC control data.
7. The pump internal pressure control method based on ADRC control according to claim 1, characterized in that: In step S5, the data processing includes deduplication processing, missing value processing, standardization processing, and outlier processing.
8. The pump internal pressure control method based on ADRC control according to claim 1, characterized in that: The system state model is applicable to products such as centrifugal pumps, plunger pumps, and screw pumps, and is applicable to fields such as industrial production, liquid transportation, chemical engineering, agricultural irrigation, and water treatment.
9. A pump pressure control system based on ADRC algorithm, applied to the pump pressure control method according to any one of claims 1 to 8, characterized in that: Includes sensors, controllers, actuators, and observers; The sensor is used to monitor the pressure inside the liquid pump; The controller includes an implementation module of the ADRC algorithm, which is used to generate a control signal; The actuator is used to transmit a control signal to the system state model so as to adjust the operating parameters of the liquid pump; The observer is used to estimate the system state variables.
Citation Information
Patent Citations
Electro-hydraulic position servo control system, computer terminal and storage medium
CN108958023A
ADRC gas injection quantity closed-loop control method based on high-pressure natural gas circulation gas injection quantity real-time detection
CN114839869A
Anti-interference control method and system for fire-fighting unmanned aerial vehicle and related equipment
CN116560225A
Precise injection pump
CN203299213U
Liquid injection pumping device driven by electric cylinder
CN217401077U
