| Algorithm 3 Bearing fault identification. |
| Input: Feature frequency fc |
| Fault frequency set fd = [fi fo fb fr] |
| Frequency tolerance tol |
| Output: Bearing status d |
| for Ha = 1 to 5 |
| d = abs(fd − fc × Ha) |
| if min(d) < tol |
| break |
| end if |
| end |
| Algorithm 3 Bearing fault identification. |
| Input: Feature frequency fc |
| Fault frequency set fd = [fi fo fb fr] |
| Frequency tolerance tol |
| Output: Bearing status d |
| for Ha = 1 to 5 |
| d = abs(fd − fc × Ha) |
| if min(d) < tol |
| break |
| end if |
| end |