Figure 4 Analog Filter Design
Take the
block for analog filter simulation
from
Signal Processing Blockset\ Filtering\Filter Designs\ Analog Filter
Design
Define Main properties for low
pass Butterworth filter:
To generate
a harmonic signal use Signal
Generator block
from Simulink\Sources Library. Open Signal
Generator
block parameters and define the following parameters
Type of the
harmonic signal is given below by y.
a)
Generate a signal that has the following form
y=K0·2·sinω+noise,
where the sine wave frequency
is equal to ω=20 rad/sec. Apply the filtering via Butterworth
filter.
b)
Generate a signal than involves a low period and high period
components, respectively. Hence, the signal y
takes
the following form
y=K0··(2·sinω1+2·
sinω2),
with ω1=20
rad/sec and ω2=80
rad/sec.
Apply the
simulation according to individual variants (see Table 3):
Butterworth approximation, cut-off frequency ωс;
gain K0.
Set
the simulation time to 5.
Table 3
Initial data for analog filter design
-
Varian
|
1
|
2
|
3
|
4
|
5
|
6
|
ωс,
rad/sec
|
30
|
30
|
30
|
30
|
30
|
30
|
K0
|
1
|
2
|
3
|
4
|
5
|
6
|