| Literature DB >> 31266252 |
Vessela Krasteva1, Irena Jekova2, Ramun Schmid3.
Abstract
Electrode reversal errors in standard 12-lead electrocardiograms (ECG) can produce significant ECG changes and, in turn, misleading diagnoses. Their detection is important but mostly limited to the design of criteria using ECG databases with simulated reversals, without Wilson's central terminal (WCT) potential change. This is, to the best of our knowledge, the first study that presents an algebraic transformation for simulation of all possible ECG cable reversals, including those with displaced WCT, where most of the leads appear with distorted morphology. The simulation model of ECG electrode swaps and the resultant WCT potential change is derived in the standard 12-lead ECG setup. The transformation formulas are theoretically compared to known limb lead reversals and experimentally proven for unknown limb-chest electrode swaps using a 12-lead ECG database from 25 healthy volunteers (recordings without electrode swaps and with 5 unicolor pairs swaps, including red (right arm-C1), yellow (left arm-C2), green (left leg (LL) -C3), black (right leg (RL)-C5), all unicolor pairs). Two applications of the transformation are shown to be feasible: 'Forward' (simulation of reordered leads from correct leads) and 'Inverse' (reconstruction of correct leads from an ECG recorded with known electrode reversals). Deficiencies are found only when the ground RL electrode is swapped as this case requires guessing the unknown RL electrode potential. We suggest assuming that potential to be equal to that of the LL electrode. The 'Forward' transformation is important for comprehensive training platforms of humans and machines to reliably recognize simulated electrode swaps using the available resources of correctly recorded ECG databases. The 'Inverse' transformation can save time and costs for repeated ECG recordings by reconstructing the correct lead set if a lead swap is detected after the end of the recording. In cases when the electrode reversal is unknown but a prior correct ECG recording of the same patient is available, the 'Inverse' transformation is tested to detect the exact swapping of the electrodes with an accuracy of (96% to 100%).Entities:
Keywords: ECG electrode potentials; ECG electrode swaps; MSMinv transformation; WCT potential change; reconstructing correct ECG leads; unicolor limb–chest electrodes
Year: 2019 PMID: 31266252 PMCID: PMC6651562 DOI: 10.3390/s19132920
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Acquisition of 12-lead ECG via a 10-electrode cable with standard IEC color coding, recording 8 independent leads I, II, V1-V6 (denoted as Vx) in the ECG device. The flow diagram shows the simulation of reversals between LL, RA, LA and one chest electrode (denoted as Cx) by conversion of the recorded leads to reordered leads (,) using the matrix transformations . The specific example shows an identity matrix that corresponds to the correct order of LL, RA, LA, Cx electrodes. Other estimates of the matrix are presented on Figure 2 and Section 4.1 in the description of different examples for electrode reversals.
Calculation of the WCT potential change from the recorded leads via the ‘WSMinv’ transformation (12), applying the swap matrices in Table 2, Table 3 and Table 4.
| Reversed Electrodes | ΔPWCT | |
|---|---|---|
| Reversals of peripheral electrodes not involving RL | ||
| CW rotation | ||
| CCW rotation | ||
| Reversals of peripheral electrodes involving RL |
| |
|
| ||
| 0 * | ||
| CW rotation with RL |
| |
| CCW rotation with RL | 0 * | |
| Bilateral arm–leg rotation |
| |
| Cross rotation |
| |
| Reversals of unicolor peripheral and chest electrodes | Red electrodes |
|
| Yellow electrodes |
| |
| Green electrodes |
| |
| Black electrodes | ||
| All unicolor electrodes |
|
Note: For comprehension purposes of various electrode combinations, the reversed electrodes are depicted with their respective colors according to the IEC color coding [44]. * ΔPWCT = 0 corresponds to the correct position of the active limb electrodes ().
Reversals of peripheral electrodes not involving RL.
| Reversed Electrodes |
|
| Reordered Leads |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| CW rotation | |||
|
|
|
|
|
| CCWrotation | |||
|
|
|
|
|
Note: For comprehension purposes of various electrode combinations, the reversed electrodes are depicted with their respective colors according to the IEC color coding [44], - 1st column: The simulated placement of ECG electrodes referring to their geometrical positions . The electrodes which are assumed to be in the wrong geometrical positions are indicated with red font color as being reversed. - 2nd column: The values of the swap matrix , where red font colored entries indicate the difference to the identity matrix as defined in (6) for the correct electrode placement. - 3rd column: The result of matrix multiplication , considering and equal to their definitions in (2) and (5), respectively.
- 4th column: The formula for calculation of the reordered leads () using the recorded leads that is obtained after substituting in (7). For simplification, the substitution ( is applied in some formulas.
Reversals of peripheral electrodes involving RL.
| Reversed Electrodes |
|
| Reordered Leads |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| CW rotation with RL | |||
|
|
|
|
|
| CCW rotation with RL | |||
|
|
|
|
|
| Bilateral arm–leg rotation | |||
|
|
|
|
|
| Cross rotation | |||
|
|
|
|
|
Note: All columns correspond to the description in the footer of Table 2.
Reversals of unicolor chest and peripheral electrodes.
| Reversed Electrodes |
|
| Reordered Leads |
|---|---|---|---|
| Red electrodes | |||
|
|
|
|
|
| Yellow electrodes | |||
|
|
|
|
|
| Green electrodes | |||
|
|
|
|
|
| Black electrodes | |||
|
|
|
|
|
| All unicolor electrode pairs | |||
|
|
|
|
|
Note: All columns correspond to the description in the footer of Table 2. Cx represents all chest electrodes with unchanged positions, Vx denotes their unipolar leads.
Figure 2Classic depiction of the Einthoven’s triangle, WCT and lead vectors (I, II, Vx), projected in the frontal plane for correct electrode position (a) and their displacement (,) in case of four types of limb electrode reversals: (b) CW rotation of 3 active limb electrodes (→→→); (c) CW rotation of 4 limb electrodes, including RL (→→→→); (d) swap of an active limb electrode and chest electrode, illustrated for the green couple (↔); (e) swap of the grounded and chest electrode, illustrated for the black couple (↔). The text with red font color highlights the electrodes in wrong geometrical positions, and the swap matrix entries different from the identity matrix in (a).
Statistical analysis (mean value ± standard deviation) of measures (RMS Error, Peak Error, CorCoef) calculated for the average beat in 8 independent leads (I, II, V1-V6), quantifying the lead-specific differences between experimentally recorded ECGs – raw leads vs. reordered leads (based on the expressions in Table 4) for 3 different scenarios:. No transformation; Forward ‘MSMinv’ transformation applied on the recording with correct electrodes; Inverse ‘MSMinv’ transformation applied on the recording with swapped electrodes.
| Unicolor | RMS Error (µV) | Peak Error (µV) | Cor. Coef. (0–1) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Transf. None | Transf. MSMinv | Transf. MSMinv Inverse | Transf. None | Transf. MSMinv | Transf. MSMinv Inverse | Transf. None | Transf. MSMinv Forward | Transf. MSMinv Inverse | ||
| RA-C1 |
| 81 ± 40 | 14 ± 5 * | 15 ± 5 * | 351 ± 162 | 48 ± 19 * | 53 ± 20 * | 0.921 ± 0.093 | 0.997 ± 0.004 * | 0.995 ± 0.006 * |
|
| 81 ± 38 | 13 ± 5 * | 13 ± 4 * | 356 ± 163 | 48 ± 19 * | 46 ± 16 * | 0.909 ± 0.172 | 0.998 ± 0.002 * | 0.996 ± 0.005 * | |
|
| 120 ± 52 | 11 ± 4 * | 11 ± 4 * | 529 ± 227 | 38 ± 15 * | 38 ± 13 * | 0.832 ± 0.136 | 0.996 ± 0.002 * | 0.998 ± 0.002 * | |
|
| 27 ± 13 | 11 ± 5 * | 12 ± 5 * | 116 ± 61 | 44 ± 9 * | 42 ± 18 * | 0.989 ± 0.029 | 0.998 ± 0.003 * | 0.998 ± 0.003 * | |
| LA-C2 |
| 197 ± 80 | 16 ± 5 * | 15 ± 5 * | 924 ± 336 | 55 ± 20 * | 54 ± 20 * | 0.746 ± 0.144 | 0.997 ± 0.004 * | 0.995 ± 0.005 * |
|
| 18 ± 5 | 13 ± 3 * | 13 ± 3 * | 78 ± 37 | 44 ± 12 * | 46 ± 13 * | 0.994 ± 0.013 | 0.995 ± 0.011 * | 0.995 ± 0.009 * | |
|
| 246 ± 102 | 13 ± 6 * | 13 ± 5 * | 1121 ± 396 | 50 ± 25 * | 54 ± 26 * | 0.456 ± 0.180 | 0.990 ± 0.010 * | 0.998 ± 0.002 * | |
|
| 58 ± 5 | 12 ± 4 * | 12 ± 5 * | 264 ± 103 | 41 ± 16 * | 47 ± 19 * | 0.956 ± 0.073 | 0.998 ± 0.003 * | 0.997 ± 0.003 * | |
| LL-C3 |
| 15 ± 5 | 15 ± 5 | 15 ± 6 | 56 ± 27 | 54 ± 23 | 56 ± 26 | 0.996 ± 0.006 | 0.995 ± 0.006 * | 0.995 ± 0.006 * |
|
| 154 ± 50 | 18 ± 5* | 15 ± 4 * | 644 ± 228 | 59 ± 22 * | 53 ± 20 * | 0.869 ± 0.146 | 0.998 ± 0.001 * | 0.995 ± 0.008 * | |
|
| 206 ± 65 | 12 ± 5 * | 14 ± 5 * | 868 ± 296 | 47 ± 25 * | 53 ± 21 * | 0.512 ± 0.197 | 0.988 ± 0.012 * | 0.997 ± 0.004 * | |
|
| 52 ± 18 | 12 ± 5 * | 13 ± 5 * | 219 ± 80 | 45 ± 23 * | 46 ± 20 * | 0.970 ± 0.051 | 0.997 ± 0.004 * | 0.997 ± 0.003* | |
| RL-C5 |
| 16 ± 5 | 15 ± 5 | 15 ± 5 | 57 ± 24 | 54 ± 20 | 54 ± 20 | 0.995 ± 0.008 | 0.995 ± 0.008 | 0.995 ± 0.009 |
|
| 14 ± 4 | 14 ± 4 | 14 ± 4 | 47 ± 15 | 48 ± 18 | 48 ± 17 | 0.995 ± 0.009 | 0.995 ± 0.009 | 0.995 ± 0.010 | |
|
| 131 ± 60 | 24 ± 12 *$ | 136 ± 54 # | 639 ± 287 | 102 ± 54 *$ | 660 ± 268 # | 0.785 ± 0.210 | 0.957 ± 0.047 *$ | 0.792 ± 0.144 # | |
|
| 14 ± 5 | 14 ± 5 * | 14 ± 5 * | 51 ± 25 | 51 ± 25 | 51 ± 25 | 0.998 ± 0.002 | 0.998 ± 0.002 | 0.997 ± 0.002 | |
|
|
| 143 ± 72 | 17 ± 9 * | 18 ± 8 * | 726 ± 361 | 59 ± 33 * | 69 ± 35 * | 0.836 ± 0.100 | 0.994 ± 0.006 * | 0.994 ± 0.005 * |
|
| 138 ± 45 | 19 ± 5 * | 18 ± 9 * | 631 ± 275 | 71 ± 26 * | 60 ± 27 * | 0.925 ± 0.062 | 0.997 ± 0.002 * | 0.993 ± 0.009 * | |
|
| 225 ± 97 | 16 ± 5 * | 14 ± 5 * | 967 ± 445 | 50 ± 17 * | 57 ± 18 * | 0.652 ± 0.195 | 0.996 ± 0.003 * | 0.997 ± 0.003 * | |
|
| 289 ± 125 | 16 ± 7 * | 18 ± 8 * | 1235 ± 487 | 62 ± 35 * | 69 ± 30 * | 0.365 ± 0.133 | 0.993 ± 0.007 * | 0.996 ± 0.004 * | |
|
| 248 ± 92 | 15 ± 5 * | 16 ± 4 * | 1003 ± 378 | 55 ± 19 * | 58 ± 23 * | 0.494 ± 0.184 | 0.994 ± 0.010 * | 0.997 ± 0.003* | |
|
| 110 ± 56 | 14 ± 4 * | 16 ± 4 * | 443 ± 258 | 54 ± 20 * | 58 ± 25 * | 0.835 ± 0.204 | 0.997 ± 0.003 * | 0.997 ± 0.002 * | |
|
| 161 ± 63 | 26 ± 10 *$ | 142 ± 75 # | 615 ± 285 | 104 ± 50*$ | 659 ± 368 # | 0.705 ± 0.230 | 0.986 ± 0.019 *$ | 0.859 ± 0.106 # | |
|
| 113 ± 53 | 13 ± 5 * | 13 ± 5 * | 472 ± 231 | 50 ± 23 * | 45 ± 16 * | 0.886 ± 0.135 | 0.998 ± 0.002 * | 0.996 ± 0.005 * | |
Note: Vx denotes the unipolar chest leads without electrode swaps; Color of electrodes follows IEC standard [44]; Gray columns highlight the baseline measurements without transformation (‘None’ transformation). * p < 0.05: Significant reduction of (RMS Error, Peak Error) and increment of (CorCoef) for the reordered leads after applying ‘MSMinv’ transformation (Forward or Inverse) compared to ‘None’ transformation. $: Approximation effect of the Forward ‘MSMinv’ transformation to simulate a swapped lead V5, while C5 is placed on the RL and its potential is assumed equal to the LL. #: Deficiency of the Inverse ‘MSMinv’ transformation to reconstruct the correct lead V5 from a recording with RL electrode in the position of C5 electrode.
Figure 3The average beat of 8 independent leads (I, II, V1-V6) taken from the same subject in two scenarios: (1) Red trace: Recorded ECG with swapped unicolor electrodes; (2) Blue trace: Simulated ECG with swapped unicolor electrodes, applying Forward ‘MSMinv’ transformation on the ECG recorded with the correct lead set.
Accuracy for the detection of the exact lead swaps, applying the ‘MSMinv’ transformation on 3 swapped recordings (RA-C1), (LA-C2), (LL-C3) from 25 patients in our database. Color of electrodes follows IEC standard [44];
| Accuracy | |||
|---|---|---|---|
| Unicolor | RMS Error | Peak Error | Cor |
|
| 100 | 96 * | 100 |
|
| 96 * | 88 # | 96 * |
|
| 100 | 88 # | 100 |
* 1 false negative case due to TLS with the 2nd ranked minimal difference in the decision rule (17). # 3 false negative cases due to TLS with either the 2nd or the 3rd ranked minimal differences in (17).