Professional Documents
Culture Documents
Demo Program For Frequency Sampling FIR Filter Design Method
Demo Program For Frequency Sampling FIR Filter Design Method
Abstract - Demo programs that illustrate concepts with learning, validation, and research in engineering education
visual aids have become one of the more important tools [5]-[8].
in the field of engineering education. They help students The experience in the National Institute INAOE shows that
learn faster, remember longer, and identify the the development and usage of software educational tools
fundamental concepts better. Demo programs are represents an effective teaching approach and can increase
especially beneficial in terms of saving time and effort for students’ attention, motivation, and efficiency in learning.
both teaching and learning. To this end a demo program To be effective, software tools must have desirable
for teaching Frequency Sampling Finite Impulse characteristics including repeatability, capacity to motivate
Response design method is developed. In particular, a students, interactivity, versatility, easy to use etc. An
frequency sampling design of a differentiator using comb attractive MATLAB demo program to visualize and to better
and resonator filters is demonstrated. The program is understand the procedure for the Design of Frequency
implemented in MATLAB using tool makeshow, which Sampling of Finite Impulse Response Filter, is developed.
has several favorable characteristics. It is demonstrated, MATLAB platform is chosen because it is the tool of choice
step by step, how the initial comb characteristic is being for most educational and research purposes and it provides
changed by introducing the corresponding second order powerful computation and advanced visualization tools.
resonators. All the steps are demonstrated in z-plane and
in the frequency domain. Finally, all steps are presented FREQUENCY SAMPLING METHOD
together in the same slide and the obtained differentiator The goal of the proposed procedure is to design an FIR
characteristic is compared with the desired (Finite Impulse Response) filter, whose magnitude response
characteristic. The program can be used as a
complement to theoretical classes on the fundamentals of H (e jω ) exactly matches the desired arbitrary shaped
digital signal processing at the graduate level. The
student validation of the program is also included. magnitude response H D (e jω ) at N equally spaced points
over the range 0 ≤ ω < 2π , [9]
Index Terms – Comb filter, Demo program, Frequency
sampling, MATLAB, Resonator. H (e jω k ) = H D (e jω k ) , k = 0,..., N − 1 , (1)
MOTIVATION where
2πk
Many of the engineering lecture courses are taught using a ωk = . (2)
traditional method i.e., only with the support of a blackboard N
or transparencies. As a result, “most of the learning in The system function of the filter H(z) can be implemented as
traditional teaching is individual, since the students in the a comb filter
classrooms are taking notes or listening instead of 1 − z−N
participating “ [1]. It is well known that passive learners lose H COMB ( z ) = , (3)
attention quickly in lectures and tutorials, and after 20
N
minutes in lecture student attention level reduces to one third
cascaded with N complex first–order resonators those are
its initial level [2]. The availability of personal computers
connected in parallel,
(PCs), their increasing calculation power, and their enhanced
graphical possibilities enable teachers to take the advantage
N −1
H D ( e jω k )
H RES ( z ) = ∑
of the pedagogical possibilities afforded by new
jω k −1
, (4)
technologies [3] and to transform the passive learners into
k =0 1 − e z
active participants in the learning process.
Computer-aided learning has become an important
yielding
educational research activity in various engineering
disciplines [4]. Many computer packages developed to assist H ( z ) = H COMB ( z ) H RES ( z ) . (5)
learning, are very helpful in different aspects of teaching,
Evaluation form 1:
1. Justification for the computer use in teaching
Frequency Sampling Method. (1=unjustified;
4=absolutely justified).
2. Contribution to study of the filter design by demo
program use. (1=irrelevant; 4= very effective).
3. Clarity of explanations and features of demo.
Fig.7. Resulting magnitude response for k=1, 2, 3, and k=8, 7, 6. (1=confusing; 4=absolutely clear).
4. Did this demo help you to understand better the
Frequency Sampling Method? (1=NO;
4=Absolutely YES).
5. Did this demo help you to better understand the
cancellation of comb zeros by the resonator poles?
(1=NO; 4=Absolutely YES).
Evaluation form 2:
ACKNOWLEDGMENT
This work is supported by CONACYT Mexico.