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

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.

Solution:

Aim:

To create or design the wiper control system is designed by using state flow and Simulink blocks.

Design:

Circuit is designed in MATLAB R2018a and R2020a version.

1) Circuit had designed as per the given conditions.

Simulink Model:

2) Creating SLDD as per the given challenge.

SLDD:

3) Creating Requirement Tagging.

Requirement Tagging:

4) Checking JMAAB compliance report from Model Advisor.

Model Advisor - JMAAB compliance:


5) Checking Fixed Point Tools for the given model.

Fixed Point Tools:


6) Checking SLDV Designe Error and test generation implementation and generating reports.

SLDV Designe Error and Test Generation:


7) Generating Functional test cases, MIL, SIL Harness and Coverage reports.

Functional test cases, MIL, SIL Harness, Signal Builder and Coverage reports:


8) Outputs for the Functional test cases, MIL, SIL Harness.

Outputs for the Functional test cases, MIL, SIL Harness:

9) Polyspace analysis report/Outputs.

Steps to create the Polyspace Analysis 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 generation,

a) Base_Line Test and b) Back to Back Testings.

Test Manager Report Generation:

All the reports had attached as per the designed simulink.

11) Results has obtained as per the designed Model for the given challenges.

Results as per the designed model:


2.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.

Solution:

Aim:

To create or design the wiper control system is designed by using state flow and Simulink blocks.

Design:

Circuit is designed in MATLAB R2018a and R2020a version.

1) Circuit had designed as per the given conditions.

Simulink Model:



2) Creating SLDD as per the given challenge.

SLDD:



3) Creating Requirement Tagging.

Requirement Tagging:



4) Checking JMAAB compliance report from Model Advisor.

Model Advisor - JMAAB compliance:

Reports had attached

5) Checking Fixed Point Tools for the given model.

Fixed Point Tools:



6) Checking SLDV Designe Error and test generation implementation and generating reports.

SLDV Designe Error and Test Generation:



7) Generating Functional test cases, MIL, SIL Harness and Coverage reports.

Functional test cases, MIL, SIL Harness, Signal Builder and Coverage reports:





8) Outputs for the Functional test cases, MIL, SIL Harness.

Outputs for the Functional test cases, MIL, SIL Harness:

All the outputs had attached

9) Polyspace analysis report/Outputs.

Steps to create the Polyspace Analysis 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 generation,

a) Base_Line Test and b) Back to Back Testings.

Test Manager Report Generation:

All the test reports had attached along with required screen shots



11) Results has obtained as per the designed Model for the given challenges.

Results as per the designed model:

All the test reports had attached along with required screen shots

Note:

All the models had designed and attached along with screen shots.

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.