Cyber Eng G Assignment
Cyber Eng G Assignment
Where, 𝑓𝑟 is the resonant frequency in Hz, L is the inductance in Henrys and C is the capacitance
in Farads. In this case, we want the resonant frequency to be 674 KHz.
By assuming L= 10mh we can solve the equation and can get the value of C
𝟏
C=
𝟒𝝅𝟐 ×𝑳×𝒇𝟐
Since we have the value of resonant frequency in KHz we first need to convert it in Hz which will
be 674 × 103 Hz and same with the inductance, we will convert the inductance 10mh to H and
it will be 0.01H or 10−2 H.
By solving the equation we will get the value of C which is 5.576 pF. Therefore, to design an LC-
tuned circuit at 674 KHz, we need an inductor of approximately 10 mH and a capacitor of
approximately 5.576pF.
In order to allow frequencies below a specific cutoff frequency to pass through while
attenuating higher frequencies, a low pass filter is designed. For this particular scenario, the
objective is to create a low pass filter that permits frequencies up to 700 KHz to pass through.
The RC filter is a widely employed low-pass filter, composed of a resistor (R) and a capacitor (C)
connected in series. The cutoff frequency (fc) of an RC filter can be determined using the
following formula:[6]
𝟏
𝒇𝒄 =
𝟐𝝅𝑹𝑪
Since the value of 𝑓𝑐 (700KHz) is known and we need to find the value of R and C. We can assume the
value of R= 1K to find the value of C.
Since value of 𝑓𝑐 is in KHz so it will be 700 × 103 and value of R will be 1 × 103
𝟏 𝟏
C= = C=
𝟐𝝅𝑹𝑪 𝟐×𝟑.𝟏𝟒×𝟏×𝟏𝟎𝟑× 𝟕𝟎𝟎×𝟏𝟎𝟑
After setting up the circuit, conduct a simulation to observe the frequency response of the low-
pass filter. During the simulation, the output should exhibit the characteristic of allowing
frequencies below 700 KHz to pass through with minimal attenuation. On the other hand,
higher frequencies should be attenuated, indicating a reduction in their magnitude.
To selectively pass a specific range of frequencies while attenuating frequencies outside that range, a
bandpass filter is designed. In this scenario, the objective is to create a bandpass filter that allows
frequencies between 800 KHz and 1700 KHz to pass through.[1]
A commonly used approach for constructing a bandpass filter involves combining a low pass filter and a
high pass filter. The low pass filter attenuates frequencies above a certain cutoff frequency, while the
high pass filter attenuates frequencies below a different cutoff frequency. By cascading these filters
together, we can achieve the desired bandpass response.[6]
To design the bandpass filter, we begin by determining the values of the components for the low pass
filter and the high pass filter.
For the low pass filter, we can utilize the same design outlined in the previous section with a cutoff
frequency of 1700 KHz.
For the high pass and low pass filter same formula will be used which we have used in previous task.
𝟏
𝒇𝒄 = 𝟐𝝅𝑹𝑪
For High pass filter
Since we have 𝑓𝑐 = 800KHz and let assume, C is 10 nF and now we have to find R. By doing the
calculations we have done in the previous tasks we will get our R.
Value of R we have got is 19.9 Ω.
For low pass filter
We have 𝑓𝑐 = 1700𝐾𝐻𝑧 and let assume C is 10nF and now again we have to find the value of R
, which will be after the calculations is 9.4 Ω.
Now we can start making the Band pass filter by combining these both high pass and low pass
filter.
• Implement the high pass filter using resistor of 19.9Ω and capacitor of 10nF
• Implement the high pass filter using a resistor of 9.4Ω and a capacitor of 10nF.
• Connect the output of the low pass filter to the input of the high pass filter.
• Connect the input/source to the input of the high-pass filter.
• Connect the output of the low pass filter to the output/load.
• Connect the ground/reference to the ground nodes of both filters.
To design an Armstrong indirect FM modulator, you can follow the following steps:
1. Determine the frequency deviation (Δf) of the FM signal using the formula Δf = kf * Af,
where kf is the frequency sensitivity constant and Af is the modulating frequency.
Assuming kf to be 2π * 5 Hz / V, and let's assume V = 1 V, then kf = 31.4 Hz/V and Δf =
314 Hz.
2. Calculate the maximum and minimum frequency of the FM signal using the formula
fmax = fc + Δf and fmin = fc - Δf, where fc is the carrier frequency. Assuming fc to be
97.3 MHz, then fmax = 97.300314 MHz and fmin = 97.299686 MHz.
3. Choose a frequency range for the modulating signal that covers the desired frequency
deviation. Let's select fa = 20 kHz and Af = 5 Hz.
4. Use a frequency doubler to double the frequency of the modulating signal to 40 kHz.
5. Implement a bandpass filter to allow frequencies in the range of 800 kHz to 1.7 MHz,
which includes the carrier frequency.
6. Utilize a mixer to combine the filtered signal with a local oscillator signal at a frequency
between 400 kHz and 500 kHz. This mixing process will generate an intermediate
frequency (IF) signal in the range of 303.3 kHz to 403.3 kHz.
7. Apply another frequency doubler to double the frequency of the IF signal, resulting in a
range of 606.6 kHz to 806.6 kHz.
8. Incorporate a low-pass filter to allow frequencies up to 700 kHz, eliminating unwanted
sidebands.
9. Implement an LC-tuned circuit at 674 kHz to further filter and fine-tune the signal,
adjusting it to the desired carrier frequency of 97.3 MHz.[6]
Finally, amplify and transmit the filtered signal as an FM signal.
Calculations:
The modulator is shown below and we need to determine 𝑀1 , 𝑀2 and 𝑓𝐿𝑜 [9]
Because only frequency doublers can be used, we have three equations 𝑀1 = 2𝑛1 , 𝑀2 = 2𝑛2
and 𝑛1 + 𝑛2 = 11
It is also clear that 𝑓𝑐2 = 2𝑛1 𝑓𝑐1 and 𝑓𝑐4 = 2𝑛2 𝑓𝑐3
To find 𝑓𝐿𝑜 , there are three possible relationships: 𝑓𝑐3 = 𝑓𝑐2 ± 𝑓𝐿𝑜 and
𝑓𝑐3 = 𝑓𝐿𝑜 -𝑓𝑐2 . Each should be tested to determine one that will fall in 400kHz≤ 𝑓𝐿𝑜 ≤500kHz.
(a) First, we test 𝑓𝑐3 = 𝑓𝑐2 − 𝑓𝐿𝑂 , this leads to
97.3× 106 = 2𝑛2 (2𝑛1 𝑓𝑐1 -𝑓𝐿𝑜 )= 2𝑛1+𝑛2 𝑓𝑐1 −2𝑛2 𝑓𝐿𝑜 = 211 × 20 × 103 - −2𝑛2 𝑓𝐿𝑜 .
Thus we have 𝑓𝐿𝑜 = 2−𝑛2(4.096× 107 -9.73× 107 ) <0.
This is outside the local oscillator frequency range.
(b) Next, we test 𝑓𝑐3 = 𝑓𝑐2 − 𝑓𝐿𝑜 . This case leads to,
97.3× 106 = 2𝑛2 (2𝑛1 𝑓𝑐1 +𝑓𝐿𝑜 )= = 2𝑛1+𝑛2 +𝑓𝑐1 -2𝑛2 𝑓𝐿𝑜 = 211 × 20 × 103 +2𝑛2 𝑓𝐿𝑜
Thus we have 𝑓𝐿𝑜 = 2−𝑛2(9.73× 107 - 4.096× 107 ) = 2−𝑛2 × 5.634 × 107 .
If 𝑛2 =7, then 𝑓𝐿𝑜 = 440 kHz, which is within the realizable range of the local oscillator.
B. Fragmentation at AP-1:
After the initial conversion of the text to PDU format, the resulting PDU sequence is forwarded
to AP-1 for further transmission to AP-2. At AP-1, the PDU sequence undergoes a fragmentation
process to enable transmission over the wireless channel. This fragmentation involves breaking
down the PDU sequence into smaller packets, where each packet consists of a maximum of
three bytes.[7]
AP-1 assigns a channel switching pattern/sequence of 1324, which means the packets will be
transmitted in the order: Packet 1, Packet 3, Packet 2, Packet 4, Packet 5. Since there are only 5
packets and the channel switching pattern requires 8 channels, we can repeat the pattern from
the beginning. The updated channel switching pattern would be 13241324. This means that
after the 4th channel, we loop back to the 1st channel and continue the pattern. The last packet
would be assigned to channel 1.
Transmission over the wireless channel using FHSS:
AP-1 starts transmitting Packet 1(10001011 11100011 00001110) on the first channel. After a
unit of time, AP-1 switches to the third channel and transmits Packet 3 (10100000 11011111
10111001) and the process will go on until all the packets are transmitted successfully with
switching pattern.
Fragmented PDU:
10001011111000110000111010100000110111111011100111010100000110100111100
1000001000110111001011010011100100110000101111001
Defragmentation at AP-2:
AP-2 receives the transmitted packets in the order: Packet 1, Packet 3, Packet 2, Packet 4,
Packet 5. This received packets are carefully processed and undergo defragmentation to rebuild
the original PDU sequence. Defragmentation involves reorganizing the packets and merging
them together to restore the original order of the PDU sequence. The process is facilitated by
utilizing the sequence numbers assigned to each packet, which are included in their respective
headers. These sequence numbers allow AP-2 to correctly arrange the packets, ensuring the
PDU sequence is accurately reconstructed.
Reassembled PDU:
10001011111000110000111011010100000110100111100110100000110111111011100
1000001000110111001011010011100100110000101111001
10001011111000110000111011010100000110100111100110100000110111111011100100
0001000110111001011010011100100110000101111001
8B E3 0E D4 1A 79 A0 DF B9 04 6E 5A 72 61 79
• The message translated in binary octet (7-bit stream octet value stream):
45 78 61 6D 20 69 73 20 6F 6E 20 46 72 69 64 61 79