This guide explains how to detect, analyze, and understand invalid sensor readings based on threshold violations.
Invalid values analysis helps you:
- Identify sensor readings outside acceptable ranges
- Detect threshold violations (alarms)
- Understand sensor behavior patterns
- Assess data accuracy
- Identify sensors needing calibration or maintenance
Invalid values are sensor readings that:
- Fall below low threshold (for "Down" threshold type)
- Exceed high threshold (for "Up" threshold type)
- Fall outside threshold range (for "Up/Down" threshold type)
- Indicate sensor malfunction or abnormal conditions
Down Threshold:
- Alarm when value falls below LOW_THRESHOLD
- Example: Pressure sensor alarm when pressure < 6 Kgf/cm2
Up Threshold:
- Alarm when value exceeds HIGH_THRESHOLD
- Example: Temperature sensor alarm when temperature > 120 degC
Up/Down Threshold:
- Alarm when value is outside the range
- Example: Alarm when value < LOW_THRESHOLD or > HIGH_THRESHOLD
- Data Accuracy: Identify inaccurate readings
- Sensor Health: Detect malfunctioning sensors
- Safety: Identify critical threshold violations
- Maintenance: Plan sensor calibration or replacement
- Quality Control: Ensure data meets quality standards
- Open the application at http://localhost:5173
- Click Invalid Values in the sidebar or home page
- Select a machine group from the dropdown
- Choose a machine group from the Select Machine Group dropdown
- The system loads available sensors automatically
- Use the sensor selector to choose sensors for analysis
- You can select multiple sensors
- Selected sensors must have threshold definitions
Note: Only sensors with defined thresholds can be analyzed.
- Set Alarm Threshold Percentage (default: 16.67%)
- This determines which sensors are flagged
- Sensors exceeding this alarm rate are highlighted
Threshold Percentage:
- Percentage of readings that are alarms
- Example: 16.67% means 1 in 6 readings is an alarm
- Adjust based on your quality requirements
- Click Analyze Invalid Values button
- Wait for analysis to complete
- Results appear in multiple sections
Summary Information:
- Table Name: Machine group analyzed
- Selected Sensors: Sensors included in analysis
- Total Readings: Total number of sensor readings
- Total Alarms: Count of threshold violations
- Average Alarms per Sensor: Mean alarm count
- Max Alarms Sensor: Sensor with most alarms
- Max Alarms Count: Highest alarm count
Interpretation:
- Low alarm rate (< 5%): Good data quality
- Moderate alarm rate (5-15%): Some concerns, investigate
- High alarm rate (> 15%): Significant issues, take action
Per-Sensor Information:
- Sensor Name: Sensor identifier
- Total Readings: Readings for this sensor
- Total Alarms: Count of threshold violations
- Alarm Percentage: Percentage of invalid readings
- Metadata: Sensor description, thresholds, units
Visualization:
- Bar chart showing alarm percentage per sensor
- Sorted by alarm count (highest first)
- Color-coded for quick identification
Use Cases:
- Identify sensors with most alarms
- Compare alarm rates across sensors
- Prioritize sensors for investigation
Time Series Charts:
- Show sensor values over time
- Highlight invalid readings (alarms)
- Display threshold lines
- Show alarm count over time
Features:
- Original Values: Actual sensor readings
- Rolling Mean: Moving average
- Rolling Std: Volatility indicator
- Alarm Count: Number of alarms over time
- Threshold Lines: Visual reference for valid range
Interpretation:
- Spikes: Sudden threshold violations
- Trends: Gradual drift toward thresholds
- Patterns: Recurring alarm times
- Clusters: Groups of alarms indicating issues
Detailed Alarm Information:
- Timestamp: When alarm occurred
- Value: Sensor reading that triggered alarm
- Alarm Count: Number of alarms at this time point
Use Cases:
- Identify specific alarm events
- Understand alarm timing
- Correlate alarms with other events
- Document alarm occurrences
- Low alarm rate (< 5% overall)
- Even distribution across sensors
- Random alarms (not systematic)
- Alarms within expected range
- High alarm rate (> 15% overall)
- Concentrated in specific sensors
- Systematic patterns (same time, same conditions)
- Trending toward thresholds
High Alarm Rate:
- Check sensor calibration
- Verify threshold settings
- Investigate sensor hardware
- Review operating conditions
Systematic Patterns:
- Identify root cause
- Check environmental factors
- Review maintenance schedules
- Adjust thresholds if appropriate
Specific Sensor Issues:
- Inspect sensor hardware
- Check sensor connections
- Verify sensor placement
- Consider sensor replacement
Thresholds are defined in the tags metadata file:
- LOW_THRESHOLD: Lower limit
- HIGH_THRESHOLD: Upper limit
- THRESHOLD_TYPE: Up, Down, or Up/Down
The alarm threshold percentage in the UI:
- Controls which sensors are flagged
- Does not change sensor thresholds
- Helps focus on most problematic sensors
- Review Thresholds: Ensure thresholds are appropriate
- Document Changes: Record threshold modifications
- Regular Updates: Adjust thresholds as needed
- Validate Settings: Verify threshold accuracy
Observation: One sensor has 25% alarm rate Action:
- Check sensor calibration
- Verify threshold settings
- Inspect sensor hardware
- Review sensor placement
Observation: Multiple sensors alarm simultaneously Action:
- Check system-wide conditions
- Review environmental factors
- Investigate system events
- Verify threshold settings
Observation: Values trending toward threshold over time Action:
- Monitor trend closely
- Plan preventive maintenance
- Check for gradual degradation
- Consider threshold adjustment
Observation: Alarms occur at regular intervals Action:
- Identify pattern cause
- Check scheduled operations
- Review system cycles
- Investigate environmental cycles
- Regular Analysis: Check invalid values periodically
- Set Standards: Define acceptable alarm rates
- Document Findings: Record alarm statistics
- Investigate Causes: Determine why alarms occur
- Take Action: Address sensors with high alarm rates
- Monitor Trends: Track alarm rates over time
Export Options:
- Screenshot: Capture analysis results
- Data Export: Export alarm data as CSV (if available)
- Report: Document findings for stakeholders
Problem: Analysis shows 0% alarms Possible Causes:
- Data is truly valid (good!)
- Thresholds not defined for sensors
- Thresholds set too wide
- Check threshold definitions
Problem: Analysis is slow Solutions:
- Select fewer sensors
- Use date range filters
- Check data volume
- Verify backend performance
Problem: Results don't match expectations Solutions:
- Verify threshold definitions
- Check sensor selection
- Review date range
- Compare with raw data
After analyzing invalid values:
- Check Missing Values: See Missing Values Guide
- Assess Overall Quality: Use Data Quality Guide
- Visualize Data: Go to Data Visualization Guide
- Chat with Agent: Ask DQA Agent about invalid values
- Data Quality Guide - Comprehensive quality assessment
- Missing Values Guide - Missing data analysis
- Data Loading Guide - Load and view data
For technical details, see the Backend API Documentation.