Escolar Documentos
Profissional Documentos
Cultura Documentos
2008-01-0630
A 6-Speed Automatic Transmission Plant Dynamics Model for HIL Test Bench
Quan Zheng, Asif Habeebullah, Woowon Chung and Andrew Herman
Delphi Corporation
By mandate of the Engineering Meetings Board, this paper has been approved for SAE publication upon completion of a peer review process by a minimum of three (3) industry experts under the supervision of the session organizer. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of SAE. For permission and licensing requests contact: SAE Permissions 400 Commonwealth Drive Warrendale, PA 15096-0001-USA Email: permissions@sae.org Tel: 724-772-4028 Fax: 724-776-3036
For multiple print copies contact: SAE Customer Service Tel: 877-606-7323 (inside USA and Canada) Tel: 724-776-4970 (outside USA) Fax: 724-776-0790 Email: CustomerService@sae.org ISSN 0148-7191 Copyright 2008 SAE International Positions and opinions advanced in this paper are those of the author(s) and not necessarily those of SAE. The author is solely responsible for the content of the paper. A process is available by which discussions will be printed with the paper if it is published in SAE Transactions. Persons wishing to submit papers to be considered for presentation or publication by SAE should send the manuscript or a 300 word abstract of a proposed manuscript to: Secretary, Engineering Meetings Board, SAE. Printed in USA
2008-01-0630
A 6-Speed Automatic Transmission Plant Dynamics Model for HIL Test Bench
Quan Zheng, Asif Habeebullah, Woowon Chung and Andrew Herman
Delphi Corporation
Copyright 2008 SAE International
ABSTRACT
During the production controller and software development process, one critical step is the controller and software verification. There are various ways to perform this verification. One of the commonly used methods is to utilize an HIL (hardware-in-the-loop) test bench to emulate powertrain hardware for development and validation of powertrain controllers and software. A key piece of an HIL bench is the plant dynamics model used to emulate the external environment of a modern controller, such as engine (ECM), transmission (TCM) or powertrain controller (PCM), so that the algorithms and their software implementation can be exercised to confirm the desired results. This paper presents a 6-speed automatic transmission plant dynamics model development for hardware-in-theloop (HIL) test bench for the validation of production transmission controls software. The modeling method, model validation, and application in an HIL test environment are described in details. By developing a transmission plant dynamics model, test cases can be created to validate targeted areas of the control software for confirmation of the expected results from software release to release. This is especially important when algorithm/software development timing is aggressive and the management of development activities in a global work environment requires high quality, and timely test results.
4. Integration of higher-fidelity hydraulic models to offer a more realistic transmission response. 5. Data capture method using production vehicle calibration tools to re-create conditions in the HIL environment similar to vehicle conditions.
Focus has been invested in #4 and #5, in order to provide the appropriate foundation to align existing data (#5) with simulation fidelity (#4) such that #'s 1-3 can be achieved. The following sections describe the system architecture, powertrain plant model, 6-speed model validation, bench test capability, and future development.
INTRODUCTION
TestDrive simulator provides the following functions: In the paper presented by Zheng, et al. [1], five areas were discussed for the extension of the Delphi transmission HIL capability. Those areas were: 1. Increased test coverage for current TCM software applications. 2. Automation of existing and newly-developed test cases. 3. Development of more sophisticated pass/fail determination of test cases. The I/O interface and power to the controller Stimulates controller inputs by simulating various sensors like (TRANSOILTEMP, etc.) Communicates with the M-Node
Power Supply
CAN
TestDrive Chassis
Ethernet IEEE 1394 (FireWire)
Ethernet
M-Node
Provides the Throttle and Brake inputs as commanded by the user Reads the gear-output from the TCM and feeds this to the M-Node plant model Measures the solenoid currents commanded by the TCM and passes them as inputs to the MNode for solenoid currents to clutch pressures conversion. Retrieves the plant-model generated TISS, TOSS signals and stimulates the appropriate controller inputs. It also gets Vehicle Speed information from the plant-model to display to the console.
BREAK-OUT-BOXES (BOB): BoBs are used to simulate electronic/manual faults for diagnostic purposes. TRANSMISSION CONTROL MODULE (TCM): The controller reads the TISS, TOSS sensor signals from the TestDrive simulator, performs the control algorithm calculations, determines the appropriate gear for the automatic transmission based on various input signals (throttle, brake switch status, PRNDL switch status, transmission oil temperature and other sensor inputs), calculates the solenoid currents and outputs the current waveforms onto the solenoids. LAPTOP: The laptop as such doesn't form part of the closed-loop simulation setup. However, it is used for flashing the software and calibrations into the controller, recording/displaying the internal controller variables and calibrating the controller through a calibration tool like ETAS INCA USER INPUTS: User inputs to HIL bench are throttle and brake.
M-NODE: M-Node performs the drive-train plant-model calculations. It receives the Throttle, Brake inputs from the user and the commanded Gear and TRANSOILTEMP from the controller via TestDrive. It calculates the TISS and TOSS values from the driveline model and outputs them to TestDrive so as to be converted to real-world sensor outputs. The current to pressure conversion subsystem accepts the commanded/measured solenoid currents and outputs the respective clutch pressures to the transmission clutches.
Gear PWM PRNDL Throttle Brake TFT Host PC with TestDrive Console Outputs TestDrive Inputs Solenoid currents Actuators Sensors CAN bus Solenoid currents Throttle CCP Brake Gear TCM
M-Node
TFT
The 6-speed AT mechanical model is then configured using SimDriveline toolbox building blocks. Unlike the conventional modeling approach of deriving the transmission dynamics state equations and transitions, SimDriveline toolbox offers components with built in state equations and transition conditions. Therefore, the state transitions and boundary conditions are taken care of by the physical model. Table 1 shows the clutch state table for the 6-speed automatic transmission of interest. Figure 3 shows the powertrain model developed using SimDriveline toolbox. The model parameters of various blocks are updated to reflect the vehicle design parameters. The engine speedtorque map, the torque converter parameters (speed and torque ratios, capacity factor), transmission gear ratios, clutch design parameters, transmission inertias, the final drive gear ratio, the vehicle inertia and the road-load values. The model also uses certain parameters that are not readily available due to the lack of proprietary design information. These parameters are tuned in an iterative fashion and this is found to be an arduous process. The key transmission dynamics model parameters are tuned by inputting the actual vehicle engine speed in the model. The modeled transmission input speed and output speed are then compared with vehicle data. The powertrain model is developed with the following stages to deliver different levels of model fidelity at each stage: Stage 1: Develop and validate 6-speed AT mechanical model.
TISS
TOSS
VKPH
Stage 2: Develop and validate the hydraulic pressure generation model Stage 3: Validate vehicle dynamics model Stage 4: Develop and validate engine model to have proper torque generation. This staged development process enables us to focus on the key modules needed for controller and software testing purpose, and at the same time, the model development is continued to improve the model fidelity of other modules.
measure engine speed is used as input to the powertrain model. The modeled transmission input speed is compared with the measure transmission input speed. Another source of variation is the vehicle loading on the output shaft of the transmission. There are several steps to develop a set of representative parameters for vehicle loading. After the load model is derived, the simulated output speed is compared with the measured output speed. Figure 4 - Figure 6 show the model validation results. These results are organized by recording signals from a typical test vehicle driven under selected driving conditions (this constitutes the test-data), running the model with its inputs being driven from the test-data and comparing the model outputs against the test-data outputs. Figure 4 shows the vehicle data of throttle, brake and gear requests, which are inputs to the model. Figure 5 shows the engine speed and engine torque traces. The engine torque graph shows the comparison engine torque calculated by model and the data taken from vehicle. It is obvious that engine model needs additional improvements. For our model validation purpose, engine speed is fed into the powertrain model using SimDriveline speed input block. This allows us to focus on transmission dynamics directly without focusing heavily on the fidelity of engine model. Figure 6 shows the comparison of transmission input speed (TISS), transmission output speed (TOSS) and vehicle speed calculated by the model and measured from vehicle. As shown in Figure 6, the model and vehicle data show a close correspondence for the most part with the transmission up-shifts and down-shifts. However, there are a few areas that the speed levels of modeled and measured data do not line up. This is due to the vehicle loading part of the model being not accurate. This is part of our future work to improve the vehicle dynamics model in order to add proper loading to the transmission.
C1234 UD R D1 D2 D3 D4 D5 D6
C456 OD
C35R
C26
CBLR LR/B
F1
20 0
0 x 10
4
50
100
150
200
250
300
2 Brake 0 -2
50
100
150
200
250
300
Gear request
50
100
200
250
300
TOSS, Engine RPM, vehicle speed etc based on user inputs such as throttle and brake. As shown in Figure 7, the plant model is running on Host PC. Based Throttle and brake inputs from the user, the plant model generates transmission shifting control related signals (TISS, TOSS etc.). These signals are converted to actual sensor signals that are inputs to TCM. Based on these speed signals and user inputs, TCM control software determines shift control strategy and generates gear change commands. HIL bench reads this gear change request (gear ratio change command) from the controller, which triggers the actuation of proper solenoids to generate pressure of corresponding clutches. When certain clutches are actuated, shifting happens. Plant dynamics model generates TISS and TOSS, which are read by the controller. By such, HIL bench mimics realistic transmission shifting and generates proper signals to the controller.
50
100
150
200
250
300
50
100
200
250
300
2000
50
100
150
200
300
50
100
150
200
300
Vehicle speed
50
100
200
250
300
Command Current
Control Pressure
PLAY BACK MODE Play Back Mode is an important function of the HIL Virtual Car bench. Play Back enables test engineers to playback test data repeatedly to test certain areas of controller functionality. This functionality also allows data collected in a test vehicle or dyno to be repeated, which is important to reproduce errors that are difficult, damaging or maybe even dangerous in a test vehicle (Zheng, et al., 2007). The concept of Play Back Mode is to make HIL test bench re-produce the recorded (vehicle) signals repeatedly, i.e. to re-create the vehicle test scenario on the test bench. In this section, we will detail the data capture method using production vehicle calibration tools to re-create conditions in the HIL environment similar to vehicle conditions. Since the bench model is running in Matlab environment, it is necessary to convert all data file to this Matlab .mat data format. Figure 10 shows the process of data format conversion, which can be summarized at the following steps: Collect input signals to TCM using production vehicle calibration tool; Convert .dat file to Matlab .mat format (mdfimport developed by Mathworks, Figure 12); Convert data to the right format (loop rate, row, column, etc.)
As pointed out earlier, engine RPM signal needs to be fed to the plant model because a validated high fidelity engine plant dynamics model is not yet available at this stage of development. Engine torque is estimated by using measured engine speeds. CONTROL ALGORITHM TESTING The new generation of Delphi's transmission control methodology is to provide the customer with the best calibration authority. This means that transmission control can be achieved by very general calibration setting. For those familiar with the art of transmission controls, a key point of the art is to properly control transmission actuators at each phase of shifting process. In order to test this new generation of transmission control strategy, closed loop test bench is a necessity. An example of the testing needs is given below. One important aspect of transmission shift control is to properly determine the shift progress, i.e. shift phases. For the apply and release clutch phase transitions, phase duration time is used as well as certain event triggers, such as Shift Begin, Shift Finish, etc. As shown in Figure 9, during 1->2 power off shifting, Apply1 Clutch SYR point can be set to true by model the HIL bench. Therefore, the phase transition algorithm can be verified.
Figure 13 shows data comparison between input and output data. Here the compared data are TISS, TOSS and VRPM. B* represents bench generated signal. As shown, the Play Back Mode data matches the vehicle data very well. Figure 14 shows the comparison of solenoid current generated on the bench and vehicle compared result, where variables AUTCURA (26Brake), AUTCURB(UD), AUTCURD(35R) and AUTCURE(OD) represent solenoid control current (from 0 to 850mA), and B* represent bench test result with mat conversion. As shown in the figure, the two sets of data match very well, which means that same outputs from TCM can be expected via Play Back Model. In summary, Play Back Mode feature allows test engineers to replay vehicle test data on the HIL bench repeatedly, which is not possible by human driving a car. Therefore, Play Back Mode makes it easier to find the root cause of a problem and eventually fix the problem.
Figure 11 shows input signals to the TCM that are necessary for the proper transmission control. In this case, TCM uses CAN for Eng related signal sharing, which are the necessary input to the model as well. Figure 12 shows MDFIMPORT program used to convert the recorded vehicle data (*.dat) to Matlab data format.
3000 2500 2000 1500 1000 500 0 0 50 100 150 BVTINSPDF VTINSPDF
FUTURE DEVELOPMENT
The above described 6 Speed HIL environment offers the ability to evaluate real-world data against previously discussed model. The extensions of this capability will follow primary paths. Below are the areas of focus for future development: 1. Increased model fidelity, addressing the following: Add vehicle dynamics to the model by modeling a differential, longitudinal car dynamics and tires. Exercise the current to pressure generation portion (already available in the model) so that it produces the clutch pressures for the transmission clutches. Add a hydraulic plant to model the transmission hydraulics; SimHydraulics physical modeling block-set could be utilized for this purpose. Use Simulink Parameter Estimation to dynamically tune the model parameters to further refine performance. Improved Engine model
3000 2500 2000 1500 1000 500 0 0 50 100 150 BVOUTSPDF VOUTSPDF
3000 2500 2000 1500 1000 500 0 0 50 100 150 BVRPM VRPM
2. Increased TCM HW and SW Test Coverage (items described in the INTRODUCTION not addressed in this paper): Increased test coverage software applications. for current TCM
Automation of existing and newly-developed test cases. Development of more sophisticated pass/fail determination of test cases.
CONCLUSION
900 800 700 600 500 400 300 200 100 0 -100106 111 BAUTCURA BAUTCURB BAUTCURD BAUTCURE AUTCURA AUTCURB AUTCURD AUTCURE
In this paper, we presented the development of the 6speed automatic transmission plant dynamics model for the Delphis HIL Virtual Car Test Bench and how the HIL bench is used in the verification and validation of production controller and software. System architecture, plant model, bench capabilities and example test cases are presented. Finally, future development is given.
REFERENCES
1. Q. Zheng, W. Chung, K. Defore and A. Herman, A Hardware-in-the-loop Test Bench for Production Transmission Controls Software Quality Validation, SAE Technical Paper, No. 2007-01-0502, 2007.
CONTACT
Quan Zheng, Ph.D. Staff Research Engineer -Forward Transmission Controls Delphi Powertrain Systems Technical Center Brighton 12501 E. Grand River, Brighton, MI 48116 Phone: 810-494-4546 Email: quan.zheng@delphi.com Asif Habeebullah Systems Engineer Delphi Powertrain Systems Technical Center Brighton 12501 E. Grand River, Brighton, MI 48116 Email: asif.habeebullah@delphi.com Woowon Chung Senior Project Engineer - Forward Transmission Algorithms Delphi Powertrain Systems Technical Center Brighton 12501 E. Grand River, Brighton, MI 48116 Phone: 810-494-4539 Email: woowon.w.chung@delphi.com Andrew Herman Staff Engineer- Forward Transmission Algorithms Delphi Powertrain Systems Technical Center Brighton 12501 E. Grand River, Brighton, MI 48116 Phone: 810-494-4483 Email: andrew.herman@delphi.com