Threshold

Threshold implements a comparator with configurable hysteresis.

The output transitions from 0.0 to 1.0 when the input signal transitions from below to above the High level.

The output transitions from 1.0 to 0.0 when the input signal transitions from above to below the Low level.

The Low level must be less than the High level.

 

GRC File can be downloaded here.

threshold_test.grc

zentai01
Threshold Block Setting

threshold_setting

Low and High level Setting Using WX GUI Slider

threshold_low threshold_high

Results: Checking the effect of the Threshold Low value.

The output (Green line) transitions from 1.0 to 0.0 when the input signal transitions from above to below the Low level. (-250 m,Cross point between Red line(=Threshold Low Value) and Blue line (=input))

result_threshold_low

Checking the effect of the Threshold High value.

The output (Green line) transitions from 0.0 to 1.0 when the input signal transitions from below to above the High level. (+250m, Cross point between Magenta line(=Threshold High Value) and Blue line(=input))

result_th_high

Similar Posts

コメントを残す

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください