You are on page 1of 13

GROUP PROJECT

SUBMISSION
SW FOR EMBEDDED SYSTEM
V2X COMMUNICATION
GROUP 20

• Group Leader: Jayanth Babu (2021HT01602)


• Group Members:
• Shubhashish Roy (2021HT01564)
• Pawanjeet Singh (2021MT12447)
• Venkatesan V (2021HT01590)
• Jayakrishnan KR (2021HT01557)
USE-CASE DIAGRAM
USE CASE SPECIFICATION – BLIND CURVE DETECTION
Blind Curve detection

Number 1

Name Blind curve detection

Summary To detect tight bends or curves on road

Precondition Camera input of road ahead

Post condition Proceed to Alarm when tight bend or blind curve detected. No action if not detected

Primary actors Camera

Secondary None
actors

Trigger Camera input

Main Scenario Step Action

1 Get the input from camera

2 Process the camera input

3 Check for Blind curves or tight bends

4 Take action
USE CASE SPECIFICATION – DETECT AND MEASURE DISTANCE TO
OBSTACLE
Detect and measure distance to obstacle

Number 2

Name Detect and measure distance to obstacle

Summary Detect obstacle on road. Once detected measure the distance to the obstacle

Precondition Receive sensor input

Post condition Based on distance to object proceed to Alarm or apply brake

Primary actors Sensors

Secondary None
actors

Trigger Sensor input

Main Scenario Step Action

1 Get the input from sensor

2 Measure distance to obstacle

3 Compare distance with threshold values

4 Proceed to alarm or brake

Extension Step Action

3a Distance in between Threshold 1 and 2 – Proceed to Alarm

3b Distance less than threshold 2 – Apply brake


USE CASE SPECIFICATION – DETECT BRAKE PRESS
Detect brake press

Number 3

Name Detect brake press

Summary Detect brake press by driver

Precondition Driver pressing the brake

Post condition Proceed to apply brake

Primary actors Driver

Secondary None
actors

Trigger Detect brake press

Main Scenario Step Action

1 Get the brake press input from driver

2 Proceed to apply brake


USE CASE SPECIFICATION – CHECK FOR TRAFFIC CONDITIONS
Check for traffic conditions

Number 4

Name Check for traffic conditions

Summary Check for traffic conditions from cloud

Precondition Connectivity to cloud

Post condition Update the route suggestion based on traffic conditions

Primary actors Cloud

Secondary None
actors

Trigger Data from cloud

Main Scenario Step Action

1 Get traffic input from cloud

2 Check traffic input for congestions or blockages

3 Proceed to update route suggestion based on traffic conditions


USE CASE SPECIFICATION – DETECT DOOR AJAR DURING RUNNING
CONDITION
Detect door ajar during running condition

Number 5

Name Detect door ajar during running condition

Summary Detect if door is ajar while vehicle is running

Precondition Receive door sensor input

Post condition Proceed to Alarm if door open.

Primary actors Door Sensors

Secondary None
actors

Trigger Door sensor input

Main Scenario Step Action

1 Get the input from door sensor

2 Check if door is ajar while vehicle running

3 Proceed to alarm.
USE CASE SPECIFICATION – DETECT COLLISION
Detect collision

Number 6

Name Detect collision

Summary Detect collision based on accelerometer input

Precondition Receive accelerometer input

Post condition Proceed to send alert to emergency contacts

Primary actors Accelerometer

Secondary None
actors

Trigger Accelerometer input

Main Scenario Step Action

1 Get the input from accelerometer

2 Check for collision

3 Proceed to send alert to emergency contacts


USE CASE SPECIFICATION – PROVIDE ALARM
Provide alarm

Number 7

Name Provide alarm

Summary Provide alarm based on preconditions

Precondition Receive input from blind curve detection, detection and distance measurement of
obstacle and door ajar detection during running condition

Post condition Provide alarm based on type of issue detected

Primary actors LCD displays and LEDs and Horns

Secondary None
actors

Trigger Precondition outputs

Main Scenario Step Action

1 Get the input from preconditions

2 Display alarm on LCD display and LEDs

3 Provide Horn alarm


USE CASE SPECIFICATION – APPLY BRAKE
Apply brake

Number 8

Name Apply brake based on preconditions

Summary Apply brake based on driver brake input or distance to obstruction

Precondition Receive input from detection and distance measurement of obstacle and driver
brake pedal pressing

Post condition Based on distance to object proceed or driver brake pedal press apply brake

Primary actors Brake circuit

Secondary None
actors

Trigger Output of preconditions

Main Scenario Step Action

1 Get the input from preconditions

2 Apply brake
USE CASE SPECIFICATION – UPDATE ROUTE BASED ON TRAFFIC
CONDITIONS
Update route based on traffic conditions

Number 9

Name Update route based on traffic conditions

Summary Update route suggestions based on traffic conditions

Precondition Check traffic conditions based on Cloud input

Post condition Output route suggestion to LCD display

Primary actors LCD display

Secondary None
actors

Trigger Output of preconditions

Main Scenario Step Action

1 Get the input from preconditions

2 Compute best route

3 Display best route on LCD


USE CASE SPECIFICATION – SEND ALERT TO EMERGENCY
CONTACTS
Send alert to emergency contacts

Number 10

Name Send alert to emergency contacts

Summary Send alert to emergency contacts if collision detected

Precondition Collison detection

Post condition Output route suggestion to LCD display

Primary actors GSM modem

Secondary None
actors

Trigger Output of preconditions

Main Scenario Step Action

1 Get the input from preconditions

2 Check if collision has happened

3 Send alert to emergency contacts

You might also like