Internet of Things Embedded System An embedded system
Internet of Things Embedded System: An embedded system is a microcontroller or microprocessor based system which is designed to perform specific task. OR An embedded system is a combination of computer hardware and software, either fixed in capability or programmable, designed for a specific function or functions within a larger system.
1. 2. 3. 4. Embedded System Concept An embedded system is a microcontroller or microprocessor based , software driven, reliable, real-time control system which is designed to perform specific task. It may be either independent or part of larger system. It consist of input device, microcontroller and output device. An embedded device contains few or all the peripherals inside the module which is called as SOC(System on chip).
Purpose of embedded system An embedded system is used in many domain areas such as consumer electronics, home automation, telecommunication automotive industries, healthcare, control and instrumentation, banking application , military application etc.
1. Data collection/storage/ represenation. 2. Data communication in Embedded System. Bluetooth, zigbee, WI-FI, GPRS(General package readio service) , edge or wired media such as RS 232, USB, TCP/IP, PC 2, FIREWIRE PORT, SPI, CAN. 3. Data processing. 4. Monitoring the performance/operation of embedded system. ECG(Electro Cardiogram-to monitor heartbeat of the patient) 5. Control embedded system. Air conditioning system used to control room temperature. 6. Application specific user’s interface. Comes with keyboard, buttons, display, light, bell etc.
Architecture of embedded system
• Types of IOT sensors: • 1. Temperature sensor : To measure the amount of heat energy generated from an object or surrounding. They find application in air-conditions, refrigerators, and similar devices used for environemn tal control. Temperature sensors include thermocouples, thermistors, resistor temperature detectors (RTDs) • 2. Humidity sensors : To measure amount of water vapour in air. • 3. Motion sensors : motion sensors are not only used for security purposes but also in automatic door controls, automatic parking systems, automated sinks, hand dryers etc. you can these sensor in IOT and monitor them from your smartphone or computer. HC-SR 501 passive infrared(PIR) is most popular. • 4. smoke sensors
• 5. pressure sensors: These are used in IOT systems to monitor systems and devices that are driven by pressure signals, when pressure range is beyond the threshold level, the device alerts the user about the problems that should be fixed. BMP 180. • 6. image sensors : Found in digital camera, medical imaging systems, night vision equipment, thermal imaging devices, radars , sonars media house and biometric systems. • 7. gas sensors : to detect toxic gases.
• 8. accelerometer sensors: These sensors are used in smarphones, vehicles, aircrafts and other applications to detect orientation of object, shake, tap, tilt, motion, vibration. Different accelerometers include hall-effect accelerometer, capacitive accelerometers and piezoelectric accelerometers. • 9. IR sensors: measure heat emitted by the objects. They are used in various IOT projects including healthcare to monitor blood flow and blood pressure, smartphones to use as remote control and other functions, wearable devices to detect amount of light, thermometers to monitor
• Actuators: • • • Servo motor Stepper motor Dc motor Linear actuator Relay Solenoid
1. 2. 3. 4. Embedded processors PIC(Programmable/peripheral Interface controller) AVR(Advance virtual RISC) ARM(Advanced RISC machine) ASIC(Application specifiec integrated circuit)
Io. T Definition: The Internet of things is a computing concept that describes the idea of everyday physical objects being connected to the internet and being able to identify themselves to other devices. Or Internet of things refers to physical and virtual objects that have unique identifications and are connected to the internet to facilitate intelligent applications that make energy, logistics, industrial control, retail, agriculture and many other domains “smarter”
Internet of things is a new revolution in which endpoints connected to the internet and driven by the advancement in sensor networks, mobile dives, wireless communications, networking and cloud technlogies.
Advantages • • • 1. efficient resource utilization. 2. minimize human effort 3. save time 4. improve security 5. reduced waste 6. enhanced data collection
Disadvantages • 1. security • 2. privacy • 3. complexity • 4. compliance
Stateless Stateful No information about a transaction is maintained after a transaction is processed State information is kept even after a transaction has been processed Record of state is not saved at server side Server maintains the following information, status of connection, processes running, status of processes running client sends request to server and server response back according to current state Client send request to the server then it expects some kind of response, if it does not get any response then resend request. There is no tight dependency between client and server There is tight dependency between client and server Does not keep state between connection Server keeps state of connection These protocols are light Heavy fast Slow UDP, HTTP FTP, Telnet
Link Layer Protocols • Link layer protocols determine how the data is physically sent over the network’s physical layer or medium(e. g. copper wire, coaxial cable or a radio wire). • Link layer determines how the packets are coded and signaled by the hardware device over the medium to which the host is attached.
Network /Internet layer protocols • The network layers are responsible for sending of IP datagrams from the source network to the destination network. • This layer performs the host addressing and packet routing. • The datagram contains the source and destination addresses which are used to route them from source to destination.
Transport layer • It provides end-to-end message transfer capability independent of the underlaying network. • The message transfer capability can be set up on connections, either using handshake(as an TCP) or without handshakes/acknowledgements(as in UDP). • This layer provides functions such as error control, segmentation, flow control and congestion control.
TCP UDP Transmission control protocol User datagram protocol stateful Stateless Connection oriented acknowledgement Connectionless No acknowledgement slower Faster reliable Unreliable Port no. 6 Port no. 17 HTTP, FTP, SMTP e. g. DNS, DHCP, TFTP
• Application layer protocols define how the application interface with the lower layer protocols to send data o the network. • HTTP • COAP(Constrained application protocol) • Websocket(full duplex communication protocols) • MQTT(Message queue telemetry transport) : light we messaging protocol based on the publish subscribe m • XMPP(Extensible messaging and presence protocol) • Dds(data distrubiction service) • AMOP(ADVANCED MESSAGE QUEING PROTOCOL)
• • Io. T Enabling technologies Io. T is enabled by several technologies including, wireless sensor network(WSN) Cloud computing Big data analytics Embedded system Security protocols and architecture Communication protocols, Web services etc.
Wireless sensor Network • It consist of a number of end-nodes and routers and a coordinator. Each nodes have several sensors attached them. End nodes can also act as a routers. They are responsible for routing the data packet from end nodes to coordinator. Coordinator collects the data from all nodes. Example – Weather monitoring system – Indoor air quality monitoring system – Soil moisture monitoring system – Surveillance system – Smart grids – Structural health monitoring system. Zigbee is one the most popular wireless technologies used by WSNs.
Cloud Computing • Cloud computing is a transformative computing paradigm that involves delivering applications and services over the internet. Cloud computing services are offered to user in different forms: • 1. infrastructure as a service(Iaa. S). • 2. Platform as a Service(Paas) • 3. Software as a service(Saa. S)
Big data analytics • Big data analytics is the process of collecting, organizing and analyzing large sets of data called Big Data to discover patterns and other useful information. • Big data analytics can help organization to better understand the information contained within the data and will also help identify the data that is most important to the business and future business decisions. • Big data analytics involved several steps starting from data cleansing, data munging(or wrangling) , data processing and visualisation.
• Io. T Level 1. • Io. T Level 2. • Io. T Level 3. • Io. T Level 4. • Io. T Level 5. • Io. T Level 6. Io. T levels
• Io. T Level 1: • System has a single node that performs sensing , actuation, stores data, performs analysis and host the application. • Suitable for modeling low cost and low complexity solutions where the data involved is not big and analysis requirement are not computationally intensive. E. g. Home automation.
• Io. T Level 2: • System has a single node that performs sensing , actuation and local analysis. • Data is stored in cloud. • Application is usually cloud based. • Data is analyzed locally. • Level 2 Io. T systems are suitable for solutions where data are involved is big. • E. g. smart Irrigation
Io. T Level 3: System has a single node. Data is stored analyzed in the cloud. Application is usually cloud based. Level 3 Io. T systems are suitable for solutions where data are involved is big. • And analysis requirements are computationally intensive. • E. g. tracking package handling • • •
Io. T Level 4: System has a multiple node. It performs local analysis. Data is stored in the cloud. Application is usually cloud based. Level 4 contains local and cloud based observer nodes which can subscribe to and receive information collected in the cloud from Io. T devices. • E. g. Noise Monitoring • • •
• Io. T Level 5: • System has a multiple node and one coordinator node. • End nodes that perform sensing and/or actuation. • Coordinator nodes collects data from end nodes and send data to the cloud. • Data is stored in the cloud. • Application is usually cloud based. • Level 5 are suitable for solution based on wireless sensor network, in which data involved is big and analysis requirements are computationally intensive. • E. g. Forest fire detection
• Io. T Level 6: • System has a multiple independed end nodes tht perform sensing and/or actuation and sensed data to the cloud. • Data is stored in the cloud. • Application is usually cloud based. • The analytics component analyses the data and stores the result in the cloud data base. • The results are visualized with cloud based application. • The centralized controller is aware of the status of all the end nodes and sends control commands to nodes. • E. g. weather monitoring system.
• Applications of Io. T
Home automation • 1. smart lighting • 2. smart appliances • 3. Intrusion detection • 4. Smoke/gas detectors
Cities • 1. Smart Parking • 2. smart Lighting • 3. Smart road • 4. Structural health monitoring • 5. Surveillance • 6. Emergency response
Environment • 1. Weather Monitoring • 2. Air pollution Monitoring • 3. Noise pollution Monitoring • 4. Forest fire detection • 5. River flood detection
Retail • 1. Inventory Management • 2. Smart payments • 3. Smart vending machines
Logistics • 1. Route generation & scheduling • 2. Fleet tracking • 3. Shipment Monitoring • 4. Remote vehicle diagnostics
Agriculture • 1. Smart irrigation • 2. Green House Control
Industry • 1. Machine diagnosis and prognosis • 2. Indoor air quality monitoring
Health and life style • 1. Health and fitness monitoring • 2. wearable electronics
Io. T devices • 1. Arduino uno • 2. Raspberry pi • 3. Intel Galileo • 4. Nodeµ
- Slides: 78