Skip to main content

Anomaly Detection | Single Variate

About the Single Variate Module​

Anomaly Detection lets you monitor your manufacturing processes for anomalies by looking at changes in the population distribution between an evaluation set and a sample set. It consists of two modules: Single Variate Detection (SVD) and Multi Variate Detection (MVD). The Single Variate module monitors a single signal.

Working with SVD Queries​

To create or modify an SVD query​

  1. From the Navigation menu, click Single Variate.

    LinePulse displays the Single Variate module.

  2. Click Create Query to start a new query or Edit Query to modify the current one.

    LinePulse displays the Analysis Builder screen.

  3. (Optional) Select a Line.

  4. (Optional) Enter a search term.

    As you type, the signal treeview updates to show only the values that match your search terms.

  5. tip

    You do not have to type the entire signal name. By entering a search term that includes any part of the desired signal, LinePulse displays only those signals containing the term in the signal treeview, making it easier to select a specific signal in the next step.

  6. (Optional) Click Filter Icon to restrict which signals appear in the query tree.

    See Working with Query Filters for more information.

  7. Select a signal from the treeview.

    LinePulse marks the Select Signals step as complete and enables the NEXT button.

  8. Click NEXT.

    LinePulse displays the Apply Filters step.

  9. Apply filters .

  10. Click NEXT.

    LinePulse displays the Configure Analysis step.

  11. Configure the analysis .

  12. Click SUBMIT.

    LinePulse closes the Analysis Builder and displays the SVD query results.

tip

To modify your query, repeat the steps above. LinePulse remembers your previously entered query information until you log out.

To modify an SVD query filter​

  1. Create or modify an SVD query .

  2. From the Analysis Builder, go to the Apply Filters step.

  3. (Optional) Select one or more Model Numbers.

    This prevents alerts caused by expected differences between models.

  4. (Optional) Select a Result.

    Filtering to passing results helps avoid alerts caused by failed parts.

  5. (Optional) Click Configure now to configure results, if required.

  6. (Optional) Click ADD ATTRIBUTE FILTER.

  7. Click NEXT.

    LinePulse displays the Configure Analysis step.

To configure an SVD analysis​

  1. Create or modify an SVD query .

  2. From the Analysis Builder, go to the Configure Analysis step.

  3. Select an Analysis Period.

  4. tip

    Use Split Period when you want to analyze one continuous production window. Use Independent Periods when you already know a specific time range represents normal or desirable performance and you want to compare a different time range against it.

  5. If you selected Split Period:

    — Enter the Start and End for the full analysis window.

    — Set the Reference Period and Evaluation Period percentages.

    LinePulse splits this window into a reference period (to establish normal signal behavior) and an evaluation period, which is compared against that baseline to detect drift.

  6. Split Period
  7. If you selected Independent Periods:

    — Configure the Reference Period using its Start and End values, selecting a stable baseline.

    — Configure the Evaluation Period using its Start and End values for the period you want to assess.

    LinePulse compares the evaluation period against the separately defined reference period.

  8. Independent Periods
    note

    Only record-based SVD queries can be used to create an SVD monitor. When a query is eligible, LinePulse displays the Monitor Supported indicator in the Configure Analysis step.

  9. Click Submit.

    LinePulse closes the Analysis Builder and displays the query results.

To view an SVD query result in Capability Metrics​

  1. Create or modify an SVD query .

  2. Click View in Capability Metrics at the top right.

    LinePulse displays the query results in the Capability Metrics module, in a new tab.

Understanding Anomaly Severity​

SVD compares how a signal behaved during a reference period with how it behaved during an evaluation period. It produces an anomaly score: a higher score indicates a greater difference between the two periods.

LinePulse automatically classifies that score as Insignificant, Low, Medium, or High. It uses predefined thresholds selected according to the amount of data analyzed. The threshold values come from a fixed matrix; they are not learned or recalculated for each analysis.

Example: An SVD score of 0.98 is Medium for every configured dataset-size range. The score is not a percentage or a probability.

What the severity means​

  • Insignificant or Low: The detected change falls within the lower severity ranges. Review it in the context of your process.
  • Medium: A larger change has been detected. Investigate whether it affects production or quality.
  • High: A substantial change has been detected. Prioritize investigation to determine its cause and potential impact.

SVD Anomaly Severity Matrix​

The table below contains predefined severity thresholds. LinePulse automatically selects the applicable set based on the number of usable records in your analysis; it does not recalculate the threshold values from your data. You do not need to calculate or enter them.

  1. LinePulse counts the usable records in your reference period and your evaluation period, after removing records excluded during data preparation.
  2. It uses the period with fewer records to choose the matching range in the table below.
  3. It applies that range's predefined Low, Medium, and High thresholds to your anomaly score.

For example, if your reference period has 500 usable records and your evaluation period has 125, LinePulse uses the 100–149 range. Changing your selected periods or filters can change the record counts and therefore which thresholds apply. The threshold values themselves are predefined.

Usable records in the smaller periodLow thresholdMedium thresholdHigh threshold
Fewer than 50Not available0.38992842351.6247212236
50–74Not available0.45589666011.7386743553
75–99Not available0.48429144281.7825604822
100–1490.22596521230.50708248181.809802372
150–1990.24626680070.52759607981.8503244108
200–2490.25910536580.53964401031.8640814054
250–2990.26646772050.54896967381.8767401746
300–3990.2714545420.55605598381.8911143067
400–4990.28218393990.56515661651.9047370275
500–9990.28796578260.57159593871.9163374075
1,000 or more0.30335341390.58710330811.9395413031

With fewer than 100 usable records in the smaller period, Low is unavailable: a score at or below the Medium threshold is Insignificant.

A score must be above a threshold to reach that severity. If it equals the threshold, it stays in the lower severity.

Example: In the 100–149 range, Medium starts above 0.5070824818 and High starts above 1.809802372. A score of 0.98 is Medium, because it falls between those boundaries.

Severity and monitor alerts​

The monitor's Alert Threshold selects the minimum severity that counts as a breach; it does not change the severity matrix. Low accepts Low, Medium, or High; Medium accepts Medium or High; High accepts High only. Insignificant does not meet any of these alert thresholds. A notification also depends on the configured Alert Rules.

For example, an SVD score of 0.98 meets a Medium alert threshold but does not meet a High alert threshold.

Scores use different scales for different metrics. See MVD anomaly severity for the multivariate thresholds.

Technical note: Wasserstein distance

SVD uses Wasserstein distance to measure the difference between the reference and evaluation distributions. Before calculating the distance, LinePulse scales both datasets using the reference mean and standard deviation.

Working with SVD Monitors​

To create an SVD Monitor​

Create SVD Monitor Demo
  1. From the Navigation menu, click Single Variate.

    LinePulse displays the Single Variate module.

  2. Create an SVD query .

  3. note

    Only record-based SVD queries can be used to create an SVD monitor. Queries based on either Duration or Time are not eligible. LinePulse will notify you whether a filter is compatible with SVD monitor creation.

  4. Click Create SVD Monitor.

    Signals and Data Filters from your query are automatically carried over into the monitor. You can review them and adjust if needed.

  5. (Optional) Enter a Monitor Name.

  6. tip

    LinePulse suggests a default name; however, you are free to override this suggestion. You can restore this default name at any time by clicking DEFAULT.

  7. Enter a Frequency.

    There is a minimum value for Frequency. If you enter a number lower than this, LinePulse will replace it with the minimum value.

  8. Select an Alert Threshold.

    Possible values are Low, Medium, and High. This selects the minimum severity required for a breach; see Anomaly Severity for the numerical thresholds and examples.

  9. (Optional) Select Create separate anomaly monitors for selected model numbers.

    LinePulse creates one monitor per selected model number. Each monitor uses the shared configuration and evaluates only data for its assigned model. Each name follows the format <Monitor name> - <Model number>.

  10. (Optional) Configure Alert Rules.

    Decide how often notifications are sent.

  11. (Optional) Enter Notes.

    You can enter up to 600 characters in the Notes field.

  12. (Optional) Select Deploy upon creation.

    By default, LinePulse will deploy your monitor immediately. If you do not wish to deploy your monitor at this time, be sure to deselect Deploy upon creation.

  13. Click Create.

    LinePulse closes the SVD Monitor screen. If you selected "Deploy upon creation" in the previous step, LinePulse will run the monitor now.

To view, edit, activate/deactivate or delete an SVD monitor​

See Anomaly Severity for how LinePulse calculates the rank and how it relates to the selected alert threshold. ETQ integration enable feedback in the loop. Previous users feedback on previous alerts is being integrated in future alerting levels on the same monitor.