Sie sind auf Seite 1von 96

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Authenticated By Centre for Advanced Software Engineering (CASE) Date

Approved By E_FXSoft Date

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
Cover

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD DOCUMENT APPROVAL

REVISION

NAME

DATE

Verified By: _______________ PROJECT LEADER

Authenticated By: _______________ PROJECT MANAGER

Approved By: _______________ CLIENT

Software Archiving Place Copies Available

: Microsoft Word 2000 : OBA/Product/Software Engineering/SDD : DOC

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
i

CLASSIFIED REVISION HISTORY

OBA/E_FXSOFT/BATCH10/2003/SDD

REVISION

DESCRIPTION

Redefine the Activity diagrams, Sequence diagrams and Activity diagrams. Refer to Appendix A, B and C.

Ind.+ Date Written By Verified By Authenticated By Approved By


This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

A E_FXSoft En. Wan Ya B. Wan Hussin

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
ii

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

CLASSIFIED

Appendix A Appendix B Appendix C PAGES REVISION A A A

SYSTEM NAME

LIST OF EFFECTIVE PAGES

Driving Assistance System (DAS)

ITEM NUMBER

DOCUMENT IDENTIFICATION

FT-10-034-A

PAGES

FORMAT

OBA/E_FXSOFT/BATCH10/2003/SDD

A4

REVISION

VERSION

1.0

PAGE

iii

CLASSIFIED TABLE OF CONTENTS

OBA/E_FXSOFT/BATCH10/2003/SDD

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

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

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
iv

CLASSIFIED
4.2 4.2.1 4.2.1.1 4.2.1.2 4.2.1.3 4.2.1.4 4.2.1.5 4.2.2 4.2.2.1 4.2.2.2 4.2.2.3 4.2.2.4 4.2.2.5 4.2.2.6 4.2.2.7 4.3 4.3.1 4.3.1.1 4.3.1.2 4.3.1.3 4.3.1.4 4.4 4.4.1 4.4.1.1 4.4.1.2 4.5 4.5.1 4.5.1.1 4.5.1.2 4.5.1.3 4.5.2 4.5.2.1 4.5.2.2 4.5.2.3 4.5.2.4 4.6 4.6.1 4.6.1.1 4.6.1.2 4.6.1.3 4.6.1.4 4.6.1.5 4.6.1.6 4.6.1.7 4.6.1.8 4.7 4.7.1 4.7.1.1 4.7.1.2 4.7.1.3 4.7.1.4 4.7.1.5 4.7.1.6

OBA/E_FXSOFT/BATCH10/2003/SDD
CSC OBAKeepUpData (SDD-REQ-200) ............................................ 22 CSU CalibrationMgr (SDD-REQ-201) ........................................... 22 CalibrationMgr ................................................................... 22 setCalibration .................................................................... 23 validateCalibrationValue ..................................................... 23 setCalibrationOn ................................................................ 23 setCalibrationOff ................................................................ 24 CSU FuelMgr (SDD-REQ-202)..................................................... 24 sendToDisplay ................................................................... 24 newTripStatus ................................................................... 25 clickToCalculateFuelConsumption ......................................... 25 enterToCalculateFuelConsumption ........................................ 26 getDistance ....................................................................... 26 getAmount ........................................................................ 26 calculateFuelConsumption ................................................... 27 CSC OBAKernel (SDD-REQ-300) .................................................... 28 CSU OBAMain (SDD-REQ-301) ................................................... 28 displayResult ..................................................................... 29 displayToPanel................................................................... 30 displayFilter ...................................................................... 31 periodHandler .................................................................... 32 CSC OBAMaintenance (SDD-REQ-400)............................................ 33 CSU MaintenanceMgr (SDD-REQ-401) ......................................... 33 mileageMonitoring ............................................................. 34 verifyTypeOfMaintenance .................................................... 34 CSC OBAPrimitiveData (SDD-REQ-500) .......................................... 35 CSU MileageMgr (SDD-REQ-501) ................................................ 35 MileageMgr ....................................................................... 35 getPulseCount ................................................................... 36 calculateDistance ............................................................... 36 CSU TimeMgr (SDD-REQ-502).................................................... 37 timeMgr ............................................................................ 37 calculateTime .................................................................... 37 getTime ............................................................................ 38 timeHandler ...................................................................... 38 CSC OBASpeedData (SDD-REQ-600) .............................................. 39 CSU SpeedMgr (SDD-REQ-601) .................................................. 39 SpeedMgr ......................................................................... 39 getCurrentSpeed ............................................................... 40 calculateCurrentSpeed ........................................................ 40 calculateAverageSpeed ....................................................... 40 verifyTripStatus ................................................................. 41 getTime() ......................................................................... 41 getDistance() .................................................................... 41 calculateAccelerationSpeed ................................................. 42 CSC OBAControlPanel (SDD-REQ-700) ........................................... 43 CSU ControlPanelMgr (SDD-REQ-701) ......................................... 43 opname ............................................................................ 44 maintenanceComplete ........................................................ 44 setCruiseOn ...................................................................... 45 setCruiseOff ...................................................................... 45 verifyEngineCondition ......................................................... 45 getIgnitionStatus ............................................................... 46

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
v

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
vi

CLASSIFIED LIST OF FIGURES


Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure Figure

OBA/E_FXSOFT/BATCH10/2003/SDD

3.1: The External Interface Diagram .................................................... 4 3.2: The CSCI OBA CSCs .................................................................... 5 3.3: Dynamic Organization of CSCI OBA .............................................. 7 3.4: Relationship between CSC in CSCI OBA ......................................... 7 3.5: Visibility of CSC OBACruise with Other CSCs ................................ 11 3.6: Visibility of CSC OBAKeepUpData with Other CSCs ........................ 11 3.7: Visibility of CSC OBAKernel with Other CSCs ................................ 12 3.8: Visibility of CSC OBAMaintenance with Other CSCs ........................ 12 3.9: Visibility of CSC OBAMaintenance with Other CSCs ........................ 13 3.10: Visibility of CSC OBASpeedData with Other CSCs ........................ 13 3.11: Visibility of CSC OBAControlPanel with Other CSCs ...................... 13 3.12: Visibility of CSC Utility with Other CSCs ..................................... 14

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
vii

CLASSIFIED LIST OF TABLES


Table Table Table Table Table Table Table Table Table Table 3.1: 3.2: 3.3: 5.1: 5.1: 6.1: 6.2: 6.3: 6.4: 7.1:

OBA/E_FXSOFT/BATCH10/2003/SDD

System States and Modes for Cruise Control ................................... 8 System States and Modes for Maintenance ...................................... 9 Memory and Processing Time Allocation ........................................ 10 Global Data Element within CSCI ................................................. 54 Global Data Element within CSCI (Continue) ................................. 55 Data Files Mapping to CSC .......................................................... 56 Route Profile 1: flat.road Data ................................................... 57 Route Profile 2: uphill.road Data ................................................ 58 Route Profile 3: downhill.road Data ............................................ 59 Requirements Traceability Matrix ................................................. 60

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
viii

CLASSIFIED LIST OF APPENDICES

OBA/E_FXSOFT/BATCH10/2003/SDD

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
ix

CLASSIFIED 1 SCOPE

OBA/E_FXSOFT/BATCH10/2003/SDD

This chapter is divided into the following paragraphs and subparagraphs. 1.1 Identification This Software Design Document (SDD) belongs to the Driving Assi stance System (DAS). System title System abbreviation System identification number Subsystem title Subsystem abbreviation Subsystem identification number CSCI title CSCI abbreviation CSCI identification number 1.2 System overview The Driving Assistance System (DAS) fits into the framework of Wawasan 2020, a Malaysian Government program on the definition and feasibili ty 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. ii. iii. iv. v. Control the cruising speed of the car, upon drivers requ est. Indicate to the driver when maintenance operations are necessary. Calculate the average speed on trips, upon drivers request. Calculate the average fuel consumption between two fillings and the average fuel consumption upon a trip. Inform the driver through LED indication for certain problems detected while driving the vehicle (e.g. via the use of Care to speed LED). : : : : : : : : : Driving Assistance System DAS 31 000 010 Safe Drive SD 31 000 100 On-Board Automobile OBA EFX-2003-02

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.
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
1/61

CLASSIFIED
1.3 Document overview This document overlay the following chapters: Chapter Chapter Chapter Chapter Chapter Chapter Chapter Chapter 1 2 3 4 5 6 7 8 : : : : : : : : Scope Referenced Documents Preliminary Design Detailed Design CSCI Data CSCI Data Files Requirements Traceability Notes

OBA/E_FXSOFT/BATCH10/2003/SDD

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
2/61

CLASSIFIED 2

OBA/E_FXSOFT/BATCH10/2003/SDD 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] [2] [3] 2.2 DoD-Std-2167A DoD-Std-2168 MIL-Std-1521B Defense System Software Development Defense System Software Quality Program Technical reviews and audits

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] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] CASE (Letter_1) CASE (Letter_2) CASE (Letter_3) CASE CASE CASE CASE CASE CASE CASE CASE CASE CASE (Man_Doc_001) (Man_Doc_002) (Man_Doc_003) (Man_Doc_004) (Man_Doc_005) (Man_Doc_006) (Man_Doc_007) (Man_Doc_008) (Test_Doc_001) (Test_Doc_002) Additional requirements from client dated 27th June 2003 Additional requirements from client dated 27th June 2003 Additional requirements from client dated 27th June 2003 General organization of the project Presentation of the project Software Specification Review Preliminary Design Review Test Readiness Review Contract for an OBA System Statement of Work for OBA Contract Data Requirement List for OBA Technical Specification OBA Computer for DAS Maintenance Report No 1 OBA Computer for DAS Maintenance Report No 2 OBA Computer for DAS Technical Specification OBA Computer Test Bench The Unified Modeling Language User Guide (Addison Wesley) C++: How To Program (Prentice Hall) Interface Requirements Specification Conduct of reviews and audits guide Drafting Guide SDD Software Development Plan Software Programming Manual of OBA Virtual Target API Software Requirements Specification System/Segment Specification of SD Subsystem OBA Testbench Software Users Manual
DOCUMENT IDENTIFICATION SYSTEM NAME
Driving Assistance System (DAS)

CASE (Test_Doc_003) CASE (Test_Bench_001) Guideline UML-1 Guideline C++-1 IRS (FT-10-022-A) RDL-105 RDL-314 SDP (FT-10-037-) SPM (56 699 445-508) SRS (FT-10-045-A) SSS (31 000 100-305) SUM (56 699 445-108)

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
3/61

CLASSIFIED 3

OBA/E_FXSOFT/BATCH10/2003/SDD 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.

Fuel

fuelVolume gearSignal
Throttle

Gear

voltage keypadSignal
Keypad

CSCI OBA
message

pedalSignal

Pedal

shaftPulseInterrupt

SD Control Panel

Shaft

Figure 3.1: The External Interface Diagram


Fuel 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 Throttle pulses to the CSCI OBA, in order to determine the distance and speed Gear 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.
Keypad

Pedal
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

SD Control Panel

Shaft

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
4/61

CLASSIFIED
3.1.1 CSCI architecture

OBA/E_FXSOFT/BATCH10/2003/SDD

This section is divided into sub paragraphs, which will describe: i. ii. iii. The internal organization structure of the CSCI. Computer Software Components (CSCs) and their purpose. Relationship among CSCs.

3.1.1.1 Static organization

OBACruise

OBAMaintenance

Utility
gl obal

OBAKernel

OBAKeepUpData

OBAControlPanel
gl obal

OBAPrimitiveData

OBASpeedData

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:
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

i. ii.

CalibrationMgr 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
DOCUMENT IDENTIFICATION SYSTEM NAME
Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
5/61

CLASSIFIED
4. OBAMaintenance

OBA/E_FXSOFT/BATCH10/2003/SDD

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. ii. MileageMgr 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. ii. OBAAdapter OBACouplers

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
6/61

CLASSIFIED
3.1.1.2 Dynamic organization

OBA/E_FXSOFT/BATCH10/2003/SDD

OBACruise

OBAMaintenance

OBAControlPanel OBAKernel

Utility

OBAKeepUpData

OBASpeedData

OBAPrimitiveData

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 \\\\\\\\\\\\\\
OBACruise OBAMaintenance

Utility
global

OBAKernel

OBAControlPanel
global

OBAPrimitiveData

OBASpeedData

OBAKeepUpData

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Figure 3.4: Relationship between CSC in CSCI OBA 3.1.1.4 CSC external CSCIs interfaces Not applicable.

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
7/61

CLASSIFIED
3.1.2 System states and modes

OBA/E_FXSOFT/BATCH10/2003/SDD

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 Cruise disengaged Cruise activated Accelerate Describe The ignition is on and the auto cruise is inactive. The system is under auto cruise mode. The system speed is increased upon the driver request by clicking on the <<Start>> accelerating button or by pressing on the accelerator pedal. The system speed is maintained when the driver do the following activities: Click the <<Stop>> accelerating button ii. Click the <<Resume>> button. iii. Release the accelerator pedal. The system is under this state when the driver presses the brake pedal. The auto cruise is inactive. i.

Regulate Cruise Control

Suspend Cruise deactivated

Table 3.1: System States and Modes for Cruise Control

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
8/61

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Mode

State Cruise activated First level maintenance

Display message intermittently Display message continuously Second level maintenance

Maintenance

Third level maintenance

Describe The system is under auto cruise mode. 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. The system reaches 400km before the maintenance milestone. The system reaches 80km before the maintenance milestone. 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. 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.

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
9/61

CLASSIFIED
3.1.3 Memory and processing time allocation CSC OBACruise (SDD-REQ-100) OBAKeepUpData (SDD-REQ-200) OBAKernel (SDD-REQ-300) OBAMaintenance (SDD-REQ-400) OBAPrimitiveData (SDD-REQ-500) OBASpeedData (SDD-REQ-600) OBAControlPanel (SDD-REQ-700) Utility (SDD-REQ-800) CSU CruiseMgr (SDD-REQ-101) CalibrationMgr (SDD-REQ-201) FuelMgr (SDD-REQ-202) OBAMain (SDD-REQ-301) MaintenanceMgr (SDD-REQ-401) MileageMgr (SDD-REQ-501) TimeMgr (SDD-REQ-502) SpeedMgr (SDD-REQ-601) ControlPanelMgr (SDD-REQ-701) OBAAdapter (SDD-REQ-801) OBACouplers (SDD-REQ-802)

OBA/E_FXSOFT/BATCH10/2003/SDD

Allocated time 0.5 second

Strategy Probe

10.0 second

Probe

1.0 second 10.0 second 0.5 second

Probe Probe

Table 3.3: Memory and Processing Time Allocation

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
10/61

CLASSIFIED
3.2 CSCI design description

OBA/E_FXSOFT/BATCH10/2003/SDD

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)

OBACruise OBAKernel CruiseMgr


(f rom OBACruise)

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)

OBAKeepUpData OBAKernel CalibrationMgr


(f rom OBAKeepUpData)

FuelMgr
(f rom OBAKeepUpData)

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.

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
11/61

CLASSIFIED
3.2.3 CSC OBAKernel (SDD-REQ-300)

OBA/E_FXSOFT/BATCH10/2003/SDD

OBACruise

OBAMaintenance

OBAKernel OBAKeepUpData OBAMain


(f rom OBAKernel)

OBAPrim itiveData

OBASpeedData

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)

OBAMaintenance OBAKernel MaintenanceMgr


(f rom OBAMaintenance)

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.
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
12/61

CLASSIFIED
3.2.5 CSC OBAPrimitiveData (SDD-REQ-500)

OBA/E_FXSOFT/BATCH10/2003/SDD

OBAPrimitiveData OBAKernel MileageMgr


(f rom OBAPrimitiv eData)

TimeMgr
(f rom OBAPrimitiv eData)

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)

OBASpeedData OBAKernel SpeedMgr


(f rom OBASpeedData)

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)

OBAControlPanel ControlPanelMgr
(f rom OBAC ontrolPanel)

gl obal

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

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.

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
13/61

CLASSIFIED
3.2.8 CSC Utility (SDD-REQ-800)

OBA/E_FXSOFT/BATCH10/2003/SDD

Utility

OBAAdapter
(from Util ity)

OBACouplers
(from Util ity)

global

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.

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
14/61

CLASSIFIED 4 DETAILED DESIGN

OBA/E_FXSOFT/BATCH10/2003/SDD

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 Responsibility Attributes : : : Control Class CSU CruiseMgr is responsible to control and manage the cruising driving for the automobile. iCruiseMode : integer iActivate : integer dSelectedSpeed : double dCurrentSpeed : double iFaultvalue : integer dCurrentAccel : integer iNewThrottle : integer errorCounter : integer fDelta : double iNewThrottleValue : integer CSU CruiseMgr contains the following methods:

Methods

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
15/61

CLASSIFIED
4.1.1.1 CruiseMgr Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET SET SET SET END dSelectedSpeed dCurrentSpeed iCruiseMode iActivateMode = = = = 0; 0; 0; 0;

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To construct CruiseMgr class None None Object CruiseMgr class of is instantiated

Post Conditions 4.1.1.2 sendValueSpeed Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

CruiseMgr class constructed

: : : : :

To send value speed whenever to activate the cruising None None None

SET dCurrentSpeed = dVelocity; DISPLAY (dCurrentSpeed); END

Post Conditions 4.1.1.3 verifyCruise Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

None

: : : : :

To verify automobile condition whenever to activate the cruising iEngineOn, iGear, dCurrentSpeed None None

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

IF iEngineOn = 1 AND dCurrentSpeed >= 80 AND iGEAR = 5 setCruiseSpeed(dCurrentSpeed); ELSE DISPLAY Error Message; END

Post Conditions

Enable the cruising

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
16/61

CLASSIFIED
4.1.1.4 deactivateCruise Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET iActivateMode = 0; SET adapter->setLED ; END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To stop the cruising None None None

Post Conditions 4.1.1.5 activateCruise Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

Disable the cruising

: : : : :

To activate the cruise None None None

SET iActivate = 1; SET iCruiseMode = 1; END

Post Conditions 4.1.1.6 startAcceleration Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

The cruise is activate

: : : : :

To verify automobile condition whenever to start acceleration. None None None

SET iActivate = 1; SET iCruiseMode = 2; SET displayToPanel(10); END


This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Post Conditions

Acceleration is start

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
17/61

CLASSIFIED
4.1.1.7 stopAcceleration Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET SET SET SET END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To verify automobile condition whenever to start acceleration. None None None

dSelectedSpeed = speed.calculateCurrentSpeed; iCruiseMode = 1; iActivateMode = 1; displayToPanel(6);

Post Conditions

Acceleration is stop

4.1.1.8 controllingCruiseSpeed Responsibility Input Parameters Output Parameters Pre Conditions 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(); } }
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

: : : : :

To control the cruise speed None None None

END

Post Conditions

The automobile will be cruising

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
18/61

CLASSIFIED
4.1.1.9 resumeSpeed Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN IF(dCurrentSpeed>= 80) { SET iCruiseMode = 1; DISPLAY(iCruiseMode); ELSE SET suspendCruise(); DISPLAY(iCruiseMode); END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To resume cruising None None None

Post Conditions 4.1.1.10

Resuming cruise

getBrakeStatus : : : : : To brake the status None None None

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

DISPLAY(iBrakeStatus); SET suspendCruise(); DISPLAY(iCruiseMode); END

Post Conditions 4.1.1.11

Brake cruise

getAcceleratorStatus : : : : : To accelarate the status None None None

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DISPLAY iAccelaratorStatus; END

Post Conditions

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
19/61

CLASSIFIED
4.1.1.12 suspendCruise : : : : : To suspend cruising None None None

OBA/E_FXSOFT/BATCH10/2003/SDD

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

SET iCruiseMode = 0; DISPLAY(iCruiseMode); END

Post Conditions 4.1.1.13

None

checkCruiseAlert : : : : : To verify cruising speed dSpeed : double None None

Responsibility Input Parameters Output Parameters Pre Conditions 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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
20/61

CLASSIFIED
4.1.1.14 regulateCruiseSpeed : : : : :

OBA/E_FXSOFT/BATCH10/2003/SDD

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

To regulate cruising speed dSelectedSpeed None None

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
21/61

CLASSIFIED
4.2 CSC OBAKeepUpData (SDD-REQ-200)

OBA/E_FXSOFT/BATCH10/2003/SDD

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

CalibrationMgr
(from OBAKeepUpData)

FuelMgr
(from OBAKeepUpData)

Figure 4.2: CSC OBAKeepUpData Structural Diagram 4.2.1 CSU CalibrationMgr (SDD-REQ-201) Class Type Responsibility Attributes : : : Control Class CSU CalibrationMgr is responsible to generate a new calibration value whenever required by the driver such as during the tyre changes. dDefCalibrationValue (constant) : double dDeltaCalibrate (constant) : double dCalibrationValueA : double dCalibrationValueB : double dCurCalibrationValue : double dNewCalibrationValue : double dCurrentCalibValue : double CSU CalibrationMgr contains the following methods:

Methods

4.2.1.1 CalibrationMgr Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET SET SET SET END
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

: : : : :

To construct CalibrationMgr class None None Object CalibrationMgr class of is instantiated

dCalibrationValueA dCalibrationValueB dCurCalibrationValue dNewCalibrationValue

= = = =

0.0; 0.0; 0.0; 0.0;

Post Conditions

CalibrationMgr class constructed

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
22/61

CLASSIFIED
4.2.1.2 setCalibration Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To determine the current calibration value None None The calibration value has been generated

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 Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN IF (ABS(dNewCalibrationValue dDefCalibrationValue) > dDeltaCalibrate) RETURN 0; ELSE RETURN 1; END

: : : : :

To validate the current calibration value None None The calibration value has been generated

Post Conditions 4.2.1.4 setCalibrationOn Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Current calibration value validated

: : : : :

To set first pulse count None None Invoked by the ControlPanelMgr and the vehicle is not cruising

BEGIN SET dCalibrationValueA = MileageMgr.getPulseCount(); END

Post Conditions

Getting the first pulse count.

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
23/61

CLASSIFIED
4.2.1.5 setCalibrationOff Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To set second pulse count and determine the new calibration value None None Invoked by the ControlPanelMgr and the first pulse count have been generated

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 Responsibility Attributes : : : Control Class CSU FuelMgr is responsible the fuel consumption. fFuelFillValue fFuelConsume dDistanceA dDistance theStatus dFuelFillAmount dDistance dDistanceOnNew dDistanceInitial dlastFuelFilling to manage and calculate : : : : : : : : : : double float double double integer double double double double double

Methods 4.2.2.1 sendToDisplay Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

CSU FuelMgr is contains the following methods:

: : : : :

To send for display key code None None None

SET iDisplayToPanel = 4;
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

END

Post Conditions

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
24/61

CLASSIFIED
4.2.2.2 newTripStatus Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To monitor the trip status None None None

SET theStatus = status; SET dDistanceOnNew = getDistance(); END

Post Conditions

None

4.2.2.3 clickToCalculateFuelConsumption Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET SET SET SET END dDistanceNew = getDistance(); dMeasureDistance = dDistanceNew - dDistanceStartTrip; calculateFuelConsumption(); sendToDisplay();

: : : : :

To click the panel button to filling the fuel None None None

Post Conditions

None

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
25/61

CLASSIFIED
4.2.2.4 enterToCalculateFuelConsumption Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To click the button enter when filling the fuel None None None

SET dDistanceInitial = dDistanceNew; SET dDistanceNew = getDistance(); SET dFuelFillAmount = dTheAmount; SET dMeasureDistance = dDistanceNew - dDistanceInitial; SET calculateFuelConsumption(); SET sendToDisplay(); END

Post Conditions 4.2.2.5 getDistance Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

The amount of fuel is display

: : : : :

To calculate distance when ignition on None None None

SET dDistance = mileage CALL FUNCTION calculateDistance(); SET return dDistance; END

Post Conditions 4.2.2.6 getAmount Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

None

: : : : :

To monitor the amount of fuel when filling None None None

BEGIN SET dFuelFillAmount = dTheAmount; END

Post Conditions

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
26/61

CLASSIFIED
4.2.2.7 calculateFuelConsumption Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To calculate and display the fuel consumption None None None

SET fFuelConsume = dFuelFillAmount/(dDistanceAdDistanceB); DISPLAY (fFuelConsume); END

Post Conditions

Fuel consumption is display.

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
27/61

CLASSIFIED
4.3 CSC OBAKernel (SDD-REQ-300)

OBA/E_FXSOFT/BATCH10/2003/SDD

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 Responsibility Attributes : : : Control Class CSU OBA_Main provides OBA Adapter, ControlPanel, mileage, fuel and maintenance. iBlink : integer temp : integer periodInMilisecond : integer ThrottleValue : integer FuelFillStatus : integer lockDisplay : integer ignitionFlagStatus : boolen brakeFlagStatus : boolen iDisplayToPanelCode : boolen CSU OBA_Main contains the following methods:

Methods

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
28/61

CLASSIFIED
4.3.1.1 displayResult Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To display the key code None None None

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
29/61

CLASSIFIED
4.3.1.2 displayToPanel Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To display the result to control panel None None None

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
30/61

CLASSIFIED
4.3.1.3 displayFilter Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To display the maintenance None None None

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
31/61

CLASSIFIED
4.3.1.4 periodHandler Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To display the key code connect with control panel None None None

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
32/61

CLASSIFIED
4.4 CSC OBAMaintenance (SDD-REQ-400)

OBA/E_FXSOFT/BATCH10/2003/SDD

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 Responsibility Attributes : : : Control Class CSU MaintenanceMgr is responsible to monitor the mileage and alert the driver to maintain the vehicle. dCurrentDistance : double dMileage : double dFirstServices400 : double dFirstServices80 : double dSecondServices400 : double dSecondServices80 : double dThirdServices400 : double dThirdServices80 : double iServices : integer CSU MaintenanceMgr contains the following methods:

Methods

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
33/61

CLASSIFIED
4.4.1.1 mileageMonitoring Responsibility :

OBA/E_FXSOFT/BATCH10/2003/SDD

Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

: : : :

To monitor the mileage and calculation for every type of maintenance: First Services : every 8000km Second Services : every 16000km Third Services : every 24000km None None Ignition is on

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 Input Parameters Output Parameters Pre Conditions 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
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

: : : : :

To display maintenance message scheduling according to the distance. None None None

IF (dMileage >=24600) && (dMileage <24920) THEN DISPLAY (General check..); ELSE (dMileage >= 24920) DISPLAY (General check..); ENDIF END

Post Conditions

Maintenance message is displayed


DOCUMENT IDENTIFICATION

SYSTEM NAME
Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
34/61

CLASSIFIED
4.5 CSC OBAPrimitiveData (SDD-REQ-500)

OBA/E_FXSOFT/BATCH10/2003/SDD

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

MileageMgr
(f rom OBAPrimitiv eData)

TimeMgr
(f rom OBAPrimitiv eData)

Figure 4.5: CSC OBAPrimitiveData Structural Diagram 4.5.1 CSU MileageMgr (SDD-REQ-501) Class Type Responsibility Attributes Methods 4.5.1.1 MileageMgr Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET dDistance = 0.0; SET iResult = 0.0; END

: : : :

Control Class MileageMgr Class is requires to calculate distance based on the pulse count distance : double dInitialSpeed : double MileageMgr Class contains the following methods:

: : : : :

To construct MileageMgr class None None Object MileageMgr class of is instantiated

Post Conditions

MileageMgr class constructed

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
35/61

CLASSIFIED
4.5.1.2 getPulseCount Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN OPEN pulseCounter; RETURN pulse->count; END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To retrieve pulse count from the shared memory None None None

Post Conditions 4.5.1.3 calculateDistance Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

Getting the numbers of pulses from the shared memory

: : : : :

To calculate distance based on the numbers of pulses None None Verified pulse count.

SET result = getPulseCount(); RETURN result/calibrationCount; END

Post Conditions

Distance has been generated.

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
36/61

CLASSIFIED
4.5.2 CSU TimeMgr (SDD-REQ-502) Class Type Responsibility Attributes Methods 4.5.2.1 timeMgr Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET dCurrentTime = 0.0; SET iTimeCounter = 0.0; END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : :

Control Class TimeMgr Class is requires to generate time for overall system used. CurrentTime : double TimeCounter : integer TimeMgr Class contains the following methods:

: : : : :

To construct TimeMgr class None None Object TimeMgr class of is instantiated

Post Conditions 4.5.2.2 calculateTime Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

TimeMgr class constructed

: : : : :

To generate time None None None

SET iTimeCounter = iTimeCounter + 1; SET dCurrentTime = iTimeCounter * 0.1; RETURN dCurrentTime; END

Post Conditions

Time generated

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
37/61

CLASSIFIED
4.5.2.3 getTime Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN RETURN calculateTime(); END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To get the current time None None None

Post Conditions 4.5.2.4 timeHandler Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

Return current time

: : : : :

Handling time interrupt None None None

SET TimeMgr->calculateTime(); END

Post Conditions

None

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
38/61

CLASSIFIED
4.6 CSC OBASpeedData (SDD-REQ-600)

OBA/E_FXSOFT/BATCH10/2003/SDD

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 Responsibility Attributes : : : dCurrentSpeed dTheSpeed averageSpeed AccelerationSpeed Methods 4.6.1.1 SpeedMgr Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET SET SET SET END AccelerationSpeed = 0.0; dCurrentSpeed = 0.0; dTheSpeed = 0.0; averageSpeed = 0.0;

Control Class SpeedMgr Class is requires to calculate speed and acceleration : : : : double double double double

SpeedMgr Class contains the following methods:

: : : : :

To construct SpeedMgr class None None Object SpeedMgr class of is instantiated

Post Conditions

SpeedMgr class constructed

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
39/61

CLASSIFIED
4.6.1.2 getCurrentSpeed Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To get the current speed None None Engine is on and running

SET dTheSpeed = calculateCurrentSpeed(); RETURN dTheSpeed; END

Post Conditions

Return current speed

4.6.1.3 calculateCurrentSpeed Responsibility Input Parameters Output Parameters Pre Conditions 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

: : : : :

To calculate current speed None None Verified distance calculation

Post Conditions

Current speed calculated

4.6.1.4 calculateAverageSpeed Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

: : : : :

To calculate average speed dStartDistance, dStopDistance, dStartTime, dStopTime None Must start trip before being able to calculate average speed

SET averageSpeed = (dStopDistance- dStartDistance)/ (dStopTime- dStartTime); RETURN averageSpeed; END

Post Conditions

Average speed calculated

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
40/61

CLASSIFIED
4.6.1.5 verifyTripStatus Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To verify trip condition for cruising iTripStatus None None

SET iTheStatus = iTripStatus; SET dDistanceStartTrip = getDistance(); CALL getTime(); END

Post Conditions 4.6.1.6 getTime() Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

Start trip information retieved

: : : : :

To retrieve current time None None none

SET startTime = timer.calculation(); END

Post Conditions 4.6.1.7 getDistance() Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

Current time retrieved

: : : : :

To retrieve current distance None None none

SET dDistance = mileage.calculateDistance(); RETURN dDistance; END

Post Conditions
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Current distance retrieved

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
41/61

CLASSIFIED
4.6.1.8 calculateAccelerationSpeed Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET SET SET SET SET

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To calculate acceleration None None Verified current speed

CurrentSpeedA = calculateCurrentSpeed(); Time1 = TimeMgr.calculateTime(); CurrentSpeedB = calculateCurrentSpeed(); Time2 = TimeMgr.calculateTime(); AccelerationSpeed = (dCurrentSpeedB- dCurrentSpeedA)/ (dTimeB- dTimeA); RETURN accelerationSpeed; END

Post Conditions

Acceleration calculated

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
42/61

CLASSIFIED
4.7 CSC OBAControlPanel (SDD-REQ-700)

OBA/E_FXSOFT/BATCH10/2003/SDD

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 ControlPanelMgr
(f rom OBAControlPanel)

global

Figure 4.7: CSC OBAControlPanel Structural Diagram 4.7.1 CSU ControlPanelMgr (SDD-REQ-701) Class Type Responsibility Attributes : : : Control Class CSU ControlPanelMgr is responsible to control calibration, fuel, maintenance and mileage status. 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 CSU ControlPanelMgr contains the following methods:

Methods

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
43/61

CLASSIFIED
4.7.1.1 opname Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN IF (SET iCode == 10) DISPLAY setCruiseOn(); ELSE (SET iCode = 11) DISPLAY setCruiseOff(); ENDIF

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To initialize the status of the key code None None None

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 Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET iServiceDoneStatus = 1; END

: : : : :

To display maintenance status None None None

Post Conditions
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
44/61

CLASSIFIED
4.7.1.3 setCruiseOn Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To activate the cruise None None None

IF ((iIgnitionFlag==1) && (iGearFlag ==1)) SET cruise.verifyCruise(iIgnitionFlag,iCurrentGear); ENDIF END

Post Conditions 4.7.1.4 setCruiseOff Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

None

: : : : :

To deactivate the cruise None None None

SET adapter.setLED; SET cruise.deactivateCruise(); END

Post Conditions

None

4.7.1.5 verifyEngineCondition Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN IF (iGear ==5) SET iGearFlag = 1; SET iCurrentGear = iGear; ENDIF
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

: : : : :

To verify the cruise status condition None None None

END

Post Conditions

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
45/61

CLASSIFIED
4.7.1.6 getIgnitionStatus Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN SET cruise.verifyCruise(); END

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To get the ignition status None None None

Post Conditions 4.7.1.7 setNewTrip Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

None

: : : : :

To set a new trip None None None

SET iNewTripFlag = 1; DISPLAY iNewTripFlag; SET fuel->newTripStatus(iNewTripFlag); END

Post Conditions 4.7.1.8 getAverageSpeed Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

None

: : : : :

To get the average speed None None None

SET speed.calcAverageSpeed(); END

Post Conditions
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
46/61

CLASSIFIED
4.7.1.9 getFuelConsumption Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To get fuel consumption status None None None

SET fuel->clickToCalculateFuelConsumption(); END

Post Conditions 4.7.1.10

None

enterFuelConsumption : : : : : To validated the value of fuel consumption None None None

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

SET fuel.enterToCalculateFuelConsumption(dTheAmount); END

Post Conditions 4.7.1.11

None

getCalibrationOn : : : : : To set the calibration on None None None

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

SET calibrate.setCalibrationOn(); END

Post Conditions

None

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
47/61

CLASSIFIED
4.7.1.12 setCalibrationOff : : : : :

OBA/E_FXSOFT/BATCH10/2003/SDD

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

To set the calibration off None None None

SET calibrate.setCalibrationOff(); END

Post Conditions 4.7.1.13

None

setFuelFillStatus : : : : : To set the fuel fill status None None None

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

SET FuelFillStatus = 1; SET iTemp = 50; END

Post Conditions 4.7.1.14 getFuel

None

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

: : : : :

To get the fuel status None None None

If (iFuelFillStatus == 0) DISPLAY setFuelFillStatus(); ELSE (iFuelFillStatus == 1) DISPLAY getFuelAmount(iCode); END


This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Post Conditions

None

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
48/61

CLASSIFIED
4.7.1.15 getFuelAmount : : : : :

OBA/E_FXSOFT/BATCH10/2003/SDD

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm BEGIN

To get the fuel amount status None None None

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

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
49/61

CLASSIFIED
4.7.1.16 clearDisplayPanel : : : : :

OBA/E_FXSOFT/BATCH10/2003/SDD

Responsibility Input Parameters Output Parameters Pre Conditions Algorithm


BEGIN

To clear the display panel None None None

SET iLockDisplay = 0; SET iFuelFillStatus = 0; SET fDigit1 = 0;

SET SET SET SET SET


END

fDigit2 fDigit3 iFloatFlag iDigit iIndexFlag

= = = = =

0; 0; 0; 0; 0;

Post Conditions

None

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
50/61

CLASSIFIED
4.8 CSC Utility (SDD-REQ-800)

OBA/E_FXSOFT/BATCH10/2003/SDD

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 OBAAdapter
(from Utility) global

OBACouplers
(from Utility)

Figure 4.8: CSC Utility Structural Diagram 4.8.1 CSU OBAAdapter (SDD-REQ-801) Class Type Responsibility Attributes : : : Control Class Handling output to shared memory throttlePosition : ThrottlePositionWord displaytoSDCP : DisplayBuffer iCounter : integer iNewPosition : integer cMsg : char * OBAAdapter Class contains the following methods:

Methods 4.8.1.1 displayMessage Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

: : : : :

To display message in the Safe Drive Control Panel cMsg None None

OPEN displaytoSDCP; FOR iCounter = 0 TO 20 displaytoSDCP = cMsg; IDLE(75); END

Post Conditions
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Message displayed

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
51/61

CLASSIFIED
4.8.1.2 setThrottlePosition Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

OBA/E_FXSOFT/BATCH10/2003/SDD

: : : : :

To set new throttle voltage iNewPosition None Engine is running

OPEN throttlePosition; SET throttlePosition->voltage = iNewPosition; END

Post Conditions 4.8.1.3 setLED Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

Set new throttle voltage value

: : : : :

To set the LED None None None

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 4.8.1.4 initLED Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

None

: : : : :

To set the LED status None None None

BEGIN SET SET SET SET END led = (LedCommandByte *)(OTM::ledCommandByteAddress); led->led_1 = 0; led->led_2 = 0; led->led_3 = 0;

Post Conditions

None
DOCUMENT IDENTIFICATION

SYSTEM NAME
Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
52/61

CLASSIFIED
4.8.2 CSU OBACouplers (SDD-REQ-802) Class Type Responsibility Attributes : : :

OBA/E_FXSOFT/BATCH10/2003/SDD

Control Class Handling output from the shared memory throttlePosition : ThrottlePositionWord pulseCounter : PulseCounterWord OBACouplers Class contains the following methods:

Methods

4.8.2.1 getThrottlePosition Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN OPEN throttlePosition; RETURN throttlePosition->voltage; END

: : : : :

To get throttle voltage None None Engine is running

Post Conditions 4.8.2.2 getPulseCount Responsibility Input Parameters Output Parameters Pre Conditions Algorithm
BEGIN

None

: : : : :

To retrieve pulse count from the shared memory None None None

OPEN pulseCounter; RETURN pulse->count; END

Post Conditions

Getting the numbers of pulses from the shared memory

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
53/61

CLASSIFIED 5 CSCI DATA

OBA/E_FXSOFT/BATCH10/2003/SDD

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: Initializer CSU/ Component Identifier
SDD-REQ-801

Variable Name

Description

Type

User CSU Identifier

adapter

Global variable pointing to COBAAdapter class

Pointer

1. 2. 3.

SDD-REQ-101 SDD-REQ-301 SDD-REQ-701

calibrate

Global variable pointing to CCalibrationMgr class Global variable pointing to CCalibrationMgr class Global variable pointing to CCalibrationMgr class Global variable pointing to CControlPanelMgr class Global variable pointing to COBACouplers class

Pointer

SDD-REQ-201 SDD-REQ-701

calibrationValueA

Variable

SDD-REQ-201 SDD-REQ-201

calibrationValueB

Variable

SDD-REQ-201 SDD-REQ-201

controlPanel

Pointer

SDD-REQ-701 SDD-REQ-301

coupler

Pointer

SDD-REQ-802 1. 2. SDD-REQ-101 SDD-REQ-301

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Table 5.1: Global Data Element within CSCI

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
54/61

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Variable Name

Description

Type

Initializer CSU/ Component Identifier


SDD-REQ-101

User CSU Identifier

cruise

Global variable pointing to CCruiseMgr class Global variable pointing to CCalibrationMgr class Global variable pointing to CFuelMgr class Global variable pointing to CMaintenanceMgr class Global variable pointing to CMileageMgr class Global variable pointing to CSpeedMgr class Global variable pointing to CTimeMgr class

Pointer

SDD-REQ-301

curCalibrationValue

Variable

SDD-REQ-201 SDD-REQ-201 SDD-REQ-202

fuel

Pointer SDD-REQ-401 Pointer

SDD-REQ-701

maintain

SDD-REQ-701

mileage

SDD-REQ-501 Pointer

1. 2. 3. 4.

SDD-REQ-301 SDD-REQ-401 SDD-REQ-202 SDD-REQ-601

speed

SDD-REQ-601 Pointer SDD-REQ-502 Pointer 1. 2. SDD-REQ-502 SDD-REQ-601 SDD-REQ-101

timer

Table 5.1: Global Data Element within CSCI (Continue) 5.2 Global data element of CSCI external interfaces Not applicable.

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
55/61

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

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. Data File CSC Identifier SDD-REQ-100 SDD-REQ-200 SDD-REQ-300 SDD-REQ-400 SDD-REQ-500 SDD-REQ-600 SDD-REQ-700 SDD-REQ-800 Route Profile 1: flat.road X X X x X X X X Route Profile 2: uphill.road x Route Profile 3: downhill.road x

Table 6.1: Data Files Mapping to CSC

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
56/61

CLASSIFIED
6.1.1 Route Profile 1: flat.road

OBA/E_FXSOFT/BATCH10/2003/SDD

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 0 Distance (km) 200

Table 6.2: Route Profile 1: flat.road Data

ROAD PROFILE FOR FLAT ROAD


30 28 26 24 22 20 18
SLOPE

16 slope 14 12 10 8 6 4 2 0 2 3 3.5 4.5 5 6 6.5 7.5 8 9 KM 9.5 10.5 11 12 12.5 13.5 14 15 20

Figure 6.1: Route Profile 1: flat.road Graph

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
57/61

CLASSIFIED
6.1.2 Route Profile 2: uphill.road

OBA/E_FXSOFT/BATCH10/2003/SDD

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 0 2 0 4 0 8 0 12 0 16 0 20 0 24 0 28 0 30 Distance (km) 2 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1

Table 6.3: Route Profile 2: uphill.road Data

32 30 28 26 24 22 20 18
SLOPE

16 14 12 10 8 6 4 2

slope

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

0 2 3 3.5 4.5 5 6 6.5 7.5 8 KM 9 9.5 10.5 11 12 12.5 13.5 14 15

Figure 6.2: Route Profile 2: uphill.road Graph

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
58/61

CLASSIFIED
6.1.3 Route Profile 3: downhill.road

OBA/E_FXSOFT/BATCH10/2003/SDD

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 0 -2 0 -4 0 -8 0 -12 0 -16 0 -20 0 -24 0 -28 0 -30 Distance (km) 2 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1 0.5 1

Table 6.4: Route Profile 3: downhill.road Data

0 -2 -4 -6 -8 -10 -12 -14


SLOPE

-16 -18 -20 -22 -24 -26 -28

slope

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

-30 -32 2 3 3.5 4.5 5 6 6.5 7.5 8 KM 9 9.5 10.5 11 12 12.5 13.5 14 15

Figure 6.3: Route Profile 1: downhill.road Graph

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
59/61

CLASSIFIED 7

OBA/E_FXSOFT/BATCH10/2003/SDD 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 Source Allocated SRS-REQ-201 SDD-REQ-101 SRS-REQ-202 SRS-REQ-203 SRS-REQ-204 SRS-REQ-205 SRS-REQ-206 SRS-REQ-207 SRS-REQ-208 SRS-REQ-209 SRS-REQ-210 SRS-TREQ-211 SRS-TREQ-212 SRS-REQ-301 SRS-REQ-302 SRS-REQ-303 SRS-REQ-304 SRS-REQ-305 SRS-TREQ-306 SRS-REQ-401 SRS-REQ-402 SRS-REQ-403 SRS-REQ-501 SRS-REQ-502 SRS-REQ-503 SRS-TREQ-504 SRS-REQ-601 SRS-REQ-602 SRS-REQ-603 SRS-TREQ-604 SRS-REQ-605
This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Description Increase speed automatically by button. Increase speed manually by pedal. Reduce speed. Resume speed. The cruise control (Activate cruise). Invalid cruise speed. Valid cruise speed. LED indication. Increment rate. State of throttle. Response time to close throttle. Response time to open throttle. Maintenance not performs. Mileage for oil and oil filter changes. Mileage for oil, oil filter and air filter changes. Mileage for oil, oil filter, air filters changes and general check. Intermittent rate. Response time. Exceed or less 1km 0.2km. Distance elapse 1km. Calibration range. Average speed calculation. Road condition. Calibration range. Respond time. Amount invalid. Average fuel consumption. Calibration range. Respond time. Amount valid.

SDD-REQ-802 SDD-REQ-802 SDD-REQ-101 SDD-REQ-101 SDD-REQ-701 SDD-REQ-701 SDD-REQ-801 SDD-REQ-802 SDD-REQ-801 SDD-REQ-802 SDD-TREQ-502 SDD-TREQ-502 SDD-REQ-401 SDD-REQ-501 SDD-REQ-501 SDD-REQ-501 SDD-REQ-701 SDD-TREQ-502 SDD-REQ-201 SDD-REQ-501 SDD-REQ-201 SDD-REQ-501 SDD-REQ-201 SDD-REQ-601 SDD-REQ-101 SDD-REQ-201 SDD-TREQ-502 SDD-REQ-202 SDD-REQ-701 SDD-REQ-202 SDD-REQ-701 SDD-REQ-201 SDD-TREQ-502 SDD-REQ-202 SDD-REQ-701

Table 7.1: Requirements Traceability Matrix

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
60/61

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

8
Acronym and Abbreviation:

NOTES

CASE CSC CSCI CSU DAS DoD IRS OBA RDL REQ SD SDD SDP SOW SRS TREQ UML

Centre for Advanced Software Engineering Computer Software Component Computer Software Configuration System Computer Software Unit Driving Assistance System Department of Defense Interface Requirements Specification On-Board Automobile Software Development Reference Requirements Safe Drive Software Design Document Software Development Plan Statement of Work Software Requirements Specification Time Requirements Unified Modeling Language

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
61/61

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

CLASSIFIED

SYSTEM NAME

APPENDIX A (STATE TRANSITION DIAGRAMS)

Driving Assistance System (DAS)

ITEM NUMBER

DOCUMENT IDENTIFICATION

FT-10-034-A

FORMAT

OBA/E_FXSOFT/BATCH10/2003/SDD

A4

VERSION

1.0

PAGE

A-1/2

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Start Ignition on

End

Cruise disengaged do/ ignition on


Activate cruise[ 80km/h <= speed <= 175km/h ] / Click "Activation" button

Cruise deactivated do/ inactive auto cruise


Click "Deactivation" button

Cruise activated
Start

Cruise on

Press brake pedal Regulate do/ maintain speed


Click "Resume" button Click "Stop" accelerating button or Release accelerator pedal Click "Start" accelerating button or Press accelerator pedal

Suspend do/ store previous cruise speed

Accelerate do/ increase speed

Appendix A-1: State Transition Diagram for Cruising Control

Start Ignition on / Press "Activation" button

Cruise activated [ Maintenance distance = 8000km ]


Maintenance scheduling[ Maintenance distance = 8000km ]

Third level maintenance

First level maintenance


Start [ 400km < maintenance distance ] [ Maintenance distance = 8000km ]

Display message intermittently do/ display message within 1 second


[ Maintenance distance= 8000km ] [ 80km < maintenance distance ] Click "Done" service button

Second level maintenance

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Display message continuously do/ display message

End

Appendix A-2: State Transition Diagram for Maintenance

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
A-2/2

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

CLASSIFIED

SYSTEM NAME

APPENDIX B (SEQUENCE DIAGRAMS)

Driving Assistance System (DAS)

ITEM NUMBER

DOCUMENT IDENTIFICATION

FT-10-034-A

FORMAT

OBA/E_FXSOFT/BATCH10/2003/SDD

A4

VERSION

1.0

PAGE

B-1/16

CLASSIFIED
CSC OBACruise

OBA/E_FXSOFT/BATCH10/2003/SDD

OBAAdapter

CruiseMgr

SpeedMgr

ControlPanelMgr

1: getCurrentSpeed()

2: setCruiseOn() 3: Selected speed If the current speed exceed 2km/h over the selected speed. 4: setCruiseSpeed() 5: currentSpeed
6: calculateCurrentSpeed()

7: setThrottlePosition() 8: displayMessage()

Appendix B-1: Regulate Speed (Over 2 km/h) - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-2/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

OBAAdapter

CruiseMgr

SpeedMgr

ControlPanelMgr

1: sendValueSpeed()

2: getCurrentSpeed() The throttle will be open at the rate of 0.8V/sec 3: Selected speed
4: Get selected speed

5: regulateCruiseSpeed() 6: calculateCurrentSpeed()

7: getThrottlePosition()

Appendix B-2: Regulate Speed - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-3/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

OBAAdapter
: Driver

CruiseMgr

SpeedMgr

ControlPanelMgr

1: sendValueSpeed() 2: getCurrentDistance() 3: Selected speed 4: Press accelaration button 5: startAcceleration()


6: Verify accelaration The throttle wi ll be open at the rate of 0.8V/sec

7: regulateCruiseSpeed()

8: getThrottlePosition() 9: displayMessage()

Appendix B-3: Regulate Speed (Acceleration) - Basic Flow

: Driv er

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

MileageMgr

1: Click <<Start>> Button (Accelerating)

2: startAccelerate( ) 3: startAcceleration( )
4: getMy CruiseStatus( )

The driv er has to click <<Acceleration>> button on the simulator - Saf e Driv e Control Panel Window

5: myCruiseStatus
6: v erif y Cruise( )

7: dispMessage( )
8: display ErrorMessage( )

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Appendix B-4: Regulate Speed (Acceleration) - Exception Flow

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-4/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driver

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

SpeedMgr

1: Click <<Resume>> Button

2: setCruiseOn( ) 3: getCurrentSpeed( )

The driver has to click <<Activation>> button on the simulator - Safe Drive Control Panel Window

4: currentSpeed 5: getCalibrationStatus( )

6: calibrationStatus
The status of the Cruise LED and Flag and cruise activation will be set accordingly based on the cruise status

7: getCurrentTransmission( )

8: currentTransmission

9: verifyCruiseCondition( )

10: updateCruiseStatus( )

11: setCruiseLED( )

12: setCruiseFlag( )

13: activateCruise( )

Appendix B-5: Resume Cruise - Basic Flow

: Driver

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

SpeedMgr

1: Click <<Stop>> Button (Acceleration)

2: stopAccelerate( ) 3: calculateAccelerationSpeed( )

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

The driver has to click <<Stop>> accelerating button on the simulator Safe Drive Control Panel

4: stopAcceleration( )

5: getThrottlePosition( )

Appendix B-6: Stop Acceleration - Basic Flow

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-5/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driv er

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

SpeedMgr

1: Click <<Activ ation>> Button

2: setCruiseOn( ) 3: getCurrentSpeed( )

The driv er has to click <<Activ ation>> button on the simulator - Saf e Driv e Control Panel Window

4: currentSpeed 5: getCalibrationStatus( )

6: calibrationStatus
The status of the Cruise LED and Flag and cruise activ ation will be set accordingly based on the cruise status

7: getCurrentT ransmission( )

8: currentTransmission

9: v erif y CruiseCondition( )

10: updateCruiseStatus( )

11: setCruiseLED( ) 12: setCruiseFlag( )


13: activ ateCruise( )

Appendix B-7: Active Cruise - Basic Flow

: Dri ver

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

SpeedMgr

1: Cl ick <<Deacti vation>> Button

2: setCruiseOff( ) 3: updateCruiseStatus( ) 4: stopCruise( )


The driver has to cli ck <<Deactivati on>> button on the simul ator - Safe Drive Control Panel Window

5: setCruiseLED( ) 6: setCruiseFlag( )

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Appendix B-8: Deactivate Cruise - Basic Flow

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-6/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driver

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

1: Press Brake Pedal 2: getBrakeStatus( )

3: getBrakeStatus
The driver has to press Brake pedal on the simulator Automobile Driving Control Window

4: suspendCruise( ) 5: setThrottlePosition()

Appendix B-9: Brake Pedal (Pressed) - Basic Flow

: Driv er

OBACouplers

OBAAdapter

ControlPanelMgr

CruiseMgr

1: Click <<Acceleration>> Pedal

2: getAcceleratorStatus( )
The driv er has to click <<Acceleration>> pedal on the simulator - Automobile Driv ing Control Window

3: getBrakeStatus()

4: startAcceleration( )

5: setThrottlePosition( )

6: setAccelerationFlag( )

Appendix B-10: Accelerator Pedal (Pressed) - Basic Flow


This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-7/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driver

OBACouplers

OBA_Main

ControlPanelMgr

1: getThrottlePosition() 2: periodHandler() The driver has to press the <<Ignition>> button in the simulator-Automobile Driving Controls window 3: displayToPanel()

Appendix B-11: Start Engine (Engine Ignition) - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-8/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driver

OBACouplers

ControlPanelMgr

MileageMgr

1: Click <<New>> Button

2: setNewTrip( ) 3: getDistance( )
The driver has to click <<New>> button on the simulator - Safe Drive Control Panel Window to indicate starting the new trip.

4: currentDistance
5: updateSourceDistance( )

6: getTime( ) 7: currentTime 8: updateSourceTime( ) 9: updateTripStatus( )

Appendix B-12: Start Trip - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-9/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

CSC OBAKeepUpData

ControlPanelMgr
: Driver

CalibrationMgr

MileageMgr

OBA_Main

1: Click <<Start>> Button


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.

2: setCalibration() 3: getPulseCount()
4: validateCalibrationValue 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.

5: setCalibrationOn() 6: displayToPanel() 7: Click <<Stop>> Button 8: setCalibrationOff() 9: Update calibration value


1. The driver must click <<Stop>> calibration in simulator - Safe Drive Control Panel Windows whenever the distance reach 1 km with 20% variance.

10: displayToPanel()

Appendix B-13: Set Calibration - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-10/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

OBACouplers
: Driver

MileageMgr

ControlPanelMgr

FuelMgr

OBA_Main

1: Click <<Fuel Consum>> Button


2: setT hrottlePosition()

3: newTripStatus() 4: getDistance()
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.

5: clickToCalculateFuelConsumption()
6: enterToCalculateFuelConsumption() 7: calculateFuelConsumption()

8: getAmount()
If there is no filling, the default value will be used instead i.e. 35 Liter.

9: getFuelConsumption() 10: setFuelFillStatus() 11: getFuel() 12: getFuelAmount() 13: displayResult()

Appendix B-14: Calculate Fuel Consumption - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-11/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driver

ControlPanelMgr

OBACouplers

FuelMgr

OBA_Main

1: Click<<Fuel Consum>> Button 2: setThrotllePosition()

3: getDistance 4: Enter Amount of Fuel 1. The driver must click <<Fuel Fill>> button in simulator - Safe Drive Control Panel Window to add fuel.
5: calculateFuelConsumption()

Maximum fuel capacity is 35 L

6: getAmount() 7: displayResult()

Appendix B-15: Fuel Filling - Basic Flow

: Driver

ControlPanelMgr

OBACouplers

FuelMgr

OBA_Main

1: Click <<Fuel Consum>> Button 2: getThrottlePosition()

3: getDistance() 4: Enter Amount of Fuel


1. The driver must click <<Fuel Fill>> button in simulator Safe Drive Control Panel Window to add fuel.

Maximum fuel capacity is 35 L

5: calculateFuelConsumption()

6: Invalid Amount 7: Display Invalid Amount

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

Appendix B-16: Fuel Filling - Exception Flow

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-12/16

CLASSIFIED
CSC OBAMaintenance

OBA/E_FXSOFT/BATCH10/2003/SDD

: Driver

OBACouplers

MileageMgr

MaintenanceMgr

OBA_Main

ControlPanelMgr

1: getThrottlePosition() 2: mileageMonitoring() 3: verifyTypeofMaintenance()

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.

4: click <<Done>>Button 5: maintenanceComplete()


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.

6: displayResult()

Appendix B-17: Perform Car Maintenance - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-13/16

CLASSIFIED
CSC OBAPrimitiveData

OBA/E_FXSOFT/BATCH10/2003/SDD

OBACouplers

MileageMgr

ControlPanelMgr

SpeedMgr

1: getPulseCount()
2: calculateDistance()

3: getDistance()

4: displayMessage()

Appendix B-18: Calculate Distance - Basic Flow

OBACouplers

TimeMgr

SpeedMgr

1: getTime( )
2: calculateTime()

3: calculateAccelarationSpeed()

4: Update time

Appendix B-19: Timer - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-14/16

CLASSIFIED
CSC OBASpeedData

OBA/E_FXSOFT/BATCH10/2003/SDD

: SpeedMgr

: MileageMgr

1: getDistance( ) After time elapse of 400 ms 2: startDistance 3: idle()

4: getDistance( ) 5: endDistance 6: calculateCurrentSpeed( )

Appendix B-20: Calculate Current Speed - Basic Flow

: Driv er

: OBACouplers

: OBAAdapter

: ControlPanelMgr

: SpeedMgr

: TimeMgr

1: Click Av erage Speed Button 2: getAv erageSpeed( ) 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. 3: av erageSpeed( ) 4: calculateTime( ) 5: currentTime 6: calculateCurrentSpeed( ) 7: calculateTime( ) 8: currentTime 9: calculateCurrentSpeed( )

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

10: calculateAv erageSpeed( ) 11: av erageSpeed

Appendix B-21: Calculate Average Speed - Basic Flow


DOCUMENT IDENTIFICATION SYSTEM NAME
Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-15/16

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

: SpeedMgr

: TimeMgr

1: getTime( ) 2: startTime

3: calculateCurrentSpeed( ) 4: getTime( ) 5: endTime 6: calculateCurrentSpeed( ) 7: calculateAccelerationSpeed( )

Appendix B-22: Calculate Acceleration Speed - Basic Flow

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
B-16/16

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

CLASSIFIED

SYSTEM NAME

APPENDIX C (ACTIVITY DIAGRAMS)

Driving Assistance System (DAS)

ITEM NUMBER

DOCUMENT IDENTIFICATION

FT-10-034-A

FORMAT

OBA/E_FXSOFT/BATCH10/2003/SDD

A4

VERSION

1.0

PAGE

C-1/7

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

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

Appendix C -1: Activity Diagram for Start Engine

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
C-2/7

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Driver Start A 1. 2. 3. 4.

Cruise Manager Engine is on. Transmission is at the highest speed. Speed is 80 km/h >= cruise speed <= 175 km/h. Calibration is inactiv e.

Press activate button

Check pre-condition

Not satisfy the pre-condition Satisfy the pre-condition LED on

Maintain speed

Press acceleration pedal

Press deactivation button

Press acceleration button

Press brake pedal

Suspend mode

Press resume button

Reduce speed

Increase speed

Check highest value

Press stop acceleration button LED off End B

Appendix C -2: Activity Diagram for Operate Cruise Control

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
C-3/7

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Driver

OBACouplers

MileageMgr

MaintenanceMgr

ControlPanelMgr

Start A

Get pulse

Engine is on

Get mileage
Check mileage v alue

Check mileage limit

< 400 km
Bef ore reaching the mileage corresponds to the required maintenance Display maintenance message intermittently

= 400 km

< 80 km

= 80 km

Display maintenance message continously

Verif y maintenance ty pe 1.Mantenance oil & oil f ilter change. 2.Maintenance (1) & air f ilter change. 3.Maintenance (1),(2) & general check.

Press service done button

No Yes Clear message

Appendix C-3: Activity Diagram for Perform Car Maintenance

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
C-4/7

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Driv er

CalibrationMgr

MileageMgr

ControlPanelMgr

Start A

1.Engine is on. 2.Cruise control is inactive Get pulse

Press start calibration button

Check mileage Check calibration value

Press stop calibration

Exceed range Not exceed range

Error message

Update calibration value A

Appendix C-4: Activity Diagram for Set Car Calibration

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
C-5/7

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Driv er

SpeedMgr

TimeMgr

ControlPanelMgr

Engine is on
Start A

Driver press start of trip Get start mileage and start time

Calculate mileage and time

Press average speed button

Get stop mileage and stop time

Calculate average speed

Display average speed

Appendix C-5: Activity Diagram for Calculate Average Speed

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
C-6/7

CLASSIFIED

OBA/E_FXSOFT/BATCH10/2003/SDD

Driv er

FuelMgr

MileageMgr

ControlPanelMgr

Start A

Press average fuel consumption button

Insert fuel value

Get mileage

Calculate average fuel consumption Display average fuel consumption

Appendix C-6: Activity Diagram for Average Fuel Consumption

This document and the information it contains are property of CASE-UTM, All Copyrights Reserved, 2003 and confidential. They shall not be Reproduced nor disclosed to any person except to those having a need to know them without prior written consent of CASE-UTM

DOCUMENT IDENTIFICATION SYSTEM NAME


Driving Assistance System (DAS)

ITEM NUMBER
FT-10-034-A

FORMAT
A4

VERSION
1.0

PAGE
C-7/7

Das könnte Ihnen auch gefallen