CN111025915B - Z-axis gyroscope neural network sliding mode control method based on disturbance observer - Google Patents
Z-axis gyroscope neural network sliding mode control method based on disturbance observer Download PDFInfo
- Publication number
- CN111025915B CN111025915B CN201911419021.6A CN201911419021A CN111025915B CN 111025915 B CN111025915 B CN 111025915B CN 201911419021 A CN201911419021 A CN 201911419021A CN 111025915 B CN111025915 B CN 111025915B
- Authority
- CN
- China
- Prior art keywords
- gyroscope
- micro
- neural network
- angular velocity
- sliding mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000013528 artificial neural network Methods 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 18
- 239000011159 matrix material Substances 0.000 claims abstract description 35
- 238000013461 design Methods 0.000 claims abstract description 16
- 230000003044 adaptive effect Effects 0.000 claims description 11
- 238000013016 damping Methods 0.000 claims description 4
- 244000145845 chattering Species 0.000 abstract description 7
- 238000005259 measurement Methods 0.000 abstract description 5
- 230000000694 effects Effects 0.000 description 3
- 238000005094 computer simulation Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 238000013178 mathematical model Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C19/00—Gyroscopes; Turn-sensitive devices using vibrating masses; Turn-sensitive devices without moving masses; Measuring angular rate using gyroscopic effects
- G01C19/56—Turn-sensitive devices using vibrating masses, e.g. vibratory angular rate sensors based on Coriolis forces
- G01C19/5776—Signal processing not specific to any of the devices covered by groups G01C19/5607 - G01C19/5719
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C25/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Manufacturing & Machinery (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
本申请公开了一种基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法。该方法在获得微陀螺仪跟踪误差和设计的滑模面的基础上,采用RBF神经网络估计时变角速度参数矩阵,在外界干扰未知的情况下,设计干扰观测器估计外界干扰,并根据估计时变角速度参数矩阵和干扰观测器设计微陀螺仪控制律。最终正确估计出连续变化的角速度信号和未知的外界干扰。本发明方法能够在角速度连续变化的情况下,采用神经网络对时变角速度进行估计,通过设计神经网络权值自适应规律完成权值的自适应调整。同时,在系统外界干扰未知的情况下,采用干扰观测器估计外界干扰,有效降低系统抖振,提高MEMS陀螺仪的测量精度。
The application discloses a Z-axis gyroscope neural network sliding mode control method based on a disturbance observer. In this method, on the basis of obtaining the tracking error of the micro-gyroscope and the designed sliding surface, the RBF neural network is used to estimate the time-varying angular velocity parameter matrix. Variable angular velocity parameter matrix and disturbance observer design micro-gyroscope control law. Finally, the continuously changing angular velocity signal and unknown external disturbances are correctly estimated. The method of the invention can use the neural network to estimate the time-varying angular velocity under the condition that the angular velocity changes continuously, and complete the self-adaptive adjustment of the weight by designing the self-adaptive law of the weight of the neural network. At the same time, when the external interference of the system is unknown, the interference observer is used to estimate the external interference, which can effectively reduce the chattering of the system and improve the measurement accuracy of the MEMS gyroscope.
Description
技术领域technical field
本发明涉及自动控制系统领域,尤其涉及一种基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法。The invention relates to the field of automatic control systems, in particular to a Z-axis gyroscope neural network sliding mode control method based on disturbance observers.
背景技术Background technique
MEMS陀螺仪是采用微机电系统加工技术加工生产的传感器,用于测量角速度。MEMS陀螺仪可分为振动式,微流体式,固体式以及悬浮转子式等。其中常见的是振动式MEMS陀螺仪。MEMS陀螺仪是利用科里奥利定理,将旋转物体的角速度转换成与角速度成正比的直流电压信号,从而计算出角速度。MEMS陀螺仪具有体积小、功耗低、成本低等优点,在惯性导航、消费电子以及现代国防等领域具有广泛的应用前景。由于制造技术的缺陷,陀螺仪的结构是不完全对称的,这种非对称的结构会造成不必要的机械耦合,降低陀螺仪的测量精度。与此同时,加工误差带来的参数不确定性以及系统的外部干扰也会使MEMS陀螺仪的性能下降。MEMS gyroscope is a sensor produced by micro-electromechanical system processing technology, which is used to measure angular velocity. MEMS gyroscopes can be divided into vibration type, microfluidic type, solid type and suspended rotor type. The most common of these is the vibrating MEMS gyroscope. The MEMS gyroscope uses the Coriolis theorem to convert the angular velocity of a rotating object into a DC voltage signal proportional to the angular velocity, thereby calculating the angular velocity. MEMS gyroscopes have the advantages of small size, low power consumption, and low cost, and have broad application prospects in inertial navigation, consumer electronics, and modern defense. Due to defects in manufacturing technology, the structure of the gyroscope is not completely symmetrical. This asymmetric structure will cause unnecessary mechanical coupling and reduce the measurement accuracy of the gyroscope. At the same time, the parameter uncertainty caused by processing errors and the external disturbance of the system will also degrade the performance of the MEMS gyroscope.
在陀螺仪控制系统中,通常采用自适应滑模控制来实现期望的轨迹跟踪并通过自适应算法完成角速度信号的估计。但是,传统自适应算法只适用于角速度信号长期恒定的情况。而在实际情况中,物体旋转的角速度是变化的,这样就使得传统自适应算法无法准确估计时变角速度。考虑到神经网络具有逼近任何函数的能力,采用RBF神经网络来估计角速度信号。In the gyroscope control system, the adaptive sliding mode control is usually used to realize the desired trajectory tracking and the estimation of the angular velocity signal is completed through the adaptive algorithm. However, traditional adaptive algorithms are only suitable for long-term constant angular velocity signals. However, in actual situations, the angular velocity of the object's rotation changes, which makes the traditional adaptive algorithm unable to accurately estimate the time-varying angular velocity. Considering that the neural network has the ability to approximate any function, the RBF neural network is used to estimate the angular velocity signal.
陀螺仪系统的外界干扰是系统抖振的主要来源。常规的滑模控制是在外界干扰已知的情况下导出的。但是,在实际情况中,外界干扰上界是未知的。此时,需要选择较大的切换增益,这就会造成较强的抖振。因此,采用干扰观测器对外界干扰进行观测和估计,从而保证系统的稳定性和轨迹跟踪性能。The external interference of the gyroscope system is the main source of system chattering. Conventional sliding mode control is derived when the external disturbance is known. However, in practical situations, the upper bound of external interference is unknown. At this time, a larger switching gain needs to be selected, which will cause stronger chattering. Therefore, the disturbance observer is used to observe and estimate the external disturbance, so as to ensure the stability and trajectory tracking performance of the system.
由于RBF神经网络可以逼近任意连续函数,因此也可以将其应用于时变角速度信号的测量。对于未知外界干扰,可以采用干扰观测器进行观测和估计。与传统的自适应算法相比,采用RBF神经网络可以正确估计出连续变化的角速度信号,有效降低控制抖振。Since the RBF neural network can approximate any continuous function, it can also be applied to the measurement of time-varying angular velocity signals. For unknown external interference, the interference observer can be used for observation and estimation. Compared with the traditional adaptive algorithm, the RBF neural network can correctly estimate the continuously changing angular velocity signal and effectively reduce control chattering.
发明内容Contents of the invention
有鉴于此,本发明的目的在于提供一种基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法,旨在通过采用神经网络对时变角速度进行估计,通过干扰观测器对未知外界干扰进行观测和估计,降低系统抖振,保证系统的稳定性。In view of this, the object of the present invention is to provide a Z-axis gyroscope neural network sliding mode control method based on a disturbance observer, aiming at estimating the time-varying angular velocity by using a neural network, and using the disturbance observer to estimate the unknown external disturbance. Observation and estimation reduce system chattering and ensure system stability.
为解决上述技术问题,本发明提供了一种基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法,包括以下步骤:In order to solve the above-mentioned technical problems, the invention provides a Z-axis gyroscope neural network sliding mode control method based on a disturbance observer, comprising the following steps:
1)建立微陀螺仪动力学模型,根据所述模型输出微陀螺仪运动轨迹;1) set up micro-gyroscope dynamics model, output micro-gyroscope motion track according to said model;
所述模型如下式所示:The model is shown in the following formula:
上式中, In the above formula,
其中,q为陀螺仪的运动轨迹,u为陀螺仪的控制输入,D为阻尼参数矩阵,K为弹簧参数矩阵,Ω为时变角速度参数矩阵,d为外界干扰;Among them, q is the trajectory of the gyroscope, u is the control input of the gyroscope, D is the damping parameter matrix, K is the spring parameter matrix, Ω is the time-varying angular velocity parameter matrix, and d is the external disturbance;
2)根据步骤1)得到的微陀螺仪运动轨迹计算跟踪误差,根据跟踪误差建立滑模面;2) Calculate the tracking error according to the micro-gyroscope motion trajectory obtained in step 1), and set up the sliding mode surface according to the tracking error;
所述跟踪误差如下式所示:The tracking error is shown in the following formula:
e=qd-q (2)e=q d -q (2)
其中,e为跟踪误差,qd为微陀螺仪运动参考轨迹;Among them, e is the tracking error, and q d is the reference trajectory of the micro-gyroscope movement;
所述滑模面根据如下公式建立:The sliding mode surface is established according to the following formula:
其中,S为滑模面,λ为滑模面参数;Among them, S is the sliding mode surface, and λ is the parameter of the sliding mode surface;
3)采用RBF神经网络以所述跟踪误差为输入向量,输出估计时变角速度参数矩阵;3) using the RBF neural network to take the tracking error as an input vector, and output an estimated time-varying angular velocity parameter matrix;
所述估计时变角速度参数矩阵为:The estimated time-varying angular velocity parameter matrix is:
其中,为估计时变角速度参数矩阵,分别为对应的RBF神经网络权值,φ1,φ2为高斯基函数;in, To estimate the time-varying angular velocity parameter matrix, are the corresponding RBF neural network weights, φ 1 and φ 2 are Gaussian functions;
4)根据步骤1)得到的微陀螺仪运动轨迹、步骤3)得到的估计时变角速度参数矩阵和微陀螺仪的控制律设计干扰观测器;4) According to the micro-gyroscope trajectory obtained in step 1), the estimated time-varying angular velocity parameter matrix obtained in step 3) and the control law design disturbance observer of the micro-gyroscope;
所述干扰观测器为:The disturbance observer is:
其中,为对干扰d的估计,为的一阶导数,为q的一阶导数,为对的估计,k1、k2为常数,并且k1>0,k2>0;in, is an estimate of the disturbance d, for The first derivative of , is the first derivative of q, for right The estimation of , k 1 and k 2 are constants, and k 1 >0, k 2 >0;
5)根据所述滑模面、步骤3)得到的估计时变角速度参数矩阵和步骤4)得到的干扰观测器设计微陀螺仪的控制律;5) according to described sliding mode surface, step 3) the estimated time-varying angular velocity parameter matrix that obtains and step 4) obtain the disturbance observer design the control law of micro-gyroscope;
所述微陀螺仪的控制律为:The control law of the micro gyroscope is:
其中,u为微陀螺仪的控制律,为q的一阶导数,为qd的一阶导数,ρ为切换增益,sgn()为符号函数;Among them, u is the control law of the micro gyroscope, is the first derivative of q, is the first derivative of qd , ρ is the switching gain, and sgn() is the sign function;
6)基于Lyapunov稳定性理论,设计Lyapunov函数,根据Lyapunov函数设计RBF神经网络权值的更新算法,并将所述更新算法应用于RBF神经网络,以确保跟踪误差收敛到零,保证系统稳定;6) Based on the Lyapunov stability theory, design the Lyapunov function, design the update algorithm of the RBF neural network weight according to the Lyapunov function, and apply the update algorithm to the RBF neural network to ensure that the tracking error converges to zero and guarantees system stability;
所述Lyapunov函数为:The Lyapunov function is:
其中,η1、η2为RBF神经网络权值自适应律增益参数,取为正数,为外界干扰估计误差,为微陀螺仪速度的估计误差,为权值估计误差,为神经网络理想权值;Wherein, η 1 and η 2 are RBF neural network weight adaptive law gain parameters, which are taken as positive numbers, is the estimation error of the external disturbance, is the estimation error of the micro-gyroscope velocity, is the weight estimation error, is the ideal weight of the neural network;
所述更新算法为:The update algorithm is:
其中,为微陀螺仪在X,Y轴上的速度,S1,S2为滑模面S在X,Y轴上的分量,为微陀螺仪速度的估计误差在X,Y轴上的分量。in, is the speed of the micro gyroscope on the X and Y axes, S 1 and S 2 are the components of the sliding surface S on the X and Y axes, is the estimation error of the micro-gyroscope velocity Components on the X,Y axes.
与现有技术相比,本发明公开了一种基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法,所述方法在获得微陀螺仪跟踪误差和设计的滑模面的基础上,基于所述跟踪误差和滑模面,采用RBF神经网络估计时变角速度参数矩阵,根据所述运动轨迹、所述微陀螺仪控制律和所述估计时变角速度参数矩阵设计干扰观测器,并根据所述滑模面、所述估计时变角速度参数矩阵和所述干扰观测器设计微陀螺仪控制律。最终正确估计出连续变化的角速度信号和未知的外界干扰。可见,应用本发明方法,可以有效补偿系统参数误差和外界干扰,有效提高了控制效果和参数估计效果,进而可以提高微陀螺仪的测量精度。Compared with the prior art, the present invention discloses a Z-axis gyroscope neural network sliding mode control method based on a disturbance observer. The method is based on obtaining the tracking error of the micro gyroscope and the designed sliding mode surface, based on For the tracking error and sliding mode surface, the RBF neural network is used to estimate the time-varying angular velocity parameter matrix, and the disturbance observer is designed according to the motion trajectory, the micro-gyroscope control law and the estimated time-varying angular velocity parameter matrix, and according to the The sliding mode surface, the estimated time-varying angular velocity parameter matrix and the disturbance observer design micro-gyroscope control law. Finally, the continuously changing angular velocity signal and unknown external disturbances are correctly estimated. It can be seen that the application of the method of the present invention can effectively compensate system parameter errors and external disturbances, effectively improve the control effect and parameter estimation effect, and further improve the measurement accuracy of the micro gyroscope.
本发明方法能够在角速度连续变化和外界干扰未知的情况下,采用RBF神经网络对时变角速度进行估计,并通过设计神经网络权值自适应规律完成权值的自适应调整,实现时变角速度的估计。同时,采用干扰观测器估计系统未知干扰,保证系统的稳定性,提高陀螺仪的测量精度。与传统的自适应算法相比,本发明能够在陀螺系统测量角速度时变和外界干扰未知的情况下,采用干扰观测器估计外界干扰,采用神经网络对时变角速度进行估计,避免角速度估计不准确和系统抖振,保证系统的稳定性。The method of the invention can use the RBF neural network to estimate the time-varying angular velocity under the condition that the angular velocity changes continuously and the external disturbance is unknown, and completes the adaptive adjustment of the weight by designing the neural network weight adaptive law, so as to realize the time-varying angular velocity estimate. At the same time, a disturbance observer is used to estimate the unknown disturbance of the system to ensure the stability of the system and improve the measurement accuracy of the gyroscope. Compared with the traditional self-adaptive algorithm, the present invention can use the disturbance observer to estimate the external disturbance and use the neural network to estimate the time-varying angular velocity under the condition that the gyro system measures the time-varying angular velocity and the external disturbance is unknown, so as to avoid inaccurate estimation of the angular velocity and system chattering to ensure system stability.
本发明中所设计的自适应律都是基于Lyapunov稳定理论,因此系统的稳定性能够得到保证。The adaptive laws designed in the present invention are all based on the Lyapunov stability theory, so the stability of the system can be guaranteed.
附图说明Description of drawings
图1为本发明提供的基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法原理图;Fig. 1 is the schematic diagram of the Z-axis gyroscope neural network sliding mode control method based on disturbance observer provided by the present invention;
图2为本发明具体实施例中X,Y轴位置跟踪曲线;Fig. 2 is X, Y axis position tracking curve in the specific embodiment of the present invention;
图3为本发明具体实施例中X,Y轴位置跟踪误差曲线;Fig. 3 is X, Y axis position tracking error curve in the specific embodiment of the present invention;
图4为本发明具体实施例中Z轴陀螺仪时变角速度辨识曲线;Fig. 4 is the time-varying angular velocity identification curve of the Z-axis gyroscope in a specific embodiment of the present invention;
图5为本发明具体实施例中Z轴陀螺仪外界干扰估计曲线。FIG. 5 is an estimation curve of external interference of a Z-axis gyroscope in a specific embodiment of the present invention.
具体实施方式Detailed ways
为了进一步理解本发明,下面结合实施例对本发明优选实施方案进行描述,但是应当理解,这些描述只是为了进一步说明本发明的特征和优点,而不是对本发明权利要求的限制。In order to further understand the present invention, the preferred embodiments of the present invention are described below in conjunction with the examples, but it should be understood that these descriptions are only to further illustrate the features and advantages of the present invention, rather than limiting the claims of the present invention.
请参考图1,本发明提供了一种基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法,包括以下步骤:Please refer to Fig. 1, the present invention provides a kind of Z-axis gyroscope neural network sliding mode control method based on disturbance observer, comprises the following steps:
1)建立微陀螺仪动力学模型,根据所述模型输出微陀螺仪运动轨迹:1) Establish a micro-gyroscope dynamics model, output the micro-gyroscope motion track according to the model:
微陀螺仪的数学模型为:The mathematical model of the micro gyroscope is:
其中,x、y为微陀螺仪在X、Y轴方向上的位移,ux、uy为微陀螺仪在X、Y轴方向上的控制输入,dxx、dyy为X、Y轴方向弹簧的弹性系数,ωxx、ωyy为X、Y轴方向的阻尼系数,dxy、dyx、ωxy、ωyx是由于加工误差等引起的耦合参数,Ωz为质量块自转的角速度。Among them, x, y are the displacement of the micro gyroscope in the direction of X, Y axis, u x , u y are the control input of the micro gyroscope in the direction of X, Y axis, d xx , d yy are the direction of X, Y axis The elastic coefficient of the spring, ω xx and ω yy are the damping coefficients in the X and Y axis directions, d xy , d yx , ω xy , ω yx are the coupling parameters caused by machining errors, etc., Ω z is the angular velocity of the mass block’s rotation.
将式(9)所示的微陀螺仪的数学模型写成状态空间表达式得:The mathematical model of the micro gyroscope shown in formula (9) is written as a state space expression:
上式中,q1=q, In the above formula, q 1 =q,
其中,q为陀螺仪的运动轨迹,u为陀螺仪的控制输入,D为阻尼参数矩阵,K为弹簧参数矩阵,Ω为角速度参数矩阵。Among them, q is the trajectory of the gyroscope, u is the control input of the gyroscope, D is the damping parameter matrix, K is the spring parameter matrix, and Ω is the angular velocity parameter matrix.
考虑外界干扰,则微陀螺仪动力学模型可以写成:Considering the external disturbance, the dynamic model of the micro gyroscope can be written as:
式(11)中,d为外界干扰。In formula (11), d is external disturbance.
2)根据步骤1)得到的微陀螺仪运动轨迹计算跟踪误差,根据跟踪误差建立滑模面:2) Calculate the tracking error according to the motion trajectory of the micro-gyroscope obtained in step 1), and establish the sliding mode surface according to the tracking error:
定义微陀螺仪的跟踪误差为:Define the tracking error of the micro gyroscope as:
e=qd-q (12)e=q d -q (12)
式(12)中,为理想振动轨迹,为实际振动轨迹。In formula (12), is the ideal vibration trajectory, is the actual vibration trajectory.
根据跟踪误差,设计滑模面为:According to the tracking error, the sliding mode surface is designed as:
式(13)中,λ为滑模面参数,取为二阶对角阵,且其对角线元素为正数。In formula (13), λ is the sliding mode surface parameter, which is taken as a second-order diagonal matrix, and its diagonal elements are positive numbers.
3)采用RBF神经网络以所述跟踪误差为输入向量,输出估计时变角速度参数矩阵;3) using the RBF neural network to take the tracking error as an input vector, and output an estimated time-varying angular velocity parameter matrix;
系统的未知的角速度会导致控制性能的下降,因此,需要对系统角速度进行估计。在实际情况中,角速度不是长期恒定的,而是持续变化的。可以利用RBF神经网络逼近微陀螺仪时变角速度参数矩阵。The unknown angular velocity of the system will lead to the decline of control performance, therefore, it is necessary to estimate the angular velocity of the system. In actual situations, the angular velocity is not constant for a long time, but changes continuously. The RBF neural network can be used to approximate the time-varying angular velocity parameter matrix of the micro-gyroscope.
利用RBF神经网络对微陀螺仪时变角速度参数矩阵中所有参数进行估计,在使用神经网络逼近系统时变角速度时,存在最优权值满足σ1,σ2为逼近误差,并且逼近误差是有界的,即满足|σ1|<σ1d,|σ2|<σ2d,σ1d,σ2d为逼近误差的上界,理论上神经网络的逼近误差可以使得逼近误差上界σ1d,σ2d趋近于0。Use the RBF neural network to estimate all the parameters in the time-varying angular velocity parameter matrix of the micro-gyroscope, and when using the neural network to approximate the time-varying angular velocity of the system, there is an optimal weight Satisfy σ 1 , σ 2 are the approximation errors, and the approximation errors are bounded, that is, |σ 1 |<σ 1d , |σ 2 |<σ 2d , σ 1d , σ 2d are the upper bounds of the approximation errors. In theory, neural The approximation error of the network can make the upper bounds of the approximation error σ 1d , σ 2d close to 0.
时变角速度参数矩阵可以表示为:Time-varying angular velocity parameter matrix It can be expressed as:
式(14)中,为估计时变角速度参数矩阵,分别为所对应的RBF神经网络权值,φ1,φ2为高斯基函数;In formula (14), To estimate the time-varying angular velocity parameter matrix, are the corresponding RBF neural network weights, φ 1 and φ 2 are Gaussian functions;
4)根据步骤1)得到的微陀螺仪运动轨迹、步骤3)得到的估计时变角速度参数矩阵和微陀螺仪的控制律设计干扰观测器;4) According to the micro-gyroscope trajectory obtained in step 1), the estimated time-varying angular velocity parameter matrix obtained in step 3) and the control law design disturbance observer of the micro-gyroscope;
在实际情况下,系统的外界干扰是未知的。因此,一般设置一个比较大的切换增益来对干扰进行处理。此时,比较大的切换增益所造成的影响就是控制力信号的抖振。因此,需要对鲁棒项进行改进。由于外界干扰一般很难确定,可以采用干扰观测器对外界干扰进行估计,并根据估计得到的外界干扰确定鲁棒项,从而保证系统的稳定性和轨迹跟踪性能。In practical situations, the external interference of the system is unknown. Therefore, a relatively large switching gain is generally set to deal with interference. At this time, the influence caused by relatively large switching gain is chattering of the control force signal. Therefore, the robust term needs to be improved. Since the external disturbance is generally difficult to determine, the disturbance observer can be used to estimate the external disturbance, and the robust item can be determined according to the estimated external disturbance, so as to ensure the stability and trajectory tracking performance of the system.
所述干扰观测器为:The disturbance observer is:
式(15)中,为对干扰d的估计,为的一阶导数,为q的一阶导数,为对的估计,k1、k2为常数,并且k1>0,k2>0。In formula (15), is an estimate of the disturbance d, for The first derivative of , is the first derivative of q, for right The estimation of , k 1 and k 2 are constants, and k 1 >0, k 2 >0.
5)根据所述滑模面、步骤3)得到的估计时变角速度参数矩阵和步骤4)得到的干扰观测器设计微陀螺仪的控制律;5) according to described sliding mode surface, step 3) the estimated time-varying angular velocity parameter matrix that obtains and step 4) obtain the disturbance observer design the control law of micro-gyroscope;
不考虑外界干扰和参数不确定性,对滑模面进行求导并令滑模面导数可以得到等效控制律为Regardless of external interference and parameter uncertainty, the sliding mode surface is derived and the sliding mode surface derivative The equivalent control law can be obtained as
式(16)中,ueq为微陀螺仪的等效控制律,为q的导数,为qd的导数。In formula (16), u eq is the equivalent control law of the micro gyroscope, is the derivative of q, is the derivative of q d .
根据滑模面S,设计控制律的鲁棒项为:According to the sliding surface S, the robust term of the designed control law is:
us=ρsgn(S) (17)u s = ρsgn(S) (17)
其中,us为微陀螺仪控制律的鲁棒项,ρ为切换增益,sgn()为符号函数。Among them, u s is the robust term of micro-gyroscope control law, ρ is the switching gain, and sgn() is the sign function.
在系统模型和外界干扰完全已知的情况下,可以设计最终控制律为When the system model and external disturbances are completely known, the final control law can be designed as
其中,u为微陀螺仪的控制律。Among them, u is the control law of the micro gyroscope.
由于控制律中包含系统的角速度矩阵Ω,而在实际情况中角速度Ω并不是恒定值,而是时变的。因此,所设计的控制律在实际情况中难以实施。可以使用神经网络对时变角速度进行估计,利用角速度的估计值来代替其真实值从而完成控制律信号设计,并设计神经网络权值更新算法,在线更新系统参数的估计值。Since the control law contains the angular velocity matrix Ω of the system, in actual situations the angular velocity Ω is not a constant value, but time-varying. Therefore, the designed control law is difficult to implement in practical situations. The neural network can be used to estimate the time-varying angular velocity, and the estimated value of the angular velocity can be used to replace its real value to complete the control law signal design, and the neural network weight update algorithm can be designed to update the estimated value of the system parameters online.
由于实际情况中,外界干扰未知。采用干扰观测器观测和估计外界干扰,利用干扰观测器的估计输出带入控制律中,提高已有控制器的控制性能。Due to the actual situation, external interference is unknown. The disturbance observer is used to observe and estimate the external disturbance, and the estimated output of the disturbance observer is brought into the control law to improve the control performance of the existing controller.
使用时变角速度参数矩阵的估计值代替其真实值进行控制律设计,同时将干扰观测器估计值带入,控制律设计为Use the estimated value of the time-varying angular velocity parameter matrix instead of its real value to design the control law, and at the same time bring the estimated value of the disturbance observer into it, the control law is designed as
其中,为微陀螺仪外界干扰的估计值,估计偏差为 in, is the estimated value of the external disturbance of the micro gyroscope, and the estimated deviation is
6)基于Lyapunov稳定性理论,设计Lyapunov函数,根据Lyapunov函数设计RBF神经网络权值的更新算法,并将所述更新算法应用于RBF神经网络,以确保跟踪误差收敛到零,保证系统稳定;6) Based on the Lyapunov stability theory, design the Lyapunov function, design the update algorithm of the RBF neural network weight according to the Lyapunov function, and apply the update algorithm to the RBF neural network to ensure that the tracking error converges to zero and guarantees system stability;
所述Lyapunov函数为:The Lyapunov function is:
其中,η1、η2为RBF神经网络权值自适应律增益参数,取为正数,为外界干扰估计误差,为微陀螺仪速度的估计误差,为权值估计误差,为神经网络理想权值;Wherein, η 1 and η 2 are RBF neural network weight adaptive law gain parameters, which are taken as positive numbers, is the estimation error of the external disturbance, is the estimation error of the micro-gyroscope velocity, is the weight estimation error, is the ideal weight of the neural network;
对其进行求导,得Induce it, get
对于外界干扰d而言,假设它的变化是非常缓慢的,因此,趋近于零,当k1取较大值时,可认为:For the external disturbance d, it is assumed that its change is very slow, so, tends to zero, when k 1 takes a larger value, it can be considered as:
将所述控制律、所述干扰观测器和式(22)带入式(21),得Substituting the control law, the disturbance observer and equation (22) into equation (21), we get
为了得到设计所述更新算法为in order to get The update algorithm is designed as
其中,为微陀螺仪在X,Y轴上的速度,S1,S2为X,Y轴上的滑模面,为X,Y轴上微陀螺仪速度的估计误差。in, is the speed of the micro gyroscope on the X and Y axes, S 1 and S 2 are the sliding surface on the X and Y axes, is the estimation error of the micro-gyroscope velocity on the X and Y axes.
将所述Lyapunov稳定性理论更新算法带入(23)中,得Bringing the Lyapunov stability theory update algorithm into (23), we get
在证明过程中运用了矩阵迹的性质The property of the matrix trace is used in the proof
取切换增益稍大于外界干扰估计误差上界,即Take the switching gain slightly greater than the upper bound of the external interference estimation error, that is,
σ3为正数, σ 3 is a positive number,
由假设2可知From
稳定性得到证明。Stability is proven.
5)计算机仿真实验5) Computer simulation experiment
根据基于干扰观测器的Z轴陀螺仪神经网络滑模控制方法,在MATLAB/SIMULINK中对本发明控制方法进行计算机仿真实验。仿真实验的微陀螺仪参数如下:According to the Z-axis gyroscope neural network sliding mode control method based on the disturbance observer, a computer simulation experiment is carried out on the control method of the present invention in MATLAB/SIMULINK. The parameters of the micro gyroscope in the simulation experiment are as follows:
m=1.8×10-7kg,kxx=63.955N/m,kyy=95.92N/m,kxy=12.779N/m,m = 1.8×10 -7 kg, k xx = 63.955N/m, k yy = 95.92N/m, k xy = 12.779N/m,
dxx=1.8×10-6N·s/m,dyy=1.8×10-6N·s/m,dxy=3.6×10-7N·s/md xx = 1.8×10 -6 N·s/m, d yy = 1.8×10 -6 N·s/m, d xy = 3.6×10 -7 N·s/m
未知的输入角速度假定为Ωz=10000sin(0.3t)rad/s。参考长度选取为q0=1μm,参考频率ω0=1000Hz,非量纲化后,微陀螺仪各参数如下:The unknown input angular velocity is assumed to be Ω z =10000 sin(0.3t)rad/s. The reference length is selected as q 0 =1μm, and the reference frequency ω 0 =1000Hz. After non-dimensionalization, the parameters of the micro gyroscope are as follows:
ωxy=70.99,dxx=0.01,dyy=0.01,dxy=0.002,Ω=10sin(0.3t) ω xy =70.99, d xx =0.01, d yy =0.01, d xy =0.002, Ω=10sin(0.3t)
被控对象的初始状态取X0=[0.1 0 0.1 0],参考轨迹干扰取为 The initial state of the controlled object is taken as X 0 =[0.1 0 0.1 0], the reference trajectory Interference is taken as
滑模面系数取 Sliding mode surface coefficient
神经网络参数辨识部分参数取为:η1=0.5,η2=0.5Neural network parameter identification part parameters are taken as: η 1 =0.5, η 2 =0.5
固定鲁棒增益的鲁棒增益值设为:ρ=80The robust gain value of fixed robust gain is set as: ρ=80
干扰观测器的部分参数取为:k1=100,k2=20Some parameters of the disturbance observer are taken as: k 1 =100, k 2 =20
图2为本发明具体实施实例中X,Y轴位置跟踪性能曲线;其中虚线为实际轨迹,实线为理想轨迹。从图中可以看出,采用基于干扰观测器的Z轴陀螺仪神经网络滑模控制,微陀螺仪轨迹能够很好的跟踪上理想轨迹。Fig. 2 is the X, Y-axis position tracking performance curve in the specific implementation example of the present invention; wherein the dotted line is the actual track, and the solid line is the ideal track. It can be seen from the figure that the trajectory of the micro-gyroscope can track the ideal trajectory very well by adopting the Z-axis gyroscope neural network sliding mode control based on the disturbance observer.
图3为本发明具体实施实例中X,Y轴位置跟踪误差曲线;从图中可以看出,跟踪误差很快能够收敛到0,收敛速度很快,说明本发明的控制效果非常理想。Fig. 3 is the X, Y axis position tracking error curves in the embodiment of the present invention; As can be seen from the figure, the tracking error can quickly converge to 0, and the convergence speed is very fast, which shows that the control effect of the present invention is very ideal.
图4为本发明具体实施实例中Z轴陀螺仪时变角速度辨识曲线;其中,实线为时变角速度参数的真值,虚线为神经网络对时变角速度的逼近值;从图中可以看出,神经网络能够很好地实时逼近时变角速度。Fig. 4 is the time-varying angular velocity identification curve of the Z-axis gyroscope in the specific implementation example of the present invention; Wherein, the solid line is the true value of the time-varying angular velocity parameter, and the dotted line is the approximation value of the neural network to the time-varying angular velocity; as can be seen from the figure , the neural network can approximate the time-varying angular velocity well in real time.
图5为本发明具体实施实例中Z轴陀螺仪外界干扰估计曲线;其中,实线为外界干扰的真值,虚线为干扰观测器对外界干扰的估计值;从图中可以看出,干扰观测器能够很快收敛到外界干扰的真值,实现了对系统外界干扰的补偿。Fig. 5 is the Z-axis gyroscope external interference estimation curve in the concrete implementation example of the present invention; Wherein, solid line is the true value of external interference, and dotted line is the estimated value of interference observer to external interference; As can be seen from the figure, interference observation The device can quickly converge to the true value of the external disturbance, realizing the compensation for the external disturbance of the system.
从以上仿真图可以看出,本发明提出的控制方法能够很好地实现轨迹跟踪,在面对角速度时变和外界干扰未知的情况下,能够有效估计出时变的角速度和未知外界干扰,保证了系统的稳定性。It can be seen from the above simulation diagram that the control method proposed by the present invention can realize trajectory tracking well, and can effectively estimate the time-varying angular velocity and unknown external disturbances in the face of unknown external disturbances of angular velocity, ensuring system stability.
以上显示和描述了本发明的基本原理和主要特征和本发明的优点,对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化囊括在本发明内。尽管已经示出和描述了本发明的实施例,对于本领域的普通技术人员而言,可以理解在不脱离本发明的原理和精神的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由所附权利要求及其等同物限定。The basic principles and main features of the present invention and the advantages of the present invention have been shown and described above. For those skilled in the art, it is obvious that the present invention is not limited to the details of the above-mentioned exemplary embodiments, and without departing from the spirit or basic principles of the present invention. The present invention can be implemented in other specific forms without any specific features. Accordingly, the embodiments should be regarded in all points of view as exemplary and not restrictive, the scope of the invention being defined by the appended claims rather than the foregoing description, and it is therefore intended that the scope of the invention be defined by the appended claims rather than by the foregoing description. All changes within the meaning and range of equivalents of the elements are embraced in the present invention. Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications and substitutions can be made to these embodiments without departing from the principle and spirit of the present invention. and modifications, the scope of the invention is defined by the appended claims and their equivalents.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911419021.6A CN111025915B (en) | 2019-12-31 | 2019-12-31 | Z-axis gyroscope neural network sliding mode control method based on disturbance observer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911419021.6A CN111025915B (en) | 2019-12-31 | 2019-12-31 | Z-axis gyroscope neural network sliding mode control method based on disturbance observer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111025915A CN111025915A (en) | 2020-04-17 |
| CN111025915B true CN111025915B (en) | 2022-11-25 |
Family
ID=70201552
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911419021.6A Active CN111025915B (en) | 2019-12-31 | 2019-12-31 | Z-axis gyroscope neural network sliding mode control method based on disturbance observer |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111025915B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114879574B (en) * | 2022-05-30 | 2025-02-14 | 西北工业大学 | A human-computer interactive control method based on logarithmic sliding mode observer |
| CN115453881B (en) * | 2022-09-22 | 2025-01-28 | 电子科技大学 | A remote servo motor tracking control method based on neural sliding mode |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107607103B (en) * | 2017-11-05 | 2019-09-24 | 西北工业大学 | Compound learning control method for MEMS gyroscope based on disturbance observer |
| CN107678282B (en) * | 2017-11-05 | 2019-08-09 | 西北工业大学 | Intelligent Control Method of MEMS Gyro Considering Unknown Dynamics and External Disturbance |
| CN107607102B (en) * | 2017-11-05 | 2019-08-09 | 西北工业大学 | Sliding Mode Chattering Suppression Method for MEMS Gyroscope Based on Disturbance Observer |
| CN110389528B (en) * | 2019-07-18 | 2022-04-01 | 西北工业大学 | Data-driven MEMS gyroscope driving control method based on disturbance observation |
| CN110471293B (en) * | 2019-09-23 | 2022-02-25 | 南通大学 | Z-axis gyroscope sliding mode control method for estimating time-varying angular velocity |
-
2019
- 2019-12-31 CN CN201911419021.6A patent/CN111025915B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN111025915A (en) | 2020-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108897226B (en) | Non-singular sliding mode control method for preset performance of MEMS gyroscope based on disturbance observer | |
| CN103116275B (en) | Based on the gyroscope Robust Neural Network Control system and method that sliding formwork compensates | |
| CN102914972B (en) | Micro-gyroscope RBF (Radial Basis Function) network self-adapting control method based on model global approximation | |
| JP5139412B2 (en) | Angle measuring method and angle measuring gyro system for implementing the same | |
| JP6799920B2 (en) | High bandwidth Coriolis vibrating gyroscope (CVG) with in-situ (IN-SITU) bias self-calibration | |
| CN102298315A (en) | Adaptive control system based on radial basis function (RBF) neural network sliding mode control for micro-electromechanical system (MEMS) gyroscope | |
| CN113175926B (en) | An Adaptive Horizontal Attitude Measurement Method Based on Motion Status Monitoring | |
| CN109240083B (en) | Adaptive Fuzzy Super-Twisted Sliding Mode Control Method for Microgyroscope System | |
| CN110595434B (en) | Quaternion fusion attitude estimation method based on MEMS sensor | |
| CN104503246B (en) | Indirect adaptive neural network sliding-mode control method for micro-gyroscope system | |
| CN110703610B (en) | Non-Singular Terminal Sliding Mode Control Method for Micro-Gyroscope Recurrent Fuzzy Neural Networks | |
| CN105278331A (en) | Robust-adaptive neural network H-infinity control method of MEMS gyroscope | |
| CN103345155B (en) | The self-adaptation back stepping control system and method for gyroscope | |
| CN111025915B (en) | Z-axis gyroscope neural network sliding mode control method based on disturbance observer | |
| Widodo et al. | Complementary filter for orientation estimation: Adaptive gain based on dynamic acceleration and its change | |
| CN110471293B (en) | Z-axis gyroscope sliding mode control method for estimating time-varying angular velocity | |
| CN110389528B (en) | Data-driven MEMS gyroscope driving control method based on disturbance observation | |
| CN104614993A (en) | Adaptive sliding mode preset performance control method for micro-gyroscope | |
| CN104090487A (en) | Micro-gyroscope self-adaptive dynamic sliding mode control system based on inversion design, and method | |
| Yan et al. | Adaptive control of MEMS gyroscope based on global terminal sliding mode controller | |
| CN110426952B (en) | High-precision drive control method for interval data learning MEMS gyroscope considering external interference | |
| CN110579966B (en) | Z-axis gyroscope control method based on neural network identification parameters | |
| CN107608216A (en) | MEMS gyroscope Hybrid Learning control method based on parallel estimation model | |
| CN107861384B (en) | MEMS Gyroscope Quick Start Method Based on Compound Learning | |
| CN110389527A (en) | Sliding Mode Control Method for MEMS Gyroscope Based on Heterogeneity Estimation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240821 Address after: 6-1, 6th Floor, Building H, Zhigu Science and Technology Complex, No. 186 Yangzijiang Middle Road, Yangzhou Economic and Technological Development Zone, Jiangsu Province, 225000 RMB Patentee after: Jiangsu Youbeijia Intelligent Technology Co.,Ltd. Country or region after: China Address before: 226019 Jiangsu city of Nantong province sik Road No. 9 Patentee before: NANTONG University Country or region before: China |
|
| TR01 | Transfer of patent right |