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. Develop Simulink/state flow modules for the wiper control system based on the given conditions.
Conditions:
- If the density of the rain is low, then wiper rotates with low speed, the output signal should be 100rpm
- If the density of the rain is medium, then wiper rotates with low speed, the output signal should be 200rpm
- If the density of the rain is high, then wiper rotates with low speed, the output signal should be 500rpm
1. Simulink/state flow modules for wiper control system:
2. SLDD file

3. Requirement tagging report
created excel file according to requirements

- Go to "app">select "Requirement Manager> Link the file

- Model advisor - JMAAB compliance report


- Fixed-point Tool
- create subsystem and connect input and output block
- Go to "APP TAB"-->select "fixed point tool box"
- Click on "NEW “choose-->Iterative fixed-point conversion
- Performed following operation one by one
Prepare

collect ranges--> click on collect ranges> propose data types

simulate with data types

- SLDV Design error detection report


- SLDV test generation report
- Test Generation Advisor Report:

- Test Generation Report:



- The functional test MIL harness, coverage Reports
Test Harness for MIL
- Signal Builder

Coverage Report

scope output
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.
- Test manager reports – baseline & back-to-back testing
Baseline Report



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

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Project 1
Wiper control system and Vehicle speed calculation for ABS using Wheel Speed sensor
2. Develop Simulink/state flow modules for Vehicle speed calculation for ABS using Wheel Speed sensor based on the given conditions.
Description of Challenge:
Fl, Fr, Rl and Rr are the wheel speeds of front left, front right, rear left and rear right respectively.

1. Simulink/state flow modules for wiper control system:



2. SLDD file

3. Requirement tagging report
- created excel file according to requirements

- Go to "app">select "Requirement manager > Link the file

- Model advisor - JMAAB compliance report


- Fixed-point Tool
- create subsystem and connect input and output block
- Go to "APP TAB"-->select "fixed point tool box"
- Click on "NEW “choose-->Iterative fixed-point conversion
- Performed following operation one by one
Prepare

collect ranges--> click on collect ranges> propose data types

simulate with data types


- SLDV Design error detection report


- SLDV test generation report
- Test Generation Advisor Report:

- Test Generation Report:



Generated Test Harness:

- Functional test case, MIL, SIL harness, coverage Reports
- Test Cases

- Signal Builder

- Functional test case, MIL with Coverage Report
Test Harness for MIL

scope output


- Functional test case, SIL with Coverage Report
Test Harness for SIL

- Auto-code generation report, main, .c & .h files

- 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.
- Test manager reports – baseline & back-to-back testing
Baseline Report....result showed difference as "zero"
