Challenge

Project 1 - Wiper control system and Vehicle speed calculation for ABS using Wheel Speed sensor

Develop the Simulink model based on the given descriptions for the below challenges and also create SLDD file and link the same to the model. Perform the complete V and V workflow for the obtained models.

1.Wiper control system

Develop Simulink/state flow model for wiper control system based on the given conditions.

Description of Challenge:

  1. If the density of the rain is low, then wiper rotates with low speed & the output signal should be 100rpm
  2. If the density of the rain is medium, then wiper rotates with medium speed & the output signal should be 200rpm
  3. If the density of the rain is high, then wiper rotates with high speed & the output signal should be 500rpm

Note: Rain density input comes from the external sensor, for the simulation purpose constant block with knob can be taken.

Aim:

To develop a state flow module for wiper control system based on given conditions.

Model:

Stateflow chart:

SLDD File:

Model advisor - JMAAB compliance

Fixed-point Tool test:

Goto fixed point tools and create new iterative model and prepare run.

SLDV Design error detection report

Go to Design Verifier and check Test Generation settings configuration and click Test generation.

Functional test case, MIL, SIL harness, coverage Reports

MIL

Signal Builder

Coverage Analysis:-

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

Scope:

Poly space analysis report / outputs

Steps to create a Polyspace Report:

  • Initially, open the Polyspace in that new project click on start new project.
  • The Project Properties dialogue box will open in that give the project name as we saved in the MATLAB,then select the location where it we need to save after that click Next or use the default location.
  • Then ,it asks for the Projrct source,click on browser and select the folder where the .c file are generated then optionally we can add the include folder then clock on finish,the polyspace environment will open.
  • In the configuraton settings option called Target & compiler select the source code language as c,change the target processor as X86_64.
  • In the coding standards & code Metrics in that enable the check MISRA C:2004 also select the calculate the code metrics option
  • After that go to bug finder analysis under that select the default one.
  • Go to reporting enable the generate report option and ouput formet as PDF or any file we need
  • Finally save the polyspace and run the Bug Finder.

Test manager reports – baseline & back-to-back testing

Result:

The resultant output is obtained for the above simulink model for wiper control system.

2.Simulink/state flow model for vehicle speed calculation unit inside the ABS system

Aim:

To create a simulink model for vehicle speed calculation unit inside the ABS system.

Condition:

Description:

  • fl-front left
  • fr-front right
  • rl-rear left
  • rr -rear right

Simulink model file

SLDD File:

Model advisor - JMAAB compliance

Fixed-point Tool test:

Goto fixed point tools and create new iterative model and prepare run.

SLDV Design error detection report

Go to Design Verifier and check Test Generation settings configuration and click Test generation.

Functional test case, MIL, SIL harness, coverage Reports

Coverage Analysis:-

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

Test manager reports

Result:

The resultant output is obtained for the above simulink model for Vehicle Speed.

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.