<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Meena</title>
    <description>The latest articles on DEV Community by Meena (@meenamurali76).</description>
    <link>https://dev.to/meenamurali76</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1806101%2Fc011b533-9763-4631-a0ed-c03e140bfadf.jpg</url>
      <title>DEV Community: Meena</title>
      <link>https://dev.to/meenamurali76</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/meenamurali76"/>
    <language>en</language>
    <item>
      <title>Dark Factory - Smart Manufacturing of the Future</title>
      <dc:creator>Meena</dc:creator>
      <pubDate>Fri, 27 Sep 2024 15:59:50 +0000</pubDate>
      <link>https://dev.to/meenamurali76/dark-factory-smart-manufacturing-of-the-future-4dpm</link>
      <guid>https://dev.to/meenamurali76/dark-factory-smart-manufacturing-of-the-future-4dpm</guid>
      <description>&lt;p&gt;Industry 4.0 is buzzing word where manufacturing and information technology have joined hands together for digitalization. The People, machines and systems communicate in near real time with help of improvement in IoT field to enable autonomous production. &lt;/p&gt;

&lt;p&gt;One of the leading countries in digitalization has taken the leap in implementation of smart manufacturing with all trending technologies. This country has 2700 engineering firms manufacturing essential good in various industries like medical, aerospace and semi-conductors.&lt;/p&gt;

&lt;p&gt;The disruption in digital technologies had paved the way for dark factories which is termed as fully automated lights-out environment and is reality with Xiaomi’s dark factory. We term this as factory of future and with advancement of Robotics and established software like MOM (Manufacturing operations management), the complete lights-out factory conceptualization to implementation is very much possible.&lt;/p&gt;

&lt;p&gt;Businesses where human interferences are dangerous can reap the benefits of complete automation. Imagine scenarios of oil rig where spilling has to be measured in intricate places where sending humans is risk or consider scenarios where the condition to monitor causes health hazards for human. We can utilize robots to measure, monitor and intervene. Let us go through few use cases where dark factory concept can be applied.&lt;/p&gt;

&lt;p&gt;Most of scenarios involving Inspection cases where Robots can be helpful are as follows:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Identification of defects, corrosion, oil spill from large rigs&lt;/li&gt;
&lt;li&gt; Damages&lt;/li&gt;
&lt;li&gt; Erosion&lt;/li&gt;
&lt;li&gt; Broken parts causing production inefficiency in the lines&lt;/li&gt;
&lt;li&gt; Rust and many such defects depending on the product. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Safety surveillance with Robots involves below scenarios:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Intrusion detection - falling of objects from dark factory&lt;/li&gt;
&lt;li&gt; Trespassing danger zone &lt;/li&gt;
&lt;li&gt; Spill of harmful liquids and gases with temperature differences&lt;/li&gt;
&lt;li&gt; Machineries loose/damaged parts which causes harmful impacts to complete factory unit&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Below is the model Robot from Boston Dynamics that can be utilized for these use cases of dark factory implementation:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;     Photo credits to Boston Dynamics
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fki6ooa8camrhy1p43vus.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fki6ooa8camrhy1p43vus.jpg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let’s see how we implement this in AWS and details of the solution architecture.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4qgytmdzu5eyf8gh87x4.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4qgytmdzu5eyf8gh87x4.PNG" alt="Image description"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Spot from Boston Dynamics can capture local imagery with either its standard robot cameras, or with other custom cameras as per our preference. &lt;/p&gt;

&lt;p&gt;The captured imagery data can be inferenced by CV (Computer Vision) ML model. Detections from the ML inference can be stored in robot’s storage, until Spot reaches an area where a network connection is accessible. Technologies used for implementation are AWS IoT Greengrass 2.0 and Amazon SageMaker Edge Manager. ML models are deployed to a Spot that operates with intermittent network connectivity to Edge since it will be travelling to intricate places.&lt;/p&gt;

&lt;p&gt;Data from Spot camera feeds are continuously streamed through device gateway to AWS IoT Core. We have considered edge gateway that connects to cameras and the device data are directed to AWS IoT Core. Edge gateway has AWS Greengrass runtime and lambda functions, and the photos are transferred from Edge’s storage to AWS S3 through lambda functions. &lt;/p&gt;

&lt;p&gt;The feeds and real-time photos are stored in time series folder in AWS S3 and the location of photos along with metadata are stored in DynamoDB. Admin dashboards are created using Grafana where alerts as well as quality of images that has been predicted can be constantly viewed by the administrator.&lt;/p&gt;

&lt;p&gt;Historical data about the manufacturing site with millions of photos are captured. The real time photos that are stored in S3 as well the historical images provided by our customer in S3 are analyzed with AWS Glue. The curated data is stored in AWS S3 for labelling and AWS SageMaker labeling job is created where AWS GroudTruth is utilized for labeling. The labeled data is stored again in S3. This data is split into training (80%) and test (20%) data. The CV algorithm which was custom built for our scenarios are trained with data stored in S3 using GPU. Once the training is completed, the model is tested for accuracy with test data. &lt;/p&gt;

&lt;p&gt;The model predictions are validated and once the desired accuracy is achieved, the model is published to Spot for inferencing. The models are inferenced, and results are sent to AWS IoT Core.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Unveiling the myth of Unified Namespace (UNS) and implementing with AWS Native Services</title>
      <dc:creator>Meena</dc:creator>
      <pubDate>Fri, 27 Sep 2024 06:55:41 +0000</pubDate>
      <link>https://dev.to/meenamurali76/unveiling-the-myth-of-unified-namespace-uns-and-implementing-with-aws-native-services-3j59</link>
      <guid>https://dev.to/meenamurali76/unveiling-the-myth-of-unified-namespace-uns-and-implementing-with-aws-native-services-3j59</guid>
      <description>&lt;p&gt;A unified namespace is termed as single source of truth or golden record for Industrial IoT data. It is based on ISA 95 model standards combined with the way the data is contextualized and stored in database with modern data platforms set up. It is a centralized repository with hierarchical data about the IIOT system.&lt;/p&gt;

&lt;p&gt;In a typical IoT manufacturing system, the devices are named differently in each of the systems like MES, SCADA, ERP and Historian. Providing a unified namespace across all systems replacing ISA-95 hierarchy improves the system performance by cutting out the middlemen.&lt;/p&gt;

&lt;p&gt;The inspiration of Unified Namespace is from distributed architecture paradigm where instead of having data existing in silos across all layers of technology, access it a unified way so that it remains the same everywhere. The naming convention should also reflect the business from top level down to a device in shop floor. Also, the name should reflect all events that had happened in the business to a particular device. To consider an example, the hierarchy should reflect the organization, division, Production line, device name and events such as drop in production line efficiency in a device. All of it together is considered as Unified Namespace.&lt;/p&gt;

&lt;p&gt;Ideally the communication protocol is MQTT and traditionally this MQTT points to a central repository of information that has the hierarchical enterprise structure, and it used to publish the events for that data. So, the most common pattern is to implement UNS in an MQTT broker. MQTT broker receives messages published by clients, filters the messages and publishes to subscribers. Though it is easy to implement MQTT since the events are handled, it does not hold the history of information which mandates us to choose a database or data warehouse. A database can hold historical data, but mainly it should contextualize the data to act as Unified Namespace.&lt;/p&gt;

&lt;p&gt;Let’s see the logical architecture for typical UNS implementation:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyai26x7kguinm7ywd2bq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyai26x7kguinm7ywd2bq.PNG" alt="Image description" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now that we are familiarized with the concept of Unified Namespace, it is also essential that we need to build a comprehensive real-time modern data platform as depicted in the logical architecture to bring single source of truth for the industrial data and store it in a database to consider it as UNS database.&lt;/p&gt;

&lt;p&gt;The AWS Native Architecture supporting UNS implementation is as below:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0le50j0ra8mzc1kz03on.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0le50j0ra8mzc1kz03on.PNG" alt="Image description" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the above architecture, we have devices, MES/ERP, PLC, SCADA and Historian constantly streaming data from devices to AWS IoT Core where AWS IoT Greengrass acts as an edge gateway. The edge gateway is built with the capability of sending real-time data directly to AWS IoT Core. &lt;/p&gt;

&lt;p&gt;An IoT Core rule is configured to stream the data to AWS Kinesis streams and performs in-stream processing and transformation using Kinesis Data Analytics and streamed to Kinesis Data Firehose. The data is standardized, contextualized, analyzed, and transformed using Amazon Kinesis services which serves as backbone for UNS.&lt;/p&gt;

&lt;p&gt;Then the real-time transformed data is stored in Amazon TimeStream for Influx DB through Kinesis Data Firehose, and this is considered as Unified Namespace Database. &lt;br&gt;
Real time dashboards are created in AWS Managed services for Grafana.&lt;/p&gt;

&lt;p&gt;Raw telemetry data is stored in Datalake(S3). The historical data is transferred from the On-premises historian and data stores to AWS S3 through AWS DataSync where DataSync agents are installed On-premises to do the job. Data in S3 is cleaned, processed, and transformed using AWS Glue. This transformed data is then used to create reports and dashboards in Grafana. The data is utilized for predictive analytics where ML models are deployed in AWS SageMaker.&lt;/p&gt;

&lt;p&gt;AWS CloudWatch is configured with the required metrics for consistent monitoring. CloudWatch dashboards are created, and the infra engineers can monitor the complete AWS native services.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>uns</category>
      <category>awsiot</category>
      <category>awsbigdata</category>
    </item>
  </channel>
</rss>
