Example of SDD
-
Upload
terence-yeoh -
Category
Documents
-
view
101 -
download
7
description
Transcript of Example of SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 Cover
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
SOFTWARE DESIGN DOCUMENT (SDD)
for the
DRIVING ASSISTANCE SYSTEM (DAS)
of the
ON-BOARD AUTOMOBILE (OBA)
CONTRACT NO:
CASE (Man_Doc_006)
CDRL SEQUENCE NO:
CASE (Man_Doc_008)
Prepared For:
Centre for Advanced Software Engineering (CASE)
Prepared By:
E_FXSoft
Team Members ID Number
Authenticated By Approved By
Centre for Advanced Software
Engineering (CASE) E_FXSoft
Date Date
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 i
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
DOCUMENT APPROVAL
REVISION
NAME DATE
Verified By:
_______________
PROJECT LEADER
Authenticated By:
_______________
PROJECT MANAGER
Approved By:
_______________
CLIENT
Software : Microsoft Word 2000
Archiving Place : OBA/Product/Software Engineering/SDD
Copies Available : DOC
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 ii
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
REVISION HISTORY
REVISION
DESCRIPTION
A
Redefine the Activity diagrams, Sequence diagrams and Activity diagrams.
Refer to Appendix A, B and C.
B
C
D
E
Ind.+ Date A B C D E
Written By E_FXSoft
Verified By En. Wan Ya B.
Wan Hussin
Authenticated By
Approved By
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 iii
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
LIST OF EFFECTIVE PAGES
PAGES REVISION PAGES REVISION
Appendix A
Appendix B
Appendix C
A
A
A
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 iv
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
TABLE OF CONTENTS
DOCUMENT APPROVAL .............................................................................. i REVISION HISTORY ................................................................................. ii LIST OF EFFECTIVE PAGES ...................................................................... iii TABLE OF CONTENTS ............................................................................... iv LIST OF FIGURES ................................................................................... vii LIST OF TABLES .................................................................................... viii LIST OF APPENDICES .............................................................................. ix 1 SCOPE ................................................................................................. 1 1.1 Identification ................................................................................. 1 1.2 System overview ........................................................................... 1 1.3 Document overview ....................................................................... 2 2 REFERENCED DPCUMENTS .................................................................. 3 2.1 Government documents .................................................................. 3 2.2 Non-Government documents ........................................................... 3 3 PRELIMINARY DESIGN ....................................................................... 4 3.1 CSCI overview ............................................................................... 4 3.1.1 CSCI architecture ....................................................................... 5 3.1.1.1 Static organization ............................................................... 5 3.1.1.2 Dynamic organization ........................................................... 7 3.1.1.3 CSCs interfaces ................................................................... 7 3.1.1.4 CSC external CSCIs interfaces ............................................... 7 3.1.2 System states and modes ............................................................ 8 3.1.3 Memory and processing time allocation ....................................... 10 3.2 CSCI design description ................................................................ 11 3.2.1 CSC OBACruise (SDD-REQ-100) ................................................. 11 3.2.2 CSC OBAKeepUpData (SDD-REQ-200) ........................................ 11 3.2.3 CSC OBAKernel (SDD-REQ-300) ................................................. 12 3.2.4 CSC OBAMaintenance (SDD-REQ-400) ........................................ 12 3.2.5 CSC OBAPrimitiveData (SDD-REQ-500) ....................................... 13 3.2.6 CSC OBASpeedData (SDD-REQ-600) .......................................... 13 3.2.7 CSC OBAControlPanel (SDD-REQ-700) ........................................ 13 3.2.8 CSC Utility (SDD-REQ-800) ........................................................ 14 4 DETAILED DESIGN ............................................................................ 15 4.1 CSC OBACruise (SDD-REQ-100) .................................................... 15 4.1.1 CSU CruiseMgr (SDD-REQ-101) .................................................. 15 4.1.1.1 CruiseMgr ......................................................................... 16 4.1.1.2 sendValueSpeed ................................................................ 16 4.1.1.3 verifyCruise ....................................................................... 16 4.1.1.4 deactivateCruise ................................................................ 17 4.1.1.5 activateCruise ................................................................... 17 4.1.1.6 startAcceleration ................................................................ 17 4.1.1.7 stopAcceleration ................................................................ 18 4.1.1.8 controllingCruiseSpeed ....................................................... 18 4.1.1.9 resumeSpeed .................................................................... 19 4.1.1.10 getBrakeStatus .................................................................. 19 4.1.1.11 getAcceleratorStatus .......................................................... 19 4.1.1.12 suspendCruise ................................................................... 20 4.1.1.13 checkCruiseAlert ................................................................ 20 4.1.1.14 regulateCruiseSpeed .......................................................... 21
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 v
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2 CSC OBAKeepUpData (SDD-REQ-200) ............................................ 22 4.2.1 CSU CalibrationMgr (SDD-REQ-201) ........................................... 22 4.2.1.1 CalibrationMgr ................................................................... 22 4.2.1.2 setCalibration .................................................................... 23 4.2.1.3 validateCalibrationValue ..................................................... 23 4.2.1.4 setCalibrationOn ................................................................ 23 4.2.1.5 setCalibrationOff ................................................................ 24 4.2.2 CSU FuelMgr (SDD-REQ-202) ..................................................... 24 4.2.2.1 sendToDisplay ................................................................... 24 4.2.2.2 newTripStatus ................................................................... 25 4.2.2.3 clickToCalculateFuelConsumption ......................................... 25 4.2.2.4 enterToCalculateFuelConsumption ........................................ 26 4.2.2.5 getDistance ....................................................................... 26 4.2.2.6 getAmount ........................................................................ 26 4.2.2.7 calculateFuelConsumption ................................................... 27 4.3 CSC OBAKernel (SDD-REQ-300) .................................................... 28 4.3.1 CSU OBAMain (SDD-REQ-301) ................................................... 28 4.3.1.1 displayResult ..................................................................... 29 4.3.1.2 displayToPanel................................................................... 30 4.3.1.3 displayFilter ...................................................................... 31 4.3.1.4 periodHandler .................................................................... 32 4.4 CSC OBAMaintenance (SDD-REQ-400)............................................ 33 4.4.1 CSU MaintenanceMgr (SDD-REQ-401) ......................................... 33 4.4.1.1 mileageMonitoring ............................................................. 34 4.4.1.2 verifyTypeOfMaintenance .................................................... 34 4.5 CSC OBAPrimitiveData (SDD-REQ-500) .......................................... 35 4.5.1 CSU MileageMgr (SDD-REQ-501) ................................................ 35 4.5.1.1 MileageMgr ....................................................................... 35 4.5.1.2 getPulseCount ................................................................... 36 4.5.1.3 calculateDistance ............................................................... 36 4.5.2 CSU TimeMgr (SDD-REQ-502) .................................................... 37 4.5.2.1 timeMgr ............................................................................ 37 4.5.2.2 calculateTime .................................................................... 37 4.5.2.3 getTime ............................................................................ 38 4.5.2.4 timeHandler ...................................................................... 38 4.6 CSC OBASpeedData (SDD-REQ-600) .............................................. 39 4.6.1 CSU SpeedMgr (SDD-REQ-601) .................................................. 39 4.6.1.1 SpeedMgr ......................................................................... 39 4.6.1.2 getCurrentSpeed ............................................................... 40 4.6.1.3 calculateCurrentSpeed ........................................................ 40 4.6.1.4 calculateAverageSpeed ....................................................... 40 4.6.1.5 verifyTripStatus ................................................................. 41 4.6.1.6 getTime() ......................................................................... 41 4.6.1.7 getDistance() .................................................................... 41 4.6.1.8 calculateAccelerationSpeed ................................................. 42 4.7 CSC OBAControlPanel (SDD-REQ-700) ........................................... 43 4.7.1 CSU ControlPanelMgr (SDD-REQ-701) ......................................... 43 4.7.1.1 opname ............................................................................ 44 4.7.1.2 maintenanceComplete ........................................................ 44 4.7.1.3 setCruiseOn ...................................................................... 45 4.7.1.4 setCruiseOff ...................................................................... 45 4.7.1.5 verifyEngineCondition ......................................................... 45 4.7.1.6 getIgnitionStatus ............................................................... 46
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 vi
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.7 setNewTrip ........................................................................ 46 4.7.1.8 getAverageSpeed ............................................................... 46 4.7.1.9 getFuelConsumption ........................................................... 47 4.7.1.10 enterFuelConsumption ........................................................ 47 4.7.1.11 getCalibrationOn ................................................................ 47 4.7.1.12 setCalibrationOff ................................................................ 48 4.7.1.13 setFuelFillStatus ................................................................ 48 4.7.1.14 getFuel ............................................................................. 48 4.7.1.15 getFuelAmount .................................................................. 49 4.7.1.16 clearDisplayPanel ............................................................... 50 4.8 CSC Utility (SDD-REQ-800) ........................................................... 51 4.8.1 CSU OBAAdapter (SDD-REQ-801) ............................................... 51 4.8.1.1 displayMessage ................................................................. 51 4.8.1.2 setThrottlePosition ............................................................. 52 4.8.1.3 setLED .............................................................................. 52 4.8.1.4 initLED ............................................................................. 52 4.8.2 CSU OBACouplers (SDD-REQ-802) ............................................. 53 4.8.2.1 getThrottlePosition ............................................................. 53 4.8.2.2 getPulseCount ................................................................... 53 5 CSCI DATA ........................................................................................ 54 5.1 Global data element within CSCI .................................................... 54 5.2 Global data element of CSCI external interfaces .............................. 55 6 CSCI DATA FILES .............................................................................. 56 6.1 Data file to CSC/CSU cross reference ............................................. 56 6.1.1 Route Profile 1: flat.road ........................................................... 57 6.1.2 Route Profile 2: uphill.road ........................................................ 58 6.1.3 Route Profile 3: downhill.road .................................................... 59 7 REQUIREMENTS TRACEABILITY ........................................................ 60 8 NOTES .............................................................................................. 61
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 vii
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
LIST OF FIGURES
Figure 3.1: The External Interface Diagram .................................................... 4 Figure 3.2: The CSCI OBA CSCs .................................................................... 5 Figure 3.3: Dynamic Organization of CSCI OBA .............................................. 7 Figure 3.4: Relationship between CSC in CSCI OBA ......................................... 7 Figure 3.5: Visibility of CSC OBACruise with Other CSCs ................................ 11 Figure 3.6: Visibility of CSC OBAKeepUpData with Other CSCs ........................ 11 Figure 3.7: Visibility of CSC OBAKernel with Other CSCs ................................ 12 Figure 3.8: Visibility of CSC OBAMaintenance with Other CSCs ........................ 12 Figure 3.9: Visibility of CSC OBAMaintenance with Other CSCs ........................ 13 Figure 3.10: Visibility of CSC OBASpeedData with Other CSCs ........................ 13 Figure 3.11: Visibility of CSC OBAControlPanel with Other CSCs ...................... 13 Figure 3.12: Visibility of CSC Utility with Other CSCs ..................................... 14
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 viii
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
LIST OF TABLES
Table 3.1: System States and Modes for Cruise Control ................................... 8 Table 3.2: System States and Modes for Maintenance ...................................... 9 Table 3.3: Memory and Processing Time Allocation ........................................ 10 Table 5.1: Global Data Element within CSCI ................................................. 54 Table 5.1: Global Data Element within CSCI (Continue) ................................. 55 Table 6.1: Data Files Mapping to CSC .......................................................... 56 Table 6.2: “Route Profile 1: flat.road” Data ................................................... 57 Table 6.3: “Route Profile 2: uphill.road” Data ................................................ 58 Table 6.4: “Route Profile 3: downhill.road” Data ............................................ 59 Table 7.1: Requirements Traceability Matrix ................................................. 60
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 ix
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
LIST OF APPENDICES
APPENDIX A (STATE TRANSITION DIAGRAMS) ............................................. A-1 Appendix A-1: State Transition Diagram for Cruising Control ......................... A-2 Appendix A-2: State Transition Diagram for Maintenance .............................. A-2 APPENDIX B (SEQUENCE DIAGRAMS) ......................................................... B-1 Appendix B-1: Regulate Speed (Over 2 km/h) - Basic Flow ............................ B-2 Appendix B-2: Regulate Speed - Basic Flow ................................................. B-3 Appendix B-3: Regulate Speed (Acceleration) - Basic Flow ............................ B-4 Appendix B-4: Regulate Speed (Acceleration) - Exception Flow ...................... B-4 Appendix B-5: Resume Cruise - Basic Flow .................................................. B-5 Appendix B-6: Stop Acceleration - Basic Flow .............................................. B-5 Appendix B-7: Active Cruise - Basic Flow .................................................... B-6 Appendix B-8: Deactivate Cruise - Basic Flow .............................................. B-6 Appendix B-9: Brake Pedal (Pressed) - Basic Flow ........................................ B-7 Appendix B-10: Accelerator Pedal (Pressed) - Basic Flow .............................. B-7 Appendix B-11: Start Engine (Engine Ignition) - Basic Flow ........................... B-8 Appendix B-12: Start Trip - Basic Flow ........................................................ B-9 Appendix B-13: Set Calibration - Basic Flow .............................................. B-10 Appendix B-14: Calculate Fuel Consumption - Basic Flow ............................ B-11 Appendix B-15: Fuel Filling - Basic Flow .................................................... B-12 Appendix B-16: Fuel Filling - Exception Flow .............................................. B-12 Appendix B-17: Perform Car Maintenance - Basic Flow ................................ B-13 Appendix B-18: Calculate Distance - Basic Flow ......................................... B-14 Appendix B-19: Timer - Basic Flow ........................................................... B-14 Appendix B-20: Calculate Current Speed - Basic Flow ................................. B-15 Appendix B-21: Calculate Average Speed - Basic Flow ................................ B-15 Appendix B-22: Calculate Acceleration Speed - Basic Flow ........................... B-16 APPENDIX C (ACTIVITY DIAGRAMS) ........................................................... C-1 Appendix C -1: Activity Diagram for Start Engine ......................................... C-2 Appendix C -2: Activity Diagram for Operate Cruise Control .......................... C-3 Appendix C-3: Activity Diagram for Perform Car Maintenance ........................ C-4 Appendix C-4: Activity Diagram for Set Car Calibration ................................. C-5 Appendix C-5: Activity Diagram for Calculate Average Speed ......................... C-6 Appendix C-6: Activity Diagram for Average Fuel Consumption ...................... C-7
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 1/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
1 SCOPE
This chapter is divided into the following paragraphs and subparagraphs.
1.1 Identification
This Software Design Document (SDD) belongs to the “Driving Assistance
System” (DAS).
System title : Driving Assistance System
System abbreviation : DAS
System identification number : 31 000 010
Subsystem title : Safe Drive
Subsystem abbreviation : SD
Subsystem identification number : 31 000 100
CSCI title : On-Board Automobile
CSCI abbreviation : OBA
CSCI identification number : EFX-2003-02
1.2 System overview
The Driving Assistance System (DAS) fits into the framework of “Wawasan
2020”, a Malaysian Government program on the definition and feasibility of
a vehicle for the near future.
The DAS includes the OBA subsystem that shall improve the safety of
vehicle driving, in particular over long trips on highways.
The OBA subsystem shall:
i. Control the cruising speed of the car, upon driver’s request.
ii. Indicate to the driver when maintenance operations are
necessary.
iii. Calculate the average speed on trips, upon driver’s request.
iv. Calculate the average fuel consumption between two fillings
and the average fuel consumption upon a trip.
v. Inform the driver through LED indication for certain
problems detected while driving the vehicle (e.g. via the use
of “Care to speed’ LED).
This subsystem is composed of an embedded computer (the OBA target),
the OBA processor, the OBA software, a control panel and couplers with the
mechanical components of the vehicle.
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 2/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
1.3 Document overview
This document overlay the following chapters:
Chapter 1 : Scope
Chapter 2 : Referenced Documents
Chapter 3 : Preliminary Design
Chapter 4 : Detailed Design
Chapter 5 : CSCI Data
Chapter 6 : CSCI Data Files
Chapter 7 : Requirements Traceability
Chapter 8 : Notes
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 3/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
2 REFERENCED DPCUMENTS
This chapter lists the document number and the title of all documents
referenced in this SDD.
2.1 Government documents
Unless otherwise specified in the present document, the requirements set
forth in the standard indicated below, form part of the Statement of Work
(SOW).
[1] DoD-Std-2167A Defense System Software Development
[2] DoD-Std-2168 Defense System Software Quality Program
[3] MIL-Std-1521B Technical reviews and audits
2.2 Non-Government documents
Unless otherwise specified in the present document, the requirements set
forth in the standard indicated below, form part of the Statement of Work
(SOW).
[4] CASE (Letter_1) Additional requirements from client dated 27th
June 2003
[5] CASE (Letter_2) Additional requirements from client dated 27th
June 2003
[6] CASE (Letter_3) Additional requirements from client dated 27th
June 2003
[7] CASE (Man_Doc_001) General organization of the project
[8] CASE (Man_Doc_002) Presentation of the project
[9] CASE (Man_Doc_003) Software Specification Review
[10] CASE (Man_Doc_004) Preliminary Design Review
[11] CASE (Man_Doc_005) Test Readiness Review
[12] CASE (Man_Doc_006) Contract for an OBA System
[13] CASE (Man_Doc_007) Statement of Work for OBA
[14] CASE (Man_Doc_008) Contract Data Requirement List for OBA
[15] CASE (Test_Doc_001) Technical Specification OBA Computer for DAS
[16] CASE (Test_Doc_002) Maintenance Report No 1 OBA Computer for
DAS
[17] CASE (Test_Doc_003) Maintenance Report No 2 OBA Computer for
DAS
[18] CASE (Test_Bench_001) Technical Specification OBA Computer Test
Bench
[19] Guideline UML-1 The Unified Modeling Language User Guide
(Addison Wesley)
[20] Guideline C++-1 C++: How To Program (Prentice Hall)
[21] IRS (FT-10-022-A) Interface Requirements Specification
[22] RDL-105 Conduct of reviews and audits guide
[23] RDL-314 Drafting Guide SDD
[24] SDP (FT-10-037-) Software Development Plan
[25] SPM (56 699 445-508) Software Programming Manual of OBA Virtual
Target API
[26] SRS (FT-10-045-A) Software Requirements Specification
[27] SSS (31 000 100-305) System/Segment Specification of SD
Subsystem
[28] SUM (56 699 445-108) OBA Testbench Software User’s Manual
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 4/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3 PRELIMINARY DESIGN
This chapter is divided into the following paragraphs and subparagraphs to
describe the preliminary design of the CSCI OBA.
3.1 CSCI overview
This paragraph identifies the CSCI OBA external interface components,
which are described in the following figure.
Figure 3.1: The External Interface Diagram
Figure 3.1 shows the external interface diagram between the CSCI OBA and
the driver. The fuel, gear, keypad and pedal are used by the driver to
interact and give input to the CSCI OBA. The shaft provides the number of
pulses to the CSCI OBA, in order to determine the distance and speed
values. The output of the CSCI OBA is directed to the Safe Drive Control
Panel, which consists of message panel and LED. The throttle receives an
electric voltage, which produced by the fuel inlet mechanism.
Fuel
Gear
Keypad
Pedal
Shaft
Throttle
SD Control Panel
Fuel
Gear
Keypad
Pedal
Shaft
Throttle
SD Control Panel
CSCI OBA
fuelVolume
shaftPulseInterrupt
pedalSignal
keypadSignal
gearSignal
voltage
message
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 5/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.1.1 CSCI architecture
This section is divided into sub paragraphs, which will describe:
i. The internal organization structure of the CSCI.
ii. Computer Software Components (CSCs) and their purpose.
iii. Relationship among CSCs.
3.1.1.1 Static organization
Figure 3.2: The CSCI OBA CSCs
Figure 3.2 shows the CSCI OBA CSCs or packages. The CSCI OBA consists
of eight CSCs. Each CSC defines a set of roles, which result in a minimum
of coupling. The CSC is described as following:
1. OBACruise
This CSC is responsible to manage the auto cruise operation. It
consists of the following class:
i. CruiseMgr
2. OBAKeepUpData
This CSC is responsible to hold the updated value of the speed and
distance. It is also responsible to manage the fuel consumption in
terms of filling of fuel and calculation of average consumption. It
consists of the following classes:
i. CalibrationMgr
ii. FuelMgr
3. OBAKernel
This CSC is responsible to provide information on a current value to
the cruise. It consists of the following class:
i. OBAMain
Utility
global
OBAMaintenance
OBAControlPanel
global
OBAKeepUpData
OBASpeedDataOBAPrimitiveData
OBAKernel
OBACruise
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 6/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4. OBAMaintenance
This CSC is responsible to manage the maintenance schedule. It
consists of the following class:
i. MaintenanceMgr
5. OBAPrimitiveData
This CSC is responsible to provide the information on the distance
to the cruise. It is also responsible to track and provide the time
when event is occurred. It consists of the following classes:
i. MileageMgr
ii. TimeMgr
6. OBASpeedData
This CSC is responsible to manage the calculation of average
speed. It consists of the following class:
i. SpeedMgr
7. OBAControlPanel
This CSC is responsible to manage the interaction between the
CSCI OBA and the driver. It consists of the following class:
i. ControlPanelMgr
8. Utility
This CSC is responsible to manage the input and output, which is
attached with the CSCI OBA. It consists of the following classes:
i. OBAAdapter
ii. OBACouplers
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 7/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.1.1.2 Dynamic organization
Figure 3.3: Dynamic Organization of CSCI OBA
Figure 3.3 shows the dynamic organization, which describes the
dependency between components in the CSCI OBA. It shows the
relationship of main program with its related CSCs and CSUs.
3.1.1.3 CSCs interfaces
\\\\\\\\\\\\\\
Figure 3.4: Relationship between CSC in CSCI OBA
3.1.1.4 CSC external CSCIs interfaces
Not applicable.
Utility
global
OBAMaintenance
OBAControlPanel
global
OBAKeepUpDataOBASpeedDataOBAPrimitiveData
OBAKernel
OBACruise
OBACruise
OBAControlPanel
Utility
OBAKeepUpData
OBAMaintenance
OBAPrimitiveDataOBASpeedData
OBAKernel
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 8/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.1.2 System states and modes
This paragraph describes the states of each CSCs that operates in the
CSCI OBA. The system states and modes for the CSCI OBA are applied for
the Cruise Control and Maintenance. The state transition is triggered by an
event, which is an occurrence of a stimulus.
The states and modes are visually described in State Transition Diagram.
Refer to Appendix A.
The states and modes are precisely described in the following table.
Mode State Describe
Cruise Control
Cruise disengaged The ignition is on and the auto
cruise is inactive.
Cruise activated The system is under auto
cruise mode.
Accelerate The system speed is increased
upon the driver request by
clicking on the <<Start>>
accelerating button or by
pressing on the accelerator
pedal.
Regulate The system speed is
maintained when the driver do
the following activities:
i. Click the <<Stop>>
accelerating button
ii. Click the <<Resume>>
button.
iii. Release the accelerator
pedal.
Suspend The system is under this state
when the driver presses the
brake pedal.
Cruise deactivated The auto cruise is inactive.
Table 3.1: System States and Modes for Cruise Control
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 9/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Mode State Describe
Maintenance
Cruise activated The system is under auto
cruise mode.
First level
maintenance
The system is under this state
when the maintenance distance
is 8000km. The maintenance
schedule for this state is to
change the oil and oil filter.
Display message
intermittently
The system reaches 400km
before the maintenance
milestone.
Display message
continuously
The system reaches 80km
before the maintenance
milestone.
Second level
maintenance
The system is under this state
when the maintenance distance
is 16000km. The maintenance
schedule for this state is to
change the oil, oil filter and air
filter.
Third level
maintenance
The system is under this state
when the maintenance distance
is 24000km. The maintenance
schedule for this state is to
change the oil, oil filter, air
filter and general check.
Table 3.2: System States and Modes for Maintenance
Note:
The maintenance schedule will be continued for every 8000km and will
received the same message displayed for every 400km before the
maintenance milestone and 80km before the maintenance milestone.
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 10/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.1.3 Memory and processing time allocation
CSC CSU Allocated
time Strategy
OBACruise
(SDD-REQ-100)
CruiseMgr
(SDD-REQ-101) ≤ 0.5 second Probe
OBAKeepUpData
(SDD-REQ-200)
CalibrationMgr
(SDD-REQ-201)
FuelMgr
(SDD-REQ-202)
OBAKernel
(SDD-REQ-300)
OBAMain
(SDD-REQ-301)
OBAMaintenance
(SDD-REQ-400)
MaintenanceMgr
(SDD-REQ-401) ≤ 10.0 second Probe
OBAPrimitiveData
(SDD-REQ-500)
MileageMgr
(SDD-REQ-501)
TimeMgr
(SDD-REQ-502)
OBASpeedData
(SDD-REQ-600)
SpeedMgr
(SDD-REQ-601)
OBAControlPanel
(SDD-REQ-700)
ControlPanelMgr
(SDD-REQ-701)
Utility
(SDD-REQ-800)
OBAAdapter
(SDD-REQ-801)
≤ 1.0 second Probe
≤ 10.0 second
OBACouplers
(SDD-REQ-802) ≤ 0.5 second Probe
Table 3.3: Memory and Processing Time Allocation
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 11/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.2 CSCI design description
This section is divided into the following subparagraphs to provide a design
description of each CSC of the CSCI OBA. A package is a CSC.
3.2.1 CSC OBACruise (SDD-REQ-100)
Figure 3.5: Visibility of CSC OBACruise with Other CSCs
Figure 3.5 shows the visibility of CSC OBACruise. The CSC groups the
elements that manage the cruise operations. This figure also shows the
communication link between the CSC OBACruise and other CSCs.
3.2.2 CSC OBAKeepUpData (SDD-REQ-200)
Figure 3.6: Visibility of CSC OBAKeepUpData with Other CSCs
Figure 3.6 shows the visibility of CSC OBAKeepUpData. The CSC groups
the elements that hold the updated value for distance and speed and also
manage the fuel consumption of the vehicle. This figure also shows the
communication link between the CSC OBAKeepUpData and other CSCs.
OBACruise
CruiseMgr(f rom OBACruise)
OBAKernel
OBAKeepUpData
FuelMgr(f rom OBAKeepUpData)
CalibrationMgr(f rom OBAKeepUpData)
OBAKernel
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 12/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.2.3 CSC OBAKernel (SDD-REQ-300)
Figure 3.7: Visibility of CSC OBAKernel with Other CSCs
Figure 3.7 shows the visibility of CSC OBAKernel. The CSC groups the
elements that are responsible to provide the current value to the cruise.
This figure also shows the communication link between the CSC OBAKernel
and other CSCs.
3.2.4 CSC OBAMaintenance (SDD-REQ-400)
Figure 3.8: Visibility of CSC OBAMaintenance with Other CSCs
Figure 3.8 shows the visibility of CSC OBAMaintenance. The CSC groups
the elements that manage the maintenance scheduling operations. This
figure also shows the communication link between the CSC
OBAMaintenance and other CSCs.
OBAKernel
OBAMain(f rom OBAKernel)
OBACruise
OBAMaintenance
OBAKeepUpData
OBASpeedData
OBAPrimitiveData
OBAMaintenance
MaintenanceMgr(f rom OBAMaintenance)
OBAKernel
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 13/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.2.5 CSC OBAPrimitiveData (SDD-REQ-500)
Figure 3.9: Visibility of CSC OBAMaintenance with Other CSCs
Figure 3.9 shows the visibility of CSC OBAPrimitiveData. The CSC groups
the elements that are responsible to provide the distance value to the
cruise. This figure also shows the communication link between the CSC
OBAPrimitiveData and other CSCs.
3.2.6 CSC OBASpeedData (SDD-REQ-600)
Figure 3.10: Visibility of CSC OBASpeedData with Other CSCs
Figure 3.10 shows the visibility of CSC OBASpeedData. The CSC groups
the elements that manage the calculation of the average speed. This
figure also shows the communication link between the CSC OBASpeedData
and other CSCs.
3.2.7 CSC OBAControlPanel (SDD-REQ-700)
Figure 3.11: Visibility of CSC OBAControlPanel with Other CSCs
Figure 3.11 shows the visibility of CSC OBAControlPanel. The CSC groups
the elements that manage the interaction between the CSCI OBA and the
driver. This figure also shows the communication link between the CSC
OBAControlPanel and other CSCs.
OBAPrimitiveData
TimeMgr(f rom OBAPrimitiv eData)
MileageMgr(f rom OBAPrimitiv eData)
OBAKernel
OBASpeedData
SpeedMgr(f rom OBASpeedData)
OBAKernel
OBAControlPanel
global
ControlPanelMgr(f rom OBAControlPanel)
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 14/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
3.2.8 CSC Utility (SDD-REQ-800)
Figure 3.12: Visibility of CSC Utility with Other CSCs
Figure 3.12 shows the visibility of CSC Utility. The CSC groups the elements that
manage the input and output, which is attached to the CSCI OBA. This figure also
shows the communication link between the CSC Utility and other CSCs.
Utility
global
OBAAdapter(from Util ity)
OBACouplers(from Util ity)
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 15/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4 DETAILED DESIGN
This chapter is divided into the following paragraphs and subparagraphs to
describe the detailed design of each CSC for the CSCI OBA.
4.1 CSC OBACruise (SDD-REQ-100)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBACruise.
This CSC is broken down into one CSU. Figure 4.1 shows the CSUs of the
CSC OBACruise.
OBACruise
CruiseMgr(f rom OBACruise)
Figure 4.1: CSC OBACruise Structural Diagram
4.1.1 CSU CruiseMgr (SDD-REQ-101)
Class Type : Control Class
Responsibility : CSU CruiseMgr is responsible to control and manage
the cruising driving for the automobile.
Attributes : iCruiseMode : integer
iActivate : integer
dSelectedSpeed : double
dCurrentSpeed : double
iFaultvalue : integer
dCurrentAccel : integer
iNewThrottle : integer
errorCounter : integer
fDelta : double
iNewThrottleValue : integer
Methods : CSU CruiseMgr contains the following methods:
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 16/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.1.1.1 CruiseMgr
Responsibility : To construct CruiseMgr class
Input Parameters : None
Output Parameters : None
Pre Conditions : Object CruiseMgr class of is instantiated
Algorithm :
BEGIN
SET dSelectedSpeed = 0;
SET dCurrentSpeed = 0;
SET iCruiseMode = 0;
SET iActivateMode = 0;
END
Post Conditions : CruiseMgr class constructed
4.1.1.2 sendValueSpeed
Responsibility : To send value speed whenever to activate the
cruising
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dCurrentSpeed = dVelocity;
DISPLAY (“dCurrentSpeed”);
END
Post Conditions : None
4.1.1.3 verifyCruise
Responsibility : To verify automobile condition whenever to
activate the cruising
Input Parameters : iEngineOn, iGear, dCurrentSpeed
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF iEngineOn = 1 AND dCurrentSpeed >= 80 AND iGEAR = 5
setCruiseSpeed(dCurrentSpeed);
ELSE
DISPLAY Error Message;
END
Post Conditions : Enable the cruising
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 17/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.1.1.4 deactivateCruise
Responsibility : To stop the cruising
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iActivateMode = 0;
SET adapter->setLED ;
END
Post Conditions : Disable the cruising
4.1.1.5 activateCruise
Responsibility : To activate the cruise
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iActivate = 1;
SET iCruiseMode = 1;
END
Post Conditions : The cruise is activate
4.1.1.6 startAcceleration
Responsibility : To verify automobile condition whenever to
start acceleration.
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iActivate = 1;
SET iCruiseMode = 2;
SET displayToPanel(10);
END
Post Conditions : Acceleration is start
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 18/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.1.1.7 stopAcceleration
Responsibility : To verify automobile condition whenever to
start acceleration.
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dSelectedSpeed = speed.calculateCurrentSpeed;
SET iCruiseMode = 1;
SET iActivateMode = 1;
SET displayToPanel(6);
END
Post Conditions : Acceleration is stop
4.1.1.8 controllingCruiseSpeed
Responsibility : To control the cruise speed
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SWITCH()
{
CASE (0):
DISPLAY (“MANUAL”);
CASE (1):
SWITCH()
{
CASE(0)
DISPLAY(“SUSPEND”);
CASE(1)
DISPLAY(“CRUISE”);
SET
regulateCruiseSpeed();
SET checkCruiseAlert();
CASE(2)
DISPLAY(ACCEL”);
SET
speed.autoAccelCruise();
SET checkCruiseAlert();
}
}
END
Post Conditions : The automobile will be cruising
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 19/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.1.1.9 resumeSpeed
Responsibility : To resume cruising
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF(dCurrentSpeed>= 80)
{
SET iCruiseMode = 1;
DISPLAY(“iCruiseMode”);
ELSE
SET suspendCruise();
DISPLAY(“iCruiseMode”);
END
Post Conditions : Resuming cruise
4.1.1.10 getBrakeStatus
Responsibility : To brake the status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
DISPLAY(“iBrakeStatus”);
SET suspendCruise();
DISPLAY(“iCruiseMode”);
END
Post Conditions : Brake cruise
4.1.1.11 getAcceleratorStatus
Responsibility : To accelarate the status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
DISPLAY iAccelaratorStatus;
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 20/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.1.1.12 suspendCruise
Responsibility : To suspend cruising
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iCruiseMode = 0;
DISPLAY(“iCruiseMode”);
END
Post Conditions : None
4.1.1.13 checkCruiseAlert
Responsibility : To verify cruising speed
Input Parameters : dSpeed : double
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dCurrentSpeed = SpeedMgr.getCurrentSpeed;
IF (dCurrentSpeed >= dSelectedSpeed + 10)
SET “Care to speed” LED on;
IF (dCurrentSpeed >= 150)
SET “Hazard bolting” LED on;
END
Post Conditions : Cruise speed verified
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 21/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.1.1.14 regulateCruiseSpeed
Responsibility : To regulate cruising speed
Input Parameters : dSelectedSpeed
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dCurrentSpeed = SpeedMgr.getCurrentSpeed;
SET dDelta = dCurrentSpeed – dSelectedSpeed;
IF (dDelta >= -2) AND (dDelta <= 2)
SET iNewThrottleValue = 40 – (dDelta/0.05)
ELSE
IF (dDelta > 2)
SET iNewThrottleValue = 0;
ELSE
IF (dDelta < -2)
SET iNewThrottleValue = 80;
IF (iNewThrottleValue >
OBACouplers.getThrottlePosition())
AND (ABS(iNewThrottleValue- OBACouplers.
getThrottlePosition()))
SET iNewThrottleValue = OBACouplers.
getThrottlePosition()+8;
IF (iNewThrottleValue > 80)
SET iNewThrottleValue = 80;
OBAAdapter.setThrottlePosition(iNewThrottleValue);
END
Post Conditions : Cruise speed verified
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 22/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2 CSC OBAKeepUpData (SDD-REQ-200)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBACruise. This CSC is broken down into
two CSUs. Figure 4.2 shows the CSUs of the CSC OBAControlPanel.
OBAKeepUpData
FuelMgr(from OBAKeepUpData)
CalibrationMgr(from OBAKeepUpData)
Figure 4.2: CSC OBAKeepUpData Structural Diagram
4.2.1 CSU CalibrationMgr (SDD-REQ-201)
Class Type : Control Class
Responsibility : CSU CalibrationMgr is responsible to generate a new
calibration value whenever required by the driver such
as during the tyre changes.
Attributes : dDefCalibrationValue (constant) : double
dDeltaCalibrate (constant) : double
dCalibrationValueA : double
dCalibrationValueB : double
dCurCalibrationValue : double
dNewCalibrationValue : double
dCurrentCalibValue : double
Methods : CSU CalibrationMgr contains the following methods:
4.2.1.1 CalibrationMgr
Responsibility : To construct CalibrationMgr class
Input Parameters : None
Output Parameters : None
Pre Conditions : Object CalibrationMgr class of is instantiated
Algorithm :
BEGIN
SET dCalibrationValueA = 0.0;
SET dCalibrationValueB = 0.0;
SET dCurCalibrationValue = 0.0;
SET dNewCalibrationValue = 0.0;
END
Post Conditions : CalibrationMgr class constructed
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 23/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2.1.2 setCalibration
Responsibility : To determine the current calibration value
Input Parameters : None
Output Parameters : None
Pre Conditions : The calibration value has been generated
Algorithm :
BEGIN
SET dNewCalibrationValue = dCalibrationValueB -
dCalibrationValueA;
IF (validateCalibrationValue)
SET dCurCalibrationValue = dNewCalibrationValue;
ELSE
SET dCurCalibrationValue = dDefCalibrationValue;
RETURN dCurCalibrationValue;
END
Post Conditions : Current calibration value determined
4.2.1.3 validateCalibrationValue
Responsibility : To validate the current calibration value
Input Parameters : None
Output Parameters : None
Pre Conditions : The calibration value has been generated
Algorithm :
BEGIN
IF (ABS(dNewCalibrationValue – dDefCalibrationValue) >
dDeltaCalibrate)
RETURN 0;
ELSE
RETURN 1;
END
Post Conditions : Current calibration value validated
4.2.1.4 setCalibrationOn
Responsibility : To set first pulse count
Input Parameters : None
Output Parameters : None
Pre Conditions : Invoked by the ControlPanelMgr and the vehicle
is not cruising
Algorithm :
BEGIN
SET dCalibrationValueA = MileageMgr.getPulseCount();
END
Post Conditions : Getting the first pulse count.
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 24/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2.1.5 setCalibrationOff
Responsibility : To set second pulse count and determine the
new calibration value
Input Parameters : None
Output Parameters : None
Pre Conditions : Invoked by the ControlPanelMgr and the first
pulse count have been generated
Algorithm :
BEGIN
SET dCalibrationValueB = Mileage.getPulseCount()
SET dCurrentCalibValue = setCalibration();
END
Post Conditions : The new calibration value generated
4.2.2 CSU FuelMgr (SDD-REQ-202)
Class Type : Control Class
Responsibility : CSU FuelMgr is responsible to manage and calculate
the fuel consumption.
Attributes : fFuelFillValue : double
fFuelConsume : float
dDistanceA : double
dDistance : double
theStatus : integer
dFuelFillAmount : double
dDistance : double
dDistanceOnNew : double
dDistanceInitial : double
dlastFuelFilling : double
Methods : CSU FuelMgr is contains the following methods:
4.2.2.1 sendToDisplay
Responsibility : To send for display key code
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iDisplayToPanel = 4;
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 25/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2.2.2 newTripStatus
Responsibility : To monitor the trip status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET theStatus = status;
SET dDistanceOnNew = getDistance();
END
Post Conditions : None
4.2.2.3 clickToCalculateFuelConsumption
Responsibility : To click the panel button to filling the fuel
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dDistanceNew = getDistance();
SET dMeasureDistance = dDistanceNew - dDistanceStartTrip;
SET calculateFuelConsumption();
SET sendToDisplay();
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 26/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2.2.4 enterToCalculateFuelConsumption
Responsibility : To click the button enter when filling the fuel
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dDistanceInitial = dDistanceNew;
SET dDistanceNew = getDistance();
SET dFuelFillAmount = dTheAmount;
SET dMeasureDistance = dDistanceNew - dDistanceInitial;
SET calculateFuelConsumption();
SET sendToDisplay();
END
Post Conditions : The amount of fuel is display
4.2.2.5 getDistance
Responsibility : To calculate distance when ignition on
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dDistance = mileage CALL FUNCTION
calculateDistance();
SET return dDistance;
END
Post Conditions : None
4.2.2.6 getAmount
Responsibility : To monitor the amount of fuel when filling
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET dFuelFillAmount = dTheAmount;
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 27/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.2.2.7 calculateFuelConsumption
Responsibility : To calculate and display the fuel consumption
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET fFuelConsume = dFuelFillAmount/(dDistanceA-
dDistanceB);
DISPLAY (“fFuelConsume”);
END
Post Conditions : Fuel consumption is display.
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 28/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.3 CSC OBAKernel (SDD-REQ-300)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBAKernel. This CSC is broken down into
two CSUs. Figure 4.3 shows the CSUs of the CSC OBAKernel.
OBAKernel
OBAMain(f rom OBAKernel)
Figure 4.3: CSC OBAKernel Structural Diagram
4.3.1 CSU OBAMain (SDD-REQ-301)
Class Type : Control Class
Responsibility : CSU OBA_Main provides OBA Adapter, ControlPanel,
mileage, fuel and maintenance.
Attributes : iBlink : integer
temp : integer
periodInMilisecond : integer
ThrottleValue : integer
FuelFillStatus : integer
lockDisplay : integer
ignitionFlagStatus : boolen
brakeFlagStatus : boolen
iDisplayToPanelCode : boolen
Methods : CSU OBA_Main contains the following methods:
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 29/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.3.1.1 displayResult
Responsibility : To display the key code
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF(controlpanel.dTheAmount > 35)
SET controlpanel.iTemp = 30;
DISPLAY Invalid Amount;
ELSE
SET Fuel CALL.enterToCalculateFuelConsumption
(controlpanel->dTheAmount);
SET controlpanel.clearDisplayPanel();
DISPLAY (“Fuel consumption”);
ELSE (iCode == 22)
SET controlpanel.clearDisplayPanel();
DISPLAY (“Cancelled”)
ENDIF
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 30/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.3.1.2 displayToPanel
Responsibility : To display the result to control panel
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF(iDisplayToPanelCode ==1)
DISPLAY (“controlpanel.dTheAmount”);
IF(controlpanel.iFloatFlag ==1)
DISPLAY (“controlpanel.dTheAmount”);
ELSE
DISPLAY (“controlpanel.dTheAmount”);
ELSE IF(controlpanel.iFloatFlag ==1)
DISPLAY (“controlpanel.dTheAmount”);
ELSE IF(controlpanel.iFloatFlag <1)
DISPLAY (“controlpanel.dTheAmount”);
ELSE IF(iDisplayToPanelCode ==2)
SET controlpanel.iLockDisplay = 1;
DISPLAY (“Calibration On”);
ELSE IF(iDisplayToPanelCode ==3)
SET controlpanel.iLockDisplay = 1;
DISPLAY (“Calibration Off”);
ELSE IF(iDisplayToPanelCode ==4)
SET controlpanel.iLockDisplay = 1;
DISPLAY (“Average Fuel Consumption”);
ELSE IF(iDisplayToPanelCode == 5)
SET iBlink();
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 31/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.3.1.3 displayFilter
Responsibility : To display the maintenance
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF(controlpanel.iTemp ==0)
SET controlpanel.iLockDisplay = 0;
IF(maintain.iService ==1)
SET controlpanel.iTemp=iBlink;
IF(maintain.iService ==2)
SET controlpanel.iLockDisplay =1;
IF(maintain.iService ==1 && controlpanel.iTemp>0
&& controlpanel.iServiceDoneStatus!=1)
DISPLAY msg();
ELSE IF(maintain.iService ==2 &&
controlpanel.iLockDisplay ==1&&
controlpanel.iServiceDoneStatus!=1)
DISPLAY msg();
ELSE IF(controlpanel.iTemp <0)
DISPLAY msg();
ELSE IF(controlpanel.iLockDisplay ==1)
DISPLAY msg();
ELSE IF(controlpanel.iFuelFillStatus ==1 && controlpanel
.iTemp>0)
DISPLAY msg();
ENDIF
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 32/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.3.1.4 periodHandler
Responsibility : To display the key code connect with control
panel
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SWITCH()
CASE IT_controlpanel:
SET controlpanel.opname(keyI->keyCode)
CASE IT_drivingControls:
IF(driving.clutchFlag==1)
SET
controlpanel.verifyCruiseCondition(state.
EngagedGear);
IF(driving.ignitionFlag==1)
SET controlpanel.iIgnitionFlag=1;
ENDIF
CASE IT_timer:
SET controlpanel.iTemp--;
SET displayFilter();
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 33/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.4 CSC OBAMaintenance (SDD-REQ-400)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBAMaintenance. This CSC is broken down
into one CSU. Figure 4.4 shows the CSUs of the CSC OBAMaintenance.
OBAMaintenance
MaintenanceMgr(f rom OBAMaintenance)
Figure 4.4: CSC OBAMaintenance Structural Diagram
4.4.1 CSU MaintenanceMgr (SDD-REQ-401)
Class Type : Control Class
Responsibility : CSU MaintenanceMgr is responsible to monitor the
mileage and alert the driver to maintain the vehicle.
Attributes : dCurrentDistance : double
dMileage : double
dFirstServices400 : double
dFirstServices80 : double
dSecondServices400 : double
dSecondServices80 : double
dThirdServices400 : double
dThirdServices80 : double
iServices : integer
Methods : CSU MaintenanceMgr contains the following
methods:
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 34/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.4.1.1 mileageMonitoring
Responsibility : To monitor the mileage and calculation for
every type of maintenance:
First Services : every 8000km
Second Services : every 16000km
Third Services : every 24000km
Input Parameters : None
Output Parameters : None
Pre Conditions : Ignition is on
Algorithm :
BEGIN
Call calculateDistance();
SET FirstServices = 7600 +
abs(dMileage/80)*240);
SET SecondServices = 14600 +
abs(dMileage/80)*240);
SET ThirdServices = 24600 +
abs(dMileage/80)*240);
END
Post Conditions : The mileage is displayed
4.4.1.2 verifyTypeOfMaintenance
Responsibility : To display maintenance message scheduling
according to the distance.
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
dCurrentDistance = mileage.distance()
IF (dMileage >=7600) && (dMileage <7920) THEN
DISPLAY (“Change oil filter..”);
ELSE (dMileage >= 7920)
DISPLAY (“Change oil filter..”);
ENDIF
IF (dMileage >=14600) && (dMileage <14920) THEN
DISPLAY (“Change air filter..”);
ELSE (dMileage >= 14920)
DISPLAY (“Change oil filter..”);
ENDIF
IF (dMileage >=24600) && (dMileage <24920) THEN
DISPLAY (“General check..”);
ELSE (dMileage >= 24920)
DISPLAY (“General check..”);
ENDIF
END
Post Conditions : Maintenance message is displayed
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 35/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.5 CSC OBAPrimitiveData (SDD-REQ-500)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBAPrimitiveData. This CSC is broken
down into two CSUs. Figure 4.5 shows the CSUs of the CSC
OBAPrimitiveData.
OBAPrimitiveData
TimeMgr(f rom OBAPrimitiv eData)
MileageMgr(f rom OBAPrimitiv eData)
Figure 4.5: CSC OBAPrimitiveData Structural Diagram
4.5.1 CSU MileageMgr (SDD-REQ-501)
Class Type : Control Class
Responsibility : MileageMgr Class is requires to calculate distance
based on the pulse count
Attributes : distance : double
dInitialSpeed : double
Methods : MileageMgr Class contains the following methods:
4.5.1.1 MileageMgr
Responsibility : To construct MileageMgr class
Input Parameters : None
Output Parameters : None
Pre Conditions : Object MileageMgr class of is instantiated
Algorithm :
BEGIN
SET dDistance = 0.0;
SET iResult = 0.0;
END
Post Conditions : MileageMgr class constructed
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 36/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.5.1.2 getPulseCount
Responsibility : To retrieve pulse count from the shared
memory
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
OPEN pulseCounter;
RETURN pulse->count;
END
Post Conditions : Getting the numbers of pulses from the shared
memory
4.5.1.3 calculateDistance
Responsibility : To calculate distance based on the numbers of
pulses
Input Parameters : None
Output Parameters : None
Pre Conditions : Verified pulse count.
Algorithm :
BEGIN
SET result = getPulseCount();
RETURN result/calibrationCount;
END
Post Conditions : Distance has been generated.
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 37/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.5.2 CSU TimeMgr (SDD-REQ-502)
Class Type : Control Class
Responsibility : TimeMgr Class is requires to generate time for
overall system used.
Attributes : CurrentTime : double
TimeCounter : integer
Methods : TimeMgr Class contains the following methods:
4.5.2.1 timeMgr
Responsibility : To construct TimeMgr class
Input Parameters : None
Output Parameters : None
Pre Conditions : Object TimeMgr class of is instantiated
Algorithm :
BEGIN
SET dCurrentTime = 0.0;
SET iTimeCounter = 0.0;
END
Post Conditions : TimeMgr class constructed
4.5.2.2 calculateTime
Responsibility : To generate time
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iTimeCounter = iTimeCounter + 1;
SET dCurrentTime = iTimeCounter * 0.1;
RETURN dCurrentTime;
END
Post Conditions : Time generated
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 38/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.5.2.3 getTime
Responsibility : To get the current time
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
RETURN calculateTime();
END
Post Conditions : Return current time
4.5.2.4 timeHandler
Responsibility : Handling time interrupt
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET TimeMgr->calculateTime();
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 39/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.6 CSC OBASpeedData (SDD-REQ-600)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBASpeedData. This CSC is broken down
into one CSU. Figure 4.6 shows the CSUs of the CSC OBASpeedData.
OBASpeedData
SpeedMgr(f rom OBASpeedData)
Figure 4.6: CSC OBASpeedData Structural Diagram
4.6.1 CSU SpeedMgr (SDD-REQ-601)
Class Type : Control Class
Responsibility : SpeedMgr Class is requires to calculate speed and
acceleration
Attributes :
dCurrentSpeed : double
dTheSpeed : double
averageSpeed : double
AccelerationSpeed : double
Methods : SpeedMgr Class contains the following methods:
4.6.1.1 SpeedMgr
Responsibility : To construct SpeedMgr class
Input Parameters : None
Output Parameters : None
Pre Conditions : Object SpeedMgr class of is instantiated
Algorithm :
BEGIN
SET AccelerationSpeed = 0.0;
SET dCurrentSpeed = 0.0;
SET dTheSpeed = 0.0;
SET averageSpeed = 0.0;
END
Post Conditions : SpeedMgr class constructed
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 40/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.6.1.2 getCurrentSpeed
Responsibility : To get the current speed
Input Parameters : None
Output Parameters : None
Pre Conditions : Engine is on and running
Algorithm :
BEGIN
SET dTheSpeed = calculateCurrentSpeed();
RETURN dTheSpeed;
END
Post Conditions : Return current speed
4.6.1.3 calculateCurrentSpeed
Responsibility : To calculate current speed
Input Parameters : None
Output Parameters : None
Pre Conditions : Verified distance calculation
Algorithm :
BEGIN
SET TimeInMS = 400;
SET TimeInHour = iTimeInMS/(1000*60*60);
SET mileageA = MileageMgr.calculateDistance();
IDLE(iTimeInMS);
SET mileageB = MileageMgr.calculateDistance();
SET dCurrentSpeed = (dMileageB- dMileageA)/ iTimeInHour;
RETURN dCurrentSpeed;
END
Post Conditions : Current speed calculated
4.6.1.4 calculateAverageSpeed
Responsibility : To calculate average speed
Input Parameters : dStartDistance, dStopDistance, dStartTime,
dStopTime
Output Parameters : None
Pre Conditions : Must start trip before being able to calculate
average speed
Algorithm :
BEGIN
SET averageSpeed = (dStopDistance- dStartDistance)/
(dStopTime- dStartTime);
RETURN averageSpeed;
END
Post Conditions : Average speed calculated
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 41/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.6.1.5 verifyTripStatus
Responsibility : To verify trip condition for cruising
Input Parameters : iTripStatus
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iTheStatus = iTripStatus;
SET dDistanceStartTrip = getDistance();
CALL getTime();
END
Post Conditions : Start trip information retieved
4.6.1.6 getTime()
Responsibility : To retrieve current time
Input Parameters : None
Output Parameters : None
Pre Conditions : none
Algorithm :
BEGIN
SET startTime = timer.calculation();
END
Post Conditions : Current time retrieved
4.6.1.7 getDistance()
Responsibility : To retrieve current distance
Input Parameters : None
Output Parameters : None
Pre Conditions : none
Algorithm :
BEGIN
SET dDistance = mileage.calculateDistance();
RETURN dDistance;
END
Post Conditions : Current distance retrieved
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 42/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.6.1.8 calculateAccelerationSpeed
Responsibility : To calculate acceleration
Input Parameters : None
Output Parameters : None
Pre Conditions : Verified current speed
Algorithm :
BEGIN
SET CurrentSpeedA = calculateCurrentSpeed();
SET Time1 = TimeMgr.calculateTime();
SET CurrentSpeedB = calculateCurrentSpeed();
SET Time2 = TimeMgr.calculateTime();
SET AccelerationSpeed = (dCurrentSpeedB- dCurrentSpeedA)/
(dTimeB- dTimeA);
RETURN accelerationSpeed;
END
Post Conditions : Acceleration calculated
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 43/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7 CSC OBAControlPanel (SDD-REQ-700)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC OBAControlPanel. This CSC is broken down
into one CSU. Figure 4.7 shows the CSUs of the CSC OBAControlPanel.
OBAControlPanel
global
ControlPanelMgr(f rom OBAControlPanel)
Figure 4.7: CSC OBAControlPanel Structural Diagram
4.7.1 CSU ControlPanelMgr (SDD-REQ-701)
Class Type : Control Class
Responsibility : CSU ControlPanelMgr is responsible to control
calibration, fuel, maintenance and mileage status.
Attributes : iFuelFillStatus : integer
iServiceDoneStatus : integer
iTemp : integer
iLockDisplay : integer
iDigit : integer
iNumberChar : integer
fDigit1 : float
fDigit2 : float
fDigit3 : float
fDigit4 : float
iFloatFlag : integer
iIndexFlag : integer
iNewTripFlag : integer
dTheAmount : double
iIgnitionFlag : integer
Methods : CSU ControlPanelMgr contains the following
methods:
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 44/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.1 opname
Responsibility : To initialize the status of the key code
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF (SET iCode == 10)
DISPLAY setCruiseOn();
ELSE (SET iCode = 11)
DISPLAY setCruiseOff();
ENDIF
IF (SET iCode == 18||SET iFuelFillStatus ==1)
DISPLAY getFuel(iCode);
ELSE (SET iCode == 15)
DISPLAY getCalibrationOn;
ENDIF
IF (SET iCode == 16)
DISPLAY getCalibrationOff;
ELSE (SET iCode == 17)
DISPLAY (setNewTrip();
ENDIF
IF (SET iCode == 20)
DISPLAY maintenanceComplete();
ELSE (SET iCode == 23 && iNewTripFlag ==1)
DISPLAY getFuelConsumption();
ENDIF
END
Post Conditions : None
4.7.1.2 maintenanceComplete
Responsibility : To display maintenance status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iServiceDoneStatus = 1;
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 45/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.3 setCruiseOn
Responsibility : To activate the cruise
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF ((iIgnitionFlag==1) && (iGearFlag ==1))
SET
cruise.verifyCruise(iIgnitionFlag,iCurrentGear);
ENDIF
END
Post Conditions : None
4.7.1.4 setCruiseOff
Responsibility : To deactivate the cruise
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET adapter.setLED;
SET cruise.deactivateCruise();
END
Post Conditions : None
4.7.1.5 verifyEngineCondition
Responsibility : To verify the cruise status condition
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF (iGear ==5)
SET iGearFlag = 1;
SET iCurrentGear = iGear;
ENDIF
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 46/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.6 getIgnitionStatus
Responsibility : To get the ignition status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET cruise.verifyCruise();
END
Post Conditions : None
4.7.1.7 setNewTrip
Responsibility : To set a new trip
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iNewTripFlag = 1;
DISPLAY iNewTripFlag;
SET fuel->newTripStatus(iNewTripFlag);
END
Post Conditions : None
4.7.1.8 getAverageSpeed
Responsibility : To get the average speed
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET speed.calcAverageSpeed();
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 47/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.9 getFuelConsumption
Responsibility : To get fuel consumption status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET fuel->clickToCalculateFuelConsumption();
END
Post Conditions : None
4.7.1.10 enterFuelConsumption
Responsibility : To validated the value of fuel consumption
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET fuel.enterToCalculateFuelConsumption(dTheAmount);
END
Post Conditions : None
4.7.1.11 getCalibrationOn
Responsibility : To set the calibration on
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET calibrate.setCalibrationOn();
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 48/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.12 setCalibrationOff
Responsibility : To set the calibration off
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET calibrate.setCalibrationOff();
END
Post Conditions : None
4.7.1.13 setFuelFillStatus
Responsibility : To set the fuel fill status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET FuelFillStatus = 1;
SET iTemp = 50;
END
Post Conditions : None
4.7.1.14 getFuel
Responsibility : To get the fuel status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
If (iFuelFillStatus == 0)
DISPLAY setFuelFillStatus();
ELSE (iFuelFillStatus == 1)
DISPLAY getFuelAmount(iCode);
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 49/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.15 getFuelAmount
Responsibility : To get the fuel amount status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
IF (iCode == 24)
SET iFloatFlag = 1;
SET iIndexFlag = 1;
DISPLAY iIndexFlag
IF (iCode!=21 && iCode! = 24 &&
iFloatFlag ! = 1 && iDigit==0)
SET fDigit3 = fDigit2;
SET fDigit2 = fDigit1;
SET fDigit1 = keyNumber[iCode];
ELSE (iCode!=21 && iCode! = 24 &&
iFloatFlag ! = 1 && iDigit==1)
SET fDigit3 = fDigit2;
SET fDigit2 = fDigit1*10;
SET fDigit1 = keyNumber[iCode];
ELSE (iCode!=21 && iCode! = 24 &&
iFloatFlag ! = 1 &&iIndexFlag<2)
SET fDigit2 = fDigit1 + fDigit2;
SET fDigit1 = keyNumber[iCode];
SET fDigit1 = fDigit1/10;
SET IIndexFlag++;
SET dTheAmount = fDigit+fDigit2+fDigit3;
DISPLAY (“dTheAmount”);
ENDIF
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 50/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.7.1.16 clearDisplayPanel
Responsibility : To clear the display panel
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET iLockDisplay = 0;
SET iFuelFillStatus = 0;
SET fDigit1 = 0;
SET fDigit2 = 0;
SET fDigit3 = 0;
SET iFloatFlag = 0;
SET iDigit = 0;
SET iIndexFlag = 0;
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 51/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.8 CSC Utility (SDD-REQ-800)
This paragraph is divided into the following subparagraphs to identify and
describe each of the CSU of CSC Utility. This CSC is broken down into two
CSUs. Figure 4.8 shows the CSUs of the CSC Utility.
Utility
global
OBAAdapter(from Util ity)
OBACouplers(from Util ity)
Figure 4.8: CSC Utility Structural Diagram
4.8.1 CSU OBAAdapter (SDD-REQ-801)
Class Type : Control Class
Responsibility : Handling output to shared memory
Attributes : throttlePosition : ThrottlePositionWord
displaytoSDCP : DisplayBuffer
iCounter : integer
iNewPosition : integer
cMsg : char *
Methods : OBAAdapter Class contains the following methods:
4.8.1.1 displayMessage
Responsibility : To display message in the Safe Drive Control
Panel
Input Parameters : cMsg
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
OPEN displaytoSDCP;
FOR iCounter = 0 TO 20
displaytoSDCP = cMsg;
IDLE(75);
END
Post Conditions : Message displayed
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 52/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.8.1.2 setThrottlePosition
Responsibility : To set new throttle voltage
Input Parameters : iNewPosition
Output Parameters : None
Pre Conditions : Engine is running
Algorithm :
BEGIN
OPEN throttlePosition;
SET throttlePosition->voltage = iNewPosition;
END
Post Conditions : Set new throttle voltage value
4.8.1.3 setLED
Responsibility : To set the LED
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET led = (LedCommandByte *)(OTM::ledCommandByteAddress);
IF (iLED == 1)
SET led->led_1 = iLEDStatus;
IF (iLED == 2)
SET led->led_2 = iLEDStatus;
IF (iLED == 3)
SET led->led_3 = iLEDStatus;
END
Post Conditions : None
4.8.1.4 initLED
Responsibility : To set the LED status
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
SET led = (LedCommandByte *)(OTM::ledCommandByteAddress);
SET led->led_1 = 0;
SET led->led_2 = 0;
SET led->led_3 = 0;
END
Post Conditions : None
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 53/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
4.8.2 CSU OBACouplers (SDD-REQ-802)
Class Type : Control Class
Responsibility : Handling output from the shared memory
Attributes : throttlePosition : ThrottlePositionWord
pulseCounter : PulseCounterWord
Methods : OBACouplers Class contains the following methods:
4.8.2.1 getThrottlePosition
Responsibility : To get throttle voltage
Input Parameters : None
Output Parameters : None
Pre Conditions : Engine is running
Algorithm :
BEGIN
OPEN throttlePosition;
RETURN throttlePosition->voltage;
END
Post Conditions : None
4.8.2.2 getPulseCount
Responsibility : To retrieve pulse count from the shared
memory
Input Parameters : None
Output Parameters : None
Pre Conditions : None
Algorithm :
BEGIN
OPEN pulseCounter;
RETURN pulse->count;
END
Post Conditions : Getting the numbers of pulses from the shared
memory
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 54/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
5 CSCI DATA
This chapter is divided into the following paragraphs to describe the CSCI
OBA data.
5.1 Global data element within CSCI
Data types used within the CSCI are listed as below:
Variable Name Description Type
Initializer
CSU/
Component
Identifier
User CSU Identifier
adapter
Global variable pointing to
COBAAdapter class
Pointer
SDD-REQ-801
1. SDD-REQ-101 2. SDD-REQ-301
3. SDD-REQ-701
calibrate
Global variable
pointing to CCalibrationMgr class
Pointer
SDD-REQ-201
SDD-REQ-701
calibrationValueA
Global variable pointing to CCalibrationMgr class
Variable
SDD-REQ-201
SDD-REQ-201
calibrationValueB
Global variable pointing to CCalibrationMgr class
Variable
SDD-REQ-201
SDD-REQ-201
controlPanel
Global variable pointing to CControlPanelMgr
class
Pointer
SDD-REQ-701
SDD-REQ-301
coupler
Global variable pointing to COBACouplers class
Pointer
SDD-REQ-802
1. SDD-REQ-101 2. SDD-REQ-301
Table 5.1: Global Data Element within CSCI
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 55/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Variable Name Description Type
Initializer
CSU/
Component
Identifier
User CSU Identifier
cruise
Global variable pointing to CCruiseMgr class
Pointer
SDD-REQ-101
SDD-REQ-301
curCalibrationValue
Global variable pointing to CCalibrationMgr class
Variable
SDD-REQ-201
SDD-REQ-201
fuel Global variable pointing to CFuelMgr class
Pointer
SDD-REQ-202
SDD-REQ-701
maintain Global variable pointing to
CMaintenanceMgr class
Pointer
SDD-REQ-401 SDD-REQ-701
mileage Global variable pointing to
CMileageMgr class
Pointer
SDD-REQ-501 1. SDD-REQ-301 2. SDD-REQ-401
3. SDD-REQ-202 4. SDD-REQ-601
speed Global variable
pointing to CSpeedMgr class
Pointer
SDD-REQ-601
SDD-REQ-101
timer Global variable pointing to CTimeMgr class
Pointer
SDD-REQ-502 1. SDD-REQ-502 2. SDD-REQ-601
Table 5.1: Global Data Element within CSCI (Continue)
5.2 Global data element of CSCI external interfaces
Not applicable.
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 56/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
6 CSCI DATA FILES
This chapter is divided into the following paragraphs to describe each of the
shared data files of the CSCI OBA.
6.1 Data file to CSC/CSU cross reference
Table 6.1 provides a mapping of each of data file identified below to the
CSCs that is used for the data file in testing.
CSC Identifier
Data File
Route Profile
1:
flat.road
Route Profile 2:
uphill.road
Route Profile 3:
downhill.road
SDD-REQ-100 X x x
SDD-REQ-200 X
SDD-REQ-300 X
SDD-REQ-400 x
SDD-REQ-500 X
SDD-REQ-600 X x x
SDD-REQ-700 X
SDD-REQ-800 X
Table 6.1: Data Files Mapping to CSC
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 57/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
6.1.1 Route Profile 1: flat.road
Referring to Table 6.2 and Figure 6.1, this data file describes a flat road for
20km that is used to test the CSCI OBA.
Slope Distance (km)
0 200
Table 6.2: “Route Profile 1: flat.road” Data
Figure 6.1: “Route Profile 1: flat.road” Graph
ROAD PROFILE FOR FLAT ROAD
0
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
2 3 3.5 4.5 5 6 6.5 7.5 8 9 9.5 10.5 11 12 12.5 13.5 14 15 20
KM
SL
OP
E
slope
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 58/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
6.1.2 Route Profile 2: uphill.road
Referring to Table 6.3 and Figure 6.2, this data file describes a road for 15
km that has many variant of uphill slope that is used to test the CSCI OBA.
Slope Distance (km)
0 2
2 1
0 0.5
4 1
0 0.5
8 1
0 0.5
12 1
0 0.5
16 1
0 0.5
20 1
0 0.5
24 1
0 0.5
28 1
0 0.5
30 1
Table 6.3: “Route Profile 2: uphill.road” Data
Figure 6.2: “Route Profile 2: uphill.road” Graph
0
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
2 3 3.5 4.5 5 6 6.5 7.5 8 9 9.5 10.5 11 12 12.5 13.5 14 15
KM
SL
OP
E
slope
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 59/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
6.1.3 Route Profile 3: downhill.road
Referring to Table 6.4 and Figure 6.3, this data file describes a road for 15
km that has many variant of downhill slopes that is used to test the CSCI
OBA.
Slope Distance (km)
0 2
-2 1
0 0.5
-4 1
0 0.5
-8 1
0 0.5
-12 1
0 0.5
-16 1
0 0.5
-20 1
0 0.5
-24 1
0 0.5
-28 1
0 0.5
-30 1
Table 6.4: “Route Profile 3: downhill.road” Data
Figure 6.3: “Route Profile 1: downhill.road” Graph
-32
-30
-28
-26
-24
-22
-20
-18
-16
-14
-12
-10
-8
-6
-4
-2
0
2 3 3.5 4.5 5 6 6.5 7.5 8 9 9.5 10.5 11 12 12.5 13.5 14 15
KM
SL
OP
E
slope
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 60/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
7 REQUIREMENTS TRACEABILITY
This chapter provides the requirements traceability allocated down to the
CSU level of each CSC back to the requirements of the SRS and IRS.
Requirement Description
Source Allocated
SRS-REQ-201 SDD-REQ-101 Increase speed automatically by
button.
SRS-REQ-202 SDD-REQ-802 Increase speed manually by pedal.
SRS-REQ-203 SDD-REQ-802 Reduce speed.
SRS-REQ-204 SDD-REQ-101 Resume speed.
SRS-REQ-205 SDD-REQ-101 The cruise control (Activate cruise).
SRS-REQ-206 SDD-REQ-701 Invalid cruise speed.
SRS-REQ-207 SDD-REQ-701 Valid cruise speed.
SRS-REQ-208 SDD-REQ-801 LED indication.
SRS-REQ-209 SDD-REQ-802 Increment rate.
SRS-REQ-210 SDD-REQ-801
SDD-REQ-802
State of throttle.
SRS-TREQ-211 SDD-TREQ-502 Response time to close throttle.
SRS-TREQ-212 SDD-TREQ-502 Response time to open throttle.
SRS-REQ-301 SDD-REQ-401 Maintenance not performs.
SRS-REQ-302 SDD-REQ-501 Mileage for oil and oil filter changes.
SRS-REQ-303 SDD-REQ-501
Mileage for oil, oil filter and air filter
changes.
SRS-REQ-304 SDD-REQ-501
Mileage for oil, oil filter, air filters
changes and general check.
SRS-REQ-305 SDD-REQ-701 Intermittent rate.
SRS-TREQ-306 SDD-TREQ-502 Response time.
SRS-REQ-401 SDD-REQ-201
SDD-REQ-501
Exceed or less 1km 0.2km.
SRS-REQ-402 SDD-REQ-201
SDD-REQ-501
Distance elapse ≤ 1km.
SRS-REQ-403 SDD-REQ-201 Calibration range.
SRS-REQ-501 SDD-REQ-601 Average speed calculation.
SRS-REQ-502 SDD-REQ-101 Road condition.
SRS-REQ-503 SDD-REQ-201 Calibration range.
SRS-TREQ-504 SDD-TREQ-502 Respond time.
SRS-REQ-601 SDD-REQ-202
SDD-REQ-701
Amount invalid.
SRS-REQ-602 SDD-REQ-202
SDD-REQ-701
Average fuel consumption.
SRS-REQ-603 SDD-REQ-201 Calibration range.
SRS-TREQ-604 SDD-TREQ-502 Respond time.
SRS-REQ-605 SDD-REQ-202
SDD-REQ-701
Amount valid.
Table 7.1: Requirements Traceability Matrix
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 61/61
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
8 NOTES
Acronym and Abbreviation:
CASE Centre for Advanced Software Engineering
CSC Computer Software Component
CSCI Computer Software Configuration System
CSU Computer Software Unit
DAS Driving Assistance System
DoD Department of Defense
IRS Interface Requirements Specification
OBA On-Board Automobile
RDL Software Development Reference
REQ Requirements
SD Safe Drive
SDD Software Design Document
SDP Software Development Plan
SOW Statement of Work
SRS Software Requirements Specification
TREQ Time Requirements
UML Unified Modeling Language
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 A-1/2
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
APPENDIX A (STATE TRANSITION DIAGRAMS)
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 A-2/2
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Appendix A-1: State Transition Diagram for Cruising Control
Appendix A-2: State Transition Diagram for Maintenance
Cruise activated
Start
Regulate
do/ maintain speed
Suspend
do/ store previous cruise speed
Accelerate
do/ increase speed
Start
Regulate
do/ maintain speed
Suspend
do/ store previous cruise speed
Accelerate
do/ increase speed
Click "Stop" accelerating button or
Release accelerator pedal
Cruise on
Click "Resume" button
Cruise disengaged
do/ ignition on
Start
Ignition on
Activate cruise[ 80km/h <= speed <=
175km/h ] / Click "Activation" button
Cruise deactivated
do/ inactive auto cruise
End
Click "Deactivation" button
Click "Start" accelerating button or
Press accelerator pedal
Press brake pedal
Start
First level maintenance
Start
Display message intermittently
do/ display message within 1 second
Display message continuously
do/ display message
End
Start
Display message intermittently
do/ display message within 1 second
Display message continuously
do/ display message
[ 400km < maintenance distance ]
[ 80km < maintenance distance ]
End
Click "Done" service button
Third level
maintenance
Second level
maintenance
[ Maintenance distance= 8000km ]
[ Maintenance distance = 8000km ]
[ Maintenance distance = 8000km ]
Cruise
activated
Ignition on / Press
"Activation" button
Maintenance scheduling[ Maintenance
distance = 8000km ]
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-1/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
APPENDIX B (SEQUENCE DIAGRAMS)
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-2/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CSC OBACruise
OBAAdapter CruiseMgr SpeedMgr ControlPanelMgr
1: getCurrentSpeed()
2: setCruiseOn()
3: Selected speed
4: setCruiseSpeed()
5: currentSpeed
6: calculateCurrentSpeed()
7: setThrottlePosition()
8: displayMessage()
If the current speed exceed
2km/h over the selected
speed.
Appendix B-1: Regulate Speed (Over 2 km/h) - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-3/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
OBAAdapter CruiseMgr SpeedMgr ControlPanelMgr
1: sendValueSpeed()
2: getCurrentSpeed()
3: Selected speed
4: Get selected speed
5: regulateCruiseSpeed()
7: getThrottlePosition()
6: calculateCurrentSpeed()
The throttle will be
open at the rate of
0.8V/sec
Appendix B-2: Regulate Speed - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-4/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
OBAAdapter CruiseMgr SpeedMgr ControlPanelMgr
: Driver
1: sendValueSpeed()
2: getCurrentDistance()
3: Selected speed
5: startAcceleration()
7: regulateCruiseSpeed()
6: Verify accelaration
8: getThrottlePosition()
9: displayMessage()
The throttle wi ll be
open at the rate of
0.8V/sec
4: Press accelaration button
Appendix B-3: Regulate Speed (Acceleration) - Basic Flow
OBACouplers OBAAdapter ControlPanelMgr CruiseMgr MileageMgr : Driv er
The driv er has to click
<<Acceleration>>
button on the simulator
- Saf e Driv e Control
Panel Window
2: startAccelerate( )
3: startAcceleration( )
6: v erif y Cruise( )
4: getMy CruiseStatus( )
5: myCruiseStatus
1: Click <<Start>> Button (Accelerating)
7: dispMessage( )
8: display ErrorMessage( )
Appendix B-4: Regulate Speed (Acceleration) - Exception Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-5/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
OBACouplers : Driver
OBAAdapter ControlPanelMgr CruiseMgr SpeedMgr
The driver has to click
<<Activation>> button on
the simulator - Safe Drive
Control Panel Window
The status of the Cruise
LED and Flag and cruise
activation will be set
accordingly based on the
cruise status
1: Click <<Resume>> Button
9: verifyCruiseCondition( )
2: setCruiseOn( )
11: setCruiseLED( )
12: setCruiseFlag( )
13: activateCruise( )
4: currentSpeed
6: calibrationStatus
8: currentTransmission
3: getCurrentSpeed( )
5: getCalibrationStatus( )
7: getCurrentTransmission( )
10: updateCruiseStatus( )
Appendix B-5: Resume Cruise - Basic Flow
SpeedMgr : Driver
OBACouplers ControlPanelMgr CruiseMgrOBAAdapter
The driver has to click
<<Stop>> accelerating
button on the simulator -
Safe Drive Control Panel
1: Click <<Stop>> Button (Acceleration)
2: stopAccelerate( )
3: calculateAccelerationSpeed( )
4: stopAcceleration( )
5: getThrottlePosition( )
Appendix B-6: Stop Acceleration - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-6/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
SpeedMgr : Driv er
OBACouplers OBAAdapter ControlPanelMgr CruiseMgr
1: Click <<Activ ation>> Button
The driv er has to click
<<Activ ation>> button on
the simulator - Saf e Driv e
Control Panel Window
9: v erif y CruiseCondition( )
The status of the Cruise
LED and Flag and cruise
activ ation will be set
accordingly based on the
cruise status
2: setCruiseOn( )
13: activ ateCruise( )
11: setCruiseLED( )
12: setCruiseFlag( )
4: currentSpeed
6: calibrationStatus
8: currentTransmission
3: getCurrentSpeed( )
5: getCalibrationStatus( )
7: getCurrentTransmission( )
10: updateCruiseStatus( )
Appendix B-7: Active Cruise - Basic Flow
SpeedMgr : Driver
OBACouplers ControlPanelMgr CruiseMgrOBAAdapter
The driver has to click
<<Deactivation>> button on
the simulator - Safe Drive
Control Panel Window
1: Cl ick <<Deactivation>> Button
2: setCruiseOff( )
3: updateCruiseStatus( )
4: stopCruise( )
5: setCruiseLED( )
6: setCruiseFlag( )
Appendix B-8: Deactivate Cruise - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-7/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CruiseMgr : Driver
OBACouplers ControlPanelMgrOBAAdapter
The driver has to press Brake
pedal on the simulator -
Automobile Driving Control
Window
1: Press Brake Pedal
2: getBrakeStatus( )
4: suspendCruise( )
5: setThrottlePosition()
3: getBrakeStatus
Appendix B-9: Brake Pedal (Pressed) - Basic Flow
CruiseMgr : Driv er
OBACouplers ControlPanelMgrOBAAdapter
The driv er has to click
<<Acceleration>> pedal on the
simulator - Automobile Driv ing
Control Window
1: Click <<Acceleration>> Pedal
2: getAcceleratorStatus( )
5: setThrottlePosition( )
6: setAccelerationFlag( )
4: startAcceleration( )
3: getBrakeStatus()
Appendix B-10: Accelerator Pedal (Pressed) - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-8/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
: DriverOBACouplers OBA_Main ControlPanelMgr
1: getThrottlePosition()
2: periodHandler()
3: displayToPanel()The driver has to press
the <<Ignition>> button in
the simulator-Automobile
Driving Controls window
Appendix B-11: Start Engine (Engine Ignition) - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-9/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
: DriverOBACouplers ControlPanelMgr MileageMgr
The driver has to click
<<New>> button on the
simulator - Safe Drive
Control Panel Window to
indicate starting the new trip.
1: Click <<New>> Button
2: setNewTrip( )
3: getDistance( )
4: currentDistance
5: updateSourceDistance( )
6: getTime( )
7: currentTime
8: updateSourceTime( )
9: updateTripStatus( )
Appendix B-12: Start Trip - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-10/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CSC OBAKeepUpData
: Driver
ControlPanelMgr CalibrationMgr OBA_MainMileageMgr
1: Click <<Start>> Button
2: setCalibration()
4: validateCalibrationValue
3: getPulseCount()
5: setCalibrationOn()
6: displayToPanel()
7: Click <<Stop>> Button
8: setCalibrationOff()
10: displayToPanel()
1. The driver must click <<Start>>
calibration in simulator - Safe
Drive Control Panel Windows.
2. Calibration only can be done if
the vehicle is not cruising.
1. The driver must click
<<Stop>> calibration in
simulator - Safe Drive Control
Panel Windows whenever the
distance reach 1 km with
20% variance.
The new calibration value will be
accepted if the value is within
the range of 20% of the default
i.e 5291. If not, the default
value will be used.
9: Update calibration value
Appendix B-13: Set Calibration - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-11/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
The driver must click <<Fuel
Consum.>> button in simulator
- Safe Drive Control Panel to
calculate fuel consumption.
However, the driver have to
start the trip before being able
to calculate average fuel
consumption.
: Driver
OBACouplers MileageMgr ControlPanelMgr FuelMgr OBA_Main
1: Click <<Fuel Consum>> Button
2: setThrottlePosition()
3: newTripStatus()
4: getDistance()
5: clickToCalculateFuelConsumption()
6: enterToCalculateFuelConsumption()
7: calculateFuelConsumption()
8: getAmount()
9: getFuelConsumption()
10: setFuelFillStatus()
11: getFuel()
12: getFuelAmount()
13: displayResult()
If there is no fi l l ing, the
default value will be used
instead i.e. 35 Liter.
Appendix B-14: Calculate Fuel Consumption - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-12/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
ControlPanelMgr : Driver
OBACouplers OBA_MainFuelMgr
1: Click<<Fuel Consum>> Button
2: setThrotllePosition()
3: getDistance
5: calculateFuelConsumption()
6: getAmount()
7: displayResult()
1. The driver must click
<<Fuel Fill>> button in
simulator - Safe Drive
Control Panel Window to
add fuel.
Maximum fuel
capacity is 35 L
4: Enter Amount of Fuel
Appendix B-15: Fuel Filling - Basic Flow
ControlPanelMgr : Driver
OBACouplers FuelMgr OBA_Main
1: Click <<Fuel Consum>> Button
2: getThrottlePosition()
3: getDistance()
4: Enter Amount of Fuel
5: calculateFuelConsumption()
6: Invalid Amount
7: Display Invalid Amount
Maximum fuel
capacity is 35 L
1. The driver must click <<Fuel
Fill>> button in simulator -
Safe Drive Control Panel
Window to add fuel.
Appendix B-16: Fuel Filling - Exception Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-13/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CSC OBAMaintenance
: Driver OBACouplers MileageMgr MaintenanceMgr OBA_Main ControlPanelMgr
1: getThrottlePosition()
2: mileageMonitoring()
3: verifyTypeofMaintenance()
5: maintenanceComplete()
6: displayResult()
4: click <<Done>>Button
There are three levels of maintenance.
Level 1 Maintenance for the first 8,000
km, Level 2 Maintenance for the next
8,000 km and Level 3 Maintenance for
the next 8,000 km. Then the level of
maintenance will repeat again at the
Level 1 Maintenance.
1. The message will be displayed
intermittently for the distance of 400
km less than the respective
maintenance distance
2. The message will be displayed
permanently for the distance of 80
km or less than the respective
maintenance distance.
Appendix B-17: Perform Car Maintenance - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-14/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CSC OBAPrimitiveData
OBACouplers MileageMgr ControlPanelMgr SpeedMgr
1: getPulseCount()
2: calculateDistance()
3: getDistance()
4: displayMessage()
Appendix B-18: Calculate Distance - Basic Flow
OBACouplers TimeMgr SpeedMgr
1: getTime( )
3: calculateAccelarationSpeed()
2: calculateTime()
4: Update time
Appendix B-19: Timer - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-15/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
CSC OBASpeedData
: SpeedMgr : MileageMgr
After time elapse of
400 ms 2: startDistance
5: endDistance
1: getDistance( )
4: getDistance( )
6: calculateCurrentSpeed( )
3: idle()
Appendix B-20: Calculate Current Speed - Basic Flow
: Driv er : OBACouplers : OBAAdapter : ControlPanelMgr : SpeedMgr : TimeMgr
1: Click Av erage Speed Button
The driv er must press
<<Av erage Speed>> button
in simulator - Saf e Driv e
Control Panel to calculate
av erage speed. Howev er,
the driv er hav e to start the
trip bef ore being able to
calculate av erage speed.
10: calculateAv erageSpeed( )
2: getAv erageSpeed( )
3: av erageSpeed( )
4: calculateTime( )
5: currentTime
6: calculateCurrentSpeed( )
7: calculateTime( )
8: currentTime
9: calculateCurrentSpeed( )
11: av erageSpeed
Appendix B-21: Calculate Average Speed - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 B-16/16
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
: SpeedMgr : TimeMgr
7: calculateAccelerationSpeed( )
2: startTime
5: endTime
1: getTime( )
4: getTime( )
3: calculateCurrentSpeed( )
6: calculateCurrentSpeed( )
Appendix B-22: Calculate Acceleration Speed - Basic Flow
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-1/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
APPENDIX C (ACTIVITY DIAGRAMS)
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-2/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Start A
Press ignition
Button
Manual
cruise
Start
cruise
Set car
calibration
Operate
cruise control
Perform car
maintenance
Calculate
average speed
Calculate average
fuel consumption
B C D EA
Appendix C -1: Activity Diagram for Start Engine
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-3/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Start A
Press activate
button
Press deactivation
button
Press brake
pedal
Press resume
button
Press acceleration
button
Press acceleration
pedal
Press stop
acceleration button
Check
pre-condition
1. Engine is on.
2. Transmission is at the highest speed.
3. Speed is 80 km/h >= cruise speed <= 175 km/h.
4. Calibration is inactiv e.
LED on
Maintain
speed
LED off
Suspend
mode
Reduce
speed
Check
highest value
Increase
speed
Not satisfy the pre-condition
Satisfy the pre-condition
End B
Cruise ManagerDriver
Appendix C -2: Activity Diagram for Operate Cruise Control
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-4/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Start A
Press service
done button
No
Yes
Engine is on
Get pulse
Get
mileage
Bef ore
reaching the
mileage
corresponds to
the required
maintenance
Check
mileage v alue
Check
mileage l imit
= 80 km
= 400 km
< 400 km
Verif y maintenance
ty pe
< 80 km
Display maintenance
message intermittently
Display maintenance
message continously
Clear
message
1.Mantenance oil & oil
f ilter change.
2.Maintenance (1) &
air f ilter change.
3.Maintenance (1),(2)
& general check.
C
ControlPanelMgrMaintenanceMgrMileageMgrOBACouplersDriver
Appendix C-3: Activity Diagram for Perform Car Maintenance
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-5/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Start A
Press start
calibration button
Press stop
calibration
A
Exceed range
Not exceed range
Check
calibration value
Update
calibration value
1.Engine is on.
2.Cruise control is
inactive
Get pulse
Check
mileage
Error
message
ControlPanelMgrMileageMgrCalibrationMgrDriv er
Appendix C-4: Activity Diagram for Set Car Calibration
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-6/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Start A
Driver press
start of trip
Press average
speed button
Calculate
average speed
Engine is on
Get start mileage
and start time
Calculate
mileage and time
Get stop mileage
and stop time
Display average
speed
D
ControlPanelMgrTimeMgrSpeedMgrDriv er
Appendix C-5: Activity Diagram for Calculate Average Speed
CLASSIFIED OBA/E_FXSOFT/BATCH10/2003/SDD
DOCUMENT IDENTIFICATION
SYSTEM NAME ITEM NUMBER FORMAT VERSION PAGE
Driving Assistance System (DAS)
FT-10-034-A A4 1.0 C-7/7
This
docum
ent
and t
he info
rmation it conta
ins a
re p
ropert
y o
f C
AS
E-U
TM
,
© A
ll C
opyrights
Reserv
ed, 2003 a
nd c
onfidential. T
hey s
hall
not
be
Repro
duced n
or
dis
clo
sed t
o a
ny p
ers
on e
xcept
to t
hose h
avin
g a
need t
o
know
them
without
prior
writt
en c
onsent of
CA
SE
-UT
M
Start A
Press average fuel
consumption button
Insert fuel
value
Calculate average
fuel consumption
Get
mileage
Display average
fuel consumption
E
ControlPanelMgrMileageMgrFuelMgrDriv er
Appendix C-6: Activity Diagram for Average Fuel Consumption