CN106874872B - Power frequency noise filtering device and method - Google Patents

Power frequency noise filtering device and method Download PDF

Info

Publication number
CN106874872B
CN106874872B CN201710082475.3A CN201710082475A CN106874872B CN 106874872 B CN106874872 B CN 106874872B CN 201710082475 A CN201710082475 A CN 201710082475A CN 106874872 B CN106874872 B CN 106874872B
Authority
CN
China
Prior art keywords
frequency
waveform
signal
preset
electric signal
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.)
Active
Application number
CN201710082475.3A
Other languages
Chinese (zh)
Other versions
CN106874872A (en
Inventor
朱涛
罗伟
张玮
李毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Zoncare Bio Medical Electronics Co ltd
Original Assignee
Wuhan Zoncare Bio Medical Electronics Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Zoncare Bio Medical Electronics Co ltd filed Critical Wuhan Zoncare Bio Medical Electronics Co ltd
Priority to CN201710082475.3A priority Critical patent/CN106874872B/en
Publication of CN106874872A publication Critical patent/CN106874872A/en
Application granted granted Critical
Publication of CN106874872B publication Critical patent/CN106874872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention provides a power frequency noise filtering device and method, and relates to the field of signal processing. The power frequency noise filtering device and the method firstly convert the waveform of the electric signal in a time domain to obtain the waveform of the electric signal in a frequency domain, and then search a frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain in a preset first frequency range; the frequency value corresponding to the maximum amplitude value is the frequency value of the power frequency noise signal, and a filter for filtering the electric signal associated with the frequency value corresponding to the maximum amplitude value is designed in real time at the moment; and finally, controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value. When the frequency of the power frequency noise signal drifts, the power frequency noise filtering device and the method can adaptively, more accurately and effectively filter the drifted power frequency noise signal.

Description

Power frequency noise filtering device and method
Technical Field
The invention relates to the field of signal processing, in particular to a power frequency noise filtering device and method.
Background
An Electrocardiograph (ECG) signal is one of the bioelectric signals which are first studied and applied in clinical medicine by human beings, reflects the electrical changes of the heart in the processes of excitation generation, conduction and recovery, is an objective representation of the electrical activity of the heart, reflects the working state of the heart on different levels, and has a very important reference value for clinical diagnosis and treatment of heart diseases. The electrocardiosignal is a weak bioelectric signal, has an amplitude of millivolts (mV), and is easily influenced by the external environment. In the process of electrocardiographic recording, the physical activity, respiration, various communication devices and the like of a recorded person can generate large interference on the recording process, and the interference has a great influence on the correctness of signal detection. The power frequency noise is interference generated by a charged system, and the presented form is similar to a sine wave appearing on a pure electrocardiosignal and a waveform similar to the sine wave. This type of noise is typically 50Hz or 60Hz and is not high in amplitude, around 50% of the highest amplitude of the electrocardiogram signal. In the application of electrocardiosignal processing, the power frequency noise is one of the main interference noises suffered by the electrocardiosignals.
In the prior art, methods for removing power frequency noise are many, for example, a fixed-sampling narrow-band wave trap (mainly including IIR filtering and FIR filtering) filters power frequency interference of 50Hz or 60Hz based on a least square method. Although the self-adaptive filtering method cannot influence the electrocardiosignal per se and can track the frequency of power frequency interference to a certain extent, the fluctuation of the power frequency interference can reach +/-3% of the main frequency, the power frequency noise of the electrocardiosignal can drift after a period of time, and for a fixed narrow-band wave trap, when the power frequency noise drifts after a period of time, the effectiveness and the accuracy of filtering the power frequency noise become low, and the maximum filtering gain can not be obtained or even filtering can not be performed.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide an apparatus and a method for filtering power frequency noise to improve the above problem.
In a first aspect, an embodiment of the present invention provides a power frequency noise filtering apparatus, where the power frequency noise filtering apparatus includes:
the signal receiving and transmitting unit is used for receiving the waveform of the electric signal sent by the signal acquisition module in a time domain;
the signal conversion unit is used for converting the waveform of the electric signal in the time domain so as to obtain the waveform of the electric signal in the frequency domain;
the searching unit is used for searching a frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain in a preset first frequency range;
a filter design unit for designing a filter for filtering the electrical signal associated with the frequency value corresponding to said maximum amplitude value;
and the filtering control unit is used for controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value.
In a second aspect, an embodiment of the present invention further provides a power frequency noise filtering method, where the power frequency noise filtering method includes:
receiving the waveform of an electric signal sent by a signal acquisition module in a time domain;
converting the waveform of the electric signal in the time domain to obtain the waveform of the electric signal in the frequency domain;
searching a frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain in a preset first frequency range;
designing a filter for filtering the electrical signal associated with the frequency value corresponding to said maximum amplitude value;
and controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value.
Compared with the prior art, the power frequency noise filtering device and the method provided by the invention have the advantages that firstly, the waveform of the electric signal in the frequency domain is obtained by converting the waveform of the electric signal in the time domain, and then the frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain is searched in the preset first frequency range; the frequency value corresponding to the maximum amplitude value is the frequency value of the power frequency noise signal, and a filter for filtering the electric signal associated with the frequency value corresponding to the maximum amplitude value is designed in real time at the moment; and finally, controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value. When the frequency of the power frequency noise signal drifts, the power frequency noise filtering device and the method can adaptively, more accurately and effectively filter the drifted power frequency noise signal.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a block diagram of a server according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a functional unit of the power frequency noise filtering apparatus according to the embodiment of the present invention;
fig. 3 is a flowchart of a power frequency noise filtering method according to an embodiment of the present invention;
fig. 4 is a time domain waveform diagram and a frequency domain waveform diagram of the electrocardiographic signal before filtering according to the embodiment of the present invention (where the power frequency noise is 47 HZ);
FIG. 5 is a time domain waveform diagram and a frequency domain waveform diagram of an electrocardiosignal with a power frequency noise of 47HZ filtered by a 50HZ filter according to the prior art;
fig. 6 is a time domain waveform diagram and a frequency domain waveform diagram of an electrocardiographic signal with power frequency noise of 47HZ filtered by a 47HZ filter according to the prior art.
Icon: 100-power frequency noise filtering device; 200-a server; 101-a memory; 102-a memory controller; 103-a processor; 104-peripheral interfaces; 201-a signal transceiving unit; 202-a signal conversion unit; 203-a lookup unit; 204-a filter design unit; 205-a filtering control unit; 206-judging unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of functional modules of a power frequency noise filtering apparatus 100 according to the present invention. The server 200 on which the power frequency noise filtering apparatus 100 is installed includes a memory 101, a memory controller 102, a processor 103, and a peripheral interface 104.
The memory 101, the memory controller 102, the processor 103, and the peripheral interface 104 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The power frequency noise filtering apparatus 100 includes at least one software functional module which can be stored in the memory 101 in the form of software or firmware (firmware) or is fixed in an Operating System (OS) of the local terminal device. The processor 103 is configured to execute an executable module stored in the memory 101, such as a software functional module or a computer program included in the power frequency noise filtering apparatus 100.
The Memory 101 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 101 is configured to store a program, and the processor 103 executes the program after receiving an execution instruction, and the method executed by the server defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 103, or implemented by the processor 103.
The processor 103 may be an integrated circuit chip having signal processing capabilities. The Processor 103 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor 103 may be any conventional processor or the like.
The peripheral interface 104 couples various input/output devices to the processor 103 as well as to the memory 101. In some embodiments, the peripheral interface 104, the processor 103, and the memory controller 102 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
Referring to fig. 2, an embodiment of the invention provides a power frequency noise filtering apparatus 100, where the power frequency noise filtering apparatus 100 includes a signal transceiving unit 201, a signal converting unit 202, a searching unit 203, a filter designing unit 204, a filtering control unit 205, and a determining unit 206.
The signal transceiver unit 201 is configured to receive a waveform of an electrical signal sent by a signal acquisition module in a time domain.
In this embodiment, the electrical signal is an electrocardiographic signal of a human body, and certainly, the electrical signal may also be other types of electrical signals suitable for power frequency filtering, which is not limited herein. In this embodiment, the signal acquisition module is an electrocardiographic signal acquisition module, the electrocardiographic signal acquisition module includes an electrocardiographic lead electrode, an electrocardiographic analog signal conditioning circuit, an analog-to-digital conversion circuit, a single chip microcomputer circuit, and a signal transmission module, the electrocardiographic signal detected by the lead electrode is subjected to signal processing by the electrocardiographic analog signal conditioning circuit, is converted into a digital signal by the analog-to-digital conversion circuit, enters the single chip microcomputer by a serial bus, performs lead operation on the digitized electrocardiographic signal in the single chip microcomputer, and the signal transmission module transmits the electrocardiographic signal after the lead operation to the signal transceiving unit 201.
The signal conversion unit 202 is configured to convert the waveform of the electrical signal in the time domain, so as to obtain the waveform of the electrical signal in the frequency domain.
Specifically, the signal conversion unit 202 is configured to perform fast fourier transform or hilbert transform on the electrical signal to obtain a waveform of the electrical signal in a frequency domain.
For example, let the waveform of the electrocardiographic signal in the time domain be X (t), and perform Fast Fourier Transform (FFT) on the electrocardiographic signal to obtain a waveform Y (W) of the electrocardiographic signal in the frequency domain, where Y (W) is FFT (X (t)). And in the process of acquiring the waveform of the electric signal in the frequency domain, the waveform of the electric signal in the time domain is reserved.
The searching unit 203 is configured to search, within a preset first frequency range, a frequency value corresponding to a maximum amplitude of a waveform of the electrical signal within a frequency domain.
In this embodiment, the first frequency range is [47Hz, 53Hz ] or [56Hz, 64Hz ], where [47Hz, 53Hz ] is a frequency range associated when the frequency of the power frequency noise is 50Hz, [56Hz, 64Hz ] is a frequency range associated when the frequency of the power frequency noise is 50Hz, and a frequency value corresponding to the maximum amplitude is a frequency value corresponding to the power frequency noise.
The filter design unit 204 is configured to design a filter for filtering the electrical signal associated with the frequency value corresponding to the maximum amplitude value.
In particular, in this embodiment, the filter may adopt an infinite impulse response trap or a non-recursive filter or a trap based on a pole-zero distribution. Specifically, when the filter employs an infinite impulse response trap, the bandwidth of the infinite impulse response trap may be, but is not limited to, 0.4Hz, and the filter order may be set, but is not limited to, 2 nd order.
The filtering control unit 205 is configured to control the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude.
The signal conversion unit 202 is further configured to convert the waveform of the filtered electrical signal in the time domain, so as to obtain the waveform of the filtered electrical signal in the frequency domain.
The determining unit 206 is configured to determine whether the filtered electrical signal meets a preset standard according to a waveform of the filtered electrical signal in the frequency domain.
Specifically, the determining unit 206 is configured to determine whether a ratio of the signal energy of the frequency segment in the preset first frequency range to the signal energy of the frequency segment in the preset second frequency range is greater than a preset first threshold.
When the ratio of the signal energy of the frequency segment in the preset first frequency range to the signal energy of the frequency segment in the preset second frequency range is greater than the preset first threshold, the signal quality is good, otherwise, the signal quality is poor. Wherein the first frequency range belongs to the second frequency range, for example, when the first frequency range is [47Hz, 53Hz ], the preset second frequency range can be, but is not limited to, [45Hz, 55Hz ], as long as the preset second frequency range is greater than the first frequency range; when the first frequency range is [57Hz, 63Hz ], the preset second frequency range may be, but is not limited to, [55Hz, 65Hz ], as long as the preset second frequency range is larger than the first frequency range. In this embodiment, the first threshold may be 60%, but is not limited to 60%, for example, the first threshold may be between 57% and 63%, and is preferably 60%.
The searching unit 203 is further configured to search, again within a preset first frequency range, a frequency value corresponding to the maximum amplitude of the waveform of the electrical signal in the frequency domain if the filtered electrical signal is lower than a preset standard.
When the electric signal is poor, the filtering needs to be carried out again to ensure that the quality of the electric signal keeps a good state.
Specifically, the searching unit 203 is further configured to search, again in the preset first frequency range, a frequency value corresponding to the maximum amplitude of the waveform of the electrical signal in the frequency domain, if the ratio of the signal energy of the frequency segment in the preset first frequency range to the signal energy of the frequency segment in the preset second frequency range is greater than the preset first threshold.
Through the tests of the inventor, when the power frequency noise filtering device is used for simulation, 47Hz power frequency noise is respectively added into the same electrocardiosignal, the time domain waveform and the frequency domain waveform of the electrocardiosignal before filtering are shown in figure 4, and the electrocardiosignal is respectively subjected to fast Fourier transform. If the frequency of the wave trap is set to be 50Hz by using the fixed frequency in the prior art, the test result only filters the power frequency noise of 50Hz, but the power frequency signal of 47Hz is not filtered, so the waveform of the filtered electrocardiosignal is as shown in fig. 5, that is, the wave trap of the fixed frequency cannot track the change drift of the power frequency noise, and the power frequency noise after the drift cannot be filtered.
In contrast, as shown in fig. 6, the power frequency noise filtering apparatus 100 can adaptively track power frequency noise of 47Hz and filter the power frequency noise, and has a significant effect and high stability.
Referring to fig. 3, an embodiment of the present invention further provides a power frequency noise filtering method, and it should be noted that the basic principle and the generated technical effect of the power frequency noise filtering method provided in this embodiment are the same as those of the above embodiment, and for brief description, corresponding contents in the above embodiment may be referred to for parts not mentioned in this embodiment. The power frequency noise filtering method comprises the following steps:
step S301: and receiving the waveform of the electric signal sent by the signal acquisition module in a time domain.
It is understood that step S301 is performed by the signal transceiving unit 201.
Step S302: and converting the waveform of the electric signal in the time domain so as to obtain the waveform of the electric signal in the frequency domain.
It is understood that step S302 is performed by the signal conversion unit 202.
Specifically, the electrical signal may be subjected to a fast fourier transform or a hilbert transform, and a waveform of the electrical signal in a frequency domain may be acquired.
Step S303: and searching a frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain in a preset first frequency range.
It is understood that step S303 is performed by the lookup unit 203.
Step S304: a filter designed to filter the electric signal associated with the frequency value corresponding to said maximum amplitude value.
It is understood that step S304 is performed by the filter design unit 204.
Step S305: and controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value.
It is understood that step S305 is performed by the filter control unit 205.
In particular, the filter may employ an infinite impulse response trap or a non-recursive filter or a trap based on a pole-zero distribution.
Step S306: and converting the waveform of the filtered electric signal in the time domain, thereby obtaining the waveform of the filtered electric signal in the frequency domain.
It is understood that step S306 is performed by the signal conversion unit 202.
Step S307: judging whether the filtered electric signal meets a preset standard or not according to the waveform of the filtered electric signal in the frequency domain, and if so, ending the process; if not, step S303 is re-executed.
Specifically, as shown in fig. 4, step S307 includes determining whether a ratio of signal energy of a frequency segment in the preset first frequency range to signal energy of a frequency segment in the preset second frequency range is greater than a preset first threshold, and if not, re-executing step S303.
It is understood that step S307 is performed by the determination unit 206.
In summary, the power frequency noise filtering apparatus and method provided by the present invention first obtain the waveform of the electrical signal in the frequency domain by converting the waveform of the electrical signal in the time domain, and then search for the frequency value corresponding to the maximum amplitude of the waveform of the electrical signal in the frequency domain within the preset first frequency range; the frequency value corresponding to the maximum amplitude value is the frequency value of the power frequency noise signal, and a filter for filtering the electric signal associated with the frequency value corresponding to the maximum amplitude value is designed in real time at the moment; and finally, controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value. When the frequency of the power frequency noise signal drifts, the power frequency noise filtering device and the method can adaptively, more accurately and effectively filter the drifted power frequency noise signal.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. The utility model provides a power frequency noise filtering device which characterized in that, power frequency noise filtering device includes:
the signal receiving and transmitting unit is used for receiving the waveform of the electric signal sent by the signal acquisition module in a time domain;
the signal conversion unit is used for converting the waveform of the electric signal in the time domain so as to obtain the waveform of the electric signal in the frequency domain;
the searching unit is used for searching a frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain in a preset first frequency range;
a filter design unit for designing a filter for filtering the electrical signal associated with the frequency value corresponding to said maximum amplitude value;
the filtering control unit is used for controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value;
the searching unit is further configured to convert a waveform of the filtered electrical signal in a time domain, so as to obtain a waveform of the filtered electrical signal in a frequency domain;
the power frequency noise filtering device further comprises:
the judging unit is used for judging whether the quality of the filtered electric signal meets a preset standard or not according to the waveform of the filtered electric signal in the frequency domain;
the searching unit is further configured to search, again within a preset first frequency range, a frequency value corresponding to a maximum amplitude of a waveform of the electrical signal within the frequency domain, if the quality of the filtered electrical signal is lower than a preset standard.
2. The power frequency noise filtering apparatus according to claim 1, wherein the determining unit is configured to determine whether a ratio of signal energy of a frequency segment in the preset first frequency range to signal energy of a frequency segment in a preset second frequency range is greater than a preset first threshold, where the first frequency range belongs to the second frequency range;
the searching unit is further configured to search again, within the preset first frequency range, for a frequency value corresponding to the maximum amplitude of the waveform of the electrical signal within the frequency domain, if the ratio of the signal energy of the frequency segment within the preset first frequency range to the signal energy of the frequency segment within the preset second frequency range is greater than the preset first threshold value.
3. The power frequency noise filtering apparatus according to claim 1, wherein the signal conversion unit is configured to perform fast fourier transform or hilbert transform on the electrical signal to obtain a waveform of the electrical signal in a frequency domain.
4. The power frequency noise filtering apparatus according to claim 1, wherein the filter is an infinite impulse response trap or a non-recursive filter or a trap based on a pole-zero distribution.
5. A power frequency noise filtering method is characterized by comprising the following steps:
receiving the waveform of an electric signal sent by a signal acquisition module in a time domain;
converting the waveform of the electric signal in the time domain to obtain the waveform of the electric signal in the frequency domain;
searching a frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain in a preset first frequency range;
designing a filter for filtering the electrical signal associated with the frequency value corresponding to said maximum amplitude value;
controlling the filter to filter the power frequency noise signal associated with the frequency value corresponding to the maximum amplitude value;
converting the waveform of the filtered electric signal in a time domain to obtain the waveform of the filtered electric signal in a frequency domain;
judging whether the filtered electric signal meets a preset standard or not according to the waveform of the filtered electric signal in the frequency domain;
if the filtered electric signal is lower than the preset standard, searching the frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain again in the preset first frequency range.
6. The power frequency noise filtering method according to claim 5, wherein the step of determining whether the filtered electrical signal meets a preset criterion comprises: judging whether the ratio of the signal energy of the frequency segment in the preset first frequency range to the signal energy of the frequency segment in the preset second frequency range is greater than a preset first threshold value or not, wherein the first frequency range belongs to the second frequency range;
if the filtered electric signal is lower than the preset standard, the step of converting the waveform of the electric signal in the time domain again to obtain the waveform of the electric signal in the frequency domain comprises: if the ratio of the signal energy of the frequency segment in the preset first frequency range to the signal energy of the frequency segment in the preset second frequency range is greater than the preset first threshold, searching the frequency value corresponding to the maximum amplitude of the waveform of the electric signal in the frequency domain again in the preset first frequency range.
7. The power frequency noise filtering method according to claim 5, wherein the step of converting the waveform of the electrical signal in the time domain to obtain the waveform of the electrical signal in the frequency domain comprises:
and carrying out fast Fourier transform or Hilbert transform on the electric signal to acquire the waveform of the electric signal in a frequency domain.
8. The power frequency noise filtering method according to claim 5, wherein the filter is an infinite impulse response trap or a non-recursive filter or a trap based on a pole-zero distribution.
CN201710082475.3A 2017-02-16 2017-02-16 Power frequency noise filtering device and method Active CN106874872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710082475.3A CN106874872B (en) 2017-02-16 2017-02-16 Power frequency noise filtering device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710082475.3A CN106874872B (en) 2017-02-16 2017-02-16 Power frequency noise filtering device and method

Publications (2)

Publication Number Publication Date
CN106874872A CN106874872A (en) 2017-06-20
CN106874872B true CN106874872B (en) 2020-05-19

Family

ID=59166110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710082475.3A Active CN106874872B (en) 2017-02-16 2017-02-16 Power frequency noise filtering device and method

Country Status (1)

Country Link
CN (1) CN106874872B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111525932B (en) * 2019-02-02 2022-02-11 南充鑫源通讯技术有限公司 Frequency identification method and filtering method of power frequency signal and microwave sensor
CN111880022B (en) * 2020-06-12 2023-11-07 广东机电职业技术学院 Power frequency interference elimination method, system, device and storage medium
CN112951262B (en) * 2021-02-24 2023-03-10 北京小米松果电子有限公司 Audio recording method and device, electronic equipment and storage medium
WO2022183326A1 (en) * 2021-03-01 2022-09-09 深圳市大疆创新科技有限公司 Filtering method and apparatus, movable platform, and storage medium
CN113534092B (en) * 2021-07-22 2024-08-13 宁波隔空智能科技有限公司 Microwave radar power frequency filtering device and method
CN114812780B (en) * 2022-05-18 2024-09-10 南京麦澜德医疗科技股份有限公司 Self-adaptive parameter filtering and weighing fault self-detection system and method
CN116148779B (en) * 2023-04-19 2023-08-25 隔空(上海)智能科技有限公司 Power frequency filtering method, system, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102539527A (en) * 2010-12-27 2012-07-04 湖北省电力试验研究院 GIS (gas insulated substation) partial discharge mode identification method based on ultrasonic testing
CN102645549A (en) * 2012-04-25 2012-08-22 浙江大学城市学院 Direct current motor rotate speed detector based on FFT (Fast Fourier Transform Algorithm) and detection method of direct current motor rotate speed detector
CN103033481A (en) * 2012-12-21 2013-04-10 重庆川仪自动化股份有限公司 FFT-based second harmonic filtering method for laser analyzer

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6853933B2 (en) * 2002-02-26 2005-02-08 Tektronix, Inc. Method of identifying spectral impulses for Rj Dj separation
CN104237737A (en) * 2014-05-31 2014-12-24 三科电器集团有限公司 Fault arc frequency domain detection device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102539527A (en) * 2010-12-27 2012-07-04 湖北省电力试验研究院 GIS (gas insulated substation) partial discharge mode identification method based on ultrasonic testing
CN102645549A (en) * 2012-04-25 2012-08-22 浙江大学城市学院 Direct current motor rotate speed detector based on FFT (Fast Fourier Transform Algorithm) and detection method of direct current motor rotate speed detector
CN103033481A (en) * 2012-12-21 2013-04-10 重庆川仪自动化股份有限公司 FFT-based second harmonic filtering method for laser analyzer

Also Published As

Publication number Publication date
CN106874872A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106874872B (en) Power frequency noise filtering device and method
Wang et al. Adaptive Fourier decomposition based ECG denoising
CN109864705B (en) Method and device for filtering pulse wave and computer equipment
CN108324271B (en) Electrocardiosignal identification method and system and electrocardiosignal monitoring equipment
Leite et al. Heartbeat classification with low computational cost using Hjorth parameters
Patro et al. De-noising of ECG raw signal by cascaded window based digital filters configuration
CN104382618A (en) Denoising method based on fetal heart rate detection and fetal heart rate detector
CN108937920B (en) Ventricular fibrillation signal detection method and system and ventricular fibrillation detection device
Aravind Kumar et al. Efficient FPGA‐based VLSI architecture for detecting R‐peaks in electrocardiogram signal by combining Shannon energy with Hilbert transform
Raeiatibanadkooki et al. Real time processing and transferring ECG signal by a mobile phone
KR101977745B1 (en) Method and apparatus for classifying cardiac arrhythmia
Crema et al. Efficient R-peak detection algorithm for real-time analysis of ECG in portable devices
Ghahjaverestan et al. Switching Kalman filter based methods for apnea bradycardia detection from ECG signals
Bhogeshwar et al. To verify and compare denoising of ECG signal using various denoising algorithms of IIR and FIR filters
Risman et al. FPGA design and implementation of Electrocardiogram biomedical embedded system
CN115969398B (en) Blink detection method and device
Kavya et al. Wearable advanced single chip ECG telemonitoring system using SoPC
Alfarhan et al. Wireless heart abnormality monitoring kit based on Raspberry Pi
Dliou et al. Time-frequency analysis of a noised ECG signals using empirical mode decomposition and Choi-Williams techniques
CN108937925A (en) A kind of method, apparatus, equipment and the storage medium of evoked brain potential signal extraction
JP6706996B2 (en) Biological signal processing device, abnormality determination method and program
Agrawal et al. FPGA-based peak detection of ECG signal using histogram approach
Maheshwari et al. Methodology for automated detection of fragmentation in QRS complex of Standard 12-lead ECG
Adib et al. ECG beat classification using discrete wavelet coefficients
Nandhini et al. An Improved Approach of DWT and ANC Algorithm for Removal of ECG Artifacts

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
GR01 Patent grant