HANcoder

From OpenMBD
Jump to: navigation, search
HANcoder Logo


HANcoder is a real-time code generation target for MATLAB/Simulink. HANcoder makes use of automotive grade series production controllers. Currently two controllers from Rexroth are supported, in the near future we expect to support a third Rexroth Controller as well as an ECU from !ProDrive.

The controllers are already serving as rapid prototyping controllers in several projects. Since the controllers are automotive series products, the robustness and reliability 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:

Bodas RC28 14.pngProdriveGCU.png