Homework 2 Sol
Homework 2 Sol
Please submit ONE soft copy (pdf only) of your assignment to Canvas (Assignments)
before the deadline. NO LATE Submission! (Zero mark!)
Amplitude S2
Amplitude S1
f/kHz 4 5 f/kHz
4 5
We need to transmit these two baseband signals S1 and S2 using amplitude modulation on
different frequency bands centered at 30 MHz, and 32 MHz, respectively (i.e. the carrier
frequency for S1 is 30 MHz, and the carrier frequency for S2 is 32 MHz).
1) Draw the resulting frequency spectrum containing the Two modulated signals in
ONE graph. Clearly label all the frequencies.
2) What is the bandwidth of each modulated signal?
3) If we want to capture signal S2 (the carrier is 32 MHz) only, what kind of filter
we can apply? Clearly write down the characteristic of the filter. (Assume an
ideal filter is considered!)
4) After filtering in part 3), what will be all the additional processes in order to
recover the baseband signal S2? Clearly describe with words all the processes.
5) Draw the frequency spectrum/spectra for all the additional processes in part 4).
Clearly label all the frequencies.
Solution:
1) The spectrum of the two modulated signals
1 of 6
2) The bandwidth for each modulated signal is 10 kHz.
3) We can apply a bandpass filter with low cutoff frequency at 31.995 MHz and
the high cutoff frequency at 32.005 MHz
4) Process 1: Mix the filtered signal with the same carrier (32 MHz) again.
Process 2: Apply a lowpass filter with the cutoff frequency at 5 kHz to recover
the original baseband signal.
5) Process 1:
64 MHz
Process 2:
Lowpass filter with cutoff frequency at 5 kHz
64 MHz
2 of 6
2. [4] Suppose we want to transmit some binary sequence: 0111100111 using 1 volt to
represent bit 1 and -1 volt to represent bit 0. We will send 1 bit per second as the voltage
waveform in the time-domain using analog signal. During the transmission, the following
additive noise is presented as shown:
Noise
2
1.6
1.2
0.8
Voltage Level
0.4
-0.4
-0.8
-1.2
-1.6
-2
0 1 2 3 4 5 6 7 8 9 10
time(s)
1) Assume that the noise is additive, draw the waveform of the output signal (received
signal).
2) Assume that threshold detection is used at the receiver, what is the binary output of
the received signal if the threshold is set to be 0 volt?
3) How many bits are in error?
3 of 6
Solution:
1)
2) 1111000110
4 of 6
3. [3] Given the following truth table with inputs A, B & C and output Y:
A B C Y
0 0 0 1
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
Solution:
𝑌 =𝐴 𝐵 𝐶+𝐴 𝐵 𝐶 = 𝐴 𝐶
Note 1: There are many other answers. As long as Y complies with the truth table, the
answer will be considered as correct.
A
B
C Y
A
B
C
Or:
A Y
C
5 of 6
4. [3] Answer the followings:
1) What is the biggest binary number (decimal value) you can write with 6 bits?
Solution: 63
2) What is the biggest binary number (decimal value and in terms of n) you can write
with n bits?
Solution: 2 − 1
3) If you want to represent the decimal numbers from 0 – 16, what is the minimum
number of bits you will need?
Solution: 5 bits
4) Convert the decimal number 238 to binary number.
Solution (short division or look-up table):
6 of 6