0% found this document useful (0 votes)
41 views6 pages

Homework 2 Sol

1) The document provides instructions for a homework assignment on digital signal processing and binary signals. It includes 4 questions with signals to analyze and binary sequences to transmit. 2) The solutions are provided and include drawings of modulated signals and their spectra, analyses of a binary sequence with noise, logic diagrams, and conversions between binary and decimal numbers. 3) The document serves to demonstrate the student's understanding of key concepts in digital signal processing and binary encoding through practical problems and mathematical/graphical solutions.

Uploaded by

Alison Lee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views6 pages

Homework 2 Sol

1) The document provides instructions for a homework assignment on digital signal processing and binary signals. It includes 4 questions with signals to analyze and binary sequences to transmit. 2) The solutions are provided and include drawings of modulated signals and their spectra, analyses of a binary sequence with noise, logic diagrams, and conversions between binary and decimal numbers. 3) The document serves to demonstrate the student's understanding of key concepts in digital signal processing and binary encoding through practical problems and mathematical/graphical solutions.

Uploaded by

Alison Lee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

CORE1240 Homework 2 [20] Deadline: 10pm Mar 24 (Fri)

Please submit ONE soft copy (pdf only) of your assignment to Canvas (Assignments)
before the deadline. NO LATE Submission! (Zero mark!)

1. [10] The baseband signals S1 and S2 are shown below:

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

Carrier/center: 30 MHz 32 MHz

29.995 29.996 30.004 30.005 31.995 31.996 32.004 32.005 MHz

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

0.004 0.005 63.995 63.996 64.004 64.005 MHz

Process 2:
Lowpass filter with cutoff frequency at 5 kHz

64 MHz

0.004 0.005 63.995 63.996 64.004 64.005 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

3) 0111100111 (original bit sequence)


3 bits are in error.

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

1) Write the mathematical formula.

Solution:

𝑌 =𝐴 𝐵 𝐶+𝐴 𝐵 𝐶 = 𝐴 𝐶
Note 1: There are many other answers. As long as Y complies with the truth table, the
answer will be considered as correct.

2) Draw the logic diagram using “logic gates”.

can use a buble (o) to represent the inverter

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):

Look up table: 238=128+64+32+8+4+2

=1×2 +1×2 +1×2 +0×2 +1×2 +1×2 +1×2 +0×2


= 𝟏𝟏𝟏𝟎𝟏𝟏𝟏𝟎
Short division:
2 238 0
2 119 1
2 59 1
2 29 1
2 14 0
2 7 1
2 3 1
2 1
= 11101110

6 of 6

You might also like