Challenge

Project 1 - Development of TFT Cluster Speedmeter Software Component

Aim:-

To develope a simulink model as per the requirement and sldd creation, JMAAB Testing, MIL and SIL Coverage report & Harness results for the model to be done.

Description:-

Cluster Instrument receives the signals from other ECU's via CAN bus interface. It also receives commands from the driver via steering wheel buttons. The signals are then processed by the Cluster ECU, after which the Cluster ECU may send the vehicle information to the LCD or light the LEDs and so forth, according to the results. Therefore, the Cluster ECU can be viewed as a carrier of the information flow.

Model:-

A TFT Cluster Speedmeter is developed using MATLAB/Simulink using the requirement given.

Inside TFT_Cluster_Speedmeter subsystem it consist of below Model.

As per Requirements the subsystems are made which is as seen below.

Requirement 1:- Input_Processing

Average Vehicle Speed would be displayed only if its between 2 kmph & 250 kmph. Any value outside this range will be discarded by its lower limit & upper limit

When Average Vehicle Speed is < 2 kmph, DisplaySpeed = 2 kmph

When Average Vehicle Speed is in between 2 kmph & 250 kmph, Display Speed = Average Vehicle Speed

When Average Vehicle Speed is > 250 kmph, Display Speed = 250 kmph

Requirement 2:- Main_Data_Filtering

Main Data Filtering subsystem will be activated for every 10th millisecond

DisplaySpeed1 (t) = ((DisplaySpeed (t) x 0.65)/ Main Filter Speed Value) - 0.05

Requirement 3:- Auxillary Data Filtering

Auxillary Data Filtering subsystem will be activated for every 10th millisecond

DisplaySpeed_Filter (t) = ((DisplaySpeed1 (t) x 0.78)/ Auxillary Filter Speed Value) - 0.03

Requirement4:- TFT Speed Output:-

If |(DisplaySpeedFilter - DisplaySpeed)| > 1.5

{

Vehicle Speed Display = DisplaySpeed

}

else

{

Vehicle Speed Display = DisplaySpeed Filter

}

Requirement Tagging:

Requirement tagging is done to the subsystem which is as seen below

Requirement 1 Tagging:-

Requirement 2 Tagging:-

Requirement 3 Tagging:-

Requirement 4 Tagging:-

JMAAB Guideline Check:-

The JMAAB Test for the above model is made and the test is successful.

Test Case:-

The test case for the above file is created by using excel sheet and fed as input to the signal builder during harness testing.

Here the file created is named as Signal builder.

MIL Test Harness:-

The MIL Test harness is created by right clicking on the subsystem and then test harness and create new test harness.

MIL Coverage Analysis:-

The coverage Analysis is done for MIL and which is as seen in below image.

SIL Test Harness:-

SIL Coverage Analysis:-

Coverage Analysis Report

Design Verifier:-

Code Generation Advisor:-

The above model is checked for code generation advisor check.

Code Generation:-

The Code generation report is as seen in below image

Functional Test Case:-

The test cases are made using Simulink test case and are shown in above image.

Result:-

The simulink model is developed as per the requirement and sldd creation, JMAAB Testing, MIL and SIL Coverage report & Harness results for the model are done.

1 comment
  1. Md Shahbaz SohailHii Lalith please I need this SLX file tomorrow I have interview on cluster
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.

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.