Difference between revisions of "Central Node"
(48 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The Central Node is a stationery sensor system consisting an array of <span acronym-label="iot" acronym-form="singular+full">iot</span> sensors which is an extensible platform in which many newer sensors can be adopted into. The source code for the Central Node as well as most <span acronym-label="mints" acronym-form="singular+abbrv">mints</span> projects are open source and is available at https://github.com/mi3nts. | The Central Node is a stationery sensor system consisting an array of <span acronym-label="iot" acronym-form="singular+full">iot</span> sensors which is an extensible platform in which many newer sensors can be adopted into. The source code for the Central Node as well as most <span acronym-label="mints" acronym-form="singular+abbrv">mints</span> projects are open source and is available at https://github.com/mi3nts. | ||
− | + | The design of the system consists of nine main components and they are explained below. | |
− | The design of the system consists of nine main components and they are explained below. | + | [[File:centralNodeX.jpg|thumb|Central Node|alt=|500x500px]] |
− | |||
==Main Module== | ==Main Module== | ||
+ | <gallery mode="packed-overlay" style="text-align:left"> | ||
+ | File:ODROID XU4 001.png|Odroid XU4 | ||
+ | File:Arduinonano.png|Arduino Nano | ||
+ | File:Geiber board j305by tube.jpg|Radiation Sensor | ||
+ | </gallery>The Main Module contains an Odroid XU4 which is one of 3 single board computers used within the Central Node. The XU4 is a miniature (82 x 58 x 22 mm) single board computer consisting a Samsung Exynos 5422 Cortex™-A15 2 GHz and Cortex™-A7 Octa-core <span acronym-label="cpu" acronym-form="singular+full">cpu</span>. The powerful <span acronym-label="cpu" acronym-form="singular+abbrv">cpu</span> makes it an ideal device for edge computing. Some relevant examples with the use of edge computing are exploited within the <span acronym-label="mints" acronym-form="singular+abbrv">mints</span> platform. Communication with external data storage servers for the Central Node is handled by the XU4 via its ethernet port. The XU4 can be ran either on Android or Ubuntu operating systems. For the Central Node, Ubuntu 16.04.6 LTS operating system is utilized. | ||
− | + | The Main Module also houses a radiation sensor board with Geiger-Müller tube that detects Beta and Gamma radiation. The radiation sensor is connected to an Arduino Nano micro-controller with an ATmega328 <span acronym-label="cpu" acronym-form="singular+abbrv">cpu</span>. Arduino is a software and hardware company which develops simplified micro-controllers which are commonly coded through the C programming language . Together with the Arduino Nano device which is connected to the radiation module, Arduino Nanos within the Air Module & the Light Module as well as the GPS Module module and the Ozone Module uses RS-232 serial interface to communicate with the XU4. | |
− | + | == Air Module== | |
− | The Main Module also houses a radiation sensor board with Geiger-Müller tube that detects Beta and Gamma radiation. The radiation sensor is connected to an Arduino Nano micro-controller with an ATmega328 <span acronym-label="cpu" acronym-form="singular+abbrv">cpu</span>. Arduino is a software and hardware company which develops simplified micro-controllers which are commonly coded through the C programming language . Together with the Arduino Nano device which is connected to the radiation module, Arduino Nanos within the | + | <gallery mode="packed-overlay" style="text-align:left"> |
− | + | File:OPCN3.jpg|OPC-N3 | |
− | ==Air Module== | + | File:HM3301.jpg|HM3301 |
− | + | File:Scd30.jpg|SCD30 | |
− | The Air Module hosts a package consisting particulate and climate sensors. The module consists of a solar radiation shield which protects the package from climate elements while maintaining proper air flow through the sensors. The package hosts a standardized commercial <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> sensor ([[:File:OPCN3.jpg|Alpha Sense OPC-N3]]) as well as a cheaper commercial <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> sensor (Grove - Laser PM< | + | File:BME280.jpg|BME280 |
+ | File:Mgs001.jpg|MiCS-6814 | ||
+ | </gallery>The Air Module hosts a package consisting particulate and climate sensors. The module consists of a solar radiation shield which protects the package from climate elements while maintaining proper air flow through the sensors. The package hosts a standardized commercial <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> sensor ([[:File:OPCN3.jpg|Alpha Sense OPC-N3]]) as well as a cheaper commercial <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> sensor (Grove - Laser PM<sub>2.5</sub> Sensor ([[:File:HM3301.jpg|HM3301]]). Furthermore, the package consists of inexpensive gas sensors capable of gaining estimates of CO<sub>2</sub> ([[:File:Scd30.jpg|SCD30]]), CO, NO<sub>2</sub>, C<sub>2</sub>H<sub>6</sub>OH, H<sub>2</sub>, NH<sub>3</sub>, CH<sub>4</sub>, C<sub>3</sub>H<sub>8</sub> and C<sub>4</sub>H<sub>10</sub> concentrations ([[:File:Mgs001.jpg|MiCS-6814]]). To help with <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> calibrations, a climate data sensor ([[:File:BME280.jpg|BME280]]) is also included in the Air Module. | ||
==Light Module== | ==Light Module== | ||
+ | <gallery mode="packed-overlay" style="text-align:left"> | ||
+ | File:UsbWebcam.jpg|Camera | ||
+ | File:As7262.jpg|AS7262 | ||
+ | File:TSL2591.jpg|TSL2591 | ||
+ | File:VEML6075.jpg|VEML6075 | ||
+ | File:TMG39931.jpg|TMG39931 | ||
+ | File:Sunlight.jpg|SI114X | ||
+ | File:Light.jpg|LM358 | ||
+ | File:Luminance.jpg|APDS9002 | ||
+ | File:UVSensor.jpg|GUVAS12D | ||
+ | File:Arduinonano.png|Arduino Nano | ||
+ | </gallery> | ||
+ | It is a well known fact that clues on air quality, weather and climate data can be gained by the measurement of ambient light levels as well as from cloud/sky images. Thus the light module includes an array of light sensors capable of detecting intensity peaks within wavelength ranges of 300-1,100 nm as well as a skyward facing 5 Megapixel CMOS (Complimentary Metal Oxide Semiconductor) sensor ([[:File:UsbWebcam.jpg|USB Web Cam]]) for high definition image capture capable of taking photos of up to 2592 (H) x 1944 (V) pixels in resolution. The camera is placed to look up at the sky and is expected to provide insights in links between the color of the sky, the cloud percentage and <span acronym-label="pm" acronym-form="singular+abbrv">pm</span>. | ||
− | + | == Ozone Module == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[File: | + | The Ozone Module contains an <span acronym-label="fem" acronym-form="singular+abbrv">fem</span> monitor (2B Technologies 108-L: figure [[#fig:ozoneModule|4.3]]), which is a laser based Ozone sensor. The monitor is a measurement device distributed by 2B Technologies ([[https://www.twobtech.com |https://www.twobtech.com ]]) and also measures temperature and pressure every 2 seconds. The measurement technique for this <span acronym-label="fem" acronym-form="singular+abbrv">FEM</span> instrument is described in below. |
+ | [[File:twobtech.png|thumb|Ozone Module (2B Technologies 108-L)|alt=]] | ||
− | + | === Ozone Measurement === | |
− | |||
− | ===Ozone Measurement=== | ||
While stratospheric Ozone shields human life from harmful UV radiation, within the lower atmosphere, Ozone formation is unfavorable for human life . As such, scientific methods have been introduced for the measurement of Ozone . The 2B Technologies 108-L used on the ''Ozone Module'' uses Optical Absorption Spectroscopy as its measuring technique. | While stratospheric Ozone shields human life from harmful UV radiation, within the lower atmosphere, Ozone formation is unfavorable for human life . As such, scientific methods have been introduced for the measurement of Ozone . The 2B Technologies 108-L used on the ''Ozone Module'' uses Optical Absorption Spectroscopy as its measuring technique. | ||
− | The working principle of the optical setup utilizes the Beer Lambert Law | + | The working principle of the optical setup utilizes the Beer Lambert Law shown in the equation below. <math display="block"> |
− | I = I_{0} e^{-\alpha lC}</math> Here, <math display="inline">\alpha</math> is the coefficient of absorption at 254 <math display="inline">nm</math> (<math display="inline">\alpha</math> = 30 <math display="inline">\pm</math> 4 atm<math display="inline">^{-1}</math> cm<math display="inline">^{-1}</math>), l is the optical path length, and <math display="inline">C</math> is the Ozone concentration. Solving equation | + | I = I_{0} e^{-\alpha lC}</math> Here, <math display="inline">\alpha</math> is the coefficient of absorption at 254 <math display="inline">nm</math> (<math display="inline">\alpha</math> = 30 <math display="inline">\pm</math> 4 atm<math display="inline">^{-1}</math> cm<math display="inline">^{-1}</math>), l is the optical path length, and <math display="inline">C</math> is the Ozone concentration. Solving equation the above equation, we get the Ozone concentration : <math display="block"> |
− | + | C(g/ m^{3}) = \frac{10^{6}}{\alpha l} \frac{M}{N_{A}} ln\left(\frac{I}{I_{0}}\right) \frac{P_{s}T}{T_{s}{p}}</math> | |
Here, <math display="inline">P</math> is the pressure within the absorption path (<math display="inline">bar</math>), <math display="inline">T</math> is the temperature within the absorption path (<math display="inline">K</math>), <math display="inline">M</math> is the molecular mass of Ozone (<math display="inline">g/mole</math>), <math display="inline">N_A</math> is Avogadro’s number, <math display="inline">P_s</math> is standard pressure (1.01325 <math display="inline">bar</math>), and <math display="inline">T_s</math> is standard temperature (273.15 K). | Here, <math display="inline">P</math> is the pressure within the absorption path (<math display="inline">bar</math>), <math display="inline">T</math> is the temperature within the absorption path (<math display="inline">K</math>), <math display="inline">M</math> is the molecular mass of Ozone (<math display="inline">g/mole</math>), <math display="inline">N_A</math> is Avogadro’s number, <math display="inline">P_s</math> is standard pressure (1.01325 <math display="inline">bar</math>), and <math display="inline">T_s</math> is standard temperature (273.15 K). | ||
==Sound and Lightning Module== | ==Sound and Lightning Module== | ||
+ | <gallery mode="packed-overlay" style="text-align:left"> | ||
+ | File:SEN0232.png|SEN0232 | ||
+ | File:DP-LM20GP.png|DPLM20GP | ||
+ | File:SEN0290.jpg|SEN290 | ||
+ | File:Arduinonano.png|Arduino Nano | ||
+ | </gallery> | ||
Urban environments are host to many environmental pollution factors. One of which is considered to be sound pollution . To mitigate and study such environments, <span acronym-label="it" acronym-form="singular+full">it</span> based sensor systems are introduced . Despite the fact that microphones and noise sensors are relatively small in size and cheap, they tend not to be affected by weather conditions such as rain and fog. Thus, sound sensing is less affected by weather and is ideal for smart city deployments. describes two main uses of sound analysis: | Urban environments are host to many environmental pollution factors. One of which is considered to be sound pollution . To mitigate and study such environments, <span acronym-label="it" acronym-form="singular+full">it</span> based sensor systems are introduced . Despite the fact that microphones and noise sensors are relatively small in size and cheap, they tend not to be affected by weather conditions such as rain and fog. Thus, sound sensing is less affected by weather and is ideal for smart city deployments. describes two main uses of sound analysis: | ||
− | #Audio Surveillance: | + | #Audio Surveillance: Under regular circumstances, surveillance of urban environments is done using video cameras, and such systems would not cover the vast expanses that are in need of protection. However, audio surveillance can be used in detection of fights, gunshots and intrusions with limited resources and with more coverage. |
− | Under regular circumstances, surveillance of urban environments is done using video cameras, and such systems would not cover the vast expanses that are in need of protection. However, audio surveillance can be used in detection of fights, gunshots and intrusions with limited resources and with more coverage | ||
− | |||
− | |||
− | In an attempt to elevate research on sound and audio processing the Sound and Lightning Module hosts a microphone ( | + | #Noise Monitoring: Millions of Americans are exposed to sound pollution and are experiencing the negative health effects of sound pollution such as stress, sleep deprivation and hearing loss . Hence, it is imperative that public ordinances which try to regulate noise levels are introduced. |
+ | In an attempt to elevate research on sound and audio processing the Sound and Lightning Module hosts a microphone ([[:File:DP-LM20GP.png|DLM20GP]]) as well as an ambient noise level sensor ([[:File:SEN0232.png|SEN0232]]), both of which are connected to a [[:File:JetsonNano.jpg|Jetson Nano]] device for real time edge processing of audio events. Lightning detection using IOT devices are a relatively novel concept. Using a back-end big data environment, lighting detection and analysis can be successfully implemented . The Sound and Lightning model uses a DFRobot Lightning Distance Sensor ([[:File:SEN0290.jpg|SEN0290]]) which utilizes both an AMS AS3935 Franklin lightning sensor IC and a MA5532-AE antenna to detect and determine lightning distance respectively. | ||
==LoRa Module== | ==LoRa Module== | ||
− | + | <gallery mode="packed-overlay" style="text-align:left"> | |
− | The Central Node is a central gateway for a mesh network of LoRa sensors described | + | File:JetsonNano.jpg|Jetson Nano |
+ | File:RasberryPi.jpg|Raspberry Pi | ||
+ | File:LoraWanGateway.jpg|LoRa Gateway | ||
+ | File:HardDrive.jpg|Storage Drive | ||
+ | File:Switch.jpg|Ethernet Switch | ||
+ | </gallery>The Central Node is a central gateway for a mesh network of LoRa sensors described [[LoRa Node|here]]. The basic operations of the LoRa gateway is handled by a Raspberry Pi3 Model B . The Raspberry Pi is favored by many for <span acronym-label="iot" acronym-form="singular+abbrv">IOT</span> applications . The Pi on the Central Node runs Linux and has a Quad Core 1.2 GHz Broadcom BCM2837 64 bit <span acronym-label="cpu" acronym-form="singular+abbrv">CPU</span>. The Pi also has 1 GB of RAM and is equipped with on board WiFi, LAN and Bluetooth modules. The 40-pin extended GPIO on the PI is used as the bridge for the LoRa Gateway. The '''LoRa''' module also contains a Jetson Nano which is the third single board computer housed within the Central Node. The [[:File:JetsonNano.jpg|Jetson Nano]] contains a <span acronym-label="gpu" acronym-form="singular+abbrv">gpu</span> containing 128 cores and a <span acronym-label="cpu" acronym-form="singular+abbrv">cpu</span> of 1.43 GHz that makes it ideal for projects based on computer vision and audio related analysis. And hence the upward facing camera as well as the microphones are directly connected to the Jetson Nano. To provide reliable internet connectivity for the 3 hosts, a low power consumption 5-Port switcHis used. The switch is capable of connecting up to 5 devices to the internet for critical applications in hazardous environments. As such, it is ideal for future updates of the Central Node which may contain more single board computers. | ||
==Power Module== | ==Power Module== | ||
+ | <gallery mode="packed-overlay" style="text-align:left"> | ||
+ | File:AcDC.jpg|AC/DC Converter | ||
+ | File:12v.jpg|24 V to 12 V step down converter | ||
+ | File:5v.jpg|24 V to 5 V step down converter | ||
+ | </gallery>The Power Module takes care of the power requirements for the whole system. The module consists of a 24 V AC/DC converter, 24 V to 5 V step down voltage converter, and a 24 V to 12 V step down voltage converter. | ||
− | + | == GPS Module== | |
− | + | <gallery mode="packed-overlay" style="text-align:left"> | |
− | + | File:Gps.jpg|GPS Module | |
− | + | </gallery>The GPS Module lies on top of the Air Module and consists of a <span acronym-label="gps" acronym-form="singular+full">GPS</span>, which is a waterproof device that provides location coordinates as well as other outputs such as speed and altitude. The data is provided under the NMEA standards and is read by the XU4 via a <span acronym-label="usb" acronym-form="singular+abbrv">usb</span> RS-232 serial port. | |
− | The GPS Module lies on top of the | ||
− | |||
− | |||
− | When calibrating <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> sensors, climate data such as temperature, pressure and humidity play a vital role. And hence its extremely important to have a reference grade weather station. This role on the central node is played by the Airmar Weather Station . | + | ==AirMar Weather Station== |
+ | <gallery mode="packed-overlay" style="text-align:left"> | ||
+ | File:Airmar.jpg|Airmar Weather Station | ||
+ | </gallery>When calibrating <span acronym-label="pm" acronym-form="singular+abbrv">pm</span> sensors, climate data such as temperature, pressure and humidity play a vital role. And hence its extremely important to have a reference grade weather station. This role on the central node is played by the Airmar Weather Station . |
Latest revision as of 20:12, 5 May 2021
The Central Node is a stationery sensor system consisting an array of iot sensors which is an extensible platform in which many newer sensors can be adopted into. The source code for the Central Node as well as most mints projects are open source and is available at https://github.com/mi3nts. The design of the system consists of nine main components and they are explained below.
Main Module
The Main Module contains an Odroid XU4 which is one of 3 single board computers used within the Central Node. The XU4 is a miniature (82 x 58 x 22 mm) single board computer consisting a Samsung Exynos 5422 Cortex™-A15 2 GHz and Cortex™-A7 Octa-core cpu. The powerful cpu makes it an ideal device for edge computing. Some relevant examples with the use of edge computing are exploited within the mints platform. Communication with external data storage servers for the Central Node is handled by the XU4 via its ethernet port. The XU4 can be ran either on Android or Ubuntu operating systems. For the Central Node, Ubuntu 16.04.6 LTS operating system is utilized.
The Main Module also houses a radiation sensor board with Geiger-Müller tube that detects Beta and Gamma radiation. The radiation sensor is connected to an Arduino Nano micro-controller with an ATmega328 cpu. Arduino is a software and hardware company which develops simplified micro-controllers which are commonly coded through the C programming language . Together with the Arduino Nano device which is connected to the radiation module, Arduino Nanos within the Air Module & the Light Module as well as the GPS Module module and the Ozone Module uses RS-232 serial interface to communicate with the XU4.
Air Module
The Air Module hosts a package consisting particulate and climate sensors. The module consists of a solar radiation shield which protects the package from climate elements while maintaining proper air flow through the sensors. The package hosts a standardized commercial pm sensor (Alpha Sense OPC-N3) as well as a cheaper commercial pm sensor (Grove - Laser PM2.5 Sensor (HM3301). Furthermore, the package consists of inexpensive gas sensors capable of gaining estimates of CO2 (SCD30), CO, NO2, C2H6OH, H2, NH3, CH4, C3H8 and C4H10 concentrations (MiCS-6814). To help with pm calibrations, a climate data sensor (BME280) is also included in the Air Module.
Light Module
It is a well known fact that clues on air quality, weather and climate data can be gained by the measurement of ambient light levels as well as from cloud/sky images. Thus the light module includes an array of light sensors capable of detecting intensity peaks within wavelength ranges of 300-1,100 nm as well as a skyward facing 5 Megapixel CMOS (Complimentary Metal Oxide Semiconductor) sensor (USB Web Cam) for high definition image capture capable of taking photos of up to 2592 (H) x 1944 (V) pixels in resolution. The camera is placed to look up at the sky and is expected to provide insights in links between the color of the sky, the cloud percentage and pm.
Ozone Module
The Ozone Module contains an fem monitor (2B Technologies 108-L: figure 4.3), which is a laser based Ozone sensor. The monitor is a measurement device distributed by 2B Technologies ([|https://www.twobtech.com ]) and also measures temperature and pressure every 2 seconds. The measurement technique for this FEM instrument is described in below.
Ozone Measurement
While stratospheric Ozone shields human life from harmful UV radiation, within the lower atmosphere, Ozone formation is unfavorable for human life . As such, scientific methods have been introduced for the measurement of Ozone . The 2B Technologies 108-L used on the Ozone Module uses Optical Absorption Spectroscopy as its measuring technique.
The working principle of the optical setup utilizes the Beer Lambert Law shown in the equation below.
Here, is the pressure within the absorption path (), is the temperature within the absorption path (), is the molecular mass of Ozone (), is Avogadro’s number, is standard pressure (1.01325 ), and is standard temperature (273.15 K).
Sound and Lightning Module
Urban environments are host to many environmental pollution factors. One of which is considered to be sound pollution . To mitigate and study such environments, it based sensor systems are introduced . Despite the fact that microphones and noise sensors are relatively small in size and cheap, they tend not to be affected by weather conditions such as rain and fog. Thus, sound sensing is less affected by weather and is ideal for smart city deployments. describes two main uses of sound analysis:
- Audio Surveillance: Under regular circumstances, surveillance of urban environments is done using video cameras, and such systems would not cover the vast expanses that are in need of protection. However, audio surveillance can be used in detection of fights, gunshots and intrusions with limited resources and with more coverage.
- Noise Monitoring: Millions of Americans are exposed to sound pollution and are experiencing the negative health effects of sound pollution such as stress, sleep deprivation and hearing loss . Hence, it is imperative that public ordinances which try to regulate noise levels are introduced.
In an attempt to elevate research on sound and audio processing the Sound and Lightning Module hosts a microphone (DLM20GP) as well as an ambient noise level sensor (SEN0232), both of which are connected to a Jetson Nano device for real time edge processing of audio events. Lightning detection using IOT devices are a relatively novel concept. Using a back-end big data environment, lighting detection and analysis can be successfully implemented . The Sound and Lightning model uses a DFRobot Lightning Distance Sensor (SEN0290) which utilizes both an AMS AS3935 Franklin lightning sensor IC and a MA5532-AE antenna to detect and determine lightning distance respectively.
LoRa Module
The Central Node is a central gateway for a mesh network of LoRa sensors described here. The basic operations of the LoRa gateway is handled by a Raspberry Pi3 Model B . The Raspberry Pi is favored by many for IOT applications . The Pi on the Central Node runs Linux and has a Quad Core 1.2 GHz Broadcom BCM2837 64 bit CPU. The Pi also has 1 GB of RAM and is equipped with on board WiFi, LAN and Bluetooth modules. The 40-pin extended GPIO on the PI is used as the bridge for the LoRa Gateway. The LoRa module also contains a Jetson Nano which is the third single board computer housed within the Central Node. The Jetson Nano contains a gpu containing 128 cores and a cpu of 1.43 GHz that makes it ideal for projects based on computer vision and audio related analysis. And hence the upward facing camera as well as the microphones are directly connected to the Jetson Nano. To provide reliable internet connectivity for the 3 hosts, a low power consumption 5-Port switcHis used. The switch is capable of connecting up to 5 devices to the internet for critical applications in hazardous environments. As such, it is ideal for future updates of the Central Node which may contain more single board computers.
Power Module
The Power Module takes care of the power requirements for the whole system. The module consists of a 24 V AC/DC converter, 24 V to 5 V step down voltage converter, and a 24 V to 12 V step down voltage converter.
GPS Module
The GPS Module lies on top of the Air Module and consists of a GPS, which is a waterproof device that provides location coordinates as well as other outputs such as speed and altitude. The data is provided under the NMEA standards and is read by the XU4 via a usb RS-232 serial port.
AirMar Weather Station
When calibrating pm sensors, climate data such as temperature, pressure and humidity play a vital role. And hence its extremely important to have a reference grade weather station. This role on the central node is played by the Airmar Weather Station .