Technical Report For Final Examination
- 1 -
Technical Report For Final Examination
Design and Implementation of A Scalable and
General Simulation Platform for Communication
Principles based on Matlab
Candidate : Wang Jing
Major : Communication and Information System
Supervisor : Associate Professor. Huang Jiaqing
Huazhong University of Science and Technology
Wuhan, Hubei 430074, P. R. China
May, 2009
Technical Report For Final Examination
2
Grade:_________________________________________________________
Remarks:
Supervisor :_____________
Technical Report For Final Examination
3
ABSTRACT
Communication Principle is a very practical course, so doing some experiments will
improve students’ understanding of the course. MATLAB is very good software to implement
experiments of Communication Principle. It is a very powerful tool which has been used in
many scientific areas. It consists of many toolboxes and blocksets and integrates them in a
friendly environment where real problems can be easily modeled in mathematical way.
However, MATLAB also has many drawbacks. The cumbersome volume and the high
price of the authentication make it impossible for many students to install the program. To solve
this problem, I implement a scalable and general simulation platform of MATLAB using
MATLAB web server. The platform is friendlier to users since user can run the online
experiment on browser even they don’t have MATLAB installed on their machine.
The platform consists of five parts: Analog Modulation, Pulse Modulation, Digital
Baseband, Digital Modulation, and Spread Spectrum. The 17 experiments cover all the key
points of Communication Principle. Most of the experiments have been made into a system to
give students a general concept of the communication system.
To make the platform more interactive, I also develop a Telnet Terminal software using
TCP protocol. With this terminal, users can access the MATLAB of Server directly. They can
not only upload their own program but also publish their own webpage and experiment.
Keywords: Communication Principle; Matlab; Web Server; Telnet Terminal;
Great thanks to the association of Guo Xichen. She has helped me much in the process. Without
her selfless help, I couldn’t finish the program in time
Technical Report For Final Examination
4
Table of Contents
ABSTRACT ......................................................................... 3
TABLE OF CONTENTS .............................................................. 4
1. INTRODUCTION ................................................................ 6
1.1. BACKGROUND .............................................................................................................................. 6
1.2. OBJECTIVES AND CONTRIBUTIONS ............................................................................................... 7
1.3. ORGANIZATION ............................................................................................................................ 8
2. RELATED WORK ............................................................... 9
2.1. VIRTUAL AND REMOTE CONTROL LABORATORY DEVELOPMENT ................................................. 9
2.2. INTERACTIVE APPLICATIONS IN TEACHING WITH THE MATLAB WEB ......................................... 9
2.3. SIMULATION EXPERIMENT OF DIGITAL IMAGE PROCESSING BASED ON MATLAB WEB SERVER . 10
3. DESIGN OF PLATFORM .................................................. 11
3.1. FRAMEWORK DESIGN ................................................................................................................. 11
3.2. DETAILED DESIGN ...................................................................................................................... 12
4. IMPLEMENTATION OF THE PLATFORM ......................... 14
4.1. THE INSTALLATION AND CONFIGURATION OF MWS .................................................................... 14
4.2. INSTALLING IIS ON WINDOWS XP PRO ....................................................................................... 14
4.3. THE IMPLEMENTATION OF ONLINE EXPERIMENTS ...................................................................... 17
4.3.1. Analog Modulation ........................................................................................ 17
4.3.2. Digital Passband Modulation ......................................................................... 25
4.3.3. Pulse Modulation ........................................................................................... 33
4.3.4. Baseband Transmission .................................................................................. 39
4.3.5. DS-BPSK ....................................................................................................... 42
4.4. THE IMPLEMENTATION OF REMOTE TERMINAL .......................................................................... 43
4.4.1. Background .................................................................................................... 43
4.4.2. The Frame of the software ............................................................................. 44
4.4.3. Illustration of the Process ............................................................................... 45
4.4.4. The Interface of the Software ......................................................................... 47
4.4.5. Important Class Definitions and Functions: ................................................... 49
Technical Report For Final Examination
5
4.4.6. Sample Results of the Remote Terminal ........................................................ 51
4.4.7. Improvements................................................................................................. 55
5. RESULTS AND ANALYSIS ............................................... 56
5.1. TESTING ENVIRONMENTS ........................................................................................................... 56
5.2. RESULTS AND ANALYSIS OF ONLINE LAB ................................................................................... 56
5.2.1. Analog Modulation ........................................................................................ 56
5.2.2. Digital Modulation ......................................................................................... 62
5.2.3. Pulse Modulation ........................................................................................... 67
5.2.4. Baseband Transmission .................................................................................. 70
5.2.5. Spread Spectrum Modulation ......................................................................... 71
5.3. SUMMARY .................................................................................................................................. 72
6. CONCLUSIONS AND FUTURE WORK ............................ 73
6.1. CONCLUSIONS ............................................................................................................................ 73
6.2. FUTURE WORK ........................................................................................................................... 73
ACKNOWLEDGEMENT ........................................................... 74
REFERENCE ....................................................................... 75