Duty cycle
The Duty cycle I/O determines the duty cycle of a signal. The duty cycle is defined as the ratio between the time that a signal is "active" and the period. It is usually expressed as a percentage.

When the source data contains multiple cycles of a signal, the duty cycle will be determined for each cycle of the input signal. The output of the duty cycle I/O will then contain the progress of the duty cycle in the input data.

A typical application of the Duty cycle I/O is to analyze control signals of actuators that are duty cycle driven.

Properties

To control the behavior of the Duty cycle I/O, several properties are available. These can be accessed through a popup menu which is shown when the I/O is right clicked.

Type

The Type property determines how the duty cycle is determined. Two types can be selected from:

  • Normal
    In most applications, the active state of a signal is "high".
    Duty cycle normal
  • Inverted
    In some applications, for example in automotive applications, it is more common to consider "low" as the active state of a signal.
    Duty cycle inverted

Mid level

The Mid level property sets the level that determines whether a signal is "high" or "low". In the setting Auto level, the mid-level is automatically detected, as halfway between the minimum and the maximum of the input signal. In most applications this will give good results. However, when a signal is noisy or inactive, it can lead to wrong duty cycle detection. To prevent this from happening, it is possible to set the mid-level to a User defined value.

Common properties and actions