# s-whynot/cwru-dataset architecture

> Architecture diagram of the GitHub repository s-whynot/cwru-dataset, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/s-whynot/cwru-dataset
- Repository: https://github.com/s-whynot/cwru-dataset

## Overview

This repository is a data collection, not an application: its principal workflow is for an analyst to select bearing recordings by sampling rate, bearing location, and fault condition, then inspect the measurements stored in the Matlab files. The README documents the recording types and signal fields, but there is no sampled source code or processing pipeline, so the graph represents the documented dataset structure rather than inferred analysis steps.

Main entry points: [`12k_Drive_End_Bearing_Fault_Data`](https://github.com/s-whynot/cwru-dataset/tree/main/12k_Drive_End_Bearing_Fault_Data) (Drive end 12kHz), [`12k_Fan_End_Bearing_Fault_Data`](https://github.com/s-whynot/cwru-dataset/tree/main/12k_Fan_End_Bearing_Fault_Data) (Fan end 12kHz), [`48k_Drive_End_Bearing_Fault_Data`](https://github.com/s-whynot/cwru-dataset/tree/main/48k_Drive_End_Bearing_Fault_Data) (Drive end 48kHz), [`Normal`](https://github.com/s-whynot/cwru-dataset/tree/main/Normal) (Normal bearings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_recordings["Recording collections"]
  node_drive12[("Drive end 12kHz")]
  node_drive48[("Drive end 48kHz")]
  node_fan12[("Fan end 12kHz")]
end

subgraph group_conditions["Fault conditions"]
  node_normal[("Normal bearings")]
  node_drivefault[("Drive end defects")]
  node_fanfault[("Fan end defects")]
end

subgraph group_payload["Measurement fields"]
  node_vibration["Vibration signals"]
  node_speed["Motor speed"]
end

node_analyst(("Data analyst"))

node_analyst -->|"selects recordings"| node_drive12
node_analyst -->|"selects recordings"| node_drive48
node_analyst -->|"selects recordings"| node_fan12
node_analyst -->|"selects condition"| node_normal
node_drive12 -->|"includes defects"| node_drivefault
node_drive12 -->|"contains signals"| node_vibration
node_drive12 -->|"contains speed"| node_speed
node_drive48 -->|"contains signals"| node_vibration
node_drive48 -->|"contains speed"| node_speed
node_fan12 -->|"includes defects"| node_fanfault
node_fan12 -->|"contains signals"| node_vibration
node_fan12 -->|"contains speed"| node_speed

click node_drive12 "https://github.com/s-whynot/cwru-dataset/tree/main/12k_Drive_End_Bearing_Fault_Data"
click node_drive48 "https://github.com/s-whynot/cwru-dataset/tree/main/48k_Drive_End_Bearing_Fault_Data"
click node_fan12 "https://github.com/s-whynot/cwru-dataset/tree/main/12k_Fan_End_Bearing_Fault_Data"
click node_normal "https://github.com/s-whynot/cwru-dataset/tree/main/Normal"
click node_drivefault "https://github.com/s-whynot/cwru-dataset/tree/main/12k_Drive_End_Bearing_Fault_Data"
click node_fanfault "https://github.com/s-whynot/cwru-dataset/tree/main/12k_Fan_End_Bearing_Fault_Data"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_drive12,node_drive48,node_fan12 toneBlue
class node_normal,node_drivefault,node_fanfault toneAmber
class node_vibration,node_speed toneMint
class node_analyst toneIndigo
```

## Components

### Recording collections

- [Drive end 12kHz](https://github.com/s-whynot/cwru-dataset/tree/main/12k_Drive_End_Bearing_Fault_Data): `12k_Drive_End_Bearing_Fault_Data`
- [Drive end 48kHz](https://github.com/s-whynot/cwru-dataset/tree/main/48k_Drive_End_Bearing_Fault_Data): `48k_Drive_End_Bearing_Fault_Data`
- [Fan end 12kHz](https://github.com/s-whynot/cwru-dataset/tree/main/12k_Fan_End_Bearing_Fault_Data): `12k_Fan_End_Bearing_Fault_Data`

### Fault conditions

- [Normal bearings](https://github.com/s-whynot/cwru-dataset/tree/main/Normal): `Normal`
- [Drive end defects](https://github.com/s-whynot/cwru-dataset/tree/main/12k_Drive_End_Bearing_Fault_Data): `12k_Drive_End_Bearing_Fault_Data`
- [Fan end defects](https://github.com/s-whynot/cwru-dataset/tree/main/12k_Fan_End_Bearing_Fault_Data): `12k_Fan_End_Bearing_Fault_Data`

### Measurement fields

- **Vibration signals**
- **Motor speed**

### Other components

- **Data analyst**

## Connections

- Data analyst → Drive end 12kHz: selects recordings (evidence: `README.md`)
- Data analyst → Drive end 48kHz: selects recordings (evidence: `README.md`)
- Data analyst → Fan end 12kHz: selects recordings (evidence: `README.md`)
- Data analyst → Normal bearings: selects condition (evidence: `README.md`)
- Drive end 12kHz → Drive end defects: includes defects (evidence: `README.md`)
- Drive end 12kHz → Vibration signals: contains signals (evidence: `README.md`)
- Drive end 12kHz → Motor speed: contains speed (evidence: `README.md`)
- Drive end 48kHz → Vibration signals: contains signals (evidence: `README.md`)
- Drive end 48kHz → Motor speed: contains speed (evidence: `README.md`)
- Fan end 12kHz → Fan end defects: includes defects (evidence: `README.md`)
- Fan end 12kHz → Vibration signals: contains signals (evidence: `README.md`)
- Fan end 12kHz → Motor speed: contains speed (evidence: `README.md`)
