12 | Math Channels and Conditional Functions
104 / 188
DDU 10
Bosch Motorsport
If the condition entered in the IF window is TRUE, the program calculates the condition
entered in the THEN window. The returned value is the content of the new variable
(entered in “Name”).
If the condition entered in the IF window is FALSE, the program calculates the condition
entered in the OTHERWISE window. The returned value is the content of the new variable
(entered in “Name”).
The reset value is always set for the new variable (entered in “Name”):
– before the If-condition becomes TRUE for the first time after power-up
– when the If-condition changes state from FALSE to TRUE.
An example of a condition to set up the maximum front brake pressure is given on the
next page.
The conditional function is displayed in the DDU 10 math channel window.
Example: Setting up a condition for maximum front brake pressure
20
20
10
Max brake pressure of the variable ‘front p_br_front_mx’
Reset
value
is used
Hold
max.
value
Follow
max.
value
Reset
value
is used
Time
Time
Condition ‘p_br_front > 20’
Brake pressure front p_br_front
30
40
30
40
10
Brake pressure ‘front p_br_front’
Hold max.
value
Hold max.
value
Threshold
reached
– At power-up, the reset value (10) is used for ‘p_br_front_mx’.
– ‘p_br_front’ rises to 30. As ‘p_br_front’ is > 20 (condition is TRUE), the condition ‘max
(p_br_front, p_br_front_mx)’ in the THEN window is triggered. The condition sets the
bigger value as new value for ‘p_br_front_mx’. As ‘p_br_front’ (30) is bigger than
‘p_br_front_mx’ (10), the new value for ‘p_br_front_mx’ is set to 30.