Difference between revisions of "HANcoder"

From OpenMBD
Jump to: navigation, search
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{HANcoder}}
+
{{HANcoder}}HANcoder is a real-time code generation target for MATLAB Simulink®. HANcoder makes use of both automotive grade series production controllers as well as some low cost development boards. Currently two controllers from Rexroth and three boards from Olimex are supported.
 
 
HANcoder is a real-time code generation target for MATLAB/Simulink. HANcoder makes use of both automotive grade series production controllers as well as some cheap development boards. Currently two controllers from Rexroth are supported, an ECU from ProDrive and three boards from Olimex.
 
  
 
The controllers are already serving as rapid prototyping controllers in several projects. The robustness and reliability of the controllers which are automotive series products is extremely high. They can serve for production purposes as well. This provides HANcoder with a unique feature: it is currently the single known open-source solution for control prototyping and production code generation available for automotive applications.
 
The controllers are already serving as rapid prototyping controllers in several projects. The robustness and reliability of the controllers which are automotive series products is extremely high. They can serve for production purposes as well. This provides HANcoder with a unique feature: it is currently the single known open-source solution for control prototyping and production code generation available for automotive applications.
  
Targets from HANcoder represent itself as a library in Simulink. By using blocks from this library, the user can connect a MATLAB/Simulink model to inputs and outputs of the controller. The inputs and outputs are represented by dedicated Simulink blocks. The behavior of the inputs and outputs can be changed by adapting the appropriate block mask parameters. System configuration can also be easily performed by system configuration blocks.
+
Targets from HANcoder represent itself as a library in Simulink®. By using blocks from this library, the user can connect a MATLAB Simulink® model to inputs and outputs of the controller. The inputs and outputs are represented by dedicated Simulink® blocks. The behavior of the inputs and outputs can be changed by adapting the appropriate block mask parameters. System configuration can also be easily performed by system configuration blocks.
  
 
Generating code is as easy as a click of a button. The fully automated process of code generation results in a so-called hex file or S-record file. This file contains the executable code. It can be flashed into the target controller hardware. After flashing, the controller will automatically execute the algorithm when it is switched on.
 
Generating code is as easy as a click of a button. The fully automated process of code generation results in a so-called hex file or S-record file. This file contains the executable code. It can be flashed into the target controller hardware. After flashing, the controller will automatically execute the algorithm when it is switched on.
Line 14: Line 12:
 
![[HANcoder/STM32 |HANcoder STM32 Target]]
 
![[HANcoder/STM32 |HANcoder STM32 Target]]
 
![[HANcoder/RC30|Bodas Rexroth RC30 Target]]
 
![[HANcoder/RC30|Bodas Rexroth RC30 Target]]
![[HANcoder/Prodrive|Prodrive GCU Target]]
 
 
|-
 
|-
|[[File:STM32_TARGET.png|400px]]
+
|[[File:STM32_TARGET.png|link=HANcoder/STM32| 400px]]
|[[File:Bodas_RC28_14.png|400px]]
+
|[[File:Bodas_RC28_14.png|link=HANcoder/RC30| 400px]]
|[[File:ProdriveGCU.png|400px]]
 
 
|}
 
|}
 
 
My proposed structure:
 
* HANcoder
 
** General examples
 
** RC30 Target
 
** STM32 Target
 
*** Supported Hardware
 
*** Blocks
 
*** Examples
 
**** Vehicle logger
 
***** MPU6500
 
***** OBD2 reader
 
***** NTC readout
 
***** SDcard logger
 
****** How to: read SDcard file in Matlab
 
****** How to: Use FTP client to download SD log file
 
**** Upload your project
 
*** Manuals and guides
 

Latest revision as of 12:53, 16 May 2019

HANcoder is a real-time code generation target for MATLAB Simulink®. HANcoder makes use of both automotive grade series production controllers as well as some low cost development boards. Currently two controllers from Rexroth and three boards from Olimex are supported.

The controllers are already serving as rapid prototyping controllers in several projects. The robustness and reliability of the controllers which are automotive series products is extremely high. They can serve for production purposes as well. This provides HANcoder with a unique feature: it is currently the single known open-source solution for control prototyping and production code generation available for automotive applications.

Targets from HANcoder represent itself as a library in Simulink®. By using blocks from this library, the user can connect a MATLAB Simulink® model to inputs and outputs of the controller. The inputs and outputs are represented by dedicated Simulink® blocks. The behavior of the inputs and outputs can be changed by adapting the appropriate block mask parameters. System configuration can also be easily performed by system configuration blocks.

Generating code is as easy as a click of a button. The fully automated process of code generation results in a so-called hex file or S-record file. This file contains the executable code. It can be flashed into the target controller hardware. After flashing, the controller will automatically execute the algorithm when it is switched on.

The HANcoder library currently contains the following targets:

HANcoder STM32 Target Bodas Rexroth RC30 Target
STM32 TARGET.png Bodas RC28 14.png