This is the multi-page printable view of this section. Click here to print.
Component Implementation
1 - MotCtrlPrmEstimn_IntegrationManual
Integration Manual
For
MotCtrlPrmEstimn
VERSION: 1.0
DATE: 20-JUN-2015
Prepared By:
Rijvi Ahmed
Location: The official version of this document is stored in the Nexteer Configuration Management System.
Revision History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial version | Rijvi Ahmed | 1.0 | 20-Jun-2015 |
Table of Contents
3.2 Global Functions(Non RTE) to be provided to Integration Project 6
4 Configuration REQUIREMeNTS 7
4.2 Configuration Files to be provided by Integration Project 7
4.3 Da Vinci Parameter Configuration Changes 7
4.4 DaVinci Interrupt Configuration Changes 7
4.5 Manual Configuration Changes 7
5 Integration DATAFLOW REQUIREMENTS 8
5.1 Required Global Data Inputs 8
5.2 Required Global Data Outputs 8
5.3 Specific Include Path present 8
Abbrevations And Acronyms
| Abbreviation | Description |
| DFD | Design functional diagram |
| MDD | Module design Document |
| <ADD more to the table if applicable> | |
References
This section lists the title & version of all the documents that are referred for development of this document
| Sr. No. | Title | Version |
| <1> | <MDD Guidelines> | Process 4.00.00 |
| <2> | <Software Naming Conventions> | Process 4.00.00 |
| <3> | <Coding standards> | Process 4.00.00 |
| <4> | FDD – SF102A_MotCtrlPrmEstimn_Design | See Synergy Subproject version |
| <Add if more available> |
Dependencies
SWCs
| Module | Required Feature |
| None | N/A |
Note : Referencing the external components should be avoided in most cases. Only in unavoidable circumstance external components should be referred. Developer should track the references.
Global Functions(Non RTE) to be provided to Integration Project
None
Configuration REQUIREMeNTS
Build Time Config
| Constants | Notes | |
| None |
Configuration Files to be provided by Integration Project
<Configuration file that will generated from this components that will require Da Vinci Config generation or manual generation. Describe each parameter >
Da Vinci Parameter Configuration Changes
| Parameter | Notes | SWC |
| N/A |
DaVinci Interrupt Configuration Changes
| ISR Name | VIM # | Priority Dependency | Notes |
| N/A |
Manual Configuration Changes
| Constant | Notes | SWC |
| N/A |
Integration DATAFLOW REQUIREMENTS
Required Global Data Inputs
Refer DataDict.m file
Required Global Data Outputs
Refer DataDict.m file
Specific Include Path present
No
Runnable Scheduling
This section specifies the required runnable scheduling.
| Init | Scheduling Requirements | Trigger |
| MotCtrlPrmEstimnInit1 | None | RTE(Init) |
| Runnable | Scheduling Requirements | Trigger |
| MotCtrlPrmEstimnPer1 | None | RTE(2ms) |
| MotCtrlPrmEstimnPer2 | None | RTE(100ms) |
| GetMotPrmNomEol_Oper | None | On event |
| SetMotPrmNomEol_Oper | None | On event |
Memory Map REQUIREMENTS
Mapping
| Memory Section | Contents | Notes |
| None | ||
* Each …START_SEC… constant is terminated by a …STOP_SEC… constant as specified in the AUTOSAR Memory Mapping requirements.
Usage
| Feature | RAM | ROM |
| None |
Table 1: ARM Cortex R4 Memory Usage
Non RTE NvM Blocks
| Block Name |
| None |
Note : Size of the NVM block if configured in developer
RTE NvM Blocks
| Block Name |
| MotPrmNom |
Note : Size of the NVM block if configured in developer
Compiler Settings
Preprocessor MACRO
None
Optimization Settings
None
Appendix
None
2 - MotCtrlPrmEstimn_MDD
Module Design Document
For
MotCtrlPrmEstimn
06-Dec-2017
Prepared For:
Software Engineering
Nexteer Automotive,
Saginaw, MI, USA
Prepared By:
Brendon Binder,
Nexteer Automotive,
Saginaw, MI, USA
Change History
| Sl. No. | Description | Author | Version | Date |
| 1 | Initial Version | Rijvi | 1.0 | 20-JUN-2015 |
| 2 | Updated per design rev. 1.5.0 | Rijvi | 2.0 | 07-APRIL-2016 |
| 3 | Updated per design rev. 2.1.0 | ML | 3.0 | 29-NOV-2016 |
| 4 | New Input added MotAndThermProtnLoaMod and deleted IvtrLoaMtgtnEna | TATA | 4.0 | 25-SEP-2017 |
| 5 | Removed local function which didn’t exist, migrated document to latest template | BRB | 5.0 | 06-DEC-2017 |
Table of Contents
2 MotCtrlPrmEstimn & High-Level Description 6
3 Design details of software module 7
3.1 Graphical representation of MotCtrlPrmEstimn 7
4.1 Program (fixed) Constants 8
5 Software Component Implementation 9
5.1.1 Init: MotCtrlPrmEstimnInit1 9
5.1.2 Per: MotCtrlPrmEstimnPer1 9
5.1.2.2 Store Module Inputs to Local copies 9
5.1.2.3 (Processing of function)……… 9
5.1.2.4 Store Local copy of outputs into Module Outputs 9
5.1.1 Per: MotCtrlPrmEstimnPer2 9
5.1.1.2 Store Module Inputs to Local copies 9
5.1.1.3 (Processing of function)……… 9
5.1.1.4 Store Local copy of outputs into Module Outputs 9
5.2.1.2 (Processing of function)……… 10
5.2.2.2 (Processing of function)……… 10
5.4 Module Internal (Local) Functions 10
5.5 GLOBAL Function/Macro Definitions 10
6 Known Limitations with Design 11
Appendix A Abbreviations and Acronyms 13
Introduction
Purpose
Scope
MotCtrlPrmEstimn & High-Level Description
Please refer FDD
Design details of software module
Graphical representation of MotCtrlPrmEstimn

Data Flow Diagram
Refer FDD
Component level DFD
Refer FDD
Function level DFD
Refer FDD
Constant Data Dictionary
Program (fixed) Constants
Embedded Constants
Local Constants
| Constant Name | Resolution | Units | Value |
|---|---|---|---|
| BITMASK2_CNT_U08 | 1 | Cnt | 2U |
| Refer constants from .m file |
Software Component Implementation
Sub-Module Functions
Init: Init1
Design Rationale
Refer to FDD
Module Outputs
Refer to FDD
Per: Per1
Design Rationale
Refer to FDD
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD
Store Local copy of outputs into Module Outputs
Refer to FDD
Per: MotCtrlPrmEstimnPer2
Design Rationale
Refer to FDD
Store Module Inputs to Local copies
Refer to FDD
(Processing of function)………
Refer to FDD
Store Local copy of outputs into Module Outputs
Refer to FDD
Server Runnables
SetMotPrmNomEol
Design Rationale
None
(Processing of function)………
See GetMotPrmNomEol block in FDD
SetMotPrmNomEol
Design Rationale
None
(Processing of function)………
See SetMotPrmNomEol block in FDD
Interrupt Functions
None
Module Internal (Local) Functions
None
GLOBAL Function/Macro Definitions
None
Known Limitations with Design
CurrMeasLoaMtgtnEna and FetLoaMtgtnEna are terminated. These flags need not be computed at all.
UNIT TEST CONSIDERATION
None
Abbreviations and Acronyms
| Abbreviation or Acronym | Description |
|---|---|
Glossary
Note: Terms and definitions from the source “Nexteer Automotive” take precedence over all other definitions of the same term. Terms and definitions from the source “Nexteer Automotive” are formulated from multiple sources, including the following:
ISO 9000
ISO/IEC 12207
ISO/IEC 15504
Automotive SPICE® Process Reference Model (PRM)
Automotive SPICE® Process Assessment Model (PAM)
ISO/IEC 15288
ISO 26262
IEEE Standards
SWEBOK
PMBOK
Existing Nexteer Automotive documentation
| Term | Definition | Source |
|---|---|---|
| MDD | Module Design Document | |
| DFD | Data Flow Diagram |
References
| Ref. # | Title | Version |
|---|---|---|
| 1 | AUTOSAR Specification of Memory Mapping | v1.3.0 R4.0 Rev 2 |
| 2 | MDD Guideline | EA4 01.00.00 |
| 3 | EA4 Software Naming Conventions | 01.01.00 |
| 4 | Software Design and Coding Standards | 2.1 |
| 5 | FDD – SF102A Motor Control Parameter Estimation | See Synergy subproject version |
3 - MotCtrlPrmEstimn_PeerReviewChecklist
Overview
Summary SheetDavinci Files
Source Code
PolySpace
MDD
Synergy Project
Sheet 1: Summary Sheet
Sheet 2: Davinci Files
Sheet 3: Source Code
Sheet 4: PolySpace
Sheet 5: MDD
| Rev 2.00 | 29-Nov-17 | |||||||||||||||||||||||
| Nexteer SWC Implementation Peer Review Meeting Log (MDD Review) | ||||||||||||||||||||||||
| MDD Name: | MotCtrlPrmEstimn_MDD.docx | MDD Revision: | 5 | |||||||||||||||||||||
| Source File Name: | MotCtrlPrmEstimn.c | Source File Revision: | 7 | |||||||||||||||||||||
| Source File Name: | Source File Revision: | |||||||||||||||||||||||
| Source File Name: | Source File Revision: | |||||||||||||||||||||||
| Quality Check Items: | ||||||||||||||||||||||||
| Rationale is required for all answers of No | ||||||||||||||||||||||||
| Synergy version matches document | Yes | Comments: | ||||||||||||||||||||||
| Change log contains detailed description of changes | Yes | Comments: | ||||||||||||||||||||||
| Changes Highlighted (for Unit Tester) | No | Comments: | ||||||||||||||||||||||
| Document was migrated to the latest template. The only change was removing a local function which didn't exist in the implementation. | ||||||||||||||||||||||||
| Diagrams have been included per MDD Guideline | N/A | Comments: | ||||||||||||||||||||||
| and reviewed | ||||||||||||||||||||||||
| All Design Exceptions and Limitations are listed | N/A | Comments: | ||||||||||||||||||||||
| Design rationale given for all global | N/A | Comments: | ||||||||||||||||||||||
| data not communicated through RTE ports, per | ||||||||||||||||||||||||
| Design and Coding Standards rules [N9] and [N10]. | ||||||||||||||||||||||||
| All implementation details that differ from the SWC | N/A | Comments: | ||||||||||||||||||||||
| Design are noted and explained in Design Rationale | ||||||||||||||||||||||||
| All Unit Test Considerations have been described | N/A | Comments: | ||||||||||||||||||||||
| General Notes / Comments: | ||||||||||||||||||||||||
| Talk to Kathleen about approving rationale - Completed 12/15/2017. | ||||||||||||||||||||||||
| Review Board: | ||||||||||||||||||||||||
| Change Owner: | Brendon Binder | Review Date : | 12/12/17 | |||||||||||||||||||||
| Lead Peer Reviewer: | Shawn Penning | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
| Other Reviewer(s): | ||||||||||||||||||||||||
| Rationale/justification for items marked "No" approved by: | Steven Horwath | |||||||||||||||||||||||
Sheet 6: Synergy Project
| Rev 2.00 | 29-Nov-17 | |||||||||||||||||||||||
| Peer Review Meeting Log (Component Synergy Project Review) | ||||||||||||||||||||||||
| Quality Check Items: | ||||||||||||||||||||||||
| Rationale is required for all answers of No | ||||||||||||||||||||||||
| New baseline version name from Summary Sheet follows | Yes | Comments: | ||||||||||||||||||||||
| naming convention | ||||||||||||||||||||||||
| Project contains necessary subprojects | Yes | Comments: | ||||||||||||||||||||||
| Project contains the correct version of subprojects | Yes | Comments: | ||||||||||||||||||||||
| Design subproject is correct version | N/A | Comments: | ||||||||||||||||||||||
| .gpj file in tools folder matches .gpj generated by TL109 script | Yes | Comments: | ||||||||||||||||||||||
| File/folder structure is correct per documentation in | Yes | Comments: | ||||||||||||||||||||||
| TL109A_SwcSuprt | ||||||||||||||||||||||||
| General Notes / Comments: | ||||||||||||||||||||||||
| Review Board: | ||||||||||||||||||||||||
| Change Owner: | Brendon Binder | Review Date : | 12/12/17 | |||||||||||||||||||||
| Lead Peer Reviewer: | Shawn Penning | Approved by Reviewer(s): | Yes | |||||||||||||||||||||
| Other Reviewer(s): | ||||||||||||||||||||||||
| Rationale/justification for items marked "No" approved by: | ||||||||||||||||||||||||