Please enable JavaScript to view this site.

IDS peak 2.8.0 / uEye+ firmware 3.33

With the LineNoiseFilterEnable you can suppress distortions like contact bounce or spikes on your input lines. LineNoiseFilterEnable can also be used in GPIOs in output mode.

With good signal quality, LineNoiseFilterEnable is not necessary. In this case, noise on the signal is small compared to the voltage levels and the signal can directly be used.

Fig. 89: Input signal with good signal quality

Fig. 89: Input signal with good signal quality

Contact bounce or spikes can be a problem on input lines, e.g. if the input is used to trigger images. Here, each large amplitude distortion is potentially interpreted as trigger signal. The result are either multiple triggered images or "missed trigger" signals, where originally only one image should be captured. If the trigger signal cannot be filtered on the sender side or other reasons do not allow generating a clean signal, you can use the LineNoiseFilterEnable feature of IDS Vision cameras. All pulses, that are smaller than LineNoiseFilterDuration (tfilter), are suppressed.

Fig. 90: Input signal with distortions before and after filtering

Fig. 90: Input signal with distortions before and after filtering

hint_info

The valid signal will be delayed by LineNoiseFilterDuration, too.

Choosing the right LineNoiseFilterDuration depends on the application.

Use a duration that is small compared to your intended signals to avoid filtering out signals by mistake.

Make the duration as small as possible to keep your system responsive.

Use a duration that is large enough to filter out spikes and bouncing distortions.

Configuration

Select the line that you want to configure using the LineSelector. If you choose a GPIO, remember to set the LineMode, too.

LineSelector = Line2;
LineMode = Input;

Configure the filter for the selected line. Set LineNoiseFilterDuration to a suitable time (in microseconds) and enable the filter.

LineNoiseFilterDuration = 20.0;
LineNoiseFilterEnable = True;

Additional information

IDS peak: code examples

© 2024 IDS Imaging Development Systems GmbH