CN103176406B - A kind of continuous time filter converts the method for discrete time filter to - Google Patents
A kind of continuous time filter converts the method for discrete time filter to Download PDFInfo
- Publication number
- CN103176406B CN103176406B CN201310079304.7A CN201310079304A CN103176406B CN 103176406 B CN103176406 B CN 103176406B CN 201310079304 A CN201310079304 A CN 201310079304A CN 103176406 B CN103176406 B CN 103176406B
- Authority
- CN
- China
- Prior art keywords
- time
- discrete
- filter
- continuous
- time filter
- 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
Landscapes
- Feedback Control In General (AREA)
Abstract
本发明提供连续时间滤波器转换成离散时间滤波器的方法,采样被控系统输入量和输出量,利用辨识算法获得系统的连续时间模型;根据连续时间模型构建连续时间滤波器;根据连续时间滤波器方程中的系数、及离散系统的采用时间,采用偏微分方程的方法计算离散时间滤波器系数矩阵;构建离散时间滤波器结构。本方法对已设计得到的连续时间滤波器进行离散变换,得到离散时间滤波器,与当前的离散滤波器设计方法相比,减少了对被控对象进行离散化的过程和基于离散系统进行滤波器设计的过程,利用了基于连续时间系统滤波器设计理论的优势,设计不仅能够设计得到性能优异的滤波器,而且还能节省系统设计和开发时间,非常适合数字控制系统的工程实际应用。
The invention provides a method for converting a continuous time filter into a discrete time filter, sampling the input and output of the controlled system, and using the identification algorithm to obtain the continuous time model of the system; constructing a continuous time filter according to the continuous time model; The coefficients in the filter equation and the adoption time of the discrete system are calculated by the partial differential equation method to calculate the discrete-time filter coefficient matrix; the discrete-time filter structure is constructed. This method performs discrete transformation on the designed continuous-time filter to obtain a discrete-time filter. Compared with the current discrete filter design method, it reduces the process of discretization of the controlled object and the filter based on the discrete system. The design process takes advantage of the continuous-time system filter design theory. The design can not only design a filter with excellent performance, but also save system design and development time, which is very suitable for the practical application of digital control systems.
Description
技术领域technical field
本发明涉及钢铁冶金行业中工业自动控制系统设计领域,具体涉及一种连续时间滤波器转换成离散时间滤波器的方法。The invention relates to the design field of industrial automatic control systems in the iron and steel metallurgy industry, in particular to a method for converting a continuous time filter into a discrete time filter.
技术背景technical background
经典控制理论和现代控制理论都是以连续时间模型为研究对象,很多成熟的滤波器设计理论也是基于连续时间滤波器结构进行设计的,而当前已经进入数字控制时代,连续时间形式的滤波器需要转换成离散时间形式才能应用于实际。目前离散时间滤波器设计有专门的设计方法,但是那些设计方法的基础是离散时间的被控对象模型,而且滤波器特性设计也必须转换成离散系统中的形式,对于设计者来说往往带来不便。Both classical control theory and modern control theory take the continuous-time model as the research object. Many mature filter design theories are also designed based on the continuous-time filter structure. Now that we have entered the era of digital control, continuous-time filters require Converting to discrete time form can be applied in practice. At present, there are special design methods for discrete-time filter design, but the basis of those design methods is the discrete-time controlled object model, and the filter characteristic design must also be converted into the form in the discrete system, which often brings inconvenient.
发明内容Contents of the invention
本发明要解决的技术问题是:提供一种连续时间滤波器转换成离散时间滤波器的方法,既不影响对连续时间被控对象的分析,又能将设计得到的滤波器应用于数字控制系统中。The technical problem to be solved by the present invention is to provide a method for converting a continuous-time filter into a discrete-time filter, which does not affect the analysis of the controlled object in continuous time, and can apply the designed filter to a digital control system middle.
本发明为解决上述技术问题所采取的技术方案为:一种连续时间滤波器转换成离散时间滤波器的方法,其特征在于:它包括以下步骤:The technical scheme that the present invention takes for solving the above-mentioned technical problem is: a kind of continuous time filter is converted into the method for discrete time filter, it is characterized in that: it comprises the following steps:
S1、采样被控系统输入量和输出量,利用辨识算法获得系统的连续时间模型;S1. Sampling the input and output of the controlled system, and using the identification algorithm to obtain the continuous time model of the system;
S2、根据连续时间模型构建连续时间滤波器;S2. Constructing a continuous-time filter according to the continuous-time model;
S3、根据连续时间滤波器方程中的系数、及离散系统的采用时间,采用偏微分方程的方法计算离散时间滤波器系数矩阵;S3. According to the coefficients in the continuous-time filter equation and the adoption time of the discrete system, the discrete-time filter coefficient matrix is calculated by the method of partial differential equations;
S4、构建离散时间滤波器结构。S4. Construct a discrete-time filter structure.
按上述方案,所述的步骤S1中,连续时间模型为
进一步的,所述的步骤S2中,构建的连续时间滤波器公式为:其中是x(t)的估计值,K是滤波器增益矩阵;Further, in the step S2, the constructed continuous time filter formula is: in is the estimated value of x(t), K is the filter gain matrix;
所述的步骤S3中,离散时间滤波器系数矩阵包括AD、BD、KD,In the step S3, the discrete-time filter coefficient matrix includes AD, BD, KD,
计算公式分别为:The calculation formulas are:
其中TS为离散系统的采样时间,t为积分时间变量;Where T S is the sampling time of the discrete system, and t is the integration time variable;
所述的步骤S4中构建的离散时间滤波器结构为:The discrete-time filter structure constructed in the described step S4 is:
其中为TS×k时刻系统估计状态,k为大于零的正实数。in Estimated state of the system at time T S ×k, k is a positive real number greater than zero.
本发明的有益效果为:本方法对已设计得到的连续时间滤波器进行离散变换,从而得到离散时间滤波器,与当前的离散滤波器设计方法相比,减少了对被控对象进行离散化的过程和基于离散系统进行滤波器设计的过程,利用了基于连续时间系统滤波器设计理论的优势,设计不仅能够设计得到性能优异的滤波器,而且还能节省系统设计和开发时间,非常适合数字控制系统的工程实际应用。The beneficial effects of the present invention are: the method performs discrete transformation on the designed continuous-time filter to obtain a discrete-time filter. Process and process of filter design based on discrete system, taking advantage of the advantages of filter design theory based on continuous time system, the design can not only design a filter with excellent performance, but also save system design and development time, very suitable for digital control System engineering practical application.
附图说明Description of drawings
图1为本发明一实施例的流程图。Fig. 1 is a flowchart of an embodiment of the present invention.
图2为无功补偿装置第一种状态估计值曲线。Fig. 2 is the first state estimation value curve of the reactive power compensation device.
图3为无功补偿装置第二种状态估计值曲线。Fig. 3 is the second state estimation value curve of the reactive power compensation device.
图4为无功补偿装置输出无功功率曲线与估计输出曲线。Fig. 4 is the output reactive power curve and the estimated output curve of the reactive power compensation device.
具体实施方式Detailed ways
图1为本发明一实施例的流程图,它包括以下步骤:S1、采样被控系统输入量和输出量,利用辨识算法获得系统的连续时间模型;S2、根据连续时间模型构建连续时间滤波器;S3、根据连续时间滤波器方程中的系数、及离散系统的采用时间,采用偏微分方程的方法计算离散时间滤波器系数矩阵;S4、构建离散时间滤波器结构。Fig. 1 is the flow chart of an embodiment of the present invention, and it comprises the following steps: S1, sample controlled system input quantity and output quantity, utilize the identification algorithm to obtain the continuous time model of system; S2, construct continuous time filter according to continuous time model ; S3. According to the coefficients in the continuous-time filter equation and the adoption time of the discrete system, the discrete-time filter coefficient matrix is calculated by the method of partial differential equations; S4. The discrete-time filter structure is constructed.
步骤S1中,连续时间模型为
步骤S2中,构建的连续时间滤波器公式为:其中是x(t)的估计值,K是滤波器增益矩阵。In step S2, the continuous time filter formula constructed is: in is the estimated value of x(t), and K is the filter gain matrix.
步骤S3中,离散时间滤波器系数矩阵包括AD、BD、KD,In step S3, the discrete-time filter coefficient matrix includes AD, BD, KD,
计算公式分别为:The calculation formulas are:
其中TS为离散系统的采样时间,t为积分时间变量。Where T S is the sampling time of the discrete system, and t is the integration time variable.
所述的步骤S4中构建的离散时间滤波器结构为:The discrete-time filter structure constructed in the described step S4 is:
其中为TS×k时刻系统估计状态,k为大于零的正实数。in Estimated state of the system at time T S ×k, k is a positive real number greater than zero.
下面结合具体实例对本发明做进一步说明。The present invention will be further described below in conjunction with specific examples.
某钢厂6.5kV母线上接有一台TCR型无功补偿装置,每相电抗电感量L=18.7mH,利用开环控制对补偿装置进行模型辨识实验,采样1秒钟内晶闸管控制角u(t)和系统输出的无功功率y(t),采样周期为TS=0.0001秒,利用连续时间状态方程辨识方法获得无功补偿装置系统模型为:A TCR-type reactive power compensation device is connected to a 6.5kV bus in a steel factory. The reactance and inductance of each phase is L=18.7mH. The open-loop control is used to conduct a model identification experiment on the compensation device, and the thyristor control angle u(t ) and the reactive power y(t) output by the system, the sampling period is T S =0.0001 second, and the system model of the reactive power compensation device obtained by using the continuous time state equation identification method is:
按照卡尔曼滤波器设计方法可得卡尔曼布希滤波器增益矩阵K为:According to the Kalman filter design method, the Kalman-Busch filter gain matrix K can be obtained as:
则按照步骤S2构造卡尔曼布希滤波器,其表达式为:Then construct the Kalman-Busch filter according to step S2, and its expression is:
将上述卡尔曼布希滤波器化简可得:Simplify the Kalman-Busch filter above to get:
上述矩阵
系数矩阵BD:Coefficient matrix BD:
系数矩阵KD:Coefficient matrix KD:
在获得上述离散系数矩阵AD、BD、KD的基础上,便可以构造离散时间形式的卡尔曼布希滤波器,其结构如下:On the basis of obtaining the above discrete coefficient matrices AD, BD, KD, the Kalman-Busch filter in discrete time form can be constructed, and its structure is as follows:
为了验证本发明提出的离散时间滤波器转换方法的正确性,本文将上述转换得到的离散形式滤波器代入实际系统进行测试,获得了如附图2和附图3所示的2种状态估计曲线,由于估计的系统状态无法与实际的状态之间进行对比,为了验证观测值与实际值之间的误差,将根据估计状态计算得到的估计输出与实际输出进行了对比,其曲线如附图4所示。In order to verify the correctness of the discrete-time filter conversion method proposed by the present invention, this paper substitutes the discrete-time filter obtained by the above conversion into the actual system for testing, and obtains two state estimation curves as shown in accompanying drawings 2 and 3 , since the estimated system state cannot be compared with the actual state, in order to verify the error between the observed value and the actual value, the estimated output calculated according to the estimated state Compared with the actual output, the curve is shown in Figure 4.
从附图4中可以发现,估计得到的输出值与实际的输出值之间几乎重合,足以表明离散化的卡尔曼布希滤波器具有很好的估计效果,完全具有基于连续时间系统设计得到的状态观测性能,验证了本发明提出的连续滤波器转换成离散时间滤波器的方法的正确性和科学性。From Figure 4, it can be found that the estimated output value almost coincides with the actual output value, which is enough to show that the discretized Kalman-Busch filter has a good estimation effect, which is completely consistent with that obtained based on the continuous-time system design. The state observation performance verifies the correctness and scientificity of the method for converting the continuous filter into the discrete time filter proposed by the present invention.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310079304.7A CN103176406B (en) | 2013-03-13 | 2013-03-13 | A kind of continuous time filter converts the method for discrete time filter to |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310079304.7A CN103176406B (en) | 2013-03-13 | 2013-03-13 | A kind of continuous time filter converts the method for discrete time filter to |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103176406A CN103176406A (en) | 2013-06-26 |
| CN103176406B true CN103176406B (en) | 2015-09-02 |
Family
ID=48636362
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310079304.7A Active CN103176406B (en) | 2013-03-13 | 2013-03-13 | A kind of continuous time filter converts the method for discrete time filter to |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103176406B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1246988A (en) * | 1997-02-10 | 2000-03-08 | 艾利森电话股份有限公司 | Programmable analog bandpass filtering apparatus and method and design method for discrete time filter |
| CN1262812A (en) * | 1998-01-26 | 2000-08-09 | 皇家菲利浦电子有限公司 | Time discrete filter |
| US20090086989A1 (en) * | 2007-09-27 | 2009-04-02 | Fujitsu Limited | Method and System for Providing Fast and Accurate Adaptive Control Methods |
| CN102944994A (en) * | 2012-12-09 | 2013-02-27 | 冶金自动化研究设计院 | Robust fuzzy control method for hydraulic loop based on uncertain discrete model |
-
2013
- 2013-03-13 CN CN201310079304.7A patent/CN103176406B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1246988A (en) * | 1997-02-10 | 2000-03-08 | 艾利森电话股份有限公司 | Programmable analog bandpass filtering apparatus and method and design method for discrete time filter |
| CN1262812A (en) * | 1998-01-26 | 2000-08-09 | 皇家菲利浦电子有限公司 | Time discrete filter |
| US20090086989A1 (en) * | 2007-09-27 | 2009-04-02 | Fujitsu Limited | Method and System for Providing Fast and Accurate Adaptive Control Methods |
| CN102944994A (en) * | 2012-12-09 | 2013-02-27 | 冶金自动化研究设计院 | Robust fuzzy control method for hydraulic loop based on uncertain discrete model |
Non-Patent Citations (1)
| Title |
|---|
| 基于微型编码器的点击LQG控制器设计方法;李琳,厉明,艾华;《传感技术学报》;20100630;第23卷(第6期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103176406A (en) | 2013-06-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104698846B (en) | A kind of specified performance back stepping control method of mechanical arm servo-drive system | |
| CN107168071B (en) | A kind of nonlinear system Auto-disturbance-rejection Control based on interference observer | |
| Adhikari et al. | A spectral approach for fuzzy uncertainty propagation in finite element analysis | |
| CN103066866B (en) | Active front end rectifier filtering delay compensation method based on model prediction controlling | |
| CN106597308A (en) | Power cell residual electricity quantity estimation method | |
| CN107168072A (en) | A kind of non-matching interference system Auto-disturbance-rejection Control based on interference observer | |
| CN105510032B (en) | Made an uproar based on humorous than the deconvolution method of guidance | |
| CN102540882A (en) | Aircraft track inclination angle control method based on minimum parameter studying method | |
| CN105182755B (en) | A kind of fractional order predictive functional control algorithm of industry heating furnace system | |
| CN106227964A (en) | Nonlinear systems with hysteresis parameter identification method based on extended state observer | |
| CN104267596A (en) | Finite-time decoupling control method of cart inverted pendulum system | |
| CN107991877A (en) | A kind of Dynamic Model Identification method and system based on Recognition with Recurrent Neural Network | |
| CN103606936A (en) | H-bridge cascading STATCOM dead-beat control method based on discrete state observer and discrete sliding-mode observer | |
| CN105159065A (en) | Stability determination method of non-linear active-disturbance-rejection control system | |
| CN104570740A (en) | Periodic adaptive learning control method of input saturation mechanical arm system | |
| CN103199546B (en) | Optimal secondary regulator of dynamic reactive power compensation device and design method thereof | |
| CN106526359A (en) | Prony algorithm and ill-conditioned data analysis-based power grid low-frequency oscillation on-line detection algorithm | |
| CN102403731B (en) | Simulation method for generation system of micro turbine | |
| CN106354929A (en) | Bearing structure load-carrying path visualization method based on rigidity change principle | |
| CN103176406A (en) | Method for transforming continuous-time filter to discrete-time filter | |
| CN113268829B (en) | Method for estimating fatigue damage of mechanical part by sine frequency sweep vibration | |
| CN103166233B (en) | Continuous time state estimation method based on Kalman-Bucy filter | |
| CN107342750A (en) | Fractional delay optimization method suitable for more Nyquist areas and its realize structure | |
| CN106773782A (en) | A kind of aeroelastic divergence hybrid modeling method | |
| CN106055797A (en) | Modeling and parameter identification method for nonlinear broadband piezoelectric energy harvesting system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |