




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Semester 1 Examinations 2010/
Module Code: CTEC
School: Electronic and Electrical Engineering
Programme Title: M.Eng. in Embedded Systems Engineering
Programme Code: CR_EMBED_
External Examiner(s): Mr. P. French, Dr. P. Quinlan, Mr. D. Heffernan Internal Examiner(s): Dr. Oliver Gough
Instructions: Answer four questions
Duration: 2 Hours
Sitting: Winter 2010
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.
(a) Consider a single hop wireless sensor network with a large number of nodes each running a reporting application and a single aggregation server. The server receives 1200 packets per hour during normal operation according to a Poisson process. The server requires 200 milliseconds on average to process and forward a report. The processing time is exponentially distributed. (i) Calculate the total delay each report experiences (ii) If sleeping schedules are introduced to save energy, how much will the mean service time (including sleep) be permitted to increase if a doubling of delay is tolerable (assume the service times remain exponentially distributed)? [10 marks]
(b) A transmission system, is shared among 16 nodes. Data packets of a fixed size of 180 bytes are generated by each computer system according to a Poisson process with rate = 0.7/sec. Due to variability in the communications environment the effective data rate has the following distribution. R 1 = 9.6kbit/s,is available 15% of the time, R 2 = 19.2kbit/s, 25% of the time, R 3 = 28.8kbit/s, 30% of the time, R 4 = 56kbit/s, 30% of the time. (i) Calculate the throughput of the system. (ii) Calculate the average waiting time and number of packets waiting for transmission. [15 marks] [Total: 25 marks]
(a) Briefly outline how gossiping or rumour routing solves the problem of efficiently routing data to “interested” sinks. Use diagrams to illustrate the propagation of interests and messages. [10 marks] (b) Consider the situation in Figure Q3. The transmission links are labelled with the energy cost of transmitting a standard packet. Nodes are labelled with the current battery energy reserve. Node F is sending a message to node B. Consider the route selected by the Min Battery Cost Routing algorithm and the route selected using the Min Residual Power Sum algorithm. Explain the differences in these approaches.
2
2
2
2
(^3 )
1 1
3 1 1 2
2
2
2
14
20
7
4
9 20
6
15
12
[Total: 25 marks]
(a) Using the Bellman-Ford algorithm, develop the least-cost routing table for source node s = 8 for the network of 9 nodes shown in Figure Q4(a). The link costs are assumed bidirectional with equal costs in both directions. In your answer tabulate the least cost associated with each route. [10 marks]
2
2
5 7
2
6
3 3
1 1
3 3 3 2
2
1
(b) Using the Ford-Fulkerson algorithm, calculate the maximum flow f between source node s = 1, and destination node d = 7 for the network of 7 nodes shown in Figure Q4(b). Link capacities and flow direction are shown with each link.
20
10 5
7
5
(^3 )
(^15 )
20
7
[15 marks]
The following formulae may be of use
M/M/m/ Queuing system:
A P and
A m P
(^0) m! 1 P p m^ m (^) Q , where
1 (^0 0)!! 1
m i
i m m
m i p m
m
Pollazcek-Khinchine formula for an M/G/1 queuing system:
2 and T X W , X is service time random variable
k 0 k^ k
k 0
2 k
, for discrete probability distributions
X 2 x^2 p(x)dx; for continuous probability distributions
(^) m
k
k
m
k
s
m
s Ems
0
k s k
s k
s
Jackson’s Theorem:
K
i
1
j
j
The solutions to the quadratic equation ax^2 bx c 0 are a
x b b ac 2
1 , 2