Genetic Algorithm Based Fault Diagnosis and Repair Strategy in Computer Hardware System
and
Mar 19, 2025
About this article
Published Online: Mar 19, 2025
Received: Nov 01, 2024
Accepted: Jan 31, 2025
DOI: https://doi.org/10.2478/amns-2025-0438
Keywords
© 2025 Tao Wang et al., published by Sciendo
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Figure 1

Figure 2

Figure 3.

Figure 4.

Figure 5

Figure 6

Figure 7.

Different initial population corresponding training parameters
| Initial population (number) | Training step | error |
|---|---|---|
| 10 | 25 | 0.0345 |
| 15 | 24 | 0.0269 |
| 20 | 19 | 0.0278 |
| 25 | 22 | 0.0209 |
| 30 | 20 | 0.0178 |
| 35 | 25 | 0.0252 |
| 40 | 28 | 0.0268 |
The model parameters of the computer hardware system fault diagnosis
| Parameter name | Parameter setting |
|---|---|
| Error threshold | 0.001 |
| Learning efficiency | 0.02 |
| Network topology | 7-9-3 |
| Implicit layer activation function | logsig |
| Output layer activation function | purelin |
| Training function | Trainlm |
| Maximum iteration number | 1000 |
The genetic algorithm runs the parameters
| Parameter name | Parameter setting |
|---|---|
| Population size | 32 |
| Maximum evolutionary frequency | 48 |
| Selection probability | 0.92 |
| Cross probability | 0.3 |
| Mutation probability | 0.05 |
The error performance of network training in different values of Pc and Pm
| Error | Pc | |||||
|---|---|---|---|---|---|---|
| 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | ||
| Pm | 0.02 | 0.158 | 0.0145 | 0.1021 | 0.0208 | 0.0577 |
| 0.03 | 0.01266 | 0.0333 | 0.1047 | 0.0772 | 0.0685 | |
| 0.04 | 0.033 | 0.0224 | 0.0304 | 0.0148 | 0.035 | |
| 0.05 | 0.0735 | 0.1385 | 0.0392 | 0.0574 | 0.0749 | |
| 0.06 | 0.0083 | 0.0462 | 0.0065 | 0.0294 | 0.0263 | |
| 0.07 | 0.0258 | 0.1356 | 0.0634 | 0.0017 | 0.0026 | |
| 0.08 | 0.099 | 0.0018 | 0.0619 | 0.0024 | 0.0352 | |
Different fault types are compared to the code
| Code | Type |
|---|---|
| F1 | Energized insertion |
| F2 | Battery exhaustion |
| F3 | Virus attack |
| F4 | Insurance burn |
| F5 | CMOS error |
| F6 | BIOS error |
| F7 | Fan damage |
| F8 | Chip burn |
| F9 | Pin oxidation |
Small wave packet signal energy values in different states
| Type | E3, 0 | E3, 1 | E3, 2 | E3, 3 | E3, 4 | E3, 5 | E3, 6 | E3, 7 | |
|---|---|---|---|---|---|---|---|---|---|
| F1 | A phase | 20.89497 | 1.90092 | 0.53784 | 0.57775 | 0.631 | 0.06302 | 0.63374 | 0.56613 |
| B phase | 20.29716 | 1.83883 | 0.49647 | 0.92937 | 0.38465 | 0.53339 | 0.00735 | 0.19315 | |
| C phase | 20.36814 | 2.03094 | 0.6404 | 1.20884 | 0.285 | 0.38776 | 0.8191 | 0.76402 | |
| F2 | A phase | 21.74152 | 2.49463 | 0.55227 | 0.7002 | 0.06078 | 0.21492 | 0.06117 | 0.41162 |
| B phase | 22.05262 | 2.80149 | 0.54056 | 0.82839 | 0.09295 | 0.01334 | 0.51159 | 0.09916 | |
| C phase | 21.35739 | 2.22552 | 0.3658 | 0.54142 | 0.30538 | 0.00799 | 0.29674 | 0.36698 | |
| F3 | A phase | 52.9085 | 2.64749 | 0.64554 | 1.45001 | 0.59247 | 0.35469 | 0.63881 | 0.40664 |
| B phase | 51.44517 | 2.24069 | 1.12016 | 1.18453 | 0.1002 | 0.32647 | 0.69766 | 0.73913 | |
| C phase | 51.50044 | 2.11677 | 0.60058 | 0.86984 | 0.05935 | 0.44582 | 0.83782 | 0.26125 | |
| F4 | A phase | 23.78691 | 2.01025 | 0.35526 | 0.99227 | 0.04609 | 0.08815 | 0.61194 | 0.47845 |
| B phase | 20.89412 | 2.09448 | 0.32138 | 0.79022 | 1.00049 | 0.66932 | 0.75864 | 0.92088 | |
| C phase | 19.18094 | 1.81479 | 0.18836 | 0.25097 | 0.06462 | 0.09428 | 0.26034 | 0.42114 | |
| F5 | A phase | 25.44712 | 1.36955 | 1.07982 | 1.09213 | 0.68519 | 0.03638 | 0.16046 | 0.4368 |
| B phase | 21.22982 | 1.59993 | 1.05251 | 1.27646 | 0.10855 | 0.6158 | 0.21551 | 0.24565 | |
| C phase | 24.47241 | 1.81635 | 0.55027 | 1.07477 | 0.13796 | 0.09511 | 0.51013 | 0.34002 | |
| F6 | A phase | 22.14241 | 0.71841 | 0.41587 | 1.17691 | 0.45951 | 0.18965 | 0.30486 | 0.49869 |
| B phase | 22.16743 | 0.59275 | 1.51896 | 1.55474 | 0.36249 | 0.33495 | 0.07684 | 0.63297 | |
| C phase | 21.64248 | 1.05406 | 1.49921 | 1.28476 | 0.71865 | 0.48852 | 0.51629 | 0.34018 | |
| F7 | A phase | 11.47209 | 2.85734 | 0.91163 | 1.42704 | 1.08527 | 0.57577 | 0.26386 | 0.32958 |
| B phase | 11.55484 | 2.4755 | 0.38902 | 1.56322 | 0.4103 | 0.14025 | 0.90733 | 0.6437 | |
| C phase | 11.70625 | 2.37743 | 0.51093 | 1.14821 | 0.38942 | 0.09546 | 0.90041 | 0.41444 | |
| F8 | A phase | 21.94349 | 2.91297 | 0.50958 | 0.37141 | 0.11686 | 0.23509 | 0.11704 | 0.02484 |
| B phase | 21.44111 | 2.54994 | 0.30436 | 0.37427 | 0.3814 | 0.61512 | 0.49593 | 0.84916 | |
| C phase | 20.85718 | 1.98473 | 0.6785 | 1.60634 | 0.45874 | 0.69275 | 0.14515 | 0.81491 | |
| F9 | A phase | 15.61011 | 1.96101 | 0.2859 | 0.50719 | 0.28264 | 0.09245 | 0.13466 | 0.31414 |
| B phase | 11.74552 | 1.69799 | 0.76886 | 0.63888 | 0.55513 | 0.61363 | 0.66487 | 0.7758 | |
| C phase | 15.57689 | 1.04778 | 0.47912 | 0.69852 | 0.40221 | 0.15222 | 0.26568 | 0.13442 | |
