Monday, June 3, 2019

Binary Phase Shift Keying BPSK Modulation Demodulation Computer Science Essay

Binary Phase Shift Keying BPSK Modulation Demodulation Computer Science attemptThis experiment is based on the Binary Phase Shift Keying (BPSK) modulation/demodulation technique. The aim of the experiment is to come along familiarity with the components of a simple information transmission system, gain experience using an experimental communication system and studying its performance under the influence of ovalbumin noise and also, to compargon experimental results with conjectural deductions.Bandpass modulation, of which BPSK is a type, is a process whereby, a sinusoid usually called a carrier wave, is modulated or have its characteristics changed by a digital pulse baseband designate in other to enable wireless based transmission. In BPSK modulation, the phase of the carrier waveform is shifted to either 0 or 180 by the modulating data prognostic.To effectively model the transmission channel, the AWGN generator is used which adds the effect of noise to the quest at the recei ver in other to properly characterise what obtains in real systems. SNR measurements are taken after the noise is added before the receiver and results of each stage of the experiment are presented.2.0 RESULTS AND DISCUSSIONThe results obtained from the experiment and brief discussions are now presented.2.1 The relative oftenness of the waveform was measured to be 1.493kHz2.2 The amplitude of the waveform was measured to be 3.608V2.3CDocuments and SettingsAGEBNIGADesktopLAB RESULTSPart 2.bmpFig. 1 Square Waveform from NE555 horologe band.The tourr circuit produces a sequence of ones and adjusts which together with the resistors and capacitor, produces a square waveform. It can be observed that the square top and bottom are not abruptly straight but with ripples, this is due to the resonance effect presented by the capacitor. Also, the rising pattern of the top is due to the voltage rise time in the capacitor.2.4 The frequency of the essence sequence is measured to be 374Hz2 .5CDocuments and SettingsAGEBNIGALocal SettingsTemporary mesh FilesContent.WordPart 4 5.bmpFig. 2 Message sequence at the output of the frequency divider.The SN74LS74 integrated circuit implements a second order frequency divider, 2n (n=2). Hence the frequency of the timer circuit is divided by four. Hence, this is also discernible in the frequency of the message sequence in 2.4 above.2.6 The cut-off frequency of the 2nd order Butterworth low pass separate is effrontery byThe cut-off frequency is the frequency at which the magnitude of the shift function drops to 0.7071 of its maximum value which represents the point at which the power in the circuit is 3dB less than the maximum value.2.7 The frequency of the sinusoid at the output of the filter was measured to be 1.328kHz.2.8 CDocuments and SettingsAGEBNIGALocal SettingsTemporary meshwork FilesContent.Wordpart 8.jpgFig. 3 outfit of the first and second Butterworth LPF. A BA Output of first filter B Output of second filterT he Butterworth lowpass filter is used to generate the sinusoidal carrier required for the baseband signal. The Butterworth filter has a gentle roll-off, has no ripple in the pass or stop band hence, it has a monotonic response. To maximise the smoothness of the sinusoid, we use two of such filters in series.2.9 The RC highpass filter is used to slay the DC components of the sinusoid (since it will lone(prenominal) allow frequencies from the cut off frequency upwards) and convert it into a non-return to zero one. The cut-off frequency is given by2.10 The frequency of the modulated signal was measured to be 1.408kHz.2.11 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 11.bmpFig. 4 Output of the RC filter and the inverting amplifier circuits. A BA RC filter output B Inverting amplifier outputThe outputs of the RC filter and the inverting amplifier differ by a phase shift of 180, to fulfil the requirement for BPSK where we need antipodal modulat ed signals. Since the gain of the inverting amplifier is unity, in that location is no change to the amplitude of the inverted carrier.2.12 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 10 12.bmpFig. 5 BPSK signal at the output of the adder circuit. AThe analogue replacement produces a 0 shifted sinusoid when the message signal is high (a 1) and a 180 shifted sinusoid when the message signal is low (a 0). The two outputs streams are have in the adder circuit which has a gain of unity so that no modification is made to the signal amplitude. The result of this is a stream of 1s and 0s be by the sinusoidal waveform in fig. 5 above. Point A depicts the sudden phase change as the whiles changes to connote a transition from a high to a low and vice-versa.If we begin with a 1, then the fig. 4 would represent 10101010.2.13 The bandwidth of the noise signal is 500kHz.2.14 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent .WordPart 14.jpgFig. 6 BPSK signal with white noise.The AWGN channel helps to simulate what can typically obtain in real communication environments and it was observed that in real systems, the signal is not really as elegant as presented in fig. 5 but the addition of noise means the receiver will require some form of intelligence and signal processing in other to correctly detect the transmitted message.2.15CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 15.jpgFig. 7 BPSK noisy signal at output of RC lowpass filter.The cut-off frequency of this filter is given by hence it will cut off signals above 15.92kHz. It was observed that after the application of this filter, the noise level was significantly reduced as evident comparing fig. 6 and 7, since the noise contained a large amount of frequency components higher than 15.92kHz due to its bandwidth of 500kHz.2.16 The signal at the output of the planimeter takes the shape of a sawtooth waveform. This is because integrating a square waveform produces a sawtooth waveform.2.17CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 16 17.bmpFig. 8 Output of the integrator circuit. A BThe multiplier and integrator circuit represents a matched filter implementation at the receiver. Point A represents the zero point i.e the beginning of a new symbol or bit in this case, when the integrator is re-set. As such, when a 1 changes to a 0, we have a re-set to zero point and the direction of the triangular shape changes to the opposite.Point B is the integproportionn phase proper. It is not smooth due to the effect of noise in the system. Also, the rise is a direct result of the capacitor charging.2.18 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 18.jpgFig. 9 Pulse application to integrator. A BA Integrator output B Reset PulseAs displayed on fig. 8 above, the reset pulse is applied to the integrator at the symbol transition instant which is seen to be the beginning of every half cycle to reset the integrator to zero.2.19 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 19a.pngFig. 10 The Reference SignalCDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.Word19b.jpgFig. 11 The Sampling PulseCDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 19c.jpgFig. 12 The Reset PulseThe quotation signal is obtained from the SN74LS74 frequency divider of the transmitter thus it is the originally transmitted message sequence. The sampling and reset instances are done at the homogeneous time that is at the half cycle.2.20 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 20.jpgFig. 13 Output of the Comparator.This is where the original baseband signal is regenerated. From fig. 8, when the output of the integrator is positive, an output voltage of 5 volts is produced at the c omparator and when the integrator output is negative, a 0 volt output is obtained. This resulted in fig. 13 above showing the alternating 5 and 0 volts or 1s and 0s which depicts our detected signal. The frequency of the detected signal is 1.419kHz.2.21 The length of the delayed version of the data symbol produced at the receiver is 1.804ms2.22 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 21 and 22 Greeen channel 2 sensationalistic channel 1.bmpFig. 14 The Delayed pulse and Original data signal. A BA- Delayed Pulse B Original Pulse compare the original data signal against the delayed version, it is observed that though they are of the same period, B has longer duration positive half cycle while A compensates with a longer negative half cycle. Also, the time delay between them is about a half cycle.2.23 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 23 yellow delay green comparator.bmpFig. 15 Input Sign als to the XOR circuit. A BA Delayed original signal B Detected signalThe detected signal B is compared against the delayed version of the original signal A, because B generally, B would have experienced some delay and hence to effectively ascertain if an flaw occurred, its best to compare it against a delayed original as represented by A. The exclusivity of the circuit lies in the fact that when A B are the same, a 0 will be produced while when they are different denoting an error, a 1 will be produced.2.24 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 24 green 2 yellow 1.jpgFig. 16 Input Signals to the first NAND gate. A BA Sampling Pulse B XOR OutputA NAND gate will only produce a zero when both inputs are high. Hence a zero is obtained when the sampling instant coincides with a high output from the XOR circuit.2.25 CDocuments and SettingsAGEBNIGALocal SettingsTemporary Internet FilesContent.WordPart 25 yellow chn1 5v dc green chn2 1s t input.pngFig. 17 Input Signals to the second NAND gate. A B CA Input 5Vdc B Output of first NAND gate C Zero pointSince a NAND gate will produce a high when both inputs are not the same and when they are both 0, a 5V dc (always high or 1) is applied to one of the inputs and the output of the first NAND gate to the other. Hence, at the points where B comes down to zero (C), the output of the NAND gate will record a high which implies an error has occurred.2.26To estimate the BERWhere Vs (rms value of signal amplitude) =514mV,Vn (rms value of noise amplitude) = 0-10dBW (AWGN channel bandwidth) = 500kHzT (modulated Signal period) = 656.25sSNR received signal to noise ratioBER bit error rate or error probability. remit 1 below presents the values.Table 1 Summary of ResultsFig. 18 BER Performance Plot3.0 CONCLUSIONThe BER performance plot of fig. 18 shows that the behaviour of the experimental system is within the bounds of predicted theoretical results. For instance, as quoted in the lecture notes, at SNR= 10.4dB, the BER is about 1.510-6. From fig.18 above, a similar point, of SNR=10.3806dB gives a BER of 1.48810-6. Hence confirming the accuracy of the results obtained from the experiment. The plot confirms that as the signal-to-noise ratio increases, the error probability reduces in line with conventional knowledge.In addition, the process of using a baseband signal to modulate the phase of a sinusoid was observed, converting it into a bandpass signal for transmission ease.Also, the use of Additive White Gaussian Noise to simulate the channel provides an insight into what might be expected in a live system environment, under varying degrees of noise exposure.Finally, because the received data sequence will most likely be displaced from its true positions as exhibit experimentally, the use of a time delayed version of the original transmitted sequence to compare and check for errors was justified.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.