このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
オンライン パラメーター推定
コマンド ラインおよび Simulink® で再帰アルゴリズムを使用してモデル パラメーターを推定
リアルタイムのデータと再帰アルゴリズムを使用して、AR、ARMA、ARX、ARMAX、OE、または BJ モデルの係数のパラメーターを推定できます。また、再帰的最小二乗 (RLS) アルゴリズムを使用してモデルを推定することもできます。アルゴリズムの詳細については、Recursive Algorithms for Online Parameter Estimationを参照してください。
System Identification Toolbox™ ライブラリの Estimators サブライブラリにある Simulink ブロックを使用して、オンライン パラメーター推定を実行できます。これにより、Simulink Coder™ と Simulink PLC Coder™ を使用してこれらのブロックについて C/C++ コードとストラクチャード テキストを生成し、このコードを組み込みターゲットに展開できるようになります。オンライン推定をコマンド ラインで実行し、MATLAB® Compiler™ または MATLAB Coder を使用してコードを展開することも可能です。
関数
recursiveAR | Online parameter estimation of AR model |
recursiveARMA | Online parameter estimation of ARMA model |
recursiveARX | Online parameter estimation of ARX model |
recursiveARMAX | Online parameter estimation of ARMAX model |
recursiveBJ | Online parameter estimation of Box-Jenkins model |
recursiveOE | Online parameter estimation of output-error polynomial model |
recursiveLS | Online parameter estimation of least-squares model |
step | |
clone | |
reset | |
release | |
isLocked | |
rpem | Estimate general input-output models using recursive prediction-error minimization method |
rplr | Estimate general input-output models using recursive pseudolinear regression method |
segment | Segment data and estimate models for each segment |
ブロック
Recursive Least Squares Estimator | Estimate model coefficients using recursive least squares (RLS) algorithm |
Recursive Polynomial Model Estimator | Estimate input-output and time-series polynomial model coefficients |
Model Type Converter | Convert polynomial model coefficients to state-space model matrices |
トピック
オンライン推定の基礎
- What Is Online Estimation?
Estimate states and parameters of a system in real-time. - How Online Parameter Estimation Differs from Offline Estimation
Difference in data, algorithms, and estimation implementations. - Recursive Algorithms for Online Parameter Estimation
Forgetting factor, Kalman filter, gradient and unnormalized gradient, and finite-history algorithms for online parameter estimation.
Simulink でのオンライン パラメーター推定
- Preprocess Online Parameter Estimation Data in Simulink
Remove drift, offset, missing samples, seasonalities, equilibrium behavior, and outliers in your data. - オンラインの再帰的最小二乗推定
この例では、オンラインの再帰的最小二乗推定器を実装する方法を説明します。 - オンラインの ARMAX 多項式モデル推定
この例では、オンラインの多項式モデル推定器を実装する方法を説明します。 - Validate Online Parameter Estimation Results in Simulink
Examine estimation errors, parameter covariance, and difference between simulated and measured outputs.
コマンド ラインでのオンライン パラメーター推定
- Perform Online Parameter Estimation at the Command Line
Online parameter estimation using System Objects. - 時変システム ダイナミクスを追跡するための ARX によるオンライン パラメーター推定
時変 ARX モデルのオンライン パラメーター推定を MATLAB コマンド ラインで実行する。 - オンラインの再帰的最小二乗推定を使用した直線近似
この例では、MATLAB® コマンド ラインで再帰的推定アルゴリズムを使用して、直線近似のためのオンライン パラメーター推定を実行する方法を説明します。 - Validate Online Parameter Estimation at the Command Line
Examine estimation errors, parameter covariance, and difference between simulated and measured outputs. - Data Segmentation
Use of data segmentation to model systems exhibiting abrupt changes.
コード生成
- Generate Online Parameter Estimation Code in Simulink
Generate C/C++ code and Structured Text using Simulink Coder and Simulink PLC Coder products. - Generate Code for Online Parameter Estimation in MATLAB
Generate C/C++ code using MATLAB Coder software; limitations for System objects.
トラブルシューティング
Troubleshoot Online Parameter Estimation
Check your model, estimation data, estimation settings, and initial parameter values.