Академический Документы
Профессиональный Документы
Культура Документы
Design Requirements
We are required to design a data transmission system to transmit binary data
over a channel that will be modelled using a circuit. This circuit will simulate a
channel response. The binary data will be in the form of a binary file and the
outputs and inputs to the PC will be achieved using the sound card and NI DAQ.
The design is limited to the physical layer that is to the modulator and
demodulator and is not concerned with any higher protocols or error detection
and correction. The general representation of the data transmission system is
shown in the FIGURE 1 below. The design of the data transmission system can
use any coding and/or modulation schemes. The goal is to maximise the bit rate
whilst adhering to a minimum bit error rate of 0.01 or 1%.
1. To build the circuit that will serve to simulate the channel model. The
circuit is shown in FIGURE 2 and the high level channel model is shown in
FIGURE 3
2. To analyse and model the channel.
3. To set the potentiometer so that the RMS noise amplitude is 0.2V.
To model the channel a software package (circuit lab) was used in order to do a
frequency sweep. The frequency sweep provides the bode plot of the channel as
seen in FIGURE 4. From the plot it can be deemed that the channel work best
between frequencies of 1khz and 50khz. Thus, when choosing the carrier
frequencies for the modulation schemes this will be taken into consideration.
Noise characteristics
It is required to set the potentiometer so that the noise figure is the required
value of 0.2V RMS.
Transmitter design
In our case, we are required to transmit data over a channel that has a
significant amount of noise, and therefore different types of modulation schemes
were considered. There are three fundamental types of modulation used in
telecommunications. They are as follows:
1. Amplitude modulation
2. Frequency modulation
3. Phase modulation
player=audioplayer(Y,Fs)
which creates an audioplayer object for signal Y, using sample rate Fs.
(MathWorks Australia 2014).
when required to send a binary value of 1, and will transmit a sinusoidal wave of
frequency,
f 2=2bit rate , when required to send a binary value of 0. The
This output wave is then transmitted through the channel to be processed by the
receiver at the other end.
Receiver design
When designing the receiver, it was taken into account what modulation scheme
was used, i.e. Binary Frequency Shift Keying. Therefore a few methods of
frequency demodulation were considered. They include:
wave of frequency
f2 .
Next, in order for the system to process the required data, a method of acquiring
the data must be determined. This is the role that the National Instruments USB-
6009 Multifunction DAQ fills. The DAQ will interface the output of the
communications channel to the computer. This is accomplished using a Matlab
function
daq.createSession(ni)
which creates a session object that you can configure to perform operations
(MathWorks Australia 2014), and Matlab property
s.Rate
which sets the rate of operation in scans per second (MathWorks Australia
2014). This property is set to the maximum value so as to ensure we sample
enough data to effectively emulate the real signal.
Now to record the output of the channel, the analog output of the channel will be
the analog input to the DAQ. Thus the Matlab function to initialise the DAQ to
accept the inputs is
s.addAnalogInputChannel
s.startForeground
Channel
The cut off frequency for this low pass filter can be found using:
1 1
f c= 15915.5 Hz
2 RC 2 (1000 ) ( 10 109 )
This theoretical value was then tested to see if the circuit performed as
required. The tested cut-off frequency was found to be 14.5kHz. This value is
within reasonable tolerance and therefore the circuit was deemed acceptable.
- Voltage Limiter
The purpose of this circuit was to limit the voltage, after the
low pass filter, to a voltage that is equal to or below the
diode voltage. This was circuit was test by applying a DC
voltage that was above the diode voltage and was checked for
where the output was limited to the theoretical diode voltage of
0.7V. After testing with a 5V DC source the output was limited to 0.763 V.
Again this value is within reasonable tolerance of the theoretical value and
thus this circuit was deemed acceptable.
- Non-Inverting Amplifier
V
10 k
V
V out =
10 k
V out V =V
V out =2 V
We can see that the function of this op-amp circuit is to simply double the input
voltage. This circuit was tested by applying a 5V DC voltage to the input and the
output was measured to be 10.1V. Again this value is well within reasonable
tolerance, deeming this circuit acceptable.
The purpose of the band pass filter is to limit the output of the circuit to a
particular band of frequencies. The testing of the circuit showed
that the circuits pass band was between 200Hz and 8.7kHz. This is
within reasonable tolerance of the theoretically
calculated pass band shown below:
1
f low = 282.19 Hz
2 ( 47 109 ) ( 12 103 )
1
f high= 6.047 kHz
2 ( 4.7 109 ) ( 5.6 103 )
Modulation Scheme
After modelling our channel, previously shown, it was found that the best
operating frequencies was between 1kHz and 50kHz. Testing of the modulation
scheme required a lot of tweaking, as we were required in the design task to
maximise bit rate and at the same time keep the bit error to less than or equal
1%, and also keeping in mind the limitation of the channel. We approached the
testing by gradually increasing the bit rate, initially the bit period was set to 1ms
which correlates to a bit rate of 1000 bits per second. Figure 9 below shows the
waveform of the modulated wave with a bit period of 1ms.
Demodulating this modulated wave gave a result with no errors. So the bit period
was increased until an error was given, the bit period, which gave error, was
60ns, so the bit period was set to 70ns. 70ns correlates to the high carrier
frequency of 115kHz, which is within the limitation of the channel, however there
was a reduction in gain, which was accounted for when setting the threshold
limits.
Conclusion
After careful consideration of numerous factors which have been detailed above
this design task was completed using a FSK modulation scheme, achieving a bit
rate of 1.308Khz and a bit error of zero.
References
Wikibooks 2014, Communication Systems/What is Modulation?, accessed 17 May
2014,
<http://en.wikibooks.org/wiki/Communication_Systems/What_is_Modulation%3F>
Wikipedia 2014, Frequency-shift keying, accessed 17 May 2014,
<http://en.wikipedia.org/wiki/Frequency-shift_keying >