All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim: To develop the Vehicle Direction Determination model using simulink. Objective of Mini Project: To Development of MATLAB Simulink model as per requirement. To Tag the requirements to the simulink model; tagging requirement 1 & requirement 2 to their corresponding subsystems is fine. To create…
KOTURU RAGHAVENDRA
updated on 30 Jun 2022
Aim: To develop the Vehicle Direction Determination model using simulink.
Objective of Mini Project:
Theory :
>> Vehicle Direction Determination:
Identifying the direction of the vehicle is one of the important & diverse features in Autonomous driving & Advanced Driver Assistance Features. This particular sub-feature of identifying the direction of vehicle is basically identifying the direction the vehicle is taking based on the camera input.
Explanation :
Vehicle Direction Determinatination model
For_Requirement-1:
Requirement-2 :
After create the model then go to model settings and then click on the solver confirmation parameters the change the solver selection type to fixed and solver to discrete and then change the solver step size to 0.002sec
after that we complete corrections of errors and warnings generated report is saved in the correct folder in correct file as shown below.
After we can determine the model advisor we can determine
MIL(model_in_loop) Test
SIL(software_in_loop)Test
Embedded C-code
(Model_in_loop) MIL Test :
First we go to test harness we create a subsystem.
After save the file we can also check whether it is connected or not
First,we create a excel file and name as module4_miniproject and stored in the same path
it can open and go to the file section and import to file when wever the excel is stored we must be choose that file in same path.
After we browse that excel file and some conditions are given,Excel file sheet is converted in to the signal builder of that values
Here we can import to the sginal builder and we can add to the outputsignal, so first we can add demux block and we can add 3 ADD blocks.. One ia taken as demux signal and the another signal signal is taken as the signal builder block..
Here we determine the difference of the both signals having test harness model and the sum block added to the scope. we can see the values by using the scope
And taking simulation time as 0.1
Result : Here we can decide what is the value difference between the signal builder signal and the test mode signal based on sldd. so we can see the scope here it passes through the zero line , that means it has exact output is coming when compared to the data.
SIL(software_in_loop)Test :
we can here also create the test harness model and create a subsytem and the input as a signal builder
we doing the test harness block one more condition is to be added in sil.If we go to basic properties input set as signal builder and we go to the advanced properties of the system verification mode is to be set as software in the loop.
After we can select the software_in_loop model it will come another test harness block and in design verifier block we can tselect treat as atomic unit
Finally the test harness shown like this
Then the harness SIL model will come like this
we have the signal builder and we can import the file by using the import from base workspace.Then the signal is to be taken
After wen can import the excel file then the signalbuilder has
Here also we can use the demux block because by taking 3 signals and we add 3 add blocks. we can determine what is the value difference between the signal builder signal and the test mode signal based on sldd. so we can see the scope here it passes through the zero line , that means it has exact output is coming when compared to the data.
Finally the test Harness model taken as
We can the ouput valu value to determine the difference of the test harness signals and the signal builder signals, as zero output it has no changes in both cases
After that SIL is to be determined that we can generate the embedded coder so we goto the Apps we can select the embedded coder
we got another block as C-code if we click on build then it automatically generate the C-code
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...
Project 1 (Mini Project on Vehicle Direction Detection
Aim: To develop the Vehicle Direction Determination model using simulink. Objective of Mini Project: To Development of MATLAB Simulink model as per requirement. To Tag the requirements to the simulink model; tagging requirement 1 & requirement 2 to their corresponding subsystems is fine. To create…
30 Jun 2022 04:44 PM IST
Project 2 Adaptive Cruise Control
Main Project – Objectives. Here we discussed on these topics To Developing Adaptive Cruise Control feature as per the Requirement Document using MATLAB Simulink. To Follow all the MBD related processes: Requirement Tagging & Traceability, SLDD creation, Configuration Parameter changes, Model…
28 Jun 2022 08:24 PM IST
Project 2 Thermal modeling of battery pack
1. For a 10 cell series lithium ion battery model, simulate the thermal effects and compare life cycle performance at various temperatures, charge & discharge rates using MATLAB. A) AIM : To simulate the thermal effects and compare life cycle performance at various temperatures, charge & discharge rates for…
13 Jun 2022 09:18 PM IST
Week 7 State of charge estimation
EV BATCH -17 1.Simulate the 3 test cases from harness dashboard and write a detailed report on the results. 2.What is coulomb counting? Refer to the above model and explain how BMS implements coulomb counting for SOC estimation ? 1A) Downloading and harness dashboard…
12 Jun 2022 06:00 PM IST
Related Courses
8 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.