Limited time convergence driving control method for hydrogen energy flow meter based on layered terminal sliding mode
By adopting a layered terminal sliding mode control method in the hydrogen flowmeter, a dynamic model and an expansion state observer are established, and a layered terminal sliding mode controller is designed, which solves the PID in the hydrogen energy Coriolis flowmeter drive control system. The problem of long control time and fuzzy PI control relying on expert experience, achieving faster convergence speed and higher control accuracy.
Patent Information
- Application Number
- CN202411149151.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-03
AI Technical Summary
The driving control system of the hydrogen energy Coriolis flowmeter uses the PID control method for a long adjustment time and limited control accuracy. The fuzzy PI control method relies on expert experience and affects the response speed and control accuracy.
The finite time convergence driving control method of hydrogen flowmeter based on layered terminal sliding mode is adopted. By establishing a dynamic model, building an expansion state observer and designing a layered terminal sliding mode controller, the tracking error of the drive control system is realized in a limited time. Convergence is internally weakened and the vibration phenomenon of sliding mode control is weakened.
The transient performance and convergence speed of the hydrogen flowmeter are improved, and the control accuracy is obtained, which takes into account the impact of system uncertainty and disturbance, reduces control vibration and improves the overall control accuracy.
Smart Images

Figure CN119065242A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of hydrogen energy flow meter drive control, and in particular relates to a finite time convergence drive control method for a hydrogen energy flow meter based on a layered terminal sliding mode. Background Art
[0002] The hydrogen energy Coriolis flowmeter, also known as the Coriolis mass flowmeter (Coriolis Mass Flowmeter) used in the field of hydrogen energy, is a device that directly measures the mass flow rate of the fluid by using the principle of the Coriolis force proportional to the mass flow rate generated when the fluid flows in a vibrating pipe. It consists of a flow detection element and a converter, and measures the mass flow rate of the fluid by detecting the phase difference generated when the fluid flows in the pipe. Since the principle of the Coriolis flowmeter is based on the dynamic behavior of the fluid in the pipe, its measurement accuracy is high and can meet the needs of precise measurement in the field of hydrogen energy. The hydrogen energy Coriolis flowmeter is suitable for a variety of fluid media and has broad application prospects in the field of hydrogen energy. With the continuous development of hydrogen energy technology, the application of hydrogen energy Coriolis flowmeters will also be further promoted and optimized.
[0003] The drive control system of the flowmeter is mainly responsible for the precise control and regulation of the operation of the flowmeter. By continuously adjusting the parameters of the drive mechanism, the control unit can make the measured value of the flowmeter gradually approach the set value, thereby achieving precise regulation of the flow rate. The traditional drive system is controlled by a PID controller. However, this PID control method takes a long time to adjust and has limited control accuracy. In this regard, the article "Fuzzy PI Control Method for Coriolis Mass Flowmeter Drive System" (Huang Shizhen, Ouyang Feng, "Journal of Terahertz Science and Electronic Information", Vol. 12, No. 1, 2014) proposed a fuzzy proportional integral (PI) control method, which achieved faster response speed and more stable vibration amplitude under two-phase flow conditions. However, the faster response speed and more stable vibration amplitude are mainly achieved by adjusting the PI control parameters, and the selection of control parameters is heavily dependent on expert experience, which may lead to unreasonable selection of control parameters, thereby affecting the response speed and control accuracy of the flowmeter. Summary of the invention
[0004] The purpose of the present invention is to solve the problems existing in the prior art that the drive control system of the hydrogen energy Coriolis flowmeter adopts a PID control method with a long adjustment time and limited control accuracy, and adopts a fuzzy PI control method that relies on expert experience and affects the response speed and control accuracy. A finite time convergence drive control method for a hydrogen energy flowmeter based on a hierarchical terminal sliding mode is provided, which introduces the control concept of finite time convergence into the drive control system of the hydrogen energy Coriolis flowmeter, and can obtain better transient performance, faster convergence speed and higher control accuracy.
[0005] To achieve the above purpose, the technical solution provided by the present invention is:
[0006] A finite time convergence drive control method for a hydrogen energy flow meter based on a hierarchical terminal sliding mode comprises the following steps:
[0007] Step 1, establishing a dynamic model of a vibrating tube of a hydrogen energy Coriolis mass flowmeter;
[0008] Step 2, construct an extended state observer to estimate the lumped uncertainty of the flow meter drive control system online, where the lumped uncertainty includes the uncertainty of the drive control system and external disturbances;
[0009] Step 3, design a hierarchical terminal sliding mode controller to determine the electrostatic driving force generated by the driving coil of the driver in the flow meter in the dynamic model established in step 1, and feed forward the lumped uncertainty obtained in step 2 to the determined electrostatic driving force to achieve the tracking error of the drive control system to converge within a finite time, wherein an integral term is introduced in the terminal sliding mode surface to weaken the jitter of the sliding mode control.
[0010] Further, step 1 comprises:
[0011] Step 1.1, establish the dynamic model of the flow meter vibration tube as follows:
[0012]
[0013] In the formula, and x are the vibration acceleration, vibration velocity and vibration displacement of the flowmeter vibration tube, respectively; m is the mass of the vibration tube; c and k are the damping coefficient and stiffness coefficient of the vibration tube, respectively; d(t) is the vibration received by the vibration tube; and f is the electrostatic driving force generated by the driving coil;
[0014] Step 1.2, let c = c 0 +Δc and k=k 0 +Δk, where c 0 and k 0 are the known constant parts of the vibration tube damping coefficient and stiffness coefficient, respectively, Δc and Δk are unknown uncertain parameters, and the dynamic model is expressed as:
[0015]
[0016] In the formula, represents the system uncertainty, The total uncertainty is
[0017] Furthermore, step 2 includes:
[0018] Step 2.1, write the kinetic model as an extended state equation:
[0019]
[0020] In the formula, z 1 =x, h is the derivative of the lumped uncertainty φ;
[0021] Step 2.2, design the extended state observer to obtain the estimate of the lumped uncertainty φ
[0022]
[0023] In the formula, For z i The estimate of α i is the observer gain, α i >0, i=1,2,3.
[0024] Further, step 3 includes:
[0025] Step 3.1, define the tracking error e of the drive control system:
[0026] e=xx r
[0027] In the formula, x r is the reference trajectory of the vibration displacement of the vibrating tube, A r is the amplitude of the reference trajectory, is the frequency of the reference trajectory;
[0028] Step 3.2, define the layered terminal sliding surface:
[0029]
[0030]
[0031] In the formula, and To set the constant, sign(·) is the sign function; and is the adaptive sliding mode parameter, and its adaptive update law is:
[0032]
[0033] In the formula, and To set the constant, Proj(·) is a smooth parameter projection function:
[0034]
[0035] Where ξ' is the input of the Proj(·) function, is the output of the Proj(·) function;
[0036] Step 3.3, determine the flow meter drive controller:
[0037]
[0038] In the formula, κ 1 , κ 2 and υ are set constants, and κ 1 >0,κ 2 >0,0<υ<1.
[0039] The advantages of the present invention are:
[0040] 1. The finite time convergence drive control method of the hydrogen energy flowmeter based on the hierarchical terminal sliding mode of the present invention establishes a dynamic model for the vibration tube of the hydrogen energy flowmeter, constructs an extended state observer to estimate the lumped uncertainty of the flowmeter drive control system online, feeds the lumped uncertainty forward to the electrostatic driving force in the model determined by the hierarchical terminal sliding mode controller, and realizes the convergence control of the tracking error of the flowmeter drive control system in a finite time. Therefore, the present invention can obtain better transient performance and faster convergence speed by designing a hierarchical terminal sliding mode controller, while considering the influence of various uncertainties and disturbances of the system, and can obtain better control accuracy.
[0041] 2. The hierarchical terminal sliding mode controller designed in the present invention has a non-singular characteristic, and the introduction of the integral term can effectively reduce the chattering phenomenon of the terminal sliding mode control, which can further improve the control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The above and / or other features and advantages of the present invention will become more easily understood through the following description with reference to the accompanying drawings, in which:
[0043] Figure 1 It is a schematic diagram of the hydrogen energy Coriolis mass flowmeter drive control system of the present invention;
[0044] Figure 2 It is a schematic diagram of the finite time convergence drive control method of the hydrogen energy flow meter based on the layered terminal sliding mode of the present invention. DETAILED DESCRIPTION
[0045] The present invention will be described in detail below with reference to the accompanying drawings by means of exemplary embodiments of the present invention. It should be noted that the following detailed description of the present invention is only for the purpose of illustration, and is not intended to limit the present invention.
[0046] The present invention provides a finite time convergence drive control method for a hydrogen energy flowmeter based on a layered terminal sliding mode, which is used to control a drive control system of a hydrogen energy Coriolis mass flowmeter to accurately adjust the mass flow of hydrogen energy flowing through the flowmeter.
[0047] Reference Figure 1 The drive control system of the hydrogen energy Coriolis mass flowmeter includes three parts: the flowmeter vibration tube, the analog-to-digital / digital-to-analog conversion module, and the drive control module. Among them, the flowmeter vibration tube is the control object; the analog-to-digital / digital-to-analog conversion module amplifies and converts the electrostatic driving force f and the detection displacement signal x generated by the driving coil of the driver in the flowmeter into analog-to-digital and digital-to-analog; the drive control module implements the finite time convergence drive control algorithm of the hydrogen energy Coriolis mass flowmeter based on the hierarchical terminal sliding mode. The specific idea is: give the dynamic model of the hydrogen energy Coriolis mass flowmeter vibration tube; define uncertainty and external interference as lumped uncertainty, and regard them as system states, and construct an extended state observer to estimate the lumped uncertainty online; introduce the integral term in the terminal sliding mode surface, design the hierarchical terminal sliding mode control, weaken the periodic error through integration, reduce the sliding mode chattering, and achieve finite time convergence control.
[0048] Reference Figure 2 As an exemplary embodiment of the present invention, a finite time convergence driving control method for a hydrogen energy flow meter based on a layered terminal sliding mode comprises the following steps:
[0049] Step S1, establishing a dynamic model of a vibrating tube of a hydrogen energy Coriolis mass flowmeter;
[0050] Step S2, constructing an extended state observer for online estimating the lumped uncertainty of the flow meter drive control system, where the lumped uncertainty includes the uncertainty of the drive control system and external disturbances;
[0051] Step S3, designing a hierarchical terminal sliding mode controller to determine the electrostatic driving force generated by the driving coil of the driver in the flow meter in the dynamic model established in step S1, and feeding forward the lumped uncertainty obtained in step S2 to the determined electrostatic driving force, so as to achieve the convergence of the tracking error of the drive control system within a finite time, wherein an integral term is introduced in the terminal sliding mode surface to weaken the jitter of the sliding mode control.
[0052] In some embodiments, step S1 includes:
[0053] The dynamic model of the hydrogen flow meter is established as follows:
[0054]
[0055] In the formula, and x are the vibration acceleration, vibration velocity and vibration displacement of the vibration tube respectively; m is the mass of the vibration tube; c and k are the damping coefficient and stiffness coefficient of the vibration tube respectively; d(t) is the vibration received by the vibration tube, optionally, d(t)=10+2sin(5.8t); f is the electrostatic driving force generated by the driving coil.
[0056] Dividing both sides of equation (1) by m yields:
[0057]
[0058] Affected by various environmental factors, the damping coefficient and stiffness coefficient of the vibration tube are uncertain, which can be further expressed as c = c 0 +Δc and k=k 0 +Δk, where c 0 and k 0 are the known constant parts of the vibration tube damping coefficient and stiffness coefficient, respectively, and Δc and Δk are unknown uncertain parameters. Preferably, c 0 =-2mξω n , Among them, ω n is the resonant frequency of the vibrating tube, ξ is the damping ratio of the vibrating tube. The following can be selected: m = 5.5kg, ξ = 0.0005, ω n =2π×100rad / s, Δc=0.2c 0 , and Δk=0.2k 0 .
[0059] The kinetic model (2) can be restated as
[0060]
[0061] in, Represents the system uncertainty. Multiplying both sides of formula (3) by m yields:
[0062]
[0063] Step S2 is to obtain better control accuracy of the system, taking into account the influence of various uncertainties and disturbances of the system. Step S2 specifically includes:
[0064] Step S2.1, define the lumped uncertainty as The kinetic model is written as an extended state equation:
[0065]
[0066] In the formula, z 1 =x, h is the derivative of the lumped uncertainty φ, and h=11.6cos(5.8t) can be selected;
[0067] Step S2.2, design the extended state observer to obtain the estimate of the lumped uncertainty φ
[0068]
[0069] In the formula, For z i The estimate of α i is the observer gain, α i >0, i=1,2,3, optionally, α 1 =10,α 2 =80,α 3 =120.
[0070] In order to obtain better transient performance and faster convergence speed, a hierarchical terminal sliding mode controller is designed in step S3. Preferably, step S3 includes:
[0071] Define the reference trajectory x of the flowmeter vibrating tube vibration displacement r for:
[0072]
[0073] In the formula, A r is the amplitude of the reference trajectory; is the frequency of the reference trajectory. In a specific embodiment, A r =5mm,
[0074] The tracking error e of the drive control system is defined as:
[0075] e=xx r (7)
[0076] The layered terminal sliding surface is defined as:
[0077]
[0078] Where:
[0079]
[0080] In the formula, and are the set constants to be designed, in particular, sign(·) is the sign function; and is the adaptive sliding mode parameter, and its adaptive update law is designed as:
[0081]
[0082] In the formula, is the constant to be designed, which can be selected Proj(·) is the smooth parameter projection function, which can be calculated as follows:
[0083]
[0084] Where ξ' is the input of the Proj(·) function, is the output of the Proj(·) function.
[0085] Calculate the derivative of s as:
[0086]
[0087] According to formula (12), the flow meter drive controller is designed as:
[0088]
[0089] Among them, κ 1 >0,κ 2 >0, 0<υ<1 are constants to be designed. They can be selected as, κ 1 =120,κ 2 =60,υ=0.6.
[0090] Substituting formula (13) into formula (12), we get:
[0091]
[0092] in, is the aggregate uncertainty error of the observer estimate.
[0093] Choose the Lyapunov function as:
[0094]
[0095] Taking the derivative of V, we get:
[0096]
[0097] Among them, κ 1 To choose
[0098] When the observer error z 3 When bounded, define Formula (16) can be rewritten as
[0099]
[0100] in,
[0101] It can be deduced that s will be in T 0 time converges to the interval Γ=min{Γ 1 ,Γ 2}, where:
[0102]
[0103] Where V(0) is the initial value of V.
[0104] Therefore, the present invention adopts an extended state observer (5) to estimate the lumped uncertainty including various uncertainties and disturbances, designs a parameter-adaptive hierarchical terminal sliding mode (8)(9)(10), and feeds the lumped uncertainty estimate forward to the controller (13), thereby realizing the closed-loop drive finite time convergence control of the hydrogen energy Coriolis mass flowmeter. Thus, according to the obtained flowmeter drive controller, the vibration tube dynamics model is returned to track the tracking error of the system, thereby realizing the closed-loop drive finite time convergence control of the hydrogen energy Coriolis mass flowmeter.
[0105] As described above, the finite-time convergence drive control method of the hydrogen energy flowmeter based on the hierarchical terminal sliding mode of the present invention establishes a dynamic model for the vibration tube of the hydrogen energy flowmeter, constructs an extended state observer to estimate the lumped uncertainty of the flowmeter drive control system online, and feeds the lumped uncertainty forward to the electrostatic driving force in the model determined by the hierarchical terminal sliding mode controller, thereby realizing the convergence control of the tracking error of the flowmeter drive control system within a finite time. Therefore, the present invention can obtain better transient performance and faster convergence speed by designing a hierarchical terminal sliding mode controller, while taking into account the influence of various uncertainties and disturbances of the system, and can obtain better control accuracy. In addition, the hierarchical terminal sliding mode controller designed by the present invention has non-singular characteristics, and the introduction of the integral term can effectively reduce the jitter phenomenon of the terminal sliding mode control, which can further improve the control accuracy.
[0106] Finally, it should be noted that the features mentioned and / or shown in the above description of the exemplary embodiments of the present invention may be combined in the same or similar manner into one or more other embodiments, combined with the features in other embodiments or substituted for the corresponding features in other implementations. The technical solutions obtained by these combinations or substitutions shall also be deemed to be included in the protection scope of the present invention.
Claims
1. A finite time convergence drive control method for hydrogen energy flowmeter based on hierarchical terminal sliding mode, It is characterized in that The following steps are involved: Step 1, establishing a dynamic model of a vibrating tube of a hydrogen energy Coriolis mass flowmeter; Step 2, constructing an extended state observer for online estimation of the lumped uncertainty of the flow meter drive control system, wherein the lumped uncertainty includes the uncertainty of the drive control system and external disturbances; Step 3, design a hierarchical terminal sliding mode controller to determine the electrostatic driving force generated by the driving coil of the driver in the flow meter in the dynamic model established in step 1, and feed forward the lumped uncertainty obtained in step 2 to the determined electrostatic driving force, so as to achieve the convergence of the tracking error of the drive control system within a finite time, wherein an integral term is introduced in the terminal sliding mode surface to weaken the jitter of the sliding mode control.
2. According to the finite time convergence drive control method of hydrogen energy flow meter based on hierarchical terminal sliding mode according to claim 1, It is characterized in that The step 1 comprises: Step 1.1, establish the dynamic model of the flow meter vibration tube as follows: In the formula, and x are the vibration acceleration, vibration velocity and vibration displacement of the flowmeter vibration tube, respectively; m is the mass of the vibration tube; c and k are the damping coefficient and stiffness coefficient of the vibration tube, respectively; d(t) is the vibration received by the vibration tube; and f is the electrostatic driving force generated by the driving coil; Step 1.2, let c = c 0 +Δc and k=k 0 +Δk, where c 0 and k 0 are the known constant parts of the vibration tube damping coefficient and stiffness coefficient, respectively, Δc and Δk are unknown uncertain parameters, and the dynamic model is expressed as: In the formula, represents the system uncertainty, The lumped uncertainty is 3. According to claim 2, the finite time convergence drive control method of the hydrogen energy flow meter based on the hierarchical terminal sliding mode, It is characterized in that The step 2 comprises: Step 2.1, write the kinetic model as an extended state equation: In the formula, z 1 =x, h is the derivative of the lumped uncertainty φ; Step 2.2, design the extended state observer to obtain the estimate of the lumped uncertainty φ In the formula, For z i The estimate of α i is the observer gain, α i >0, i=1,2,3.
4. According to claim 3, the finite time convergence drive control method of the hydrogen energy flow meter based on the hierarchical terminal sliding mode, It is characterized in that The step 3 comprises: Step 3.1, define the tracking error e of the drive control system: e=x-x r In the formula, x r is the reference trajectory of the vibration displacement of the vibrating tube, A r is the amplitude of the reference trajectory, is the frequency of the reference trajectory; Step 3.2, define the layered terminal sliding surface: In the formula, and To set the constant, sign(·) is the sign function; and is the adaptive sliding mode parameter, and its adaptive update law is: In the formula, and To set the constant, Proj(·) is a smooth parameter projection function: Where ξ' is the input of the Proj(·) function, is the output of the Proj(·) function; Step 3.3, determine the flow meter drive controller: In the formula, κ 1 , κ 2 and υ are set constants, and κ 1 >0,κ 2 >0,0<υ<1.
