= Background =[background]
-TODO: Write history of the project.
+Back in the beginning of 2012 a leading automotive company requested the Czech Technical University to develop a engine control unit for
+automotive applications. Real-Time Systems group at the Department of Control Engineering developed a hardware and Software platform to
+the needs of this industry. The hardware uses Texas Instruments TMS570LS3137 CPU and has was built with automotive standards and interfaces
+in mind. It uses a real-time operating system and was directly programmed in C.
-+ How, why, when.
-+ Hardware implementation.
-+ Current Software implementation.
+Nevertheless, in accordance to company policies the Software developed for the engine control unit must be designed in a safe and auditable way.
+The company has the policy to implement the Software for their system using Model-Based Design:
+
+ Model-Based Design (MBD) is a mathematical and visual method of addressing
+ problems associated with designing complex control, signal processing and
+ communication systems. It is used in many motion control, industrial equipment,
+ aerospace, and automotive applications. Model-based design is a methodology
+ applied in designing embedded software.
+
+In order to meet this requirement an interaction layer between the platform and the Software the company uses ,Matlab/Simulink, must be
+implemented. This project mark the path for that implementation.
= Objectives =[objectives]
Main objectives of this project are:
-+ Allow code generation of Matlab/Simulink model to custom made hardware platform.
++ Allow C-code generation from Matlab/Simulink model to custom made hardware platform.
+ Implement model blocks for each of the peripheral units of the board for use in Simulink programming.
Current expected outcome includes:
-+ Implementation of a template system / new target for code generation for the custom hardware device.
++ Implementation of a template system / new target for code generation for the custom hardware device, real-time operating system and compiler / tool chain.
+ Implementation of a Simulink model block for each peripherals of the board.
+ Implementation of basic test model for each model block.
+ Standard ANSI C programming.
+ FreeRTOS real-time operating system.
+ Texas Instruments TI Code Generation Tools (CGT) C compiler.
-+ RPP in-house automotive hardware board using Texas Instruments TMS570LS3137:
++ RPP in-house automotive hardware board using Texas Instruments TMS570LS3137 CPU:
[300-board.jpg]
= Preliminary chronogram =[preliminary_chronogram]
-|| Date | Deliverable |
- | 0.0.2013 | Target Language Compiler (TLC) files for hardware system. |
- | 0.0.2013 | Implemented block: Digital inputs and test. |
- | 0.0.2013 | Implemented block: H-bridge outputs and test. |
- | 0.0.2013 | Implemented block: Motor driver outputs and test. |
- | 0.0.2013 | Implemented block: Analog-to-digital converter and test. |
- | 0.0.2013 | Implemented block: Serial Communication Interface and test. |
- | 0.0.2013 | Implemented block: CAN Bus Communication and test. |
- | 0.0.2013 | Implemented block: SDRAM and test. |
+|| Date | Deliverable |
+ | 01.4.2013 | Target Language Compiler (TLC) files for hardware system. |
+ | 08.4.2013 | Implemented block: Digital inputs and test. |
+ | 06.4.2013 | Implemented block: H-bridge outputs and test. |
+ | 15.4.2013 | Implemented block: Motor driver outputs and test. |
+ | 22.4.2013 | Implemented block: Analog-to-digital converter and test. |
+ | 13.5.2013 | Implemented block: Serial Communication Interface and test. |
+ | 27.5.2013 | Implemented block: CAN Bus Communication and test. |
+ | 10.6.2013 | Implemented block: SDRAM logging capabilities and test. |
+ | 17.6.2013 | Finish documentation of the developed product. |