Challenge

Project 2-Highway Assistant-Lane Changing Assistant

AIM:

To do the model development for Highway assistance - Lane change assistant using Simulink with AUTOSAR compliance model in AUTOSAR environment.

STEP-1

Creation of Simulink data Dictionary:

Creating the SLDD files for the given input, local and output signals as follows

Step-2

Model development in Simulink by MBD guidelines:

Requirement No 1 [Highway_DisplayUnit]:

These inputs are further go to the chart and the chart will have the corresponding outputs are Highway_Display_mode_1, Highway_Display_mode_2, Highway_Display_mode_3, and Highway_Display_mode_4.

The logic for the requirement - Highway_Display_Unit is given in the chart as below:

The condition and the action for the requirement Highway_Display_Unit are given as:

Step-3

Requirement No 2 [Lane_DisplayUnit]:

The logic for the requirement - Lane_Display_Unit is given in the chart as below:

These are the following condition and actions

Requieement-3

The logic inside the requirement-3

Overall Model

Step-4

Change the subsystem to Atomic subsystem

Now Change the solver setting to Autosar Coder.

Do the port mapping by clicking Autosar component designer.

Inports

outports

Now we can see the port mapping has done. sucessfully. bow we validate it.

Model Advisor report

code generation

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.