0 Introduction
Adaptive filters have been widely used in various fields such as channel equalization, echo cancellation, system identification, spectrum estimation, etc. Adaptive filtering based on subband decomposition improves convergence performance while saving a certain amount of calculation. Adaptive filtering based on subband decomposition is to first decompose the input signal and the reference signal through the decomposition filter group, extract, subband adaptive filtering, interpolate, and obtain the output signal through the synthesis filter group. Advantages of adaptive filters based on subband decomposition:
(1) Due to the extraction of the signal, the amount of calculation required to complete the adaptive filtering is reduced;
(2) Adaptive filtering in sub-bands improves convergence performance.
1 Adaptive filter structure based on subband decomposition
The time domain structure of the adaptive filtering based on subband decomposition is shown in Figure 1. The input signal x(n) and the reference signal d(n) are decomposed and extracted in subbands, and adaptive filtering is performed on the subbands. Then, the estimated signals y0(n) and y1(n) on the subbands are interpolated and synthesized by the filter group to obtain the final synthetic signal. Among them, the filters W00(n) and W11(n) are adaptive filters on two subbands, while W01(n) and W10(n) represent inter-subband adaptive filters. This is because the filter groups are all FIR filters, which cannot have the ideal characteristics of sharp cutoff, and can only exchange approximate characteristics at the cost of length; at this time, the subband signals obtained under strict sampling must have aliasing, and inter-subband filtering needs to be added to eliminate its influence. The subband adaptive filter here adopts an adaptive filter based on the NLMS algorithm. Compared with the NLMS algorithm and the LMS algorithm. Although the amount of calculation is slightly increased, the convergence speed of the adaptive filter can be greatly improved.
2 Design of Dual-Channel Filter Bank
The relationship between the analysis and synthesis filters used in this paper is as follows:
H1(z)=H0(-z), G1(z)=-2H0(-z), G0(z)=2H1(-z). From the above expressions, we can see that the key to design is to design H0(z). As long as H0(z) is determined, H1(z), G0(z), and G1(z) can also be determined. This paper adopts the equiripple approximation design method to design the filter. The filter designed by this method exhibits equiripple frequency response characteristics. The filter designed by the equiripple approximation design method has the following advantages:
(1) Since the error is evenly distributed over the entire frequency band, the best filtering characteristics can be obtained for a fixed order N;
(2) The passband is the flattest and the stopband has the minimum attenuation and the maximum attenuation.
Matlab integrates a powerful filter design tool FDATOOL, which can complete the design, analysis and performance evaluation of various filters. The frequency characteristic curves of the four FIR filters used in the FPGA hardware implementation part of this article are shown in Figure 2.
[page]
3 System Modeling and Simulation
DSP Builder is a system-level tool for DSP development launched by Altera. It is a Simulink toolbox (ToolBox) of Matlab. As a toolbox in Simulink, DSP Builder enables FPGA to be used to design DSP system through Simulink graphical interface. It only needs to call the modules in DSP Builder toolbox.
The block diagram of the adaptive filter module based on subband decomposition in Figure 3 is composed of analysis filter subsystems h00, h01, h10, h11, synthesis filter subsystems g00, g01, extraction, interpolation, addition, subtraction, adaptive filter and other modules. h00 and h10 are completely identical low-pass filters, and h01 and h11 are completely identical high-pass filters. The amplitude-frequency characteristic curves of h00, h01, g00, g01 are shown in Figure 2. h00 corresponds to h0 in Figure 2, h01 corresponds to h1 in the figure, g00 corresponds to g0 in the figure, and g01 corresponds to g1 in the figure. Subsystem1, Subsystem2, Subsystem3, Subsystem4 are adaptive filters. The order of the adaptive filters of Subsystem2 and Subsystem3 is 1/20 of the order of Subsystem1 and Subsystem4. The expected signal is provided by the sine wave1 module, and the input signal is composed of the superposition of Sine wave2 and Random Bitstream. The modules required by the system are all directly called modules in DSP builder. Subystem2 is a 7th-order NLMS algorithm adaptive filter, and its block diagram is shown in Figure 4. If you want to increase the convergence speed, you can add delay modules, adaptive subsystem modules, and adder modules, but it will consume more hardware resources.
The adaptive filter module is mainly composed of a delay unit, a weight update subsystem, an adder module, and a multiplier module. It performs adaptive filtering on the extracted signal. [page]
The unit impulse response of the FIR filter is of finite length, and its z transform is . The analysis and synthesis filter system is mainly composed of delay units, adders, and adder modules. The analysis and synthesis filters cannot have the ideal characteristics of sharp cutoff, and must be approximated by increasing the order. The analysis filter subsystems h00, h01, h10, h11, and the synthesis filter subsystems g00 and g01 all adopt cross-sectional structures.
The weight update subsystem module is mainly composed of multipliers, dividers, adders, delay units, bus type conversion modules, etc. This subsystem mainly completes the weight update of the filter. w(k+1)=w(k)+μ/γ+xT(k)x(k)e(k)x(k) operation and wi(k)xi(k) operation.
4 Simulation
Matlab's Simulink environment has a powerful graphical simulation verification function. After designing a new model with the DSP Builder module, you can directly perform algorithm-level and system-level simulation verification in Simulink. The Simulink simulation of this design is shown in Figure 6. The output signal contains burrs, which means that there is still a certain steady-state error between the output signal and the expected signal. You can increase the order of the filter or modify the step size control parameter μ to achieve better results.
Running Signal Complier can convert the module file (.mdl) passed by Simulink into a VHDL file passed by the hardware description language; running Testbench (test platform) can convert Sine wavel, Sinewavel+noise, and Clock into test files for the HDL simulator ModelSim. As shown in Figure 7, the output signal Sine out gradually tends to be stable and approaches the expected signal sine wavel, so the design result meets the requirements and can realize the adaptive process.
5 Conclusion
This article only designs the FPGA implementation of two sub-band adaptive filters from the hardware perspective. Due to the non-ideal characteristics of the decomposition filter bank, it is necessary to adopt inter-sub-band filtering, which can greatly improve the convergence speed. The design and research process of the sub-band adaptive filter is relatively complicated. Here we explain the main design research ideas. In view of the relatively small order of the adaptive filter in the design, it has a certain impact on the steady-state error of the adaptive filter. By increasing the order of the adaptive filter, analyzing and synthesizing the order of the filter and the number of bits of data, the accuracy can be improved.
Previous article:Design of real-time image test device based on LVDS technology
Next article:How to use FPGA to verify the schematic diagram of the prototype board
Recommended ReadingLatest update time:2024-11-16 19:37
- Popular Resources
- Popular amplifiers
- Analysis and Implementation of MAC Protocol for Wireless Sensor Networks (by Yang Zhijun, Xie Xianjie, and Ding Hongwei)
- MATLAB and FPGA implementation of wireless communication
- Intelligent computing systems (Chen Yunji, Li Ling, Li Wei, Guo Qi, Du Zidong)
- Summary of non-synthesizable statements in FPGA
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Don't understand antennas? Check this out
- FAQ_How to determine the phase of the output PWM signal in BlueNRG-12
- Tsinghua University professor Wang Zhihua: The demand for integrated circuit talents will increase 4.5 times by 2025 compared with 2020
- Why is the ADS of some MCU's display-related pins analog and DIR input?
- Open source Tinygo releases version 0.70
- Find a high quality coulomb counter
- First look at TMS320C5410
- [Mill MYB-YT507 development board trial experience] + build QT development environment and test, the most detailed steps to solve all troubles
- [Repost] Advantages and process of dry etching
- Microphone noise problem