11.10.2013 Views

Group 1

Group 1

Group 1

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

a: {press accel, release accel}<br />

b: {press break, release brake}<br />

c: {press button plus, press button minus, press button set, press button resume, press<br />

button off}<br />

d: {accel signal}<br />

e: {button signal}<br />

f: {brake signal}<br />

g: {speed value, ACC state}<br />

h: {distance value}<br />

i: {readCANMsg, writeCANMsg}<br />

j: {read CANMsgSpeed}<br />

k: {set speed, release speed}<br />

l; {readMsgforBrake}<br />

m: {grip brake, release brake}<br />

2.4 Changed/added/removed Facts<br />

No Changed/added/removed Facts<br />

2.5 Changed/added/removed Assumptions<br />

No Changed/added/removed Assumptions<br />

2.6 Changed Glossary<br />

CCS: Cruise Control System is a system that automatically controls the rate of<br />

motion of a motor vehicle. The driver sets the speed and the system will take<br />

over the throttle of the car to maintain the same speed.<br />

2.7 Initial Requirements<br />

R1: The driver pressButtonResume then the ACC is activated.<br />

R2: The driver pressButtonOff then the ACC is deactivated.<br />

R3: If driver pressButtonSet then, the car current speed is setSpeed as desired<br />

speed.<br />

R4: If the driver pressButtonPlus then the desired speed will be increased in the<br />

step of 10km/hour.<br />

R5: If the driver pressButtonMinus then the desired speed will be decreased in<br />

the step of 10km/hour<br />

R6: If the ACC is activated and the speed is set and sensor detect there is an<br />

object in front of the car for certain distanceValue then the speed will be<br />

automatically decreased.<br />

R7: If the ACC is activated and sensor detect from distanceValue there is no<br />

object in front of the car then the ACC can accelerate the car to the desired<br />

speed.<br />

R8: If the ACC is activated it can only brake the car with readMessageforBrake<br />

at most 30% of maximum braking power.<br />

R9: If the ACC is activated, ACC can resume to the last default setSpeed after<br />

braking.<br />

R10: The Actuator will setSpeed using signal id 105, but if there is no signal 105<br />

for 100ms then signal 101 will be used.<br />

Page 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!