Curve Sketcher 1Ch

Curve Sketcher 1Ch 1:

Curve Sketcher 1Ch identifies inversions (peaks and valleys) in an input data stream. Furthermore, local maxima of the absolute difference between two consecutive values (referred to as Delta) can be identified. Analogous to a continuous curve, the identified peaks and valleys correspond to local maxima and minima. Delta corresponds to the slope, so that a maximum of the absolute values of Delta can be associated with an inflection point.

Optionally, a Boolean signal can be selected for the Enable Execution input so that the algorithm is only active if the value of the selected signal is TRUE.

Configuration options

  • Calculate Inflection: Boolean flag. Maxima of the rate of change are only identified if this flag is True. Otherwise, the values for Count Max Delta, Max Delta, Time Max Delta andValue at Max Delta will not be calculated.
  • Threshold Reversal: threshold for identifying reversals. Reversals are only detected if their difference from the next reversal exceeds the value of Threshold Reversal.
    Below are three examples of peak identification using the parameter Threshold Reversal.
    (a) The value y3 is identified as a peak immediately after processing the value y4 because the difference between y3 and y4 is greater than Threshold Reversal.
    (b) The value y3 is not identified as a peak because the difference between y3 and y4 is smaller than Threshold Reversal and the curve starts rising again after y4.
    (c) The value y2 is identified as a peak after processing the value y5 because the difference between y2 and y5 exceeds Threshold Reversal. The value y2 cannot be identified as a peak beforehand because the difference between y2 and y3 (y4) is less than/equal to Threshold Reversal and it is not known whether the values will continue to decrease.
Curve Sketcher 1Ch 2:
  • Threshold Delta: threshold for identifying Delta maxima. Maxima of the absolute difference of two successive values (delta) are detected only if the difference between successive deltas exceeds Threshold Delta.
    Below are three examples of identifying the Delta maxima with the parameter Threshold Delta . The upper diagrams show the original input signals, the lower ones the corresponding delta.
    (a) The value y4 is identified as a maximum after processing the value y5 because the difference between the two deltas exceeds Threshold Delta.
    (b) No maximum is identified because the difference between the deltas is less than Threshold Delta.
    (c) The value y3 is identified as a maximum after processing the value y6.
Curve Sketcher 1Ch 3:
Curve Sketcher 1Ch 4:

Regardless of Threshold Delta, at least one maximum of the Delta between two reversals is detected.

Output Values

Standard HMI Controls

For the Curve Sketcher 1Ch algorithm, the following HMI controls are available for generating an Analytics Dashboard:

1. CurveSketcher control visualizes the output values Last Peak, Time Last Peak, Count Peaks, Last Valley, Time Last Valley, Count Valley, Last Delta, Time Last Delta and Count Delta as well as the input value of the data.

Curve Sketcher 1Ch 5:

2. The Table Control visualizes all output values: Last Peak, Time Last Peak, Count Peaks, Last Valley, Time Last Valley, Count Valley, Value at Max Delta, Last Delta, Time Last Delta and Count Delta.

Curve Sketcher 1Ch 6:
Curve Sketcher 1Ch 7:
Curve Sketcher 1Ch 8:

Alternatively, customer-specific HMI controls can be mapped in the Curve Sketcher 1Ch algorithm using the Mapping Wizard.