Top Banner
An Internet-Based Interactive Embedded Data-Acquisition System for Real-Time Applications Dr. Ali Ziya Alkar Mehmet Atif Karaca Assistant Professor Sistemim Electronics, Department of Electrical Ankara. & Electronics Engineering, Hacettepe University Presented by: Amogh C. Gokhale ECGR 6185 Advanced Embedded Systems February 13 th , 2013 1-27
27

An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Aug 18, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

An Internet-Based Interactive Embedded Data-Acquisition System for Real-Time Applications Dr. Ali Ziya Alkar Mehmet Atif Karaca Assistant Professor Sistemim Electronics, Department of Electrical Ankara. & Electronics Engineering,

Hacettepe University

Presented by: Amogh C. Gokhale ECGR 6185 Advanced Embedded Systems

February 13th, 2013

1-27

Page 2: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Agenda • An Introduction to Data Acquisition Systems. • Motivation • Functional Block Diagram • Proposed System

• Hardware • Software • Direct Access to the Embedded System • Establishing a communication link • Data Management in the system

• Sample Application • Camera • GPS • Temperature Sensor

• Conclusion • References

2-27

Page 3: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Data Acquisition System

3

• What is DAQ

• History

• Need of Data Acquisition

Page 4: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Motivation - Drawbacks of Traditional DAQ Systems

• Use data network without minimizing data transfer cost.

• Need to maintain additional server.

• Need to access the server every time.

• Unsuitable for Real Time control applications.

4-27

Page 5: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Motivation- Advantages of the Proposed System

• No need of an established server.

• Minimizes the cost of data transfer.

• Direct Communication link between the client and Embedded System.

5

Page 6: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Hardware

6-27

• X-86 Based Standalone unit

• Four Serial Ports, One Serial Port

• 16 MB on board

removable flash memory

• Acquisition Units can be varied and added using appropriate interfaces

Page 7: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Software

7-27

• Linux 2.4 Kernel with TCP/IP stack included

• Only bare minimum packages installed e.g. Console tty, Serial Ports, PPPD, Support for memory and math emulation

• Scaled down version of Linux to reduce memory footprint

and complexity

Page 8: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Establishing a Communication Link

• Initiate GPRS connection using GPRS modem.

• Manage the Point to Point Protocol (PPP) connection using PPP Daemon (PPPD)

• GPRS parameters like connection speed are managed by PPPD.

8-27

Page 9: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Direct Access to the Embedded System

• For direct access, IP address of the Embedded Device must be known to Client.

• Static IP Vs. Dynamic IP

• Static IP – Advantages & Disadvantages

• Dynamic IP – Advantages & Disadvantages

9-27

Page 10: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

FTP

10-27

• Embedded Device updates its IP address • It is saved in a folder named by its hostname • This script parses the current IP and sends it to FTP server

Page 11: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

FTP – Continued

11-27

Page 12: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Data Management in the system

12-27

• Internet Server is used to decrease data management cost

• Text data is served by Embedded System

• Bulky data is sent only once

using GPRS and placed on FTP server

Page 13: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Sample Application

• A camera, Temperature sensor and GPS are integrated into an embedded board to form a sample application

• A CMOS Camera with built in JPEG controller chip • The GPS module - OEM GPS UV40 • A very low cost temperature measurement chip - DS1620

13

Page 14: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Camera

14

• The client initiates the camera control script, which eventually takes a snapshot • The picture is uploaded to a dummy FTP server • All the queries to visualize the current picture are automatically relayed to the FTP server

Page 15: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Camera Pseudo code

15

Page 16: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

16

Page 17: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

GPS

• The embedded board acquires raw data periodically.

• The program transfers the selected GPS data to the memory after compiling a bulk of raw data.

• The newest GPS data are exchanged with the oldest

data using the memory as a FIFO buffer.

17

Page 18: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Interpreting Raw GPS data

18

Page 19: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

19

Page 20: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Interpreting GPS data

20

Page 21: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

GPGGA Information

• The GPGGA information is parsed from the raw data and stored in a file.

21

Page 22: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Visually tracking the system using GPS

• The system can be set to visually track the current location of the embedded system on a map.

• An icon that represents a vehicle is inserted into the location using basic frames in html, utilizing the latest coordinate information from the GPS data

• The GPS accuracy of the measurements is less than 15 m

22

Page 23: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

23

Page 24: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Temperature

• Low cost temperature measurement chip (DS1620) is used to collect ambient temperature

• Accuracy of 0.5 ◦C.

• This chip is attached to the parallel port of the embedded board.

• A daemon is initiated at boot time to sample and display the temperature every 30 s for a time interval of 15 min.

24

Page 25: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

25

Page 26: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

Conclusion

• Compared with traditional DAQ systems, this system has following advantages

• Allowing direct bidirectional communication • Reducing overhead. • The operational costs have been reduced

• Future Scope: • Power Conservation

26

Page 27: An Internet-Based Interactive Embedded Data-Acquisition ...jmconrad/ECGR6185-2013... · Visually tracking the system using GPS • The system can be set to visually track the current

References

1. http://aprs.gids.nl/nmea/ 2. GPS fix data - Courtesy of Brian McClure, N8PQI.www.slat.org/project 3. www.wikipedia.com 4. Photos Retrieved From: Google Image Search

27-27