メインコンテンツ

外観検査用のタイヤ データのプロット

plot関数を使用して、tireDataオブジェクトに保存されているデータを視覚的に検査します。まず、Tyre Data Exchange Format (TYDEX) v1.3 ファイルからタイヤ データをインポートします。次に、plot 関数で引数を指定して、さまざまなプロット ビューをカスタマイズします。

この例では、Extended Tire Features for Vehicle Dynamics Blockset™ サポート パッケージが必要です。サポート パッケージのインストールを参照してください。

タイヤ データのインポート

タイヤ データが格納された TYDEX のファイル名から string 配列を作成します。

tirepath = fullfile(pwd);
tydexdir = dir(fullfile(tirepath,"data_tydex_files","*.tdx"));
tydexstr = join([{tydexdir.folder}',{tydexdir.name}'],filesep);

string 配列 tydexstr で指定されているファイルから、tireData オブジェクトの配列へ、タイヤ データをインポートします。tireData オブジェクトの配列の長さは、入力 string 配列と同じ長さです。各ファイルのデータは tireData オブジェクトに保存されます。許可されているタイヤ データの詳細については、タイヤ データの例を参照してください。

td = tireData(tydexstr);

タイヤ データの自動プロット

tireData オブジェクトの配列を、入力引数を指定せずにプロットします。入力引数DataVariableNamesを指定しない場合、plot 関数は、データに関連付けられているテスト手順に共通のプロットを自動的に生成します。

タイヤ テストのすべてのタイプがサポートされているわけではないことに注意してください。

plot(td)

Figure contains 80 axes objects and another object of type uitabgroup. Axes object 1 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 2 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 3 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 4 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6500. Axes object 5 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 6 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 7 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 8 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5180, 6480. Axes object 9 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 10 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 11 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 12 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 13 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 14 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 15 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 16 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 17 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 18 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 19 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 20 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5180, 6480. Axes object 21 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 22 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 23 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 24 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 25 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5160, 6470. Axes object 26 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5160, 6470. Axes object 27 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5160, 6470. Axes object 28 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4310, 5160, 6470. Axes object 29 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 30 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 31 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 32 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500. Axes object 33 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4340, 5200, 6510. Axes object 34 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4340, 5200, 6510. Axes object 35 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4340, 5200, 6510. Axes object 36 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4340, 5200, 6510. Axes object 37 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 5210, 6500. Axes object 38 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 5210, 6500. Axes object 39 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 5210, 6500. Axes object 40 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 5210, 6500. Axes object 41 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 2190, 5220. Axes object 42 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 2190, 5220. Axes object 43 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 2190, 5220. Axes object 44 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 2 objects of type line. One or more of the lines displays its values using only markers These objects represent 2190, 5220. Axes object 45 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 46 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 47 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 48 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4320, 5170, 6480. Axes object 49 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 50 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 51 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 52 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5190, 6490. Axes object 53 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 54 with title Lateral force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 55 with title Self-aligning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 56 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2170, 4350, 5210, 6510. Axes object 57 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5170, 6460. Axes object 58 with xlabel Longitudinal slip [], ylabel Lateral force [N] contains an object of type text. Axes object 59 with xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains an object of type text. Axes object 60 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5170, 6460. Axes object 61 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4280, 5170, 6460. Axes object 62 with xlabel Longitudinal slip [], ylabel Lateral force [N] contains an object of type text. Axes object 63 with xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains an object of type text. Axes object 64 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4280, 5170, 6460. Axes object 65 with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4310, 5170, 6460. Axes object 66 with xlabel Longitudinal slip [], ylabel Lateral force [N] contains an object of type text. Axes object 67 with xlabel Longitudinal slip [], ylabel Self-aligning moment [Nm] contains an object of type text. Axes object 68 with title Overturning moment [Nm] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4310, 5170, 6460. Axes object 69 with title Lateral force [N] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 70 with title Self-aligning moment [Nm] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 71 with title Overturning moment [Nm] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6460. Axes object 72 with title Lateral force [N] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4270, 5160, 6460. Axes object 73 with title Self-aligning moment [Nm] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4270, 5160, 6460. Axes object 74 with title Overturning moment [Nm] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4270, 5160, 6460. Axes object 75 with title Lateral force [N] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Lateral force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6450. Axes object 76 with title Self-aligning moment [Nm] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Self-aligning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6450. Axes object 77 with title Overturning moment [Nm] vs Slip angle [rad], xlabel Slip angle [rad], ylabel Overturning moment [Nm] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4300, 5160, 6450. Axes object 78 with title Friction Plot Inclination angle [rad] = 0.105, xlabel Lateral force [N], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2140, 4310, 5180, 6480. Axes object 79 with title Friction Plot Inclination angle [rad] = 0, xlabel Lateral force [N], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2150, 4320, 5190, 6490. Axes object 80 with title Friction Plot Inclination angle [rad] = -0.105, xlabel Lateral force [N], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6490.

タイヤのデータ チャネルのプロット

単一または複数の tireData オブジェクトをプロットし、色および凡例値をプロットに割り当てて、フィルターが適用されたタイヤ データをプロットすることができます。

単一の tireData オブジェクトのプロット

入力引数 DataVariableNames を指定して、単一の tireData オブジェクトの縦方向の力と縦方向の滑りの関係をプロットします。

plot(td(1),DataVariableNames=["kappa","Fx"]);

Figure contains an axes object. The axes object with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains a line object which displays its values using only markers. This object represents Longitudinal force [N].

複数の tireData オブジェクトのプロット

入力引数 DataVariableNames を指定して、複数の tireData オブジェクトの縦方向の力と縦方向の滑りの関係をプロットします。

plot(td(1:2),DataVariableNames=["kappa","Fx"]);

Figure contains an axes object. The axes object with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains a line object which displays its values using only markers. This object represents Longitudinal force [N].

プロットへの色および凡例値の割り当て

入力引数 DataVariableNames およびColorByを指定し、垂直抗力を使用して複数の tireData オブジェクトの縦方向の力と縦方向の滑りの関係をプロットし、色と凡例値をプロットに割り当てます。

凡例値の割り当てには Fz の平均値が使用され、凡例値は他の tireData オブジェクトの平均値で丸められることに注意してください。

plot(td(1:8),DataVariableNames=["kappa","Fx"],ColorBy="Fz");

Figure contains an axes object. The axes object with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent 2160, 4330, 5200, 6500.

タイヤ データのサブセットのプロット

入力引数 DataVariableNamesColorByFilterBy、およびFilterByValuesを指定して、複数の tireData オブジェクトの縦方向の力と縦方向の滑りの関係をプロットします。傾斜角を使用して、色と凡例値をプロットに割り当てます。垂直抗力の値 4000 および 5000 でフィルターを適用します。

plot(td(1:24),DataVariableNames=["kappa","Fx"],ColorBy="gamma", ...
    FilterBy="Fz",FilterByValues={[4000,5000]});

Figure contains an axes object. The axes object with title Longitudinal force [N] vs Longitudinal slip [], xlabel Longitudinal slip [], ylabel Longitudinal force [N] contains 3 objects of type line. One or more of the lines displays its values using only markers These objects represent -0.105, 0, 0.105.

入力引数 DataVariableNamesColorByFilterBy、および FilterByValues を指定して、tireData オブジェクト配列の縦方向の力と横方向の力の関係をプロットします。スリップ角を使用して、色と凡例値をプロットに割り当てます。傾斜角の値 -0.2 および 0.2 と、テスト メソッドの値 Combined でフィルターを適用します。

plot(td,DataVariableNames=["Fy","Fx"],ColorBy="alpha", ...
    FilterBy=["TestMethod","gamma"], ...
    FilterByValues={"Combined",[-0.02 0.02]});

Figure contains an axes object. The axes object with title Longitudinal force [N] vs Lateral force [N], xlabel Lateral force [N], ylabel Longitudinal force [N] contains 4 objects of type line. One or more of the lines displays its values using only markers These objects represent -0.14, -0.087, -0.035, 0.035.

参考

| |