Skip to main content
Version: Ver.4.10

Defining Derived Signals

Overview​

A derived signal is a result calculated from signals registered in the Catalog. It differs from a bus signal, which directly extracts specific bits from the bus. You can create numeric conversions, comparisons, and combinations of multiple conditions.

Creation Procedure​

  1. Stop monitoring and select the Set to use in Signal Catalog. Check the input signal's Protocol, ID, and channel, not just its name. Figure 1a selects Target_RPM_demo, CAN FD, ID 310, CH1-1.
  2. Click “+ Derived.”
  3. Enter Signal name.
  4. Find the input signal under Signals on the right of the Formula tab, then double-click it to insert it into the formula. In Figure 1b, select Target_RPM_demo | CAN FD+BRS | CatalogId 1. Also check the frame type and CatalogId to avoid confusing it with a LIN signal of the same name. Add operators or Functions as needed.
Signal Catalog excerpt with the Target_RPM_demo, CAN FD, ID310, CH1-1 row and + Derived button outlined in red

Figure 1a. Checking the input signal ID/channel before creating a derived signal.

Formula Signals list excerpt with Target_RPM_demo CAN FD+BRS, CatalogId1 selected in blue and outlined in red

Figure 1b. Selecting an input signal from Signals to insert into the formula.

  1. Check Detected result and the validation results at the bottom of the screen. For numeric results, configure Unit and Decimal places.
  2. Check input signals, dependencies, and channel assignments in Inputs and Details.
  3. Configure Display settings and Alert as needed, then confirm with OK.
  4. Check membership, Current Set, and display destinations in the Catalog, then save with Save.

Screen Reference​

The example shows derived signal Target_RPS using Target_RPM_demo on CH1 as input. It divides SIG(1), assigned to that input, by 60 and uses unit r/s. For example, an input of 1800 rpm produces 30 r/s.

Name, unit, conversion formula, and input validation results for derived signal Target_RPS

Figure 2. Converting rotational speed to r/s using SIG(1) / 60.

ItemDescription
Signal nameName of the derived signal.
Detected resultResult type inferred from the formula, such as Number or Boolean.
UnitDisplay unit for numeric results. The unit name alone does not convert values.
FormulaBuild a formula using input signals, operators, constants, and functions.
Decimal placesNumber of decimal places displayed. Check the format under Example.
Signals / SearchFind and select input candidates to insert into the formula.
FunctionsInsert functions such as ABS, MIN, MAX, and IF into the formula.
ExamplesView formula examples.
Inputs / DetailsCheck required inputs, dependencies, and availability.
Display settingsConfigure destinations such as the value list and graphs.
AlertConfigure alert conditions for the derived result.
OK / CancelConfirm this edit or discard unconfirmed changes.

Formula Examples​

Signal references inserted from Signals have the form “SIG(number).” The number is an identifier in the Catalog. Do not enter the example numbers unchanged; insert the actual signal you use from the list.

PurposeExample formulaResult
Convert speed from km/h to m/sSIG(number) / 3.6Input 36 km/h gives 10. Set Unit to m/s.
Test whether a value reaches an upper limitSIG(number) >= 10Produces a Boolean result.
Absolute valueABS(SIG(number))Absolute value of a number.
Smaller of two signalsMIN(SIG(number1), SIG(number2))Numeric comparison.
Select a number by conditionIF(SIG(number) >= 10, 1, 0)1 if the condition is true, otherwise 0.

Use AND/OR/NOT for Boolean conditions. The IF condition must be Boolean, and its true/false values must have the same type. You can also insert comparison symbols and parentheses using the on-screen buttons.

Input Signals and Sets​

Adding a derived signal to a Set also brings its required input signals under management. Do not estimate limits using only the number of derived signals; count required input signals too.

Input bus signals require definitions matching the target frames and channel assignments. Do not treat the result as a normal number if an input has not been received, is unassigned, cannot be referenced, or is otherwise unavailable to the formula. Check validation messages and correct circular references or type mismatches.

If the input channel cannot be verified during automatic restoration of a saved Current Set, derived signals depending on that input also remain pending. Reconnect the target device and use “Device” → “Refresh” to recheck assignments.

Value Timestamps

When using multiple signals, inputs may update at different frame intervals. Check not only the calculated result but also the input update states and source frames.

Checking Edited Results​

Check the input and derived signals in Current Set and compare results against manual calculations using known input values. Recheck Signals references and Inputs after renaming a signal or replacing source definitions.

Displaying both the input and derived signals in Values with the Time/Value format lets you check values and update times together. Figure 3 shows analysis of a recorded real log in Signal Analysis.

Values in Time/Value format showing Target_RPM_demo at 2309 rpm and Target_RPS at 38.483 r/s, with both timestamps +000:00:09.702.988 and values outlined in red

Figure 3. Comparing input and derived rotational speeds at the same timestamp.

Time is +000:00:09.702.988 for both rows. Input Target_RPM_demo is 2309 rpm and derived signal Target_RPS is 38.483 r/s, matching 2309 ÷ 60 from the formula in Figure 2 displayed to three decimal places.

Save the configuration to MPXSIG, including derived signals.

Example: Converting the Sample Speed Signal​

  1. Add Speed from the sample DBC to the Set and assign the receiving channel.
  2. Use + Derived, name the signal “Speed_mps,” insert Speed from Signals, and append / 3.6.
  3. Set Unit to m/s, check Inputs and display destinations, and confirm with OK.
  4. Check that an input Speed of 36 km/h in Current Set produces 10 m/s. This is a calculation example; actual received values depend on the input.

Derived values can be used for monitoring and analysis, but are distinct from values set directly in transmission frame bits and from Signal Trigger targets. Derived signals cannot be selected for Signal Trigger.