Before You Begin
This 15-minute tutorial shows you how to monitor the performance of machines in a factory by using the Oracle Internet of Things (IoT) Production Monitoring Cloud Service application, and get started as a factory manager.
This is the third tutorial in Quick Start Tutorials for the Oracle IoT Production Monitoring Cloud Service Application. Read the tutorials sequentially.
- Configure an Oracle IoT Production Monitoring Cloud Service Application
- Track Machine Conditions in an Oracle IoT Production Monitoring Cloud Service Application
- Monitor Factory Operations in an Oracle IoT Production Monitoring Cloud Service Application
Background
Vision Corp., a manufacturer of tablets and smartphones, has implemented the Oracle IoT Production Monitoring Cloud Service application to improve the yield, quality, and reliability of the products that are manufactured in the factory. The machines in the factory are the display picker, glue dispenser, and display mounter. The application is configured to detect anomalies, trigger incidents, display the historical and current values of the sensor data, and display the status of the incidents.
In this tutorial, you monitor the machines and factories in the Oracle IoT Production Monitoring Cloud Service application by viewing existing metrics, and defining custom metrics. You use a simulator application that generates data about the machines and factories.
What Do You Need?
Monitor Factory Performance
In this section, you change the status of several machines in a factory by using the Oracle IoT Production Monitoring simulator application. You then monitor the performance of that factory in the Oracle IoT Production Monitoring Cloud Service application.
- Sign in to the Oracle IoT Production Monitoring Simulator application at
https://your Oracle IoT Cloud Service instance name/pm-sim.
- On the Production Monitoring Dashboard page, click Tablet Factory.
- On the Tablet Factory Model page, click SF Factory.
- On the Factory: SF Factory page, for one display picker machine, one glue dispenser machine, and one display mounting machine, click Down.
- Sign in to your instance of the Oracle IoT Production Monitoring Cloud Service application.
- Click Menu
, and then click Map. On the map, zoom in on San Francisco, and then click SF Factory
.
- Notice that the metrics ribbon displays the Factory Metrics section and Machine Metrics section for SF Factory. Observe that in the Machine Metrics section, the Down metric displays 50% because three machines in SF Factory are down.
Description of the illustration metrics_ribbon.png - To view the SF Factory metrics for the past 24 hours or more, click Comparative View
. From the Time Period drop-down list, select 24 hrs.
Description of the illustration metric_details.png - To go back to the map view, click Comparative View
.
Compare Factory Performances
In this section, you view the comparative analysis data for SF Factory and SJ Factory.
- On the map, zoom out to ensure that you see SF Factory and SJ Factory. On the metrics ribbon, verify that the Factories metric displays 2. Notice that the Down metric displays 25% because 3 of the 12 machines are down.
- On the metrics ribbon, click Down, and then click Comparative View
.
- Examine the comparative data of the factory metrics and machine metrics for the two factories. In the Factories Behind Plan section, observe that SJ Factory is performing better than SF Factory.
Description of the illustration comparative_metrics_data.png - Click Historical View
, and then in the Factory Metrics section, select the Factories Behind Plan metric. Notice that the graph displays an overlay of the Best Factory instance that enables you to do a comparative analysis.
Description of the illustration chart_view.png - Navigate to the Oracle IoT Production Monitoring Simulator application at
https://your Oracle IoT Cloud Service instance name/pm-sim.
- On the Factory: SF Factory page, for the three machines that are down, click In Use. The Quantity value for the machines increases.
- After a few minutes, navigate to the Oracle IoT Production Monitoring Cloud Service application. Click Menu
, and then click Map.
- On the map, zoom out to ensure that you see SF Factory and SJ Factory. In the Factory Metrics section, verify that the value of the Factories Behind Plan metric decreased because the three machines restarted production.
- In the Machine Metrics section, verify that the value of the In Use metric increased to 100%.
Diagnose Machine Performance
In this section, you examine a machine's performance, and troubleshoot the cause of its low performance.
- Click Menu
, and then click Map. Zoom in on San Francisco, and then click SJ Factory
.
- On the metrics ribbon, in the Machine Metrics section, click Machine Behind Plan. Record the value displayed on the SF_Factory_Glue Dispensing_M2
machine that appears on the floor plan.
- To view the sensor values and metrics, click SJ_Factory_Glue Dispensing_M2
.
- On the Machine: SJ_Factory_Glue Dispensing_M2 page, modify the values in the Time Period drop-down list, and observe the changes in the metric values.
- Click the Sensor
tab, and then from the Sensor Attributes drop-down list, select glue_temperature, flow_rate, and glue_viscosity.
- In the Add Comparative Data Changes options, select State Changes, and then from the Time Period drop-down list, select LIVE.
- Monitor the data for the glue dispenser machine. Notice that the glue viscosity is high and the glue flow rate is low.
Note: In the simulator, you can increase the glue temperature to reduce the glue viscosity, and then consequently, the glue flow rate increases.
Description of the illustration sensor.png - Sign in to the Oracle IoT Production Monitoring Simulator application at
https://your Oracle IoT Cloud Service instance name/pm-sim,
and then on the Tablet Factory Model page, click SF Factory. - On the Factory: SF Factory page, scroll down to the SJ_Factory_GlueDispensingM2 machine, and select 300F. After a few minutes, verify that the Quantity value increases.
- Navigate to the Oracle IoT Production Monitoring Cloud Service application. Click Menu
, and then click Map.
- On the map, zoom in on San Francisco, and then click SJ Factory
. In the Machine Metrics section, click Machine Behind Plan. Notice that the metric value that is displayed on SJ_Factory_Glue Dispensing_M2
is less than the value you recorded in Step 2.
- Repeat Steps 3 through 7, and then in the graph, notice the increase in the temperature, decrease in the glue viscosity, and rise in the glue flow.
- To go back to the factory floor plan, click outside the machine details page.
Create a Custom Metric for a Factory
System metrics are predefined in the application and cannot be edited, deleted, or cloned. In this section, you create a custom metric to retrieve the count of the factories that lag behind in production. You use the Behind Plan system metric to create the custom metric.
- Click Menu
, and then click Configuration.
- On the Configurations page, click the Metrics
tab. The list of metrics is displayed.
- Click Create New
, and then on the Create Metric page, in the Details section, enter or select the following values:
-
Name:
Slacking Factories
- Entity Type: All Factories
- Metric Type: Query
- Calculate: On Schedule for All Factories
- Calculate: Live
-
Name:
- To retrieve the count of the factories, that have a Behind Plan metric that is greater than 50, in the Formula section, click Count, and then click the Add Filter button.
- Next to Add Filter
, click Formula Menu
, and then select Property, Metric, and then Behind Plan.
- In the Behind Plan Metric, from the Product drop-down list, select Tablet.
- Click Formula Menu
, click Operators, and then select >.
- Click Formula Menu
, click Number
, and then enter
50.
Description of the illustration formula.png - Click Validate Formula and ensure that you receive the Validate OK message.
- Click Save, and then click Publish. Wait until the message Publishing KPI Metrics - Pending modifies to Publishing KPI Metrics - Activated. Click Back.
- On the Configuration: Metrics page, verify that the Slacking Factories metric is displayed in the list of metrics.
Display the Custom Metric
In this section, you add the custom metric to the dashboard, and then use the custom metric to monitor factories.
- Click Menu
, and then click Map.
- On the map, click Dashboard
.
- In the Factory Metrics page, click Edit
, and then click Add New Gadget
.
- On the Create Metric page, select the following, and click OK:
- Metric: Slacking Factories
- Label: Slacking Factories
- Unit: Orange
- Verify that on the Factory Metrics page, the Slacking Factories metric is visible. Click Save.
Description of the illustration edit_metrics.png