Compare commits
24 Commits
latex/back
...
latex/91-b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76a09c0219 | ||
|
|
1a994fd59c | ||
|
|
cdb3010b78 | ||
|
|
8a3c1ae585 | ||
|
|
7b934d3fba | ||
|
|
aaccad7ae8 | ||
|
|
2c453ec403 | ||
|
|
7da3179d08 | ||
|
|
254b24cb21 | ||
|
|
d151062115 | ||
|
|
a32415cebf | ||
|
|
12669ed24c | ||
|
|
b0bdb67efb | ||
|
|
4d5de37e30 | ||
|
|
92fd3acd05 | ||
|
|
e0fade285a | ||
|
|
b4fb0d64a2 | ||
|
|
b1e1edee77 | ||
|
|
452afd6580 | ||
|
|
c8509aa728 | ||
|
|
4ebfb52635 | ||
|
|
1511012e11 | ||
|
|
db2947abdf | ||
|
|
36b36c41ba |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,5 @@
|
||||
# Ignore CSV files in the data directory and all its subdirectories
|
||||
data/**/*.csv
|
||||
.venv/
|
||||
*.pyc
|
||||
*.pyc
|
||||
*.egg-info/
|
||||
@@ -21,6 +21,7 @@
|
||||
#
|
||||
# Scope:
|
||||
# latex (changes to thesis LaTeX)
|
||||
# documentclass (LaTeX in-house document class changes)
|
||||
# src (changes to Python source code)
|
||||
# nb (changes to notebooks)
|
||||
# ml (ML model specific changes)
|
||||
|
||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"python.analysis.extraPaths": ["./code/src/features"]
|
||||
"python.analysis.extraPaths": ["./code/src/features"],
|
||||
"jupyter.notebookFileRoot": "${workspaceFolder}/code"
|
||||
}
|
||||
|
||||
@@ -16,3 +16,8 @@ The repository is private and access is restricted only to those who have been g
|
||||
All contents of this repository, including the thesis idea, code, and associated data, are copyrighted © 2024 by Rifqi Panuluh. Unauthorized use or duplication is prohibited.
|
||||
|
||||
[LICENSE](https://github.com/nuluh/thesis?tab=License-1-ov-file#readme)
|
||||
|
||||
## How to Run `stft.ipynb`
|
||||
|
||||
1. run `pip install -e .` in root project first
|
||||
2. run the notebook
|
||||
@@ -121,8 +121,9 @@
|
||||
"signal_sensor2_test1 = []\n",
|
||||
"\n",
|
||||
"for data in df:\n",
|
||||
" signal_sensor1_test1.append(data['sensor 1'].values)\n",
|
||||
" signal_sensor2_test1.append(data['sensor 2'].values)\n",
|
||||
" if not data.empty and 'sensor 1' in data.columns and 'sensor 2' in data.columns:\n",
|
||||
" signal_sensor1_test1.append(data['sensor 1'].values)\n",
|
||||
" signal_sensor2_test1.append(data['sensor 2'].values)\n",
|
||||
"\n",
|
||||
"print(len(signal_sensor1_test1))\n",
|
||||
"print(len(signal_sensor2_test1))"
|
||||
@@ -154,9 +155,7 @@
|
||||
"import pandas as pd\n",
|
||||
"import numpy as np\n",
|
||||
"from scipy.signal import stft, hann\n",
|
||||
"from multiprocessing import Pool\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# from multiprocessing import Pool\n",
|
||||
"\n",
|
||||
"# Function to compute and append STFT data\n",
|
||||
"def process_stft(args):\n",
|
||||
@@ -199,23 +198,22 @@
|
||||
" # Compute STFT\n",
|
||||
" frequencies, times, Zxx = stft(sensor_data, fs=Fs, window=window, nperseg=window_size, noverlap=window_size - hop_size)\n",
|
||||
" magnitude = np.abs(Zxx)\n",
|
||||
" flattened_stft = magnitude.flatten()\n",
|
||||
" df_stft = pd.DataFrame(magnitude, index=frequencies, columns=times).T\n",
|
||||
" df_stft.columns = [f\"Freq_{i}\" for i in frequencies]\n",
|
||||
" \n",
|
||||
" # Define the output CSV file path\n",
|
||||
" stft_file_name = f'stft_data{sensor_num}_{damage_num}.csv'\n",
|
||||
" sensor_output_dir = os.path.join(damage_base_path, sensor_name.lower())\n",
|
||||
" os.makedirs(sensor_output_dir, exist_ok=True)\n",
|
||||
" stft_file_path = os.path.join(sensor_output_dir, stft_file_name)\n",
|
||||
" print(stft_file_path)\n",
|
||||
" # Append the flattened STFT to the CSV\n",
|
||||
" try:\n",
|
||||
" flattened_stft_df = pd.DataFrame([flattened_stft])\n",
|
||||
" if not os.path.isfile(stft_file_path):\n",
|
||||
" # Create a new CSV\n",
|
||||
" flattened_stft_df.to_csv(stft_file_path, index=False, header=False)\n",
|
||||
" df_stft.to_csv(stft_file_path, index=False, header=False)\n",
|
||||
" else:\n",
|
||||
" # Append to existing CSV\n",
|
||||
" flattened_stft_df.to_csv(stft_file_path, mode='a', index=False, header=False)\n",
|
||||
" df_stft.to_csv(stft_file_path, mode='a', index=False, header=False)\n",
|
||||
" print(f\"Appended STFT data to {stft_file_path}\")\n",
|
||||
" except Exception as e:\n",
|
||||
" print(f\"Error writing to {stft_file_path}: {e}\")"
|
||||
@@ -295,7 +293,7 @@
|
||||
"\n",
|
||||
"# get current y ticks in list\n",
|
||||
"print(len(frequencies))\n",
|
||||
"print(len(times))\n"
|
||||
"print(len(times))"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -323,10 +321,9 @@
|
||||
"source": [
|
||||
"import pandas as pd\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"ready_data1 = []\n",
|
||||
"ready_data1a = []\n",
|
||||
"for file in os.listdir('D:/thesis/data/converted/raw/sensor1'):\n",
|
||||
" ready_data1.append(pd.read_csv(os.path.join('D:/thesis/data/converted/raw/sensor1', file)))\n",
|
||||
"ready_data1[0]\n",
|
||||
" ready_data1a.append(pd.read_csv(os.path.join('D:/thesis/data/converted/raw/sensor1', file)))\n",
|
||||
"# colormesh give title x is frequency and y is time and rotate/transpose the data\n",
|
||||
"# Plotting the STFT Data"
|
||||
]
|
||||
@@ -337,8 +334,9 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"ready_data1[1]\n",
|
||||
"plt.pcolormesh(ready_data1[1])"
|
||||
"# len(ready_data1a)\n",
|
||||
"# plt.pcolormesh(ready_data1[0])\n",
|
||||
"ready_data1a[0].max().max()"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -348,7 +346,8 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"for i in range(6):\n",
|
||||
" plt.pcolormesh(ready_data1[i])\n",
|
||||
" plt.pcolormesh(ready_data1a[i], cmap=\"jet\", vmax=0.03, vmin=0.0)\n",
|
||||
" plt.colorbar() \n",
|
||||
" plt.title(f'STFT Magnitude for case {i} sensor 1')\n",
|
||||
" plt.xlabel(f'Frequency [Hz]')\n",
|
||||
" plt.ylabel(f'Time [sec]')\n",
|
||||
@@ -361,10 +360,9 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"ready_data2 = []\n",
|
||||
"ready_data2a = []\n",
|
||||
"for file in os.listdir('D:/thesis/data/converted/raw/sensor2'):\n",
|
||||
" ready_data2.append(pd.read_csv(os.path.join('D:/thesis/data/converted/raw/sensor2', file)))\n",
|
||||
"ready_data2[5]"
|
||||
" ready_data2a.append(pd.read_csv(os.path.join('D:/thesis/data/converted/raw/sensor2', file)))"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -373,8 +371,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(len(ready_data1))\n",
|
||||
"print(len(ready_data2))"
|
||||
"print(len(ready_data1a))\n",
|
||||
"print(len(ready_data2a))"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -383,35 +381,16 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"x1 = 0\n",
|
||||
"\n",
|
||||
"for i in range(len(ready_data1)):\n",
|
||||
" print(ready_data1[i].shape)\n",
|
||||
" x1 = x1 + ready_data1[i].shape[0]\n",
|
||||
"\n",
|
||||
"print(x1)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"x2 = 0\n",
|
||||
"\n",
|
||||
"for i in range(len(ready_data2)):\n",
|
||||
" print(ready_data2[i].shape)\n",
|
||||
" x2 = x2 + ready_data2[i].shape[0]\n",
|
||||
"\n",
|
||||
"print(x2)"
|
||||
"x1a = 0\n",
|
||||
"print(type(ready_data1a[0]))\n",
|
||||
"ready_data1a[0].iloc[:,0]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### Appending"
|
||||
"#### Checking length of the total array"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -420,28 +399,14 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"x1 = ready_data1[0]\n",
|
||||
"# print(x1)\n",
|
||||
"print(type(x1))\n",
|
||||
"for i in range(len(ready_data1) - 1):\n",
|
||||
" #print(i)\n",
|
||||
" x1 = np.concatenate((x1, ready_data1[i + 1]), axis=0)\n",
|
||||
"# print(x1)\n",
|
||||
"pd.DataFrame(x1)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"x2 = ready_data2[0]\n",
|
||||
"x1a = 0\n",
|
||||
"print(type(x1a))\n",
|
||||
"for i in range(len(ready_data1a)):\n",
|
||||
" print(type(ready_data1a[i].shape[0]))\n",
|
||||
" x1a = x1a + ready_data1a[i].shape[0]\n",
|
||||
" print(type(x1a))\n",
|
||||
"\n",
|
||||
"for i in range(len(ready_data2) - 1):\n",
|
||||
" #print(i)\n",
|
||||
" x2 = np.concatenate((x2, ready_data2[i + 1]), axis=0)\n",
|
||||
"pd.DataFrame(x2)"
|
||||
"print(x1a)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -450,15 +415,75 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(x1.shape)\n",
|
||||
"print(x2.shape)"
|
||||
"x2a = 0\n",
|
||||
"\n",
|
||||
"for i in range(len(ready_data2a)):\n",
|
||||
" print(ready_data2a[i].shape)\n",
|
||||
" x2a = x2a + ready_data2a[i].shape[0]\n",
|
||||
"\n",
|
||||
"print(x2a)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### Labeling"
|
||||
"### Flatten 6 array into one array"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Combine all dataframes in ready_data1a into a single dataframe\n",
|
||||
"if ready_data1a: # Check if the list is not empty\n",
|
||||
" # Use pandas concat function instead of iterative concatenation\n",
|
||||
" combined_data = pd.concat(ready_data1a, axis=0, ignore_index=True)\n",
|
||||
" \n",
|
||||
" print(f\"Type of combined data: {type(combined_data)}\")\n",
|
||||
" print(f\"Shape of combined data: {combined_data.shape}\")\n",
|
||||
" \n",
|
||||
" # Display the combined dataframe\n",
|
||||
" combined_data\n",
|
||||
"else:\n",
|
||||
" print(\"No data available in ready_data1a list\")\n",
|
||||
" combined_data = pd.DataFrame()\n",
|
||||
"\n",
|
||||
"# Store the result in x1a for compatibility with subsequent code\n",
|
||||
"x1a = combined_data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# Combine all dataframes in ready_data1a into a single dataframe\n",
|
||||
"if ready_data2a: # Check if the list is not empty\n",
|
||||
" # Use pandas concat function instead of iterative concatenation\n",
|
||||
" combined_data = pd.concat(ready_data2a, axis=0, ignore_index=True)\n",
|
||||
" \n",
|
||||
" print(f\"Type of combined data: {type(combined_data)}\")\n",
|
||||
" print(f\"Shape of combined data: {combined_data.shape}\")\n",
|
||||
" \n",
|
||||
" # Display the combined dataframe\n",
|
||||
" combined_data\n",
|
||||
"else:\n",
|
||||
" print(\"No data available in ready_data1a list\")\n",
|
||||
" combined_data = pd.DataFrame()\n",
|
||||
"\n",
|
||||
"# Store the result in x1a for compatibility with subsequent code\n",
|
||||
"x2a = combined_data"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### Creating the label"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -481,7 +506,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"y_data = [y_1, y_2, y_3, y_4, y_5, y_6]"
|
||||
"y_data = [y_1, y_2, y_3, y_4, y_5, y_6]\n",
|
||||
"y_data"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -491,7 +517,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"for i in range(len(y_data)):\n",
|
||||
" print(ready_data1[i].shape[0])"
|
||||
" print(ready_data1a[i].shape[0])"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -500,8 +526,9 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import numpy as np\n",
|
||||
"for i in range(len(y_data)):\n",
|
||||
" print(ready_data2[i].shape[0])"
|
||||
" y_data[i] = [y_data[i]]*ready_data1a[i].shape[0]"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -510,19 +537,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"for i in range(len(y_data)):\n",
|
||||
" y_data[i] = [y_data[i]]*ready_data1[i].shape[0]\n",
|
||||
" y_data[i] = np.array(y_data[i])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# len(y_data[0])\n",
|
||||
"y_data[0]"
|
||||
"len(y_data[0])\n",
|
||||
"# y_data"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -554,10 +570,10 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.model_selection import train_test_split\n",
|
||||
"from src.ml.model_selection import create_ready_data\n",
|
||||
"\n",
|
||||
"x_train1, x_test1, y_train, y_test = train_test_split(x1, y, test_size=0.2, random_state=2)\n",
|
||||
"x_train2, x_test2, y_train, y_test = train_test_split(x2, y, test_size=0.2, random_state=2)"
|
||||
"X1a, y = create_ready_data('D:/thesis/data/converted/raw/sensor1')\n",
|
||||
"X2a, y = create_ready_data('D:/thesis/data/converted/raw/sensor2')"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -567,6 +583,17 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.model_selection import train_test_split\n",
|
||||
"\n",
|
||||
"x_train1, x_test1, y_train, y_test = train_test_split(X1a, y, test_size=0.2, random_state=2)\n",
|
||||
"x_train2, x_test2, y_train, y_test = train_test_split(X2a, y, test_size=0.2, random_state=2)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.metrics import accuracy_score\n",
|
||||
"from sklearn.ensemble import RandomForestClassifier, BaggingClassifier\n",
|
||||
"from sklearn.tree import DecisionTreeClassifier\n",
|
||||
@@ -594,130 +621,15 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"accuracies1 = []\n",
|
||||
"accuracies2 = []\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"# 1. Random Forest\n",
|
||||
"rf_model = RandomForestClassifier()\n",
|
||||
"rf_model.fit(x_train1, y_train)\n",
|
||||
"rf_pred1 = rf_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, rf_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"Random Forest Accuracy for sensor 1:\", acc1)\n",
|
||||
"rf_model.fit(x_train2, y_train)\n",
|
||||
"rf_pred2 = rf_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, rf_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"Random Forest Accuracy for sensor 2:\", acc2)\n",
|
||||
"# print(rf_pred)\n",
|
||||
"# print(y_test)\n",
|
||||
"\n",
|
||||
"# 2. Bagged Trees\n",
|
||||
"bagged_model = BaggingClassifier(estimator=DecisionTreeClassifier(), n_estimators=10)\n",
|
||||
"bagged_model.fit(x_train1, y_train)\n",
|
||||
"bagged_pred1 = bagged_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, bagged_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"Bagged Trees Accuracy for sensor 1:\", acc1)\n",
|
||||
"bagged_model.fit(x_train2, y_train)\n",
|
||||
"bagged_pred2 = bagged_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, bagged_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"Bagged Trees Accuracy for sensor 2:\", acc2)\n",
|
||||
"\n",
|
||||
"# 3. Decision Tree\n",
|
||||
"dt_model = DecisionTreeClassifier()\n",
|
||||
"dt_model.fit(x_train1, y_train)\n",
|
||||
"dt_pred1 = dt_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, dt_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"Decision Tree Accuracy for sensor 1:\", acc1)\n",
|
||||
"dt_model.fit(x_train2, y_train)\n",
|
||||
"dt_pred2 = dt_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, dt_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"Decision Tree Accuracy for sensor 2:\", acc2)\n",
|
||||
"\n",
|
||||
"# 4. KNeighbors\n",
|
||||
"knn_model = KNeighborsClassifier()\n",
|
||||
"knn_model.fit(x_train1, y_train)\n",
|
||||
"knn_pred1 = knn_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, knn_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"KNeighbors Accuracy for sensor 1:\", acc1)\n",
|
||||
"knn_model.fit(x_train2, y_train)\n",
|
||||
"knn_pred2 = knn_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, knn_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"KNeighbors Accuracy for sensor 2:\", acc2)\n",
|
||||
"\n",
|
||||
"# 5. Linear Discriminant Analysis\n",
|
||||
"lda_model = LinearDiscriminantAnalysis()\n",
|
||||
"lda_model.fit(x_train1, y_train)\n",
|
||||
"lda_pred1 = lda_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, lda_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"Linear Discriminant Analysis Accuracy for sensor 1:\", acc1)\n",
|
||||
"lda_model.fit(x_train2, y_train)\n",
|
||||
"lda_pred2 = lda_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, lda_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"Linear Discriminant Analysis Accuracy for sensor 2:\", acc2)\n",
|
||||
"\n",
|
||||
"# 6. Support Vector Machine\n",
|
||||
"svm_model = SVC()\n",
|
||||
"svm_model.fit(x_train1, y_train)\n",
|
||||
"svm_pred1 = svm_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, svm_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"Support Vector Machine Accuracy for sensor 1:\", acc1)\n",
|
||||
"svm_model.fit(x_train2, y_train)\n",
|
||||
"svm_pred2 = svm_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, svm_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"Support Vector Machine Accuracy for sensor 2:\", acc2)\n",
|
||||
"\n",
|
||||
"# 7. XGBoost\n",
|
||||
"xgboost_model = XGBClassifier()\n",
|
||||
"xgboost_model.fit(x_train1, y_train)\n",
|
||||
"xgboost_pred1 = xgboost_model.predict(x_test1)\n",
|
||||
"acc1 = accuracy_score(y_test, xgboost_pred1) * 100\n",
|
||||
"accuracies1.append(acc1)\n",
|
||||
"# format with color coded if acc1 > 90\n",
|
||||
"acc1 = f\"\\033[92m{acc1:.2f}\\033[00m\" if acc1 > 90 else f\"{acc1:.2f}\"\n",
|
||||
"print(\"XGBoost Accuracy:\", acc1)\n",
|
||||
"xgboost_model.fit(x_train2, y_train)\n",
|
||||
"xgboost_pred2 = xgboost_model.predict(x_test2)\n",
|
||||
"acc2 = accuracy_score(y_test, xgboost_pred2) * 100\n",
|
||||
"accuracies2.append(acc2)\n",
|
||||
"# format with color coded if acc2 > 90\n",
|
||||
"acc2 = f\"\\033[92m{acc2:.2f}\\033[00m\" if acc2 > 90 else f\"{acc2:.2f}\"\n",
|
||||
"print(\"XGBoost Accuracy:\", acc2)"
|
||||
"def train_and_evaluate_model(model, model_name, sensor_label, x_train, y_train, x_test, y_test):\n",
|
||||
" model.fit(x_train, y_train)\n",
|
||||
" y_pred = model.predict(x_test)\n",
|
||||
" accuracy = accuracy_score(y_test, y_pred) * 100\n",
|
||||
" return {\n",
|
||||
" \"model\": model_name,\n",
|
||||
" \"sensor\": sensor_label,\n",
|
||||
" \"accuracy\": accuracy\n",
|
||||
" }"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -726,8 +638,59 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"print(accuracies1)\n",
|
||||
"print(accuracies2)"
|
||||
"# Define models for sensor1\n",
|
||||
"models_sensor1 = {\n",
|
||||
" # \"Random Forest\": RandomForestClassifier(),\n",
|
||||
" # \"Bagged Trees\": BaggingClassifier(estimator=DecisionTreeClassifier(), n_estimators=10),\n",
|
||||
" # \"Decision Tree\": DecisionTreeClassifier(),\n",
|
||||
" # \"KNN\": KNeighborsClassifier(),\n",
|
||||
" # \"LDA\": LinearDiscriminantAnalysis(),\n",
|
||||
" \"SVM\": SVC(),\n",
|
||||
" \"XGBoost\": XGBClassifier()\n",
|
||||
"}\n",
|
||||
"\n",
|
||||
"results_sensor1 = []\n",
|
||||
"for name, model in models_sensor1.items():\n",
|
||||
" res = train_and_evaluate_model(model, name, \"sensor1\", x_train1, y_train, x_test1, y_test)\n",
|
||||
" results_sensor1.append(res)\n",
|
||||
" print(f\"{name} on sensor1: Accuracy = {res['accuracy']:.2f}%\")\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"models_sensor2 = {\n",
|
||||
" # \"Random Forest\": RandomForestClassifier(),\n",
|
||||
" # \"Bagged Trees\": BaggingClassifier(estimator=DecisionTreeClassifier(), n_estimators=10),\n",
|
||||
" # \"Decision Tree\": DecisionTreeClassifier(),\n",
|
||||
" # \"KNN\": KNeighborsClassifier(),\n",
|
||||
" # \"LDA\": LinearDiscriminantAnalysis(),\n",
|
||||
" \"SVM\": SVC(),\n",
|
||||
" \"XGBoost\": XGBClassifier()\n",
|
||||
"}\n",
|
||||
"\n",
|
||||
"results_sensor2 = []\n",
|
||||
"for name, model in models_sensor2.items():\n",
|
||||
" res = train_and_evaluate_model(model, name, \"sensor2\", x_train2, y_train, x_test2, y_test)\n",
|
||||
" results_sensor2.append(res)\n",
|
||||
" print(f\"{name} on sensor2: Accuracy = {res['accuracy']:.2f}%\")\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"all_results = {\n",
|
||||
" \"sensor1\": results_sensor1,\n",
|
||||
" \"sensor2\": results_sensor2\n",
|
||||
"}\n",
|
||||
"\n",
|
||||
"print(all_results)"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -739,36 +702,48 @@
|
||||
"import numpy as np\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"\n",
|
||||
"models = [rf_model, bagged_model, dt_model, knn_model, lda_model, svm_model, xgboost_model]\n",
|
||||
"model_names = [\"Random Forest\", \"Bagged Trees\", \"Decision Tree\", \"KNN\", \"LDA\", \"SVM\", \"XGBoost\"]\n",
|
||||
"def prepare_plot_data(results_dict):\n",
|
||||
" # Gather unique model names\n",
|
||||
" models_set = {entry['model'] for sensor in results_dict.values() for entry in sensor}\n",
|
||||
" models = sorted(list(models_set))\n",
|
||||
" \n",
|
||||
" # Create dictionaries mapping sensor -> accuracy list ordered by model name\n",
|
||||
" sensor_accuracies = {}\n",
|
||||
" for sensor, entries in results_dict.items():\n",
|
||||
" # Build a mapping: model -> accuracy for the given sensor\n",
|
||||
" mapping = {entry['model']: entry['accuracy'] for entry in entries}\n",
|
||||
" # Order the accuracies consistent with the sorted model names\n",
|
||||
" sensor_accuracies[sensor] = [mapping.get(model, 0) for model in models]\n",
|
||||
" \n",
|
||||
" return models, sensor_accuracies\n",
|
||||
"\n",
|
||||
"bar_width = 0.35 # Width of each bar\n",
|
||||
"index = np.arange(len(model_names)) # Index for the bars\n",
|
||||
"def plot_accuracies(models, sensor_accuracies):\n",
|
||||
" bar_width = 0.35\n",
|
||||
" x = np.arange(len(models))\n",
|
||||
" sensors = list(sensor_accuracies.keys())\n",
|
||||
" \n",
|
||||
" plt.figure(figsize=(10, 6))\n",
|
||||
" # Assume two sensors for plotting grouped bars\n",
|
||||
" plt.bar(x - bar_width/2, sensor_accuracies[sensors[0]], width=bar_width, color='blue', label=sensors[0])\n",
|
||||
" plt.bar(x + bar_width/2, sensor_accuracies[sensors[1]], width=bar_width, color='orange', label=sensors[1])\n",
|
||||
" \n",
|
||||
" # Add text labels on top of bars\n",
|
||||
" for i, (a1, a2) in enumerate(zip(sensor_accuracies[sensors[0]], sensor_accuracies[sensors[1]])):\n",
|
||||
" plt.text(x[i] - bar_width/2, a1 + 0.1, f\"{a1:.2f}%\", ha='center', va='bottom', color='black')\n",
|
||||
" plt.text(x[i] + bar_width/2, a2 + 0.1, f\"{a2:.2f}%\", ha='center', va='bottom', color='black')\n",
|
||||
" \n",
|
||||
" plt.xlabel('Model Name')\n",
|
||||
" plt.ylabel('Accuracy (%)')\n",
|
||||
" plt.title('Accuracy of Classifiers for Each Sensor')\n",
|
||||
" plt.xticks(x, models)\n",
|
||||
" plt.legend()\n",
|
||||
" plt.ylim(0, 105)\n",
|
||||
" plt.tight_layout()\n",
|
||||
" plt.show()\n",
|
||||
"\n",
|
||||
"# Plotting the bar graph\n",
|
||||
"plt.figure(figsize=(14, 8))\n",
|
||||
"\n",
|
||||
"# Bar plot for Sensor 1\n",
|
||||
"plt.bar(index, accuracies1, width=bar_width, color='blue', label='Sensor 1')\n",
|
||||
"\n",
|
||||
"# Bar plot for Sensor 2\n",
|
||||
"plt.bar(index + bar_width, accuracies2, width=bar_width, color='orange', label='Sensor 2')\n",
|
||||
"\n",
|
||||
"# Add values on top of each bar\n",
|
||||
"for i, acc1, acc2 in zip(index, accuracies1, accuracies2):\n",
|
||||
" plt.text(i, acc1 + .1, f'{acc1:.2f}%', ha='center', va='bottom', color='black')\n",
|
||||
" plt.text(i + bar_width, acc2 + 1, f'{acc2:.2f}%', ha='center', va='bottom', color='black')\n",
|
||||
"\n",
|
||||
"# Customize the plot\n",
|
||||
"plt.xlabel('Model Name →')\n",
|
||||
"plt.ylabel('Accuracy →')\n",
|
||||
"plt.title('Accuracy of classifiers for Sensors 1 and 2 with 513 features')\n",
|
||||
"plt.xticks(index + bar_width / 2, model_names) # Set x-tick positions\n",
|
||||
"plt.legend()\n",
|
||||
"plt.ylim(0, 100)\n",
|
||||
"\n",
|
||||
"# Show the plot\n",
|
||||
"plt.show()\n"
|
||||
"# Use the functions\n",
|
||||
"models, sensor_accuracies = prepare_plot_data(all_results)\n",
|
||||
"plot_accuracies(models, sensor_accuracies)\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -789,57 +764,10 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def spectograph(data_dir: str):\n",
|
||||
" # print(os.listdir(data_dir))\n",
|
||||
" for damage in os.listdir(data_dir):\n",
|
||||
" # print(damage)\n",
|
||||
" d = os.path.join(data_dir, damage)\n",
|
||||
" # print(d)\n",
|
||||
" for file in os.listdir(d):\n",
|
||||
" # print(file)\n",
|
||||
" f = os.path.join(d, file)\n",
|
||||
" print(f)\n",
|
||||
" # sensor1 = pd.read_csv(f, skiprows=1, sep=';')\n",
|
||||
" # sensor2 = pd.read_csv(f, skiprows=1, sep=';')\n",
|
||||
"from src.ml.model_selection import create_ready_data\n",
|
||||
"\n",
|
||||
" # df1 = pd.DataFrame()\n",
|
||||
"\n",
|
||||
" # df1['s1'] = sensor1[sensor1.columns[-1]]\n",
|
||||
" # df1['s2'] = sensor2[sensor2.columns[-1]]\n",
|
||||
" # # Combined Plot for sensor 1 and sensor 2 from data1 file in which motor is operated at 800 rpm\n",
|
||||
"\n",
|
||||
" # plt.plot(df1['s2'], label='sensor 2')\n",
|
||||
" # plt.plot(df1['s1'], label='sensor 1')\n",
|
||||
" # plt.xlabel(\"Number of samples\")\n",
|
||||
" # plt.ylabel(\"Amplitude\")\n",
|
||||
" # plt.title(\"Raw vibration signal\")\n",
|
||||
" # plt.legend()\n",
|
||||
" # plt.show()\n",
|
||||
"\n",
|
||||
" # from scipy import signal\n",
|
||||
" # from scipy.signal.windows import hann\n",
|
||||
"\n",
|
||||
" # vibration_data = df1['s1']\n",
|
||||
"\n",
|
||||
" # # Applying STFT\n",
|
||||
" # window_size = 1024\n",
|
||||
" # hop_size = 512\n",
|
||||
" # window = hann(window_size) # Creating a Hanning window\n",
|
||||
" # frequencies, times, Zxx = signal.stft(vibration_data, window=window, nperseg=window_size, noverlap=window_size - hop_size)\n",
|
||||
"\n",
|
||||
" # # Plotting the STFT Data\n",
|
||||
" # plt.pcolormesh(times, frequencies, np.abs(Zxx), shading='gouraud')\n",
|
||||
" # plt.title(f'STFT Magnitude for case 1 signal sensor 1 ')\n",
|
||||
" # plt.ylabel('Frequency [Hz]')\n",
|
||||
" # plt.xlabel('Time [sec]')\n",
|
||||
" # plt.show()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Test with Outside of Its Training Data"
|
||||
"X1b, y = create_ready_data('D:/thesis/data/converted/raw_B/sensor1')\n",
|
||||
"X2b, y = create_ready_data('D:/thesis/data/converted/raw_B/sensor2')"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -847,7 +775,117 @@
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
"source": [
|
||||
"y.shape"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.metrics import accuracy_score, classification_report\n",
|
||||
"# 4. Validate on Dataset B\n",
|
||||
"y_pred_svm = svm_model.predict(X1b)\n",
|
||||
"\n",
|
||||
"# 5. Evaluate\n",
|
||||
"print(\"Accuracy on Dataset B:\", accuracy_score(y, y_pred_svm))\n",
|
||||
"print(classification_report(y, y_pred_svm))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from sklearn.metrics import accuracy_score, classification_report\n",
|
||||
"# 4. Validate on Dataset B\n",
|
||||
"y_pred = rf_model2.predict(X2b)\n",
|
||||
"\n",
|
||||
"# 5. Evaluate\n",
|
||||
"print(\"Accuracy on Dataset B:\", accuracy_score(y, y_pred))\n",
|
||||
"print(classification_report(y, y_pred))"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"y_predict = svm_model2.predict(X2b.iloc[[5312],:])\n",
|
||||
"print(y_predict)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"y[5312]"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"### Confusion Matrix"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"from sklearn.metrics import confusion_matrix, ConfusionMatrixDisplay\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"cm = confusion_matrix(y, y_pred_svm) # -> ndarray\n",
|
||||
"\n",
|
||||
"# get the class labels\n",
|
||||
"labels = svm_model.classes_\n",
|
||||
"\n",
|
||||
"# Plot\n",
|
||||
"disp = ConfusionMatrixDisplay(confusion_matrix=cm, display_labels=labels)\n",
|
||||
"disp.plot(cmap=plt.cm.Blues) # You can change colormap\n",
|
||||
"plt.title(\"SVM Sensor1 CM Train w/ Dataset A Val w/ Dataset B\")\n",
|
||||
"plt.show()"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"#### Self-test CM"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# 1. Predict sensor 1 on Dataset A\n",
|
||||
"y_train_pred = svm_model.predict(x_train1)\n",
|
||||
"\n",
|
||||
"# 2. Import confusion matrix tools\n",
|
||||
"from sklearn.metrics import confusion_matrix, ConfusionMatrixDisplay\n",
|
||||
"import matplotlib.pyplot as plt\n",
|
||||
"\n",
|
||||
"# 3. Create and plot confusion matrix\n",
|
||||
"cm_train = confusion_matrix(y_train, y_train_pred)\n",
|
||||
"labels = svm_model.classes_\n",
|
||||
"\n",
|
||||
"disp = ConfusionMatrixDisplay(confusion_matrix=cm_train, display_labels=labels)\n",
|
||||
"disp.plot(cmap=plt.cm.Blues)\n",
|
||||
"plt.title(\"Confusion Matrix: Train & Test on Dataset A\")\n",
|
||||
"plt.show()\n"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
0
code/src/ml/__init__.py
Normal file
0
code/src/ml/__init__.py
Normal file
57
code/src/ml/model_selection.py
Normal file
57
code/src/ml/model_selection.py
Normal file
@@ -0,0 +1,57 @@
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
import os
|
||||
from sklearn.model_selection import train_test_split as sklearn_split
|
||||
|
||||
|
||||
def create_ready_data(
|
||||
stft_data_path: str,
|
||||
stratify: np.ndarray = None,
|
||||
) -> tuple:
|
||||
"""
|
||||
Create a stratified train-test split from STFT data.
|
||||
|
||||
Parameters:
|
||||
-----------
|
||||
stft_data_path : str
|
||||
Path to the directory containing STFT data files (e.g. 'data/converted/raw/sensor1')
|
||||
stratify : np.ndarray, optional
|
||||
Labels to use for stratified sampling
|
||||
|
||||
Returns:
|
||||
--------
|
||||
tuple
|
||||
(X_train, X_test, y_train, y_test) - Split datasets
|
||||
"""
|
||||
ready_data = []
|
||||
for file in os.listdir(stft_data_path):
|
||||
ready_data.append(pd.read_csv(os.path.join(stft_data_path, file)))
|
||||
|
||||
y_data = [i for i in range(len(ready_data))]
|
||||
|
||||
# Combine all dataframes in ready_data into a single dataframe
|
||||
if ready_data: # Check if the list is not empty
|
||||
# Use pandas concat function instead of iterative concatenation
|
||||
combined_data = pd.concat(ready_data, axis=0, ignore_index=True)
|
||||
|
||||
print(f"Type of combined data: {type(combined_data)}")
|
||||
print(f"Shape of combined data: {combined_data.shape}")
|
||||
else:
|
||||
print("No data available in ready_data list")
|
||||
combined_data = pd.DataFrame()
|
||||
|
||||
# Store the result in x1a for compatibility with subsequent code
|
||||
X = combined_data
|
||||
|
||||
for i in range(len(y_data)):
|
||||
y_data[i] = [y_data[i]] * ready_data[i].shape[0]
|
||||
y_data[i] = np.array(y_data[i])
|
||||
|
||||
if y_data:
|
||||
# Use numpy concatenate function instead of iterative concatenation
|
||||
y = np.concatenate(y_data, axis=0)
|
||||
else:
|
||||
print("No labels available in y_data list")
|
||||
y = np.array([])
|
||||
|
||||
return X, y
|
||||
@@ -2,6 +2,7 @@ import pandas as pd
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import numpy as np
|
||||
from colorama import Fore, Style, init
|
||||
from typing import TypedDict, Dict, List
|
||||
from joblib import load
|
||||
@@ -225,25 +226,56 @@ class DataProcessor:
|
||||
"""
|
||||
idx = self._create_vector_column_index()
|
||||
# if overwrite:
|
||||
for i in range(len(self.data)):
|
||||
for j in range(len(self.data[i])):
|
||||
for i in range(len(self.data)): # damage(s)
|
||||
for j in range(len(self.data[i])): # col(s)
|
||||
# Get the appropriate indices for slicing from idx
|
||||
indices = idx[j]
|
||||
|
||||
# Get the current DataFrame
|
||||
df = self.data[i][j]
|
||||
|
||||
# Keep the 'Time' column and select only specified 'Real' columns
|
||||
# First, we add 1 to all indices to account for 'Time' being at position 0
|
||||
# Keep the 'Time' column and select only specifid 'Real' colmns
|
||||
# First, we add 1 to all indices to acount for 'Time' being at positiion 0
|
||||
real_indices = [index + 1 for index in indices]
|
||||
|
||||
# Create list with Time column index (0) and the adjusted Real indices
|
||||
# Create list with Time column index (0) and the adjustedd Real indices
|
||||
all_indices = [0] + [real_indices[0]] + [real_indices[-1]]
|
||||
|
||||
# Apply the slicing
|
||||
self.data[i][j] = df.iloc[:, all_indices]
|
||||
# TODO: if !overwrite:
|
||||
|
||||
def export_to_csv(self, output_dir: str, file_prefix: str = "DAMAGE"):
|
||||
"""
|
||||
Export the processed data to CSV files in the required folder structure.
|
||||
|
||||
:param output_dir: Directory to save the CSV files.
|
||||
:param file_prefix: Prefix for the output filenames.
|
||||
"""
|
||||
for group_idx, group in enumerate(self.data, start=1):
|
||||
group_folder = os.path.join(output_dir, f"{file_prefix}_{group_idx}")
|
||||
os.makedirs(group_folder, exist_ok=True)
|
||||
for test_idx, df in enumerate(group, start=1):
|
||||
# Ensure columns are named uniquely if duplicated
|
||||
df = df.copy()
|
||||
df.columns = ["Time", "Real_0", "Real_1"] # Rename
|
||||
|
||||
# Export first Real column
|
||||
out1 = os.path.join(
|
||||
group_folder, f"{file_prefix}_{group_idx}_TEST{test_idx}_01.csv"
|
||||
)
|
||||
df[["Time", "Real_0"]].rename(columns={"Real_0": "Real"}).to_csv(
|
||||
out1, index=False
|
||||
)
|
||||
|
||||
# Export last Real column
|
||||
out2 = os.path.join(
|
||||
group_folder, f"{file_prefix}_{group_idx}_TEST{test_idx}_02.csv"
|
||||
)
|
||||
df[["Time", "Real_1"]].rename(columns={"Real_1": "Real"}).to_csv(
|
||||
out2, index=False
|
||||
)
|
||||
|
||||
|
||||
def create_damage_files(base_path, output_base, prefix):
|
||||
# Initialize colorama
|
||||
|
||||
@@ -4,5 +4,22 @@ from joblib import dump, load
|
||||
# a = generate_damage_files_index(
|
||||
# num_damage=6, file_index_start=1, col=5, base_path="D:/thesis/data/dataset_A"
|
||||
# )
|
||||
# dump(DataProcessor(file_index=a), "D:/cache.joblib")
|
||||
a = load("D:/cache.joblib")
|
||||
|
||||
b = generate_damage_files_index(
|
||||
num_damage=6,
|
||||
file_index_start=1,
|
||||
col=5,
|
||||
base_path="D:/thesis/data/dataset_B",
|
||||
prefix="zzzBD",
|
||||
)
|
||||
# data_A = DataProcessor(file_index=a)
|
||||
# # data.create_vector_column(overwrite=True)
|
||||
# data_A.create_limited_sensor_vector_column(overwrite=True)
|
||||
# data_A.export_to_csv("D:/thesis/data/converted/raw")
|
||||
|
||||
data_B = DataProcessor(file_index=b)
|
||||
# data.create_vector_column(overwrite=True)
|
||||
data_B.create_limited_sensor_vector_column(overwrite=True)
|
||||
data_B.export_to_csv("D:/thesis/data/converted/raw_B")
|
||||
# a = load("D:/cache.joblib")
|
||||
# breakpoint()
|
||||
|
||||
@@ -0,0 +1,965 @@
|
||||
@article{abdeljaber2017,
|
||||
title = {Real-Time Vibration-Based Structural Damage Detection Using One-Dimensional Convolutional Neural Networks},
|
||||
author = {Abdeljaber, Osama and Avci, Onur and Kiranyaz, Serkan and Gabbouj, Moncef and Inman, Daniel J.},
|
||||
date = {2017-02},
|
||||
journaltitle = {Journal of Sound and Vibration},
|
||||
shortjournal = {Journal of Sound and Vibration},
|
||||
volume = {388},
|
||||
pages = {154--170},
|
||||
issn = {0022460X},
|
||||
doi = {10.1016/j.jsv.2016.10.043},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/S0022460X16306204},
|
||||
urldate = {2024-06-19},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\5WG6DL7B\Abdeljaber et al. - 2017 - Real-time vibration-based structural damage detect.pdf}
|
||||
}
|
||||
|
||||
@article{zhao2019,
|
||||
title = {Bolt Loosening Angle Detection Technology Using Deep Learning},
|
||||
author = {Zhao, Xuefeng and Zhang, Yang and Wang, Niannian},
|
||||
date = {2019-01},
|
||||
journaltitle = {Structural Control and Health Monitoring},
|
||||
shortjournal = {Struct Control Health Monit},
|
||||
volume = {26},
|
||||
number = {1},
|
||||
pages = {e2292},
|
||||
issn = {15452255},
|
||||
doi = {10.1002/stc.2292},
|
||||
url = {https://onlinelibrary.wiley.com/doi/10.1002/stc.2292},
|
||||
urldate = {2025-05-16},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@article{abdelwahab1999,
|
||||
title = {{{PARAMETERIZATION OF DAMAGE IN REINFORCED CONCRETE STRUCTURES USING MODEL UPDATING}}},
|
||||
author = {Abdel Wahab, M.M. and De Roeck, G. and Peeters, B.},
|
||||
date = {1999-12},
|
||||
journaltitle = {Journal of Sound and Vibration},
|
||||
shortjournal = {Journal of Sound and Vibration},
|
||||
volume = {228},
|
||||
number = {4},
|
||||
pages = {717--730},
|
||||
issn = {0022460X},
|
||||
doi = {10.1006/jsvi.1999.2448},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/S0022460X99924483},
|
||||
urldate = {2024-12-29},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\P7FDZX9J\abdelwahab1999.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{avci2021,
|
||||
title = {A Review of Vibration-Based Damage Detection in Civil Structures: {{From}} Traditional Methods to {{Machine Learning}} and {{Deep Learning}} Applications},
|
||||
shorttitle = {A Review of Vibration-Based Damage Detection in Civil Structures},
|
||||
author = {Avci, Onur and Abdeljaber, Osama and Kiranyaz, Serkan and Hussein, Mohammed and Gabbouj, Moncef and Inman, Daniel J.},
|
||||
date = {2021-01-15},
|
||||
journaltitle = {Mechanical Systems and Signal Processing},
|
||||
shortjournal = {Mechanical Systems and Signal Processing},
|
||||
volume = {147},
|
||||
pages = {107077},
|
||||
issn = {0888-3270},
|
||||
doi = {10.1016/j.ymssp.2020.107077},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0888327020304635},
|
||||
urldate = {2025-05-09},
|
||||
abstract = {Monitoring structural damage is extremely important for sustaining and preserving the service life of civil structures. While successful monitoring provides resolute and staunch information on the health, serviceability, integrity and safety of structures; maintaining continuous performance of a structure depends highly on monitoring the occurrence, formation and propagation of damage. Damage may accumulate on structures due to different environmental and human-induced factors. Numerous monitoring and detection approaches have been developed to provide practical means for early warning against structural damage or any type of anomaly. Considerable effort has been put into vibration-based methods, which utilize the vibration response of the monitored structure to assess its condition and identify structural damage. Meanwhile, with emerging computing power and sensing technology in the last decade, Machine Learning (ML) and especially Deep Learning (DL) algorithms have become more feasible and extensively used in vibration-based structural damage detection with elegant performance and often with rigorous accuracy. While there have been multiple review studies published on vibration-based structural damage detection, there has not been a study where the transition from traditional methods to ML and DL methods are described and discussed. This paper aims to fulfill this gap by presenting the highlights of the traditional methods and provide a comprehensive review of the most recent applications of ML and DL algorithms utilized for vibration-based structural damage detection in civil structures.},
|
||||
keywords = {Artificial Neural Networks,Civil infrastructure,Deep Learning,Infrastructure health,Machine Learning,Structural damage detection,Structural Health Monitoring,Vibration-based methods},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\59EASW6K\\Avci et al. - 2021 - A review of vibration-based damage detection in ci.pdf;C\:\\Users\\damar\\Zotero\\storage\\GQZUKPQN\\10.1016@j.ymssp.2020.107077.pdf.pdf}
|
||||
}
|
||||
|
||||
@inproceedings{bulut2005,
|
||||
title = {Real-Time Nondestructive Structural Health Monitoring Using Support Vector Machines and Wavelets},
|
||||
author = {Bulut, Ahmet and Singh, Ambuj K. and Shin, Peter and Fountain, Tony and Jasso, Hector and Yan, Linjun and Elgamal, Ahmed},
|
||||
editor = {Meyendorf, Norbert and Baaklini, George Y. and Michel, Bernd},
|
||||
date = {2005-05-09},
|
||||
pages = {180},
|
||||
location = {San Diego, CA},
|
||||
doi = {10.1117/12.597685},
|
||||
url = {http://proceedings.spiedigitallibrary.org/proceeding.aspx?doi=10.1117/12.597685},
|
||||
urldate = {2024-04-09},
|
||||
eventtitle = {Nondestructive {{Evaulation}} for {{Health Monitoring}} and {{Diagnostics}}},
|
||||
file = {C:\Users\damar\Zotero\storage\PUABA5V7\bulut2005.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{caselles2022,
|
||||
title = {Estimators for {{Structural Damage Detection Using Principal Component Analysis}}},
|
||||
author = {Caselles, Oriol and Martín, Alejo and Vargas-Alzate, Yeudy F. and Gonzalez-Drigo, Ramon and Clapés, Jaume},
|
||||
date = {2022-09},
|
||||
journaltitle = {Heritage},
|
||||
volume = {5},
|
||||
number = {3},
|
||||
pages = {1805--1818},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {2571-9408},
|
||||
doi = {10.3390/heritage5030093},
|
||||
url = {https://www.mdpi.com/2571-9408/5/3/93},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {Structural damage detection is an important issue in conservation. In this research, principal component analysis (PCA) has been applied to the temporal variation of modal frequencies obtained from a dynamic test of a scaled steel structure subjected to different damages and different temperatures. PCA has been applied in order to reduce, as much as possible, the number of variables involved in the problem of structural damage detection. The aim of the PCA study is to determine the minimum number of principal components necessary to explain all the modal frequency variation. Three estimators have been studied: T2 (the square of the vector norm of the projection in the principal component plan), Q (the square of the norm of the residual vector), and the variance explained. In the study, the results related to the undamaged structure needed one principal component to explain the modal frequency variation. However, the high damage configurations need five principal components to explain the modal frequency. The T2 and Q estimators have been arranged in order of increasing damage for all the performed experimental tests. The results indicate that these estimators could be useful to detect damage and to distinguish among a range of intensities of structural damage.},
|
||||
issue = {3},
|
||||
langid = {english},
|
||||
keywords = {ambient temperature,damage configuration,historical structure,monitoring,non-destructive inspection,PCA},
|
||||
file = {C:\Users\damar\Zotero\storage\IWTRCID3\Caselles et al. - 2022 - Estimators for Structural Damage Detection Using P.pdf}
|
||||
}
|
||||
|
||||
@article{chen2017,
|
||||
title = {Self-{{Loosening Failure Analysis}} of {{Bolt Joints}} under {{Vibration}} Considering the {{Tightening Process}}},
|
||||
author = {Chen, Yan and Gao, Qiang and Guan, Zhenqun},
|
||||
date = {2017},
|
||||
journaltitle = {Shock and Vibration},
|
||||
shortjournal = {Shock and Vibration},
|
||||
volume = {2017},
|
||||
pages = {1--15},
|
||||
issn = {1070-9622, 1875-9203},
|
||||
doi = {10.1155/2017/2038421},
|
||||
url = {https://www.hindawi.com/journals/sv/2017/2038421/},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {By considering the tightening process, a three-dimensional elastic finite element analysis is conducted to explore the mechanism of bolt self-loosening under transverse cyclic loading. According to the geometrical features of the thread, a hexahedral meshing is implemented by modifying the node coordinates based on cylinder meshes and an ABAQUS plug-in is made for parametric modeling. The accuracy of the finite element model is verified and validated by comparison with the analytical and experimental results on torque-tension relationship. And, then, the fastening states acquired by different means are compared. The results show that the tightening process cannot be replaced by a simplified method because its fastening state is different from the real process. With combining the tightening and self-loosening processes, this paper utilizes the relative rotation angles and velocities to investigate the slip states on contact surfaces instead of the Coulomb friction coefficient method, which is used in most previous researches. By contrast, this method can describe the slip states in greater detail. In addition, the simulation result reveals that there exists a creep slip phenomenon at contact surface, which causes the bolt self-loosening to occur even when some contact facets are stuck.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\CHXWJ6ZF\\chen2017.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\EGAVQZ32\\Chen et al. - 2017 - Self-Loosening Failure Analysis of Bolt Joints und.pdf}
|
||||
}
|
||||
|
||||
@article{cortes1995,
|
||||
title = {Support-Vector Networks},
|
||||
author = {Cortes, Corinna and Vapnik, Vladimir},
|
||||
date = {1995-09-01},
|
||||
journaltitle = {Machine Learning},
|
||||
shortjournal = {Mach Learn},
|
||||
volume = {20},
|
||||
number = {3},
|
||||
pages = {273--297},
|
||||
issn = {1573-0565},
|
||||
doi = {10.1007/BF00994018},
|
||||
url = {https://doi.org/10.1007/BF00994018},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {Thesupport-vector network is a new learning machine for two-group classification problems. The machine conceptually implements the following idea: input vectors are non-linearly mapped to a very high-dimension feature space. In this feature space a linear decision surface is constructed. Special properties of the decision surface ensures high generalization ability of the learning machine. The idea behind the support-vector network was previously implemented for the restricted case where the training data can be separated without errors. We here extend this result to non-separable training data.},
|
||||
langid = {english},
|
||||
keywords = {efficient learning algorithms,neural networks,pattern recognition,polynomial classifiers,radial basis function classifiers},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\5W2CFHWN\\Cortes and Vapnik - 1995 - Support-vector networks.pdf;C\:\\Users\\damar\\Zotero\\storage\\9BK8NS3K\\cortes1995.pdf.pdf}
|
||||
}
|
||||
|
||||
@online{duval2017,
|
||||
title = {Answer to "{{Can STFT}} ({{Short-time Fourier Transform}} ) Be More Useful than {{FFT}} for Analyzing Stationary Signals under Some Circumstances?"},
|
||||
shorttitle = {Answer to "{{Can STFT}} ({{Short-time Fourier Transform}} ) Be More Useful than {{FFT}} for Analyzing Stationary Signals under Some Circumstances?},
|
||||
author = {Duval, Laurent},
|
||||
date = {2017-10-04},
|
||||
url = {https://dsp.stackexchange.com/a/44145},
|
||||
urldate = {2025-04-26},
|
||||
organization = {Signal Processing Stack Exchange},
|
||||
file = {C:\Users\damar\Zotero\storage\VKABC5YA\can-stft-short-time-fourier-transform-be-more-useful-than-fft-for-analyzing-s.html}
|
||||
}
|
||||
|
||||
@article{eraliev2022,
|
||||
title = {Vibration-{{Based Loosening Detection}} of a {{Multi-Bolt Structure Using Machine Learning Algorithms}}},
|
||||
author = {Eraliev, Oybek and Lee, Kwang-Hee and Lee, Chul-Hee},
|
||||
date = {2022-01},
|
||||
journaltitle = {Sensors},
|
||||
volume = {22},
|
||||
number = {3},
|
||||
pages = {1210},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {1424-8220},
|
||||
doi = {10.3390/s22031210},
|
||||
url = {https://www.mdpi.com/1424-8220/22/3/1210},
|
||||
urldate = {2024-05-10},
|
||||
abstract = {Since artificial intelligence (AI) was introduced into engineering fields, it has made many breakthroughs. Machine learning (ML) algorithms have been very commonly used in structural health monitoring (SHM) systems in the last decade. In this study, a vibration-based early stage of bolt loosening detection and identification technique is proposed using ML algorithms, for a motor fastened with four bolts (M8 × 1.5) to a stationary support. First, several cases with fastened and loosened bolts were established, and the motor was operated in three different types of working condition (800 rpm, 1000 rpm, and 1200 rpm), in order to obtain enough vibration data. Second, for feature extraction of the dataset, the short-time Fourier transform (STFT) method was performed. Third, different types of classifier of ML were trained, and a new test dataset was applied to evaluate the performance of the classifiers. Finally, the classifier with the greatest accuracy was identified. The test results showed that the capability of the classifier was satisfactory for detecting bolt loosening and identifying which bolt or bolts started to lose their preload in each working condition. The identified classifier will be implemented for online monitoring of the early stage of bolt loosening of a multi-bolt structure in future works.},
|
||||
issue = {3},
|
||||
langid = {english},
|
||||
keywords = {bolt loosening,bolt-loosening identification,loosening detection,machine learning,signal processing,vibration},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\QZSXUW39\\sensors-22-01210-with-cover.pdf;C\:\\Users\\damar\\Zotero\\storage\\T7TG2XEK\\Eraliev et al. - 2022 - Vibration-Based Loosening Detection of a Multi-Bol.pdf}
|
||||
}
|
||||
|
||||
@inproceedings{ganga2022,
|
||||
title = {{{SVM Based Vibration Analysis}} for {{Effective Classification}} of {{Machine Conditions}}},
|
||||
booktitle = {International {{Congress}} and {{Workshop}} on {{Industrial AI}} 2021},
|
||||
author = {Ganga, D. and Ramachandran, V.},
|
||||
editor = {Karim, Ramin and Ahmadi, Alireza and Soleimanmeigouni, Iman and Kour, Ravdeep and Rao, Raj},
|
||||
date = {2022},
|
||||
pages = {415--423},
|
||||
publisher = {Springer International Publishing},
|
||||
location = {Cham},
|
||||
doi = {10.1007/978-3-030-93639-6_36},
|
||||
abstract = {In condition monitoring, alarms have been the significant references for assessment of critical conditions. Generation of false alarms or suppression of defectiveness have often occurred while maintenance of machines due to incorrect setting of alarms appropriate to machine conditions. The evolution of data analytics and related technologies for real-time data acquisition as per industrial 4.0 standards will resolve such deceptive problems perceived till date. This paper attempts to elucidate a framework for identification and classification of vibration thresholds as per machine conditions using Internet of Things (IoT) based data acquisition and vibration analytics using support vector machines. The classification algorithm for the detection of higher vibrating range of machines has been tested with different sets of vibration features extracted. Incorporation of IoT devices facilitate unbounded and flexible data acquisition for carrying out detailed analytics in cloud environment. The kernel based support vector machine classifies the features extracted from signal processing into higher and lower vibrating levels of machine and fixes the higher vibration levels as thresholds for condition monitoring. The proposed alarm fixation model automatically classifies the maximum vibrating ranges of machines under different operating conditions. This automated condition monitoring model illustrates the efficacy of cloud environment for execution of exhaustive machine learning algorithms for condition monitoring. The performance analysis of the proposed model on the extracted vibration features validates the competence of machine learning algorithms for precise fixation of vibration thresholds and classification of machine conditions for effective maintenance.},
|
||||
isbn = {978-3-030-93639-6},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@incollection{garrett2020,
|
||||
title = {String {{Theory}}},
|
||||
booktitle = {Understanding {{Acoustics}}: {{An Experimentalist}}’s {{View}} of {{Sound}} and {{Vibration}}},
|
||||
author = {Garrett, Steven L.},
|
||||
editor = {Garrett, Steven L.},
|
||||
date = {2020},
|
||||
pages = {133--178},
|
||||
publisher = {Springer International Publishing},
|
||||
location = {Cham},
|
||||
doi = {10.1007/978-3-030-44787-8_3},
|
||||
url = {https://doi.org/10.1007/978-3-030-44787-8_3},
|
||||
urldate = {2025-05-09},
|
||||
abstract = {The vibrating string has been employed by nearly every human culture to create musical instruments. Although the musical application has attracted the attention of mathematical and scientific analysts since the time of Pythagoras (570~BC–495~BC), we will study the string primarily because its vibrations are easy to visualize and string vibrations introduce concepts and techniques that will recur throughout our study of the vibration and the acoustics of continua. In this chapter, we will develop continuous mathematical functions of position and time that describe the shape of the entire string. The amplitude of such functions will describe the transverse displacement from equilibrium, y(x,\,t), at all positions along the string. The importance of boundary conditions at the ends of strings will be emphasized, and techniques to accommodate both ideal and “imperfect” boundary conditions will be introduced. Solutions that result in all parts of the string oscillating at the same frequency which satisfy the boundary conditions are called normal modes, and the calculation of those normal mode frequencies will be a focus of this chapter.},
|
||||
isbn = {978-3-030-44787-8},
|
||||
langid = {english},
|
||||
keywords = {Harmonic series,Normal modes,Radiation impedance,Standing waves,Transcendental equations,Traveling waves},
|
||||
file = {C:\Users\damar\Zotero\storage\PKXH58D2\Garrett - 2020 - String Theory.pdf}
|
||||
}
|
||||
|
||||
@incollection{giurgiutiu2020,
|
||||
title = {17 - {{Structural}} Health Monitoring ({{SHM}}) of Aerospace Composites},
|
||||
booktitle = {Polymer {{Composites}} in the {{Aerospace Industry}} ({{Second Edition}})},
|
||||
author = {Giurgiutiu, Victor},
|
||||
editor = {Irving, Philip and Soutis, Constantinos},
|
||||
date = {2020-01-01},
|
||||
series = {Woodhead {{Publishing Series}} in {{Composites Science}} and {{Engineering}}},
|
||||
pages = {491--558},
|
||||
publisher = {Woodhead Publishing},
|
||||
doi = {10.1016/B978-0-08-102679-3.00017-4},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/B9780081026793000174},
|
||||
urldate = {2025-05-09},
|
||||
abstract = {The chapter deals with structural health monitoring (SHM) of aerospace composites. After a brief introduction, the discussion focuses on the significant types of aerospace composite damage, which is substantially different from the damage usually encountered in aerospace metallic structures. Tension, compression, fastener holes, impact, fatigue damage types are discussed. Damage in composite sandwich structures and adhesive composite joints are also reviewed. The chapter continues with a presentation of the major sensor classes used in SHM practice with focus on advanced sensors, such as optical fiber Bragg gratings (FBG) and piezoelectric wafer active sensors (PWAS). Electrical sensing methods for composites SHM are also discussed. The last part of the chapter discusses the methods of SHM implementation, such as passive sensing SHM, active sensing SHM, local-area sensing with the electromechanical impedance spectroscopy (EMIS), active sensing SHM with electrical methods, and direct methods for impact damage detection. The chapter finishes with a summary, conclusion, and suggestions for further work.},
|
||||
isbn = {978-0-08-102679-3},
|
||||
keywords = {Active SHM,Aerospace composites,Barely visible damage,Barely visible impact damage,BVD,BVID,Composite damage,Damage detection,Electrical SHM,Electromechanical impedance spectroscopy,EMIS,FBG,Fiber Bragg gratings,Impact damage,Impact detection,Optical sensors,Passive SHM,Piezoelectric wafer active sensors,PWAS,SHM,Structural health monitoring},
|
||||
file = {C:\Users\damar\Zotero\storage\NYTBVDQN\Giurgiutiu - 2020 - 17 - Structural health monitoring (SHM) of aerospa.pdf}
|
||||
}
|
||||
|
||||
@article{gomez-cabrera2022,
|
||||
title = {Review of {{Machine-Learning Techniques Applied}} to {{Structural Health Monitoring Systems}} for {{Building}} and {{Bridge Structures}}},
|
||||
author = {Gomez-Cabrera, Alain and Escamilla-Ambrosio, Ponciano Jorge},
|
||||
date = {2022-01},
|
||||
journaltitle = {Applied Sciences},
|
||||
volume = {12},
|
||||
number = {21},
|
||||
pages = {10754},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {2076-3417},
|
||||
doi = {10.3390/app122110754},
|
||||
url = {https://www.mdpi.com/2076-3417/12/21/10754},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {This review identifies current machine-learning algorithms implemented in building structural health monitoring systems and their success in determining the level of damage in a hierarchical classification. The integration of physical models, feature extraction techniques, uncertainty management, parameter estimation, and finite element model analysis are used to implement data-driven model detection systems for SHM system design. A total of 68 articles using ANN, CNN and SVM, in combination with preprocessing techniques, were analyzed corresponding to the period 2011–2022. The application of these techniques in structural condition monitoring improves the reliability and performance of these systems.},
|
||||
issue = {21},
|
||||
langid = {english},
|
||||
keywords = {building structures,data-based model,machine learning,physics-based model,structural health monitoring},
|
||||
file = {C:\Users\damar\Zotero\storage\SAYFD8LC\Gomez-Cabrera and Escamilla-Ambrosio - 2022 - Review of Machine-Learning Techniques Applied to S.pdf}
|
||||
}
|
||||
|
||||
@article{goyal2016,
|
||||
title = {The {{Vibration Monitoring Methods}} and {{Signal Processing Techniques}} for {{Structural Health Monitoring}}: {{A Review}}},
|
||||
shorttitle = {The {{Vibration Monitoring Methods}} and {{Signal Processing Techniques}} for {{Structural Health Monitoring}}},
|
||||
author = {Goyal, D. and Pabla, B. S.},
|
||||
date = {2016-12},
|
||||
journaltitle = {Archives of Computational Methods in Engineering},
|
||||
shortjournal = {Arch Computat Methods Eng},
|
||||
volume = {23},
|
||||
number = {4},
|
||||
pages = {585--594},
|
||||
issn = {1134-3060, 1886-1784},
|
||||
doi = {10.1007/s11831-015-9145-0},
|
||||
url = {http://link.springer.com/10.1007/s11831-015-9145-0},
|
||||
urldate = {2024-04-09},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\5862GKAP\goyal2015.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{hassani2023,
|
||||
title = {A {{Systematic Review}} of {{Advanced Sensor Technologies}} for {{Non-Destructive Testing}} and {{Structural Health Monitoring}}},
|
||||
author = {Hassani, Sahar and Dackermann, Ulrike},
|
||||
date = {2023-01},
|
||||
journaltitle = {Sensors},
|
||||
volume = {23},
|
||||
number = {4},
|
||||
pages = {2204},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {1424-8220},
|
||||
doi = {10.3390/s23042204},
|
||||
url = {https://www.mdpi.com/1424-8220/23/4/2204},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {This paper reviews recent advances in sensor technologies for non-destructive testing (NDT) and structural health monitoring (SHM) of civil structures. The article is motivated by the rapid developments in sensor technologies and data analytics leading to ever-advancing systems for assessing and monitoring structures. Conventional and advanced sensor technologies are systematically reviewed and evaluated in the context of providing input parameters for NDT and SHM systems and for their suitability to determine the health state of structures. The presented sensing technologies and monitoring systems are selected based on their capabilities, reliability, maturity, affordability, popularity, ease of use, resilience, and innovation. A significant focus is placed on evaluating the selected technologies and associated data analytics, highlighting limitations, advantages, and disadvantages. The paper presents sensing techniques such as fiber optics, laser vibrometry, acoustic emission, ultrasonics, thermography, drones, microelectromechanical systems (MEMS), magnetostrictive sensors, and next-generation technologies.},
|
||||
issue = {4},
|
||||
langid = {english},
|
||||
keywords = {advanced sensor technologies,damage identification methods,machine learning,non-destructive evaluation,non-destructive testing,structural health monitoring},
|
||||
file = {C:\Users\damar\Zotero\storage\JIPPVCWI\Hassani and Dackermann - 2023 - A Systematic Review of Advanced Sensor Technologie.pdf}
|
||||
}
|
||||
|
||||
@article{hsu,
|
||||
title = {A {{Practical Guide}} to {{Support Vector Classification}}},
|
||||
author = {Hsu, Chih-Wei and Chang, Chih-Chung and Lin, Chih-Jen},
|
||||
abstract = {The support vector machine (SVM) is a popular classification technique. However, beginners who are not familiar with SVM often get unsatisfactory results since they miss some easy but significant steps. In this guide, we propose a simple procedure which usually gives reasonable results.},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\3D5K3FV4\Hsu et al. - A Practical Guide to Support Vector Classification.pdf}
|
||||
}
|
||||
|
||||
@inproceedings{j.h.park2015,
|
||||
title = {Image-Based {{Bolt-loosening Detection Technique}} of {{Bolt Joint}} in {{Steel Bridges}}},
|
||||
author = {{J. H. Park} and {T. H. Kim} and {J. T. Kim}},
|
||||
date = {2015},
|
||||
url = {https://api.semanticscholar.org/CorpusID:36521104},
|
||||
abstract = {This paper presents a novel bolt-loosening detection technique using image information of bolted joints in steel bridges. Firstly, existing bolt-loosening detection techniques are reviewed and their benefits and limitations are analyzed. Secondly, a bolt-loosening detection algorithm using image processing techniques is newly proposed for bolted joints in steel bridges. It consists of 3 steps: (1) taking a picture for a bolt joint, (2) segmenting the image to identify a splice plate and each nut, and (3) identifying rotation angle of each nut and detecting boltloosening. As a key technique, the Hough transform is used to identify rotation angles of nuts, and then boltloosening is detected by comparing the angles before and after bolt-loosening. Finally, the applicability of the proposed technique is evaluated by experimental tests with bolt-loosening scenarios. A bolted joint model which consists of a splice plate and 8 sets of bolts and nuts with 2×4 array is used for the tests.}
|
||||
}
|
||||
|
||||
@article{jang2023,
|
||||
title = {Vibration Data Feature Extraction and Deep Learning-Based Preprocessing Method for Highly Accurate Motor Fault Diagnosis},
|
||||
author = {Jang, Jun-Gyo and Noh, Chun-Myoung and Kim, Sung-Soo and Shin, Sung-Chul and Lee, Soon-Sup and Lee, Jae-Chul},
|
||||
date = {2023-01-11},
|
||||
journaltitle = {Journal of Computational Design and Engineering},
|
||||
volume = {10},
|
||||
number = {1},
|
||||
pages = {204--220},
|
||||
issn = {2288-5048},
|
||||
doi = {10.1093/jcde/qwac128},
|
||||
url = {https://academic.oup.com/jcde/article/10/1/204/6880159},
|
||||
urldate = {2024-09-11},
|
||||
abstract = {Abstract The environmental regulations on vessels being strengthened by the International Maritime Organization has led to a steady growth in the eco-friendly ship market. Related research is being actively conducted, including many studies on the maintenance and predictive maintenance of propulsion systems (including electric motors and rotating bodies) in electric propulsion vessels. The present study intends to enhance the artificial intelligence (AI)-based failure-diagnosis rate for electric propulsion vessel propulsion systems. To verify the proposed AI-based failure diagnosis algorithm for electric motors, this study utilized the vibration data of mechanical equipment (electric motors) in an urban railway station. Securing and preprocessing high-quality data is crucial for improving the failure-diagnosis rate, in addition to the performance of the diagnostic algorithm. However, the conventional wavelet transform method, which is generally used for machine signal processing, has a disadvantage of data loss when the data distribution is abnormal or skewed. This study, to overcome this shortcoming, proposes an AI-based denoising auto encoder (DAE) method that can remove noise while maintaining data characteristics for signal processing of mechanical equipment. This study preprocessed vibration data by using the DAE method, and extracted significant features from the data through the feature extraction method. The extracted features were utilized to train the one-class support vector machine model and to allow the model to diagnose the failure. Finally, the F-1 score was calculated by using the failure diagnosis results, and the most meaningful feature extraction method was determined for the vibration data. In addition, this study compared and evaluated the preprocessing performance based on the DAE and the wavelet transform methods.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\H9L6XB8D\\Jang et al. - 2023 - Vibration data feature extraction and deep learnin.pdf;C\:\\Users\\damar\\Zotero\\storage\\WA37YR8L\\Jang et al. - 2023 - Vibration data feature extraction and deep learnin.pdf}
|
||||
}
|
||||
|
||||
@article{kumar2017,
|
||||
title = {Time-Frequency Analysis and Support Vector Machine in Automatic Detection of Defect from Vibration Signal of Centrifugal Pump},
|
||||
author = {Kumar, Anil and Kumar, Rajesh},
|
||||
date = {2017-10},
|
||||
journaltitle = {Measurement},
|
||||
shortjournal = {Measurement},
|
||||
volume = {108},
|
||||
pages = {119--133},
|
||||
issn = {02632241},
|
||||
doi = {10.1016/j.measurement.2017.04.041},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/S0263224117302750},
|
||||
urldate = {2024-03-18},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\B8JSREBK\kumar2017.pdf.pdf}
|
||||
}
|
||||
|
||||
@incollection{liu2022,
|
||||
title = {Hardware {{Acceleration}} for {{1D-CNN Based Real-Time Edge Computing}}},
|
||||
booktitle = {Network and {{Parallel Computing}}},
|
||||
author = {Liu, Xinyu and Sai, Gaole and Duan, Shengyu},
|
||||
editor = {Liu, Shaoshan and Wei, Xiaohui},
|
||||
date = {2022},
|
||||
volume = {13615},
|
||||
pages = {192--204},
|
||||
publisher = {Springer Nature Switzerland},
|
||||
location = {Cham},
|
||||
doi = {10.1007/978-3-031-21395-3_18},
|
||||
url = {https://link.springer.com/10.1007/978-3-031-21395-3_18},
|
||||
urldate = {2025-05-16},
|
||||
isbn = {978-3-031-21394-6 978-3-031-21395-3},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@article{malekjafarian2019,
|
||||
title = {A {{Machine Learning Approach}} to {{Bridge-Damage Detection Using Responses Measured}} on a {{Passing Vehicle}}},
|
||||
author = {Malekjafarian, Abdollah and Golpayegani, Fatemeh and Moloney, Callum and Clarke, Siobhán},
|
||||
date = {2019-01},
|
||||
journaltitle = {Sensors},
|
||||
volume = {19},
|
||||
number = {18},
|
||||
pages = {4035},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {1424-8220},
|
||||
doi = {10.3390/s19184035},
|
||||
url = {https://www.mdpi.com/1424-8220/19/18/4035},
|
||||
urldate = {2024-04-02},
|
||||
abstract = {This paper proposes a new two-stage machine learning approach for bridge damage detection using the responses measured on a passing vehicle. In the first stage, an artificial neural network (ANN) is trained using the vehicle responses measured from multiple passes (training data set) over a healthy bridge. The vehicle acceleration or Discrete Fourier Transform (DFT) spectrum of the acceleration is used. The vehicle response is predicted from its speed for multiple passes (monitoring data set) over the bridge. Root-mean-square error is used to calculate the prediction error, which indicates the differences between the predicted and measured responses for each passage. In the second stage of the proposed method, a damage indicator is defined using a Gaussian process that detects the changes in the distribution of the prediction errors. It is suggested that if the bridge condition is healthy, the distribution of the prediction errors will remain low. A recognizable change in the distribution might indicate a damage in the bridge. The performance of the proposed approach was evaluated using numerical case studies of vehicle–bridge interaction. It was demonstrated that the approach could successfully detect the damage in the presence of road roughness profile and measurement noise, even for low damage levels.},
|
||||
issue = {18},
|
||||
langid = {english},
|
||||
keywords = {artificial neural network,bridge,damage detection,drive-by,machine learning},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\7WYKNBEK\\Malekjafarian et al. - 2019 - A Machine Learning Approach to Bridge-Damage Detec.pdf;C\:\\Users\\damar\\Zotero\\storage\\W9XNXSBP\\malekjafarian2019.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{mariani2024,
|
||||
title = {Data-Driven Modeling of Long Temperature Time-Series to Capture the Thermal Behavior of Bridges for {{SHM}} Purposes},
|
||||
author = {Mariani, S. and Kalantari, A. and Kromanis, R. and Marzani, A.},
|
||||
date = {2024-01-01},
|
||||
journaltitle = {Mechanical Systems and Signal Processing},
|
||||
shortjournal = {Mechanical Systems and Signal Processing},
|
||||
volume = {206},
|
||||
pages = {110934},
|
||||
issn = {0888-3270},
|
||||
doi = {10.1016/j.ymssp.2023.110934},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0888327023008427},
|
||||
urldate = {2024-05-08},
|
||||
abstract = {Bridges experience complex heat propagation phenomena that are governed by external thermal loads, such as solar radiation and air convection, as well as internal factors, such as thermal inertia and geometrical properties of the various components. This dynamics produces internal temperature distributions which cause changes in some measurable structural responses that often surpass those produced by any other load acting on the structure or by the insurgence or growth of damage. This article advocates the use of regression models that are capable of capturing the dynamics buried within long sequences of temperature measurements and of relating that to some measured structural response, such as strain as in the test structure used in this study. Two such models are proposed, namely the multiple linear regression (MLR) and a deep learning (DL) method based on one-dimensional causal dilated convolutional neural networks, and their ability to predict strain is evaluated in terms of the coefficient of determination R2. Simple linear regression (LR), which only uses a single temperature reading to predict the structural response, is also tested and used as a benchmark. It is shown that both MLR and the DL method largely outperform LR, with the DL method providing the best results overall, though at a higher computational cost. These findings confirm the need to consider the evolution of temperature if one wishes to setup a temperature-based data-driven strategy for the SHM of large structures such as bridges, an example of which is given and discussed towards the end of the article.},
|
||||
keywords = {Bridges,Regression,SHM,Thermal inertia,Time-lag,WaveNet},
|
||||
file = {C:\Users\damar\Zotero\storage\CNNQXVU3\Mariani et al. - 2024 - Data-driven modeling of long temperature time-seri.pdf}
|
||||
}
|
||||
|
||||
@article{melhem2003,
|
||||
title = {Damage {{Detection}} in {{Concrete}} by {{Fourier}} and {{Wavelet Analyses}}},
|
||||
author = {Melhem, Hani and Kim, Hansang},
|
||||
date = {2003-05-01},
|
||||
journaltitle = {Journal of Engineering Mechanics},
|
||||
volume = {129},
|
||||
number = {5},
|
||||
pages = {571--577},
|
||||
publisher = {American Society of Civil Engineers},
|
||||
issn = {0733-9399},
|
||||
doi = {10.1061/(ASCE)0733-9399(2003)129:5(571)},
|
||||
url = {https://ascelibrary.org/doi/10.1061/%28ASCE%290733-9399%282003%29129%3A5%28571%29},
|
||||
urldate = {2024-03-19},
|
||||
abstract = {The effectiveness of vibration-based methods in damage detection of a typical highway structure is investigated. Two types of full-scale concrete structures subjected to fatigue loads are studied: (1) Portland cement concrete pavements on grade; and (2) a ...},
|
||||
langid = {english},
|
||||
keywords = {concrete,Concrete structures,crack detection,Damage,dynamic response,fatigue,Fourier transform,Fourier transforms,nondestructive testing,Nondestructive tests,vibrations,wavelet transforms},
|
||||
file = {C:\Users\damar\Zotero\storage\6ZTIUGQL\melhem2003.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{miao2020,
|
||||
title = {A {{New Method}} of {{Denoising}} of {{Vibration Signal}} and {{Its Application}}},
|
||||
author = {Miao, Feng and Zhao, Rongzhen and Wang, Xianli},
|
||||
date = {2020-05-30},
|
||||
journaltitle = {Shock and Vibration},
|
||||
shortjournal = {Shock and Vibration},
|
||||
volume = {2020},
|
||||
pages = {1--8},
|
||||
issn = {1070-9622, 1875-9203},
|
||||
doi = {10.1155/2020/7587840},
|
||||
url = {https://www.hindawi.com/journals/sv/2020/7587840/},
|
||||
urldate = {2024-09-10},
|
||||
abstract = {In order to improve the performance of the denoising method for vibration signals of rotating machinery, a new method of signal denoising based on the improved median filter and wavelet packet technology is proposed through analysing the characteristics of noise components and relevant denoising methods. Firstly, the window width of the median filter is calculated according to the sampling frequency so that the impulse noise and part of the white noise can be effectively filtered out. Secondly, an improved self-adaptive wavelet packet denoising technique is used to remove the residual white noise. Finally, useful vibration signals are obtained after the previous processing. Simulation signals and rotor experimental vibration signals were used to verify the performance of the method. Experiment results show that the method can not only effectively eliminate the mixed complex noises but also preserve the fault character details, which demonstrates that the proposed method outperforms the method based on the wavelet-domain median filter.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\LNJIL8MM\\miao2020.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\P8Z2YJPH\\Miao et al. - 2020 - A New Method of Denoising of Vibration Signal and .pdf}
|
||||
}
|
||||
|
||||
@inproceedings{mironovova2015,
|
||||
title = {Fast Fourier Transform for Feature Extraction and Neural Network for Classification of Electrocardiogram Signals},
|
||||
booktitle = {2015 {{Fourth International Conference}} on {{Future Generation Communication Technology}} ({{FGCT}})},
|
||||
author = {Mironovova, Martina and Bíla, Jirí},
|
||||
date = {2015-07},
|
||||
pages = {1--6},
|
||||
issn = {2377-2638},
|
||||
doi = {10.1109/FGCT.2015.7300244},
|
||||
url = {https://ieeexplore.ieee.org/document/7300244},
|
||||
urldate = {2024-09-03},
|
||||
abstract = {This paper presents a novel approach to complex classification of heart abnormalities registered by electrocardiogram signals. It uses a combined approach of a Fast Fourier Technique for signal filtering and R-peaks detection and heart rate extraction, followed by signal modelling and classification by neural network based on recording of ECG. Obtained information is processed together for a complex evaluation of the signal in time.},
|
||||
eventtitle = {2015 {{Fourth International Conference}} on {{Future Generation Communication Technology}} ({{FGCT}})},
|
||||
keywords = {Data Filtering,Databases,Electrocardiogram Signal,Electrocardiography,Fast Fourier Transform,Heart beat,Heart rate variability,Neural Network,Neural networks,R-Peak Detection},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\KTRQVNQL\\mironovova2015.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\5Z2M5IAW\\7300244.html}
|
||||
}
|
||||
|
||||
@article{nichols2004,
|
||||
title = {Use of Data-Driven Phase Space Models in Assessing the Strength of a Bolted Connection in a Composite Beam},
|
||||
author = {Nichols, J M and Nichols, C J and Todd, M D and Seaver, M and Trickey, S T and Virgin, L N},
|
||||
date = {2004-04-01},
|
||||
journaltitle = {Smart Materials and Structures},
|
||||
shortjournal = {Smart Mater. Struct.},
|
||||
volume = {13},
|
||||
number = {2},
|
||||
pages = {241--250},
|
||||
issn = {0964-1726, 1361-665X},
|
||||
doi = {10.1088/0964-1726/13/2/001},
|
||||
url = {https://iopscience.iop.org/article/10.1088/0964-1726/13/2/001},
|
||||
urldate = {2025-05-16}
|
||||
}
|
||||
|
||||
@article{onchis2019,
|
||||
title = {A Deep Learning Approach to Condition Monitoring of Cantilever Beams via Time-Frequency Extended Signatures},
|
||||
author = {Onchis, Habil. Darian M.},
|
||||
date = {2019-02},
|
||||
journaltitle = {Computers in Industry},
|
||||
shortjournal = {Computers in Industry},
|
||||
volume = {105},
|
||||
pages = {177--181},
|
||||
issn = {01663615},
|
||||
doi = {10.1016/j.compind.2018.12.005},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/S0166361518305669},
|
||||
urldate = {2024-04-10},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\VMTHSXPK\37f540b431ff7b297a2ca5b8f2eb1454.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{pentaris2013,
|
||||
title = {A Novel Approach of {{Structural Health Monitoring}} by the Application of {{FFT}} and Wavelet Transform Using an Index of Frequency Dispersion},
|
||||
author = {Pentaris, Fragkiskos and Stonham, John and Makris, John},
|
||||
date = {2013-01-01},
|
||||
journaltitle = {International Journal of Geology},
|
||||
shortjournal = {International Journal of Geology},
|
||||
volume = {7},
|
||||
pages = {39--48},
|
||||
file = {C:\Users\damar\Zotero\storage\ADJEVL7C\Pentaris et al. - 2013 - A novel approach of Structural Health Monitoring b.pdf}
|
||||
}
|
||||
|
||||
@article{rabi2024,
|
||||
title = {Effectiveness of {{Vibration-Based Techniques}} for {{Damage Localization}} and {{Lifetime Prediction}} in {{Structural Health Monitoring}} of {{Bridges}}: {{A Comprehensive Review}}},
|
||||
shorttitle = {Effectiveness of {{Vibration-Based Techniques}} for {{Damage Localization}} and {{Lifetime Prediction}} in {{Structural Health Monitoring}} of {{Bridges}}},
|
||||
author = {Rabi, Raihan Rahmat and Vailati, Marco and Monti, Giorgio},
|
||||
date = {2024-04},
|
||||
journaltitle = {Buildings},
|
||||
volume = {14},
|
||||
number = {4},
|
||||
pages = {1183},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {2075-5309},
|
||||
doi = {10.3390/buildings14041183},
|
||||
url = {https://www.mdpi.com/2075-5309/14/4/1183},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {Bridges are essential to infrastructure and transportation networks, but face challenges from heavier traffic, higher speeds, and modifications like busway integration, leading to potential overloading and costly maintenance. Structural Health Monitoring (SHM) plays a crucial role in assessing bridge conditions and predicting failures to maintain structural integrity. Vibration-based condition monitoring employs non-destructive, in situ sensing and analysis of system dynamics across time, frequency, or modal domains. This method detects changes indicative of damage or deterioration, offering a proactive approach to maintenance in civil engineering. Such monitoring systems hold promise for optimizing the management and upkeep of modern infrastructure, potentially reducing operational costs. This paper aims to assist newcomers, practitioners, and researchers in navigating various methodologies for damage identification using sensor data from real structures. It offers a comprehensive review of prevalent anomaly detection approaches, spanning from traditional techniques to cutting-edge methods. Additionally, it addresses challenges inherent in Vibration-Based Damage (VBD) SHM applications, including establishing damage thresholds, corrosion detection, and sensor drift.},
|
||||
issue = {4},
|
||||
langid = {english},
|
||||
keywords = {challenges,damage thresholds,sensors,vibration-based SHM},
|
||||
file = {C:\Users\damar\Zotero\storage\2X8PMPF3\Rabi et al. - 2024 - Effectiveness of Vibration-Based Techniques for Da.pdf}
|
||||
}
|
||||
|
||||
@article{rao2022,
|
||||
title = {A {{Novel Feature-Based SHM Assessment}} and {{Predication Approach}} for {{Robust Evaluation}} of {{Damage Data Diagnosis Systems}}},
|
||||
author = {Rao, M. Vishnu Vardhana and Chaparala, Aparna},
|
||||
date = {2022-06-01},
|
||||
journaltitle = {Wireless Personal Communications},
|
||||
shortjournal = {Wireless Pers Commun},
|
||||
volume = {124},
|
||||
number = {4},
|
||||
pages = {3387--3411},
|
||||
issn = {1572-834X},
|
||||
doi = {10.1007/s11277-022-09518-z},
|
||||
url = {https://doi.org/10.1007/s11277-022-09518-z},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {Structural Health Monitoring (SHM) involves periodic recording and analysis in buildings and infrastructure prone to face external forces, ambient vibration, or natural climate changes. The sensors which are mounted on each floor capture the vibrations and create data with various features. SHM is vital in tracking the rate of deterioration of a structure and detecting damage, thereby maintaining safety. Feature selection, which indicates the process of choosing attributes in the dataset that can provide the best possible output accuracy, plays an important role in the analysis of a Damage Diagnosis system. The present paper proposes to use a combination of Mutual Information and Rough Set Theory for feature selection. After that, the paper proposes the hybrid technique of Support Vector Machine and Artificial Neural Network for increasing prediction accuracy. Comparison with various other commonly used techniques shows that the proposed approach provides a better classification accuracy.},
|
||||
langid = {english},
|
||||
keywords = {ANN (Artificial neural network),Data mining (DM),Feature selection (FS),Mutual information (MI),Neural networks (NN),Rough set theory (RST),SVM (Support vector machine)}
|
||||
}
|
||||
|
||||
@inproceedings{rashinkar2017,
|
||||
title = {An Overview of Data Fusion Techniques},
|
||||
booktitle = {2017 {{International Conference}} on {{Innovative Mechanisms}} for {{Industry Applications}} ({{ICIMIA}})},
|
||||
author = {Rashinkar, Pratiksha and Krushnasamy, V. S.},
|
||||
date = {2017-02},
|
||||
pages = {694--697},
|
||||
doi = {10.1109/ICIMIA.2017.7975553},
|
||||
url = {https://ieeexplore.ieee.org/abstract/document/7975553/figures#figures},
|
||||
urldate = {2024-08-26},
|
||||
abstract = {Multi sensor data fusion is a tool used to combine the data from various sensors and gives a more reliable and accurate output. It is the integration of data and knowledge from several sources. This paper has reviewed the various technologies, the advantages and the classification of the data fusion.},
|
||||
eventtitle = {2017 {{International Conference}} on {{Innovative Mechanisms}} for {{Industry Applications}} ({{ICIMIA}})},
|
||||
keywords = {Data integration,Data models,Feature extraction,Industry applications,Process control,Robot sensing systems,Tutorials},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\XD9NDF48\\rashinkar2017.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\74DF6YBS\\figures.html}
|
||||
}
|
||||
|
||||
@article{razi2013,
|
||||
title = {Improvement of a Vibration-Based Damage Detection Approach for Health Monitoring of Bolted Flange Joints in Pipelines},
|
||||
author = {Razi, Pejman and Esmaeel, Ramadan A and Taheri, Farid},
|
||||
date = {2013-05},
|
||||
journaltitle = {Structural Health Monitoring},
|
||||
shortjournal = {Structural Health Monitoring},
|
||||
volume = {12},
|
||||
number = {3},
|
||||
pages = {207--224},
|
||||
issn = {1475-9217, 1741-3168},
|
||||
doi = {10.1177/1475921713479641},
|
||||
url = {https://journals.sagepub.com/doi/10.1177/1475921713479641},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {Early detection of bolt loosening is a major concern in the oil and gas industry. In this study, a vibration-based health monitoring strategy has been developed for detecting the loosening of bolts in a pipeline’s bolted flange joint. Both numerical and experimental studies are conducted to verify the integrity of our implementation as well as of an enhancement developed along with it. Several damage scenarios are simulated by the loosening of the bolts through varying the applied torque on each bolt. An electric impact hammer is used to vibrate (excite) the system in a consistent manner. The induced vibration signals are collected via piezoceramic sensors bonded onto the pipe and flange. These signals are transferred remotely by a wireless data acquisition module and then processed with a code developed in-house in the MATLAB environment. After normalization and filtering of the signals, the empirical mode decomposition is applied to establish an effective energy-based damage index. The assessment of the damage indices thus obtained for the various scenarios verifies the integrity of the proposed methodology for identifying the damage and its progression in bolted joints as well as the major enhancements applied onto the methodology.},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@inproceedings{sandirasegaram2005,
|
||||
title = {Comparative Analysis of Feature Extraction ({{2D FFT}} and Wavelet) and Classification ({{L}} p Metric Distances, {{MLP NN}}, and {{HNeT}}) Algorithms for {{SAR}} Imagery},
|
||||
author = {Sandirasegaram, Nicholas and English, Ryan},
|
||||
editor = {Zelnio, Edmund G. and Garber, Frederick D.},
|
||||
date = {2005-05-19},
|
||||
pages = {314},
|
||||
location = {Orlando, Florida, USA},
|
||||
doi = {10.1117/12.597305},
|
||||
url = {http://proceedings.spiedigitallibrary.org/proceeding.aspx?doi=10.1117/12.597305},
|
||||
urldate = {2024-09-03},
|
||||
eventtitle = {Defense and {{Security}}},
|
||||
file = {C:\Users\damar\Zotero\storage\GBAFVQY7\sandirasegaram2005.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{satpal2013,
|
||||
title = {Structural Health Monitoring of a Cantilever Beam Using Support Vector Machine},
|
||||
author = {Satpal, Satish B and Khandare, Yogesh and Guha, Anirban and Banerjee, Sauvik},
|
||||
date = {2013-12},
|
||||
journaltitle = {International Journal of Advanced Structural Engineering},
|
||||
shortjournal = {Int J Adv Struct Eng},
|
||||
volume = {5},
|
||||
number = {1},
|
||||
pages = {2},
|
||||
issn = {2008-3556, 2008-6695},
|
||||
doi = {10.1186/2008-6695-5-2},
|
||||
url = {https://link.springer.com/10.1186/2008-6695-5-2},
|
||||
urldate = {2024-04-02},
|
||||
abstract = {In this article, the effectiveness of support vector machine (SVM) is examined for health monitoring of beam-like structures using vibration-induced modal displacement data. The SVM is used to predict the intensity or location of damage in a simulated cantilever beam from displacements of the first mode shape. Twelve levels of damage intensities have been simulated at 12 locations, and six levels of white Gaussian noise have been added, thereby obtaining 1,008 simulations. About 90\% of these are used for training the SVM, and the remaining are used for testing. The trained SVM is able to predict damage intensity and location of all the training set data with nearly 100\% accuracy. The test set data reveal that SVM is able to predict damage intensity and damage location with errors varying from 0.28\% to 4.57\% and 0\% to 20.3\%, respectively, when there is no noise in the data. Addition of noise degrades the performance of SVM, the degradation being significant for intensity prediction and less for damage location prediction. The results demonstrate the use of SVM as a powerful tool for structural health monitoring without using the data of healthy state.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\GBKEW3FA\\Satpal et al. - 2013 - Structural health monitoring of a cantilever beam .pdf;C\:\\Users\\damar\\Zotero\\storage\\LQ3G7S3Y\\satpal2013.pdf.pdf}
|
||||
}
|
||||
|
||||
@inproceedings{shahid2022,
|
||||
title = {Performance {{Comparison}} of {{1D}} and {{2D Convolutional Neural Networks}} for {{Real-Time Classification}} of {{Time Series Sensor Data}}},
|
||||
booktitle = {2022 {{International Conference}} on {{Information Networking}} ({{ICOIN}})},
|
||||
author = {Shahid, Syed Maaz and Ko, Sunghoon and Kwon, Sungoh},
|
||||
date = {2022-01-12},
|
||||
pages = {507--511},
|
||||
publisher = {IEEE},
|
||||
location = {Jeju-si, Korea, Republic of},
|
||||
doi = {10.1109/ICOIN53446.2022.9687284},
|
||||
url = {https://ieeexplore.ieee.org/document/9687284/},
|
||||
urldate = {2025-05-16},
|
||||
eventtitle = {2022 {{International Conference}} on {{Information Networking}} ({{ICOIN}})},
|
||||
isbn = {978-1-66541-332-9}
|
||||
}
|
||||
|
||||
@article{shang2021,
|
||||
title = {Vibration-Based Damage Detection for Bridges by Deep Convolutional Denoising Autoencoder},
|
||||
author = {Shang, Zhiqiang and Sun, Limin and Xia, Ye and Zhang, Wei},
|
||||
date = {2021-07-01},
|
||||
journaltitle = {Structural Health Monitoring},
|
||||
shortjournal = {Structural Health Monitoring},
|
||||
volume = {20},
|
||||
number = {4},
|
||||
pages = {1880--1903},
|
||||
publisher = {SAGE Publications},
|
||||
issn = {1475-9217},
|
||||
doi = {10.1177/1475921720942836},
|
||||
url = {https://doi.org/10.1177/1475921720942836},
|
||||
urldate = {2024-09-11},
|
||||
abstract = {One of the main challenges for structural damage detection using monitoring data is to acquire features that are sensitive to damages but insensitive to noise (e.g. sensor measurement noise) as well as environmental and operational effects (e.g. temperature effect). Inspired by the capabilities of deep learning methods in representation learning, various deep neural networks have been developed to obtain effective damage features from raw vibration data. However, most of the available deep neural networks are supervised, resulting in practical difficulties owing to the lack of damage labels. This article proposes a damage detection strategy based on an unsupervised deep neural network, referred to as deep convolutional denoising autoencoder, which accepts multi-dimensional cross-correlation functions as input. The strategy aims to extract damage features from field measurements of undamaged structures under the influence of noise and temperature uncertainties. In the proposed strategy, cross-correlation functions of vibration data are first calculated as basic features; then deep convolutional denoising autoencoder is developed to reconstruct cross-correlation functions from their noise-corrupted versions to extract desired features; exponentially weighted moving average control charts are finally established for these features to identify minor structural damages. The strategy is evaluated through a numerical simply supported beam model and an experimental continuous beam model. The mechanism of deep convolutional denoising autoencoder to extract damage features is interpreted by visualizing feature maps of convolutional layers in the encoder. It is found that these layers perform rough estimations of modal properties and preserve the damage information as the general trend of these properties in multiple extra frequency bands. The results show that the proposed strategy is competent for structural damage detection under the exposed environment and worth further exploring its capabilities in applications of real bridges.},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\2VCZ5JD7\10.1177@1475921720942836.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{shi2003,
|
||||
title = {Hilbert-Huang Transform and Wavelet Analysis of Time History Signal},
|
||||
author = {Shi, Chun-xiang and Luo, Qi-feng},
|
||||
date = {2003-07-01},
|
||||
journaltitle = {Acta Seismologica Sinica},
|
||||
shortjournal = {Acta Seimol. Sin.},
|
||||
volume = {16},
|
||||
number = {4},
|
||||
pages = {422--429},
|
||||
issn = {1993-1344},
|
||||
doi = {10.1007/s11589-003-0075-9},
|
||||
url = {https://doi.org/10.1007/s11589-003-0075-9},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {The brief theories of wavelet analysis and Hilbert-Huang transform (HHT) are introduced firstly in the present paper. Then several signal data were analyzed by using wavelet and HHT methods, respectively. The comparison shows that HHT is not only an effective method for analyzing non-stationary data, but also is a useful tool for examining detailed characters of time history signal.},
|
||||
langid = {english},
|
||||
keywords = {Hilbert-Huang transform,intrinsic mode functions,mother wavelet,P315.63,spectral analysis,wavelet analysis},
|
||||
file = {C:\Users\damar\Zotero\storage\DCVA28MB\shi2003.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{tang2012,
|
||||
title = {Feature Extraction and Selection Based on Vibration Spectrum with Application to Estimating the Load Parameters of Ball Mill in Grinding Process},
|
||||
author = {Tang, Jian and Chai, Tianyou and Yu, Wen and Zhao, Lijie},
|
||||
date = {2012-10-01},
|
||||
journaltitle = {Control Engineering Practice},
|
||||
shortjournal = {Control Engineering Practice},
|
||||
series = {4th {{Symposium}} on {{Advanced Control}} of {{Industrial Processes}} ({{ADCONIP}})},
|
||||
volume = {20},
|
||||
number = {10},
|
||||
pages = {991--1004},
|
||||
issn = {0967-0661},
|
||||
doi = {10.1016/j.conengprac.2012.03.020},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0967066112000846},
|
||||
urldate = {2024-09-03},
|
||||
abstract = {Feature extraction and selection are important issues in soft sensing and complex nonlinear system modeling. In this paper, a new feature extraction and selection approach based on the vibration frequency spectrum is proposed to estimate the load parameters of wet ball mill in grinding process. This approach can simplify the modeling process. In this study, the vibration acceleration signals are first transformed into the frequency spectrum by fast Fourier transform (FFT). Then the candidate features are extracted and selected from the frequency spectrum, which include characteristic frequency sub-bands, spectral principal components, and features of local peaks. Mutual information, spectral segment clustering and kernel principal component analysis are used to obtain these candidate features. Finally, a combinatorial optimization method based on adaptive genetic algorithm selects the input sub-set and parameters of the soft sensor model simultaneously. This approach is successfully applied in a laboratory scale wet ball mill. The test results show that the proposed approach is effective for modeling the parameters of mill load.},
|
||||
keywords = {Combinatorial optimization,Feature extraction,Feature selection,Frequency spectrum,Mill load,Soft sensor}
|
||||
}
|
||||
|
||||
@article{toh2020,
|
||||
title = {Review of {{Vibration-Based Structural Health Monitoring Using Deep Learning}}},
|
||||
author = {Toh, Gyungmin and Park, Junhong},
|
||||
date = {2020-01},
|
||||
journaltitle = {Applied Sciences},
|
||||
volume = {10},
|
||||
number = {5},
|
||||
pages = {1680},
|
||||
publisher = {Multidisciplinary Digital Publishing Institute},
|
||||
issn = {2076-3417},
|
||||
doi = {10.3390/app10051680},
|
||||
url = {https://www.mdpi.com/2076-3417/10/5/1680},
|
||||
urldate = {2024-03-19},
|
||||
abstract = {With the rapid progress in the deep learning technology, it is being used for vibration-based structural health monitoring. When the vibration is used for extracting features for system diagnosis, it is important to correlate the measured signal to the current status of the structure. The measured vibration responses show large deviation in spectral and transient characteristics for systems to be monitored. Consequently, the diagnosis using vibration requires complete understanding of the extracted features to discard the influence of surrounding environments or unnecessary variations. The deep-learning-based algorithms are expected to find increasing application in these complex problems due to their flexibility and robustness. This review provides a summary of studies applying machine learning algorithms for fault monitoring. The vibration factors were used to categorize the studies. A brief interpretation of deep neural networks is provided to guide further applications in the structural vibration analysis.},
|
||||
issue = {5},
|
||||
langid = {english},
|
||||
keywords = {deep neural network,health monitoring,vibration},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\6XITVIKY\\toh2020.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\9L9KXB7V\\Toh and Park - 2020 - Review of Vibration-Based Structural Health Monito.pdf}
|
||||
}
|
||||
|
||||
@inproceedings{van2020,
|
||||
title = {Statistical {{Feature Extraction}} in {{Machine Fault Detection}} Using {{Vibration Signal}}},
|
||||
booktitle = {2020 {{International Conference}} on {{Information}} and {{Communication Technology Convergence}} ({{ICTC}})},
|
||||
author = {Van, Bui and Van Hoa, Nguyen and Nguyen, Huy and Jang, Yeong Min},
|
||||
date = {2020-10},
|
||||
pages = {666--669},
|
||||
issn = {2162-1233},
|
||||
doi = {10.1109/ICTC49870.2020.9289285},
|
||||
url = {https://ieeexplore.ieee.org/document/9289285/figures#figures},
|
||||
urldate = {2024-08-26},
|
||||
abstract = {Gearbox faults are one of the most common types in the industrial factory environment. Early detection of these faults allows fast replacement rather than a costly emergency. Nowadays, early machine fault detection application is improving due to the improvement of the IoT network and real-time analysis. The vibration signal is collected from Spectra Quest's Gearbox Prognostics Simulator and analyzed for fault classification. The preprocessing includes fast Fourier transform and statistical feature extraction. The AI algorithms are Artificial Neural Network, Logistic Regression, and Support Vector Machine. The highest accuracy reached is 100\%.},
|
||||
eventtitle = {2020 {{International Conference}} on {{Information}} and {{Communication Technology Convergence}} ({{ICTC}})},
|
||||
keywords = {ANN,Fault detection,Feature extraction,LR,Machine Learning,Manufacturing,Production facilities,Real-time systems,Support vector machines,SVM,Vibration Signal,Vibrations},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\TW69QG8K\\van2020.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\AZM769D7\\figures.html}
|
||||
}
|
||||
|
||||
@article{vos2022,
|
||||
title = {Vibration-Based Anomaly Detection Using {{LSTM}}/{{SVM}} Approaches},
|
||||
author = {Vos, Kilian and Peng, Zhongxiao and Jenkins, Christopher and Shahriar, Md Rifat and Borghesani, Pietro and Wang, Wenyi},
|
||||
date = {2022-04},
|
||||
journaltitle = {Mechanical Systems and Signal Processing},
|
||||
shortjournal = {Mechanical Systems and Signal Processing},
|
||||
volume = {169},
|
||||
pages = {108752},
|
||||
issn = {08883270},
|
||||
doi = {10.1016/j.ymssp.2021.108752},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/S0888327021010682},
|
||||
urldate = {2024-03-18},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@article{wang2013,
|
||||
title = {Review of {{Bolted Connection Monitoring}}},
|
||||
author = {Wang, Tao and Song, Gangbing and Liu, Shaopeng and Li, Yourong and Xiao, Han},
|
||||
date = {2013-12-01},
|
||||
journaltitle = {International Journal of Distributed Sensor Networks},
|
||||
shortjournal = {International Journal of Distributed Sensor Networks},
|
||||
volume = {9},
|
||||
number = {12},
|
||||
pages = {871213},
|
||||
issn = {1550-1477, 1550-1477},
|
||||
doi = {10.1155/2013/871213},
|
||||
url = {http://journals.sagepub.com/doi/10.1155/2013/871213},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {This paper reviews the research of monitoring technologies for bolted structural connections. The acoustoelastic effect based method, the piezoelectric active sensing method, and the piezoelectric impedance method are the three commonly used to monitor bolted connections. The basic principle and the applications of these three methods are discussed in detail in this paper. In addition, this paper presents a comparison of these methods and discusses their suitability for in situ or real-time bolt connection monitoring.},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\YVAKDMU9\wang2013.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{wang2016,
|
||||
title = {Damage Detection Using Frequency Shift Path},
|
||||
author = {Wang, Longqi and Lie, Seng Tjhen and Zhang, Yao},
|
||||
date = {2016-01-01},
|
||||
journaltitle = {Mechanical Systems and Signal Processing},
|
||||
shortjournal = {Mechanical Systems and Signal Processing},
|
||||
volume = {66--67},
|
||||
pages = {298--313},
|
||||
issn = {0888-3270},
|
||||
doi = {10.1016/j.ymssp.2015.06.028},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0888327015003167},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {This paper introduces a novel concept called FREquency Shift (FRESH) path to describe the dynamic behavior of structures with auxiliary mass. FRESH path combines the effects of frequency shifting and amplitude changing into one space curve, providing a tool for analyzing structure health status and properties. A damage index called FRESH curvature is then proposed to detect local stiffness reduction. FRESH curvature can be easily adapted for a particular problem since the sensitivity of the index can be adjusted by changing auxiliary mass or excitation power. An algorithm is proposed to adjust automatically the contribution from frequency and amplitude in the method. Because the extraction of FRESH path requires highly accurate frequency and amplitude estimators; therefore, a procedure based on discrete time Fourier transform is introduced to extract accurate frequency and amplitude with the time complexity of O(nlogn), which is verified by simulation signals. Moreover, numerical examples with different damage sizes, severities and damping are presented to demonstrate the validity of the proposed damage index. In addition, applications of FRESH path on two steel beams with different damages are presented and the results show that the proposed method is valid and computational efficient.},
|
||||
keywords = {Auxiliary mass,Damage detection,Discrete time Fourier transform,Frequency shift path},
|
||||
file = {C:\Users\damar\Zotero\storage\8KYYV56B\wang2016.pdf.pdf}
|
||||
}
|
||||
|
||||
@incollection{wanhammar1999,
|
||||
title = {Digital {{Signal Processing}}},
|
||||
booktitle = {{{DSP Integrated Circuits}}},
|
||||
author = {Wanhammar, Lars},
|
||||
date = {1999},
|
||||
pages = {59--114},
|
||||
publisher = {Elsevier},
|
||||
doi = {10.1016/B978-012734530-7/50003-9},
|
||||
url = {https://linkinghub.elsevier.com/retrieve/pii/B9780127345307500039},
|
||||
urldate = {2024-03-18},
|
||||
isbn = {978-0-12-734530-7},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@article{widodo2007,
|
||||
title = {Support Vector Machine in Machine Condition Monitoring and Fault Diagnosis},
|
||||
author = {Widodo, Achmad and Yang, Bo-Suk},
|
||||
date = {2007-08-01},
|
||||
journaltitle = {Mechanical Systems and Signal Processing},
|
||||
shortjournal = {Mechanical Systems and Signal Processing},
|
||||
volume = {21},
|
||||
number = {6},
|
||||
pages = {2560--2574},
|
||||
issn = {0888-3270},
|
||||
doi = {10.1016/j.ymssp.2006.12.007},
|
||||
url = {https://www.sciencedirect.com/science/article/pii/S0888327007000027},
|
||||
urldate = {2024-09-08},
|
||||
abstract = {Recently, the issue of machine condition monitoring and fault diagnosis as a part of maintenance system became global due to the potential advantages to be gained from reduced maintenance costs, improved productivity and increased machine availability. This paper presents a survey of machine condition monitoring and fault diagnosis using support vector machine (SVM). It attempts to summarize and review the recent research and developments of SVM in machine condition monitoring and diagnosis. Numerous methods have been developed based on intelligent systems such as artificial neural network, fuzzy expert system, condition-based reasoning, random forest, etc. However, the use of SVM for machine condition monitoring and fault diagnosis is still rare. SVM has excellent performance in generalization so it can produce high accuracy in classification for machine condition monitoring and diagnosis. Until 2006, the use of SVM in machine condition monitoring and fault diagnosis is tending to develop towards expertise orientation and problem-oriented domain. Finally, the ability to continually change and obtain a novel idea for machine condition monitoring and fault diagnosis using SVM will be future works.},
|
||||
keywords = {Fault diagnosis,Machine condition monitoring,Support vector machine},
|
||||
file = {C:\Users\damar\Zotero\storage\KGSTJGAQ\widodo2007.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{pham2020,
|
||||
title = {Bolt-{{Loosening Monitoring Framework Using}} an {{Image-Based Deep Learning}} and {{Graphical Model}}},
|
||||
author = {Pham, Hai Chien and Ta, Quoc-Bao and Kim, Jeong-Tae and Ho, Duc-Duy and Tran, Xuan-Linh and Huynh, Thanh-Canh},
|
||||
date = {2020-06-15},
|
||||
journaltitle = {Sensors},
|
||||
shortjournal = {Sensors},
|
||||
volume = {20},
|
||||
number = {12},
|
||||
pages = {3382},
|
||||
issn = {1424-8220},
|
||||
doi = {10.3390/s20123382},
|
||||
url = {https://www.mdpi.com/1424-8220/20/12/3382},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {In this study, we investigate a novel idea of using synthetic images of bolts which are generated from a graphical model to train a deep learning model for loosened bolt detection. Firstly, a framework for bolt-loosening detection using image-based deep learning and computer graphics is proposed. Next, the feasibility of the proposed framework is demonstrated through the bolt-loosening monitoring of a lab-scaled bolted joint model. For practicality, the proposed idea is evaluated on the real-scale bolted connections of a historical truss bridge in Danang, Vietnam. The results show that the deep learning model trained by the synthesized images can achieve accurate bolt recognitions and looseness detections. The proposed methodology could help to reduce the time and cost associated with the collection of high-quality training data and further accelerate the applicability of vision-based deep learning models trained on synthetic data in practice.},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\H59BPKEK\10.3390@s20123382.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{garrido2016,
|
||||
title = {The {{Feedforward Short-Time Fourier Transform}}},
|
||||
author = {Garrido, Mario},
|
||||
date = {2016-09},
|
||||
journaltitle = {IEEE Transactions on Circuits and Systems II: Express Briefs},
|
||||
shortjournal = {IEEE Trans. Circuits Syst. II},
|
||||
volume = {63},
|
||||
number = {9},
|
||||
pages = {868--872},
|
||||
issn = {1549-7747, 1558-3791},
|
||||
doi = {10.1109/TCSII.2016.2534838},
|
||||
url = {http://ieeexplore.ieee.org/document/7419878/},
|
||||
urldate = {2025-05-16},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\RD6LN5MR\\Garrido - 2016 - The Feedforward Short-Time Fourier Transform.pdf;C\:\\Users\\damar\\Zotero\\storage\\X8TBD546\\garrido2016.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{zhang2023,
|
||||
title = {Signal {{Enhancement Methods Based}} on {{Wavelet Transform}}, {{Fractional Fourier Transform}} and {{Short-time Fourier Transform}}},
|
||||
author = {Zhang, Xindan and Zheng, Haoyuan},
|
||||
date = {2023-12-31},
|
||||
journaltitle = {Highlights in Science, Engineering and Technology},
|
||||
shortjournal = {HSET},
|
||||
volume = {76},
|
||||
pages = {222--230},
|
||||
issn = {2791-0210},
|
||||
doi = {10.54097/eyfndn07},
|
||||
url = {https://drpress.org/ojs/index.php/HSET/article/view/15890},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {This review paper mainly focuses on different signal enhancement methods such as wavelet transform, fractional Fourier transform (FrFT) and short-time Fourier transform (STFT). First, this paper introduces the concept and importance of signal enhancement, as well as some current issues and challenges. Then, in recent years, the application of the three methods in wavelet transform, fractional Fourier transform and short-time Fourier transform is described. In terms of wavelet transform, this paper discusses the application of wavelet function to image enhancement and the specific steps, and analyzes its advantages and application in signal enhancement. In terms of fractional Fourier transform, this paper introduces its difference from traditional Fourier transform, and discusses its application in combination with adaptive filtering technology and the application of multi-level FrFT in the field of speech enhancement. Finally, in terms of short-time Fourier transform, this paper discusses its application in the fields of image enhancement and speech enhancement. The review paper finally discusses the characteristics, advantages and limitations of these three methods in signal enhancement, and looks forward to the future research directions. Through the research of this review paper, it can provide some reference and guidance for the research in the field of signal enhancement.}
|
||||
}
|
||||
|
||||
@article{kong2018,
|
||||
title = {Tapping and Listening: A New Approach to Bolt Looseness Monitoring},
|
||||
shorttitle = {Tapping and Listening},
|
||||
author = {Kong, Qingzhao and Zhu, Junxiao and Ho, Siu Chun Michael and Song, Gangbing},
|
||||
date = {2018-07-01},
|
||||
journaltitle = {Smart Materials and Structures},
|
||||
shortjournal = {Smart Mater. Struct.},
|
||||
volume = {27},
|
||||
number = {7},
|
||||
pages = {07LT02},
|
||||
issn = {0964-1726, 1361-665X},
|
||||
doi = {10.1088/1361-665X/aac962},
|
||||
url = {https://iopscience.iop.org/article/10.1088/1361-665X/aac962},
|
||||
urldate = {2025-05-16},
|
||||
file = {C:\Users\damar\Zotero\storage\VR74RNZF\kong2018.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{wu2020,
|
||||
title = {Data Fusion Approaches for Structural Health Monitoring and System Identification: {{Past}}, Present, and Future},
|
||||
shorttitle = {Data Fusion Approaches for Structural Health Monitoring and System Identification},
|
||||
author = {Wu, Rih-Teng and Jahanshahi, Mohammad Reza},
|
||||
date = {2020-03-01},
|
||||
journaltitle = {Structural Health Monitoring},
|
||||
shortjournal = {Structural Health Monitoring},
|
||||
volume = {19},
|
||||
number = {2},
|
||||
pages = {552--586},
|
||||
publisher = {SAGE Publications},
|
||||
issn = {1475-9217},
|
||||
doi = {10.1177/1475921718798769},
|
||||
url = {https://doi.org/10.1177/1475921718798769},
|
||||
urldate = {2024-05-07},
|
||||
abstract = {During the past decades, significant efforts have been dedicated to develop reliable methods in structural health monitoring. The health assessment for the target structure of interest is achieved through the interpretation of collected data. At the beginning of the 21st century, the rapid advances in sensor technologies and data acquisition platforms have led to the new era of Big Data, where a huge amount of heterogeneous data are collected by a variety of sensors. The increasing accessibility and diversity of the data resources provide new opportunities for structural health monitoring, while the aggregation of information obtained from multiple sensors to make robust decisions remains a challenging problem. This article presents a comprehensive review of the recent data fusion applications in structural health monitoring. State-of-the-art theoretical concepts and applications of data fusion in structural health monitoring are presented. Challenges for data fusion in structural health monitoring are discussed, and a roadmap is provided for future research in this area.},
|
||||
langid = {english}
|
||||
}
|
||||
|
||||
@article{yang2020,
|
||||
title = {Data-{{Driven Feature Extraction}} for {{Analog Circuit Fault Diagnosis Using}} 1-{{D Convolutional Neural Network}}},
|
||||
author = {Yang, Huahui and Meng, Chen and Wang, Cheng},
|
||||
date = {2020},
|
||||
journaltitle = {IEEE Access},
|
||||
shortjournal = {IEEE Access},
|
||||
volume = {8},
|
||||
pages = {18305--18315},
|
||||
issn = {2169-3536},
|
||||
doi = {10.1109/ACCESS.2020.2968744},
|
||||
url = {https://ieeexplore.ieee.org/document/8966245/},
|
||||
urldate = {2025-05-16},
|
||||
file = {C:\Users\damar\Zotero\storage\3FYS28EI\Yang et al. - 2020 - Data-Driven Feature Extraction for Analog Circuit .pdf}
|
||||
}
|
||||
|
||||
@article{yin2018,
|
||||
title = {Probabilistic {{Damage Detection}} of a {{Steel Truss Bridge Model}} by {{Optimally Designed Bayesian Neural Network}}},
|
||||
author = {Yin, Tao and Zhu, Hong-ping},
|
||||
date = {2018-10-09},
|
||||
journaltitle = {Sensors},
|
||||
shortjournal = {Sensors},
|
||||
volume = {18},
|
||||
number = {10},
|
||||
pages = {3371},
|
||||
issn = {1424-8220},
|
||||
doi = {10.3390/s18103371},
|
||||
url = {https://www.mdpi.com/1424-8220/18/10/3371},
|
||||
urldate = {2024-12-29},
|
||||
abstract = {Excellent pattern matching capability makes artificial neural networks (ANNs) a very promising approach for vibration-based structural health monitoring (SHM). The proper design of the network architecture with the suitable complexity is vital to the ANN-based structural damage detection. In addition to the number of hidden neurons, the type of transfer function used in the hidden layer cannot be neglected for the ANN design. Neural network learning can be further presented in the framework of Bayesian statistics, but the issues of selection for the hidden layer transfer function with respect to the Bayesian neural network has not yet been reported in the literature. In addition, most of the research works in the literature for addressing the predictive distribution of neural network output is only for a single target variable, while multiple target variables are rarely involved. In the present paper, for the purpose of probabilistic structural damage detection, Bayesian neural networks with multiple target variables are optimally designed, and the selection of the number of neurons, and the transfer function in the hidden layer, are carried out simultaneously to achieve a neural network architecture with suitable complexity. Furthermore, the nonlinear network function can be approximately linear by assuming the posterior distribution of network parameters is a sufficiently narrow Gaussian, and then the input-dependent covariance matrix of the predictive distribution of network output can be obtained with the Gaussian assumption for the situation of multiple target variables. Structural damage detection is conducted for a steel truss bridge model to verify the proposed method through a set of numerical case studies.},
|
||||
langid = {english},
|
||||
file = {C:\Users\damar\Zotero\storage\9K8YXV76\a1274f7304475ebcd1c70132b01411b0.pdf.pdf}
|
||||
}
|
||||
|
||||
@inproceedings{yumang2020,
|
||||
title = {Combination of {{Acoustic}} and {{Vibration Sensor Data Using Support Vector Machines}} and {{One-Versus-All Technique Data Fusion}} for {{Detecting Objects}}},
|
||||
booktitle = {Proceedings of the 2020 12th {{International Conference}} on {{Computer}} and {{Automation Engineering}}},
|
||||
author = {Yumang, Analyn N. and Cruz, Geriel Angelo and Fontanilla, Llanz Adeo},
|
||||
date = {2020-05-16},
|
||||
series = {{{ICCAE}} 2020},
|
||||
pages = {56--59},
|
||||
publisher = {Association for Computing Machinery},
|
||||
location = {New York, NY, USA},
|
||||
doi = {10.1145/3384613.3384626},
|
||||
url = {https://doi.org/10.1145/3384613.3384626},
|
||||
urldate = {2024-08-26},
|
||||
abstract = {This paper aims to create a device that will be able to detect the presence of an object and classify the object into human, animal, or vehicle by using the information obtained from acoustic and seismic signals. The specific objectives are to develop a hardware device based from Raspberry Pi Minicomputer with seismic and acoustic sensors and transmit sensor signals to a computer for feature extraction and data fusion, to develop a software using Python, MATLAB, and use Data Fusion with the use of Support Vector Machine with One-Versus-All technique, to accurately classify the object into human, animal (canine), or vehicle, to use statistical treatment using multi-class confusion matrix to determine the F-score or accuracy of the classifiers, as an aid for answering the formulated hypotheses. In the testing phase, blind test was performed for the classifiers, using different gathered samples. The F-score of the human, animal, and vehicle classifiers were, respectively, 93.549\%, 98.305\%, and 100\%. The researchers recommend a ground-mounted seismic sensor for comparison of its F-score contribution with the used seismic sensor. Training the SVM models with different parameters could also lead to potential increase in accuracy, such as the number of k-fold cross validations. SVM can as well be compared to other classifier models.},
|
||||
isbn = {978-1-4503-7678-5},
|
||||
file = {C:\Users\damar\Zotero\storage\M6RVFMLR\yumang2020.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{zhan2021,
|
||||
title = {A {{Step-by-Step Damage Identification Method Based}} on {{Frequency Response Function}} and {{Cross Signature Assurance Criterion}}},
|
||||
author = {Zhan, Jiawang and Zhang, Fei and Siahkouhi, Mohammad},
|
||||
date = {2021-02-03},
|
||||
journaltitle = {Sensors},
|
||||
shortjournal = {Sensors},
|
||||
volume = {21},
|
||||
number = {4},
|
||||
pages = {1029},
|
||||
issn = {1424-8220},
|
||||
doi = {10.3390/s21041029},
|
||||
url = {https://www.mdpi.com/1424-8220/21/4/1029},
|
||||
urldate = {2024-12-29},
|
||||
abstract = {This paper aims to present a method for quantitative damage identification of a simply supported beam, which integrates the frequency response function (FRF) and model updating. The objective function is established using the cross-signature assurance criterion (CSAC) indices of the FRFs between the measurement points and the natural frequency. The CSAC index in the frequency range between the first two frequencies is found to be sensitive to damage. The proposed identification procedure is tried to identify the single and multiple damages. To verify the effectiveness of the method, numerical simulation and laboratory testing were conducted on some model steel beams with simulated damage by cross-cut sections, and the identification results were compared with the real ones. The analysis results show that the proposed damage evaluation method is insensitive to the systematic test errors and is able to locate and quantify the damage within the beam structures step by step.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\3UBKNCJL\\zhan2021.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\IFFPNAQV\\Zhan et al. - 2021 - A Step-by-Step Damage Identification Method Based .pdf}
|
||||
}
|
||||
|
||||
@article{zhang2020,
|
||||
title = {Autonomous Bolt Loosening Detection Using Deep Learning},
|
||||
author = {Zhang, Yang and Sun, Xiaowei and Loh, Kenneth J and Su, Wensheng and Xue, Zhigang and Zhao, Xuefeng},
|
||||
date = {2020-01},
|
||||
journaltitle = {Structural Health Monitoring},
|
||||
shortjournal = {Structural Health Monitoring},
|
||||
volume = {19},
|
||||
number = {1},
|
||||
pages = {105--122},
|
||||
issn = {1475-9217, 1741-3168},
|
||||
doi = {10.1177/1475921719837509},
|
||||
url = {https://journals.sagepub.com/doi/10.1177/1475921719837509},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {Machine vision-based structural health monitoring is gaining popularity due to the rich information one can extract from video and images. However, the extraction of characteristic parameters from images often requires manual intervention, thereby limiting its scalability and effectiveness. In contrast, deep learning overcomes the aforementioned shortcoming in that it can autonomously extract feature parameters (e.g. structural damage) from image datasets. Therefore, this study aims to validate the use of machine vision and deep learning for structural health monitoring by focusing on a particular application of detecting bolt loosening. First, a dataset that contains 300 images was collected. The dataset includes two bolt states, namely, tight and loosened. Second, a faster region-based convolutional neural network was trained and evaluated. The test results showed that the average precision of bolt damage detection is 0.9503. Thereafter, bolts were loosened to various screw heights, and images obtained from different angles, lighting conditions, and vibration conditions were identified separately. The trained model was then employed to validate that bolt loosening could be detected with sufficient accuracy using various types of images. Finally, the trained model was connected with a webcam to realize real-time bolt loosening damage monitoring.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\4W5HFTDL\\Zhang et al. - 2020 - Autonomous bolt loosening detection using deep lea.pdf;C\:\\Users\\damar\\Zotero\\storage\\C7HSH97N\\10.1177@1475921719837509.pdf.pdf}
|
||||
}
|
||||
|
||||
@article{zhang2020a,
|
||||
title = {Autonomous Bolt Loosening Detection Using Deep Learning},
|
||||
author = {Zhang, Yang and Sun, Xiaowei and Loh, Kenneth J and Su, Wensheng and Xue, Zhigang and Zhao, Xuefeng},
|
||||
date = {2020-01},
|
||||
journaltitle = {Structural Health Monitoring},
|
||||
shortjournal = {Structural Health Monitoring},
|
||||
volume = {19},
|
||||
number = {1},
|
||||
pages = {105--122},
|
||||
issn = {1475-9217, 1741-3168},
|
||||
doi = {10.1177/1475921719837509},
|
||||
url = {https://journals.sagepub.com/doi/10.1177/1475921719837509},
|
||||
urldate = {2025-05-16},
|
||||
abstract = {Machine vision-based structural health monitoring is gaining popularity due to the rich information one can extract from video and images. However, the extraction of characteristic parameters from images often requires manual intervention, thereby limiting its scalability and effectiveness. In contrast, deep learning overcomes the aforementioned shortcoming in that it can autonomously extract feature parameters (e.g. structural damage) from image datasets. Therefore, this study aims to validate the use of machine vision and deep learning for structural health monitoring by focusing on a particular application of detecting bolt loosening. First, a dataset that contains 300 images was collected. The dataset includes two bolt states, namely, tight and loosened. Second, a faster region-based convolutional neural network was trained and evaluated. The test results showed that the average precision of bolt damage detection is 0.9503. Thereafter, bolts were loosened to various screw heights, and images obtained from different angles, lighting conditions, and vibration conditions were identified separately. The trained model was then employed to validate that bolt loosening could be detected with sufficient accuracy using various types of images. Finally, the trained model was connected with a webcam to realize real-time bolt loosening damage monitoring.},
|
||||
langid = {english},
|
||||
file = {C\:\\Users\\damar\\Zotero\\storage\\PC2JD3K8\\10.1177@1475921719837509.pdf.pdf;C\:\\Users\\damar\\Zotero\\storage\\Y98JZ4NQ\\Zhang et al. - 2020 - Autonomous bolt loosening detection using deep lea.pdf}
|
||||
}
|
||||
|
||||
@online{zotero-437,
|
||||
title = {Scipy.Fft.Fft — {{SciPy}} v1.13.0 {{Manual}}},
|
||||
url = {https://docs.scipy.org/doc/scipy/reference/generated/scipy.fft.fft.html},
|
||||
urldate = {2024-05-07}
|
||||
}
|
||||
|
||||
@thesis{zotero-622,
|
||||
type = {thesis}
|
||||
}
|
||||
@@ -1,68 +1,25 @@
|
||||
\chapter{PENDAHULUAN}
|
||||
|
||||
\section{Latar Belakang}
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc consequat lectus dolor, a commodo odio suscipit nec. Aliquam posuere elit eget tellus dapibus, auctor ornare mi porttitor. Donec auctor aliquet nisl, quis convallis ligula rutrum id. Duis tortor ipsum, scelerisque vestibulum viverra eu, maximus vel mi. Nullam volutpat nunc et varius tempor. Vivamus convallis mi eros, aliquam semper dui tincidunt a. Morbi nunc dui, accumsan ac arcu nec, condimentum efficitur mauris. Etiam sed mauris semper, volutpat justo eu, placerat mauris. Suspendisse at erat eu arcu gravida mattis et id nunc. Aliquam malesuada magna odio, ac dictum erat vestibulum a. Mauris vel nisi sit amet elit tempor bibendum sit amet a velit. Morbi dignissim facilisis placerat.\par
|
||||
|
||||
\indent Monitor Kesehatan Struktur (\textit{Structural Health Monitoring} atau SHM) merupakan pendekatan penting untuk menjamin integritas dan keselamatan struktur teknik sipil secara berkelanjutan. Salah satu komponen struktural yang umum digunakan dalam penyambungan adalah sambungan baut (\textit{bolt joint}), yang dikenal karena kemudahan dalam perakitan dan penggunaan ulang. Namun demikian, sambungan berulir ini rentan mengalami kelonggaran akibat beban kejut atau getaran terus-menerus \parencite{chen2017}. Kelonggaran baut yang tidak terdeteksi sejak dini dapat menyebabkan kerusakan serius pada struktur, sehingga identifikasi dini terhadap kerusakan sambungan baut menjadi krusial dalam bidang teknik sipil, mesin, dan kedirgantaraan.
|
||||
\begin{figure}
|
||||
\centering
|
||||
\includegraphics[width=0.5\linewidth]{frontmatter/img/slice1.jpg}
|
||||
\caption{Enter Caption}
|
||||
\label{fig:enter-label}
|
||||
\end{figure}
|
||||
|
||||
\indent Deteksi kelonggaran baut telah dilakukan melalui berbagai metode. Kelompok pertama adalah inspeksi \textit{in-situ}, seperti inspeksi visual atau penggunaan alat mekanis seperti kunci torsi dan palu. Meskipun sederhana dan murah, metode ini sulit untuk mendeteksi kerusakan pada tahap awal \parencite{j.h.park2015}. Metode palu lebih efektif dibanding visual untuk mendeteksi awal kelonggaran, tetapi akurasinya dapat terganggu oleh kebisingan lingkungan, serta memakan waktu bila diaplikasikan pada struktur dengan banyak sambungan seperti jembatan \parencite{j.h.park2015,wang2013}.
|
||||
Pellentesque vel accumsan lorem, id vulputate metus. Nulla mollis orci ante, et euismod erat venenatis eget. Proin tempus lobortis feugiat. Fusce vitae sem quis lacus iaculis dignissim ut eget turpis. Vivamus ut nisl in enim porttitor fringilla vel et mauris. Mauris quis porttitor magna. Pellentesque molestie viverra arcu at tincidunt. Maecenas non elit arcu.\par
|
||||
|
||||
\indent Kelompok kedua menggunakan teknik berbasis penglihatan komputer seperti kamera dan pencitraan digital, termasuk deteksi rotasi kepala baut menggunakan CNN dan Faster R-CNN \parencite{zhang2020,zhao2019}. Meskipun teknik ini dapat mendeteksi kerusakan secara visual tanpa dipengaruhi oleh kebisingan akustik, tantangan tetap ada dalam hal penempatan kamera dan beban komputasi tinggi dari model deep learning, terutama dalam kondisi sempit seperti mesin kendaraan atau turbin.
|
||||
Etiam feugiat enim sit amet tortor interdum lobortis. Curabitur elementum faucibus sapien. Morbi eget facilisis lorem. In sed suscipit metus. Etiam porttitor, libero sit amet sodales hendrerit, libero dolor hendrerit nulla, sed convallis risus leo posuere metus. Cras gravida ac elit viverra ultrices. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Maecenas dictum urna elit, nec eleifend nulla mattis sit amet. Pellentesque suscipit metus vitae leo suscipit, a vehicula quam pretium. Sed eu est ut risus convallis hendrerit a vulputate justo. Nulla sollicitudin quam ut risus euismod, quis consequat dui mattis. Mauris id eros varius, pellentesque quam quis, venenatis tellus. Nulla vitae condimentum nisl. Vestibulum suscipit scelerisque dui, non posuere purus finibus nec. Nulla ultrices felis quis vestibulum porta. Suspendisse potenti.\par
|
||||
|
||||
\indent Kelompok ketiga dan yang menjadi fokus penelitian ini adalah teknik berbasis sensor, terutama pendekatan berbasis getaran (\textit{vibration-based}). Metode ini tidak hanya efektif dalam mengatasi keterbatasan teknik sebelumnya, tetapi juga mampu mendeteksi kelonggaran baut pada tahap awal secara andal dan akurat \parencite{nichols2004,razi2013}. Dalam penelitian ini, deteksi dilakukan melalui data akselerasi struktur yang diambil dari titik-titik sambungan dalam \textit{sistem grid} yang mewakili koneksi baut secara arah kolom.
|
||||
|
||||
\indent Pada penelitian sebelumnya oleh \textcite{abdeljaber2017}, deteksi kerusakan struktur menggunakan 1-D Convolutional Neural Network (1-D CNN) telah diterapkan secara efektif pada struktur grid dengan 30 titik sensor. Namun, keterbatasan tetap muncul dalam hal kebutuhan sumber daya komputasi yang tinggi ketika memproses data mentah berdimensi besar dari semua sensor secara simultan \parencite{yang2020, liu2022}. Beberapa studi menyarankan bahwa transformasi sinyal seperti STFT dapat digunakan sebagai alternatif ekstraksi fitur sebelum dilakukan klasifikasi \parencite{shahid2022}. Pendekatan ini tidak hanya mengurangi kompleksitas perhitungan tetapi juga dapat mempertahankan karakteristik penting dari sinyal yang tereduksi.
|
||||
|
||||
\indent Oleh karena itu, penelitian ini mengadopsi pendekatan pengurangan jumlah sensor menjadi hanya dua per jalur kolom (atas dan bawah), merepresentasikan sambungan vertikal seperti susunan baut, dengan tujuan menyederhanakan model tanpa kehilangan akurasi deteksi kerusakan. Data diproses melalui transformasi STFT sebelum diklasifikasikan menggunakan model algoritma pembelajaran mesin klasik. Dengan mengevaluasi berbagai pengklasifikasi dan validasi silang antar kolom, studi ini berkontribusi dalam menciptakan sistem SHM yang efisien, rendah biaya, dan mudah diimplementasikan.
|
||||
Nam tempus tincidunt interdum. Pellentesque at ligula ac massa semper efficitur vitae non ante. Suspendisse potenti. Cras vitae interdum erat, nec facilisis urna. Nulla commodo porttitor tellus non posuere. Vestibulum tristique ut urna quis porttitor. Sed pellentesque lectus sit amet ultrices aliquam. Aliquam erat volutpat. Nam dictum eu erat a mollis. Donec eget nulla vel risus aliquet suscipit sed at libero.\par
|
||||
|
||||
|
||||
\section{Rumusan Masalah}
|
||||
Untuk memandu arah penelitian ini, beberapa permasalahan utama yang akan dibahas adalah sebagai berikut:
|
||||
|
||||
\begin{enumerate}
|
||||
\item Apakah sinyal getaran yang hanya diperoleh dari sensor pada bagian atas dan bawah suatu jalur kolom masih mampu merepresentasikan fitur-fitur penting yang diperlukan untuk mengklasifikasikan kerusakan struktur secara akurat?
|
||||
|
||||
\item Apakah penggabungan data dari beberapa jalur kolom dapat meningkatkan kemampuan generalisasi model, meskipun jumlah sensor pada tiap jalur dibatasi?
|
||||
|
||||
\item Apakah algoritma machine learning klasik yang sederhana masih mampu menghasilkan model dengan kinerja yang cukup layak dibandingkan dengan model \textit{supervised} yang lebih kompleks ketika diterapkan pada skenario dengan input data sensor yang terbatas?
|
||||
\end{enumerate}
|
||||
% \section{Identifikasi Masalah}
|
||||
% \begin{itemize}
|
||||
% \item Kebanyakan kerangka kerja pada monitoring kesehatan struktur membutuhkan deretan sensor yang banyak, hal ini dibutuhkan biaya yang tinggi dan kurang praktikal untuk banyak pengaplikasian.
|
||||
|
||||
% \item Banyak model dengan performa tinggi bergantung pada teknik pemelajaran mendalam, sehingga dibutuhkan sumberdaya komputasi yang tinggi dan memungkinkan kurangnya kemudahan dan keterjangkauan untuk aplikasikan.
|
||||
|
||||
% \item Kurangnya kesederhanaan, pendeketan umum yang menyeimbangkan penggunaan sensor dengan keandalan dalam lokalisasi kerusakan.
|
||||
% \end{itemize}
|
||||
Maecenas hendrerit pharetra bibendum. Donec ut tortor ac augue aliquam ullamcorper nec id eros. Quisque consectetur elementum ipsum vitae posuere. Sed ultricies ipsum nibh, vitae volutpat neque bibendum at. Morbi dictum metus eu bibendum malesuada. Nam scelerisque purus erat, id dictum nisl pretium vitae. Curabitur finibus commodo dui ac molestie. In sed sem ac dui dapibus ullamcorper. Aenean molestie nulla eu lorem maximus hendrerit. Vivamus viverra velit dolor, in vehicula eros facilisis at. Vivamus in rhoncus sem.
|
||||
\section{Lingkup Penelitian}
|
||||
Studi ini berfokus pada dataset yang tersedia secara publik didapat dari Queen's University Grandstand Simulator (QUGS), sebuah kerangka besi level laboratorium yang dipasang dengan tiga puluh titik sensor akselerometer dan \textit{white shaker noise}. Riset terdahulu telah dilakukan pengaplikasian pemelajaran mesin jaringan saraf terhadap seluruh sensor yang terpasang penuh pada setiap titik \textit{joint} untuk mencapai akurasi yang tinggi. Akan tetapi, pada praktiknya, instrumentasi penuh seperti ini terkadang kurang efektif dari segi biaya dan kurang layak dalam skala besar.
|
||||
|
||||
\section{Tujuan Penelitian}
|
||||
\begin{enumerate}
|
||||
\item Mengembangkan alur sistem (\textit{pipeline}) pemantauan kesehatan struktur (Structural Health Monitoring/SHM) yang disederhanakan dengan hanya menggunakan sepasang sensor di ujung-ujung struktur.
|
||||
|
||||
% \item Memperlakukan setiap grup kolom sensor sebagai elemen balok satu dimensi yang disederhanakan, dan mengevaluasi apakah karakteristik kerusakan tetap terjaga dalam energi getaran yang ditransmisikan antara kedua ujungnya.
|
||||
|
||||
% \item Menyusun setiap grup kolom sebagai satu dataset terpisah dan melakukan lima pengujian berbeda, di mana masing-masing grup kolom berperan sebagai data validasi secara bergantian.
|
||||
|
||||
% \item Menyertakan data dari setiap grup kolom ke dalam data pelatihan untuk membentuk satu model umum yang dapat digunakan untuk seluruh grup kolom.
|
||||
|
||||
\item Mengeksplorasi kemungkinan generalisasi satu model terhadap berbagai jalur kolom hanya dengan memanfaatkan data dari sensor pada kedua ujung kolom.
|
||||
\end{enumerate}
|
||||
|
||||
% Dalam merespon hal tersebut, penelitian ini memperkenalkan pendekatan baru yang menekankan efisiensi pada penanganan data dan interpretasi fisik. Data pada sensor-sensor yang terpasang pada struktur grid ini dikelompokkan menjadi beberapa grup kolom, dan hanya menyisakan sensor awal dan sensor paling akhir dari setiap grup sensor sebagai input pengklasifikasian. Terdapat hipotesis bahwa energi getaran bergerak di sepanjang jalur kolom terjaga secara cukup baik antara ujung-ujung sensor untuk memungkinkan algoritma pemelajaran mesin, seperti Support-Vector Machine (SVM), Bagged Trees, Random Forest, Decision Tree, KNN, LDA, dan XGBoost, medeteksi dan mengklasifikasi secara akurat letak kerusakan.
|
||||
|
||||
\section{Manfaat Penelitian}
|
||||
|
||||
Penelitian ini memberikan beberapa manfaat yang diharapkan dapat berkontribusi dalam pengembangan sistem deteksi kerusakan struktur, antara lain:
|
||||
|
||||
\begin{enumerate}
|
||||
\item Penelitian ini tidak berfokus pada pengembangan arsitektur model baru maupun penerapan \textit{transfer learning}, melainkan pada perancangan alur (\textit{pipeline}) klasifikasi yang sederhana dan mudah dipahami sebagai solusi tahap awal untuk pengembangan sistem monitor kesehatan struktur.
|
||||
|
||||
\item Dengan pemilihan titik sensor strategis yang terbatas (hanya di ujung atas dan bawah jalur kolom \textit{grid}) serta prapemrosesan berbasis transformasi STFT, penelitian ini menunjukkan bahwa efisiensi dapat dicapai tanpa mengorbankan akurasi secara signifikan.
|
||||
|
||||
\item Studi ini membuktikan bahwa algoritma pembelajaran mesin klasik seperti SVM, KNN, dan LDA masih mampu memberikan performa model yang kompetitif dalam klasifikasi kerusakan, apabila dipadukan dengan ekstraksi fitur yang tepat.
|
||||
|
||||
\item Hasil penelitian ini diharapkan dapat menjadi alternatif sistem SHM yang lebih terjangkau dan praktis untuk diterapkan pada struktur nyata, khususnya dalam kondisi keterbatasan sumber daya.
|
||||
|
||||
\item Rangkaian eksperimen dan pendekatan sistematis dalam penelitian ini dapat dijadikan tolok ukur atau \textit{baseline} untuk studi komparatif selanjutnya dan pengembangan model arsitektur yang lebih kompleks.
|
||||
\end{enumerate}
|
||||
% \subsubsection{Dolor}
|
||||
10
latex/chapters/en/02_literature_review/index.tex
Normal file
10
latex/chapters/en/02_literature_review/index.tex
Normal file
@@ -0,0 +1,10 @@
|
||||
\chapter{LITERATURE REVIEW AND THEORETICAL FOUNDATION}
|
||||
\section{Literature Review}
|
||||
\input{chapters/id/02_literature_review/literature_review/abdeljaber2017}
|
||||
|
||||
\section{Theoretical Foundation}
|
||||
\input{chapters/id/02_literature_review/theoritical_foundation/stft}
|
||||
\input{chapters/id/02_literature_review/theoritical_foundation/machine_learning}
|
||||
|
||||
\bigskip
|
||||
These theoretical foundations provide the methodological framework for implementing and evaluating the proposed damage localization system in this research. The combination of time-frequency analysis using STFT and classical machine learning classifiers enables an efficient and interpretable approach to structural health monitoring.
|
||||
@@ -0,0 +1,6 @@
|
||||
Traditional structural health monitoring methods often rely on hand-crafted features and manually tuned classifiers, which pose challenges in terms of generalization, reliability, and computational efficiency. As highlighted by [Author(s), Year], these approaches frequently require a trial-and-error process for feature and classifier selection, which not only reduces their robustness across structures but also hinders their deployment in real-time applications due to the computational load of the feature extraction phase.
|
||||
|
||||
[Author(s), Year] introduced a CNN-based structural damage detection approach validated through a large-scale grandstand simulator at Qatar University. The structure, designed to replicate modern stadiums, was equipped with 30 accelerometers and subjected to controlled damage by loosening beam-to-girder bolts. Acceleration data, collected under band-limited white noise excitation and sampled at 1024 Hz, were segmented into 128-sample frames for training localized 1D CNNs—one per joint—creating a decentralized detection system. Across two experimental phases, involving both partial and full-structure monitoring, the method demonstrated high accuracy in damage localization, achieving a training classification error of just 0.54\%. While performance remained strong even under double-damage scenarios, some misclassifications occurred in symmetric or adjacent damage cases. Overall, the proposed method presents a highly efficient and accurate solution for real-time SHM applications.
|
||||
|
||||
In the context of this thesis, the dataset and experimental setup introduced by [Author(s), Year] form the foundation for comparative analysis and algorithm testing. The authors have not only demonstrated the efficacy of a compact 1D CNN-based system for vibration-based structural damage detection, but also highlighted the value of using output-only acceleration data—a constraint shared in this thesis’s methodology. The decentralized design of their system, which allows each CNN to process only locally available data, is particularly aligned with this thesis's focus on efficient, sensor-level data analysis without requiring full-system synchronization. Furthermore, since the authors indicate plans to publicly release their dataset and source code, this thesis leverages that open data for applying alternative analysis methods such as support vector machines (SVM) or frequency domain feature extraction techniques, allowing a direct performance comparison between classical and deep learning-based SHM approaches. Thus, this work serves as both a benchmark reference and a data source in the development and evaluation of more accessible, lower-complexity alternatives for structural health monitoring systems.
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
\subsection{Classification Algorithms}
|
||||
|
||||
This research evaluates five classical machine learning algorithms to perform the classification task of damage localization. Each algorithm has different strengths and limitations, and their performance is benchmarked to identify the most suitable one for the given dataset.
|
||||
|
||||
\subsubsection{Support Vector Machine (SVM)}
|
||||
|
||||
SVM is a supervised learning algorithm that seeks an optimal hyperplane that separates data into classes with maximum margin. SVM performs well in high-dimensional spaces and is robust to overfitting, especially in cases with a clear margin of separation.
|
||||
|
||||
SVM is appropriate for vibration signal classification due to its capability to handle nonlinear decision boundaries when equipped with kernel functions.
|
||||
|
||||
\subsubsection{K-Nearest Neighbors (KNN)}
|
||||
|
||||
KNN is a non-parametric, instance-based learning algorithm. It classifies a new data point based on the majority vote of its $k$ nearest neighbors in the feature space. Although simple, KNN can be effective when the data is well-distributed and class boundaries are smooth.
|
||||
|
||||
Its performance is sensitive to the choice of $k$ and distance metric. For high-dimensional data like STFT features, dimensionality reduction or careful scaling may be required.
|
||||
|
||||
\subsubsection{Decision Tree (DT)}
|
||||
|
||||
Decision Tree is a rule-based classifier that splits data into classes using feature thresholds. It builds a tree where each internal node represents a feature, each branch a decision rule, and each leaf a class label. DTs are easy to interpret and can capture non-linear relationships.
|
||||
|
||||
However, they are prone to overfitting, especially with noisy or small datasets.
|
||||
|
||||
\subsubsection{Random Forest (RF)}
|
||||
|
||||
Random Forest is an ensemble learning method based on constructing multiple decision trees during training and outputting the mode of the classes for classification. It improves the generalization capability of individual trees and reduces overfitting.
|
||||
|
||||
RF is suitable for damage detection as it provides robustness to noise and variance, making it ideal for real-world sensor data.
|
||||
|
||||
\subsubsection{Naïve Bayes (NB)}
|
||||
|
||||
Naïve Bayes is a probabilistic classifier based on Bayes' theorem, assuming feature independence. Despite its simplicity, it often performs well in high-dimensional problems and with small datasets.
|
||||
|
||||
NB is particularly effective when class-conditional independence holds approximately, which may occur when STFT features are well-separated in distribution.
|
||||
@@ -0,0 +1,11 @@
|
||||
\subsection{Short-Time Fourier Transform (STFT)}
|
||||
|
||||
The Short-Time Fourier Transform (STFT) is a fundamental technique used to analyze non-stationary signals, such as those generated by structures under dynamic load or white noise excitation. While the traditional Fourier Transform provides frequency-domain information, it lacks time resolution. STFT overcomes this limitation by applying the Fourier Transform over short overlapping segments of the signal, thereby producing a time-frequency representation.
|
||||
|
||||
Mathematically, the STFT of a signal $x(t)$ is given by:
|
||||
\begin{equation}
|
||||
X(t, \omega) = \int_{-\infty}^{\infty} x(\tau) w(\tau - t) e^{-j \omega \tau} d\tau
|
||||
\end{equation}
|
||||
where $w(\tau - t)$ is a window function centered at time $t$, and $\omega$ is the angular frequency.
|
||||
|
||||
In this study, the STFT is employed to extract the time-frequency features of the vibration signals collected from the structure. These features are then used as inputs to machine learning classifiers. This process captures localized frequency content over time, which is crucial in identifying structural changes due to damage.
|
||||
@@ -1 +0,0 @@
|
||||
Monitor Kesehatan Struktur (SHM) merupakan aspek penting dalam melakukan pemeliharaan keamanan dan kelayakan operasional pada struktur. Dari berbagai macam strategi SHM, metode berbasis getaran sudah menjadi opsi paling banyak dijumpai karena kemampuannya untuk mendeteksi perubahan struktur internal secara non-invasif. Penemuan baru-baru ini pada pemelajaran mesin (\textit{machine learning}) telah memberi wawasan luas pada penggunaan model pemelajaran mendalam (\textit{deep learning}), seperti satu dimensi jaringan saraf konvolusional (1-D CNN), untuk deteksi lokalisasi kerusakan. Model-model ini biasanya memebutuhkan data dari susunan sensor penuh dan dataset latih besar. Hal ini terkadang membuat metode tersebut membutuhkan komputasi yang intensif dan kurang memungkinkan untuk diaplikasikan pada sumber daya yang terbatas. (Need more past research)
|
||||
@@ -1,7 +0,0 @@
|
||||
\chapter{PENDAHULUAN}
|
||||
|
||||
\input{background}
|
||||
\input{key_issue}
|
||||
\input{scope}
|
||||
\input{purpose}
|
||||
\input{novelty}
|
||||
@@ -1,10 +0,0 @@
|
||||
\section{Rumusan Masalah}
|
||||
Untuk memandu arah penelitian ini, beberapa permasalahan utama yang akan dibahas adalah sebagai berikut:
|
||||
|
||||
\begin{enumerate}
|
||||
\item Apakah sinyal getaran yang hanya diperoleh dari sensor pada bagian atas dan bawah suatu jalur kolom masih mampu merepresentasikan fitur-fitur penting yang diperlukan untuk mengklasifikasikan kerusakan struktur secara akurat?
|
||||
|
||||
\item Apakah penggabungan data dari beberapa jalur kolom dapat meningkatkan kemampuan generalisasi model, meskipun jumlah sensor pada tiap jalur dibatasi?
|
||||
|
||||
\item Apakah algoritma machine learning klasik yang sederhana masih mampu memberikan kinerja yang kompetitif dibandingkan dengan model yang lebih kompleks ketika diterapkan pada skenario dengan input data sensor yang terbatas?
|
||||
\end{enumerate}
|
||||
@@ -1,2 +0,0 @@
|
||||
\section{Manfaat Penelitian}
|
||||
Kontribusi utama dalam penelitian ini bukan untuk mengenalkan model arsitektur baru atau pembuatan kerangka kerja untuk \textit{transfer learning}, melainkan pembuatan saluran pipa klasifikasi yang mudah digunakan dan dipahami pada tahap awal. Saluran pipa ini mendemonstrasikan bahwa dengan pemilihan titik sensor yang tepat dan prapemrosesan yang baik, algoritma klasik masih mmampu memberi akurasi yang tinggi pada lokalisasi kerusakan dengan menyeimbangkan antara kesederhanaan, efisiensi, dan performa. Hasil dari penelitian ini diharapkan dapat bermanfaat sebagai sistem monitor kesehatan struktur rendah biaya dan tolok ukur untuk studi komparatif selanjutnya yang melibatkan model arsitektur kompleks.
|
||||
@@ -1,12 +0,0 @@
|
||||
\section{Tujuan Penelitian}
|
||||
\begin{enumerate}
|
||||
\item Mengembangkan alur sistem pemantauan kesehatan struktur (Structural Health Monitoring/SHM) yang disederhanakan dengan hanya menggunakan sepasang sensor (bagian atas dan bawah) dari grup kolom sensor (contoh: kolom (1,6,11,16,21,26)).
|
||||
|
||||
\item Memperlakukan setiap grup kolom sensor sebagai elemen balok satu dimensi yang disederhanakan, dan mengevaluasi apakah karakteristik kerusakan tetap terjaga dalam energi getaran yang ditransmisikan antara kedua ujungnya.
|
||||
|
||||
\item Menyusun setiap grup kolom sebagai satu dataset terpisah dan melakukan lima pengujian berbeda, di mana masing-masing grup kolom berperan sebagai data validasi secara bergantian.
|
||||
|
||||
\item Menyertakan data dari setiap grup kolom ke dalam data pelatihan untuk membentuk satu model umum yang dapat digunakan untuk seluruh grup kolom.
|
||||
|
||||
\item Mengeksplorasi kemungkinan generalisasi satu model terhadap berbagai jalur kolom hanya dengan memanfaatkan data dari sensor pada kedua ujung kolom.
|
||||
\end{enumerate}
|
||||
@@ -1,2 +0,0 @@
|
||||
\section{Lingkup Penelitian}
|
||||
Studi ini berfokus pada dataset yang tersedia secara publik didapat dari Queen's University Grandstand Simulator (QUGS), sebuah kerangka besi level laboratorium yang dipasang dengan tiga puluh titik sensor akselerometer. Riset terdahulu telah dilakukan pengaplikasian \textit{deep learning} terhadap seluruh sensor yang terpasang penuh pada setiap titik joint untuk mencapai akurasi yang tinggi. Akan tetapi, pada praktiknya, instrumentasi penuh seperti ini terkadang tidak efektif dari segi biaya dan tidak layak secara logis.
|
||||
@@ -1,7 +1,31 @@
|
||||
\chapter{TINJAUAN PUSTAKA DAN LANDASAN TEORI}
|
||||
\section{Tinjauan Pustaka}
|
||||
\input{chapters/id/02_literature_review/abdeljaber2017.tex}
|
||||
% \input{chapters/id/02_literature_review/index}
|
||||
Metode monitor kesehatan struktur (SHM) tradisional sering kali mengandalkan fitur yang dibuat secara manual dan pengklasifikasi (\textit{classifier}) yang diatur secara manual, yang menimbulkan tantangan dalam hal generalisasi, keandalan, dan efisiensi komputasi. Seperti yang disorot oleh \textcite{abdeljaber2017}, pendekatan-pendekatan ini umumnya memerlukan proses \textit{trial-and-error} dalam pemilihan fitur dan pengklasifikasi yang tidak hanya mengurangi ketangguhan metode tersebut di berbagai jenis struktur, tetapi juga menghambat penerapannya dalam aplikasi \textit{real-time} karena beban komputasi pada fase ekstraksi fitur.
|
||||
|
||||
\textcite{abdeljaber2017} memperkenalkan pendekatan deteksi kerusakan struktur berbasis CNN yang divalidasi melalui \textit{large-scale grandstand simulator} di Qatar University. Struktur tersebut dirancang untuk mereplikasi stadion modern, dilengkapi dengan 30 akselerometer, dan dikenai kerusakan terkontrol melalui pelonggaran baut sambungan antara balok dan gelagar. Data percepatan yang dikumpulkan di bawah eksitasi \textit{band-limited white noise} dan disampel pada 1024 Hz, kemudian dibagi menjadi bingkai berukuran 128 sampel untuk melatih 1-D CNN yang dilokalkan—satu untuk setiap sambungan (\textit{joint})—menciptakan sistem deteksi terdesentralisasi. Dalam dua fase (skenario) eksperimen, yang melibatkan pemantauan sebagian dan seluruh struktur, metode ini menunjukkan akurasi tinggi dalam pelokalisasian kerusakan, dengan kesalahan klasifikasi saat pelatihan hanya sebesar 0.54\%. Meskipun performa tetap andal bahkan dalam skenario kerusakan ganda, beberapa salah klasifikasi terjadi pada kasus kerusakan yang simetris atau berdekatan. Secara keseluruhan, metode yang diusulkan ini menawarkan solusi yang sangat efisien dan akurat untuk aplikasi SHM secara \textit{real-time}.
|
||||
|
||||
\textcite{eraliev2022} memperkenalkan teknik baru untuk mendeteksi dan mengidentifikasi tahap awal kelonggaran pada sambungan baut ganda menggunakan algoritma pembelajaran mesin. Studi ini difokuskan pada sebuah motor yang dikencangkan dengan empat baut dan dioperasikan dalam tiga kondisi putaran berbeda (800 rpm, 1000 rpm, dan 1200 rpm) guna mengumpulkan data getaran yang cukup untuk dianalisis. Studi ini menyoroti keterbatasan metode inspeksi tradisional, seperti inspeksi visual dan teknik pukulan palu, yang dinilai memakan waktu dan rentan terhadap gangguan kebisingan lingkungan \parencite{j.h.park2015, kong2018}.
|
||||
|
||||
Untuk meningkatkan akurasi deteksi, \textcite{eraliev2022} menggunakan transformasi Fourier waktu-singkat (STFT) sebagai metode ekstraksi fitur, yang menghasilkan 513 fitur frekuensidari sinyal getaran. Berbagai pengklasifikasi model pemelajaran mesin dilatih dan dievaluasi, dengan hasil menunjukkan performa yang memuaskan dalam mendeteksi baut longgar serta mengidentifikasi baut spesifik yang mulai kehilangan tegangan awal (preload). Studi ini juga menekankan pentingnya penempatan sensor, karena posisi sensor sangat memengaruhi akurasi dari pengklasifikasi yang digunakan \parencite{pham2020}. Temuan penelitian ini menunjukkan bahwa pengklasifikasi pada studi ini dapat digunakan untuk sistem pemantauan baut yang longgar secara daring (\textit{online monitoring}) pada pengaplikasian di masa depan, sehingga berkontribusi dalam pengembangan sistem pemantauan kesehatan struktur yang lebih baik.
|
||||
|
||||
STFT diidentifikasi sebagai metode peningkatan sinyal yang efektif, bersanding dengan \textit{wavelet transform} dan \textit{fractional fourier transform}. Keunggulan STFT terletak pada kemampuannya dalam menganalisis sinyal non-stasioner secara lokal, yang dapat meningkatkan kualitas fitur dalam mengenali pola, termasuk dalam tugas-tugas klasifikasi berbasis respon getaran struktur \parencite{zhang2023}.
|
||||
|
||||
Lebih lanjut, pendekatan yang dikembangkan oleh \textcite{garrido2016} menunjukkan potensi untuk menjembatani efektivitas fitur domain waktu-frekuensi dengan efisiensi pemrosesan model \textit{end-to-end}. Model ini mengintegrasikan proses STFT langsung ke dalam arsitektur jaringan \textit{feedforward}, memungkinkan sistem untuk tetap menggunakan representasi waktu-frekuensi namun tanpa biaya komputasi berat dari transformasi eksplisit di luar jaringan. Dengan demikian, pendekatan ini menawarkan jalan tengah yang menjanjikan antara kompleksitas 1-D CNN berbasis \textit{real-time raw signal} dan keunggulan struktural dari representasi domain frekuensi. Dalam konteks penelitian ini, meskipun transformasi dilakukan secara eksplisit, gagasan ini mendukung hipotesis bahwa representasi STFT dapat menjadi alternatif yang efisien dan kompetitif dibanding pemrosesan sinyal mentah dalam skenario pembelajaran mesin dengan sensor terbatas.
|
||||
|
||||
|
||||
% \indent Metode berbasis getaran merupakan salah satu teknik paling umum dalam sistem pemantauan kesehatan struktur (SHM) karena kemampuannya dalam mendeteksi perubahan kondisi struktur secara non-destruktif. Pendekatan ini bergantung pada prinsip bahwa kerusakan pada suatu struktur, seperti kelonggaran sambungan atau penurunan kekakuan elemen, akan mengubah karakteristik dinamikanya, seperti frekuensi alami, bentuk mode, dan respons getaran terhadap eksitasi tertentu.
|
||||
|
||||
% \indent Salah satu jenis kerusakan struktural yang umum dijumpai dalam sambungan mekanis adalah baut yang longgar akibat beban dinamis berulang, seperti getaran atau kejutan. Kondisi ini dapat menyebabkan penurunan integritas struktur dan berujung pada kegagalan sistem jika tidak terdeteksi sejak dini. Oleh karena itu, deteksi baut yang longgar secara dini telah menjadi perhatian utama dalam bidang teknik sipil, mesin, maupun dirgantara [1, 11].
|
||||
|
||||
\indent Teknik deteksi berbasis getaran terbukti efektif dalam mengidentifikasi tanda-tanda awal anomali pada sambungan. Hal ini dilakukan dengan menganalisis perubahan spektrum frekuensi atau energi getaran antar kondisi sehat dan rusak. Dalam praktiknya, data getaran biasanya dikumpulkan melalui akselerometer yang dipasang pada titik-titik tertentu dalam struktur. Perubahan karakteristik getaran, seperti penurunan amplitudo, pergeseran frekuensi dominan, atau pola spektral lainnya, menjadi indikator keberadaan dan lokasi kerusakan. Misalnya, studi oleh \textcite{zhao2019, eraliev2022} menunjukkan bahwa perubahan rotasi kepala baut akibat kelonggaran dapat dikaitkan dengan pola getaran tertentu. Sementara itu, pendekatan yang lebih umum dalam domain teknik sipil adalah memanfaatkan sinyal akselerasi dari sambungan kolom atau balok sebagai masukan untuk sistem klasifikasi kerusakan berbasis pembelajaran mesin.
|
||||
|
||||
\indent Kelebihan utama dari pendekatan berbasis getaran dibanding metode visual atau inspeksi manual adalah kemampuannya dalam mendeteksi kerusakan mikro secara lebih dini, bahkan sebelum tampak secara fisik. Namun, tantangan tetap ada, terutama dalam penempatan sensor yang optimal, pemrosesan sinyal, dan interpretasi pola dinamik yang kompleks dalam struktur grid. Oleh karena itu, kombinasi antara teknik transformasi sinyal seperti Short-Time Fourier Transform (STFT) dan algoritma pembelajaran mesin menjadi arah baru yang menjanjikan dalam riset SHM masa kini.
|
||||
|
||||
\section{Dasar Teori}
|
||||
\input{chapters/id/theoritical_foundation/stft.tex}
|
||||
\input{chapters/id/theoritical_foundation/machine_learning.tex}
|
||||
\input{chapters/id/02_literature_review/theoritical_foundation/stft}
|
||||
\input{chapters/id/02_literature_review/theoritical_foundation/role_windowing}
|
||||
\input{chapters/id/02_literature_review/theoritical_foundation/hann}
|
||||
\input{chapters/id/02_literature_review/theoritical_foundation/machine_learning}
|
||||
|
||||
Dasar teori ini memberikan kerangka metodologi untuk mengimplementasi dan mengevaluasi usulan sistem lokalisasi kerusakan pada penelitian ini. Kokmbinasi dari analisis waktu-frekuensi menggunakan STFT dan klasifikasi pemelajaran mesin klasik memungkinkan ketercapaian monitor kesehatan struktur yang efisien dan mudah diterapkan.
|
||||
@@ -0,0 +1,3 @@
|
||||
Metode monitor kesehatan struktur (SHM) tradisional sering kali mengandalkan fitur yang dibuat secara manual dan pengklasifikasi (\textit{classifier}) yang diatur secara manual, yang menimbulkan tantangan dalam hal generalisasi, keandalan, dan efisiensi komputasi. Seperti yang disorot oleh \textcite{abdeljaber2017}, pendekatan-pendekatan ini umumnya memerlukan proses \textit{trial-and-error} dalam pemilihan fitur dan pengklasifikasi yang tidak hanya mengurangi ketangguhan metode tersebut di berbagai jenis struktur, tetapi juga menghambat penerapannya dalam pengaplikasian secara \textit{real-time} karena beban komputasi pada fase ekstraksi fitur.
|
||||
|
||||
\textcite{abdeljaber2017} memperkenalkan pendekatan deteksi kerusakan struktur berbasis CNN yang divalidasi melalui \textit{large-scale grandstand simulator} di Qatar University. Struktur tersebut dirancang untuk mereplikasi stadion modern, dilengkapi dengan 30 akselerometer, dan dikenai kerusakan terkontrol melalui pelonggaran baut sambungan antara balok dan gelagar. Data percepatan yang dikumpulkan di bawah eksitasi \textit{band-limited white noise} dan disampel pada 1024 Hz, kemudian dibagi menjadi bingkai berukuran 128 sampel untuk melatih 1-D CNN yang dilokalkan—satu untuk setiap sambungan (\textit{joint})—menciptakan sistem deteksi terdesentralisasi. Dalam dua fase (skenario) eksperimen, yang melibatkan pemantauan sebagian dan seluruh struktur, metode ini menunjukkan akurasi tinggi dalam pelokalisasian kerusakan, dengan kesalahan klasifikasi saat pelatihan hanya sebesar 0.54\%. Meskipun performa tetap andal bahkan dalam skenario kerusakan ganda, beberapa salah klasifikasi terjadi pada kasus kerusakan yang simetris atau berdekatan. Secara keseluruhan, metode yang diusulkan ini menawarkan solusi yang sangat efisien dan akurat untuk aplikasi SHM secara \textit{real-time}.
|
||||
@@ -0,0 +1,13 @@
|
||||
Metode monitor kesehatan struktur (SHM) tradisional sering kali mengandalkan fitur yang dibuat secara manual dan pengklasifikasi (\textit{classifier}) yang diatur secara manual, yang menimbulkan tantangan dalam hal generalisasi, keandalan, dan efisiensi komputasi. Seperti yang disorot oleh \textcite{abdeljaber2017}, pendekatan-pendekatan ini umumnya memerlukan proses \textit{trial-and-error} dalam pemilihan fitur dan pengklasifikasi yang tidak hanya mengurangi ketangguhan metode tersebut di berbagai jenis struktur, tetapi juga menghambat penerapannya dalam pengaplikasian secara \textit{real-time} karena beban komputasi pada fase ekstraksi fitur.
|
||||
|
||||
\textcite{abdeljaber2017} memperkenalkan pendekatan deteksi kerusakan struktur berbasis CNN yang divalidasi melalui \textit{large-scale grandstand simulator} di Qatar University. Struktur tersebut dirancang untuk mereplikasi stadion modern, dilengkapi dengan 30 akselerometer, dan dikenai kerusakan terkontrol melalui pelonggaran baut sambungan antara balok dan gelagar. Data percepatan yang dikumpulkan di bawah eksitasi \textit{band-limited white noise} dan disampel pada 1024 Hz, kemudian dibagi menjadi bingkai berukuran 128 sampel untuk melatih 1-D CNN yang dilokalkan—satu untuk setiap sambungan (\textit{joint})—menciptakan sistem deteksi terdesentralisasi. Dalam dua fase (skenario) eksperimen, yang melibatkan pemantauan sebagian dan seluruh struktur, metode ini menunjukkan akurasi tinggi dalam pelokalisasian kerusakan, dengan kesalahan klasifikasi saat pelatihan hanya sebesar 0.54\%. Meskipun performa tetap andal bahkan dalam skenario kerusakan ganda, beberapa salah klasifikasi terjadi pada kasus kerusakan yang simetris atau berdekatan. Secara keseluruhan, metode yang diusulkan ini menawarkan solusi yang sangat efisien dan akurat untuk aplikasi SHM secara\textit{real-time}.
|
||||
|
||||
\indent Metode berbasis getaran merupakan salah satu teknik paling umum dalam sistem pemantauan kesehatan struktur (SHM) karena kemampuannya dalam mendeteksi perubahan kondisi struktur secara non-destruktif. Pendekatan ini bergantung pada prinsip bahwa kerusakan pada suatu struktur, seperti kelonggaran sambungan atau penurunan kekakuan elemen, akan mengubah karakteristik dinamikanya, seperti frekuensi alami, bentuk mode, dan respons getaran terhadap eksitasi tertentu.
|
||||
|
||||
\indent Salah satu jenis kerusakan struktural yang umum dijumpai dalam sambungan mekanis adalah kelonggaran baut akibat beban dinamis berulang, seperti getaran atau kejutan. Kondisi ini dapat menyebabkan penurunan integritas struktur dan berujung pada kegagalan sistem jika tidak terdeteksi sejak dini. Oleh karena itu, deteksi kelonggaran baut secara dini telah menjadi perhatian utama dalam bidang teknik sipil, mesin, maupun dirgantara [1, 11].
|
||||
|
||||
\indent Teknik deteksi berbasis getaran terbukti efektif dalam mengidentifikasi tanda-tanda awal kelonggaran sambungan. Hal ini dilakukan dengan menganalisis perubahan spektrum frekuensi atau energi getaran antar kondisi sehat dan rusak. Dalam praktiknya, data getaran biasanya dikumpulkan melalui akselerometer yang dipasang pada titik-titik tertentu dalam struktur. Perubahan karakteristik getaran, seperti penurunan amplitudo, pergeseran frekuensi dominan, atau pola spektral lainnya, menjadi indikator keberadaan dan lokasi kerusakan.
|
||||
|
||||
\indent Sejumlah penelitian telah menerapkan teknik ini dalam konteks struktur kompleks seperti sambungan multi-baut atau grid struktural. Misalnya, studi oleh Zhao et al. [10] menunjukkan bahwa perubahan rotasi kepala baut akibat kelonggaran dapat dikaitkan dengan pola getaran tertentu. Sementara itu, pendekatan yang lebih umum dalam domain teknik sipil adalah memanfaatkan sinyal akselerasi dari sambungan kolom atau balok sebagai masukan untuk sistem klasifikasi kerusakan berbasis pembelajaran mesin [12].
|
||||
|
||||
\indent Kelebihan utama dari pendekatan berbasis getaran dibanding metode visual atau inspeksi manual adalah kemampuannya dalam mendeteksi kerusakan mikro secara lebih dini, bahkan sebelum tampak secara fisik. Namun, tantangan tetap ada, terutama dalam penempatan sensor yang optimal, pemrosesan sinyal, dan interpretasi pola dinamik yang kompleks dalam struktur grid. Oleh karena itu, kombinasi antara teknik transformasi sinyal seperti Short-Time Fourier Transform (STFT) dan algoritma pembelajaran mesin menjadi arah baru yang menjanjikan dalam riset SHM masa kini.
|
||||
@@ -0,0 +1,20 @@
|
||||
\subsubsection{Hann window}
|
||||
Salah satu fungsi \textit{windowing} yang paling umum digunakan dalam STFT adalah \textit{Hann window}. Jendela ni adalah jenis jendela kosinus yang memberikan hasil yang baik antara resolusi frekuensi dan kebocoran spektral. \textit{Hann windowing} diskret dengan panjang $N$ didefinisikan sebagai:
|
||||
|
||||
\begin{equation}
|
||||
w(n) = 0{.}5 \left(1 - \cos\left( \frac{2\pi n}{N - 1} \right) \right), \quad 0 \leq n \leq N - 1
|
||||
\end{equation}
|
||||
|
||||
Fungsi ini secara halus meruncingkan sinyal menjadi nol di kedua ujungnya, sehingga mengurangi \textit{side lobe} dalam domain frekuensi sambil mempertahankan lebar \textit{lobe} utama yang relatif sempit. Dibandingkan dengan jendela persegi (rectangular window) yang memiliki tepi tajam, jendela Hann mengurangi fenomena Gibbs dan sangat cocok untuk aplikasi yang melibatkan estimasi spektral.
|
||||
|
||||
% \subsubsection*{Alasan Penggunaan dalam STFT}
|
||||
|
||||
% Jendela Hann sangat efektif digunakan dalam STFT karena keseimbangannya antara pelokalan waktu dan frekuensi:
|
||||
|
||||
% \begin{itemize}
|
||||
% \item \textbf{Lebar lobe utama}: Menentukan resolusi frekuensi. Jendela Hann memiliki lobe utama yang sedikit lebih lebar dibandingkan beberapa alternatif, yang berarti resolusinya sedikit berkurang namun kebocoran spektralnya lebih baik ditekan.
|
||||
% \item \textbf{Redaman side lobe}: Side lobe pertama sekitar -31 dB, yang secara signifikan mengurangi kebocoran dibandingkan jendela persegi.
|
||||
% \item \textbf{Kelembutan dalam domain waktu}: Turunan pertama yang kontinu mengurangi transisi mendadak pada tepi segmen sinyal yang dijendela.
|
||||
% \end{itemize}
|
||||
|
||||
% Hal ini membuat jendela Hann cocok untuk menganalisis sinyal dengan konten frekuensi yang berubah secara halus, seperti sinyal getaran, suara, atau sinyal biomedis.
|
||||
@@ -1 +1,45 @@
|
||||
\subsection{Machine Learning}
|
||||
\subsection{Algoritma Klasifikasi}
|
||||
|
||||
Penelitian ini mengevaluasi lima algoritma pemelajaran mesin klasik untuk melakukan tugas pengklasifikasian terhadap lokalisasi kerusakan. Setiap algoritma memiliki keunggulan dan limitasi masing-masing, dan performa untuk setiap algoritma dijadikan tolok ukur untuk mengidentifikasi manakah algoritma yang paling sesuai untuk setiap \textit{dataset} yang diberikan.
|
||||
|
||||
\subsubsection{Support Vector Machine (SVM)}
|
||||
|
||||
Mesin vektor pendukung (SVM) adalah sebuah algoritma pemelajaran mesin terarah yang mencari \textit{hyperplane} optimal dengan cara memisahkan data ke dalam kelas-kelas dengan margin maksimum. SVM bekerja dengan baik pada ruang dimensi tinggi dan cukup kokoh terhadap \textit{overfitting}, terutama pada kasus yang membutuhkan batasan margin secara jelas \parencite{cortes1995}.
|
||||
|
||||
SVM sesuai untuk klasifikasi sinyal getaran karena kemampuannya untuk mengatasi keputusan batasan-batasan non-linier apabila dilengkapi dengan fungsi kernel, seperti fungsi kernel berbasis radial (RBF).
|
||||
|
||||
\subsubsection{K-Nearest Neighbors (KNN)}
|
||||
|
||||
KNN merupakan sebuah algoritma pemelajaran non-parametrik, berbasis contoh. Algoritma ini mengklasifikasi titik data yang berbasis pada pungutan suara terbanyak dari tetangga terdekat $k$ pada ruang fitur. Meskipun dinilai sederhana, KNN dapat dinilai efektif ketika datanya terdistribusi dengan baik dan batasan-batasan pada kelasnya merata.
|
||||
|
||||
Performa algoritma ini sensitif pada pemilihan $k$ dan jarak metriknya. Untuk data dengan dimensi tinggi seperti fitur STFT, mungkin diperlukan optimalisasi atau penskalaan dimensi.
|
||||
|
||||
\subsubsection{Decision Tree (DT)}
|
||||
|
||||
Decision Tree adalah algoritma pemelajaran terarah (\textit{supervised learning}) berbasis struktur pohon, di mana setiap \textit{node} internal mewakili suatu keputusan berdasarkan atribut tertentu, setiap cabang mewakili hasil dari keputusan tersebut, dan setiap daun (leaf node) mewakili label kelas. Algoritma ini secara rekursif membagi data ke dalam subset berdasarkan fitur yang memberikan informasi paling tinggi, seperti diukur dengan Gini index atau entropi (information gain).
|
||||
|
||||
Kelebihan dari Decision Tree adalah interpretabilitasnya yang tinggi dan kemampuannya menangani data numerik maupun kategorikal. Namun, pohon keputusan rentan terhadap \textit{overfitting}, terutama jika kedalaman pohon tidak dikontrol.
|
||||
|
||||
\subsubsection{Random Forest (RF)}
|
||||
|
||||
Random Forest adalah metode ensemble yang terdiri dari banyak Decision Tree yang dilatih pada subset data dan subset fitur yang diacak. Setiap pohon dalam hutan memberikan prediksi, dan hasil akhir ditentukan melalui agregasi (misalnya, voting mayoritas untuk klasifikasi).
|
||||
|
||||
Dengan menggabungkan banyak pohon, Random Forest mengurangi varian model dan meningkatkan generalisasi. Teknik ini efektif untuk dataset yang kompleks dan sangat cocok untuk menghindari \textit{overfitting} yang umum terjadi pada satu pohon keputusan tunggal.
|
||||
|
||||
\subsubsection{Bagged Trees (BT)}
|
||||
|
||||
\textit{Bagged Trees} atau \textit{Bootstrap Aggregated Trees} adalah pendekatan \textit{ensemble} yang mirip dengan Random Forest, namun perbedaannya terletak pada pemilihan fitur. Dalam \textit{Bagged Trees}, pohon-pohon dibangun dari sampel acak \textit{bootstrap} dari dataset pelatihan, tetapi tanpa pengacakan subset fitur seperti pada Random Forest.
|
||||
|
||||
\subsubsection{XGBoost (Extreme Gradient Boosting)}
|
||||
|
||||
XGBoost adalah algoritma pemelajaran mesin berbasis \textit{gradient boosting} yang dirancang untuk efisiensi dan performa tinggi. Algoritma ini bekerja dengan membangun model secara bertahap, di mana setiap pohon selanjutnya mencoba memperbaiki kesalahan dari pohon sebelumnya dengan mengoptimasi fungsi kerugian (\textit{loss function}) menggunakan metode gradien.
|
||||
|
||||
XGBoost menggabungkan beberapa teknik seperti regularisasi $L1$ dan $L2$, pemangkasan pohon (\textit{pruning}), dan pemrosesan paralel, sehingga menghindari terjadinya \textit{overfitting} dan unggul dalam akurasi prediksi dibanding metode pohon lainnya. Algoritma ini sangat populer dalam kompetisi data karena kemampuannya menangani data besar, fitur multivariat, dan klasifikasi multi-kelas secara efisien.
|
||||
|
||||
\subsubsection{Linear Discriminant Analysis (LDA)}
|
||||
|
||||
Linear Discriminant Analysis (LDA) adalah teknik klasifikasi dan reduksi dimensi yang mengasumsikan bahwa data berasal dari distribusi normal multivariat dan memiliki kovarians yang seragam untuk setiap kelas. LDA bertujuan untuk memproyeksikan data ke ruang berdimensi lebih rendah yang memaksimalkan pemisahan antar kelas (rasio varians antar kelas terhadap varians dalam kelas).
|
||||
|
||||
LDA sangat cocok ketika distribusi data mendekati normal dan jumlah fitur tidak terlalu besar dibanding jumlah sampel. Selain sebagai klasifikator, LDA juga sering digunakan sebagai teknik prapemrosesan untuk ekstraksi fitur sebelum digunakan dalam algoritma lain.
|
||||
|
||||
\bigskip
|
||||
@@ -0,0 +1,2 @@
|
||||
\subsubsection{Fungsi \textit{Windowing}}
|
||||
Fungsi jendela $w(n)$ berfungsi untuk melokalisasi sinyal dalam domain waktu, dengan meruncingkan sinyal di kedua ujungnya guna meminimalkan diskontinuitas. Hal ini sangat penting untuk mengurangi kebocoran spektral—sebuah fenomena di mana energi sinyal menyebar ke bin frekuensi di sekitarnya akibat pemotongan sinyal secara tiba-tiba. Pemilihan jenis jendela sangat memengaruhi resolusi dan akurasi representasi waktu-frekuensi.
|
||||
@@ -1 +1,13 @@
|
||||
\subsection{Short-Time Fourier Transform}
|
||||
\subsection{Short-Time Fourier Transform (STFT)}
|
||||
|
||||
Short-Time Fourier Transform (STFT) adalah teknik fundamental yang digunakan untuk menganalisis sinyal non-stasioner, seperti yang diperoleh dari struktur dalam keadaan menerima beban dinamik atau eksitasi derau putih. Meskipun tradisional transformasi fourier memberikan informasi domain frekuensi, teknik ini tidak memiliki resolusi waktu. STFT mengatasi limitasi tersebut dengan menerapkan transformasi fourier segment-segment sinyal pendek yang tumpang tindih, dengan demikian diperoleh representasi waktu-frekuensi.
|
||||
|
||||
Secara matematis, STFT dari sinyal $x(t)$ diberikan sebagai berikut:
|
||||
\begin{equation}
|
||||
X(m, \omega) = \sum_{n=-\infty}^{\infty} x[n] \cdot w[n - m] \cdot e^{-j \omega n}
|
||||
\end{equation}
|
||||
|
||||
|
||||
dengan $w(\tau - t)$ adalah sebuah fungsi \textit{windowing} berpusat pada waktu $t$ dan $\omega$ adalah frekuensi angular.
|
||||
|
||||
Pada studi ini, STFT digunakan untuk mengekstrak domain waktu-frekuensi dari sinyal getaran yang diperoleh dari dari respon struktur terhadap getaran yang diberikan oleh mesin \textit{shaker}. Fitur-fitur ini kemudian digunakan sebagai input pada klasifikasi pemelajaran mesin. Proces ini merekap frekuensi lokal setiap waktu, yang dinilai krusial pada pengidentifikasian perubahan struktur akibat kerusakan.
|
||||
151
latex/chapters/id/03_methodology/data_analysis/index.tex
Normal file
151
latex/chapters/id/03_methodology/data_analysis/index.tex
Normal file
@@ -0,0 +1,151 @@
|
||||
\section{Analisis Data}
|
||||
\subsection{Grid, Kode \textit{Joint}, dan Nama File}
|
||||
|
||||
% \begin{figure}[ht]
|
||||
% \centering
|
||||
% \input{chapters/img/specimen}
|
||||
% \caption{Caption}
|
||||
% \label{fig:enter-label}
|
||||
% \end{figure}
|
||||
% Dimulai dengan memberi indeks pada setiap node pengukuran dari struktur grid berukuran 6$\times$5 menggunakan sebuah bilangan bulat tunggal \(k\) dari nol hingga dua puluh sembilan. Setiap sinyal domain waktu mentah disimpan dalam file yang dinamai berdasarkan indeks ini:
|
||||
% \begin{equation*}
|
||||
% F_{k} = \texttt{``zzzAD}k\texttt{.TXT,''}
|
||||
% \quad k = 0,1,\dots,29.
|
||||
% \end{equation*}
|
||||
|
||||
Direpresentasikan \(F_{k}\) di sini sebagai nama file untuk \textit{node} ke-\(k\). Kemudian dilampirkan nama file tersebut sebagai superskrip pada simbol \textit{node}:
|
||||
\begin{equation*}
|
||||
n_{k}^{F_{k}}
|
||||
\quad\text{adalah \textit{node} dengan indeks }k\text{ yang datanya diambil dari \textit{file} }F_{k}.
|
||||
\end{equation*}
|
||||
|
||||
\subsection{Pemetaan Sensor}
|
||||
|
||||
Semua tiga puluh node dikelompokkan ke dalam enam folder ``damage-case``, dilabeli \(d_{i}\) untuk \(i=0,\dots,5\). Setiap folder berisi tepat lima node berurutan, yang merepresentasikan satu skenario kerusakan:
|
||||
\begin{equation*}
|
||||
d_{i} = \bigl\{\,n_{5i}^{F_{5i}},\;n_{5i+1}^{F_{5i+1}},\;\dots,\;n_{5i+4}^{F_{5i+4}}\bigr\},
|
||||
\quad i = 0,\dots,5.
|
||||
\end{equation*}
|
||||
Atau secara konkrit,
|
||||
\begin{align*}
|
||||
d_0&=\{n_{0}^{F_0},\;n_{1}^{F_1},\;n_{2}^{F_2},\;n_{3}^{F_3},\;n_{4}^{F_4}\}\\
|
||||
d_1&=\{n_{5}^{F_5},\;n_{6}^{F_6},\;n_{7}^{F_7},\;n_{8}^{F_8},\;n_{9}^{F_9}\}\\
|
||||
\;\;\vdots\\
|
||||
d_5&=\{n_{25}^{F_{25}},\;n_{26}^{F_{26}},\;n_{27}^{F_{27}},\;n_{28}^{F_{28}},\;n_{29}^{F_{29}}\}\\
|
||||
\end{align*}
|
||||
|
||||
\subsection{Seleksi Sensor \textit{Node} Ujung-Ujung (Domain Waktu)}
|
||||
|
||||
Dari setiap folder kerusakan, kita hanya menyimpan \textit{node} pertama dan terakhir untuk mensimulasikan tata letak sensor terbatas. Subset domain waktu ini dilambangkan dengan \(d_{i}^{\mathrm{TD}}\):
|
||||
\begin{equation*}
|
||||
d_{i}^{\mathrm{TD}}
|
||||
= \bigl\{\,n_{5i}^{F_{5i}},\;n_{5i+4}^{F_{5i+4}}\bigr\},
|
||||
\quad |d_{i}^{\mathrm{TD}}| = 2.
|
||||
\end{equation*}
|
||||
|
||||
\subsection{Ekstraksi Fitur}
|
||||
|
||||
Kemudian, didefinisikan operator STFT \(\mathcal{T}\) untuk memetakan sinyal domain waktu mentah dengan panjang \(L=262144\) sampel menjadi sebuah spektrogram berukuran \(513\times513\). Kemudian digunakan \textit{Hanning window} dengan panjang \(N_{w}=1024\) dan hop size \(N_{h}=512\). Bentuk kompleks dari STFT adalah:
|
||||
\begin{equation*}
|
||||
\begin{aligned}
|
||||
\text{(1) Window function:}\quad
|
||||
w[n] &= \frac12\Bigl(1 - \cos\frac{2\pi n}{N_w - 1}\Bigr),
|
||||
\quad n=0,\ldots,N_w-1; \\[1ex]
|
||||
\text{(2) STFT:}\quad
|
||||
S_k(p,t)
|
||||
&= \sum_{n=0}^{N_w-1}
|
||||
x_k\bigl[t\,N_h + n\bigr]
|
||||
\;w[n]\;
|
||||
e^{-j2\pi p n / N_w},\\
|
||||
&\quad
|
||||
p = 0,\ldots,512,\quad t = 0,\ldots,512.
|
||||
\end{aligned}
|
||||
\end{equation*}
|
||||
|
||||
Pengambilan magnitudo menghasilkan matriks spektrogram pada bilah frekuensi $p$ dan \textit{frame} waktu $t$ untuk \textit{node} $k$
|
||||
\begin{equation*}
|
||||
\widetilde n_{k}^{F_{k}}(p,t) \;=\; \bigl|S_{k}(p,t)\bigr|
|
||||
\;\in\;\mathbb{R}^{513\times513}.
|
||||
\end{equation*}
|
||||
Dengan demikian operatornya adalah
|
||||
\begin{equation*}
|
||||
\mathcal{T}:\; n_{k}^{F_{k}}\in\mathbb{R}^{262144}
|
||||
\;\longmapsto\;
|
||||
\widetilde n_{k}^{F_{k}}\in\mathbb{R}^{513\times513}.
|
||||
\end{equation*}
|
||||
|
||||
\subsection{Subset Domain Frekuensi}
|
||||
|
||||
Kemudian, \(\mathcal{T}\) diterapkan pada \textit{node} ujung-ujung yang telah dipilih, dihasilkan:
|
||||
\begin{equation*}
|
||||
d_{i}^{\mathrm{FD}}
|
||||
= \bigl\{\,
|
||||
\widetilde n_{5i}^{F_{5i}},\;
|
||||
\widetilde n_{5i+4}^{F_{5i+4}}
|
||||
\,\bigr\},
|
||||
\quad
|
||||
|d_{i}^{\mathrm{FD}}| = 2.
|
||||
\end{equation*}
|
||||
|
||||
\subsection{Pengelompokan Berdasarkan Letak Ujung Sensor}
|
||||
|
||||
Sensor-sensor ujung bagian bawah dilabeli sebagai Sensor A dan Sensor-sensor ujung bagian atas dilabeli sebagai Sensor B. Semua enam kasus kerusakan dikumpulkan menjadi satu menghasilkan dua himpunan spektrogram, masing-masing berisi enam (kasus kerusakan):
|
||||
\begin{equation*}
|
||||
\text{Sensor A}
|
||||
=
|
||||
\bigl\{\,
|
||||
\widetilde n_{0}^{F_{0}},\,
|
||||
\widetilde n_{5}^{F_{5}},\,
|
||||
\dots,\,
|
||||
\widetilde n_{25}^{F_{25}}
|
||||
\bigr\},
|
||||
\quad
|
||||
\text{Sensor B}
|
||||
=
|
||||
\bigl\{\,
|
||||
\widetilde n_{4}^{F_{4}},\,
|
||||
\widetilde n_{9}^{F_{9}},\,
|
||||
\dots,\,
|
||||
\widetilde n_{29}^{F_{29}}
|
||||
\bigr\}.
|
||||
\end{equation*}
|
||||
|
||||
\subsection{Perakitan Baris dan Pelabelan}
|
||||
|
||||
Setiap spektrogram berukuran \(513\times513\) diartikan sebagai 513 vektor fitur berdimensi 513. Kemudian diberikan indeks pengulangan dalam satu kasus kerusakan dengan \(r\in\{0,\dots,4\}\) dan potongan waktu dengan \(t\in\{0,\dots,512\}\). Misalkan
|
||||
\begin{equation*}
|
||||
\mathbf{x}_{i,s,r,t}\in\mathbb{R}^{513}
|
||||
\end{equation*}
|
||||
menunjukkan baris (atau kolom) ke-\(t\) dari spektrogram ke-\(r\) untuk kasus kerusakan \(i\) dan sensor \(s\). Label skalar untuk kasus kerusakan tersebut adalah
|
||||
\begin{equation*}
|
||||
y_{i} = i,\quad i=0,\dots,5.
|
||||
\end{equation*}
|
||||
Kemudian didefinisikan fungsi \textit{slicing} sebagai
|
||||
\begin{equation*}
|
||||
\Lambda(i,s,r,t)
|
||||
\;=\;
|
||||
\bigl[\,
|
||||
\mathbf{x}_{i,s,r,t},
|
||||
\;y_{i}
|
||||
\bigr]
|
||||
\;\in\;\mathbb{R}^{513+1}.
|
||||
\end{equation*}
|
||||
|
||||
\subsection{Bentuk Akhir Data untuk Pelatihan}
|
||||
|
||||
Seluruh baris dari enam kasus kerusakan, lima pengulangan, dan 513 potongan waktu dikumpulkan menghasilkan \textit{dataset} untuk satu sisi sensor:
|
||||
\begin{equation*}
|
||||
\mathcal{D}^{(s)}
|
||||
=
|
||||
\bigl\{
|
||||
\Lambda(i,s,r,t)
|
||||
\;\big|\;
|
||||
i=0,\dots,5,\;
|
||||
r=0,\dots,4,\;
|
||||
t=0,\dots,512
|
||||
\bigr\}.
|
||||
\end{equation*}
|
||||
Karena terdapat total \(6\times5\times513=15{,}390\) baris dan setiap baris memiliki \(513\) fitur ditambah satu kolom label, maka bentuk akhir dari data untuk satu sisi sensor yang siap digunakan untuk pelatihan adalah
|
||||
\begin{equation*}
|
||||
|\mathcal{D}^{(s)}| = 15\,390 \times 514.
|
||||
\end{equation*}
|
||||
7
latex/chapters/id/03_methodology/index.tex
Normal file
7
latex/chapters/id/03_methodology/index.tex
Normal file
@@ -0,0 +1,7 @@
|
||||
\chapter{METODE PENELITIAN}
|
||||
|
||||
\input{chapters/id/03_methodology/material/index}
|
||||
\input{chapters/id/03_methodology/tool/index}
|
||||
\clearpage
|
||||
\input{chapters/id/03_methodology/steps/index}
|
||||
\input{chapters/id/03_methodology/data_analysis/index}
|
||||
26
latex/chapters/id/03_methodology/material/index.tex
Normal file
26
latex/chapters/id/03_methodology/material/index.tex
Normal file
@@ -0,0 +1,26 @@
|
||||
\section{Benda Uji}
|
||||
|
||||
Penelitian ini menggunakan data sekunder dari \textcite{abdeljaber2017}, yang tersedia secara publik dan diperoleh melalui eksperimen menggunakan \textit{Queen's University Grandstand Simulator}. Adapun rincian data yang digunakan adalah sebagai berikut:
|
||||
|
||||
\begin{itemize}
|
||||
\item Dataset terdiri atas rekaman respons getaran dari struktur rangka baja berukuran $6 \times 5$ yang dilengkapi dengan 30 akselerometer.
|
||||
\item Setiap skenario dalam dataset mencakup satu kasus struktur tanpa kerusakan (healthy) dan 30 kasus kerusakan tunggal pada masing-masing sambungan (\textit{single-joint damage}).
|
||||
\item Sinyal getaran direkam dengan frekuensi pengambilan sampel sebesar 1024 Hz selama durasi 256 detik untuk tiap skenario.
|
||||
\item Kerusakan struktur disimulasikan dengan cara mengendurkan baut pada sambungan-sambungan tertentu.
|
||||
\end{itemize}
|
||||
|
||||
Struktur dataset yang digunakan ditampilkan pada Gambar~\ref{fig:specimen-photo}.
|
||||
|
||||
% \begin{figure}[!ht]
|
||||
% \centering
|
||||
% \includegraphics[width=0.5\textwidth]{chapters/img/original_data.png}
|
||||
% \caption{Overview of the original data used from Abdeljaber et al. (2017)}
|
||||
% \label{fig:original-data}
|
||||
% \end{figure}
|
||||
|
||||
\begin{figure}[ht]
|
||||
\centering
|
||||
\includegraphics[width=0.75\linewidth]{chapters/img/specimen.png}
|
||||
\caption{Bentuk benda uji}
|
||||
\label{fig:specimen-photo}
|
||||
\end{figure}
|
||||
33
latex/chapters/id/03_methodology/steps/data_acquisition.tex
Normal file
33
latex/chapters/id/03_methodology/steps/data_acquisition.tex
Normal file
@@ -0,0 +1,33 @@
|
||||
Dataset yang digunakan dalam penelitian ini bersumber dari basis data getaran yang dipublikasi oleh \textcite{abdeljaber2017}.
|
||||
|
||||
Dataset terdiri dari dua folder:
|
||||
\begin{itemize}
|
||||
\item \texttt{Dataset A/} – biasanya digunakan untuk pelatihan (training)
|
||||
\item \texttt{Dataset B/} – biasanya digunakan untuk pengujian (testing)
|
||||
\end{itemize}
|
||||
|
||||
Setiap folder berisi 31 berkas dalam format \texttt{.TXT}, yang dinamai sesuai dengan kondisi kerusakan struktur. Pola penamaan berkas adalah sebagai berikut:
|
||||
|
||||
\begin{itemize}
|
||||
\item \texttt{zzzAU.TXT}, \texttt{zzzBU.TXT} — struktur tanpa kerusakan (sehat)
|
||||
\item \texttt{zzzAD1.TXT}, \texttt{zzzAD2.TXT}, ..., \texttt{zzzAD30.TXT} — Dataset A, kerusakan pada sambungan 1–30
|
||||
\item \texttt{zzzBD1.TXT}, \texttt{zzzBD2.TXT}, ..., \texttt{zzzBD30.TXT} — Dataset B, kerusakan pada sambungan 1–30
|
||||
\end{itemize}
|
||||
|
||||
Sepuluh baris pertama dari setiap berkas berisi metadata yang menjelaskan konfigurasi pengujian, laju sampling, dan informasi kanal. Oleh karena itu, data deret waktu percepatan dimulai dari baris ke-11 yang berisi 31 kolom:
|
||||
\begin{itemize}
|
||||
\item \textbf{Kolom 1:} Waktu dalam detik
|
||||
\item \textbf{Kolom 2–31:} Magnitudo percepatan dari \textit{joint} 1 hingga 30
|
||||
\end{itemize}
|
||||
|
||||
Setiap sinyal di-\textit{sampling} pada frekuensi $f_s = 1024$ Hz dan direkam selama durasi total $T = 256$ detik, sehingga menghasilkan:
|
||||
|
||||
\begin{equation*}
|
||||
N = f_s \cdot T = 1024 \times 256 = 262{,}144 \quad \text{sampel per kanal}
|
||||
\end{equation*}
|
||||
|
||||
Dengan demikian, setiap berkas dapat direpresentasikan sebagai matriks:
|
||||
\begin{equation*}
|
||||
\mathbf{X}^{(c)} \in \mathbb{R}^{262{,}144 \times 31}, \quad c = 0, 1, \dots, 30
|
||||
\end{equation*}
|
||||
di mana $c$ mengacu pada indeks kasus (0 = sehat, 1–30 = kerusakan pada \textit{joint}n ke-$c$), dan setiap baris merepresentasikan pengukuran berdasarkan waktu di seluruh 30 kanal sensor.
|
||||
29
latex/chapters/id/03_methodology/steps/index.tex
Normal file
29
latex/chapters/id/03_methodology/steps/index.tex
Normal file
@@ -0,0 +1,29 @@
|
||||
\section{Tahapan Penelitian}
|
||||
Alur keseluruhan penelitian ini dilakukan melalui tahapan-tahapan sebagai berikut:
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.3\linewidth]{chapters/id/flow.png}
|
||||
\caption{Diagram alir tahapan penelitian}
|
||||
\label{fig:flowchart}
|
||||
\end{figure}
|
||||
|
||||
\begin{enumerate}
|
||||
\item \textbf{Akuisisi Data:} Mengunduh dataset dari \textcite{abdeljaber2017} yang berisi sinyal percepatan untuk 31 kondisi struktur (1 kondisi sehat dan 30 kondisi kerusakan tunggal).
|
||||
|
||||
% \item \textbf{Seleksi Sensor:} Memilih sinyal dari sejumlah sensor terbatas pada garis vertikal tertentu (misalnya, node 1 dan 26) untuk mensimulasikan konfigurasi sensor yang direduksi.
|
||||
|
||||
\item \textbf{Pra-pemrosesan:} Melakukan normalisasi dan mengubah sinyal domain waktu mentah menjadi domain waktu-frekuensi menggunakan metode Short-Time Fourier Transform (STFT).
|
||||
|
||||
\item \textbf{Ekstraksi Fitur:} Menghasilkan \textit{data frame} frekuensi dalam domain waktu.
|
||||
|
||||
\item \textbf{Pengembangan Model:} Membangun dan melatih model klasifikasi berbasis algoritma pemelajaran mesin klasik (SVM, LDA, Bagged Trees, Random Forest, XGBoost) untuk mengklasifikasikan lokasi kerusakan struktur.
|
||||
|
||||
\item \textbf{Evaluasi:} Mengevaluasi kinerja model menggunakan metrik akurasi, presisi, dan confusion matrix pada berbagai skenario pengujian.
|
||||
\end{enumerate}
|
||||
|
||||
\subsection{Akuisisi Data}
|
||||
\input{chapters/id/03_methodology/steps/data_acquisition}
|
||||
|
||||
% \subsection{Prapemrosesan Data dan Ekstraksi Fitur}
|
||||
|
||||
39
latex/chapters/id/03_methodology/tool/hardware.tex
Normal file
39
latex/chapters/id/03_methodology/tool/hardware.tex
Normal file
@@ -0,0 +1,39 @@
|
||||
Data getaran struktur yang digunakan dalam penelitian ini diperoleh dari penelitian oleh \textcite{abdeljaber2017}, yang dilakukan menggunakan simulator struktur baja Grandstand di Queen’s University. Dalam eksperimen tersebut, struktur baja dipasang dengan akselerometer pada setiap sambungan-sambungan (\textit{joints}). Rangkaian perangkat keras yang digunakan untuk pengambilan data meliputi:
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{27 akselerometer PCB model 393B04} (Gambar~\ref{fig:pcb393}) untuk merekam respons percepatan pada sebagian besar titik pengukuran.
|
||||
\item \textbf{3 akselerometer B\&K model 8344} (Gambar~\ref{fig:bk8344}) digunakan pada beberapa lokasi untuk validasi tambahan.
|
||||
\item \textbf{Mounting magnetic PCB model 080A121} digunakan untuk menempelkan akselerometer secara aman pada struktur baja.
|
||||
\item \textbf{Modal shaker (Model 2100E11)} digunakan untuk memberikan eksitasi getaran terkontrol pada struktur (Gambar~\ref{fig:shaker}). Sinyal input untuk shaker dihasilkan melalui \textbf{penguat daya SmartAmp 2100E21-400}.
|
||||
\item \textbf{Dua perangkat akuisisi data 16-kanal (DT9857E-16)} digunakan secara simultan: satu untuk menghasilkan sinyal input ke shaker dan satu lagi untuk merekam data keluaran dari akselerometer (Gambar~\ref{fig:datalogger}).
|
||||
\end{itemize}
|
||||
|
||||
Seluruh perangkat ini memungkinkan pengambilan data getaran dengan fidelitas tinggi, dengan laju pengambilan sampel sebesar 1024 Hz per kanal selama 256 detik untuk setiap skenario pengujian.
|
||||
|
||||
Adapun sumberdaya komputasi yang digunakan untuk pemrosesan semua data dan pemodelan pada skripsi ini, yaitu:
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{\textit{Processor}:} Intel Core i7 11th-gen @ 2.8 GHz
|
||||
\item \textbf{RAM:} 2$\times$8 GB LPDDR4X
|
||||
% \item \textbf{GPU:} Intel iris Xe Graphics (16 GB VRAM \textit{shared})
|
||||
\item \textbf{Sistem Operasi:} Windows 10 64-bit
|
||||
\end{itemize}
|
||||
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=\textwidth]{chapters/img/accel393.png}
|
||||
\caption{Akselerometer yang digunakan: (a) PCB 393B04, (b) B\&K 8344}
|
||||
\label{fig:accel393}
|
||||
\end{figure}
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.4\textwidth]{chapters/img/shaker.png}
|
||||
\caption{Modal shaker (TMS 2100E11) yang dipasang pada struktur uji}
|
||||
\label{fig:shaker}
|
||||
\end{figure}
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\includegraphics[width=0.7\textwidth]{chapters/img/datalogger.png}
|
||||
\caption{Perangkat akuisisi data (DT9857E-16) dan penguat daya SmartAmp 2100E21-400}
|
||||
\label{fig:datalogger}
|
||||
\end{figure}
|
||||
7
latex/chapters/id/03_methodology/tool/index.tex
Normal file
7
latex/chapters/id/03_methodology/tool/index.tex
Normal file
@@ -0,0 +1,7 @@
|
||||
\section{Alat}
|
||||
|
||||
\subsection{Alat Perangkat Keras}
|
||||
\input{chapters/id/03_methodology/tool/hardware}
|
||||
|
||||
\subsection{Alat Perangkat Lunak}
|
||||
\input{chapters/id/03_methodology/tool/software}
|
||||
11
latex/chapters/id/03_methodology/tool/software.tex
Normal file
11
latex/chapters/id/03_methodology/tool/software.tex
Normal file
@@ -0,0 +1,11 @@
|
||||
Berikut merupakan perangkat lunak yang digunakan selama proses penelitian ini:
|
||||
|
||||
\begin{itemize}
|
||||
\item \textbf{Python 3.11} – digunakan untuk proses pra-pemrosesan data, pemodelan, dan evaluasi.
|
||||
\item \textbf{NumPy 1.22.4} – digunakan untuk perhitungan deret numerik.
|
||||
\item \textbf{Pandas 1.5.1} – digunakan untuk memanipulasi struktur data.
|
||||
\item \textbf{Pandas 1.7.3} – digunakan untuk memproses sinyal.
|
||||
\item \textbf{Matplotlib 3.7.1} – digunakan untuk menghasilkan plot data.
|
||||
\item \textbf{Scikit-Learn 1.5.1} – digunakan untuk membangun dan melatih model dengan algoritma pemelajaran mesin klasik.
|
||||
\item \textbf{Jupyter Notebook} – digunakan untuk pelatihan model dan percobaan eksperimental secara interaktif.
|
||||
\end{itemize}
|
||||
BIN
latex/chapters/img/flow.png
Normal file
BIN
latex/chapters/img/flow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 217 KiB |
BIN
latex/chapters/img/specimen.png
Normal file
BIN
latex/chapters/img/specimen.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 976 KiB |
13
latex/chapters/img/specimen.tex
Normal file
13
latex/chapters/img/specimen.tex
Normal file
@@ -0,0 +1,13 @@
|
||||
\begin{matrix}
|
||||
N_{6,5} & \text{---} & N_{6,4} & \text{---} & N_{6,3} & \text{---} & N_{6,2} & \text{---} & N_{6,1} \\
|
||||
\vert & & \vert & & \vert & & \vert & & \vert \\
|
||||
N_{5,5} & \text{---} & N_{5,4} & \text{---} & N_{5,3} & \text{---} & N_{5,2} & \text{---} & N_{5,1} \\
|
||||
\vert & & \vert & & \vert & & \vert & & \vert \\
|
||||
N_{4,5} & \text{---} & N_{4,4} & \text{---} & N_{4,3} & \text{---} & N_{4,2} & \text{---} & N_{4,1} \\
|
||||
\vert & & \vert & & \vert & & \vert & & \vert \\
|
||||
N_{3,5} & \text{---} & N_{3,4} & \text{---} & N_{3,3} & \text{---} & N_{3,2} & \text{---} & N_{3,1} \\
|
||||
\vert & & \vert & & \vert & & \vert & & \vert \\
|
||||
N_{2,5} & \text{---} & N_{2,4} & \text{---} & N_{2,3} & \text{---} & N_{2,2} & \text{---} & N_{2,1} \\
|
||||
\vert & & \vert & & \vert & & \vert & & \vert \\
|
||||
N_{1,5} & \text{---} & N_{1,4} & \text{---} & N_{1,3} & \text{---} & N_{1,2} & \text{---} & N_{1,1} \\
|
||||
\end{matrix}
|
||||
0
latex/frontmatter/acknowledgement.tex
Normal file
0
latex/frontmatter/acknowledgement.tex
Normal file
78
latex/frontmatter/glossaries.tex
Normal file
78
latex/frontmatter/glossaries.tex
Normal file
@@ -0,0 +1,78 @@
|
||||
% % A new command that enables us to enter bi-lingual (Slovene and English) terms
|
||||
% % syntax: \addterm[options]{label}{Slovene}{Slovene first use}{English}{Slovene
|
||||
% % description}
|
||||
% \newcommand{\addterm}[6][]{
|
||||
% \newglossaryentry{#2}{
|
||||
% name={#3 (angl.\ #5)},
|
||||
% first={#4 (\emph{#5})},
|
||||
% text={#3},
|
||||
% sort={#3},
|
||||
% description={#6},
|
||||
% #1 % pass additional options to \newglossaryentry
|
||||
% }
|
||||
% }
|
||||
|
||||
% % A new command that enables us to enter (English) acronyms with bi-lingual
|
||||
% % (Slovene and English) long versions
|
||||
% % syntax: \addacronym[options]{label}{abbreviation}{Slovene long}{Slovene first
|
||||
% % use long}{English long}{Slovene description}
|
||||
% \newcommand{\addacronym}[7][]{
|
||||
% % Create the main glossary entry with \newacronym
|
||||
% % \newacronym[key-val list]{label}{abbrv}{long}
|
||||
% \newacronym[
|
||||
% name={#4 (angl.\ #6,\ #3)},
|
||||
% first={\emph{#5} (angl.\ \emph{#6},\ \emph{#3})},
|
||||
% sort={#4},
|
||||
% description={#7},
|
||||
% #1 % pass additional options to \newglossaryentry
|
||||
% ]
|
||||
% {#2}{#3}{#4}
|
||||
% % Create a cross-reference from the abbreviation to the main glossary entry by
|
||||
% % creating an auxiliary glossary entry (note: we set the label of this entry
|
||||
% % to '<original label>_auxiliary' to avoid clashes)
|
||||
% \newglossaryentry{#2_auxiliary}{
|
||||
% name={#3},
|
||||
% sort={#3},
|
||||
% description={\makefirstuc{#6}},
|
||||
% see=[See:]{#2}
|
||||
% }
|
||||
% }
|
||||
|
||||
% % Change the text of the cross-reference links to the Slovene long version.
|
||||
% \renewcommand*{\glsseeitemformat}[1]{\emph{\acrlong{#1}}.}
|
||||
|
||||
% Define the Indonesian term and link it to the English term
|
||||
\newglossaryentry{jaringansaraf}{
|
||||
name=Jaringan Saraf,
|
||||
description={The Indonesian term for \gls{nn}}
|
||||
}
|
||||
% \newglossaryentry{pemelajaranmesin}{
|
||||
% name=Pemelajaran Mesin,
|
||||
% description={Lihat \gls{machinelearning}}
|
||||
% }
|
||||
|
||||
% Define the English term and link it to its acronym
|
||||
\newglossaryentry{neuralnetwork}{
|
||||
name=Neural Network,
|
||||
description={A computational model inspired by the human brain, see \gls{nn}}
|
||||
}
|
||||
|
||||
% \newglossaryentry{machinelearning}{
|
||||
% name=Machine Learning,
|
||||
% description={A program or system that trains a model from input data. The trained model can make useful predictions from new (never-before-seen) data drawn from the same distribution as the one used to train the model.}}
|
||||
% \newglossaryentry{pemelajaranmesin}{
|
||||
% name={pemelajaran mesin (angl.\ #5)},
|
||||
% first={pemelajaran mesin (\emph{machine learning})},
|
||||
% text={pemelajaran mesin},
|
||||
% sort={ },
|
||||
% description={#6},
|
||||
% #1 % pass additional options to \newglossaryentry
|
||||
% }
|
||||
\longnewglossaryentry{machinelearning}{name={machine learning}}
|
||||
{A program or system that trains a model from input data. The trained model can make useful predictions from new (never-before-seen) data drawn from the same distribution as the one used to train the model.}
|
||||
\newterm[see={machinelearning}]{pemelajaranmesin}
|
||||
% \newglossaryentry{pemelajaran mesin}{}
|
||||
% \addterm{machinelearning}{pemelajaran mesin}{pemelajaran mesin}{machine learning}{A program or system that trains a model from input data. The trained model can make useful predictions from new (never-before-seen) data drawn from the same distribution as the one used to train the model.}
|
||||
\newacronym
|
||||
[description={statistical pattern recognition technique}]
|
||||
{svm}{SVM}{support vector machine}
|
||||
@@ -1,31 +1,30 @@
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
\vspace*{1cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thesistitle}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
||||
\vspace{1.5cm}
|
||||
|
||||
|
||||
\textbf{Disusun oleh:} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentname}} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
||||
|
||||
|
||||
\vfill
|
||||
|
||||
{\fontsize{12pt}{14pt}\selectfont
|
||||
\textbf{\program} \\
|
||||
\textbf{\faculty} \\
|
||||
\textbf{\university} \\
|
||||
\textbf{\yearofsubmission}
|
||||
}
|
||||
|
||||
\end{titlepage}%
|
||||
|
||||
|
||||
\centering
|
||||
\vspace*{1cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thetitle}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
||||
\vspace{1.5cm}
|
||||
|
||||
|
||||
\textbf{Disusun oleh:} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthor}} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
||||
|
||||
|
||||
\vfill
|
||||
|
||||
{\fontsize{12pt}{14pt}\selectfont
|
||||
\textbf{\program} \\
|
||||
\textbf{\faculty} \\
|
||||
\textbf{\university} \\
|
||||
\textbf{\yearofsubmission}
|
||||
}
|
||||
|
||||
\end{titlepage}%
|
||||
|
||||
|
||||
29
latex/frontmatter/maketitle_secondary.tex
Normal file
29
latex/frontmatter/maketitle_secondary.tex
Normal file
@@ -0,0 +1,29 @@
|
||||
\begin{titlepage}
|
||||
\centering
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{Tugas Akhir}}\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\MakeUppercase{\thetitle}}\par}
|
||||
\vspace{1cm}
|
||||
{\normalsize\selectfont Diajukan guna melengkapi persyaratan untuk memenuhi gelar Sarjana Teknik di Program Studi Teknik Sipil, Fakultas Teknik, Universitas Muhammadiyah Yogyakarta\par}
|
||||
\vspace{1.5cm}
|
||||
|
||||
\includegraphics[width=5cm]{frontmatter/img/logo.png}
|
||||
\vspace{1.5cm}
|
||||
|
||||
|
||||
\textbf{Disusun oleh:} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\theauthor}} \\
|
||||
{\fontsize{14pt}{16pt}\selectfont \textbf{\studentid}} \\
|
||||
|
||||
|
||||
\vfill
|
||||
|
||||
{\fontsize{12pt}{14pt}\selectfont
|
||||
\textbf{\program} \\
|
||||
\textbf{\faculty} \\
|
||||
\textbf{\university} \\
|
||||
\textbf{\yearofsubmission}
|
||||
}
|
||||
|
||||
\end{titlepage}%
|
||||
@@ -16,22 +16,19 @@
|
||||
\input{preamble/macros}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\maketitle
|
||||
\input{frontmatter/maketitle}
|
||||
\input{frontmatter/maketitle_secondary}
|
||||
\frontmatter
|
||||
\input{frontmatter/approval}\clearpage
|
||||
\input{frontmatter/originality}\clearpage
|
||||
\input{frontmatter/acknowledgement}\clearpage
|
||||
% \input{frontmatter/approval}\clearpage
|
||||
% \input{frontmatter/originality}\clearpage
|
||||
% \input{frontmatter/acknowledgement}\clearpage
|
||||
\tableofcontents
|
||||
\clearpage
|
||||
\mainmatter
|
||||
\pagestyle{fancyplain}
|
||||
% Include content
|
||||
\include{content/abstract}
|
||||
\include{content/introduction}
|
||||
\include{chapters/01_introduction}
|
||||
\include{content/chapter2}
|
||||
\include{content/conclusion}
|
||||
\include{chapters/id/02_literature_review/index}
|
||||
\include{chapters/id/03_methodology/index}
|
||||
|
||||
% Bibliography
|
||||
% \bibliographystyle{IEEEtran}
|
||||
|
||||
@@ -20,17 +20,25 @@
|
||||
\RequirePackage{etoolbox}
|
||||
\RequirePackage{tocloft}
|
||||
\RequirePackage{tocbibind}
|
||||
|
||||
\RequirePackage{amsmath,amsfonts,amssymb}
|
||||
\RequirePackage{svg} % Allows including SVG images directly
|
||||
\RequirePackage{indentfirst} % Makes first paragraph after headings indented
|
||||
\RequirePackage{float} % Provides [H] option to force figure/table placement
|
||||
\RequirePackage[style=apa, backend=biber, language=indonesian]{biblatex}
|
||||
% Polyglossia set language
|
||||
\setmainlanguage{bahasai}
|
||||
% \setotherlanguage{english}
|
||||
\setdefaultlanguage[variant=indonesian]{malay} % Proper Indonesian language setup
|
||||
\setotherlanguage{english} % Enables English as secondary language
|
||||
\DefineBibliographyStrings{english}{% % Customizes bibliography text
|
||||
andothers={dkk\adddot}, % Changes "et al." to "dkk."
|
||||
pages={hlm\adddot}, % Changes "pp." to "hlm."
|
||||
}
|
||||
|
||||
% Conditionally load the watermark package and settings
|
||||
\if@draftmark
|
||||
\RequirePackage{draftwatermark}
|
||||
\SetWatermarkText{Draft: \today [wip]}
|
||||
\SetWatermarkColor[gray]{0.7}
|
||||
\SetWatermarkFontSize{2cm}
|
||||
\SetWatermarkText{nuluh/thesis (wip) draft: \today}
|
||||
\SetWatermarkColor[gray]{0.8} % Opacity: 0.8 = 20% transparent
|
||||
\SetWatermarkFontSize{1.5cm}
|
||||
\SetWatermarkAngle{90}
|
||||
\SetWatermarkHorCenter{1.5cm}
|
||||
\fi
|
||||
@@ -47,8 +55,6 @@
|
||||
\setsansfont{Arial}
|
||||
\setmonofont{Courier New}
|
||||
|
||||
% Metadata commands
|
||||
\input{metadata}
|
||||
|
||||
\newcommand{\setthesisinfo}[7]{%
|
||||
\renewcommand{\thesistitle}{#1}%
|
||||
@@ -78,7 +84,10 @@
|
||||
}
|
||||
|
||||
% Chapter formatting
|
||||
\titlespacing{\chapter}{0pt}{0pt}{*1.5}
|
||||
\titlespacing{\chapter}{0pt}{0cm}{*1.5} % 0pt→0cm: same value, different unit
|
||||
% 0pt = no space above chapter title
|
||||
% *1.5 = 1.5× line spacing after title
|
||||
|
||||
\titleformat{\chapter}[display]
|
||||
{\normalsize\bfseries\centering}
|
||||
{BAB~\Roman{chapter}} % << display format
|
||||
@@ -90,15 +99,16 @@
|
||||
\titleformat{\subsection}
|
||||
{\normalsize\bfseries}{\thesubsection}{1em}{}
|
||||
|
||||
% Section numbering depth
|
||||
\setcounter{secnumdepth}{3} % Enables numbering for:
|
||||
% 1 = chapters, 2 = sections, 3 = subsections
|
||||
|
||||
% Ensure chapter reference in TOC matches
|
||||
\renewcommand{\cftchappresnum}{BAB~}
|
||||
\renewcommand{\cftchapaftersnum}{\quad}
|
||||
|
||||
% \titlespacing*{\chapter}{0pt}{-10pt}{20pt}
|
||||
|
||||
% Redefine \maketitle
|
||||
\renewcommand{\maketitle}{\input{frontmatter/maketitle}}
|
||||
|
||||
% Chapter & Section format
|
||||
\renewcommand{\cftchapfont}{\normalsize\MakeUppercase}
|
||||
% \renewcommand{\cftsecfont}{}
|
||||
@@ -107,16 +117,22 @@
|
||||
|
||||
|
||||
% Dot leaders, spacing, indentation
|
||||
\setlength{\cftbeforetoctitleskip}{0cm} % Space above "DAFTAR ISI" title
|
||||
\setlength{\cftbeforeloftitleskip}{0cm} % Space above "DAFTAR GAMBAR" title
|
||||
\setlength{\cftbeforelottitleskip}{0cm} % Space above "DAFTAR TABEL" title
|
||||
|
||||
\setlength{\cftbeforechapskip}{0em}
|
||||
\setlength{\cftchapindent}{0pt}
|
||||
\setlength{\cftsecindent}{0em}
|
||||
\setlength{\cftsubsecindent}{2.5em}
|
||||
\setlength{\cftsubsecindent}{2em}
|
||||
\setlength{\cftchapnumwidth}{3.5em}
|
||||
\setlength{\cftsecnumwidth}{3.5em}
|
||||
\setlength{\cftsecnumwidth}{2em}
|
||||
\setlength{\cftsubsecnumwidth}{2.5em}
|
||||
\setlength{\cftfignumwidth}{5em}
|
||||
\setlength{\cfttabnumwidth}{4em}
|
||||
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
|
||||
\renewcommand \cftchapdotsep{1} % Denser dots (closer together) https://tex.stackexchange.com/a/273764
|
||||
\renewcommand \cftsecdotsep{1} % Apply to sections too
|
||||
\renewcommand \cftsubsecdotsep{1} % Apply to subsections too
|
||||
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
|
||||
\renewcommand{\cftchappagefont}{\normalfont}
|
||||
\renewcommand{\cftfigpresnum}{\figurename~}
|
||||
|
||||
Reference in New Issue
Block a user