Project 1 (Mini Project on Vehicle Direction Detection
PROJECT - 1
Vehicle Direction Detection
- AIM : To make a simulink model for Vehicle Direction Detection , with the help of given requirments .
Methodology :
- To begin with , we will first start with creating a SLDD file in which we will mention all the variables and the signals .
- This will be linked to the model for proper propogation of the signals .
- Now we are given with the set of 2 requirements :
THE LOGIC :
- In the first requirment to create , what is happening that we are giving a yaw angle input to the system .
- Now this will be compared with 3 different values which are already mentioned for left , right and straight drive .
- All these values also have their ranges with min and max values .
- Now when we are giving an input in the form of a constant value , this value is checked with a switch block that which of the condition has been followeed by the constant .
- If 40 is the value , that means the yaw angle is moving towards right side , so at the output port it will display the value mentioned of right side .
- If 10 is the value , that means the yaw angle is moving towards left side because it is already mentioned the starting value of right side to be 30 , so at the output port it will display the value mentioned of left side .
- Now for the requirement 2 , the output value comming from first block will act as an input 2 second block .
- In this a second input is also there , which is a boolean format input which tells about the road signs at a particular instant .
- For our case , I have mentioned it to be 0 always .
- The input value is compared with all the signs and if anyone if them is true , then it is comapared to road sign value .
- Bascially all the vlaues are now in the format a boolean .
- This camparison is done with the help of OR logical block .
- Only that value which is true is send to the mux block which results in the final output and is displayed in the block .
- This is the required model according to the logic
- Also all the variables are stored in the data dictionary


- THhis is the req 1

- The is the req 2

Here is the data dictionary :

- I have also done teh model adivisory check according to the MAB guidelines in which I have passed all the test .
