Beruflich Dokumente
Kultur Dokumente
ABSTRACT Half of the lab time was devoted to the simulation of digital com-
munications in MATLAB and the other half to signal analysis in
Modern Digital Communications are DSP based. In this paper continuous time using some hardware modules. The conclusions
we present a DSP-based Digital Communications lab. Although that follow the guidelines said before are: from one side, the sim-
based on very simple hardware, we try to show that most practical ulation time was too short to cover both the digital communica-
situations that we can find in the design of digital communica- tions concepts and the simulation of digital communications; on
tion systems can be reproduced in our setting. The main idea in the other side, the students used much time understanding the hard-
our approach is to give the same importance to discrete-time and ware and making things work and little understanding the theoret-
continuous-time communication signals. Looking for student mo- ical facts.
tivation the lab is based on a problem solving approach making the After considering several approaches we came with a very
students develop from simple to more complex communications simple setting that is shown in Figure 1. The DSP part runs on the
systems from the very beginning. It needs very simple equipment PC, the conversion to the analog world is done with a sound card
already known to the students, so most of the time is devoted to and the channel is a simple board with a filter that can be easily
Digital Communications work, and it is low cost. Personal and configured to any desired analog response. The paper is structured
team work is combined in the lab, pursuing student motivation. as follows: in Section 2 the teaching model is described. Section 3
details the hardware and software used in this laboratory together
1. INTRODUCTION with its advantages and limitations. Section 4 details some experi-
ments that can be implemented with the proposed setting. Conclu-
sions and possible extensions of this lab close this paper.
A digital communications course together with a laboratory is com-
pulsory in most EE undergraduate curricula, following usually a
Signals and Systems course that introduces the basics of analog 2. A MODEL FOR TEACHING DIGITAL
and digital signal processing together with an introductory signal COMMUNICATIONS
processing lab. Implementing this digital communications lab is
not easy. Normally simulation-based labs are the chosen approach, The fact that digital communications systems are mainly imple-
although it has several drawbacks: on the one hand, the theoretical mented in discrete time is not covered in usual texts [1, 2]. In
course is normally developed in continuous time with little refer- our opinion, this limitation affects seriously the development of
ences to DSP, so that the student has to make a great effort to un- laboratories based on software like MATLAB, where a precise un-
derstand the intricate concepts related to the simulation of digital derstanding of the discrete-time signal processing is mandatory.
communication systems; on the other hand, the student motivation The model we follow at the University of Cantabria is to par-
is not as high as it could be with a closer relation to more prac- alelly develop the methods for designing both continuous-time and
tical settings. In other cases the lab is based on some hardware discrete-time digital communications systems. As most digital
modules that the student has to interconnect to build real systems communication systems are composed of discrete and continuous-
and analyze them with the usual equipment. From our experience time modules, this approach allows us to draw similarities between
this type of approaches normally imply several facts: the student both approaches and, at the same time, clarify the facts that rules
devotes much time to learn the particular hardware configuration the implementation of different digital communications subsys-
and to use the equipment, it tends to favour students trying to make tems in discrete or in continuous time. Basically, it follows a
things work without really trying to understand what is going on philosophy similar to Oppenheim et. al. [3] when exposing sig-
and finally it does not anymore reproduce real communication sys- nals and systems. With this approach, it is easy to relate discrete-
tems that nowadays are mostly DSP based. Last (but not least) the time and continous-time communication signals and, for example,
cost of the lab and its maintenance are a serious drawback when make the student understand that we can obtain a continous-time
financial and human resources are limited. signal by interpolating a discrete-time signal. Analogously, by ap-
Our conclusion of the above discussion is that an ideal digi- plying the sampling theorem, we can obtain a discrete-time com-
tal communications lab should cover both implementation in dis- munications signal that completely represents a given continous
crete time and analysis in continuous time. At the University of one. Finally, most of the subsystems in digital communications
Cantabria this has been the approach followed for several years. can be theoretically implemented both in discrete and in contin-
uous time, and we can discuss the reasons beneath this decision.
This work has been partially supported by the Spanish Ministry of This approach can be adapted directly to a digital communications
Science and Technology under project TIC2001-0751-C04-03 lab, where the students can generate any discrete-time commu-
Analog Oscilloscope 5
MATLAB MATLAB
10
|H(f)| (dB)
Sound Filters Sound
15
Card Card 20
Interconnection Panel 25
30
Fig. 1. Laboratory bench with two computers equipped with sound
cards, one interconecting panel, and one analog oscilloscope. 35
0 5 10 15 20 25
frequency (KHz)
acquisition cards. Every computer of the proposed Digital Com- The ripple
of the equalized frecuency response is dB ( Hz
munications Laboratory uses a conventional and low-cost sound and KHz). In the first sessions of the lab, this filtering is done
card (Creative Labs SoundBlaster PCI 128). These cards have at in a transparent way. But at the end of the lab this equalization
least two analog outputs, that are used as generators for the trans- problem is highlighted, and the students have to solve it.
mitted signals, and two analog inputs, that capture the incoming Technical characteristics of the SPCI128 board are: 16 bit res-
signals. Its 16 bit Analog to Digital and Digital to Analog con- olution (effectively 14 bits, that means a signal-to-noise ratio
of 70
verters have configurable sample rate conversion. They include dB), maximum sampling frequency 48 KHz, crosstalk
dB, in-
antialiasing and reconstruction (smoothing) filters with a highly put and output voltage range V. These characteristics allow us
linear phase response, and a passband amplitude response. to produce high-quality communication signals.
The interconnection panel posses several input and output RCA
terminals, attenuators, signal combiners (operational amplifier ba- 3.2. MATLAB sound card functions
sed adders) and pluggable analog filter modules. This panel allows
to distort the communication signals by means of analog filters A set of functions to facilitate to the student the management of the
simulating the channel, to add noise or jamming signals, to atten- sound card has been developed on the basis of the MATLAB Data
uate the signal level, and to connect or combine any of the sound Acquisition Toolbox [5, 6]. Namely, the function init_card()
card output signals of any of the laboratory workbenches to the initialises the card and sets the parameters for the proper behaviour
sound card inputs. of the other functions. The function sampling_freq() sets the
Finally, there is one analog oscilloscope in which the students sampling frequency of the analog-to-digital (ADC) and digital-to-
can observe the interconnection panel signals (any of the transmit- analog (DAC) converters to a value from the set of admissible sam-
ted, received, attenuated, distorted or combined signals), the eye pling frequencies that dictate the combination of operating sys-
III - 774
Seal de linea
tem, Data Acquisition version and sound card. In our case (Win-
dows NT4.0 sp6, Data AcquisitionToolbox
r2.0, and
SoundBlaster
2
DEP(dB)
1 80
filter. Finally it is interesting to note the gain control that the stu- 100
0
dents have over the signals that are transmitted or received, using 120
160
0 1 2 0 5 10 15 20 25
t(s) 4 f (KHz)
x 10
4. LABORATORY EXAMPLES
4.1. From analog to digital communications Fig. 3. Baseband data transmision window
raised cosine signal ( ) and its eye diagram (the reader can
is also highly interesting from a pedagogical point of view. In this observe the great similarity between these oscilloscope pictures
first experiment, the understanding of the different frequencies in- and the discrete-time signals shown in Figure 3). In Figure 5 it
volved in a digital communication system is a very important issue. is possible to appreciate the baseline wander of a 441 bps raised
In this lab setup, the student must continuously work with the bit cosine signal due to the sound card highpass behaviour.
rate, the symbol rate, the sampling frequency (that must fulfill the
Note that, besides the transmitted signal, it is possible to send
sampling theorem) and the simulation sampling frequency (several
to the sound card right channel a symbol clock signal or a frame
times higher than the Nyquist frequency, so the discrete-time sig-
pulse signal (see the disparo box in Figure 3) to synchronize the
nals, when drawn in the PC screen, looks like its continuous-time
analog oscilloscope and show the obvious equivalence of the dis-
counterparts in the oscilloscope).
crete-time signal in the PC and the analog one in the oscilloscope.
III - 775
Fig. 5.
Baseline wander effect on a 441 bps raised cosine signal Fig. 7. 16QAM eye diagram
( )
5. CONCLUSIONS
III - 776