SQC in The Modern Pi System: © 2021 Osisoft, LLC
SQC in The Modern Pi System: © 2021 Osisoft, LLC
PI System
© 2021
2020 OSIsoft, LLC 1
Panelists
Panelists
Rohan Vettiankal is the Product Marketing Martin Bryant has been working with PI Tadeas Marciniak is a Staff Pre-Sales
Manager for Visualization at OSIsoft. He is based since 1990 and closed his private consulting Engineer working from the OSIsoft Czech
in San Leandro, CA and has worked at the practice helping customers with SQC/SPC, office since 2009.
company since 2018. networks, and PI in 2003 to join OSIsoft.
Martin spent the first five years of his work His experience with PI dates back to the
Starting off as a Product Support Engineer, at OSIsoft doing very technical PI software mid-nineties when he worked for various
Rohan transitioned into the Product Marketing installations and migrations. OSIsoft partners on many PI projects in
Manager role after realizing his passion for different industries.
teaching and creating content to help highlight the In 2008 Martin began to focus exclusively
value OSIsoft’s products can bring. on customer value - including teaching,and He graduated at the Technical University
coaching. He was the primary creator of the (VŠB), Ostrava, Czech Republic.
Prior to his career at OSIsoft, he was working as "PI AF Jumpstart workshop" and some of
an Environment Engineer in his hometown of his learning curriculum work effects every
Chicago, where he performed environmental public class OSIsoft teaches and several
analysis at industrial facilities across the country. internal ones.
He started this role in 2015 after graduating from
the University of Illinois at Urbana-Champaign Martin lives outside of Philadelphia in the
with a bachelor's degree in Chemical Engineering. United States.
Agenda
Introductions &
Getting Started
Take-aways
Q&A
4 LLC
© 2021 OSIsoft, 4
The modern PI System
Capture real time data Built for decision support Accessible when & where you
need it
From the plant floor, field Dive deep into your data Data can be accessed from work
instruments, or IIoT devices with the contextual and or home, your phone, or the cloud
analytical power of and can be used for integration
Stored with the reliability PI Asset Framework & and advanced analysis
and performance of the Analysis
world’s most trusted
process streaming
database
5
Server discipline
and vigilance
Server discipline
and vigilance
PI AF & Analysis allows you to structure calculations the
Power and flexibility way you want them - Set your control limits, calculate
them, or dynamically look them up from a 3rd party
database as they change
Increased visibility
Exploit years of history with backfilling and use
templates to apply your rule sets to easily capture a large
number of process values
Server discipline
and vigilance
Get access to SQC charts and data when and where you
need it with PI Vision: your mobile device, I-frames in
Power and flexibility corporate dashboards, at home on your laptop
Increased visibility Get notified wherever you are with email or text with PI
Notifications
Downtime
This will influence calculated means and standard deviations. If you have frequent or long downtimes
– consider filtering downtimes from your calculations
Averaging data
This removes variability – which is what we are studying. We don’t want to use averaged data or rolling
averages as the source data for SQC analysis.
Population studies
Some types of analyses are “population studies” (histograms). PI compressed data can be less
appropriate for these, but you can either use sampled data for this or better, use time in range for a
more appropriate calculation.
Control Charting
This is often the most useful type of real-time monitoring and is often called “centerlining” and
considered the heart of SQC/SPC
• A centerline
• Upper and Lower Control limits (UCL & LCL), which establish whether values are “out of
control” and set a reasonable operational range
Batch Processes
• PI Analysis will allow you to calculate in real-time and store valuable data reflecting the
control limits, means, standard deviations, and excursions. You can also leverage PI Analysis
to backfill your calculations for any historical PI data.
• Your SQC data is not just part of a display, but part of your plant’s data history – ready for
comparison – between like systems, between similar periods of time (like batch or product runs,
and with different tools – include PI Datalink, multi-variate analysis tools, and even AI and
machine learning tools
Histogram
The histogram is a chart that shows the distribution of data values by counting the number within
subranges – usually one standard deviation each. This is often a snapshot chart for a given recent
time period and may be difficult to track over time. Keeping the data and presenting this in
alternative ways – or better yet, calculating and presenting the time that the process operated in
the selected subranges can be more interesting.
More…
If your SQC program interests extend to other measures of variability, potentially including: “P”
charts (tracking rejects), “R” charts (looking at the variability of the variability), “envelope” charts
(simple view of variability) at OSIsoft we’ve built the calculations and displays for all of these.
They allow for more narrow control limits, because not every exception is seen as a
problem, but rather patterns of data that indicate problem variability. Some patterns
can even detect control situations, even though the limits are not yet violated (trending
patterns, all on one side… ).
20 Out of Spec High Out of Spec Low 5 Consecutive Decreasing
20 20
15 15
10 10
10
5
5 0
0 1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 5 6 7 8 9 10 Target USL
1 2 3 4 5 6 7 8 9 10
LSL 5 decreasing
Target USL LSL OOS High Target USL LSL OOS Low
Outside Captures events when the minimum number of values in a rolling sample size are
outside of the specified control limits.
of If you set this for 1 of 1 – every out of control value will be flagged, and will stay
flagged, for as long as the process is outside of control. This is the most commonly
Control used and most important test and recommended in most cases.
A value is flagged as “outside two sigma” when the selected number of process values within a rolling
Outside of sample are greater than
A value is flagged as “outside one sigma” when the selected number of process values within a rolling
Outside of sample are greater than
One Side of The process value is flagged when the specified number or more within a rolling
sample are all on one side of the centerline. This indicates a sagging or rising
Centerline process that may not have yet crossed a control limit and will alert frequently unless
processes are very well distributed around the centerline or large test value and
sample are requested. This test will very often ALSO be true if other tests are true
and if you are not careful this will replace those other (perhaps more important or
informative) tests unnecessarily.
Trend The process value is flagged when the specified number or more of consecutive
values are consistently value-to-value rising or falling. This indicates a sagging or
rising process that has not yet crossed a control limit
Stratification Stratification is counting the number of values within a rolling sample that are within
one sigma of the centerline (+/- 1/6th of control range). This test is generally looking
for a process that is not yielding the expected variability, which could indicate an
instrumentation (signal) problem more likely than a process problem.
Mixture Mixture is counting the number of values within a rolling sample that are outside of
one sigma of the centerline ( +/- 1/6th of control range) and includes values on both
sides of the centerline. This is generally the opposite of stratification and it
indicates a process that is more dynamic to the extent it is not producing values near
the centerline.
© 2021 OSIsoft, LLC 23
Configuring Western Electric Rules
Configuration
Recommendations
With so many options it’s difficult 1. Limit the number of tests you use (1-3 test should be sufficient for
to know what would work best most cases)
for your process. 2. Set your control limits consciously
That’s why we’ve come up with 3. Always use the “Outside Control Limit” test
a list of recommendations to
4. Refrain from using the outside one / two sigma tests
help guide you when configuring
these rules. 5. If appropriate, set up one or more of the “advisory” tests: “over
centerline”, “trend”, “mixture” or “stratification” and track those in a
separate rule
Many PI Processbook displays can be migrated with a migration utility to PI Vision, however there are no
plans at this time to support displays built with the SQC add-in with full migration as:
• There is no "canned" control chart & histogram in PI Vision and no current plans to build them
• Western Electric rules and other calculations are supported in PI AF/PI Analysis not in the client display
PI AF, PI Analysis (with WE Rules & Event Frames), and PI Vision may not offer a one tool SQC Wizard
implementation, but the combination offers many advantages over the locally installed SQC wizard
• more flexibility and options to get the calculations and fit the SQC program the way you want
• sever discipline and vigilance and templates that can be flexibility applied to other process values
• SQC data & not just displays – backfill the calculations, export the data to PI Datalink or other analytical
tools
• more visibility through PI Vision & more interactivity with dynamic EF lists with reason codes & comments
1-3 Days* By the end of this course, you will be able to:
Employ prepared PI AF templates with control limit retrievals,
and key calculations for a standardized approach and work
Intermediate efficiency
*Currently workshops are being conducted remotely in 2 to 3 hour sessions. A day equivalent is generally 2 or 3 of these sessions.
If you'd like more help in migrating your existing PI Processbook SQC displays or
deploying new SQC Displays than our workshop implies PI Partners can also help
with those services
Export Data on Query / Demand using our ODBC Driver and PI SQL tools
AFSDK
Application
3.
PI OLEDB
Application x
Enterprise
Application
Get the 2018 Update –
Higher performance
HTTP/
HTTP/
NetTcp
NetTcp
Application
PI ODBC
or JDBC PI SQL DAS
PI SQL DAS
(RTQP) Simpler Queries
RTQP!
Driver (OLEDB)
PI SQL Application
Client
Client
Client or PI SQL Data Access AF Server Client
Server
OSIsoft can also coach in the export of PI Data via our PI Integrator family or family of SQL Query tools to export data to the
Third Party SQC/SPC application of your choice
© 2021 OSIsoft, LLC 33
If you want to use another charting tool with PI Data…
Continuously update your SQC/SPC Analysis with a PI Integrator
to a relational database or cloud-based “big data” analysis database…
PI Integrator for Business Analytics • PI AF is the schema
PI Integrator for • SQL Server builder
Business Analytics • Hadoop (HIVE & HDFS)
• Oracle RDBMS • All configuration – no
• File coding
• ODBC client
• Performance &
reliability even with
PI Integrator for SAP HANA
• SAP HANA high volumes
• Smart Data Integration (SDI)
PI System PI Integrators • Data filters to help
Time, Event Tabular “scrub” data
and Asset Context
Context PI Integrator for Microsoft Azure • Scheduled updates or
• SQL Data Warehouse
• Azure SQL stream-to-stream
• Azure Data Lake
OSIsoft can also coach in the export of PI Data via our PI Integrator family or family of SQL Query
tools to export data to the Third Party SQC/SPC application of your choice
© 2021 OSIsoft, LLC 34
Why build SQC analysis server
side?
Server discipline
and vigilance
Server discipline
and vigilance
PI AF & Analysis allows you to structure calculations the
Power and flexibility way you want them - Set your control limits, calculate
them, or dynamically look them up from a 3rd party
database as they change
Increased visibility
Exploit years of history with backfilling and use
templates to apply your rule sets to easily capture a large
number of process values
Server discipline
and vigilance
Get access to SQC charts and data when and where you
need it with PI Vision: your mobile device, I-frames in
Power and flexibility corporate dashboards, at home on your laptop
Increased visibility Get notified wherever you are with email or text with PI
Notifications
Q&A
© 2021 OSIsoft, LLC 39