Lecture 1: Introduction to IoT & Edge Computing
Contents
Self-Test
Question 1:
What are the key challenges of the cloud based architecture and why migration towards edge can help?
Solution: Refer to Key Challenges with Cloud Based Architecture section.
Question 2:
What is the difference between *application edge and network edge?
Solution:
Network Edge refers to the boundary of a network where end devices (users, IoT sensors, base stations, routers, etc.) connect to the broader internet or backbone.
Example: The point where your phone connects to a 5G base station, or where a home router connects to an ISP. Focus: Traffic routing, access control, and connectivity. Used in telecom/ISP contexts (e.g., "edge of the mobile network").
Application Edge refers to the deployment of applications/services close to end users, often leveraging edge computing resources.
Example: Running an AI inference engine at a nearby edge server instead of a distant cloud data center. Focus: Low-latency service delivery, computation, and user experience. Used in cloud/edge computing contexts (e.g., "edge AI applications").
Also refer to diagram in Slide 2 of A Journey in to IoT.
Question 3:
What are cyber-physical system and what are their key applications?
Solution Refer to the definition and key characteristics of CPS in Lec 1, Part 1.
Question 4:
What are various layers of CPS systems?
Solution Refer to CPS section of Lec 1, Part 1.
Question 5:
What is the difference between CPS and IoT?
Solution Refer to the diagram for the IoT, CPS and SoS.
Question 6:
What are Digital twins and what are key attributes associated?
Solution Refer to the DT section of Lec. 1.
Question 7:
Setup. Two IoT-enabled streetlights are connected in series (the system fails if either streetlight fails).
Component reliabilities:
R1(k)=(0.98)k,R2(k)=(0.96)kFind the system reliability after k=7 days.
Solution
For components in series, the system reliability is the product of component reliabilities:
Rsys(k)=R1(k)⋅R2(k).Substitute the given expressions:
Rsys(k)=(0.98)k⋅(0.96)k.Combine common exponent k:
Rsys(k)=(0.98⋅0.96)k=(0.9408)k.Evaluate at k=7:
Rsys(7)=(0.9408)7≈0.6523507426.Final answer:
Rsys(7)≈0.6523507426.Question 8: What are core 5G service classes?
Solution Check 5G and 6G discussion in Lec 1.
Question 9: Describe types of signals produced by sensor including example of sensors which can yield these signals?
Solution Check Sensor Type section in Lec 1, Part 2.
Question 10:
A smart thermostat measures room temperature. The signal contains frequency components up to 40 Hz due to fast fluctuations in the environment.
Tasks:
- Determine the Nyquist rate for this signal.
- Find the minimum sampling interval (in milliseconds).
- If the system samples at 150 samples/second, check whether aliasing will occur.
Solution
- The Nyquist rate is twice the maximum signal frequency, so
- The minimum sampling interval Ts (period between samples) corresponding to the Nyquist rate is
- If the system samples at fs=150 samples/s=150 Hz, compare with the Nyquist rate:
so the sampling frequency exceeds the Nyquist rate and aliasing will not occur for frequency components up to 40 Hz.
There is margin — the designer should still consider anti-aliasing filters and practical margins.
Question 11: What is Aliasing and when do we encounter it?
Solution Check Aliasing discussion in Part 2, Lec 1.
Question 12:
An IoT acoustic sensor records sound signals with amplitudes normalized between (−1) and (+1). The signal is digitised using a uniform quantiser with a bit depth of 8 bits.
Tasks:
- Determine the number of quantisation levels.
- Calculate the quantisation step size (Δ).
- Using the approximate formula for signal-to-quantisation-noise ratio (SQNR), estimate the SQNR in dB.
- Repeat the SQNR calculation for a bit depth of 12 bits and comment on the improvement.
Solution
- The number of quantisation levels is
- The dynamic range of the signal is 2 (from −1 to +1). The quantisation step size is
- The approximate SQNR formula for a uniform quantiser is
For N=8:
SQNRdB≈6.02×8+1.76=48.16+1.76=49.92 dB.- For N=12:
Comment: Increasing the bit depth from 8 to 12 improves the SQNR by about 24 dB, which corresponds to a substantial reduction in quantisation noise and better signal fidelity — useful for high-quality acoustic sensing in IoT applications.
Question 13:
What is regression?
Solution Refer to Part 4 of Lec 1.
Question 14:
What is type of signals are frequently generated by IoT devices?
Solution Refere to Part 4, Lec 1.
Question 15:
A small IoT temperature sensor records the following data over 5 hours:
Hour (x)12345Temperature (∘C)(y)1517182122Task:
- Fit a simple linear regression model of the form y=mx+c by hand.
- Determine the slope m and intercept c.
- Predict the temperature at hour 6.
Solution
- Compute the means:
- Compute the slope m:
- Compute the intercept c:
- Regression equation:
- Predict temperature at hour 6: