Reference no: EM132493063
Write a matlab script, or a collection of matlab scripts, that does an end-to-end simulation of a digital communication system (don'tuseSimulink). Your system must include the components listed as (Required) below.
The other features are optional.
To receive full credit, your code must be reasonably well documented with in-line comments.
I would like a formal report that summarizes how your code works, and gives sample waveforms, performance graphs, etc.
The final report, and the code, is due at 11:59:59.9999 pm on Tuesday, April 28th. I encourage you to submit it earlier than that.
Data Source
• Random data (Required)
• Fixed, repeating, pattern, generated by matlab(Required)
• Read in from data file(Required)
• Data from an audio file, such as mp3 or wav(Required)
• Data from an image file, such as jpg
Modulation
• OOK (Required)
• BPSK (Required)
• QPSK(Required)
• OQPSK(Required)
• MSK(Required)
• QAM with 2B bits per symbol
• Binary FSK
• M-ary FSK
• Binary GFSK
Carrier Frequency
• Adjustable from -10 times symbol rate to +10 times symbol rate (Required)
• Adjustable from -infinity to +infinity(Required)
• Available as either complex envelope or real band-pass signal(Required)
• Randomly varying frequency, from oscillator instabilities
• Randomly varying amplitude, from oscillator instabilities
Power Amplifier at Transmitter
• Adjustable power output, specified in dBm (Required)
• Low-pass filter on output, adjustable cutoff frequency, for complex envelope signals (Required)
• Non-linear, using complex envelope signals(Required)
• Non-linear, using real, bandpass, signals
Transmit antenna
• Adjustable gain, specified in dBi (Required)
• Aperture loss, specified in dB(Required)
• Gain as a function of radiation pattern, read in from data file. Direction specified in Matlab.
Channel
• Adjustable attenuation, in dB (Required)
• Adjustable time delay, in seconds (Required)
• Adjustable time delay, based on distance traveled (Required)
• Additive White Gaussian Noise, level specified in No/2 watts/hertz (Required)
• Doppler shift - from typical pedestrian to point on surface of Earth(Required)
• Doppler shift = from typical automobile, to another automobile(Required)
• Doppler shift - from spacecraft in low-Earth-orbit to surface of Earth
• Attenuation based on distance, in free space.
• Attenuation based on distance, near surface of Earth
• Attenuation based on carrier frequency, weather conditions, distance and angle, near surface of the Earth.
• Noise level based on antenna temperature.
• Noise level based on amplifier noise figure.
• Noise level based on both antenna temperature and noise figure.
• Interfering sine wave / narrow band transmitter
• Interfering user, identical to transmitter, but at a different carrier frequency
• Multipath reflection(s), based on time
• Multipath reflection(s), based on distance
Receiving Antenna
• Adjustable gain, in dBi (Required)
• Adjustable gain, in dBd(Required)
• Adjustable gain, based on aperture area(Required)
• Adjustable gain, based on antenna pattern and direction of arrival.
• Adjustable polarization loss, in dB
• Adjustable aperture efficiency, in dB
Demodulation
• Demodulation for all the modulation formats you chose to implement, assuming receiver knows exact value of transmit carrier frequency, exact transmit carrier phase, and exact bit timing, and exact knowledge of channel time delay, but unknown path attenuation. (Required)
• Demodulation for all modulation formats you implemented, assuming receiver knows approximate carrier frequency, and approximate data rate, but does not know the exact carrier frequency, exact data rate, channel time delay, amplitude of received signal.
Demodulation Error
• Measure probability of demodulation error, assuming receiver has access to exact transmit data, and exact time delay through entire system. (Required)
• Measure probability of demodulation error, assuming receiver has access to exact transmit data, but no idea of time delay through system. Your simulation must calculate this by looking only at the transmit data pattern and the received data pattern.(Required)
• Use confidence intervals to show accuracy of your probably of error measurement.
• Estimate, bound, or approximate probability of demodulation error based on signal space calculations and erfc() function.
User Interface
• Allow user to select almost any point in your simulation to display signal in time domain and amplitude spectrum. (Required)
• Where I/Q signals are used, give user option to view signal in signal space.(Required)