Abstract
The goal of the thesis “Realization of a Software in the Loop System for a CVT Transmission Control of an Agricultural Tractor” is the study of the Continuos Variable Transmission (CVT) that is mounted on some mid range CNH tractors like Puma CVX and New Holland T7 Autocommand and the development of a technique based on Software In the Loop (SIL) methodology that allow the modelling of the transmission control starting directly from the C code contained in the ECU (Electronic Control Unit) of the tractor. In particular it has been studied the code, identifying and isolating the main functions involved in the transmission control and for each function a model has been created using a Matlab toolbox that is the Matlab Legacy Code toolbox.
Legacy Code Toolbox generates a little block, called S-Function, fully simulated in Matlab/Simulink environment starting from a C/C++ function. In a few word the behaviour of the S-Function is specified in the code of the function of which you want to create the model.
The S-Functions have been tested and validated comparing the simulated outputs with real tracks recorded during a test with the tractor.
The data have been recorded using a tool called Can Case that interfaces with the control unit of the tractor and it records the data on a PC equipped with the software Canalyser. These data are exported in a Matlab format and are given as inputs to the S-Functions.
The fitting values obtained are very good, considering that each function needs an initialization time.
Afterwards the functions have been connected each other to obtain the overall model of the transmission control.
A great advantage of the S-Functions is the possibility to activate the debugging mode and then create a direct link between Simulink and Visual Studio (the C compiler used to create the S-Function) during a simulation session; this allows to see the execution of the code “row per row” and therefore checking the code during execution.
The target of the second part of the thesis was the study of the control technique used. In particular the principal functions that realize the heart of the transmission control and are responsible of the dynamic behaviour of the tractor have been studied. These functions are two and they generate two fundamental information: the engine speed request (information for the engine) and the transmission ratio request (information for the transmission).
In parallel a simple dynamic model of the tractor (plant) has been developed, whose purpose is to test some "parts" of the tractor logic. This model is quite simple and it takes into account the engine, the CVT transmission, the mass of the vehicle and other external forces acting on the vehicle.
The first part of the thesis has been developed with CNH (Case New Holland) in S. Matteo site (Modena), and the second part has been developed with the Autolab laboratory at the University of Modena and Reggio Emilia.
|