Module

Signal Processing for Ignition

SciPy's signal processing, inside Ignition: 33 script functions under system.signal that clean noisy measurements, find peaks, compute spectra and resample history, with SciPy 1.18.1's names, parameters and results.

  • Version 0.1.0
  • Ignition 8.1 and 8.3
  • On GitHub

What it does

Ignition scripts run on Jython, which cannot load numpy or SciPy, so filtering a noisy tag or finding batch peaks used to mean hand-written code or an outside service. Signal Processing does it inside the gateway, in every scope: gateway scripts, tag events, timers, Perspective, Vision and the Designer. It is pure Java, so there is nothing else to install, and code written for SciPy carries over.

Where it helps

  • Cleaning noisy measurements for trends and reports, without the lag of a moving average
  • Filtering a live value in a gateway timer
  • Removing sensor spikes while keeping real steps sharp
  • Smooth rates of change for rate-of-change alarms
  • Finding batch and cycle peaks, with their size, width and timing
  • Finding the period of an oscillating control loop, or the envelope of a vibration signal
  • Aligning tags logged at different rates, and thinning long historian pulls

Accuracy and speed

Every test run checks about 65,000 calls, some 54 million samples of signal, against SciPy 1.18.1. Filtering, median filtering and peak finding match SciPy to the last bit. The signed modules pass the same comparison inside Ignition 8.1 and 8.3, with signals of 1,000,000 points and 8 threads calling at once. On a test gateway, zero-lag filtering of 1,000,000 points takes under 0.1 s.

Status

Where Signal Processing stands today
Version0.1.0
Ignition8.1.33 or later, and 8.3.3 or later
PriceFree
LicenseApache License 2.0
DistributionSigned module files in a GitHub release