Professional Documents
Culture Documents
(SEP728)
Lecture 5
IoT/IIoTConnectivity and Networking protocols(con’t)
Embedded Systems
Networking vs Data Protocols
Today
• Networking/Comms Con’t
• Embedded Systems
• Embedded programming
• Embedded Operating System
2
Tondo, 2021
3
Tondo, 2021
Design Considerations
Line of sight Equations
4
Tondo, 2021
Design Considerations
Line of sight Equations
5
Tondo, 2021
6
Tondo, 2021
7
Tondo, 2021
‣ Note that this gives you the radius of the zone, not the height
above ground. To calculate the height above ground, you need
to subtract the result from a line drawn directly between the
tops of the two towers.
8
Tondo, 2021
9
Tondo, 2021
Notice that earth curvature plays a small role at short distances, but
becomes more important as the distance increases.
12
Tondo, 2021
Design Considerations
Summary of signal Impairments (common)
• Attenuation distortion
• Free space loss/Fresnel Zone
• Noise
• Atmospheric absorption
• Multipath (not too bad with WiMAX – reflections/multiple copies)
• Refraction
• Thermal noise (cannot be eliminated – present on virtually every
electronic device – due to agitation of electrons – function of
temperature)
13
Tondo, 2021
Design Considerations
Link Budget
‣ The performance of any communication link depends on
the quality of the equipment being used.
14
Tondo, 2021
Design Considerations
Link Budget
‣ If that power, minus the free space loss of the link path,
is greater than the minimum received signal level of the
receiving radio, then a link is possible.
The cables in both systems are short, with a loss of 2dB at each side at the
2.4 GHz frequency of operation.
17
Tondo, 2021
AP to Client link
-2 dB -114 dB @ 5 km -2 dB
-82 dBm
40 dB Total Gain
-114 dB (free space loss @5 km)
8 dB (link margin)
19
Tondo, 2021
-2 dB -114 dB @ 5 km -2 dB
???
-89 dBm
35 dB Total Gain
-114 dB (free space loss @5 km)
10 dB (link margin)
21
Tondo, 2021
Embedded Systems
22
Tondo, 2021
Embedded Systems
• Hidden Inside(Embedded)/Multiple components interfaced together for a common
purpose (System)
• It may or may not have a screen and a keyboard, be either programmable or non-
programmable, perform a single function in isolation or work as a part of a large
system.
23
Tondo, 2021
Embedded Systems
Features
• May work without operating systems (baremetal) or use specialized operating systems such as a
real-time operating systems (RTOS) instead of GPOS (General Purpose OS)
• May be created with consideration to environmental factors such as temperature, humidity and
other environmental conditions that may affect device performance
24
Tondo, 2021
Embedded Systems
Benefits
• Strong performance — since software is written for handling a single task on a certain device, its
performance is usually close to perfect, which is crucial for end-users
• Small size — in comparison with regular computers, embedded systems are much smaller in size,
which makes them compact, portable and convenient for mass production
• Low power consumption — most devices require little power for operations, which means that they
can be applied in various locations and work in complicated circumstances; it also means resource
usage optimization.
25
Tondo, 2021
Embedded Systems
Firmware Vs. Embedded Software Vs. IoT
• The three terms — firmware, embedded software and the Internet of Things (IoT) — are different
concepts, although they are tightly interconnected.
• Firmware is a program written into the memory of a particular single-purpose electronic device and
performing low-level functions such as converting sensor signals. It is written in low-level languages
(C/C++ or assembly) and then translated into the machine code in a compiled binary that is then
deployed to the device’s memory.
• Firmware often needs to be updated in the field in order to deploy critical updates such as: Bug
fixes, Security updates, Feature enhancements and additions
• This requires embedded systems to include a secure bootloader solution that allows the device to
authenticate and verify the integrity of new firmware images before updating the devices internal
memory with the latest software.
26
Tondo, 2021
Embedded Systems
Firmware Vs. Embedded Software Vs. IoT
• Main difference: the software is being written in high-level languages Java, C++ or Python.
• In general, embedded software is more sophisticated and performs high-level functions such as data
processing and interaction with other devices.
• It’s possible for a system to have both firmware and embedded software. The program files for
embedded software are stored in the file system of a given device and extracted to the random-
access memory (RAM) for execution.
• If you connect an embedded system to the internet, it turns into an IoT device.
• With the rapid pace of IoT development, practically any object can become a connected device.
27
Tondo, 2021
Embedded Systems
28
Tondo, 2021
Embedded Systems
Constraints
- Stability
- Design Constraints
- Security
Source:Digi-Key
29
Tondo, 2021
Questions?
Comments?
30
Tondo, 2021
Next week
- Security of IoT/IIoT and networking
protocols(MQTT) (Chapter 2, 5)
31
Tondo, 2021
References
[1] Liu, X., Wenbi R.,Yaobang Z.,Liping L.,Jingling Y.,Fei H., “Experimental Teaching Reform to Embedded
System Curriculum”. August 2020. IEE Xplore. Online
[2] Nikolov, N., “Research of MQTT, CoAP, HTTP and XMPP IoT Communication protocols for Embedded
Systems”. September 2020. IEE Xplore. Online
[3] Koshkin, D. Embedded Systems. Sam Solutions. Online
32