Challenge

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

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

1.Simulink/state flow modules for wiper control system

Aim:

To develop a Simulink/state flow modules for wiper control system based on the given conditions.

Following are workflow of project

  • simulink model file
  • SLDD file
  • requirement tagging report
  • model advisor JMAAB
  • fixed-point tool
  • SLDV design error detection report
  • functional test MIL,SIL harness,coverage reports
  • SLDV test genration report
  • Auto code generation report,main,c&h files
  • polyspace analysis report/output
  • Test manager report-baseline& back to back testing

Conditions:

  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 low speed, the output signal should be 200rpm
  3. If the density of the rain is high, then wiper rotates with low speed, the output signal should be 500rpm

1. Simulink model file:

2.SLDD file:

3.requirement tagging report:

steps:

  • create excel file according to requi.

  • goto "app"--->select "requrement manager
  • link the file

4) model advisor JMAAB

according to requrement we choosed "JMAAB".........

MODEL ADVOISORY REPORT......

5)fixed-point tool box

steps:1

1)create subsystem and connect input and output block

  • goto "APP TAB"-->select "fixed point tool box"
  • click on "NEW"
  • choose-->Iterative fixed point conversion

2) performed following operation one by one

  • prepare
  • collect ranges--> click on collect ranges
  • propose data types
  • apply data types
  • simulate with data types(when we simulate the model that time error should be "zero")

before performed the fixed point tool box...............

AFTER APPLY THE TOOL BOX REPORT

REPORT OF FIXED POINT TOOL BOX.........

collect ranges......

propose data type......

6)SLDV design error detection report...

Report.....

SLDV test genration report

Report.....

Functional test case, MIL, SIL harness, coverage Reports

1)MIL

scope output

SIL

signal builder upload test cases

coverage report

9. 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 browserand select the folder where th .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.

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

Baseline Report

Back to back testing....here also showed the result

Q2.Vehicle speed calculation for ABS using Wheel Speed sensor

Develop Simulink/state flow model for the vehicle speed calculation unit inside the ABS system for the below conditions.

Description of Challenge:

fl, fr, rl and rr are the wheel speeds of front left, front right, rear left and rear right respectively.

ANS:

1. Simulink model file:

2.SLDD file:

BEFORE CREATE A MODEL , I HAVE CHANGED SOME MODIFICATION INSIDE THE MODEL

SLDD

  • requirement tagging report

requrement_taging _done with_subsystem

EXCEL_SHEET

taging_report

4) model advisor JMAAB

according to requrement we choosed "JMAAB".........

5)fixed-point tool box

steps:1

1)create subsystem and connect input and output block

  • goto "APP TAB"-->select "fixed point tool box"
  • click on "NEW"
  • choose-->Iterative fixed point conversion

2) performed following operation one by one

  • prepare
  • collect ranges--> click on collect ranges
  • propose data types
  • apply data types
  • simulate with data types(when we simulate the model that time error should be "zero")

before performed the fixed point tool box...............

Before apply the data

REPORT OF FIXED POINT TOOL BOX.........

Report of collect ranges

propose data types

Apply data type report

After apply the fixed tool box

6)SLDV design error detection report...

SLDV...test generation report

Functional test case, MIL, SIL harness, coverage Reports

test cases

MIL....coverage report

Auto code genration

SIL_COVERAGE REPORT

9. 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 browserand select the folder where th .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.

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

Baseline Report....result showed difference as "zero"

back to back

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.