Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
Configure streaming asset properties for SPC monitoring.
Note: This guide is intended only as a starting point and is not a fully developed or supported solution. This accelerator has been developed using ThingWorx 8.5 and should not be used with any previous versions of the software.
This project introduces you to configuring Properties from your connected streaming assets for Statistical Process Control (SPC) monitoring.
Following the steps in this guide, you will learn how multiple connected assets and their Properties can be displayed in a hierarchy tree.
You will then configure these Properties using predetermined set points, and upper and lower control points for the assets.
Finally, you will learn to navigate the monitoring of the Properties.
We introduce some of the basic building blocks of an SPC accelerator, including important Things and Mashups. You will also use ThingWorx Timers to simulate streaming data.
NOTE: The estimated time to complete this guide is 30 minutes
Before exploring Statistical Process Control (SCP) within ThingWorx Foundation, you must first import some Entities via the top-right Import / Export button.
Each of the projects contain multiple entities of various types. The most important entities you will use in this guide are as follows:
Entity Name Description
Motor_Pump1 | Timer to simulate streaming data |
Motor_Blower1 | Timer to simulate streaming data |
PTC.SPC.ConfigurationHelper | Thing that manages the accelerator |
PTC.SPC.Configuration_MU | Mashup for configuring SPC properties |
PTC.SPC.Monitoring_MU | Mashup for monitoring SPC properties |
You may configure SPC monitoring for multiple production lines, connected assets on those lines, and time-series Properties on those assets using the SPC accelerator.
This is done by viewing the PTC.SPC.Configuration_MU Mashup.
Follow these steps to configure an SPC Property.
Below is a brief description of each of the configuration parameters:
Parameter Description
Sample Size | Number of consecutive property values to average together. For example, a Sample Size of 5 will tell the accelerator to group every 5 property values together and calculate their average value. |
XBar Points | Number of the most recent sample aggregations to display in the SPC Monitoring Mashup. This also affects SPC calculations. |
Capability Points | Number of the most recent sample aggregations to use when populating the Capability Histogram in the SPC Monitoring Mashup. |
Set Point | Value determined to be the set point for that particular property on the asset. |
Lower Design Spec | Value determined to be the lower design spec for that particular property on the asset. This is used for capability calculations. |
Upper Design Spec | Value determined to be the upper design spec for that particular property on the asset. This is used for capability calculations. |
Select Pressure1 from the list of eligible properties.
Enter the following values:
Sample Size | 5 |
Xbar Points | 30 |
Capability Points | 60 |
Set Point | 73 |
Lower Design Spec | 68 |
Uppder Design Spec | 78 |
3, Select Xbar-R Chart.
4. Click Add or Update SPC Monitoring.
5. Pressure1 is added to the Asset Hierarchy tree underneath the Motor_Blower1 asset.
6. If you select this Property, you can modify the configuration and save it by clicking Add or Update SPC Monitoring.
Follow these steps using the following parameters:
Line | Asset | Property |
Sample Size |
Xbar Point |
Capability Points |
Set Points |
Lower Design Spec |
Upper Design Spec |
Chart Type |
100 | Motor_Blower1 | Pressure1 | 5 | 30 | 60 | 73 | 68 | 78 | Xbar-R |
100 | Motor_Blower1 | Pressure2 | 5 | 30 | 60 | 78 | 68 | 89 | Xbar-R |
100 | Motor_Blower1 | Temperature1 | 5 | 30 | 60 | 50 | 44 | 56 | Xbar-s |
100 | Motor_Blower1 | Temperature2 | 5 | 30 | 60 | 85 | 73 | 97 | Xbar-s |
100 | Motor_Pump1 | Vibration10 | 5 | 30 | 60 | 150 | 108 | 190 | Xbar-s |
100 | Motor_Pump1 | Vibration11 | 8 | 60 | 100 | 200 | 168 | 220 | Xbar-s |
100 | Motor_Pump1 | Pressure100 | 5 | 30 | 60 | 100 | 84 | 118 | Xbar-R |
100 | Motor_Pump1 | Pressure200 | 5 | 30 | 60 | 90 | 84 | 97 | Xbar-R |
Click here to view Part 2 of this guide.