0% found this document useful (0 votes)
21 views

Redes Móveis e Sem Fios: 2º Teste

The document contains a test for a Masters degree in Electrical and Computer Engineering Networks. It has 4 questions covering topics such as: 1) Bluetooth piconet packet transmission timeline and throughput calculations. 2) Comparison of MQTT and COAP IoT protocols, and drawing of a COAP message diagram. 3) Erlang B blocking probability calculations for a cellular picocell network. 4) Satellite orbit altitude and latitude calculations given minimum elevation angle and additional link budget calculations.

Uploaded by

António Grilo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Redes Móveis e Sem Fios: 2º Teste

The document contains a test for a Masters degree in Electrical and Computer Engineering Networks. It has 4 questions covering topics such as: 1) Bluetooth piconet packet transmission timeline and throughput calculations. 2) Comparison of MQTT and COAP IoT protocols, and drawing of a COAP message diagram. 3) Erlang B blocking probability calculations for a cellular picocell network. 4) Satellite orbit altitude and latitude calculations given minimum elevation angle and additional link budget calculations.

Uploaded by

António Grilo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Mestrado em

Engenharia Electrotécnica e de Computadores

Redes Móveis e Sem Fios


2º Teste
20 de Junho de 2018
Duração 1h30

In order to avoid grading mistakes, please answer each question on a different page, keeping the order as much as
possible.

1) Consider a Bluetooth piconet, comprising one master and two slave devices (S1 and S2). The master device has the
following ACL packets in its transmission queue, which are ordered as follows (format is <destination, packet>):
<S1, DH3>, <S2, DM1>, <S2, DM5>. Regarding the ACL uplink traffic: S1 has two packets in the queue: DM5
and DH3; S2 has a single DM3 packet in the queue.
a) Draw the timeline diagram of packet transmissions, clearly indicating the timeslot assignment (for each packet,
indicate the type, the occupied slots, the sender and the receiver), as well as the frequency in use in each slot.
The diagram ends when the last ACL packet is transmitted. (2,0 val)
b) In a piconet with only one master and one slave, which FEC-enabled packet types should be employed in each
direction, so that the throughput from master to slave is maximized, while the throughput from slave to master
is at least 350 kbit/s? Indicate the respective throughput values in each direction. Justify. (2,0 val)
c) Explain the main mechanisms that minimize the interference between piconets operating within transmission
range of each other. (1.0 val)

2) The Internet of Things enables the accessibility of smart objects through the Internet, allowing the development of
applications that make decisions based on the measurements performed by smart objects, while also allowing
dynamic smart object management and control.
a) Compare the COAP and MQTT protocols regarding the implementation of a publish&subscribe IoT services.
Justify. (1.5 val)
b) Compare COAP and MQTT regarding the possibility of employing UDP as the transport protocol. Justify. (1.5
val)
c) Draw the message diagram of a COAP GET request between a client and a server, indicating, for each
message, the Type, Message ID, Token and contents. Assume that the first Message ID is 0x4567, and the first
Token is 0x34, the resource being read is /humidity and the respective value measured by the server node is
“134”. Assume a piggy-backed confirmed response message model. (2.0 val)

3) A new mobile network operator wished to cover a small area in the downtown of Lisbon, which is still visited
today by huge numbers of tourists, especially during the summer season. This was accomplished with one picocell.
The expected number of session establishment attempts per minute was 5 and the expected session duration was 5
minutes, during peak times. Assume an Erlang B model (see table below).
a) How many channels were needed in order to provide a blocking probability equal to 0.002? Justify. (2,0 val)
b) After some time, the operator realized that an increase in the number of users had caused the service to degrade
to a probability of blocking of 0.02. Which were the offered and carried traffic by then? If you did not answer
to a), consider that the number of channels was 20. Justify. (2,0 val)
c) Suggest two measures, which can be carried out by the mobile network operator in order to restore the grade of
service, assuming that it is out of question to buy new channels? (1,0 val)
Capacity (Erlangs) for Grade of Service of

Number of Servers (N) P=0.02 (1/50) P=0.01 (1/100) P=0.005 (1/200) P=0.002 (1/500) P=0.001 (1/1000)

10 5.08 4.46 3.96 3.43 3.09

20 13.19 12.03 11.10 10.07 9.41

24 16.64 15.27 14.21 13.01 12.24

40 31.0 29.0 27.3 25.7 24.5

70 59.13 56.1 53.7 51.0 49.2

100 87.97 84.1 80.9 77.4 75.2

4) Consider a GEO satellite system operating in the 1 GHz frequency band. The minimum elevation that still allows
communication with the satellite is 10º. The atmosphere introduces an additional attenuation of 10 dB.
a) Calculate the altitude of the orbit. (2,0 val)
b) Assume that the elevation angle is the only limitation regarding footprint coverage. Calculate the maximum
latitude where communication with the satellite is possible. Suggestion: take into account the 𝜶, 𝜷, and 𝜽 angle
relationships associated to the respective figure. Note: in case you were unable to solve a), consider 𝒉 =
𝟒𝟎𝟎𝟎𝟎 𝒌𝒎. (1,5 val)
c) Assuming that the Earth is a sphere, calculate the transmit power neded in order to allow communication at a
latitude of 60º, knowing that the receiver sensitivity is -80 dBm and the antenna gains (satellite and Earth
station) are 40 dBi. (1,5 val)
Bluetooth

1 slot = 625us

SCO stream throughput = 64 kbit/s

payload (30)

HV1 audio (10) FEC (20)

HV2 audio (20) FEC (10)

HV3 audio (30)

DV audio (10) header (1) payload (0-9) 2/3 FEC CRC (2)

(bytes)

payload (0-343)

header (1/2) payload (0-339) CRC (2)

DM1 header (1) payload (0-17) 2/3 FEC CRC (2)

DH1 header (1) payload (0-27) CRC (2) (bytes)

DM3 header (2) payload (0-121) 2/3 FEC CRC (2)

DH3 header (2) payload (0-183) CRC (2)

DM5 header (2) payload (0-224) 2/3 FEC CRC (2)

DH5 header (2) payload (0-339) CRC (2)

AUX1 header (1) payload (0-29)

Satellite Systems

𝑭𝒈 = 𝒎 ∙ 𝒈 ∙ (𝑹/𝒓)𝟐 𝑭𝒄 = 𝒎 ∙ 𝒓 ∙ 𝝎𝟐

𝒈 = 𝟗. 𝟖𝟏𝒎/𝒔𝟐 (gravitational acceleration)

𝑹 = 𝟔𝟑𝟕𝟎 𝒌𝒎 (radius of the Earth)


𝟐 𝑭𝒐𝒐𝒕𝒑𝒓𝒊𝒏𝒕 𝑫𝒊𝒂𝒎𝒆𝒕𝒆𝒓 = 𝟐 × 𝜶 × 𝒅
𝟒∙𝝅∙𝒅∙𝒇
𝑳=
𝒄

𝑮(𝟏𝒑𝒍𝒂𝒏𝒆) = 𝟐𝝅/(𝟐 × 𝜶) 𝝀𝟐
𝑨𝒆𝒇𝒇 = 𝜼 ∙ 𝑨𝒑𝒉𝒚 = 𝑮
𝟒𝝅
𝑮𝒕 ∙ 𝑮𝒓 ∙ 𝝀𝟐
𝑷𝒓 (𝒅𝑩𝒎) = 𝑷𝒕 (𝒅𝑩𝒎) + 𝟏𝟎 ∙ 𝒍𝒐𝒈𝟏𝟎 − 𝑨𝒕
(𝟒 ∙ 𝝅 ∙ 𝒅)𝟐

𝟒 ∙ 𝑭𝒐𝒐𝒕𝒑𝒓𝒊𝒏𝒕
𝑷𝒓 (𝒅𝑩𝒎) = 𝑷𝒕 (𝒅𝑩𝒎) − 𝟏𝟎 ∙ 𝒍𝒐𝒈𝟏𝟎 − 𝑨𝒕
𝝅𝟐 ∙ 𝑨𝒆𝒇𝒇

𝑹 𝒔𝒊𝒏(𝜶)
= =
𝑹 + 𝒉 𝒔𝒊𝒏 𝜽 + 𝝅
𝟐
𝝅
𝒔𝒊𝒏 −𝜷−𝜽 𝒄𝒐𝒔(𝜷 + 𝜽)
𝟐 =
𝝅 𝒄𝒐𝒔(𝜽)
𝒔𝒊𝒏 𝜽 +
𝟐

𝒅 𝒔𝒊𝒏(𝜷)
= =
𝑹 + 𝒉 𝒔𝒊𝒏 𝜽 + 𝝅
𝟐
𝒔𝒊 𝒏(𝜷)
=
𝒄𝒐 𝒔(𝜽)

(𝑹 + 𝒉) ∙ 𝒔𝒊𝒏(𝜷) 𝑹 ∙ 𝒔𝒊𝒏(𝜷)
𝒅= =
𝒄𝒐𝒔(𝜽) 𝒔𝒊𝒏(𝜶)

Cellular Networks and Traffic Engineering

Hexagonal cell area: Distance between hexagonal cell centers:

𝑨𝒄𝒆𝒍𝒍 = 𝟏. 𝟓 × 𝑹𝟐 × √𝟑 𝒅 = √𝟑 × 𝑹

Frequency reuse factor: Cell cluster sizes:

𝟏 𝑮 = 𝑰𝟐 +𝑱𝟐 + (𝑰 × 𝑱) 𝒔𝒕 𝑰, 𝑱 = 𝟎, 𝟏, 𝟐, 𝒆𝒕𝒄.
𝑹𝑭 =
𝑮
Traffic intensity: Traffic intensity:

𝑨= 𝝀∙𝒉 𝑨 =𝝆∙𝑵

Grade of service for ∞ sources LCC: Capacity of blocking system:

𝑨𝑵 𝑪 = 𝑨(𝟏 − 𝑷)
𝑷= 𝑵!
𝑵 𝑨𝒙
∑𝒙 𝟎
𝒙!

You might also like