CN113467236B - Method for time lag compensation of error signal - Google Patents

Method for time lag compensation of error signal Download PDF

Info

Publication number
CN113467236B
CN113467236B CN202110671903.2A CN202110671903A CN113467236B CN 113467236 B CN113467236 B CN 113467236B CN 202110671903 A CN202110671903 A CN 202110671903A CN 113467236 B CN113467236 B CN 113467236B
Authority
CN
China
Prior art keywords
error signal
time
lag
channel
estimation model
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.)
Expired - Fee Related
Application number
CN202110671903.2A
Other languages
Chinese (zh)
Other versions
CN113467236A (en
Inventor
马召召
高伟鹏
杨庆超
柴凯
刘树勇
楼京俊
周瑞平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University of Technology WUT
Naval University of Engineering PLA
Original Assignee
Wuhan University of Technology WUT
Naval University of Engineering PLA
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan University of Technology WUT, Naval University of Engineering PLA filed Critical Wuhan University of Technology WUT
Priority to CN202110671903.2A priority Critical patent/CN113467236B/en
Publication of CN113467236A publication Critical patent/CN113467236A/en
Application granted granted Critical
Publication of CN113467236B publication Critical patent/CN113467236B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B13/00Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
    • G05B13/02Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
    • G05B13/04Adaptive 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/042Adaptive 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/10Numerical modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/12Timing analysis or timing optimisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention discloses a method for time lag compensation of error signals, which comprises the following steps: 1) Identifying a time-lag channel in a control system; identifying a primary channel and a secondary channel in a control system to obtain a primary channel estimation model P (z) and a secondary channel estimation model
Figure DDA0003119689720000011
2) Collecting controller output signal y (n) and error signal e in control process t (n) combining the channel estimation model to identify the time-lag channel filter on line to obtain a time-lag transfer function estimation model
Figure DDA0003119689720000012
3) According to
Figure DDA0003119689720000013
Calculating an inverse system B (z) and using it on the acquired error signal e t (n) inverse filtering to obtain the estimated value of the real error signal
Figure DDA0003119689720000014
4) According to the collected error signal e t (n) and true error signal estimate
Figure DDA0003119689720000015
Establishing a moving average model, and correcting the estimation error signal to obtain
Figure DDA0003119689720000016
And the error signal is used as a real error signal after time lag compensation and is put into a control system to control the iterative calculation of filter parameters. The method can improve the convergence speed and the control precision of the main control link.

Description

Method for time lag compensation of error signal
Technical Field
The invention belongs to the technical field of digital signal processing, and particularly relates to a time-lag compensation method for an error signal.
Background
The real-time performance of the transform domain block least mean square algorithm is poor, the convergence and the stability of the algorithm are influenced by the existence of time lag, and even if the self-adaptive algorithm has certain adaptive capacity to the time lag, the system time lag still needs to be compensated. The source of skew is mainly three-fold: 1. the acquisition and transmission process of signals between hardware; 2. carrying out operation processes of preprocessing and parameter iterative updating on the acquired signals; 3. and outputting the signal to an error signal sensor to acquire the signal. The first part is determined by the system hardware performance; the second part is related to the operation amount and the process by controlling the performance of the processor and the specific realization of an algorithm; the time lag caused by the third part is contained in the phase of the secondary channel, and the model is estimated
Figure BDA0003119689700000011
Filtering the reference signal may be considered to compensate for this time lag.
In a more complex control algorithm, the influence of time lag caused by complex filtering operation between a reference signal and an output signal on a control effect is large, even the situation of control divergence occurs, and online identification and compensation of the time lag are very necessary. In previous research, the influence of compensation time lag on a control system is roughly divided into two types: 1) Converting random time lag into fixed time delay, and designing a controller; 2) And (4) modeling and analyzing the random time delay, and compensating in an algorithm. Although the former has a simple structure, the problem of low precision exists when random time lag is converted into fixed time lag, and the application provides an inverse modeling control algorithm, and an error signal after compensation is estimated through a time sequence and is used for the operation of the output force of the whole control system.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for time lag compensation of errors aiming at the defects in the prior art, and the convergence speed and the control precision can be obviously improved.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method of time-lag compensation of an error signal, comprising the steps of:
1) Identifying a time-lag channel in a control system; identifying a primary channel and a secondary channel in a control system to obtain a primary channel estimation model P (z) and a secondary channel estimation model
Figure BDA0003119689700000012
2) Collecting controller output signal y (n) and error signal e in control process t (n) combining the channel estimation model to identify the time-lag channel filter on line to obtain a time-lag transfer function estimation model
Figure BDA0003119689700000021
3) According to
Figure BDA0003119689700000022
Calculating an inverse system B (z) and using it on the acquired error signal e t (n) inverse filtering to obtain the estimated value of the real error signal
Figure BDA0003119689700000023
4) In an actual control system, time lag is directly reflected on a time sequence, and in order to further improve the estimation precision of an error signal, the error signal e is acquired t (n) and true error signal estimate
Figure BDA0003119689700000024
Establishing a Moving Average (MA) model, and correcting the estimation error signal based on the time series model to obtain
Figure BDA0003119689700000025
And the real error signal after time lag compensation is used as a real error signal, and is put into a control system to control the iterative calculation of filter parameters.
According to the scheme, the primary channel estimation model P (z) and the secondary channel estimation model
Figure BDA0003119689700000026
And obtaining the result through an identification algorithm.
According to the scheme, the step 2)
Figure BDA0003119689700000027
Is updated by the formula
Figure BDA0003119689700000028
Wherein d (n) is the input signal of time-lag channel identification link, h t And (n) is an error signal of the time lag identification filter, and mu is an iteration step.
According to the above scheme, said step 4) further comprises estimating the true error signal
Figure BDA0003119689700000029
And correcting, wherein the correcting method comprises the following steps:
obtaining a weighting coefficient according to a moving average model and a least square recursion algorithm, and predicting a real error signal at n moments
Figure BDA00031196897000000210
Using it as a pair
Figure BDA00031196897000000211
Correction of (2):
according to the collected error signal e t (n) and an estimate of the true error signal
Figure BDA00031196897000000212
Establishing a moving average model with a mathematical expression of
Figure BDA00031196897000000213
In the formula, a i 、c i Is MA coefficient, M and N are MA model order,
Figure BDA00031196897000000214
is the corrected real error signal;
it is expressed in the form of least squares
Figure BDA0003119689700000031
Wherein
Figure BDA0003119689700000032
θ=[a 1 ,a 2 ,...a M ,c 0 ,c 1 ,...,c N ] T
Using a recursive least square method with forgetting factors to carry out parameter identification to obtain theta, and obtaining the estimation error in the step 3)
Figure BDA0003119689700000033
Is an objective function such that
Figure BDA0003119689700000034
Approximation
Figure BDA0003119689700000035
And amends it, the recursion algorithm is
Figure BDA0003119689700000036
Wherein δ is a forgetting factor.
The invention has the following beneficial effects: the method can approach a real time-lag channel with high precision; the time-lag prediction compensation can truly restore error signals, and further improves the convergence speed and the control precision of the main control link.
Drawings
FIG. 1 is a block diagram of a control system that accounts for time-lag in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of an on-line time lag estimation method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an error signal skew compensation process according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples below so that those skilled in the art can more clearly understand the present invention. The following should not be construed as limiting the scope of the claimed invention.
As shown in fig. 1, the control algorithm is affected by the existence of the time lag, and the effect of the time lag on the control system is regarded as a section of transfer path, the transfer function is T (z), the amplitude is basically unchanged, and the phase changes with the frequency. When the excitation frequency fluctuates, the time lag is a change parameter, which cannot be directly measured, and T (z) needs to be identified. In a more complex control algorithm, a complex filtering operation is performed between a reference signal and an output signal, so that the influence of time delay on a control effect is large, even the situation of control divergence occurs, and online identification and compensation of the time delay are very necessary.
A method of time-lag compensating an error signal, comprising the steps of:
1) Identifying a time-lag channel in a control system; identifying a primary channel and a secondary channel in a control system to obtain a primary channel estimation model P (z) and a secondary channel estimation model
Figure BDA0003119689700000041
As can be seen from FIG. 2, the error signal entering the controller is actually the error signal e passing through the skew path, according to the skew generation feature in the active control system t (n) the expression is shown in formula (1):
e t (n)=e(n)T(z)=d(n)T(z)+y(n)S(z)T(z) (1)
the error signal passing through the time-lag channel consists of two parts, namely a desired signal d (n) passing through the primary time-lag channel and an output signal y (n) S (z) filtered by the secondary channel, wherein d (n) is obtained by the reference signal x (n) passing through the primary channel P (z), and y (n) S (z) is obtained by the output signal y (n) passing through the secondary channel S (z); any part of the signals can be used as the signals passing through the time-lag channel, and the filter weight coefficient of the time-lag link can be obtained through the adaptive filter by only finding the corresponding signal component of the non-time-lag channel.
In an actual control system, a primary channel is only related to the system characteristics of the double-layer vibration isolation platform and generally does not change; the secondary channel is related to the output characteristic and the system characteristic of the actuator, the nonlinear influence factor is strong, even if the secondary channel is identified through a secondary channel identification algorithm, a certain identification error still exists, and the secondary channel characteristic can change along with the change of the working condition. From the aspects of calculation complexity and practical engineering application, d (n) is determined as a reference input signal of a time-lag identification link, d (n) T (z) is determined as a target signal of the time-lag identification link, see formula (2), and a filter weight coefficient of a time-lag channel is obtained through identification iteration of a self-adaptive filter.
d(n)T(z)=e t (n)-y(n)S(z)T(z) (2)
To obtain d (n) T (z), the secondary channel filtered output signal y (n) S (z) should be constructed first, and in practical control systems, the secondary channel S (z) is not strictly known, but only by using a discriminant model
Figure BDA0003119689700000042
Instead of that.
2) Controller output signal y (n) and error signal e in acquisition control process d (n) combining the channel estimation model to identify the time-lag channel filter on line to obtain a time-lag transfer function estimation model
Figure BDA0003119689700000051
Using time lag channel T (z) as time lag ring section identification filter weight coefficient
Figure BDA0003119689700000052
It is shown that the process of the present invention,
Figure BDA0003119689700000053
an estimation model regarded as T (z) takes d (n) as an input signal of a time-lag channel identification link,
Figure BDA0003119689700000054
as target signal, with h t (n) as an error signal for the time-lag discriminating filter
Figure BDA0003119689700000055
Without considering the identification error of the secondary channel, with the iteration of the lag filter weight coefficients,
Figure BDA0003119689700000056
continuously approaching to the actual time-lag channel T (z), and identifying error signal h t (n) approaches to zero, and the time-lag identification link is finished. The iteration of the lag filter weight coefficients is performed, still using the convergence criterion of the least mean square algorithm:
Figure BDA0003119689700000057
in the formula, d (n) = x (n) P (z). Therefore, before performing skew channel on-line identification, the primary channel P (z) needs to be identified, and the identification result is put into the skew identification.
3) According to
Figure BDA0003119689700000058
Calculating an inverse system B (z) and using it on the acquired error signal e d (n) inverse filtering to obtain the estimated value of the real error signal
Figure BDA0003119689700000059
The time lag compensation algorithm is as shown in fig. 3, the acquired error signal can be regarded as a real error signal, the time lag channel filtering is carried out, in order to restore the real error signal, the inverse filtering is carried out before the real error signal enters the control algorithm, and the used filter B (z) meets the following requirements:
Figure BDA00031196897000000510
in the formula, a time lag estimation filter is used
Figure BDA00031196897000000511
Instead of a true skew path. Namely that
Figure BDA00031196897000000512
To e t (n) inverse filtering to obtain the estimated value of the actual error signal e (n)
Figure BDA0003119689700000061
The estimated value of the real error signal can be obtained by the formula (4.2.11). In an actual control system, time lag can be visually represented in a time sequence, and an error signal e (n) at the time n is acquired at the time n + tau.
4) Obtaining a weighting coefficient according to the MA model and the least square recursive algorithm, and predicting a real error signal at n moments
Figure BDA0003119689700000062
Using it as a pair
Figure BDA0003119689700000063
Is corrected to obtain
Figure BDA0003119689700000064
And putting the error signal into a control system as a real error signal to control the iterative calculation of filter parameters.
In order to further improve the estimation accuracy of the error signal, the estimated error signal is corrected based on a time series model.
According to the collected error signal e t (n) and an estimate of the true error signal
Figure BDA0003119689700000065
Building a Moving Average (MA) model, mathematical expressions can be written as
Figure BDA0003119689700000066
In the formula, a i 、c i Is MA coefficient, M and N are model orders (taking positive integer),
Figure BDA0003119689700000067
is the corrected true error signal.
It is expressed in least squares form
Figure BDA0003119689700000068
Wherein
Figure BDA0003119689700000069
θ=[a 1 ,a 2 ,...a M ,c 0 ,c 1 ,...,c N ] T
Using a recursive least square method with forgetting factors to identify parameters to obtain theta, and taking the estimation error obtained by the formula (7) as a target function to ensure that
Figure BDA00031196897000000610
Approximation
Figure BDA00031196897000000611
And corrects it. The recursion algorithm is
Figure BDA0003119689700000071
In the formula, delta is a forgetting factor, and the value range is generally more than 0.96 and less than 0.99.
The above embodiments are only for illustrating the technical idea and features of the present invention, and the purpose of the present invention is to enable those skilled in the art to understand the content of the present invention and implement the present invention, and not to limit the protection scope of the present invention by this means. All equivalent changes and modifications made according to the spirit of the present invention should be covered in the protection scope of the present invention.

Claims (3)

1. A method of skew compensating an error signal, comprising the steps of:
1) Identifying a time-lag channel in a control system; identifying a primary channel and a secondary channel in a control system to obtain a primary channel estimation model P (z) and a secondary channel estimation model
Figure FDA0003719353840000011
2) Controller output signal y (n) and error signal e in acquisition control process t (n) combining the channel estimation model to identify the time-lag channel filter on line to obtain a time-lag transfer function estimation model
Figure FDA0003719353840000012
Figure FDA0003719353840000013
The update formula of (2) is:
Figure FDA0003719353840000014
wherein d (n) is input signal of time-lag channel identification link, h t (n) is an error signal of the time lag identification filter, and mu is an iteration step length;
3) According to
Figure FDA0003719353840000015
Calculating an inverse system B (z) and using it on the acquired error signal e t (n) inverse filtering to obtain the estimated value of the real error signal
Figure FDA0003719353840000016
4) According to the collected error signal e t (n) and true error signal estimate
Figure FDA0003719353840000017
Establishing a moving average model, and correcting the estimation error signal to obtain
Figure FDA0003719353840000018
And the real error signal after time lag compensation is used as a real error signal, and is put into a control system to control the iterative calculation of filter parameters.
2. The method for skew compensation of an error signal of claim 1, wherein said primary channel estimation model P (z) and secondary channel estimation model P (z)
Figure FDA0003719353840000019
And obtaining the result through an identification algorithm.
3. A method of skew compensation for an error signal according to claim 1, wherein the estimated error signal is modified in step 4) by:
obtaining a weighting coefficient according to a moving average model and a least square recursion algorithm, and predicting a real error signal at n moments
Figure FDA0003719353840000021
Use it as a pair
Figure FDA0003719353840000022
Correction of (2):
according to the collected error signal e t (n) and an estimate of the true error signal
Figure FDA0003719353840000023
Establishing a moving average model with a mathematical expression of
Figure FDA0003719353840000024
In the formula, a i 、c i Is MA coefficient, M and N are MA model order,
Figure FDA0003719353840000025
is the corrected real error signal;
it is expressed in the form of least squares
Figure FDA0003719353840000026
Wherein
Figure FDA0003719353840000027
θ=[a 1 ,a 2 ,...a M ,c 0 ,c 1 ,...,c N ] T
Using a recursive least square method with forgetting factors to carry out parameter identification to obtain theta, and obtaining the estimation error in the step 3)
Figure FDA0003719353840000028
Is an objective function such that
Figure FDA0003719353840000029
Approximation
Figure FDA00037193538400000210
And amends it, the recursion algorithm is
Figure FDA00037193538400000211
Wherein δ is a forgetting factor.
CN202110671903.2A 2021-06-17 2021-06-17 Method for time lag compensation of error signal Expired - Fee Related CN113467236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110671903.2A CN113467236B (en) 2021-06-17 2021-06-17 Method for time lag compensation of error signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110671903.2A CN113467236B (en) 2021-06-17 2021-06-17 Method for time lag compensation of error signal

Publications (2)

Publication Number Publication Date
CN113467236A CN113467236A (en) 2021-10-01
CN113467236B true CN113467236B (en) 2022-10-21

Family

ID=77870380

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110671903.2A Expired - Fee Related CN113467236B (en) 2021-06-17 2021-06-17 Method for time lag compensation of error signal

Country Status (1)

Country Link
CN (1) CN113467236B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114459712B (en) * 2022-01-11 2023-12-29 东南大学 Earthquake simulation vibrating table experimental compensation method based on autoregressive model
CN114900401B (en) * 2022-03-24 2024-09-20 重庆邮电大学 DFMA-PONs-oriented channel interference elimination method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924533A (en) * 2010-07-19 2010-12-22 浙江工业大学 Multivariable time-lag parameter estimation method based on FIR (Finite Impulse Response) model identification
KR20110062291A (en) * 2009-12-03 2011-06-10 한국과학기술원 Time delay control with gradient estimator for robot manipulator and robot manipulator controller using the same
JP2015197941A (en) * 2014-04-03 2015-11-09 ヤマハ株式会社 Sampling frequency estimation device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945470A (en) * 2006-11-02 2007-04-11 上海交通大学 Two freedom decoupling smith pre-evaluating control system of industrial multiple variable time lag process
CN101286044B (en) * 2008-05-12 2010-06-16 杭州电子科技大学 Coal-burning boiler system steam-temperature mixing modeling method
CN105467844A (en) * 2016-01-22 2016-04-06 陈昊哲 Boiler overheating steam temperature control method based on Neuron identification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110062291A (en) * 2009-12-03 2011-06-10 한국과학기술원 Time delay control with gradient estimator for robot manipulator and robot manipulator controller using the same
CN101924533A (en) * 2010-07-19 2010-12-22 浙江工业大学 Multivariable time-lag parameter estimation method based on FIR (Finite Impulse Response) model identification
JP2015197941A (en) * 2014-04-03 2015-11-09 ヤマハ株式会社 Sampling frequency estimation device

Also Published As

Publication number Publication date
CN113467236A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN113467236B (en) Method for time lag compensation of error signal
CN108205259B (en) Composite control system based on linear extended state observer and design method thereof
CN108363301B (en) Contour error cross-coupling control method based on interference observation sliding mode variable structure
CN110119588B (en) On-line optimization design method based on extended Kalman filtering state estimation value
CN109946979B (en) Self-adaptive adjusting method for sensitivity function of servo system
CN112731814B (en) Helicopter vibration active control method based on self-adaptive harmonic recognition frequency response correction
CN108181617B (en) Filtering method of non-linear frequency modulation system based on tensor product model transformation
CN114371618B (en) Neural network-based extended state observer compensation method and active disturbance rejection controller
CN113093540B (en) Sliding mode disturbance observer design method based on wavelet threshold denoising
CN110989353B (en) Design method of periodic disturbance observer
CN113110021B (en) Method for identifying servo system and designing controller
CN113851104B (en) Feedback type active noise control system and method containing secondary channel online identification
CN111222214A (en) Improved strong tracking filtering method
CN109885807A (en) Weighting latest estimated linear least squares method method of the Hammerstein system under white noise acoustic jamming
CN115685128A (en) Radar target tracking algorithm and electronic equipment under maneuvering target scene
CN112684710B (en) Light beam jitter suppression method based on LQG + PI mixed control strategy
CN111077782B (en) Continuous system U model disturbance rejection controller design method based on standard
CN114519262A (en) Air target threat prediction method based on improved GM (1,1) model
CN113867155B (en) Disturbance identification and self-adaptive compensation method suitable for photoelectric tracking system
CN114859722B (en) Fuzzy self-adaptive fault-tolerant control method for time-lag nonlinear solidification process system
CN115951364B (en) Method for improving positioning accuracy of piezoelectric type rapid steering mirror platform
CN114878900B (en) Adaline neural network and FFT (fast Fourier transform) compensated flicker value measurement method
CN113724680B (en) Active noise control algorithm based on maximum correlation entropy criterion
CN117347993A (en) Noise self-adaptive estimation method and system for radar track tracking
CN114266103A (en) Aircraft parameter and noise characteristic online estimation method and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20221021