Model-Based Design (MBD) is an efficient and cost-effective way to develop embedded
systems, thus it is getting more relevance in development of automotive application.
The main goal of my work is to set up an application testing environment moving through
the stages of model-based approach. My project establishes a verification method for the
control software of an object tracking sensor due to an initial processing algorithm. The
targeted hardware is Texas Instruments’ (TI) TMDX470MF066HDK development board
driven by the automotive grade TMS470M06607 microcontroller. The MBD system is
developed for the Hardware-In-the-Loop (HIL) test of the automotive radar with the
implementation of Simulink subsystem, communication protocol and C target code.
After the introduction, the next chapters provide an overview of the theoretical
background. The second chapter leads through the method of model-based design, while
the third one presents one of the most popular development environment which is the
combination of MATLAB and Simulink softwares. The following part gives an insight
into the utilization of automotive microprocessor. Furthermore, the fifth section
highlights the characteristics of TI’s safety microcontroller portfolio concentrating on the
The practical implementation is based on two major parts: Simulink model development
and HIL test. At the beginning of the realization, the model of HIL-tester (host) was
created. It is responsible for serving the target program and plays the role of a data
transmission device. For this purpose, a MATLAB script and Simulink based data
conversions, state-machine, and serial communication solutions cooperate. The following
model (target) will be the algorithm of the microcontroller. It receives and identifies
signals, and after the desired processes it have to calculate specific speed parameters. This
program is created in a MATLAB Function of Simulink environment and additionally it
is transformed to C source code due to automatic code generation.
After the creation and simulation of the models, the next step is the construction of the
complete HIL setup with the realization of communication. During the simulation the
microcontroller and the host computer are connected to each other. The programs are
executed on the proper device and communicate via UART protocol. The completed
system is a well-suited hardware test environment for automotive applications and is able
to verify and validate varying target algorithms.