All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim of the Project: To develop a Simulink Model for Vehicle Direction Detection used in ADAS Description: 1. Create the main Subsystem named Vehicle_Direction_Detection and feed the SteeringWheel_YawDegreeInput and CameraInput_RoadSign inputs to it 2. In the subsystem create two other subsystems namely Requirement_1 and Requirement_2 …
Antara Paul
updated on 11 Jun 2021
Aim of the Project:
To develop a Simulink Model for Vehicle Direction Detection used in ADAS
Description:
1. Create the main Subsystem named Vehicle_Direction_Detection and feed the SteeringWheel_YawDegreeInput and CameraInput_RoadSign inputs to it
2. In the subsystem create two other subsystems namely Requirement_1 and Requirement_2
3. In the Requirement_1 subsystem, feed the SteeringWheel_YawDegreeInput input and the below logic is used to ge the output Vehicle_Turn_Status
i. We have three constants Right_Turn_AngularLimit, Left_Turn_AngularLimit and Straight_Drive_Steering_Angle
ii. We compare the SteeringWheel_YawDegreeInput with the three constants using Switch Blocks to get the Vehicle_Turn_Status
iii. In the 1st Switch block we check if the input is >=30, which if True the result will be Right_Turn_AngularLimit, since its value is 30
iv. If the result is Flase then it moves to the 2nd Switch block where it checks if the input is ~=0, which if True then the result will be Left_Turn_AngularLimit, since its value is -120, else if the result is Flase then the output will be Straight_Drive_Steering_Angle as its value is 0
4. Then in the Requirement_2 subsystem we feed the output of the Requirement_1 subsystem, i.e. Vehicle_Turn_Status and also the CameraInput_RoadSign and perform the below calculation to ge the final result i.e Vehicle_Direction_Indicator
i. Using Compare to constant blocks, we compare the Vehicle_Turn_Status input with 3 constants RightTurn_RoadSign, LeftTurn_RoadSign and Straight_RoadSign to find which one it is equal to
ii. The output of each of the relation is then compare with the CameraInput_RoadSign input using an OR operator, this evaluates if the Vehicle Turn calculated in the 1st Requirement and checked with the Road Signs is same as the Road Signs read by the camera
iii. We then use a Mux signal block to get the output of all the 3 OR operations and give the output Vehicle_Direction_Indicator
5. We then Create the SLDD with the 4 signals and 6 constants
6. We run the Model Advisor Report for the following tasks and generate the report if there are no Fails and major warnings:
i. Managing Data Store Managing Blocks
ii. Modeling Standards for Misra C:2012
iii. Modeling Standards for ISO 26262
iv. Modeling Standards for MAB
v. Modeling Standards for JMAAB
7. After that we generate the C code of the model
Simulink Model:
Main Model
Inside the 1st subsystem Vehicle_Direction_Detection
Inside the 2nd subsystem Requirement_1
Inside the 3rd subsystem Requirement_2
Simulink Data Dictionary:
Model Advisor Report:
C Code Generated:
Result:
1. The direction of the vehicle is displayed in the order of Right, Left and Straight
2. If the value displayed against the direction is 1, then it implies that the vehicle is turning in that specific direction
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Design of B Pillar with attachment features
24 Jan 2022 07:09 AM IST
Quick Return Mechanism and CV Joint assembly
I. Quick Return Mechanism design and assembly 1. Slider Link 2. Fixed Support 3. Sliding Block 4. Slider 5. Pin Assembly II. CV Joint design and assembly 1. Axle 2. Housing 1 3. Housing 2 Assembly
24 Jan 2022 07:00 AM IST
Door Trim Panel design
DESING OF DOOR TRIM PANNEL Objective With the input of class A surfaces and master sections, the plastic door trim parts are to be developed following industry standard design guideline using Catia V5 software. Introduction Door Trim is an interior component attached to the inner side of the door. This product does…
24 Jan 2022 06:59 AM IST
Week 9 - Project 1 - Door Applique Design with Engineering Features
Door Applique design with engineering features Introduction 3-2-1 location principle Any 3 dimensional object in space has 12 degrees of freedom along the 3 axes Translational position along the X-axis Translational position along the Y-axis Translational position along the Z-axis Rotational position about the X-axis…
08 Jan 2022 09:26 AM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.