Method, program and device for restoring errors in electrocardiogram signals
A deep learning model is used to detect and correct lead reversal errors in electrocardiogram signals, ensuring accurate diagnosis by classifying and restoring correct signals.
Patent Information
- Application Number
- JP2024516591
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-09-20
- Filing Date
- 2022-09-22
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2042-09-22
AI Technical Summary
Incorrect attachment of electrocardiogram electrodes often leads to lead reversal, resulting in false signals and misdiagnoses, necessitating a method to quickly and accurately restore correct electrocardiogram signals.
A method using a trained deep learning model to classify and correct electrocardiogram signals with errors, such as lead reversal, by estimating errors based on lead correlations and applying a correlation matrix and restoration information.
Accurately detects and corrects lead reversal errors in electrocardiogram signals, preventing misdiagnoses and providing correct signals without additional measurements.
Smart Images

Figure 2024533526000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an error restoration method for an electrocardiogram signal, and more particularly to a method for detecting errors occurring during the measurement of an electrocardiogram signal and restoring the electrocardiogram signal based on the correlation of the electrocardiogram signal. [Background technology]
[0002] In order to check for the presence or absence of cardiac abnormalities, clinical examinations, imaging tests, etc. are used. In particular, for early diagnosis of cardiac diseases, a method is widely used in which an electrocardiogram is measured, the measured electrocardiogram signal is displayed in the form of a graph, and the presence or absence of cardiac abnormalities in a patient is judged based on the graph.
[0003] Electrocardiography (ECG) is a recording of the action current generated in the myocardium by the beating of the heart in the form of wavelengths. The 12-lead ECG method measures signals by attaching 10 electrodes to the patient's body. Here, six of the 10 electrodes (V1 to V6), which are chest lead electrodes, are attached to specific anatomical positions using the unipolar chest lead method. The remaining four electrodes are attached to the patient's limbs, namely the left hand and foot and the right hand and foot, respectively. However, the electrodes attached to the left hand and foot and the right hand and foot, respectively, may be attached to the upper left and right sides and the lower left and right sides of the chest depending on the case.
[0004] Generally, in order to measure an ECG signal, the attachment positions of 10 ECG electrodes must be found on the patient's body and attached one by one. However, it is not easy to find the exact positions to attach the 10 electrodes on the patient, and even when used by experienced personnel such as medical staff, the electrodes are often attached incorrectly, resulting in the measurement of signals that cannot be used for diagnosis or an erroneous diagnosis.
[0005] Therefore, in order to attach electrocardiogram electrodes and measure correct signals, a method is needed that can determine whether the electrocardiogram electrodes are positioned backwards or forwards, restore the signal where lead reversal has occurred, and quickly provide a normal electrocardiogram signal. Summary of the Invention [Problem to be solved by the invention]
[0006] The present disclosure has been made in response to the above-mentioned background art, and aims to provide a method for determining an error, such as a lead reversal case caused by incorrectly attached ECG electrodes, based on an ECG signal, and for restoring a signal determined to be erroneous to a correct signal.
[0007] The present disclosure aims to provide a method for classifying erroneous ECG signals, such as lead reversal cases, using a trained deep learning model.
[0008] However, the problems to be solved by the present disclosure are not limited to those mentioned above, and other problems not mentioned will be clearly understood from the description below. [Means for solving the problem]
[0009] According to one embodiment of the present disclosure for achieving the above-mentioned problem, an error restoration method for an electrocardiogram signal performed by a computing device may include a step of acquiring an electrocardiogram signal, a step of estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal, and a step of restoring the electrocardiogram signal with the estimated error based on restoration information for correcting the error in the electrocardiogram signal.
[0010] Alternatively, the step of estimating an error in the acquired electrocardiogram signal based on a correlation between the leads for measuring the acquired electrocardiogram signal may include the steps of: generating a correlation matrix indicating an electrocardiogram signal relationship between the leads based on the acquired electrocardiogram signal; and detecting an electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals based on the correlation matrix.
[0011] Alternatively, the step of detecting an electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals based on the correlation matrix may include inputting the correlation matrix into a pre-trained first neural network model and classifying an electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals.
[0012] Alternatively, the step of estimating an error in the acquired electrocardiogram signal based on a correlation between the leads for measuring the acquired electrocardiogram signal may include inputting the electrocardiogram signal to a pre-trained second neural network model and classifying the electrocardiogram signals in which lead reversal has occurred.
[0013] Alternatively, the step of estimating an error in the acquired electrocardiogram signal based on a correlation between the leads for measuring the acquired electrocardiogram signal may include the step of extracting a signal of interest from the acquired electrocardiogram signal using a bandpass filter for analyzing the correlation.
[0014] Alternatively, the reconstruction information may include a reconstruction table indicating a conversion relationship between electrocardiogram signals of normal leads and electrocardiogram signals in which lead reversal has occurred.
[0015] Alternatively, the electrodes attached to the body to obtain the electrocardiogram signal may include at least one of a plurality of electrodes attached to the extremities or a plurality of electrodes attached to predetermined locations on the chest.
[0016] Alternatively, the acquired electrocardiogram signal may include one or more of a first electrocardiogram signal generated based on a first electrode corresponding to a right arm and a second electrode corresponding to a left arm, a second electrocardiogram signal generated based on the first electrode and a third electrode corresponding to a left leg, a third electrocardiogram signal generated based on the second electrode and the third electrode, or a chest electrocardiogram signal corresponding to each of a plurality of chest electrodes.
[0017] According to one embodiment of the present disclosure for achieving the above-mentioned problem, a computer program for performing operations for error restoration of an electrocardiogram signal may include an operation of acquiring an electrocardiogram signal, an operation of estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal, and an operation of restoring the electrocardiogram signal with the estimated error based on restoration information for correcting the error in the electrocardiogram signal.
[0018] According to an embodiment of the present disclosure for achieving the above object, a computing device for error restoration of an electrocardiogram signal may include a processor including at least one core, a memory including program code executable by the processor, and a network unit for acquiring an electrocardiogram signal. The processor may acquire an electrocardiogram signal, estimate an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal, and restore the electrocardiogram signal with the estimated error based on restoration information for correcting the error of the electrocardiogram signal. Effect of the Invention
[0019] The present disclosure is capable of detecting a lead reversal case and restoring a correct electrocardiogram signal to a user even when electrodes for measuring an electrocardiogram signal are incorrectly attached.
[0020] With this disclosure, if an electrocardiogram signal is erroneously measured, misdiagnosis can be prevented by specifically identifying and correcting what the lead reversal case is.
[0021] The present disclosure provides the ability to restore and provide an electrocardiogram signal to a user without additional measurements when electrocardiogram electrodes are misattached and lead reversal occurs. [Brief description of the drawings]
[0022] [Figure 1] FIG. 1 is a block diagram of a computing device according to one embodiment of the present disclosure.
[0023] [Diagram 2] FIG. 2 is a block diagram showing an error recovery process for an electrocardiogram signal according to an embodiment of the present disclosure.
[0024] [Diagram 3] FIG. 1 illustrates electrocardiogram electrode attachment locations and corresponding leads according to one embodiment of the present disclosure.
[0025] [Figure 4] 1 is a table illustrating signals generated during lead reversal according to one embodiment of the present disclosure.
[0026] [Diagram 5] FIG. 2 is a diagram illustrating a neural network model according to an embodiment of the present disclosure.
[0027] [Figure 6] 1 is a flow chart illustrating a method for electrocardiogram signal error recovery according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0028] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that a person having ordinary skill in the art can easily carry out the present disclosure. The embodiments presented in the present disclosure are provided to enable a person skilled in the art to use or practice the contents of the present disclosure. Thus, various modifications to the embodiments of the present disclosure will be apparent to a person skilled in the art. That is, the present disclosure may be embodied in various different forms and is not limited to the following embodiments.
[0029] Throughout the specification of the present disclosure, the same or similar reference numerals refer to the same or similar components. In addition, in order to clearly describe the present disclosure, reference numerals of parts that are not related to the description of the present disclosure may be omitted from the drawings.
[0030] The term "or" as used in this disclosure is intended to mean an inclusive "or" rather than an exclusive "or." That is, unless otherwise specified in this disclosure or unless otherwise clear from the context, "X uses A or B" should be understood to mean one of the natural inclusive permutations. For example, unless otherwise specified in this disclosure or unless otherwise clear from the context, "X uses A or B" can be interpreted as either X uses A, X uses B, or X uses both A and B.
[0031] The term "and / or" as used in this disclosure must be understood to indicate and include all possible combinations of one or more of the associated listed concepts.
[0032] The terms "comprise" and / or "comprising" as used in this disclosure should be understood to mean the presence of the specified features and / or components. However, the terms "comprise" and / or "comprising" should be understood not to exclude the presence or addition of one or more other features, other components and / or combinations thereof.
[0033] In this disclosure, unless otherwise specified or clear from the context as indicating the singular form, the singular should generally be construed as including "one or more."
[0034] The term "Nth (N is a natural number)" used in this disclosure may be understood as an expression used to distinguish components of the present disclosure from each other based on a certain criterion such as a functional viewpoint, a structural viewpoint, or convenience of explanation. For example, in this disclosure, components performing different functional roles may be distinguished as a first component or a second component. However, components that are substantially the same within the technical idea of the present disclosure but must be distinguished for convenience of explanation may also be distinguished as a first component or a second component.
[0035] The term "acquire" as used in this disclosure may be understood to mean not only receiving data via a wired or wireless communication network for an external device or system, but also generating data in an on-device form.
[0036] Meanwhile, the term "module" or "unit" used in the present disclosure may be understood as a term indicating an independent functional unit that processes computing resources, such as a computer-related entity, firmware, software or a part thereof, hardware or a part thereof, or a combination of software and hardware. Here, a "module" or "unit" may be a unit composed of a single element, or a unit expressed as a combination or set of multiple elements. For example, as a concept of agreement, a "module" or "unit" may indicate a hardware element or a set of hardware elements of a computing device, an application program that performs a specific function of software, a process implemented by the execution of software, or a set of commands for the execution of a program. In addition, as a broad concept, a "module" or "unit" may indicate a computing device itself that constitutes a system, or an application executed by a computing device. However, the above concept is merely an example, and the concept of a "module" or "unit" may be variously defined within a scope that can be understood by a person skilled in the art based on the contents of the present disclosure.
[0037] The term "model" as used in this disclosure may be understood as a system implemented using mathematical concepts and language to solve a particular problem, a set of software units for solving a particular problem, or an abstract model of a process for solving a particular problem. For example, a neural network "model" may refer to a system implemented as a neural network having a problem-solving ability through learning. Here, a neural network may have a problem-solving ability by optimizing parameters connecting nodes or neurons through learning. A neural network "model" may include a single neural network, or may include a neural network set in which multiple neural networks are combined.
[0038] "Data" as used in this disclosure may include "image", signals, etc. The term "image" as used in this disclosure may refer to multi-dimensional data made up of discrete image elements. In other words, "image" may be understood as a term that refers to a digital representation of an object that can be viewed by the human eye. For example, "image" may refer to multi-dimensional data made up of elements that correspond to pixels in a two-dimensional image. "Image" may refer to multi-dimensional data made up of elements that correspond to voxels in a three-dimensional image.
[0039] As used herein, "lead reversal" refers to incorrect lead placement, which may occur when electrodes for electrocardiogram measurement are misplaced. For example, in the case of lead reversal, where limb electrodes other than the neutral electrode are misplaced, certain lead signals may be changed to other lead signals, other certain lead signals may be inverted or rotated, and other certain lead signals may not be changed. For example, misplacement of the neutral electrode may distort not only the limb lead signals, but also the precordial lead signals. In this case, the lead signals may look like other lead signals or may appear to be compressed, such that the signal magnitude is nearly zero.
[0040] The above explanations of the terms are intended to aid in the understanding of the present disclosure. Therefore, unless the above terms are explicitly described as matters limiting the contents of the present disclosure, care should be taken to ensure that they are not used to limit the technical ideas of the contents of the present disclosure.
[0041] FIG. 1 is a block diagram of a computing device according to one embodiment of the present disclosure.
[0042] The computing device 100 according to an embodiment of the present disclosure may be a hardware device or a part of a hardware device that performs comprehensive data processing and calculations, or may be a software-based computing environment connected via a communication network. For example, the computing device 100 may be a server that performs intensive data processing functions and shares resources, or a client that shares resources by interacting with the server. The computing device 100 may also be a cloud system in which multiple servers and clients interact with each other to comprehensively process data. The above description is merely an example related to the type of the computing device 100, and the type of the computing device 100 may be variously configured within a scope that can be understood by a person skilled in the art based on the contents of the present disclosure.
[0043] Referring to Fig. 1, a computing device 100 according to an embodiment of the present disclosure may include a processor 110, a memory 120, and a network unit 130. However, Fig. 1 is merely an example, and the computing device 100 may include other components for implementing a computer environment. Also, only some of the disclosed components may be included in the computing device 100.
[0044] The processor 110 according to an embodiment of the present disclosure may be understood as a component including hardware and / or software for performing computing operations. For example, the processor 110 may read a computer program to perform data processing for machine learning. The processor 110 may process operations such as input data processing for machine learning, feature extraction for machine learning, and error calculation based on backpropagation. The processor 110 for performing such data processing may include a central processing unit (CPU), a general purpose graphics processing unit (GPGPU), a tensor processing unit (TPU), an application specific integrated circuit (ASIC), or a field programmable gate array (FPGA). The above-mentioned types of the processor 110 are merely examples, and the types of the processor 110 may be variously configured within a scope that can be understood by a person skilled in the art based on the contents of the present disclosure.
[0045] The processor 110 can detect an error in the electrocardiogram signal caused by an incorrect placement of electrodes for electrocardiogram measurement. An incorrect placement of electrodes can be understood as an electrode for measuring an electrocardiogram signal of a specific lead being placed out of its normal position. When the electrodes are incorrectly placed, there is a high probability that an electrocardiogram signal that is not diagnostic will be measured or that an erroneous diagnosis will occur due to the measured electrocardiogram signal. To prevent such a problem, the processor 110 can detect an error in the electrocardiogram signal caused by an incorrect placement of electrodes based on the measured electrocardiogram signal.
[0046] For example, the processor 110 may analyze the electrocardiogram signal and detect a lead reversal case that occurs due to an electrode being placed in a wrong position. Specifically, the processor 110 may analyze a correlation between the leads for measuring the electrocardiogram signal based on the electrocardiogram signal. Here, the correlation between the leads may be understood as an analysis result indicating what correlation the electrocardiogram signal between the leads has based on the measured lead-specific signal. The processor 110 may detect a lead reversal case using the correlation between the leads analyzed based on the measured electrocardiogram signal. The processor 110 may detect which lead's signal is measured as a reversal type due to an electrode being placed in a wrong position based on the correlation between the leads. Here, the calculation process for detecting a lead reversal case may be performed by logic based on a rule defined by a program code, or may be performed based on a deep learning algorithm based on the program code. Through such a calculation process, the processor 110 may easily detect what reversal case has occurred in the measured signal of which lead for all the leads used for measuring the electrocardiogram signal.
[0047] The processor 110 can not only detect an error in the electrocardiogram signal, but also restore the detected error in the electrocardiogram signal. The processor 110 can improve the detected error in the electrocardiogram signal based on restoration information determined in advance to correct the error in the electrocardiogram signal. Here, the restoration information may be information predefined to convert a lead-specific signal measured when the electrodes are placed in an incorrect position into a lead-specific signal measured when the electrodes are placed in a normal position. That is, the processor 110 can use the restoration information to convert the electrocardiogram signal in which an error is detected into a signal measured when the electrodes are placed in a normal position.
[0048] The error detection and restoration process of the ECG signal executed by the processor 110 can minimize the resources of a hospital environment required to ensure that an ECG signal can be normally used for disease diagnosis, etc. For example, even if an ECG signal is measured with an incorrect electrode setting for measuring the ECG signal, the above-mentioned error detection and restoration process can minimize the inconvenience of having to set the electrodes again and measure the signal again.
[0049] The memory 120 according to an embodiment of the present disclosure may be understood as a component including hardware and / or software for storing and managing data processed by the computing device 100. That is, the memory 120 may store any type of data generated or determined by the processor 110 and any type of data received by the network unit 130. For example, the memory 120 may include at least one type of storage medium among a flash memory type, a hard disk type, a multimedia card micro type, a card type memory, a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, and an optical disk. The memory 120 may also include a database system that controls and manages data in a predetermined system. The above-mentioned types of the memory 120 are merely examples, and the types of the memory 120 may be variously configured within a range that can be understood by a person skilled in the art based on the contents of the present disclosure.
[0050] The memory 120 may structure and organize and manage data, a combination of data, and program code executable by the processor 110, which are necessary for the processor 110 to perform calculations. For example, the memory 120 may store medical data received via the network unit 130, which will be described later. The memory 120 may store program code for operating a neural network model to receive medical data and perform learning, program code for operating the neural network model to receive medical data and perform inference according to the purpose of use of the computing device 100, and processed data generated by executing the program code.
[0051] The network unit 130 according to an embodiment of the present disclosure may be understood as a component that transmits and receives data via any type of known wired or wireless communication system. For example, the network unit 130 may transmit and receive data using wired or wireless communication systems such as a local area network (LAN), wideband code division multiple access (WCDMA), long term evolution (LTE), wireless broadband internet (WiBro), 5G, ultrawide-band, ZigBee, radio frequency (RF) communication, wireless LAN, wireless fidelity, near field communication (NFC), or Bluetooth. The above-mentioned communication systems are merely examples, and wired or wireless communication systems for transmitting and receiving data by the network unit 130 may be applied in various ways other than the above examples.
[0052] The network unit 130 may receive data necessary for the processor 110 to perform the calculation through wired or wireless communication with any system or any client. The network unit 130 may also transmit data generated by the calculation of the processor 110 through wired or wireless communication with any system or any client. For example, the network unit 130 may receive medical data through communication with a database in a hospital environment, a cloud server performing work such as standardization of medical data, or a computing device. The network unit 130 may transmit output data of the neural network model, and intermediate data and processed data derived in the calculation process of the processor 110 through communication with the above-mentioned database, server, computing device, etc.
[0053] 2 is a block diagram illustrating an error recovery process for an electrocardiogram signal according to one embodiment of the present disclosure, and FIG 4 is a table illustrating signals generated upon lead reversal according to one embodiment of the present disclosure.
[0054] 2, the computing device 200 for error restoration of an electrocardiogram signal may include a reversal sensing module 220 for detecting an error in input data 210, and a restoration module 230 for correcting the error in the input data 210. In the present disclosure, the input data 210 may include an electrocardiogram signal corresponding to at least one lead. The input data 210 may be generated in an apparatus for electrocardiogram measurement and transmitted to the computing device 200. If the computing device 200 includes electrodes for measuring an electrocardiogram signal, the input data 210 may also be generated directly in the computing device 200.
[0055] The reversal sensing module 220 may include a filter unit 222 , a correlation analysis unit 224 , and a case classification unit 226 .
[0056] The filter unit 222 may filter noise in the input data 210 so that the input data 210 may be easily analyzed. For example, the filter unit 222 may include a band pass filter that passes only components of a specific frequency band to be analyzed in the input data 210. The band pass filter may pass only signals of 0.5 Hz to 50 Hz in the input data 210. However, the values of 0.5 Hz to 50 Hz are merely examples, and the present disclosure is not limited to such values. The filter unit 222 may further include a notch filter for reducing mains hum, which is a power supply noise generated in a power cable, etc.
[0057] The correlation analysis unit 224 may analyze correlations for each lead. The correlation analysis of the correlation analysis unit 224 may be performed based on the input data 210 or the output data of the filter unit 222. The correlation analysis unit 224 may generate a correlation matrix of size N×N (N is a natural number) indicating the relationship of the electrocardiogram signals between the leads by analyzing what relationship the electrocardiogram signals between the leads have for each lead. For example, if the input data 210 includes 12-lead electrocardiogram signals, the correlation analysis unit 224 may analyze what morphological correlations the 12 leads have and generate a correlation matrix of size 12×12. The calculation process for generating a correlation matrix of size 12×12 may refer to the following [Equation 1].
[0058]
number
[0059] In the above formula 1, X may be an ECG signal, C may be a channel or lead, T may be time, A may be an adjacency matrix, and E[X] may be an expectation value of the random variable X.
[0060] In this manner, the correlation analysis unit 224 may organize the correlations between all the leads into a single matrix based on the electrocardiogram signal. The correlation analysis unit 224 may express the signal relationships of all the leads as a correlation matrix so that the case classification unit 226 can easily interpret the complex signal relationships. That is, the case classification unit 226 may easily perform characteristic interpretation of the signals for each lead using the matrix generated by the correlation analysis unit 224, and effectively detect lead reversal.
[0061] The case classification unit 226 may determine whether or not a lead reversal exists in a signal included in the input data 210 based on the correlation matrix or correlation information generated by the correlation analysis unit 224, and classify the lead reversal case. For example, the case classification unit 226 may determine whether or not a lead reversal exists by comparing the degree of agreement between information included in the correlation matrix and a predetermined normal case. The case classification unit 226 may then classify the lead reversal case in the correlation matrix based on the determination result. The case classification unit 226 may also classify the lead reversal case present in the input data 210 based on the correlation matrix using a first neural network model. The first neural network model may include a convolutional neural network for receiving a visualized matrix and detecting a lead reversal case. The first neural network model may be trained based on supervised learning using a matrix of a normal case in which no lead reversal exists as a label. However, the neural network model may be trained based on unsupervised learning, reinforcement learning, and other learning methods in addition to supervised learning.
[0062] Meanwhile, according to an alternative embodiment of the present disclosure, the operation of the correlation analysis unit 224 and the operation of the case classification unit 226 may be replaced by a second neural network model. For example, the second neural network model may classify lead reversal cases based on the input data 210 or the output data of the filter unit 222. The second neural network model may be trained to extract features for interpreting correlations of lead-specific signals based on the input data 210 or the output data of the filter unit 222, and classify lead reversal cases based on the features. Here, the second neural network model may include a neural network that performs operations based on self-attention.
[0063] The restoration module 230 may restore an ECG signal in which an error has been detected by the inversion detection module 220 based on predetermined restoration information. The restoration module 230 may correct the lead reversal case detected by the case classification unit 226 based on the restoration information. The restoration module 230 may use a corresponding signal table for each lead reversal case (hereinafter, referred to as a restoration table) as restoration information for restoring the ECG signal. The restoration table may be information in the form of a table showing a conversion relationship between an ECG signal of a normal lead and an ECG signal in which a lead reversal has occurred. Here, normal may be understood as a state in which the electrodes are attached to positions determined for measuring a lead signal in which the arrangement of the electrodes is normal. The restoration table may refer to FIG. 4. For example, according to the restoration table of FIG. 4, in the case of an LA / RA lead in which the left arm electrode and the right arm electrode are attached in a back-to-back order, lead I is an inverted signal, and lead II and lead III may be changed. (Lead I→-(Lead I), Lead II→Lead III, Lead III→Lead II)
[0064] In the table of FIG. 4, "-" may mean a signal with reversed polarity, and "≒" may mean an almost identical signal. CW may mean rotation in the direction RA→LA→LL→RA, and CCW may mean rotation in the direction RA→LL→LA→RA. The restoration module 230 may restore an error-containing ECG signal by converting an ECG signal with lead reversal into an ECG signal with a normal lead based on a restoration table including the table of FIG. 4. Meanwhile, the ECG signal error restoration method of the present disclosure has been described with a focus on the limb leads among the 12 leads, but the application is not limited thereto, and may also include ECG measurement methods with 5 leads, 3 leads, or other lead formats.
[0065] 2, the output data 240 may be data in which an ECG signal in which a lead reversal has occurred is restored to an ECG signal in which a lead is normal. The output data 240 may be transmitted to various types of clients and displayed via a display device.
[0066] The computing device 200 for recovering an error in an electrocardiogram signal may be used in a form combined with or included in an apparatus for measuring an electrocardiogram signal, or may be executed in a separate apparatus. The recovery method executed by the computing device 200 may be implemented in a server or computing device located physically separate from the electrocardiogram signal measuring apparatus. The recovery method executed by the computing device 200 may be implemented in a manner of receiving the measured signal via a network, analyzing it, and transmitting the analysis result again via the network.
[0067] FIG. 3 is a diagram illustrating electrocardiogram electrode attachment locations and corresponding leads according to one embodiment of the present disclosure.
[0068] 3, a standard 12-lead (or 12-lead) electrocardiogram may include limb leads and chest leads. The limb leads may include four electrodes attached to the limbs (hereinafter referred to as limb electrodes). And the chest leads may include six electrodes attached to the chest (hereinafter referred to as chest electrodes).
[0069] The limb electrodes may include a right arm electrode RA, a left arm electrode LA, a right leg electrode RL, and a left leg electrode LL. The right leg electrode RL may be a common electrode or a ground electrode. The limb electrodes may be attached to positions corresponding to the right arm, the left arm, the right leg, and the left leg, respectively.
[0070] The chest electrodes (or precordial electrodes) may include a first chest electrode V1, a second chest electrode V2, a third chest electrode V3, a fourth chest electrode V4, a fifth chest electrode V5, and a sixth chest electrode V6.
[0071] The limb leads may include standard limb leads Lead I, II, II, and amplified limb leads aVR, aVL, aVF. Among the limb leads, the standard limb leads are bipolar leads, so the voltage difference between both electrodes may represent the trace recorded on the electrocardiogram recorder. For example, the first lead L1 may represent the voltage difference between the right arm electrode RA and the left arm electrode LA, the second lead L2 may represent the voltage difference between the right arm electrode RA and the left leg electrode LL, and the third lead L3 may represent the voltage difference between the left arm electrode LA and the left leg electrode LL. The first electrocardiogram signal or first channel signal may be a signal generated in the first lead L1, the second electrocardiogram signal or second channel signal may be a signal generated in the second lead L2, and the third electrocardiogram signal or third channel signal may be a signal generated in the third lead L3. Among the limb leads, the amplified limb lead is a unipolar lead, so that a sixth electrocardiogram signal can be generated from a fourth electrocardiogram signal corresponding to each of the right arm electrode RA, the left arm electrode LA, and the left leg electrode LL.
[0072] Since the chest leads are unipolar leads, a twelfth electrocardiogram signal can be generated from the seventh electrocardiogram signal corresponding to each of the chest electrodes.
[0073] The above description is merely one example for a standard 12-lead electrocardiogram measurement, and the present disclosure is not limited to such example.
[0074] FIG. 5 is a diagram illustrating a neural network model according to an embodiment of the present disclosure.
[0075] 5, a neural network model 320 for detecting lead reversal can classify lead reversal cases 330 among electrocardiogram signals using correlation data 310 indicating the overall lead relevance for measurement of the electrocardiogram signals as an input, where the correlation data 310 can be a correlation matrix generated by the correlation analysis unit 224 of FIG.
[0076] The neural network model 320 may receive a correlation matrix indicating the electrocardiogram signal relationship between the leads and interpret features of the electrocardiogram signal relationship by lead. The neural network model 320 may determine whether lead reversal exists among the signals present in the input during the feature interpretation process. The neural network model 320 may then classify the input signals as lead reversal cases based on the determination result.
[0077] For example, the neural network model 320 can classify lead reversal cases for limb leads among 12 leads based on a correlation matrix. An algorithm for classifying lead reversal cases for limb leads among 12 leads can be seen in Equation 2 below.
[0078]
number
[0079] Z can be a correlation matrix for three limb leads in an ECG signal to determine lead reversal. θ can be a parameter of a neural network model to classify lead reversal cases. For example, flatten() can be a function that flattens a multidimensional array space to one dimension.
[0080] FIG. 6 is a flow chart illustrating a method for electrocardiogram signal error recovery according to one embodiment of the present disclosure.
[0081] 1 and 6, a computing device 100 according to an embodiment of the present disclosure may acquire an electrocardiogram signal (S110). The computing device 100 may be connected to an electrocardiogram measuring device and may use the measured electrocardiogram signal or the electrocardiogram signal transmitted via a network. Here, the electrocardiogram signal acquired by the computing device 100 may include an electrocardiogram signal measured in a standard 12-lead format, and an electrocardiogram signal measured in a 5-lead, 3-lead, or various lead format.
[0082] For example, electrodes attached to the body to obtain electrocardiogram signals may include at least one of a plurality of limb electrodes attached to the extremities of the limbs in a standard 12-lead format and a plurality of chest electrodes attached to predetermined locations on the chest.
[0083] For example, the electrocardiogram signal may include one or more of a first electrocardiogram signal generated based on a first electrode corresponding to the right arm and a second electrode corresponding to the left arm in a standard 12-lead format, a second electrocardiogram signal generated based on the first electrode and a third electrode corresponding to the left leg, or a third electrocardiogram signal generated based on the second electrode and the third electrode.
[0084] The computing device 100 may estimate an error in the electrocardiogram signal based on the correlation between the leads (S120). The computing device 100 may generate a correlation matrix indicating an electrocardiogram signal relationship between the leads based on the acquired electrocardiogram signals. The computing device 100 may then detect an electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals based on the correlation matrix. The computing device 100 may pre-process an input signal or generate a correlation matrix by considering weights, etc., in the process of calculating the correlation between electrocardiogram signals for each lead.
[0085] In the process of detecting an electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals based on the correlation matrix, the computing device 100 may input the correlation matrix to a first pre-trained neural network model to classify the electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals. The computing device 100 may input the electrocardiogram signal to a second pre-trained neural network model based on self-attention to classify the electrocardiogram signal in which lead reversal has occurred among the acquired electrocardiogram signals.
[0086] The computing device 100 may use a band pass filter to remove noise from the electrocardiogram signal and extract a signal of interest for analyzing the correlation from the acquired electrocardiogram signal.
[0087] The computing device 100 may restore the ECG signal in which an error is estimated and provide it to a user (S130). The computing device 100 may restore the ECG signal in which lead reversal is estimated by using a restoration table indicating a conversion relationship between an ECG signal of a normal lead and an ECG signal in which lead reversal has occurred. For example, the restoration table may include a table described in FIG. 4.
[0088] According to the method for recovering an ECG signal error in accordance with an embodiment of the present disclosure, even if an ECG electrode is incorrectly attached and a lead reversal occurs, information about the incorrectly attached electrode and the lead reversal case can be accurately determined, and the method for recovering an ECG signal error in accordance with an embodiment of the present disclosure can quickly provide an ECG signal without having to reattach the electrodes or remeasure the signal.
[0089] The various embodiments of the present disclosure described above can be combined with additional embodiments and can be modified within the scope that a person skilled in the art can understand from the above detailed description. The embodiments of the present disclosure are illustrative in all respects and should be understood as not being limiting. For example, each component described as a single type can be implemented in a distributed form, and similarly, components described as distributed can be implemented in a combined form. Therefore, all modifications or variations derived from the meaning, scope, and equivalent concept of the claims of the present disclosure should be interpreted as being included in the scope of the present disclosure. [Explanation of symbols]
[0090] 22: Filter unit 100: Computing equipment 110: Processor 120:Memory 130: Network Department 200: Computing equipment 210: Input data 220: Reverse sensing module 222: Filter unit 224: Correlation Analysis Unit 226: Case Classification Unit 230 :Restore module 240: Output data 310: Correlation data 320: Neural network model 330: Lead reversal case
Claims
1. 1. A method for error recovery of an electrocardiogram signal, the method being performed by a computing device including at least one processor, the method comprising: acquiring an electrocardiogram signal; estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal; reconstructing the error-estimated electrocardiogram signal based on reconstruction information for correcting errors in the electrocardiogram signal; A method comprising:
2. estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal, generating a correlation matrix indicative of electrocardiogram signal relationships between the leads based on the acquired electrocardiogram signals; detecting an electrocardiogram signal in which a lead reversal has occurred among the acquired electrocardiogram signals based on the correlation matrix; The method of claim 1 , comprising:
3. 3. The method of claim 2, wherein detecting electrocardiogram signals in which lead reversal has occurred among the acquired electrocardiogram signals based on the correlation matrix includes inputting the correlation matrix into a first pre-trained neural network model to classify electrocardiogram signals in which lead reversal has occurred among the acquired electrocardiogram signals.
4. 2. The method of claim 1, wherein estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal includes inputting the electrocardiogram signal to a pre-trained second neural network model and classifying the electrocardiogram signals in which lead reversal has occurred.
5. 2. The method of claim 1, wherein estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal includes extracting a signal of interest for analyzing the correlation from the acquired electrocardiogram signal using a band pass filter.
6. The method of claim 1 , wherein the reconstruction information includes a reconstruction table indicating a conversion relationship between electrocardiogram signals of normal leads and electrocardiogram signals in which lead reversal has occurred.
7. 2. The method of claim 1, wherein the electrodes attached to the body to obtain the electrocardiogram signals include at least one of a plurality of electrodes attached to the extremities or a plurality of electrodes attached to predetermined locations on the chest.
8. 2. The method of claim 1, wherein the acquired electrocardiogram signals include one or more of a first electrocardiogram signal generated based on a first electrode corresponding to a right arm and a second electrode corresponding to a left arm, a second electrocardiogram signal generated based on the first electrode and a third electrode corresponding to a left leg, a third electrocardiogram signal generated based on the second electrode and the third electrode, or a chest electrocardiogram signal corresponding to each of a plurality of chest electrodes.
9. A computer program stored on a computer-readable storage medium, the computer program, when executed by one or more processors, performing operations for error recovery of an electrocardiogram signal; The operation includes: acquiring an electrocardiogram signal; estimating an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal; an operation of reconstructing the error-estimated electrocardiogram signal based on reconstruction information for correcting the error of the electrocardiogram signal; A computer program comprising:
10. 1. A computing device for error reconstruction of an electrocardiogram signal, comprising: A processor including at least one core; a memory containing program code executable by the processor; a network unit for acquiring an electrocardiogram signal; Including, The apparatus, wherein the processor acquires an electrocardiogram signal, estimates an error in the acquired electrocardiogram signal based on a correlation between leads for measuring the acquired electrocardiogram signal, and reconstructs the error-estimated electrocardiogram signal based on reconstruction information for correcting the error in the electrocardiogram signal.
Citation Information
Patent Citations
Electrocardiogram signal correction method and device, wearable equipment and storage medium
CN112401893A
Electrocardiograph and its control method
JP2009261723A
Automatic detection / classification of ecg cable swaps for different ecg lead systems
JP2018510013A
Multi-functional or multi-dimensional handheld electrocardiograph capable of changing the input signals and the correcting method of the signals
KR1020100004239A
ECG lead misplacement detection and correction
US20070232946A1
