Defining a Calculated Signal (Free Calculation Formula)

In the Define Calculated Signals dialog box, you have activated the Standard field.

To define a calculated signal:

  1. Enter a name and a data type for the calculated signal.

    Note

    If you define calculated signals for a Drive Recorder output, select always the data type bool. A Drive Recorder processes only boolean signals.

    If you define a trigger condition, the trigger data type is set.

    If you define calculated signals for the use on a DriveRecorder, select only bool as data type.

  2. Optionally, you can enter a unit of measurement and a brief description of the calculated signal.
  3. Assemble the formula for the calculated signal in the Calculation Rule by linking the elements with operations and functions.

    Note

    If you use the "==" operator, an exact comparison of the value including all decimal places is executed. To conduct an approximate comparison, use the "abs" function in combination with the requested accuracy. For example, abs([engine speed] - [1000]) < [10] returns results for the value range from 990 to 1010 rpm.

    You can use the following input:

  4. Define a calculation rate:

  5. Define whether a text conversion table is to be stored and, if so, which one:

  6. Click Check to check the syntax of the formula.

    The newly defined calculated signal is checked and, if the check is successful, it is accepted. If the formula contains any errors, the check result is displayed.

  7. Click OK.
EXAMPLE
Calculating Engine Power

The engine output P (in Watt) can not be determined directly. However, physically it is the product of the engine speed N (in rotations per minute) and the torque M (in Newton meter).
Therefore the engine power can be calculated according to the following free calculation formula:

This formula is defined in the DefineCalculated Signals dialog box in the following way:



See also

Define Calculated Signals - User Interface

Analyzing a Calculated Signal Graphically