Use the SPC Charts Function
You can use the SPC Charts processor function to analyze tag data, assess performance, and ensure adherence to quality standards using statistical process control (SPC) methods.
It calculates key metrics such as the current mean, standard deviation, and process capability (Cp, Cpk, CpU, CpL). Additionally, it evaluates specification limits (USL and LSL), computes performance metrics like Cpm and Cpkm, and flags any violations of Nelson Rules to help you identify trends and potential issues in your manufacturing process.
Review the following scenario for the SPC Chart processor function. Then, you will simulate process data, configure the SPC Chart parameters, and interpret the statistical outputs to monitor and optimize process quality.
In an assembly line manufacturing precision components, maintaining consistent dimensions within specified tolerances is critical for product reliability. Using the SPC Chart processor function, operators monitor the process performance and identify deviations from quality standards. For example, a violation of Nelson Rule 1 flags a critical issue where a measurement exceeds three standard deviations, prompting immediate corrective action.
Follow the steps to Connect a Device and configure the following parameters:
- Device Type: Simulator
- Driver Name: Generator
- Enable Alias Topics: Select the checkbox.
After connecting the device, add the following tag. See Add Tags to learn more.
- Name: Select S - Random value generator
- Value Type: Select float64
- Polling Interval: Enter 5
- Tag Name: Enter Tag1
- Min_value: Enter 1
- Max_value: Enter 10
You can now create the analytics flows using data from the device and tag you previously created.
To create an analytics flow with the SPC Charts Processor function:
- Navigate to Analytics.
On the analytics canvas, click Add processor. The Create a processor dialog box displays.
- Select DataHub Subscribe.
In the Topic field, click the Search icon, select the device you previously created, and then select the alias topic for Tag1.
- Click Save.
- Click Add processor again and select the SPC Charts processor. The following information defines this function:
- Window Size: Enter the number of values you want the function to consider.
- Target Mean: This represents the desired average value for the process. It serves as a reference point for evaluating process performance against expectations.
- Time Interval: Specifies the frequency at which the SPC chart publishes data.
Click Save.
- Connect the DataHub Subscribe processor (tag: Tag1) to the SPC Charts processor with a wire and use the events connection.
- On the analytics canvas, click Save.
The configured analytics flows should look like the following:
Click the View icon in the SPC Charts processor to view the output values.
Before you can see any output, the input window size needs to be filled. After that, the output will include the metrics along with its timestamp.