CN107359867A - A kind of sef-adapting filter - Google Patents

A kind of sef-adapting filter Download PDF

Info

Publication number
CN107359867A
CN107359867A CN201710539226.2A CN201710539226A CN107359867A CN 107359867 A CN107359867 A CN 107359867A CN 201710539226 A CN201710539226 A CN 201710539226A CN 107359867 A CN107359867 A CN 107359867A
Authority
CN
China
Prior art keywords
data
module
sef
filtering
filter
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.)
Pending
Application number
CN201710539226.2A
Other languages
Chinese (zh)
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.)
Huazhong University of Science and Technology
Ezhou Institute of Industrial Technology Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Ezhou Institute of Industrial Technology Huazhong University of Science and Technology
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 Huazhong University of Science and Technology, Ezhou Institute of Industrial Technology Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201710539226.2A priority Critical patent/CN107359867A/en
Publication of CN107359867A publication Critical patent/CN107359867A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H21/00Adaptive networks
    • H03H21/0012Digital adaptive filters
    • H03H21/0043Adaptive algorithms

Abstract

The invention discloses a kind of sef-adapting filter and method, its wave filter includes data input module, filtration module, parameter update module and control module;Data input module, filtration module, parameter update module and control module are connected on signal bus;Data input module has the data-interface for being used for receiving external data, and data input module and parameter update module are respectively provided with the clock interface for incoming clock signal;Data input module is used to gathering and storing the data received;Filtration module is used to carry out convolutional calculation to the data of storage, realizes adaptive-filtering;Parameter update module is used for after each filtering terminates the renewal for carrying out filter factor;Control module is used for the beginning or stopping for controlling adaptive-filtering process;The present invention uses digital circuit sef-adapting filter, can be very good to solve the problems, such as to realize that the adaptive-filtering cycle is long and power consumption is big using software.

Description

A kind of sef-adapting filter
Technical field
The invention belongs to technical field of integrated circuits, more particularly, to a kind of sef-adapting filter.
Background technology
The manifestation mode of signal often has uncertainty, and all signals are attained by with relatively good filtering in order to reach Effect, there has been proposed the concept of adaptive-filtering.The sixties, the U.S. B.Windrow and Hoff first proposed main application In the adaptive filter algorithm of Stochastic signal processing, so as to establish the development of sef-adapting filter.So-called sef-adapting filter, The results such as the acquired filter parameter of previous moment are utilized, the filter parameter of current moment are automatically regulated, to adapt to letter Number with noise is unknown or the statistical property that changes over time, so as to realize optimal filter.
Adaptive Signal Processing is mainly that research structure is variable or adjustable system, and it can pass through itself and extraneous ring Border is contacted to improve itself performance to signal transacting.Usual this kind of system is the nonlinear system of time-varying, can be fitted automatically The environment of induction signal transmission and requirement, without the structure and practical intelligence for knowing signal in detail, without careful design processing system Itself.The nonlinear characteristic of Adaptable System is mainly the adjustment for realizing inherent parameters to different signal environments by system Lai really Fixed.The time-varying characteristics of Adaptable System are mainly to be determined by its automated response or adaptive learning process, when adaptive When answering the process to terminate no longer to carry out with system, there is a kind of Adaptable System to turn into linear system, and referred to as linear adaption system System, this kind of system are easy to design and be easy to Mathematical treatment, and practical application is extensive.The application field of Adaptive Signal Processing includes logical Letter, radar, sonar, seismology, navigation system, biomedicine and Industry Control etc..
During existing sef-adapting filter is realized, due to being related to substantial amounts of loop iteration, in disappearing for time It is all bigger in consumption and in the consumption of power.
The content of the invention
For the disadvantages described above or Improvement requirement of prior art, the invention provides a kind of sef-adapting filter, its purpose It is the processing speed for improving sef-adapting filter, reduces the resource shared by its implementation process.
To achieve the above object, according to one aspect of the present invention, there is provided a kind of sef-adapting filter, including data are defeated Enter module, filtration module, parameter update module and control module;
Wherein, data input module, filtration module, parameter update module and control module are connected on signal bus; Data input module has the data-interface for being used for receiving external data, and data input module and parameter update module are respectively provided with use In the clock interface of incoming clock signal;
Wherein, data input module is used to gathering and storing the data received;Filtration module is used for the data to storage Convolutional calculation is carried out, realizes adaptive-filtering;Parameter update module is used to carry out filter factor more after each filtering terminates Newly;Control module is used to control the beginning of adaptive-filtering process, stopped.
Preferably, there is built-in SRAM to store what is received for above-mentioned sef-adapting filter, its data input module Data;In the control module by the way of finite state machine;If the data amount check of collection is N, state machine cycles operation N It is secondary, to reduce the time of State Transferring, it can effectively reduce power consumption and the operation time of sef-adapting filter.
Preferably, above-mentioned sef-adapting filter, by data input module according to default value order and valued space The value from SRAM (Static Random Access Memory, static RAM), by the data x (n) of taking-up The filter factor w (n) set with parameter update module is according to formula xT(n) × w (n) is multiplied, by the filtering data of acquisition that is multiplied It is stored in SRAM memory space.
Preferably, above-mentioned sef-adapting filter, using 1024 × 8 SRAM, to realize 8 rank filter modes.
Preferably, above-mentioned sef-adapting filter, the acquisition of each filtering data need 10 clock cycle, and therein 9 The individual clock cycle is used for fetch evidence and computing, and 1 cycle carries out data storage.
It is another aspect of this invention to provide that a kind of method of adaptive-filtering is provided based on above-mentioned sef-adapting filter, Comprise the following steps:
S01, by the data storage received and Data expansion is carried out, to prevent stop signal data during filtering operation There is boundary effect;
S02, data are taken out from data space according to default value length and carry out convolution algorithm with filter factor, Obtained data are stored in the address space in data space since 0;
S03, by the use of the difference of ideal signal and a convolution signal as references object, filter factor w (n) is carried out more Newly;
S04, by compare convolution number t and collection data volume N whether terminate to judge once completely to filter, work as t Then terminate more than N, otherwise into step S02.
In general, by the contemplated above technical scheme of the present invention compared with prior art, due to that can obtain down Row beneficial effect:
Sef-adapting filter provided by the invention does not need the filter factor of known fixed, can be by certainly in filtering Learn to obtain the renewal of filter factor, reach good filter effect;The present invention is realized adaptive using the method for digital circuit Wave filter is answered, in the control module by the way of finite state machine, reduces the time of State Transferring, then add hardware circuit sheet The characteristics of body, it can effectively reduce power consumption and the operation time of sef-adapting filter.
Brief description of the drawings
Fig. 1 is the functional block diagram of the hardware circuit for the sef-adapting filter that embodiment provides;
Fig. 2 is the principle schematic for the sef-adapting filter that embodiment provides;
Fig. 3 is the flow chart for the adaptive filter method that embodiment provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.As long as in addition, technical characteristic involved in each embodiment of invention described below Conflict can is not formed each other to be mutually combined.
Sef-adapting filter provided by the invention, the sef-adapting filter using digital circuit, is solved well Existing adaptive-filtering is long and the problem of power consumption is big using software performance period.
The sef-adapting filter that embodiment provides, its system block diagram is as shown in figure 1, including data input module, filtering mould Block, parameter update module and control module;Wherein, data input module, filtration module, parameter update module and control mould Block is connected on signal bus;Data input module, which has, is used to receiving the data-interface of external data, data input module and Parameter update module is respectively provided with the clock interface for incoming clock signal;
Wherein, data input module is used to gathering and storing the data received;
Filtration module is used to carry out convolutional calculation to the data of storage, realizes adaptive-filtering;
Parameter update module is used for after each filtering terminates the renewal for carrying out filter factor;
Control module is used to control the beginning of adaptive-filtering process, stopped;
In the present embodiment, the data received are stored in the SRAM of one 1024 × 8 built in data input module;Controlling In molding block by the way of finite state machine, the data for starting collection are N, then state machine cycles operation n times, to reduce state The time of conversion, it can effectively reduce power consumption and the operation time of sef-adapting filter.
The principle for the sef-adapting filter that the present embodiment provides by data input module according to default as shown in Fig. 2 taken Value order and valued space value from SRAM;In the present embodiment, 8 data are once taken, the filtering system with parameter update module It is multiplied after number is corresponding, obtains filtering data and be stored in corresponding SRAM memory space.
It is the flow for the method that this sef-adapting filter provided based on embodiment realizes adaptive-filtering shown in Fig. 3 Figure, this method specifically comprise the following steps:
S01, be sef-adapting filter the data initialization stage;Initial data is deposited by way of writing SRAM first Storage in sram, is prepared for follow-up adaptive-filtering;According to the demand of reality, N number of original data are stored in;
S02, carry out Data expansion to storing initial data in sram, to prevent stop signal data filtering operation mistake Occurs boundary effect in journey;Specific method be the read-write in appropriate address space is carried out to SRAM come complete data forward backward Extension;
S03, carry out convolution algorithm;Because embodiment provides the sef-adapting filter of 8 ranks, each filtering data Acquisition is all with being obtained after the corresponding convolution algorithm of filter factor progress by 8 initial data;Concrete implementation method is Once access section is 0~7, and address is updated after data are taken and ensures that the address space that takes next time is 1~8, with This analogizes;And ensure that take out data is alignd with corresponding filter factor using the count modes counted, and carry out convolution fortune Calculate, obtained data are stored in the address space since 0;
The filter factor of adaptive-filtering is updated after the completion of S04, each convolution algorithm;Specifically utilize preferable letter Number with the difference of a convolution signal as references object, filter factor is updated according to the following formula:
Wherein, d (n) is ideal signal, and x (n) is the initial data taken out, and u is step factor, and w (n) is previous filtering Coefficient, w (n+1) are the filter factors after renewal, and e (n) is references object.
S05, by by convolution number t and collection data volume N relatively whether terminate to judge once completely to filter, when T then terminates more than N, otherwise into step S03.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to The limitation present invention, all any modification, equivalent and improvement made within the spirit and principles of the invention etc., all should be included Within protection scope of the present invention.

Claims (6)

  1. A kind of 1. sef-adapting filter, it is characterised in that including data input module, filtration module, parameter update module and Control module;
    The data input module, filtration module, parameter update module and control module are connected on signal bus;Data are defeated Entering module has the data-interface for being used for receiving external data, and data input module and parameter update module are respectively provided with for accessing The clock interface of clock signal;
    The data input module is used to gathering and storing the data received;Filtration module is used to roll up the data of storage Product calculates;Parameter update module is used for after each filtering terminates the renewal for carrying out filter factor;Control module is used to control certainly The beginning or stopping of adaptive filtering process.
  2. 2. sef-adapting filter as claimed in claim 1, it is characterised in that the data input module has built-in SRAM To store the data received;In the control module by the way of finite state machine, if the data amount check of collection is N, shape State machine circular flow n times, to reduce the time of State Transferring.
  3. 3. sef-adapting filter as claimed in claim 1 or 2, it is characterised in that taken by data input module according to default Value order and valued space value from SRAM, the filter factor w (n) that the data x (n) of taking-up and parameter update module are set According to formula xT(n) × w (n) is multiplied, and will be multiplied in the filtering data deposit SRAM obtained memory space.
  4. 4. sef-adapting filter as claimed in claim 3, it is characterised in that using 1024 × 8 SRAM, to realize that 8 ranks are filtered Ripple device pattern.
  5. 5. sef-adapting filter as claimed in claim 4, it is characterised in that the acquisition of each filtering data needs 10 clocks Cycle, 9 clock cycle therein are used for fetch evidence and computing, and 1 cycle carries out data storage.
  6. A kind of 6. method of adaptive-filtering, it is characterised in that comprise the following steps:
    S01, by the data storage received and Data expansion is carried out, occurred to prevent stop signal data during filtering operation Boundary effect;
    S02, data are taken out from data space according to default value length and carry out convolution algorithm with filter factor, will Address space in the data deposit data space arrived since 0;
    S03, by the use of the difference of ideal signal and a convolution signal as references object, filter factor w (n) is updated;
    S04, by compare convolution number t and collection data volume N whether terminate to judge once completely to filter, when t is more than N Then terminate, otherwise into step S02.
CN201710539226.2A 2017-07-04 2017-07-04 A kind of sef-adapting filter Pending CN107359867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710539226.2A CN107359867A (en) 2017-07-04 2017-07-04 A kind of sef-adapting filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710539226.2A CN107359867A (en) 2017-07-04 2017-07-04 A kind of sef-adapting filter

Publications (1)

Publication Number Publication Date
CN107359867A true CN107359867A (en) 2017-11-17

Family

ID=60292965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710539226.2A Pending CN107359867A (en) 2017-07-04 2017-07-04 A kind of sef-adapting filter

Country Status (1)

Country Link
CN (1) CN107359867A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494774A (en) * 2008-01-23 2009-07-29 厦门华侨电子股份有限公司 Non-compression high definition video signal wireless transmission method based on wavelet conversion characteristics
US20120284318A1 (en) * 2011-05-02 2012-11-08 Saankhya Labs Private Limited Digital Filter Implementation for Exploiting Statistical Properties of Signal and Coefficients
CN103399304A (en) * 2013-07-22 2013-11-20 西安电子科技大学 Field programmable gate array (FPGA) implementation equipment and method for self-adaptive clutter suppression of external radiation source radar
CN104038181A (en) * 2014-06-05 2014-09-10 北京航空航天大学 Self-adapting filter construction method based on NLMS algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494774A (en) * 2008-01-23 2009-07-29 厦门华侨电子股份有限公司 Non-compression high definition video signal wireless transmission method based on wavelet conversion characteristics
US20120284318A1 (en) * 2011-05-02 2012-11-08 Saankhya Labs Private Limited Digital Filter Implementation for Exploiting Statistical Properties of Signal and Coefficients
CN103399304A (en) * 2013-07-22 2013-11-20 西安电子科技大学 Field programmable gate array (FPGA) implementation equipment and method for self-adaptive clutter suppression of external radiation source radar
CN104038181A (en) * 2014-06-05 2014-09-10 北京航空航天大学 Self-adapting filter construction method based on NLMS algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
汤霞清 等: "基于FPGA的光纤陀螺自适应LMS滤波算法研究", 《计算机测量与控制》 *
郭业才 等: "基于FPGA的自适应均衡器设计与实现", 《安徽理工大学学报(自然科学版)》 *

Similar Documents

Publication Publication Date Title
CN103970718B (en) Device and method is realized in a kind of fast Fourier transform
CN109523020A (en) A kind of arithmetic unit and method
CN103748576B (en) Adaptive equalizer
CN109754359A (en) A kind of method and system that the pondization applied to convolutional neural networks is handled
CN111626405B (en) CNN acceleration method, acceleration device and computer readable storage medium
CN104268122A (en) Point-changeable floating point FFT (fast Fourier transform) processor
CN111786865B (en) Data processing method and equipment
CN104579240B (en) A kind of wave filter, electronic equipment and the filtering method of the configurable coefficient based on FPGA
US20220253668A1 (en) Data processing method and device, storage medium and electronic device
CN112905530A (en) On-chip architecture, pooled computational accelerator array, unit and control method
CN106486110B (en) It is a kind of to support voice real-time decomposition/synthesis gamma bandpass filter group chip system
CN111210004A (en) Convolution calculation method, convolution calculation device and terminal equipment
CN103544111B (en) A kind of hybrid base FFT method based on real-time process
CN107359867A (en) A kind of sef-adapting filter
CN203617974U (en) Configurable coefficient filter and electronic device based on FPGA
CN111178513B (en) Convolution implementation method and device of neural network and terminal equipment
CN117217274A (en) Vector processor, neural network accelerator, chip and electronic equipment
CN100518043C (en) A frequency domain filter and method for implementing frequency domain filter
CN102810087B (en) Device for realizing Fourier transform
CN112101553B (en) Network structure searching method and device, equipment and storage medium
CN113128688B (en) General AI parallel reasoning acceleration structure and reasoning equipment
CN104202018B (en) The method and apparatus for determining the stable factor of sef-adapting filter
CN102694962A (en) Noise reduction method and apparatus
CN113128673A (en) Data processing method, storage medium, neural network processor and electronic device
CN103490855A (en) Information transmission method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171117