Summary(概要)
gtag機能に新たに「ダウンサンプリング処理」のオプションを追加したい。
これは単なる軽量化のためではなく、測定原理に基づいた本質的な前処理として必要な機能である。
Motivation(動機)
- 設備からのタグデータにおいて、タグごとにサンプリング周期が異なる場合がある
- 相関解析や統合的な状態推定には、タグ間のデータが共通の時間軸で揃っている必要がある
- このため、最も粗いサンプリング周期に全タグを揃える前処理が必要になる
- IF-HUB側でこの処理を gtag として定義できると、正確な前処理付きデータを再利用・共有できる
Proposal(提案内容)
新たな gtag type の定義:
パラメータ仕様(改名済み):
| パラメータ名 |
型 |
説明 |
sampling_interval |
int |
サンプルを何ステップごとに1つ残すか(例:5なら5個に1個) |
pre_filter_window |
int |
ダウンサンプリング前に施すローパスフィルター窓サイズ |
method |
string (optional) |
サンプルの選び方(例: center, first, max, avg) |
例:def.json
{
"name": "Tank01.Level.downsampled",
"type": "downsample",
"inputs": ["Tank01.Level"],
"sampling_interval": 5,
"pre_filter_window": 3,
"method": "center",
"description": "Tank01.Levelを5ステップ間引き(事前にMA3)",
"unit": "m"
}
Summary(概要)
gtag機能に新たに「ダウンサンプリング処理」のオプションを追加したい。これは単なる軽量化のためではなく、測定原理に基づいた本質的な前処理として必要な機能である。
Motivation(動機)
Proposal(提案内容)
新たな gtag type の定義:
type: downsampleパラメータ仕様(改名済み):
sampling_interval5なら5個に1個)pre_filter_windowmethodcenter,first,max,avg)例:
def.json{ "name": "Tank01.Level.downsampled", "type": "downsample", "inputs": ["Tank01.Level"], "sampling_interval": 5, "pre_filter_window": 3, "method": "center", "description": "Tank01.Levelを5ステップ間引き(事前にMA3)", "unit": "m" }