The Design of Experimental Teaching System for Digital Signal Processing Based on GUI

Similar documents
Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

Experiment 4- Finite Impulse Response Filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

F I R Filter (Finite Impulse Response)

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

4. Design of Discrete-Time Filters

Simulation and Fault Detection for Aircraft IDG System

Design and Implementation of Digital Signal Transmission Performance Analyzer Based on FPGA

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Simulation Based Design Analysis of an Adjustable Window Function

Design of FIR Filters

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

A Comparative Performance Analysis of High Pass Filter Using Bartlett Hanning And Blackman Harris Windows

Oluwole Oyetoke 1, 2 Dr. O.E Agboje. Covenant University, Ota, Nigeria

Simulation of Lightning Protection for Composite Civil Aircrafts

Spectrum and Energy Distribution Characteristic of Electromagnetic Emission Signals during Fracture of Coal

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Available online at ScienceDirect. Procedia Engineering 100 (2015 )

EE 422G - Signals and Systems Laboratory

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques

EEM478-WEEK8 Finite Impulse Response (FIR) Filters


Digital Filters FIR and IIR Systems

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

The Research and Design of An Interpolation Filter Used in an Audio DAC

Design and Implementation of an Audio Classification System Based on SVM

Introduction to Simulink

Design of CMOS Instrumentation Amplifier

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

A High Definition Motion JPEG Encoder Based on Epuma Platform

FIR FILTER DESIGN USING A NEW WINDOW FUNCTION

Design of Experimental Platform for Intelligent Car. , Heyan Wang

Keyword ( FIR filter, program counter, memory controller, memory modules SRAM & ROM, multiplier, accumulator and stack pointer )

DECIMATION FILTER FOR MULTISTANDARD WIRELESS RECEIVER SHEETAL S.SHENDE

Multirate DSP, part 1: Upsampling and downsampling

Research on Flicker Measurement Algorithm Based on FFT

Performance Analysis on frequency response of Finite Impulse Response Filter

Performance Analysis of FIR Digital Filter Design Technique and Implementation

Gibb s Phenomenon Analysis on FIR Filter using Window Techniques

Suppression of Peak Noise Caused by Time Delay of the Anti- Noise Source

Acoustic spectra for radio DAB and FM, comparison time windows Leszek Gorzelnik

Teaching Distance Relay Using Matlab/Simulink Graphical User Interface

Study on Repetitive PID Control of Linear Motor in Wafer Stage of Lithography

ASN Filter Designer Professional/Lite Getting Started Guide

Laboratory Experiment #1 Introduction to Spectral Analysis

Final Exam Practice Questions for Music 421, with Solutions

FIR Filter Design using Different Window Techniques

International Journal of Digital Application & Contemporary research Website: (Volume 2, Issue 6, January 2014)

Study on Reactive Automatic Compensation System Design

Application of Fourier Transform in Signal Processing

Signal Analysis and Processing Platform Based on LabVIEW

Keywords FIR lowpass filter, transition bandwidth, sampling frequency, window length, filter order, and stopband attenuation.

Implementation of QAM Modulation Demodulation Based on. Simulink

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

Innovating Method of Existing Mechanical Product Based on TRIZ Theory

COMPARISON OF VARIOUS FILTERING TECHNIQUES USED FOR REMOVING HIGH FREQUENCY NOISE IN ECG SIGNAL

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Digital Filtering: Realization

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

Discrete Fourier Transform (DFT)

Design Digital Non-Recursive FIR Filter by Using Exponential Window

A Lower Transition Width FIR Filter & its Noise Removal Performance on an ECG Signal

Study on Measuring Microfiber Diameter in Melt-blown WebBased on Image Analysis

ECE 421 Introduction to Signal Processing

Based on the ARM and PID Control Free Pendulum Balance System

Lab 0: Introduction to TIMS AND MATLAB

DFT: Discrete Fourier Transform & Linear Signal Processing

Frequency-Response Masking FIR Filters

Aparna Tiwari, Vandana Thakre, Karuna Markam Deptt. Of ECE,M.I.T.S. Gwalior, M.P, India

Department of Electrical and Electronics Engineering Institute of Technology, Korba Chhattisgarh, India

ISDS210A ISDS210B. Multi VirAnalyzer. InstruStar Electronic Technology

Experiments #6. Convolution and Linear Time Invariant Systems

Noise Removal of Spaceborne SAR Image Based on the FIR Digital Filter

ELEC3104: Digital Signal Processing Session 1, 2013

Exploring DSP Performance

Research on Harmonic Suppression in Power System Based on Improved Adaptive Filter

Modelling and Simulation of PQ Disturbance Based on Matlab

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

Dipti Rathore 1, Anjali Gupta 2, Sumit Chakravorty 3, Pranay Kumar Rahi 4 1, 2, 3. IJRASET: All Rights are Reserved

LabVIEW Basics Peter Avitabile,Jeffrey Hodgkins Mechanical Engineering Department University of Massachusetts Lowell

Digital Filter Design using MATLAB

The design & calculation for hydraulic cylinder of workpiece hydraulic clamping system of a special CNC machine for guide disc

Improving ECG Signal using Nuttall Window-Based FIR Filter

Optimal FIR filters Analysis using Matlab

Building Energy Optimization Tools and Their Applicability in Architectural Conceptual Design Stage

A CMOS Visual Sensing System for Welding Control and Information Acquirement in SMAW Process

A Learning System for a Computational Science Related Topic

Integrated Image Processing Functions using MATLAB GUI

2) How fast can we implement these in a system

A Comparative Study on Direct form -1, Broadcast and Fine grain structure of FIR digital filter

Memorial University of Newfoundland Faculty of Engineering and Applied Science. Lab Manual

Available online at ScienceDirect. Anugerah Firdauzi*, Kiki Wirianto, Muhammad Arijal, Trio Adiono

Departmentof Electrical & Electronics Engineering, Institute of Technology Korba Chhattisgarh, India

Design of the Chaotic Signal Generator Based on LABVIEW

Hybrid Simulation of ±500 kv HVDC Power Transmission Project Based on Advanced Digital Power System Simulator

Transcription:

Available online at www.sciencedirect.com Procedia Engineering 29 (2012) 290 294 2012 International Workshop on Information and Electronics Engineering (IWIEE 2012) The Design of Experimental Teaching System for Digital Signal Processing Based on GUI Jianhua Song a*, Guoqiang Wang b,yong Zhu b, a School of Electronic Engineering, Heilongjiang University, Harbin,150080, China b Key Laboratory of Electronics Engineering, College of Heilongjiang Province,, Harbin, 150080,China Abstract An experimental teaching system of digital signal processing was designed based on GUI with MATLAB, the experimental system has friendly interface and the operation is simple, some basic concepts and theories of the course can be represented by figures or curves, the basic principles and analytic methods of digital signal processing are understood much easier. It achieved the good result in practical teaching. 2011 Published by Elsevier Ltd. Selection and/or peer-review under responsibility of Harbin University of Science and Technology Open access under CC BY-NC-ND license. Keywords: digital signal processing, GUI, experimental teaching system, MATLAB; 1. Introduction Digital signal processing is a higher theoretical course. In the practical teaching process, teachers are generally more focus on the important basic concepts and theories to explain the derivation of the algorithm, which students feel difficult to understand and accept. Experiments help students understand the curriculum, and put some abstract theory concrete. The students can analyze and look at problems with an intuitional point of view. Therefore, how to establish a good experimental system is critical to student learning [1-2]. MATLAB as a full-featured scientific computing software provides powerful graphical user interface (GUI) function. The so-called GUI that is the user window consists of the window, icon, menu, the mouse pointer, and many other elements, users can is easy to realize some specific functions through clicking or * Corresponding author. Tel.: +86-013766869791 E-mail address: 98dg_sjh@163.com. 1877-7058 2011 Published by Elsevier Ltd. Open access under CC BY-NC-ND license. doi:10.1016/j.proeng.2011.12.709

Jianhua Song et al. / Procedia Engineering 29 (2012) 290 294 291 selecting these elements [3-5]. In this paper, MATLAB as a development platform, an experimental teaching system for digital signal processing based on GUI was exploited and designed, this system uses interactive graphics interface, not only for experimental teaching can also be used to assist in theory teaching, which possess visualization, easy operation and reliable. Practical applications show that at a certain extent the experimental system improves the effectiveness of teaching. 2. Design steps of experimental teaching system In order to achieve the experiment teaching system, it mainly includes the following steps: To determine the experimental projects and content of digital signal processing. To design the static experimental interface with GUIDE tool, including the various projects and the layout of the controls. First, we designed the boot interface of whole experimental system, and then made the main-interface of each experiment and various sub-interface of specific experiments in digital signal processing course, at the meantime, define the functions of each control. To develop each specific teaching experiment by using MATLAB programming. To write callback functions of the GUI controls to achieve dynamic functions. The data input and output can be controlled through directly clicking each control of the interface, and the data and graphics of experimental results can be easily read and analyzed also. To debug the overall system and further improve its function. 3. Implementation of Experimental Teaching System 3.1. Overall design of the experimental system System architecture of the experimental system was shown in Fig. 1. Man-machine interface includes the main-interface of experimental system, the interfaces of each experiment project and the subinterfaces of achieving specific experiment operations. Fig. 1. System architecture If students want to enter the experimental system, they first need to login through the main-interface shown in Fig. 2. The system designed a total of four experimental projects combining the actual teaching. By using the system, students not only can understand the purpose of experiment, experimental principles, experimental procedures, experimental content and the corresponding experimental conclusions, but they can also see the graphical results when clicking on the corresponding control. In this paper, experiment 4 as an example to explain.

292 Jianhua Song et al. / Procedia Engineering 29 (2012) 290 294 3.2. Concrete realization of the experimental system Fig. 2. The main-interface of experimental system The users click on an experimental project in the main-interface of experimental system, the GUI interface of this experiment will be opened. For example, clicking on the experiment 4, we will be able to enter the FIR digital filter design experiment, experimental interface was shown in Fig. 3. Fig. 3. GUI of experimental 4 Fig. 4. Experiment 4-1 To achieve the specific function of each control, the user must program callback procedure of the control. Right-click the controls of GUI design panel and clicking View Callbacks option in the pop-up menu, the user may choose a way to activate the callback procedures. For example, Callback tag means to activate callback procedure and complete certain functions, open the MATLAB to generate m-files automatically, and the system will automatically generate the following statements: function Tag_name Callback (hobject, eventdata, handles), which Tag_name is the control object's Tag property value, the user can write callback procedure of the current control after the statement. After callback function was edited, the user can click on Run option of Tools menu to run the program and observe the final result. Experiment 4 includes 3 sub-experiments: the characteristics of linear-phase FIR digital filter, window function and its spectrum and using window function design FIR digital filter. The user can choose each sub-test item by clicking the Pop-up Menu.

Jianhua Song et al. / Procedia Engineering 29 (2012) 290 294 293 3.2.1. Tthe characteristics of linear-phase FIR digital filter As FIR digital filter is all-zero system, its impulse response is finite-duration and easy to achieve some sort of symmetry, which obtain linear-phase [6]. Experiment 4-1 GUI was shown in Fig. 4. There are two Pop-up Menu controls in GUI of experiment 4-1, where the users can choose the types of h(n) and N. We placed an Edit Text control under Pop-up Menu control, users can enter their own unit impulse sequence h(n). When users click one of four Push Button controls of drawing category, the corresponding experimental result will be displayed in four Axes control. For example, h(n) was even symmetry, N was odd, unit impulse response h(n)=[-4,2,-1,-2,5,6,5,-2,-1,2,-4], the experimental results were shown in Fig.4. 3.2.2. Window function and its Spectrum Impulse response h d (n) of ideal filter H d (e jω ) is generally infinite-duration and non-causal, it can not directly as the impulse response of FIR digital filter. To obtain a causal finite-duration impulse response h(n), the most direct method is to cut h d (n), that is, h d (n) is truncated to finite-duration causal sequence h(n), the general approach is to adopt window function, h(n)= h d (n)w(n), in which w(n) is window function [7]. Experiments 4-2 was shown in Fig. 5, in the Pop-up Menu controls of the interface, the user can choose five commonly used window function, that is, rectangular window, Bartlett window (also known as triangular window), Hanning window, Hamming window and Blackman window. The users can be free to enter the window length N, when clicking the drawing button, the corresponding time-domain waveform and normalized logarithmic amplitude-frequency characteristic curve of window function will be displayed in two Axes controls. For example, window function was selected Blackman window, window length N=23, the resulting waveforms were shown in Fig. 5. Fig. 5. Experiment 4-2 Fig. 6. Experimental 4-3 3.2.3. Window Design Techniques Experiment 4-3 is the main part of Experiment 4, through the experiment students should grasp the main: (1) The specific steps of FIR filter design using window function; (2) How to choose a reasonable window function according to the given specifications; (3) The relations of window functions and filter performance. The interface of experiment 4-3 was shown in Fig. 6, the users can choose filter type from three Popup Menu controls in the control panel, respectively: digital low-pass, digital high-pass, digital band-pass

294 Jianhua Song et al. / Procedia Engineering 29 (2012) 290 294 and digital high-pass, window function type: rectangular window, Bartlett window, Hanning window, Hamming window and Blackman window, and response type: ideal impulse response h d (n), time-domain waveform of window function w(n), impulse response h(n) and normalized logarithmic amplitudefrequency characteristic curve. For example, to design a digital low-pass filter, passband cutoff frequency ω p =0.2π, stopband cutoff frequency ω r =0.4π, stopband minimum attenuation is allowed to 50dB, since Hamming window and Blackman window provide greater than 50dB attenuation, Hamming window was selected, which provides a smaller transition zone, and has a smaller order number N. When clicking the drawing Push button, the result was shown in Fig. 6, order number N=34 was displayed in MATLAB command window. FIR filter design is very abstract concept for students, after the experimental system integrated into the classroom, teachers can immediately design a digital filter according to practical requirements, in addition, design parameters can also be modified freely. Students may observe the changes of the filter with the changes in technical specifications, and the relations of window functions and filter performance and so on. 4. Conclusion MATLAB GUI design tool is development environment, which can quickly produce a variety of graphical objects, and it can help users easily design all kinds of man-machine interface. In this paper, an experimental teaching system for digital signal processing based on GUI was designed. The system is friendly interface and convenient to operate, which some emphasis and difficulty of digital signal processing course were displayed with text, graphics and other forms, it is easy to understand some of the basic principles and methods of signal processing theory. The system not only enhances the efficiency of teaching, but also it can help to further improve the quality of teaching. Acknowledgement This work is supported by 2011 higher education teaching reform project in Heilongjiang province and teaching reform project of Heilongjiang University (No. 2011C068). References [1] Y. Y. Shen, The Comprehensive Experimental Design of Digital Signal Processing Based on Matlab, Reseach and Exploration in Laboratory, 2009, 28(8): 60-61. [2] P. Han, X. Li, Demonstration system design and realization for digital signal processing course, Experimental Technology and Management, 2006, 23 (8): 50-52. [3] J. X. Zhu, Z. Zhang,C. P. Zhu, Experimental Teaching Research and Practice of Digital Signal Processing Course. Reseach and Exploration in Laboratory, 2008, 27(5): 96-98. [4] W. D. Liu, Y. F. Wang, The Design and Application of MATLAB user interfaces for Digital Singnal Processing Experiment, Experiment Science & Technology, 2004, 9(3): 58-61. [5] X. P. Yuan, Y. F. Wang, L. Shi, The Experimental Teaching of Digital Signal Processing Course Based on Matlab, Reseach and Exploration in Laboratory, 2002, 21(1): 58-60. [6] P. Q. Cheng, Digital Signal Processing Tutorial, 3rd edition, Beijing:Tsinghua University Press, 2007. [7] H. Y. Zhao, C. N. Zhang. Digital Signal Processing and Its MATLAB Implementation, Beijing: Chemical Industry Press, 2002.