Project 1- Traffic Jam Assistant Feature
AIM :- Design the Simulink model for Traffic Jam Assist Feature of the car as per given requirement.
OBJECTIVE :-
- Develop model as per requirement
- Create SLDD for the model
- Perform Model Advisory Checks and generate Model Advisory Report for the model
- Do Code Genration using embedded coder
MODEL Development :-
Step 1 :- Requirement 1 Subsystem
Here we had developed the subsystem on the basis of following requirement
Requirement No 1:-
- Input Signal “Input_Voltage” is compared against voltage values “VOLTAGE_MINIMUM_RANGE” & “VOLTAGE_MAXIMUM_RANGE”.
- Incoming input signal “Input_Voltage” must be greater than – equal to “VOLTAGE_MINIMUM_RANGE” and less than – equal to “VOLTAGE_MAXIMUM_RANGE”.
- Output signal from here is “Optimum_Voltage” which will be one of the inputs to the subsystem “DisplayUnit”.


Step 2 :- Requirement 2 Subsytem
In this step we had developed the another subsystem on the basis of requirement 2
Requirement No 2 (DisplayUnit Subsystem) :-
- Input Signals are “Optimum_Voltage”, “Input_Switch”,“Enable_Display”. Signal “Enable_Display” must be saturated between the range 0 – 7. Output signal from the subsystem is “Output_Display”.
- Input Signal “Enable_Display” is compared against pre – defined set of values in a multiport switch. Total data ports in the multiport switch is 5.
- Multiport switch inputs 1 & 2 is connected to calibration signal “ON_MODE”, Multiport switch inputs 3 & 4 is connected to calibration signal “OFF_MODE” while Multiport switch input 5 is connected to calibration signal “STANDBY_MODE”.
- The output from Multiport switch is connected to the first input port of the Switch block. The third input port of the Switch block is connected to the calibration signal “NO_DISPLAY”.
- Meanwhile NOT value of input signal “Input_Switch” is compared in an AND gate against input signal “Optimum_Voltage” and the output from comparing if calibration signals “INTERRUPT_1” & “INTERRUPT_2” are equal. The output of the AND gate is the second input of the switch block.
- The output from the switch block is “Output_Display”.


Step 3 :- Final Model creation
In this step we had connected both the subsystem and and create a single subsystem which is the final model as shown in below figure


Step 4 :- Requirement Tagging
First subsystem(Requirement 1)

Second subsystem(Requirement 2)

Step 5 :- SLDD Creation
As per mentioned requirements about the signals and parameters we had created the following SLDD

Step 6 :- Model Settings

Step 7 :- Model Advisory Report
Here we had selected the MAAB and JMAAB Checks to run

Model Advisory report

Step 8 :- Code Generation
Here we had selected the embedded coder for code genration.


Step 9 :- Generated Code


Conclusion :- Thus the part of Traffic Jam Assist System is modelied successfully using Simulink and SLDD linking, model advisor report and code generation part are implemented.