当前位置:网站首页>Digital filter (III) -- Design of analog filter
Digital filter (III) -- Design of analog filter
2022-07-28 17:58:00 【A bone loving cat】
Analog filter design
lead
Digital filter ( One )–IIR And FIR The basic structure and MATLAB Realization
Digital filter ( Two )– Minimum phase delay system and all pass system
Preface
IIR Filtering is also known as infinite unit impulse response filter , The basic structure and MATLAB For implementation, please refer to the first blog in this column : Digital filter ( One )–IIR And FIR The basic structure and MATLAB Realization . IIR The design steps of the filter mainly consist of three major steps shown in the figure below . First, we need to design an analog prototype filter , Then the filter is digitized into the corresponding digital low-pass filter , Then the conversion in the memory digital domain is called the frequency selection filter we want to get ( Lowpass 、 qualcomm 、 Bandpass 、 Band stop ).
Let's talk about it again IIR Advantages and disadvantages of filter :
IIR Advantages of filter
- Analog filters can be used to design , There are a lot of charts for the design of analog filters , Convenient and simple .
IIR Disadvantages of filter
- The phase is nonlinear
- The shock response is infinite , So we can't do fast convolution
- There are stability problems
This blog mainly talks about how to design and implement common analog filters , Butterworth filter and Chebyshev Ⅰ Type a filter .
1. Analog filter system function
The system function of analog filter is commonly used H a ( s ) H_a(s) Ha(s) Express , The response of the analog filter can be H a ( j Ω ) H_a(jΩ) Ha(jΩ) Express , Therefore, the expression of the amplitude square function of the analog filter is :
For real filters , Zero pole at s The plane is Pair In the form of , As shown in the figure below :
Let's take a look s Flat and z The correspondence of planes :

s In plane σ < 0 σ<0 σ<0 The area of corresponds to z Unit circle on plane , Why discuss this relationship ? Because filters must be causal stable systems , Its system function is z The poles of the plane are inside the unit circle , So it corresponds to s Plane , The poles should be distributed in the left half plane . If the minimum phase delay system is required , Then the zeros of the system function should also be distributed in s The left half plane of the plane .
2 Butterworth filter
2.1 Design indicators
First, let's understand the shape of Butterworth filter , As shown in the figure below :
As can be seen from the above figure , Butterworth analog filter has the characteristic of maximum flat amplitude , The stopband changes monotonically . Order N The bigger it is , The curve trembles , The better the filter characteristics .
The design of Butterworth filter needs to consider some indicators ( The indicators correspond to the following figure ):
- N: The order of the filter
- Ω p Ω_p Ωp: Passband cut-off frequency
- Ω c Ω_c Ωc: Filter cutoff frequency , also called 3dB bandwidth , Its corresponding assignment is 1 2 \frac{1}{\sqrt{2}} 21
- Ω s t Ω_st Ωst: Stopband cut-off frequency
- δ p δ_p δp: Passband attenuation ( corrugated )(dB)
- δ s δ_s δs: Stopband attenuation ( corrugated )(dB)

2.2 Design process
- First step : Determine the filter order according to the index requirements N( Rounding up ) And filter cut-off frequency



- The second step : Check the table according to the order , Get the normalized system function H a N ( s ) H_aN(s) HaN(s):

The normalized expression of the system function is :

- The third step : De normalize the system function , Get the final system function :

Now let's experience the process of designing Butterworth filter through an example :


3. Chebyshev Ⅰ Type a filter
3.1 Design indicators
Chebyshev analog filters are divided into Ⅰ The type and Ⅱ Type two , Let's look at the response curves of oneortwo filters .
- Chebyshev Ⅰ type
The amplitude characteristic is equiripple in the passband , Monotonic descent in stopband :
For the order of the filter N, The passband ripple of the filter is different when it is odd and even ,N In an odd number of , Ω = 0 Ω=0 Ω=0 When the amplitude is 1,N For even when , Ω = 0 Ω=0 Ω=0 When the amplitude is 1 1 + ε 2 \frac{1}{\sqrt{1+ε^2}} 1+ε21 - Chebyshev Ⅱ type
The amplitude characteristic is equiripple in the stopband , It is stable in the passband :
This blog post focuses on Chebyshev Ⅰ Type a filter .
Design Bischoff Ⅰ The following indexes need to be considered for type a filter : - N N N: The order of the filter
- Ω c Ω_c Ωc: Passband width
- δ p δ_p δp: Passband attenuation ( corrugated )(dB)
- δ s δ_s δs: Stopband attenuation ( corrugated )(dB)
3.2 Design process
First step : Determine the filter order according to the index requirements
The order of the filter can be determined by the passband 、 Stopband attenuation determination :
Where hyperbolic cosine function a r c c h ( x ) = l n ( x + x 2 − 1 ) arcch(x)=ln(x+\sqrt{x^2-1}) arcch(x)=ln(x+x2−1)The second step : Check the table according to the order and passband ripple
At this time, the cut-off frequency is normalized :
The normalized system function of analog filter can be determined by looking up the table :
Coefficient of d 0 d_0 d0 Can pass H a ( j 0 ) = H a N ( s ) ∣ s = 0 H_a(j0)=H_{aN}(s)|_{s=0} Ha(j0)=HaN(s)∣s=0 determine , When the order N In an odd number of , H a N ( s ) ∣ s = 0 = 1 H_{aN}(s)|_{s=0}=1 HaN(s)∣s=0=1, When the order N For even when , H a N ( s ) ∣ s = 0 = 1 1 + ε 2 H_{aN}(s)|_{s=0}=\frac{1}{\sqrt{1+ε^2}} HaN(s)∣s=0=1+ε21, The parameter ε ε ε You can use the formula : ε 2 = 1 0 0.1 δ p − 1 ε^2=10^{0.1δ_p}-1 ε2=100.1δp−1 To make sure .The third step : De normalize the system function , Get the final system function

Now let's experience the design of Chebyshev through an example Ⅰ Type filter process :

边栏推荐
- Openmv (II) -- ide installation and firmware download
- Tips--SCI论文写作中的小技巧
- Complete MySQL interview questions (updated in succession)
- Openpcd installation process record
- [unity] how to play sprite Jiugongge?
- 封装、继承、多态
- Branch and loop statements
- Leetcode systematic question brushing (4) -- hash table and string
- OpenMV(二)--IDE安装与固件下载
- [C language note sharing] character function and string function (recommended Collection)
猜你喜欢
![[advanced C language] - Advanced pointer [i]](/img/62/d3410a61b931177fc02c1801489b5a.png)
[advanced C language] - Advanced pointer [i]

数字滤波器(一)--IIR与FIR的基本结构与MATLAB实现

uniapp本地打包权限配置问题

Connect other computers to local MySQL

IDEA报错Error running ‘Application‘ Command line is too long解决方案

OpenMV(四)--STM32实现特征检测

方法、函数

有奖征文 | 2022 云原生编程挑战赛征稿活动开启!

Openpcd installation process record

Openmv (V) -- STM32 to realize face recognition
随机推荐
视频号一场书法直播近20万人观看
视频关联商品销量提升88%
MySQL installation
Collection集合
How to install PS filter plug-in
【Unity】三张图让你看懂ShaderGraph编辑器
【Unity】Sprite九宫格到底怎么玩?
视频号运营有这个工具就够了
TensorFlow2.0(十二)--实现简单RNN与LSTM网络
abstract、static、final
1.2-进制转换
怎样将IDEA与码云进行绑定
公众号和视频号互相绑定带来的功能
[advanced C language] - analyze the storage of micro data in memory [2] (floating point storage)
Electrotechnics self study notes 1.20
Mmdetection3d (3) -- network output
OpenMV(六)--STM32实现物体识别与手写数字识别
视频号从每周2-3场到每天3场
【Unity】Timeline学习笔记(七):自定义片段(Clip)
2.1-运算符