CN115120242A - Method for extracting signal from noise by active medical instrument - Google Patents
Method for extracting signal from noise by active medical instrument Download PDFInfo
- Publication number
- CN115120242A CN115120242A CN202210633032.XA CN202210633032A CN115120242A CN 115120242 A CN115120242 A CN 115120242A CN 202210633032 A CN202210633032 A CN 202210633032A CN 115120242 A CN115120242 A CN 115120242A
- Authority
- CN
- China
- Prior art keywords
- noise
- signal
- signals
- data
- sampling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 15
- 238000000605 extraction Methods 0.000 claims abstract description 13
- 238000001914 filtration Methods 0.000 claims abstract description 8
- 238000005070 sampling Methods 0.000 claims description 45
- 230000009191 jumping Effects 0.000 claims description 2
- 239000000284 extract Substances 0.000 abstract description 3
- 230000010354 integration Effects 0.000 description 5
- 238000009825 accumulation Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003183 myoelectrical effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/24—Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7203—Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B15/00—Suppression or limitation of noise or interference
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Surgery (AREA)
- Medical Informatics (AREA)
- Veterinary Medicine (AREA)
- Physics & Mathematics (AREA)
- Public Health (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Animal Behavior & Ethology (AREA)
- Artificial Intelligence (AREA)
- Physiology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Psychiatry (AREA)
- Computer Networks & Wireless Communication (AREA)
- Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
Abstract
The invention provides a method for extracting signals from noise by active medical equipment, which is characterized in that the signals which are collected by the active medical equipment and are doped with noise do not pass through hardware filtering, the digital quantity signals which are doped with noise are directly sent to a data processing module for processing, and the data processing module identifies effective pulse signals in the input digital quantity signals by using an embedded signal extraction algorithm, so that the waveform and parameters of a bioelectric signal after noise is removed are obtained. On the basis of no need of complex hardware filtering, the invention mainly carries out specific algorithm operation on the signal which is sampled by the AD converter and is mixed with noise from a receiving channel through an embedded software algorithm of an MCU in a circuit, and finally obtains all information parameters of the signal. The invention extracts signals from noise without complex active filtering, thereby greatly simplifying the hardware structure of the circuit, saving the hardware cost and simultaneously enabling the circuit to be more stable.
Description
Technical Field
The invention relates to a method for extracting effective signals by eliminating noise in signals obtained by active medical instruments.
Background
Electrocardio and myoelectric parameters are commonly used monitoring parameters in the medical field, and because related original human body bioelectric signals are very weak, voltage signals obtained through electrodes or transducers are often submerged in noise, as shown in fig. 1, the noise is sensed by a circuit or is generated by components. Since the amplitude of noise is not always smaller than that of a signal, it is difficult to distinguish a signal from noise only according to the magnitude of the amplitude. But noise is not superimposed on the signal during the signal generation phase, which is determined by the characteristics of the circuit and the associated devices themselves. How to better extract the bioelectric signal to be detected from the noise is an important performance index of the medical instrument. Traditional medical monitoring equipment usually realizes making an uproar to fall through various hardware filter circuit, often needs multistage filtering and enlargies, and this makes circuit structure become complicated, is unfavorable for the miniaturization of instrument, has also influenced the reliability of circuit and equipment to the cost has been increased to a certain extent.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the traditional medical monitoring equipment usually realizes noise reduction through various hardware filter circuits, so that the cost is increased, and the reliability of the circuits and the equipment is also influenced.
In order to solve the above technical problems, the technical solution of the present invention is to provide a method for extracting a signal from noise by an active medical device, which is characterized in that a signal acquired by the active medical device and doped with noise is not subjected to hardware filtering, but is amplified by a signal amplifier, and then the amplified signal is sampled by an analog-to-digital converter according to a fixed sampling time interval to form a digital quantity signal doped with noise, the digital quantity signal is directly sent to a data processing module for processing, and the data processing module identifies an effective pulse signal in the input digital quantity signal by using an embedded signal extraction algorithm, so as to obtain a waveform and parameters of a bioelectric signal from which noise is removed, wherein the signal extraction algorithm comprises the following steps:
step 1, initializing a data group number n to 1, timing a sampling moment of the analog-digital converter by using a timer, receiving data of each sampling point in sequence by a data processing module according to a time sequence, and entering step 2;
step 2, initializing a counting variable i to 0;
step 3, the data processing module continuously receives K sampling point data from the current moment as nth data, wherein K is more than or equal to 5;
step 4, the data processing module calculates the accumulated value V (n) of the nth data, and compares the absolute value | V (n) | of V (n) with the threshold value VT: if | V (n) | < VT, go to step 8, if | V (n) | ≧ VT, go to step 5;
step 5, if i is i +1, entering step 6;
step 6, if i is equal to 1, the Kxn-A sampling point is the starting point of the effective pulse signal, the sampling time corresponding to the Kxn-A sampling point is obtained as the starting time point of the effective pulse signal, the signal amplitude value of each sampling point is obtained from the Kxn-A sampling point, and the step 7 is entered, wherein A is an adjusting constant; if i is greater than 1, generating an alarm and exiting from a signal extraction algorithm;
step 7, updating the current time to the current time plus K sampling time intervals, wherein n is n +1, and returning to the step 3;
step 8, if i is equal to 1, the Kxn-A sampling point is an end point of the effective pulse signal, the sampling time corresponding to the Kxn-A sampling point is obtained and is used as an end time point of the effective pulse signal, the acquisition of the signal amplitude value of each sampling point starting from the Kxn-A sampling point is stopped, and the step 9 is entered; if i is 0, jumping to step 7; if i is not equal to 1 and i is not equal to 0, generating an alarm and exiting the signal extraction algorithm;
and 9, updating the current time to the current time plus K sampling time intervals, wherein n is n +1, and returning to the step 2.
Preferably, after the data processing module stores the nth data in the memory, the signal extraction algorithm is used to process the nth data, after the processing is completed, the nth data stored in the memory is covered by the (n + 1) th data, and then the signal extraction algorithm is used to process the (n + 1) th data until the data processing module completes the processing of all digital quantity signals sent from the analog-to-digital converter.
The noise makes the pulses with very short duration, the positive and negative polarities of the pulses are approximately equal and distributed more discretely. The waveform of the signal pulse is continuous, so that under the condition of high enough sampling frequency, a considerable part of the noise is sampled to be zero, the positive polarity and the negative polarity of the sampled noise amplitude are approximately equally distributed, a considerable part can be cancelled by accumulation, and the signal has no problem. Therefore, the signal and the noise can be distinguished from each other based on the accumulated value.
On the basis of no need of complex hardware filtering, the invention mainly carries out specific algorithm operation on the signal which is sampled by the AD converter and is mixed with noise from a receiving channel through an embedded software algorithm of an MCU in a circuit, and finally obtains all information parameters of the signal. The invention extracts signals in noise without complex active filtering, can greatly simplify the hardware structure of the circuit, saves the hardware cost and simultaneously ensures that the circuit is more stable.
Drawings
FIG. 1 is a schematic diagram of a bioelectric signal detected by an electrode or transducer of a medical device mixed with noise;
FIG. 2 is a hardware block diagram of the present invention;
FIG. 3 is a flowchart of the MCU embedded program algorithm of the present invention.
Detailed Description
The invention will be further illustrated with reference to the following specific examples. It should be understood that these examples are for illustrative purposes only and are not intended to limit the scope of the present invention. Further, it should be understood that various changes or modifications of the present invention may be made by those skilled in the art after reading the teaching of the present invention, and such equivalents may fall within the scope of the present invention as defined in the appended claims.
As can be seen from fig. 1, the pulse width of the random noise is much smaller than that of the effective signal, and the distribution on the time axis is more discrete. If the valid signal and the noise signal are integrated over the same length of time period intercepted, respectively, the integrated value of the valid signal is much larger than the noise. According to this characteristic, the noisy signal shown in fig. 1 is subjected to integration (accumulation) processing in time sequence by taking 10 sampling points as a group, after taking an absolute value for each group of integrated values, the absolute value is compared with a specific threshold value, if the absolute value is smaller than the threshold value, the noisy signal is considered to be noise, then the integration is continued by taking 10 sampling points as a group, the absolute value is compared with the threshold voltage until a time point when the absolute value of the integration is greater than or equal to the threshold value is found, then the sampling value is considered to be a valid signal, meanwhile, the integration operation is continued, when a certain group of integrated values is smaller than the threshold value again, an end time point of the valid signal is found, and then the noise is received subsequently. If a plurality of pulse signals are received, the above operation process is repeated. Thus, the signal can be extracted from the noise more completely.
As shown in FIG. 2, the input end of the received original bioelectric signal is directly connected with an amplifier, and the amplifier simultaneously amplifies the effective signal and the noise signal in the signal. The output end of the amplifier is connected with the input end of the AD converter, and the AD converter carries out AD conversion on the input signal which is mixed with noise, converts the signal into digital quantity and outputs the digital quantity through the digital output port. And the digital output port of the AD converter is connected with the digital input port of the MCU and outputs the converted digital quantity to the MCU. The MCU receives data through the digital input port and calculates input quantity through a specific algorithm. The method comprises the steps that a timer of the MCU starts timing at a starting time point of receiving input quantity, when a calculation result reaches a signal pulse starting point condition, the current time point is set as the signal pulse starting point, then the input digital quantity is used as amplitude values of different time points of a signal pulse, meanwhile, the input digital quantity is continuously calculated according to a specific algorithm, when the calculation result reaches a signal pulse ending condition, the time point at the moment is used as a signal pulse ending time point, and the following digital input quantity is noise.
The specific algorithm adopted by the MCU is shown in fig. 3, and the MCU performs an integration operation on the input digital quantity, which is actually an accumulation operation on the sampling values of the noise-doped signals sampled by the AD converter at fixed time intervals. In this embodiment, each group of data is accumulated for every 10 sampling points according to the sampling time sequence, and the accumulated value of each group is obtained and the absolute value is taken. The obtained absolute value is compared with the threshold value VT. For example, the accumulated value v (n) of the nth data is compared with the threshold value VT after taking the absolute value, and if | v (n) | < VT, the nth data and the previously obtained data are all considered to be noise values. And taking 10 sampling points after the nth group, performing the operation and the comparison, continuing to perform the operation and the comparison if the sampling points are smaller than the threshold value VT until the kth group of data meet | V (K) | or more VT, and considering that the sampling points start from the 10 XK-4 points and the sampling points after the sampling are pulse signals. While continuing the aforementioned 10-bin accumulation and taking the absolute value. For signals, the accumulated value should not be smaller than VT after taking the absolute value until the accumulated value of the Mth group of data, if | V (M) | < VT is satisfied, it is considered to start from the 10 XM-4 th point, and then noise. That is, the values obtained during the time from the 10 XK-4 time point to the 10 XM-4 time point are the amplitude values of the pulse signal. Thus, there are both the start and end time points of the pulse signal and the signal amplitude value at each sampling time point during the pulse signal duration, so that the waveform and parameters of the bioelectric signal can be obtained.
Each set of 10 data values is to be stored. Since the time points at which the start and end of the signal are judged are delayed from the time points at which the signal actually starts and ends according to the aforementioned method. Once it is detected that the pulse signal has started, each data of the set of data starting from the 6 th point is called for in order to determine the amplitude value of the signal at the 5 th time point before the starting time. Similarly, once the pulse signal is detected to have ended, the actual ending point should be the 5 th time point of the group of data, the sampled values at the following 5 time points are all noise values, and the actual signal should be removed from the 5 values. During the storage process, the latter group of 10 data can overwrite the former group of 10 data, that is, only 10 data storage units are needed, and useful data is not lost. The VT is chosen to ensure that the signal and noise are correctly distinguished, depending on the actual situation.
The invention is used for the electrocardio and myoelectricity tester circuit, is used as a module for reducing noise and improving signal to noise ratio, and is realized by describing a hardware structure and a software algorithm.
Claims (2)
1. A method for extracting signals from noise by active medical instruments is characterized in that the signals which are collected by the active medical instruments and are doped with noise do not pass through hardware filtering, but pass through a signal amplifier to amplify the signals, an analog-to-digital converter samples the amplified signals according to a fixed sampling time interval to form digital quantity signals which are doped with noise, the digital quantity signals are directly sent to a data processing module to be processed, and the data processing module identifies effective pulse signals in the input digital quantity signals by using an embedded signal extraction algorithm so as to obtain waveforms and parameters of bioelectric signals after the noise is removed, wherein the signal extraction algorithm comprises the following steps:
step 1, initializing a data group number n to 1, timing a sampling moment of the analog-digital converter by using a timer, receiving data of each sampling point in sequence by a data processing module according to a time sequence, and entering step 2;
step 2, initializing a counting variable i to 0;
step 3, the data processing module continuously receives K sampling point data from the current moment as nth data, wherein K is more than or equal to 5;
step 4, the data processing module calculates the accumulated value V (n) of the nth data, and compares the absolute value | V (n) | of V (n) with the threshold value VT: if | V (n) | < VT, go to step 8, if | V (n) | ≧ VT, go to step 5;
step 5, if i is i +1, entering step 6;
step 6, if i is equal to 1, the Kxn-A sampling point is the starting point of the effective pulse signal, the sampling time corresponding to the Kxn-A sampling point is obtained as the starting time point of the effective pulse signal, the signal amplitude value of each sampling point is obtained from the Kxn-A sampling point, and the step 7 is entered, wherein A is an adjusting constant; if i is greater than 1, generating an alarm and exiting the signal extraction algorithm;
step 7, updating the current time to the current time plus K sampling time intervals, wherein n is n +1, and returning to the step 3;
step 8, if i is equal to 1, the Kxn-A sampling point is an end point of the effective pulse signal, the sampling time corresponding to the Kxn-A sampling point is obtained as an end time point of the effective pulse signal, the signal amplitude value of each sampling point starting from the Kxn-A sampling point is stopped to be obtained, and the step 9 is entered; if i is equal to 0, jumping to step 7; if i is not equal to 1 and i is not equal to 0, generating an alarm and exiting the signal extraction algorithm;
and 9, updating the current time to the current time plus K sampling time intervals, wherein n is n +1, and returning to the step 2.
2. The method of claim 1, wherein the data processing module stores the nth data in the memory, processes the nth data using the signal extraction algorithm, and after the processing, the nth data stored in the memory is overwritten by the (n + 1) th data, and then the signal extraction algorithm processes the (n + 1) th data until the data processing module completes processing all the digital signals transmitted from the analog-to-digital converter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210633032.XA CN115120242B (en) | 2022-06-07 | Method for extracting signal from noise by active medical instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210633032.XA CN115120242B (en) | 2022-06-07 | Method for extracting signal from noise by active medical instrument |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115120242A true CN115120242A (en) | 2022-09-30 |
CN115120242B CN115120242B (en) | 2024-06-28 |
Family
ID=
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5738104A (en) * | 1995-11-08 | 1998-04-14 | Salutron, Inc. | EKG based heart rate monitor |
US20030091127A1 (en) * | 2001-11-14 | 2003-05-15 | Henrik Jensen | Digital demodulation and applications thereof |
US20070083128A1 (en) * | 2005-10-10 | 2007-04-12 | Wayne Cote | Adaptive real-time line noise suppression for electrical or magnetic physiological signals |
US20110319777A1 (en) * | 2009-03-09 | 2011-12-29 | Council Of Scientific & Industrial Research | Ecg device with impulse and channel switching adc noise filter and error corrector for derived leads |
CN103099615A (en) * | 2013-01-23 | 2013-05-15 | 深圳市理邦精密仪器股份有限公司 | Method and device for eliminating exercise electrocardiosignal interference |
CN108742591A (en) * | 2018-07-25 | 2018-11-06 | 电子科技大学 | A kind of physiology signal harvester with adaptive industrial frequency noise squelch |
CN108964637A (en) * | 2018-05-18 | 2018-12-07 | 成都理工大学 | A kind of superelevation percent of pass current mode digitized pulse processing method based on FPGA |
CN112263249A (en) * | 2019-07-08 | 2021-01-26 | 复旦大学附属中山医院 | ECG-based method and device for enhancing blood oxygen saturation monitoring |
CN114421981A (en) * | 2021-12-14 | 2022-04-29 | 江苏芯云电子科技有限公司 | Pulse noise filtering device and method |
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5738104A (en) * | 1995-11-08 | 1998-04-14 | Salutron, Inc. | EKG based heart rate monitor |
US20030091127A1 (en) * | 2001-11-14 | 2003-05-15 | Henrik Jensen | Digital demodulation and applications thereof |
US20070083128A1 (en) * | 2005-10-10 | 2007-04-12 | Wayne Cote | Adaptive real-time line noise suppression for electrical or magnetic physiological signals |
US20110319777A1 (en) * | 2009-03-09 | 2011-12-29 | Council Of Scientific & Industrial Research | Ecg device with impulse and channel switching adc noise filter and error corrector for derived leads |
CN103099615A (en) * | 2013-01-23 | 2013-05-15 | 深圳市理邦精密仪器股份有限公司 | Method and device for eliminating exercise electrocardiosignal interference |
CN108964637A (en) * | 2018-05-18 | 2018-12-07 | 成都理工大学 | A kind of superelevation percent of pass current mode digitized pulse processing method based on FPGA |
CN108742591A (en) * | 2018-07-25 | 2018-11-06 | 电子科技大学 | A kind of physiology signal harvester with adaptive industrial frequency noise squelch |
CN112263249A (en) * | 2019-07-08 | 2021-01-26 | 复旦大学附属中山医院 | ECG-based method and device for enhancing blood oxygen saturation monitoring |
CN114421981A (en) * | 2021-12-14 | 2022-04-29 | 江苏芯云电子科技有限公司 | Pulse noise filtering device and method |
Non-Patent Citations (2)
Title |
---|
包超;朱宏亮;高志宇;罗庭芳;: "嵌入式数字滤波器在线处理脉冲堆测量脉冲波形信号", 核电子学与探测技术, no. 09, 20 September 2017 (2017-09-20), pages 52 - 56 * |
许中荣;唐炬;张晓星;孙才新;: "应用复小波变换对电力变压器局部放电超高频信号去噪研究", 电力自动化设备, no. 01, 10 January 2008 (2008-01-10), pages 31 - 36 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10327653B2 (en) | Method and apparatus for heart rate monitoring | |
CN102680860B (en) | Automatic fault-point locating method for traveling-wave based fault location of high-voltage electric power lines | |
US6097983A (en) | Cardiac event detecting system for a heart stimulator | |
US4137907A (en) | Systolic pressure determining apparatus and process using integration to determine pulse amplitude | |
JPH0526489B2 (en) | ||
US4573479A (en) | Systems and methods for monitoring the fetal heart | |
WO2016060620A1 (en) | Frame based spike detection module | |
Rieger et al. | An adaptive sampling system for sensor nodes in body area networks | |
JP2001095768A (en) | Automatic detecting and interpretating method and apparatus for electrocardiogram of pace decided by pacemaker | |
EP2752154A1 (en) | Method and system for obtaining physiological signal period | |
CN115120242B (en) | Method for extracting signal from noise by active medical instrument | |
CN115120242A (en) | Method for extracting signal from noise by active medical instrument | |
US7596535B2 (en) | Apparatus for the classification of physiological events | |
CN112741632B (en) | Electrocardiosignal detection method, system, equipment and computer storage medium | |
CN109948223B (en) | Pulse amplitude acquisition method based on Lagrange interpolation | |
CN108490311B (en) | Weak impact signal extraction and separation method based on power frequency sampling | |
EP0329403A2 (en) | Method and apparatus for analysing and reconstructing an analogue signal | |
Sabzevari et al. | An ultra-low-power qrs-detection system based on level-crossing sampling | |
US20040193406A1 (en) | Speech section detection apparatus | |
Tlili et al. | Level-crossing ADC modeling for wireless electrocardiogram signal acquisition system | |
Harris et al. | Pulse-based signal compression for implanted neural recording systems | |
CN104820120A (en) | Method and device for improving signal triggering precision | |
CN106037718A (en) | Wearable electrocardiogram system | |
RU2763480C1 (en) | Speech signal recovery device | |
Beche et al. | Real-time adaptive discrimination threshold estimation for embedded neural signals detection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |