org.mklab.tool.control
クラス Ramp

java.lang.Object
  上位を拡張 org.mklab.tool.control.Ramp

public class Ramp
extends Object

連続時間線形システムのランプ応答を求めるクラスです。

Ramp response of continuous-time linear systems

バージョン:
$Revision: 1.24 $
作成者:
koga
関連項目:
Step, Impulse

コンストラクタの概要
Ramp()
           
 
メソッドの概要
static void main(String[] args)
          メインメソッド
static Gnuplot plot(Gnuplot gnuplot, Matrix numerator, Matrix denominator, DoubleMatrix T)
          単位ランプ応答をプロットします。
static Gnuplot plot(Gnuplot gnuplot, Matrix A, Matrix B, Matrix C, Matrix D, int inputNumber, DoubleMatrix T)
          単位ランプ応答をプロットします。
static Gnuplot plot(Gnuplot gnuplot, RationalPolynomial g, DoubleMatrix T)
          単位ランプ応答をプロットします。
static Gnuplot plot(Gnuplot gnuplot, RationalPolynomialMatrix G, int inputNumber, DoubleMatrix T)
          単位ランプ応答をプロットします。
static Gnuplot plot(Matrix numerator, Matrix denominator, DoubleMatrix T)
           
static Gnuplot plot(Matrix A, Matrix B, Matrix C, Matrix D, int inputNumber, DoubleMatrix T)
           
static Gnuplot plot(RationalPolynomial g, DoubleMatrix T)
           
static Gnuplot plot(RationalPolynomialMatrix G, int inputNumber, DoubleMatrix T)
           
static List<Matrix> ramp(LinearSystem system, Matrix T)
          単位ランプ応答を計算します。
static List<Matrix> ramp(Matrix numerator, Matrix denominator, Matrix T)
          単位ランプ応答を計算します。
static List<Matrix> ramp(Matrix A, Matrix B, Matrix C, Matrix D, int inputNumber, Matrix T)
          連続時間システム . x = Ax + Bu y = Cx + Du inputNumber 番目の入力に単位ランプ入力が加えられた 場合のランプ応答を求めます。
static List<Matrix> ramp(RationalPolynomial g, Matrix T)
          単位ランプ応答を計算します。
static List<Matrix> ramp(RationalPolynomialMatrix G, int inputNumber, Matrix T)
          単位ランプ応答を計算します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Ramp

public Ramp()
メソッドの詳細

main

public static void main(String[] args)
                 throws InterruptedException,
                        IOException
メインメソッド

パラメータ:
args - コマンドライン引数
例外:
IOException - キーボードから入力できない場合
InterruptedException - キャンセルボタンが押された場合

ramp

public static List<Matrix> ramp(Matrix A,
                                Matrix B,
                                Matrix C,
                                Matrix D,
                                int inputNumber,
                                Matrix T)
連続時間システム

 
 . x = Ax + Bu y = Cx + Du
 
 
inputNumber 番目の入力に単位ランプ入力が加えられた 場合のランプ応答を求めます。

もし inputNumber = 0なら、


 
 [[Y for 1st input] [[X for 1st input] [Y for 2nd input] [X for 2nd input] [...............] [...............] [Y for m'th input]] と [Y for m'th input]].
 
 
を返します。

パラメータ:
A - A行列
B - B行列
C - C行列
D - D行列
inputNumber - 入力番号
T - 時刻の列(等間隔)
戻り値:
{YY, XX} (出力と状態の応答) response

ramp

public static List<Matrix> ramp(LinearSystem system,
                                Matrix T)
単位ランプ応答を計算します。

パラメータ:
system - 線形システム
T - 時刻の列
戻り値:
{YY, XX} (出力と状態の応答) response

ramp

public static List<Matrix> ramp(RationalPolynomial g,
                                Matrix T)
単位ランプ応答を計算します。

パラメータ:
g - 伝達関数
T - 時刻の列
戻り値:
{YY, XX} (出力と状態の応答) response

ramp

public static List<Matrix> ramp(RationalPolynomialMatrix G,
                                int inputNumber,
                                Matrix T)
単位ランプ応答を計算します。

パラメータ:
G - 伝達関数行列
inputNumber - 入力番号
T - 評価する時刻の列
戻り値:
{YY, XX} (出力と状態の応答) response

ramp

public static List<Matrix> ramp(Matrix numerator,
                                Matrix denominator,
                                Matrix T)
単位ランプ応答を計算します。

パラメータ:
numerator - 伝達関数の分子多項式の係数
denominator - 伝達関数の分母多項式の係数
T - 評価する時刻の列
戻り値:
{YY, XX} (出力と状態の応答) response

plot

public static Gnuplot plot(RationalPolynomial g,
                           DoubleMatrix T)
                    throws IOException
パラメータ:
g - 伝達関数
T - 評価する時刻の列
戻り値:
Gnuplot
例外:
IOException - gnuplotプロセスを起動できない場合

plot

public static Gnuplot plot(Gnuplot gnuplot,
                           RationalPolynomial g,
                           DoubleMatrix T)
単位ランプ応答をプロットします。

パラメータ:
gnuplot - gnuplot
g - 伝達関数
T - 評価する時刻の列
戻り値:
Gnuplot

plot

public static Gnuplot plot(Matrix numerator,
                           Matrix denominator,
                           DoubleMatrix T)
                    throws IOException
パラメータ:
numerator - 分子多項式の係数
denominator - 分母多項式の係数
T - 評価する時刻の列
戻り値:
Gnuplot
例外:
IOException - gnuplotプロセスを起動できない場合

plot

public static Gnuplot plot(Gnuplot gnuplot,
                           Matrix numerator,
                           Matrix denominator,
                           DoubleMatrix T)
単位ランプ応答をプロットします。

パラメータ:
gnuplot - gnuplot
numerator - 分子多項式の係数
denominator - 分母多項式の係数
T - 評価する時刻の列
戻り値:
Gnuplot

plot

public static Gnuplot plot(RationalPolynomialMatrix G,
                           int inputNumber,
                           DoubleMatrix T)
                    throws IOException
パラメータ:
G - 伝達関数行列
inputNumber - 入力番号
T - 評価する時刻の列
戻り値:
Gnuplot
例外:
IOException - gnuplotプロセスを起動できない場合

plot

public static Gnuplot plot(Gnuplot gnuplot,
                           RationalPolynomialMatrix G,
                           int inputNumber,
                           DoubleMatrix T)
単位ランプ応答をプロットします。

パラメータ:
gnuplot - gnuplot
G - 伝達関数ぎょうれう
inputNumber - 入力番号
T - 評価する時刻の列
戻り値:
Gnuplot

plot

public static Gnuplot plot(Matrix A,
                           Matrix B,
                           Matrix C,
                           Matrix D,
                           int inputNumber,
                           DoubleMatrix T)
                    throws IOException
パラメータ:
A - A行列
B - B行列
C - C行列
D - D行列
inputNumber - 入力番号
T - 評価する時刻の列
戻り値:
Gnuplot
例外:
IOException - gnuplotプロセスを起動できない場合

plot

public static Gnuplot plot(Gnuplot gnuplot,
                           Matrix A,
                           Matrix B,
                           Matrix C,
                           Matrix D,
                           int inputNumber,
                           DoubleMatrix T)
単位ランプ応答をプロットします。

パラメータ:
gnuplot - gnuplot
A - A行列
B - B行列
C - C行列
D - D行列
inputNumber - 入力番号
T - 評価する時刻の列
戻り値:
Gnuplot