Difference between revisions of "PMQ Architecture"

From ESS-WIKI
Jump to: navigation, search
 
(29 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
    Advantech PMQ solution includes the '''deployment '''of the trained model to '''make predictions''' and '''visualization '''UI and '''recommendations '''for corresponding strategies. The objective is to provide software developers basic concepts and better understating of PMQ deployment and to be '''more effective''' to bring your predictive model to production with Advantech PMQ architecture.
 
    Advantech PMQ solution includes the '''deployment '''of the trained model to '''make predictions''' and '''visualization '''UI and '''recommendations '''for corresponding strategies. The objective is to provide software developers basic concepts and better understating of PMQ deployment and to be '''more effective''' to bring your predictive model to production with Advantech PMQ architecture.
  
==      ==
+
 
  
 
== Edge Intelligence ==
 
== Edge Intelligence ==
Line 31: Line 31:
 
     Advantech’s focus is on edge device development, to ensure that the EIS software suite includes the southbound sensing device connectivity that handles diverse sensing protocols such as Modbus, OPC, BACnet, Wireless IP/NonIP, and so on. Those protocols are plugin modules that take care of sensor data, data normalization, and communication The EIS mainly handles the northbound cloud connectivity and intelligence facilities; these are based on the micro service container to modularize the different cloud connections and device management.
 
     Advantech’s focus is on edge device development, to ensure that the EIS software suite includes the southbound sensing device connectivity that handles diverse sensing protocols such as Modbus, OPC, BACnet, Wireless IP/NonIP, and so on. Those protocols are plugin modules that take care of sensor data, data normalization, and communication The EIS mainly handles the northbound cloud connectivity and intelligence facilities; these are based on the micro service container to modularize the different cloud connections and device management.
  
<span style="font-size:large;">'''* Data Analytics / Deploy / Upgrade'''</span>
+
<span style="font-size:large;">'''* Big Data Storage and Analytics'''</span>
 +
 
 +
'''<font size="4">&nbsp;</font>'''<span style="font-size:small;">Edge Intelligence Server collects data and sends to WISE-PaaS then storages&nbsp;in NoSQL DB. WISE-PaaS&nbsp;provides rich REST APIs to aquire data for data pre-process and analysis.&nbsp;</span>
  
 
<span style="font-size:large;">'''* Visualization & Maintenance'''</span>
 
<span style="font-size:large;">'''* Visualization & Maintenance'''</span>
 +
 +
<span style="font-size:large;">'''&nbsp; &nbsp;* Deploy / Upgrade by OTA'''</span>
  
 
<span style="font-size:large;">'''* Event / Action&nbsp;'''</span>
 
<span style="font-size:large;">'''* Event / Action&nbsp;'''</span>
Line 87: Line 91:
 
[[File:2017-08-11 165747.png|RTENOTITLE]]
 
[[File:2017-08-11 165747.png|RTENOTITLE]]
  
= How To =
+
5. Alert and&nbsp;Suggestion of HDD PMQ&nbsp;
  
== Visualization and Maintenance with WISE-PaaS/RMM ==
+
{| border="1" cellspacing="1" cellpadding="1"
 +
|-
 +
|
 +
#of Event
  
If Advantech PMQ service running on edge device. There will have a&nbsp; PMQ icon ( RED&nbsp;frame ) as below picture on WISE-PaaS/RMM device manager. To&nbsp;click this icon and pop up PMQ UI page as Fig2.
+
| Event Message
 +
| Suggestion ( Action ) Message
 +
| Condition
 +
|-
 +
| 1
 +
| Over temperature
 +
|
 +
Lower system temperature (<40°C)
  
[[File:PMQ UI 0.jpg|1400x900px|WISE-PaaSToPMQ]]
+
| smart5 >= 10 &#124;&#124; smart197 >= 2
 +
|-
 +
| 2
 +
| Disk aging.
 +
| Backup data to new disk.
 +
| smart9 >= 26280
 +
|-
 +
| 3
 +
| Disk read/writes error frequently.
 +
|
 +
Backup data to new disk.
  
[[File:PMQ UI 1.jpg|1400x900px|PMQ UI]]
+
| smart187 >= 1
 +
|-
 +
| 4
 +
| Power failure
 +
| Check power source
 +
| smart192 >= 190
 +
|}
  
'''Status'''
+
= How To =
<pre>  Name: Device Name ( e.g. Disk Name )
 
  
  Status: Health status&nbsp;: Good, Normal, Bad
+
&lt;parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black"&gt;
  
  Confidence Level: Confidence level of the predictive algorithm
+
=== This page contains the following errors: ===
 +
<div style="font-family:monospace;font-size:12px">error on line 1 at column 720: attributes construct error</div>
 +
=== Below is a rendering of the page up to the first error. ===
  
  Trend: Better, Even, Worse</pre>
+
&lt;/parsererror&gt;
  
'''Latest Event'''
+
== Visualization and Maintenance with WISE-PaaS/RMM ==
<pre> Time: Event Trigger Time
 
  
Error Event: Which root cause to predictive device failure.
+
If Advantech PMQ service running on edge device. There will have a&nbsp; PMQ icon ( RED&nbsp;frame ) as below picture on WISE-PaaS/RMM device manager. To&nbsp;click this icon then pop up PMQ Dialog as "Predictive Goo/Failure".
  
Suggestion: What suggestion for this event happening.
+
[[File:PMQ UI 0.jpg|1400x900px|WISE-PaaSToPMQ]]
  
Action: User can triger an action from remote WISE-PaaS/RMM Cloud site.</pre>
 
  
'''Model Information'''
 
<pre> Current Version: Current version of PMQ model
 
  
Newest Version: There are a new PMQ model package in WISE-PaaS/RMM.
+
'''<span style="font-size:large;">Health: Good: (100% ~ 46&nbsp;%), Warning: ( 45% ~ 34%), Bad: ( 33% ~ 0% )</span>'''
  
Upgrade: Button to upgrade PMQ model to new version.
+
[[File:PMQ UI 1.jpg|1400x900px|Predictive Good]]
  
Configuration
+
[[File:PMQ UI 2.jpg|1400x900px|Predictive Failure]]
  Name: Name of PMQ's parameter
 
&nbsp;  Value: The value of parameter
 
&nbsp;  Unit: The unit of parameter
 
&nbsp;  Setting: Set button
 
&nbsp; 
 
</pre>
 
  
 
== Make a PMQ Service ==
 
== Make a PMQ Service ==
Line 147: Line 168:
 
Customer need modify the "agent_config.xml" follow below rule
 
Customer need modify the "agent_config.xml" follow below rule
 
<pre><DeviceName> &nbsp;: Plugin-Name ( ex: HDD_PMQ )
 
<pre><DeviceName> &nbsp;: Plugin-Name ( ex: HDD_PMQ )
<DevID>      &nbsp;: 000+<DeviceName>  => 16 char ( ex: 000000000HDD_PMQ )
+
<DevID>      &nbsp;: <DeviceName>  => ( ex: HDD_PMQ )
 
DevType      &nbsp;: Service ( Fixed ) </pre>
 
DevType      &nbsp;: Service ( Fixed ) </pre>
  
Line 158: Line 179:
 
<span style="font-size:large;">'''Nameing Rule:''' &nbsp; Please follow the name rule for PMQ OTA Installation Package.</span>
 
<span style="font-size:large;">'''Nameing Rule:''' &nbsp; Please follow the name rule for PMQ OTA Installation Package.</span>
  
<span style="font-size:larger;">&nbsp; &nbsp;Agent-'''<<span style="color:#FF0000;">ServiceName</span>>'''-'''<<span style="color:#FF0000;">Version</span>>'''-'''<<font color="#ff0000">md5-hash</font>>'''.zip</span> &nbsp;( Example: Agent-HDD_PMQ-v1.0.1-8977e5eb7862605fcfb0b45b1773158d.zip )
+
<span style="font-size:larger;">&nbsp; &nbsp;Agent_'''<<span style="color:#FF0000;">ServiceName</span>>'''_'''<<span style="color:#FF0000;">Version</span>>'''.zip</span> &nbsp;( Example: Agent_HDD_PMQ_1.0.1.zip )
  
 
== Install / Upgrade ==
 
== Install / Upgrade ==
  
== Data Format / Event / Action ==
+
<span style="font-size:larger;">'''Install HDD_PMQ Agent in Windows System'''</span>
  
&nbsp; &nbsp; Advantech defines 6 data categories for PMQ service. Use&nbsp;general JSON format suit for any PMQ solution. Customer can design&nbsp;his PMQ data format follow our rule in&nbsp;JSON. It is&nbsp;easy to integrate with Advantech EIS and WISE-PaaS/RMM.
+
Execute "Agent_HDD_PMQ.exe" to install the HDD_PMQ Agent, and follow the steps to finish the installation.
  
 +
[[File:HDD PMQ Install 1.png|RTENOTITLE]]
  
 +
[[File:HDD PMQ INSTALL 2.png|RTENOTITLE]]
  
<span style="font-size:larger;">'''Syntax for PMQ Data & Predictive Result'''</span>
+
[[File:HDD PMQ INSTALL 3.png|RTENOTITLE]]
  
&nbsp;&nbsp; &nbsp;<span style="color:#FF0000;">info</span>:&nbsp;<br/>&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#0000FF;">type</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: PMQ ( Fixed: must )<br/>&nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#0000FF;">name</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;: Name of this service &nbsp; &nbsp; &nbsp; &nbsp; ( must )<br/>&nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">description</span> &nbsp; &nbsp;: Description of this service &nbsp;( must )<br/>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<span style="color:#0000FF;">version</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: version of this service &nbsp; &nbsp; &nbsp;( must )
+
[[File:HDD PMQ INSTALL 4.png|RTENOTITLE]]
  
&nbsp; &nbsp; &nbsp; <span style="color:#0000FF;">confidence level</span> &nbsp; &nbsp;: confidence level of predictive algorithm ( must&nbsp;)
+
[[File:HDD PMQ INSTALL 5.png|RTENOTITLE]]
  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<span style="color:#0000FF;">update</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: receive update cmd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( option&nbsp;)<br/>&nbsp;&nbsp; &nbsp; &nbsp;*User-Defined&nbsp;: user can define its own tag&nbsp;: value&nbsp;
+
<span style="font-size:larger;">'''Install HDD_PMQ Agent in RMM 3.3 Agent Plus version in Windows System'''</span>
  
&nbsp;&nbsp;<br/>&nbsp;&nbsp; &nbsp;<span style="color:#FF0000;">data:</span> raw data of the PMQ service<br/>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;- *User-Defined ( in JSON Object )<br/>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;
+
'''[[File:AgentPlus 1.png|RTENOTITLE]]'''
  
&nbsp; &nbsp;<span style="color:#FF0000;">predict</span>: &nbsp;&nbsp; predict result
+
The&nbsp;'''RMM 3.3 Agent Plus&nbsp;'''installer provide three different type installations: Typical, Custom and Complete.
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; - <span style="color:#0000FF;">Failure rate</span>: failure rate&nbsp;of the prediction result in&nbsp;( 0 ~ 100&nbsp;% ) &nbsp;( must ) &nbsp;
+
[[File:AgentPlus 2.png|RTENOTITLE]]
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Please remapping your predict failure rate as below&nbsp;normalize range.
+
The '''RMM 3.3 Agent Plus'''&nbsp;include three program features:
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Level: Good ( <span style="color:#008000;">Green </span>): 0 ~ 54%, Warning&nbsp;( <span style="color:#FFD700;">Yellow </span>): 55&nbsp;~ 66%, &nbsp;Bad ( <span style="color:#FF0000;">Red </span>): 67 ~ 100%1<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
+
1. MQTT Broker for internal MQTT bus.
  
&nbsp; &nbsp;<span style="color:#FF0000;">event</span>: evnet of the PMQ Service<br/>&nbsp; &nbsp; &nbsp; &nbsp; - &nbsp;{"n":"e1","sv":"Hard disk long-term operation in more than 40°C or vibration environment.","actionlist":"a1", "asm":"r"}
+
2. RMM 3.3 Agent to communicate between WISE-PaaS/RMM Server and MQTT bus.
  
&nbsp;&nbsp;<span style="color:#FF0000;">action</span>: action of the PMQ service<br/>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;- {"n":"a1", "sv":"Please reduce the ambient temperature to 40 °C or less or operation at stable environment.", "asm":"r"}<br/>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;"ActionLog" &nbsp;"sv":"reboot + backup" &nbsp; &nbsp;&nbsp;:&nbsp;
+
3. HDD_PMQ Agent for HDD smart retrieve and PMQ caculate then report to MQTT bus.
  
&nbsp;&nbsp; <span style="color:#FF0000;">&nbsp;param</span>: parameters of the PMQ service<br/>&nbsp; &nbsp; &nbsp; &nbsp;- {"n":"predict period", "v":60, "asm":"r", "u":"sec", "min":10, "max":86400}
+
[[File:AgentPlus 3.png|RTENOTITLE]]
  
 +
[[File:AgentPlus 4.png|RTENOTITLE]]
  
 +
In rest to steps, the installer will trigger the MQTT Broker, RMM 3.3 Agent and HDD_PMQ Agent installer sequentially.
  
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;
+
[[File:AgentPlus MQTT .png|RTENOTITLE]]
  
'''Example of HDD PMQ Data Format'''
+
[[File:AgentPlus RMMAgent.png|RTENOTITLE]]
<pre>{
 
  "HDD_PMQ": {
 
      "info":{
 
            "e":[{"n":"type", "sv":"PMQ", "asm":"r"},
 
                  {"n":"name", "sv":"HDD_PMQ", "asm":"r"},
 
                  {"n":"description", "sv":"This service is HDD PMQ Service", "asm":"r"},
 
                  {"n":"version", "sv":"1.0.2", "asm":"r"},
 
                  {"n":"confidence level", "v":83.12, "asm":"r", "u":"%"},
 
                  {"n":"update", "sv":"", "asm":"rw"},
 
                  {"n":"eventNotify", "bv":true, "asm":"r"}],
 
          "bn":"info"
 
      },
 
  
      "data":{
+
The detail of RMM 3.3 Agent Installation is skipped to focused on RMM 3.3 Agent Plus Installation.
            "list":[{"bn":"WDC WD3200BUCT-63TWBY0","e":[{"n":"Smart 5","v":0,"min":0, "max":20, "thread":10, "u":"count", "msg":"Reallocated Sector Count", "asm":"r"},
 
                                                        {"n":"Smart 9", "v":128, "min":0, "max":35000, "thread":26280, "u":"hr", "msg":"Power-On Hours", "asm":"r"},
 
                                                        {"n":"Smart 187", "v":0, "min":0, "max":5, "thread":1, "u":"count", "msg":"Reported Uncorrectable Errors", "asm":"r"},
 
                                                        {"n":"Smart 192", "v":10, "min":0, "max":400, "thread":190, "u":"number", "msg":"Power-off Retract Count", "asm":"r"},
 
                                                        {"n":"Smart 197", "v":0, "min":0, "max":10, "thread":2, "u":"count", "msg":"Current Pending Sector Count", "asm":"r"},
 
                                                        {"n":"Smart 198", "v":2, "min":0, "max":40, "thread":10, "u":"count", "msg":"Uncorrectable Sector Count", "asm":"r"}]},
 
  
                    {"bn":"ST3500320AS0","e":[{"n":"Smart 5","v":1,"min":0, "max":20, "thread":10, "u":"count", "msg":"Reallocated Sector Count", "asm":"r"},
+
[[File:AgentPlus HDDPMQ.png|RTENOTITLE]]
                                              {"n":"Smart 9", "v":8832, "min":0, "max":35000, "thread":26280, "u":"hr", "msg":"Power-On Hours", "asm":"r"},
 
                                              {"n":"Smart 187", "v":0, "min":0, "max":5, "thread":1, "u":"count", "msg":"Reported Uncorrectable Errors", "asm":"r"},
 
                                              {"n":"Smart 192", "v":100, "min":0, "max":400, "thread":190, "u":"number", "msg":"Power-off Retract Count", "asm":"r"},
 
                                              {"n":"Smart 197", "v":0, "min":0, "max":10, "thread":2, "u":"count", "msg":"Current Pending Sector Count", "asm":"r"},
 
                                              {"n":"Smart 198", "v":5, "min":0, "max":40, "thread":10, "u":"count", "msg":"Uncorrectable Sector Count", "asm":"r"}]}],
 
          "bn":"data"
 
      },
 
  
      "predict":{
+
[[File:AgentPlus final.png|RTENOTITLE]]
                "list":[{"bn":"WDC WD3200BUCT-63TWBY0","e":[{"n":"Failure rate","v":20,"min":0, "max":100,"asm":"r"},
 
                                                            {"n":"hddpredict", "v":0.15, "min":0, "max":1, "thread":0.385, "asm":"r"}]},
 
                        {"bn":"ST3500320AS0","e":[{"n":"Failure rate","v":40,"min":0, "max":100,"asm":"r"},
 
                                                  {"n":"hddpredict", "v":0.25, "min":0, "max":1, "thread":0.385, "asm":"r"}]}],
 
          "bn":"predict"
 
      },
 
  
      "event":{
+
<span style="font-size:larger;">'''Update HDD_PMQ Agent'''</span>
                "e":[{"n":"e1","sv":"HDD back to Normal", "actionlist":"", "asm":"r"},
 
                    {"n":"e2","sv":"Over temperature.","actionlist":"a1", "asm":"r"},
 
                    {"n":"e3","sv":"Disk aging.","actionlist":"a2", "asm":"r"},
 
                    {"n":"e4","sv":"Disk read/writes error frequently.","actionlist":"a2", "asm":"r"},
 
                    {"n":"e5","sv":"Power failure.","actionlist":"a3", "asm":"r"}],
 
          "bn":"event"
 
      },
 
  
      "action": {
+
Upload Agent_HDD_PMQ-V1.0.xxx...zip OTA upgrade package to OTA Server.
                "e":[{"n":"a1", "bv":false, "msg":"Lower system temperature (<40 degree C ).", "asm":"r"},
 
                      {"n":"a2", "bv":false, "msg":"Backup data to new disk", "asm":"r"},
 
                      {"n":"a3", "bv":false, "msg":"Check power sourc.", "asm":"r"},
 
                      {"n":"ActionLog", "sv":"", "asm":"r"}],
 
          "bn":"action"
 
      },
 
  
      "param": {
+
[[File:Upload PMQ.png|1280px|Upload PMQ.png]]
                "e":[{"n":"update period", "v":10, "min":10, "max":3600, "asm":"rw", "u":"sec"},
 
                      {"n":"enable update", "bv":true, "asm":"rw"}],
 
          "bn":"param"
 
      },
 
     
 
      "opTS":{"$date":1494554251000}
 
  },
 
  
  "bn":"HDD_PMQ"
+
[[File:Upload PMQ 1.png|1280px|Upload PMQ 1.png]]
  
}</pre>
+
Select HDD_PQM Update Package to upgrade target devices.
  
== Syntax for EventNotify ==
+
[[File:Upload PMQ 2.png|800px|RTENOTITLE]]
  
'''PMQ severity&nbsp;: 4 Warning'''
+
[[File:Upload PMQ 3.png|800px|RTENOTITLE]]
<pre>severity:
 
      Severity_Emergency = 0,
 
      Severity_Alert = 1,
 
      Severity_Critical = 2,
 
      Severity_Error = 3,
 
      Severity_Warning = 4,
 
      Severity_Informational = 5,
 
      Severity_Debug = 6,
 
  
subtype: predict</pre>
+
[[File:Upload PMQ 4.png|800px|RTENOTITLE]]
  
'''Example&nbsp;: Predict Fail event'''
+
[[File:Upload PMQ 5.png|800px|RTENOTITLE]]
<pre>{
 
    "susiCommData": {
 
        "commCmd": 2059,
 
        "requestID": 2001,
 
        "agentID": "AAAAA",
 
        "handlerName": "general",
 
        "sendTS": 1453356274,
 
        "eventnotify": {
 
            "subtype": "predict",
 
            "msg": "Hard disk long-term operation in more than 40°C or vibration environment.",
 
            "severity": 4,
 
            "handler": "HDD_PMQ",
 
            "extMsg": {
 
                "n": "WDC WD3200BUCT-63TWBY0",
 
                "eventID":"e2"
 
            }
 
        }
 
    }
 
}</pre>
 
  
'''Example: Predict back to Good event'''
+
[[File:Upload PMQ 6.png|800px|RTENOTITLE]]
<pre>{
 
    "susiCommData": {
 
        "commCmd": 2059,
 
        "requestID": 2001,
 
        "agentID": "AAAAA",
 
        "handlerName": "general",
 
        "sendTS": 1453356274,
 
        "eventnotify": {
 
            "subtype": "predict",
 
            "msg": "HDD back to Normal",
 
            "severity": 5,
 
            "handler": "HDD_PMQ",
 
            "extMsg": {
 
                "n": "WDC WD3200BUCT-63TWBY0",
 
                "eventID":"e1"
 
            }
 
        }
 
    }
 
}</pre>
 

Latest revision as of 03:09, 23 August 2018

Introduction

This page introduces Advantech Predictive Maintenance and Quality ( PMQ ) solution.

Predictive Maintenance and Quality

    PMQ solution aquire multiple data sources in real time to predict asset failure or quality issues so your organization can avoid costly downtime and reduce maintenance costs. Driven by predictive analytics, these solutions detect even minor anomalies and failure patterns to determine the assets and operational processes that are at the greatest risk of problems or failure. This early identification of potential concerns helps you deploy limited resources more cost effectively, maximize equipment uptime and enhance quality and supply chain processes, ultimately improving customer satisfaction.

    Advantech PMQ solution includes the deployment of the trained model to make predictions and visualization UI and recommendations for corresponding strategies. The objective is to provide software developers basic concepts and better understating of PMQ deployment and to be more effective to bring your predictive model to production with Advantech PMQ architecture.


Edge Intelligence

RTENOTITLE

   Advantech EIS adopts edge computing architecture for its IoT solution. Edge computing is a distributed information technology (IT) architecture in which client data is processed at the periphery of the network, as close to the originating source as possible.

Time-sensitive data in edge computing may be processed at the point of origin by an intelligent device or sent to an intermediary server located in close geographical proximity to the client.

Data that is less time sensitive is sent to the cloud for historical analysis, big data analytics, and long-term storage.

Advantech PMQ

Advantech PMQ Solution means for Customer:

RTENOTITLE

* IPC / IoT / Vertical Sensor Data Acquire & Storage

     Advantech’s focus is on edge device development, to ensure that the EIS software suite includes the southbound sensing device connectivity that handles diverse sensing protocols such as Modbus, OPC, BACnet, Wireless IP/NonIP, and so on. Those protocols are plugin modules that take care of sensor data, data normalization, and communication The EIS mainly handles the northbound cloud connectivity and intelligence facilities; these are based on the micro service container to modularize the different cloud connections and device management.

* Big Data Storage and Analytics

 Edge Intelligence Server collects data and sends to WISE-PaaS then storages in NoSQL DB. WISE-PaaS provides rich REST APIs to aquire data for data pre-process and analysis. 

* Visualization & Maintenance

   * Deploy / Upgrade by OTA

* Event / Action 

* Acceleration – for PoC, PoV and Production

PMQ Lifecycle and Architecture

    

RTENOTITLE

Overview of Advantech PMQ

EIS PMQ Framework

    Advantech EIS adopts edge computing architecture for its IoT solution as below picture. EIS enables local IoT networks to perform edge intelligence to maximize energy efficiency, reduce privacy threats, promote easy implementation and modularization, and minimize latencies.

    The EIS intelligence facilities also adopt the micro service container to deal with the data ingestion workload such as data pre-processing and cleaning. The most valuable faculty in the EIS software suite is streaming analytics. Advantech provides the IPC device PMQ (Predictive Maintenance and Quality) to prove the concept of prediction in the edge field for real-time analytics and upgrade the analytic module that is also based on the micro service container technology from the cloud service for updating more accuracy analytic purpose. The customer can leverage such a framework to develop their own analytic module or PMQ module with EIS open standard architecture. The entire open standard follows the MQTT protocol and the Docker container technology as its foundation framework.

PMQ Service Framework

Advantech PMQ Model

Advantech provides IPC key components (e.g. HDD Disk, ... ) failure predictive model.  Here is the step of training HDD Disk Failure predictive model for your reference.

HDD Failure Prediction Model

1. Get the HDD raw data

2. Get useful HDD information

RTENOTITLE


3. Flow of training mathematics module

RTENOTITLE



Using Logistic Regression Algorithm to classify the false samples in red and the true samples in blue.

RTENOTITLE


4. Benchmark for PMQ accuracy 

RTENOTITLE

5. Alert and Suggestion of HDD PMQ 

  1. of Event
Event Message Suggestion ( Action ) Message Condition
1 Over temperature

Lower system temperature (<40°C)

smart5 >= 10 || smart197 >= 2
2 Disk aging. Backup data to new disk. smart9 >= 26280
3 Disk read/writes error frequently.

Backup data to new disk.

smart187 >= 1
4 Power failure Check power source smart192 >= 190

How To

<parsererror style="display: block; white-space: pre; border: 2px solid #c77; padding: 0 1em 0 1em; margin: 1em; background-color: #fdd; color: black">

This page contains the following errors:

error on line 1 at column 720: attributes construct error

Below is a rendering of the page up to the first error.

</parsererror>

Visualization and Maintenance with WISE-PaaS/RMM

If Advantech PMQ service running on edge device. There will have a  PMQ icon ( RED frame ) as below picture on WISE-PaaS/RMM device manager. To click this icon then pop up PMQ Dialog as "Predictive Goo/Failure".

WISE-PaaSToPMQ


Health: Good: (100% ~ 46 %), Warning: ( 45% ~ 34%), Bad: ( 33% ~ 0% )

Predictive Good

Predictive Failure

Make a PMQ Service

    Customer can implement its own PMQ service as developing a plug-in handler.  The PMQ plug-in handler includes collecting raw data and built-in have been trained model to predictive failure rate. 

We also provide the PMQ plug-in Sample help customer develop its PMQ service with Advantech PMQ System.

You can refer the WISE-Agent Sample Handler for detail about "How to develop a plug-in." 

You can download PMQ plug-in sample at Github Sample/PMQ-SamplePlugin

git clone --branch v3.3 https://github.com/ADVANTECH-Corp/WISEAgent.git

Package PMQ Installation Package

PMQ Service Installer

Customer need modify the "agent_config.xml" follow below rule

<DeviceName>  : Plugin-Name ( ex: HDD_PMQ )
<DevID>       : <DeviceName>  => ( ex: HDD_PMQ )
DevType       : Service ( Fixed ) 

OTA Installation Package

 WISE-PaaS/OTA Packager Tool:

    Customer needs use this OTA Packager Tool  to package your PMQ Service OTA Installation Package. 

Nameing Rule:   Please follow the name rule for PMQ OTA Installation Package.

   Agent_<ServiceName>_<Version>.zip  ( Example: Agent_HDD_PMQ_1.0.1.zip )

Install / Upgrade

Install HDD_PMQ Agent in Windows System

Execute "Agent_HDD_PMQ.exe" to install the HDD_PMQ Agent, and follow the steps to finish the installation.

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

Install HDD_PMQ Agent in RMM 3.3 Agent Plus version in Windows System

RTENOTITLE

The RMM 3.3 Agent Plus installer provide three different type installations: Typical, Custom and Complete.

RTENOTITLE

The RMM 3.3 Agent Plus include three program features:

1. MQTT Broker for internal MQTT bus.

2. RMM 3.3 Agent to communicate between WISE-PaaS/RMM Server and MQTT bus.

3. HDD_PMQ Agent for HDD smart retrieve and PMQ caculate then report to MQTT bus.

RTENOTITLE

RTENOTITLE

In rest to steps, the installer will trigger the MQTT Broker, RMM 3.3 Agent and HDD_PMQ Agent installer sequentially.

RTENOTITLE

RTENOTITLE

The detail of RMM 3.3 Agent Installation is skipped to focused on RMM 3.3 Agent Plus Installation.

RTENOTITLE

RTENOTITLE

Update HDD_PMQ Agent

Upload Agent_HDD_PMQ-V1.0.xxx...zip OTA upgrade package to OTA Server.

Upload PMQ.png

Upload PMQ 1.png

Select HDD_PQM Update Package to upgrade target devices.

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE