Transmission_control_unit_drive_based_on_the_AUTOS
Transmission_control_unit_drive_based_on_the_AUTOS
qingzhen52099@163.com
Abstract. It is a trend of automotive electronics industry in the future that automotive electronics
embedded system development based on the AUTOSAR standard. AUTOSAR automotive
architecture standard has proposed the transmission control unit (TCU) development architecture
and designed its interfaces and configurations in detail. This essay has discussed that how to drive
the TCU based on AUTOSAR standard architecture. The results show that driving the TCU with
the AUTOSAR system improves reliability and shortens development cycles.
1. AUTOSAR Architecture
AUTOSAR(Automotive Open System Architecture)is an open automotive systems architecture
standard jointly developed by the world's major automotive manufacturers, component suppliers,
automotive electronics companies, semiconductor and software companies. The goal is to establish an
open automotive electronics industry standard to provides a fundamental function management solution
for applications and software modules.
Basic philosophy of AUTOSAR:
1) Control the complexity of electronic equipment even functional requirements of automotive
electronics is constantly growing.
2) Increase the flexibility of automotive electronics in porting, upgrading, and updating.
3) Provide electronic device scalability crossing product lines
4) Improve the quality and reliability of automotive electronics equipment.
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
ICEESE 2017 IOP Publishing
IOP Conf. Series: Earth and Environmental Science1234567890
128 (2018) 012188 doi:10.1088/1755-1315/128/1/012188
From Figure 1 we can see, AUTOSAR basic structure is divided into four layers, namely: Application
Layer, Runtime Environment (RTE), Basic Software and Microcontroller. AUTOSAR can make
software architecture completely separated of layer and layer through hierarchical structure and specific
software interface. The bottom is the underlying hardware--the hardware platform MCU. The upper
layer is the underlying software layer, mainly to interact directly with the MCU, provide MCU
peripherals and board-level peripherals drive, and also provide software interface for upper layer. The
underlying software layer consists of the operating system, communication layer, service layer, ECU
abstraction layer, microcontroller abstraction layer, and complex drivers. It is not visible to the user.
The upper layer of the underlying software layer is runtime environment, it exists in each ECU, and
different ECU runtime environment has different ways to achieve, The purpose is to provide a bridge
for communication between layers, and provide an environment to isolate the bottom for the upper layer
software, making it completely independent of the underlying hardware of the system. The layer upper
RTE is application layer, contains interfaces directly interact with users, at the same time, all software
algorithms, strategies are packaged and implemented through application layer. In the above software
architecture, layers can only interact with each other through a standard software interface to achieve
relative isolation, then it can be ported on different hardware platforms.
Pulse
Shaping Valve
Circuit Drive
Circuit
Detection
Switch
Signal Micoroc and
Hardware
Input
Circuit ontroller Protection
Circuit
2
ICEESE 2017 IOP Publishing
IOP Conf. Series: Earth and Environmental Science1234567890
128 (2018) 012188 doi:10.1088/1755-1315/128/1/012188
2.2.1. Ports. Port defines the directions in which Software Components (SWC) communicating with
the outside world. The definitions of the ports, that are, in the EB, the definitions of MPC5744P chip
pins. The main definitions of the pins’ types and directions.The types of ports are GPIO, SPI, ADC,
CAN, Etimer, etc.. The multiplexing functions of the chip pins have to be correctly chose in order to
achieve the desired functions. Figure 3 shows the configurations of ports in the EB. This port is an
output port of CAN communication and the internal pin ID is 11.
3
ICEESE 2017 IOP Publishing
IOP Conf. Series: Earth and Environmental Science1234567890
128 (2018) 012188 doi:10.1088/1755-1315/128/1/012188
2.2.2. Software interface. After the definitions of the ports, users must define the software interfaces,
because the first step only defines the input or output directions and types, the contents of these ports
also need to be defined by the software interfaces. As shown in Figure 4, the software configured ADC0
sampling type that is interruption sampling, sampling prescaler is 2, the ground reference voltage is 3V
and so on.
2.2.3. CAN communication. Control Area Nerwork (CAN) was first introduced by the German
company BOSCH for automotive internal measurement and implementation of data communication
between components.
4
ICEESE 2017 IOP Publishing
IOP Conf. Series: Earth and Environmental Science1234567890
128 (2018) 012188 doi:10.1088/1755-1315/128/1/012188
TCU own CAN communication serial ports, the external data link is also created mainly using CAN
network communication. For CAN communication configarations, the most important things are the
calculation of the baud rate and the calculation of the nominal bit time. According to the crystal clock
and external serial clock to select the correct baud rate is the most critical step. The baud rate and the
nominal bit time was the inverse relationship,that is,
t NBT
is the period of the nominal bit time, which consists of four sections, SYNC_SEG, PROP_SEG,
PHASE_SEG1, and PHASE_SEG2, where the value of SYNC_SEG is a quantum of time. Therefore,
the relationship between these four parts and time quantum can also be shown as follows,
3. Test verification
Convert the above configurations to real C codes, embed the function codes of each component and the
target codes file of BSW, then download it into the target TCU. In the end, connect the TCU with
solenoid valves, sensors and other real loads.
5
ICEESE 2017 IOP Publishing
IOP Conf. Series: Earth and Environmental Science1234567890
128 (2018) 012188 doi:10.1088/1755-1315/128/1/012188
4. Summary
Automotive electronic embedded system development based on AUTOSAR standard is a trend in the
future development of the automotive electronics industry. Based on the AUTOSAR standard, the
modular design and real-time environment interface configuration of the TCU driving system can
separate the system application layer software from the underlying basic software to facilitate the
expansion, migration and reuse of the software. Compared with the traditional TCU system
development mode , this way will increase the reliability of TCU, and shorten the development cycle,
improve the maintenance efficiency.
References
[1] Sun Shen, Song Ke, Zhang Tong, AUTOSAR Standard Development and Application Status,
Mechatronics,2014.12.007: 34-35
[2] Guo Xiwen, Automotive Electronic Communications and Applications Reference to AUTOSAR
Standards, Zhejiang University(2004)
[3] VEVTOR, Control System Development Process Based on AUTOSAR Architecture
[4] Feng Chuan, Hu Jie, Yan Fuwu, Liu Chuanbao,CAN Underlying Communication Research
Complies with AUTOSAR Standard, Journal of Wuhan University of Technology
(Information and Management Engineering), (2013)35(6): 842-845
[5] Yu Jiangwei, Research on Control Method of Automobile Automatic Transmission and
Development of Simulation System, Harbin Institute of Technology(2006)
[6] Huang Zongyi,Automatic Transmission Principle and Design of Modern Car, Shanghai: Tongji
University Press(2006)
[7] Wu Guangqiang, He Lin, Fan Dapeng, Research on the Performance of Continuously Variable
Transmission for Vehicle, Transmission technology(2007)(6):16-19
[8] Feng Jinxiang, Wu Jizhang, Automatic Transmission Structure Principle Atlas, Beijing:
Mechanical Industry Press(2002)
[9] Zhang Liping, Research on Model Driven Design and Information Generation Based on
AUTOSAR Standard,Zhejiang University, 2-3
[10] Liu Jizhou, Research and Application of Driverless Intelligent Vehicle System Platform,
Zhejiang University(2017)