In Introduct ction to Data Acq Acquisition an and Integration ion 01219335 Data Acquisition and Integration Chaipo Chaiporn J n Jaik aikae aeo De Department of f Computer Engineering Kasetsart Unive versity Revised 2020-08-13
Ou Outline • Data acquisition systems • Internet of Things • Data integration • Demonstration 2
Da Data Acquisition on The process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated by a computer. • Data acquisition system , also known as DAS or DAQ , is a system that performs the above process Physical Transducer Signal Analog - Digital Computer Converter System Sensor Conditioning 8 Bit Code 2 2 2 2 Physical System Noisy Signal Filtered Signal Digitalized Signal 0 1 1 1 1.5 1.5 1.5 1.5 0 0 0 1 1 1 1 1 0 1 1 1 Measured Value Measured Value Measured Value Discrete Value 1 0 1 1 0.5 0.5 0.5 0.5 1 1 0 0 0 0 0 0 1 1 1 1 -0.5 0 1 1 0 -0.5 -0.5 -0.5 1 0 1 0 -1 -1 -1 -1 1 1 1 0 1 1 1 1 -1.5 -1.5 -1.5 -1.5 0 1 1 1 -2 -2 -2 -2 0 5 10 15 20 25 30 1 1 1 0 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 0 1 2 3 4 5 6 7 8 9 10 Sample Number Seconds Seconds Seconds 1 1 1 1 0 0 1 1 Physical Signal Noisy Electrical Signal Conditioned Signal 2 1 1 0 0 Digitalized Signal 0 1 1 1 1.5 0 1 1 1 1 0 1 1 0 Discrete Value 0 1 1 0 0.5 1 0 1 1 0 1 1 1 0 0 0 0 1 -0.5 1 1 1 1 -1 1 0 1 1 0 0 1 0 -1.5 0 0 1 1 -2 1 1 1 1 0 5 10 15 20 25 30 Sample Number 1 0 0 1 1 1 0 1 Digitalized Signal 1 1 1 0 https://en.wikipedia.org/wiki/Data_acquisition 3
Re Remote Data Acquisition • Traditional, wired sensors Network sensor field Remote monitoring Data loggers Local monitoring 4
Re Remote Data Acquisition • Wireless sensors • Sensors communicate with data logger via radio links Network sensor field Remote monitoring radio link 5
Re Remote Data Acquisition • W ireless S ensor N etworks – WSN • Sensor nodes deployed and forming an ad hoc network ◦ Requires no hubs, access points ◦ Instantly deployable Sensor node Sensor network Network Gateway • Targeted applications ◦ Emergency responses ◦ Hazardous area monitor Remote monitoring 6
In Inter erne net o of T f Thi hing ngs ( s (Io IoT) http://www.opinno.com/en/content/internet-things-0 7
Io IoT R Refer erenc ence M e Model del https://insightaas.com/new-iot-reference-model-creates-common-tongue/ 8
SC SCADA S System • S upervisory C ontrol A nd D ata A cquisition • Mostly used in industrial, since 1960s https://en.wikipedia.org/wiki/SCADA 9
IIo IIoT an and I Industry 4 4.0 • IIoT – I ndustrial I nternet o f T hings Industry 4.0 cyber-physical system https://www.i-scoop.eu/internet-of-things-guide/industrial-internet-things-iiot-saving-costs-innovation/industrial-internet-things-iiot/ 10
DA DAQ/Io IoT Ha Hardw dware P e Platforms ms • Various communication protocols: BLE, Wi-Fi, LoRa IEEE802.15.4, etc . Adafruit’s Feather M0+LoRa Raspberry Pi ESP32 WiFi/BLE module https://www.adafruit.com/product/3178 https://docs.espressif.com/projects/esp-idf/en/release-v3.3/hw-reference/modules-and-boards.html https://www.raspberrypi.org and many more… 11
DA DAQ Application Examples • Agriculture ◦ Smart/precision farming • Civil engineering ◦ Structural response ◦ Disaster management Image by Sarah Clarry from Pixabay • Environmental sciences ◦ Habitat monitoring • Factory monitor and control Image by skeeze from Pixabay 12
DA DAQ Design Consideration • Internet access vs. no access • Wired vs. wireless connectivity • Short-range vs. long-range communication • Single-hop vs. multi-hop data transfer • Main vs. battery power • Real-time vs. non real-time data http://clipart-library.com 13
Huma Human D n Data S Sour urces es • Questionnaires • Social sensing ◦ Analyzing hashtags ◦ Text mining Image by Shahid Abdullah from Pixabay 14
Da Data Integr gration on • Data transformation • Data storage • Data administration • Data visualization http://clipart-library.com 15
Re Real-Lif Life P Projects • Growth chamber monitoring • Cattle tracking • Telemetry system at Yom River • Landslide monitoring in Krabi 16
Gr Growth C h Chamber hamber M Monit nitoring ing • Monitors temperature and humidity in a chamber for tissue culture sensor node sensor node sensor node 17
Gr Growth C h Chamber hamber M Monit nitoring ing 18
Ca Cattle Tracki king • Tracks and records cattle movements with GPS receiver 19 19
Ca Cattle tle Trac acking ing: Power er Manag anagemen ement https://www.cpe.ku.ac.th/~cpj/cattrack/kps.2018-06-11.html 20 20
Yo Yom River Telemetry • Collaborating with Royal Irrigation Department (RID), supported by JICA/JST • Problem: no cellular coverage at a telemetry station along the Yom River in Phrae Province 21
Yom River Telemetry: Design Yo 22
Lan Landslid lide M Monit itor • Collaborate with Geotechnical Engineering Research and Development Center (GERD), supported by JICA/JST • Two purposes ◦ Provide real-time alert and early warning for the villagers ◦ Provide field data for researchers 23
Khao Phanom, Krabi Province, Southern Thailand
Lan Landslid slide Monit itor: System m Ov Overvie iew KU Internet sensor Debris flow Long-range WiFi nodes detector Gateway Village Head Rain gauge Village Area Relay Network Observation area 25
Lan Landslid slide Monit itor: Ob Obse servatio tion Areas as • Rain gauge installation • Debris flow detector installation 26
Lan Landslid lide M Monit itor: R : Rela lay No Nodes 27
Lan Landslid lide M Monit itor: R : Rela lay Ne Network • IEEE 802.15.4 @2.4GHz Gateway Sensor Node 28
Lan Landslid lide M Monit itor: Lo : Long-Ra Range Link • IEEE 802.11 (Wi-Fi) @5GHz Long-range WiFi Gateway @Foothill ~4km Village Head 29
Lan Landslid lide M Monit itor: W : War arnin ing R Report Accumulation Condition Risk Level Period < 100 mm. Low 1 day ≥ 100 mm. High < 300 mm. Low 3 days ≥ 300 mm. High 30
Lan Landslid lide M Monit itor: D : Deplo loyme ment 31
De Demon onstration on: : MQTT • Install MQTT software on your mobile devices MyMQTT (for Android) MQTTool (for iOS) 32
Content-Ce Co Centri ric Networki rking Mo Model Internet Interest Interest D a a t t a a D 33
Quic Quick O Over ervie iew o of M f MQTT MQTT – M essage Q ueue T elemetry T ransport p u b l i s h T o p i c : o f f i c V a e / l r u o MQTT Broker e o : m 2 2 / 6 t e m p e b r i c b s u s Topic: office/room2/temp office/room2/temp = 26 p m e b e t i r / c + s / b e u c s i office/room2/temp = 26 f f o : c i p o T 34
Recommend
More recommend