Task2 CCN
Task2 CCN
Task 2
Assessment Rubrics
Category Marks
Aim & Theory 5
Manual Calculation,
Environment Creation & 25
Block Diagram
Results and Analysis (Bar
10
Chart etc.)
Inference 10
Total 50
Aim:
To create a Network Model for analysing the performance of voice Codec in terms of
Throughput for standard as well as custom configurations.
Tools Required:
NetSim v10
Theory:
• Voice Codec: Encodes voice signals into digital formats, ensuring efficient
compression and minimal quality loss during transmission.
• Throughput: Key metric representing the amount of data transmitted successfully
over a network in time.
• Standard Configurations: Factory-defined codec settings, used as benchmarks for
performance evaluation.
• Custom Configurations: User-defined settings to optimize codec performance for
specific network conditions.
• Simulation Environment: Utilize tools like NS3, MATLAB, or OPNET to replicate
network behaviors under controlled scenarios.
• Applications: Improve real-time communication systems like VoIP, video
conferencing, and streaming.
• Importance: Helps identify optimal configurations, enhancing communication
reliability and efficiency in diverse network conditions.
Block Diagram:
Bitrate = n x fs
fs = 2 x fm = 8 KHz
Bitrate (r) = 8 x 8KHz = 64kbps
= (64 x 20)/8
= 160 bytes
= 499 x 160
= 79840
𝑃𝑎𝑦𝑙𝑜𝑎𝑑 𝑅𝑒𝑐𝑒𝑖𝑣𝑒𝑑∗8
Throughput =
𝑆𝑖𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑇𝑖𝑚𝑒
= 63.872 kbps
Application Sourc Packet Packet Payload Payload Throughput
Application Name Destination Id Delay(microsec)
Id e Id Transmitted Received Transmitted Received (Mbps)
1 APP1_VOICE 4 5 499 498 79840 79680 0.063744 67.86
2 APP2_VOICE 2 3 499 499 79840 79840 0.063872 85.94
3 APP3_VOICE 6 1 499 499 79840 79840 0.063872 104.02
Average 0.0638293 85.94
Bitrate = n x fs
fs = 2 x fm = 800 Hz
Bitrate (r) = 8 x 800 = 6.4 kbps
= (6.4 x 30)/8
= 24 bytes
= 333 x 24
= 7992
𝑃𝑎𝑦𝑙𝑜𝑎𝑑 𝑅𝑒𝑐𝑒𝑖𝑣𝑒𝑑∗8
Throughput =
𝑆𝑖𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑇𝑖𝑚𝑒
= 6.394 kbps
Bitrate=n x fs
fs=2 x fm = 1000 Hz
Bitrate (r)=8 x 1000 = 8 kbps
= 499 x 20
= 9980
𝑃𝑎𝑦𝑙𝑜𝑎𝑑 𝑅𝑒𝑐𝑒𝑖𝑣𝑒𝑑∗8
Throughput =
𝑆𝑖𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑇𝑖𝑚𝑒
= 7.984 kbps
Custom Codec
Assume,
Inference
Custom codecs, configured for data rates of 150 kbps and 250 kbps, demonstrated
significantly higher throughputs of 150.3523 kbps and 249.488 kbps. These results
underline the adaptability of custom configurations, enabling efficient performance under
varying network conditions.
Overall, the study emphasizes the critical role of optimizing codec parameters to enhance
data transmission efficiency and ensure reliable, high-quality communication across
diverse scenarios.