Professional Documents
Culture Documents
1 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Trainer information
RBEI/EES
Jagannath N R (RBEI/EES1)
Phone: +91(80)6657-1342
E-mail: jagannath.nr@in.bosch.com
2 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in code?
• Umrechnung for parameters for the controllers/library
functions.
• Case study (Temperature and Time umrechnung)
3 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in code?
• Umrechnung for parameters for the controllers/library
functions.
• Case study (Temperature and Time umrechnung)
4 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Environment Temperature
23.3° C
Driver
Voltage to
Temperature Display
ADC conversion
On Dashboard
Air Temp Sensor
INCA
2V
CPU
23.3° C
ECU
Testing Tool
Diesel Systems
5 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Implementation Types
• Integer Arithmetic
• Floating-point Arithmetic
Diesel Systems
6 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Double-precision 64 bit
Diesel Systems
7 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Comparison
Integer Arithmetic Floating-point Arithmetic
Variable data type and size Fixed 4-Byte IEEE Format
Limited range and resolution for Extended range and resolution
representation of Physical Data for representation of Physical
Data
Simpler program/code Complex program/code
implementation implementation
Faster calculation of results Slower calculation of results
Obtaining desired accuracy Accuracy and resolution are
and resolution requires always guaranteed
special techniques
(Conversion formula)
Diesel Systems
8 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
• Accuracy
• Disadvantage
Diesel Systems
10 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Diesel Systems
11 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Diesel Systems
12 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Diesel Systems
17 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
• Subtraction Underflows
• Multiplication Overflows
• Division by Zero
Diesel Systems
18 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Diesel Systems
19 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
5123 2
Multiplication
10246
Extra Calculation to be done in
P_In x P_Out /100
the code
102
Facto
r
Diesel Systems
20 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Where
FACT_RES_REV = 1/(FACT_RES)
And FACT_RES = 0.01
Diesel Systems
21 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
AirSys_pIntak AirSys_pInta
e ke
UmRechnung:
A computation formula tag associated with
every variable that defines a method such that
the
values that hold a physical significance are
actually transformed to integer-format for use
by the ECU
22 Internal | EDP3_SpdGov_CSC | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property
rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Computation Method
User
(Umrechnung)
How does it Work? Compu methods INCA
info
Compu
methods
a2l
pavast files DAMOS Phy. Value
and Build (Float)
hex
c and h files
INTEGERS
Offline
23 Internal | EDP3_SpdGov_CSC | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property
rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in code?
• Umrechnung for parameters for the controllers/library
functions.
• Case study (Temperature and Time umrechnung)
24 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Verbal Rational
(Ex:- HeSrv_swtPopVis)
Integer Float
(resolution) (int = phy)
10^-38 - 10^+38
25 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Integer Umrechnung
Internal values for calculations are in integer and resulting output is
converted to physical value for display to external world.
Ex –
Int = Phy / Resolution (Resolution is a fraction in most of the cases)
| | |
| | ------------------ Constant value with unit
| ----------------------------- Physical value with unit
------------------------------------- Internal Value
26 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Float Umrechnung
Should be used only in very complex calculations where more accuracy is
required.
Internal and physical values are in float and does not need any
conversion formula, always internal = physical.
27 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Verbal Umrechnung
It is like enumeration data type and always used for non-physical quantity
28 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in code?
• Umrechnung for parameters for the controllers/library
functions.
• Case study (Temperature and Time umrechnung)
29 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
<DdDd>[_Un][_DT][_Qu]_COMPU[_VERB]
Applications hint:
• The extensions Un, DT, Qu are optional and written in small letters.
http://www2.intranet.bosch.com/ds/esq/100_topics/202_ProcessPortal/300_Engineering/311_ComponentDesign/001_Guidelines/P
MT_SE_NamingConventions.pdf
30 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
<CC>_]<DDDD>[_<DDDD>]
CC: component name. Name of the component is not optional for local system consta
DDDD: description, e.g. of a feature<capital letter>[<capital letter>|<number>
Only capital letters and numbers are used.
31 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
<CC>_]<DDDD>[_<DDDD>]_SC
C: Name of the component is optional.
DDD: description, e.g. of a feature<capital letter>[<capital letter>|<number>]
nly capital letters and numbers are used.
32 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Resolution
Unit
33 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
34 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Example 2: Verbal
35 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
36 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
37 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
38 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
39 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
40 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in
code?
• Umrechnung for parameters for the controllers/library
functions.
• Case study (Temperature and Time umrechnung)
41 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Diesel Systems
42 Internal | RBIN/ESD | 01.12.2006 | FIT_D_Seminartitel_JJMMTT_E | © Robert Bosch India Ltd reserves all rights even in the event
of industrial property rights. We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Addition/Subtraction:
A = B +/- C ;
Here all the three variables should be having same umrechnung
and hence the same unit.
Exception is Temp_Cels umrechnung.
Comparison:
43 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Multiplication:
44 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Multiplication:
45 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Division:
Example:
rSotMsDvt = SrvB_MulDiv16( mSotDvt , RATSOOT_RES_REV ,
mSotSimMon );
46 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Division:
Case 2: Umrechnung of numerator and denominator are different
A(Res_hPaHrPerCM) = B(Pres_hPa) / C(AirVolPerTime) ;
Example:
/* consider int. conversions for p, dv,R*/ /* R = p_diff / dv */
resFlwRaw = SrvB_MulDiv16(pDiffSot, ADPT_RES_CONV,
dvolPFltEG) ;
Where ADPT_RES_CONV
= (ST_RES_REV * DVOL_RES_INV)/PRES_HPA_RES_INV
47 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
48 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Points we should be aware of during coding of Pavast and
Pacoin files
Data Type
Umrechnung
49 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Points we should be aware of during coding of Pavast and
Pacoin files
Data Type
Umrechnung
50 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Points we should be aware of during coding of Pavast and
Pacoin files
While adding/changing a calibration parameter
Data Type
Umrechnung
Same umrechnung as _C
Unit
51 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
• Make sure that when you divide or multiply two system constants
value is always complete integer.
Ex: SYSCONST_A(0.05), SYSCONST_B(0.1).
SYSCONST_C = SYSCONST_A/SYSCONST_B =0.5
Can not be used in c or h file.
SYSCONST_C = SYSCONST_B/SYSCONST_A = 2
This can be used directly in c or h file.
52 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
53 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Float message
Ex:
/* r32 to integer conversion */
dmSOxUnldLamCor =
(sint32) ((real32)NSCLd_dmSOxUnldLamCor)/(real32)(DM_SOX2_RES_FL));
54 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Integer Variable
Ex:
facTempNSCAge = SrvX_IpoCurveS16( tCatAge, NSCLd_facTempNSCAge_CUR );
/* ############### Integration of the factor Thermal Degradation of NSC ####### */
facNSCAge_r32 = (real32) ( facNSCAge_r32) +
( ((real32)facTempNSCAge / (real32)FACT_NSC_RES_REV)
* ((real32)DT/(real32)NORM_SEC_US) ));
55 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
InjMsPrTime_q0p001_COMPU AirMs_q0p1_COMPU
sint16 sint16
56 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Initialization
Integration
Output Calc
DT – raster time in µs
57 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
DT – raster time in µs
For 100 ms task DT = 100,000
OXICAT_HCMASSINTEG_NRM =
(KGH_TO_KGS * NORM_SEC_US *
INJMSPRTIMEQ0P001_RES_REV)/
(MASS_CONV_KG2G * AIRMSQ0P1_RES_REV)
KGH_TO_KGS = 3600
NORM_SEC_US = 1,000,000 µs
MASS_CONV_KG2G = 1000
58 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in code?
• Umrechnung for parameters for the
controllers/library functions.
• Case study (Temperature and Time umrechnung)
59 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Controllers Functions
60 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
61 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
2) When Input and output with different physical unit and resolutions.
Ex. Input = Pressure Pres_hPa , Output = % Prc
Resolution cancellation for Input and Output can be done by defining the new
umrechnung for the gain parameters.
62 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
2) When Input and output with different physical unit and resolutions.
Ex. Input = Pressure Pres_hPa , Output = % Prc
Resolution cancellation for Input and Output can be done by defining the new
umrechnung for the gain parameters.
63 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
2) When Input and output with different physical unit and resolutions.
Ex. Input = Pressure Pres_hPa , Output = % Prc
Resolution cancellation for Input and Output can be done by defining the new
umrechnung for the gain parameters.
64 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
TimeDelay_s
TimeDelay_ms
65 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
X - Input 0 100
Y Physical 0.1 s 100 s
Y Internal 1000 1 Conversion: Int = 100/phy
Expected Result:
If input X is 50 -> expected output is around 50.05 s
66 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
TimeDelay_s_Lin_16
Time_s
Time_ms
TimeDeb
68 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Time_Dt
69 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
70 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
SW Timer – DifferenceSWTimer
Example:
Timer_Diff_mp = SrvB_DiffSWTmrS16(&TimerVar16)
71 Internal | Department | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Agenda:
• Significance of umrechnung.
• Types of umrechnung.
• How to define new umrechnung?
• How to take care of change in umrechnung in code?
• Umrechnung for parameters for the controllers/library
functions.
• Case study (Temperature and Time umrechnung)
72 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Temperature Umrechung
Internal calculations should be in Kelvin, Only to display in INCA deg
C is used.
Note :-
1> If the internal calculations to be carried out in Kelvin, offset compensati
is not required, phy value gets displayed in INCA in deg C
2> If the internal calculations to be carried out in deg Cels, offset
compensation is required – clarify at the beginning of the task.
73 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
74 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
75 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Operation:
tAftMul(Temp_Cels) = tB4Mul(Temp_Cels) * PFlt_facBlwBy_C(Fact);
In Kelvin.
tAftMul = SrvB_MulShRight16(tB4Mul, PFlt_facBlwBy_C, FACT_NRM_EXP);
In Celsius.
tAftMul = SrvB_MulShRight16(SrvB_Sub16(tB4Mul, TEMP_CELS_ZERO),
PFlt_facBlwBy_C, FACT_NRM_EXP);
tAftMul = SrvB_Add16(tB4Mul, TEMP_CELS_ZERO);
76 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Operation:
rTemp(Fact) = tNum(Temp_Cels) / tDen(Temp_Cels);
In Kelvin.
rTemp = SrvB_MulDiv16(tNum,FACT_RES_REV,tDen);
In Celsius.
rTemp = SrvB_MulDiv16(SrvB_Sub16(tNum, TEMP_CELS_ZERO),
FACT_RES_REV, SrvB_Sub16(tDen, TEMP_CELS_ZERO));
77 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Time Umrechung:
Frequently used Time Umrechnungs :-
Time_s –> Used to display physical value in s and used for output of the
SW timer.
Resolution is 0.01 s. Ex- Phy = 10 s, Int = 1000
Summary:
• Basics of umrechnung.
• Types of umrechnung.
• Defining new umrechnung.
• Taking care of change in umrechnung in code.
• Umrechnung for parameters for the controllers/library
functions.
• Temperature and few time related umrechnung
79 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights.
We reserve all rights of disposal such as copying and passing on to third parties.
Umrechnung Training
Questions ?
Thank You
80 Internal | RBIN/EDP3 | 29/05/2006 | © Robert Bosch India Ltd reserves all rights even in the event of industrial property rights. We reserve all
rights of disposal such as copying and passing on to third parties.