VIRTUAL DIESEL ENGINE IN SIMULINK

Similar documents
Slide Basic system Models

LMS Imagine.Lab AMESim Powertrain Transmission

Clutch and Operation as a System

Selecting and Sizing Ball Screw Drives

Equivalent Spring Stiffness

THE INFLUENCE OF STRUCTURAL FEATURES ON VIBRATION OF THE PROPELLER ENGINE TEST BENCH

HYDRAULIC ARM MODELING VIA MATLAB SIMHYDRAULICS

Rotation: Moment of Inertia and Torque

AIR POWERED ENGINE INTRODUCTION. Pramod Kumar.J Mechanical Engineer, Bangalore, INDIAs

SOLID MECHANICS TUTORIAL MECHANISMS KINEMATICS - VELOCITY AND ACCELERATION DIAGRAMS

The dynamic equation for the angular motion of the wheel is R w F t R w F w ]/ J w

Modeling Mechanical Systems

The Basics of FEA Procedure

PREDICTION OF MACHINE TOOL SPINDLE S DYNAMICS BASED ON A THERMO-MECHANICAL MODEL

POTENTIAL OF STATE-FEEDBACK CONTROL FOR MACHINE TOOLS DRIVES

Lab 7: Rotational Motion

Manufacturing Equipment Modeling

INTERNAL COMBUSTION (IC) ENGINES

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Electronic Power Control

Modeling and Simulation of Heavy Truck with MWorks

EFFECTS ON NUMBER OF CABLES FOR MODAL ANALYSIS OF CABLE-STAYED BRIDGES

Performance Study based on Matlab Modeling for Hybrid Electric Vehicles

SIMULATION MODEL OF THE SINGLECYLINDER COMBUSTION ENGINE MZ125

Advantages of Auto-tuning for Servo-motors

Ryan F. Schkoda, Ph.D. Postdoctoral Fellow Wind Turbine Drivetrain Testing Facility Charleston, SC

Unit - 6 Vibrations of Two Degree of Freedom Systems

Center of Gravity. We touched on this briefly in chapter 7! x 2

Dynamic Load and Stress Analysis of a Crankshaft

Active Vibration Isolation of an Unbalanced Machine Spindle

Evaluation of the Automatic Transmission Model in HVE Version 7.1

THE COMPOSITE DISC - A NEW JOINT FOR HIGH POWER DRIVESHAFTS

Harmonic Drive acutator P r e c i s i o n G e a r i n g & M o t i o n C o n t r o l

Integrating ADAMS Software into an Upper Division Mechanical Design and Analysis Course

TYPE APPROVAL CERTIFICATION SCHEME MASS PRODUCED DIESEL ENGINES

CATIA V5 Tutorials. Mechanism Design & Animation. Release 18. Nader G. Zamani. University of Windsor. Jonathan M. Weaver. University of Detroit Mercy

Physics 9e/Cutnell. correlated to the. College Board AP Physics 1 Course Objectives

Using Design Accelerators in Autodesk Inventor

Engine Optimization Concepts for CVT-Hybrid Systems to Obtain the Best Performance and Fuel Efficiency. Professor Andrew A. Frank Univ.

LINEAR MOTOR CONTROL IN ACTIVE SUSPENSION SYSTEMS

Mounting instructions. Acceleration Transducer B12. B 26.B12.10 en

TOYOTA ELECTRONIC CONTROL TRANSMISSION

Optimization of Point-to-Point Positioning with a Non-linear Mechanical Connection

Robustness to unintended ignition key rotation with key ring only

PHYSICS 111 HOMEWORK SOLUTION #9. April 5, 2013

The Use of Optimization Software TOSCA in a Standard Flexplate Design Process

Design of a Universal Robot End-effector for Straight-line Pick-up Motion

Virtual Prototyping of Aerospace Systems Using Integrated LMS Virtual.Lab and IMAGINE AMESim

The Ogunmuyiwa Engine Cycle

IDENTIFICATION OF STIFFNESS AND DAMPING COEFFICIENTS OF AEROSTATIC JOURNAL BEARING

Chapter 10 Rotational Motion. Copyright 2009 Pearson Education, Inc.

10. CNC Hardware Basics

6. VVT-i (Variable Valve Timing-intelligent) System

Vibrations can have an adverse effect on the accuracy of the end effector of a

Rotational Inertia Demonstrator

NVH Challenges in context of ECO vehicles Automotive Testing Expo Automotive Testing Expo 2010 ECO-vehicle

THE UNIVERSITY OF TEXAS AT AUSTIN Department of Aerospace Engineering and Engineering Mechanics. EM 311M - DYNAMICS Spring 2012 SYLLABUS

Driveability Simulation in the continuous development process. Dr. Josef Zehetner, DI Matthias Dank, Dr. Peter Schöggl, AVL List GmbH, Graz

UNIT 1 INTRODUCTION TO AUTOMOBILE ENGINEERING

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Frequecy Comparison and Optimization of Forged Steel and Ductile Cast Iron Crankshafts

Centripetal Force. This result is independent of the size of r. A full circle has 2π rad, and 360 deg = 2π rad.

Clutch Systems. Innovative Solutions for All Roads

Research on Vehicle Dynamics Simulation for Driving Simulator Fang Tang a, Yanding Wei b, Xiaojun Zhou c, Zhuhui Luo d, Mingxiang Xie e, Peixin Li f

Harmonic oscillations of spiral springs Springs linked in parallel and in series

Force measurement. Forces VECTORIAL ISSUES ACTION ET RÉACTION ISOSTATISM

Dynamics of Offshore Wind Turbines

HPF Hollow Shaft Unit Type

REDESIGN OF THE INTAKE CAMS OF A FORMULA STUDENT RACING CAR

The Effects of Wheelbase and Track on Vehicle Dynamics. Automotive vehicles move by delivering rotational forces from the engine to

Section 5.0 : Horn Physics. By Martin J. King, 6/29/08 Copyright 2008 by Martin J. King. All Rights Reserved.

Quick Reference Catalog

DYNAMICAL ANALYSIS OF SILO SURFACE CLEANING ROBOT USING FINITE ELEMENT METHOD

KINETIC ENERGY RECOVERY SYSTEM BY MEANS OF FLYWHEEL ENERGY STORAGE

Bearing Stiffness Determination through Vibration Analysis of Shaft Line of Bieudron Hydro Powerplant

Comparison of the Response of a Simple Structure to Single Axis and Multiple Axis Random Vibration Inputs

Electronic Diesel Control EDC 16

Solution: Angular velocity in consistent units (Table 8.1): Velocity of a point on the disk: Rate at which bits pass by the read/write head:

International Journal of Engineering Research-Online A Peer Reviewed International Journal Articles available online

BLIND TEST ON DAMAGE DETECTION OF A STEEL FRAME STRUCTURE

Enhancing the SNR of the Fiber Optic Rotation Sensor using the LMS Algorithm

EXPERIMENT NO. 3. Aim: To study the construction and working of 4- stroke petrol / diesel engine.

Series 6000 Torque measured metal bellow coupling

Physics 41 HW Set 1 Chapter 15

Linear Motion vs. Rotational Motion

PHYS 101-4M, Fall 2005 Exam #3. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MCE380: Measurements and Instrumentation Lab. Chapter 9: Force, Torque and Strain Measurements

DESIGN AND DEVELOPMENT OF LINEAR MAGNETIC GENERATOR

Lecture 16. Newton s Second Law for Rotation. Moment of Inertia. Angular momentum. Cutnell+Johnson: 9.4, 9.6

association adilca THE ENGINE TORQUE

Stepper motor I/O. Application Note DK Motion Control. A General information on stepper motors

FXA UNIT G484 Module Simple Harmonic Oscillations 11. frequency of the applied = natural frequency of the

ANTI LOCK BRAKING SYSTEM MODELLING AND DEVELOPMENT

B Dinesh Prabhu, Asst. Professor, P E S College Engg., Mandya, KARNATAKA 1

Centripetal force, rotary motion, angular velocity, apparent force.

CHAPTER 6 DESIGN OF SIX DEGREES OF FREEDOM AIRCRAFT MODEL AND LONGITUDINAL AUTOPILOT FOR AUTONOMOUS LANDING

Adams Geometric Nonlinearity via Adams FE Part - Fully Integrated Inside Adams RELEASE OVERVIEW. MSC Software: Release Overview - Adams 2014

Practice Exam Three Solutions

Application Information

Transcription:

VIRTUAL DIESEL ENGINE IN SIMULINK Pavel Kučera 1, Václav Píštěk 2 Summary: The article describes the modelling of a virtual diesel engine. The engine is created using basic blocks from the Simulink library. Its input values were obtained using measurements and modified according to the actual engine configuration. The details of these measurements are not presented in this article. The description of a virtual engine simulation is given and, in the end, a comparison with the values of a real engine is discussed. Key words: Diesel Engine, Virtual Engine, Simulink, Torsion Model INTRODUCTION Nowadays, the demand for the development of virtual applications is continuously rising in order to avoid as many problems associated with the first prototype testing as possible. This also helps to accelerate the development and subsequently reduces the costs of running the actual prototype. The support for the development of these applications varies between different fields of use, aided significantly by pre-prepared default models for numerous applications. In some cases, only modifications of the input parameters are necessary for their successful use. And if a need for broader adjustments arises, an integrated library with a wide range of basic elements, from which our desired computational model can be built, is available. This article presents a virtual diesel engine create using the basic elements contained in the library of the Simulink software package. The model, based on a real eight-cylinder diesel engine, will be used to drive virtual powertrains in further simulations. The aim was to create a model of the engine capable of representing the real engine in a virtual environment with sufficient accuracy. Therefore, flexible elements for the simulation of torsional vibrations were also incorporated. The Simulink software environment was used to create the model. This environment is able to serve for developing custom models and running various simulations, such as realtime simulations if appropriate hardware equipment is available. In that situation, it is even possible to run an assembly of multiple models representing the whole vehicle. 1 Ing. Pavel Kučera, Brno University of Technology, Faculty of Mechanical Engineering, Institute of Automotive Engineering, Technická 2896/2, 616 69 Brno, Tel.: +420 541 142 252, Fax: +420 541 143 354, E-mail: kucera@iae.fme.vutbr.cz 2 prof. Ing. Václav Píštěk, DrSc., Brno University of Technology, Faculty of Mechanical Engineering, Institute of Automotive Engineering, Technická 2896/2, 616 69 Brno, Tel.: +420 541 142 271, Fax: +420 541 143 354, E-mail: pistek.v@fme.vutbr.cz Kučera, Píštěk: Virtual diesel Engine in Simulink 95

1. THE INPUT DATA FOR A VIRTUAL ENGINE 1.1 Engine torque calculation One of the inputs for the model is a curve of pressure indicated in the engine cylinder for speeds ranging from 800 rpm to 2000 rpm, from which the engine torque curve was calculated in accordance with the literature (4). Fundamental engine parameters were used for the calculation, i.e. the cylinder diameter of 120mm, the engine stroke of 140 mm and the length of the connecting rod of 260 mm. From these input values, forces acting on the crank mechanism as shown in Fig. 1 could be calculated. The force resulting from the pressure in the cylinder: (1) where S p is the area of the piston, p ind the indicated cylinder pressure, p atm the atmospheric pressure and i the i-th computational step. As the inertial forces of moving parts are also included in the calculation, it was necessary to know the reduced overall mass of relevant components. This mass is included in the following equation for the inertial forces of movable parts: (2) where m p is the reduced overall mass of movable engine components, R crank the radius of the crankshaft, the crankshaft ratio and α the crank angle. The force acting in the axial direction of the cylinder: (3) The force acting on the connecting rod axis: (4) where β is the connecting rod angle. The force acting tangentially on the crank throw: The engine torque: (5) (6) Fig. 1 The forces in the crank mechanism 1.2 Torque maps To obtain the engine torque maps, a script which solves the torque values for a given engine speed from the indicated cylinder pressure according to the equations in chapter 1.1 was written using the Matlab software package. Individual values are sorted in the appropriate elements of three-dimensional matrices with the dimensions of 13x720x2 for each cylinder. A three-dimensional matrix is composed of two two-dimensional arrays which contain the Kučera, Píštěk: Virtual diesel Engine in Simulink 96

values of torque for maximum and minimum fuel supply respectively. The 13 matrix rows represent the engine speed range from 800 rpm to 2000 rpm with a step of 100 rpm. Fig. 2 The torque map for maximum engine load and maximum fuel supply The 720 matrix columns stand for the change of the torque after a 1 degree step in the crank angle. It therefore makes up for a one whole four-stroke engine cycle (two rotations of the crank) which is divided into 720 steps. Fig. 3 The torque map for engine braking and minimum fuel supply These two two-dimensional matrices are concatenated, which results in a threedimensional matrix. The third dimension has a value of 2 which corresponds to maximum and minimum fuel supply. The matrices are then individually shifted so that they are in phase with the corresponding cylinder ignitions. Fig. 2 shows the torque map for a maximum load and a maximum fuel supply with the torque maximum located between engine speeds from 1100 Kučera, Píštěk: Virtual diesel Engine in Simulink 97

rpm to 1200 rpm highlighted. The torque map for a minimum fuel supply and engine braking is shown in Fig. 3. A comparison of the two maps is then given in Fig. 4. Fig. 4 The comparison of two torque maps Between the torque curves extremes, a range for the model s torque output control emerges for certain crank angles. This range is illustrated in Fig. 5 Fig. 5 The range for engine control The above mentioned matrices are used as an input to the engine model and the torque values for a given engine speed, the crankshaft position and the accelerator pedal position are loaded from them in each simulation step. Kučera, Píštěk: Virtual diesel Engine in Simulink 98

1.3 The torsional vibrations of the engine The computational model includes flexible elements in order to simulate torsional vibrations. This vibration simulation was based on the torsional system shown in Fig. 6. Fig. 6 Dynamic crank mechanism model The torsional model is composed of seven reduced engine inertia values and six stiffness blocks between discs. A disc with the J8 inertia represents a dynamometer, while c7 is the stiffness of a shaft connecting the engine to the dynamometer. To compare the torsional model with the virtual engine, general Lagrange s equations in their simplified form which assumes undamped vibrations without external forces are used in accordance with the following equation: (7) where is the vector of generalized coordinates. The equation is then transformed to the eigenvalues solution and angular natural frequencies are thus obtained by a square root of the eigenvalues of the M -1 C matrix (5). The resulting natural frequencies are compared with the natural frequencies acquired by linearization of the computational model in chapter 3.1, Tab. 1. 2. VIRTUAL ENGINE MODEL 2.1 Subsystems The virtual engine model in Fig. 7 consists of the basic elements from the Simulink library and is formed by three subsystems. The first subsystem performs the function of a throttle pedal signal generator, where the input value is chosen from the range of 0-100, with an additional input for the engine s idle speed settings. Signals are then transformed by the subsystem to a range of 0-1. The second subsystem is the model of a diesel engine, which loads the input data including those of torsional stiffness, moments of inertia, torque maps or the value of engine speed limit. Finally, the third subsystem is used for running the engine in various modes it is basically a virtual dynamometer. The instructions for modelling in Simulink were gathered from the book (1). Kučera, Píštěk: Virtual diesel Engine in Simulink 99

Fig. 7 A virtual engine composed of subsystems 2.2 The engine model The main subsystem of the model is the engine model as shown in Fig. 8 Fig. 8 The engine subsystem The engine model is based on a torsional model which includes rotating masses - represented in Fig. 8 by the blue blocks. Therefore, their moments of inertia serve as an input. Individual rotating masses are interconnected by torsion springs defined by their stiffness and damping properties. These elements represent only the rotational movement while further blocks are connected to each of the rotating masses JM3-JM6, serving as a torque output from individual cylinders. To each of these blocks, a three-dimensional table that loads the generated three-dimensional matrix with the torque input data is connected. As already mentioned, the matrix is shifted for each cylinder separately according to the engine s ignition Kučera, Píštěk: Virtual diesel Engine in Simulink 100

sequence. Three values must be entered into these tables so that the appropriate value can be selected from the 3D map. If this selected value lies between the values specified in the three-dimensional matrix, it is automatically calculated by the means of extrapolation and interpolation methods used between the nearest values. These methods are set as linear. The first input is the actual engine speed in the range from 800 rpm to 2000 rpm. The second input is the crank angle which is monitored by the orange block depicted in Fig. 8. There are other subsystems for each crank throw in this block, which synchronize the crank angle with the torque map. The third input is the throttle position which indicates its position in regards to the maximum (maximum load) and minimum (engine braking) fuel supply. Another important feature of the engine model is the engine speed limiter which sets the throttle position to zero after exceeding the pre-set limit. The final parts of the model are the elements substituting mechanical losses. For this purpose, rotary dampers which increase the torque with increasing speed are used. This torque counteracts the torque generated by the indicated pressure in the engine cylinders and thus simulates the engine mechanical losses. The output torque of the model should therefore be consistent with the torque measured on a real engine. 2.3 Dynamometer model The dynamometer model is formed by a rotational mass with the dynamometer s moment of inertia assigned to it and by a block representing the stiffness of the shaft linking the dynamometer to the engine. This subsystem generates a torque which counteracts the engine torque to achieve the desired engine speed. It is possible to replace this dynamometer subsystem with a virtual powertrain in order to simulate the vehicle propulsion. Fig. 9 The dynamometer subsystem Kučera, Píštěk: Virtual diesel Engine in Simulink 101

3. VIRTUAL ENGINE SIMULATION 3.1 Linearization of the model The calculation was set to a fixed step and the ode14x solver that combines the Newton s and extrapolation methods was used. This solver is recommended when running program calculations for models with flexible elements. The same settings were used for all subsequent simulations. Virtual models created in Simulink can be linearized using Matlab commands. As stated in the book (2), linmod is a suitable command for this purpose. This command finds matrices A, B, C, D, where the matrix A is a matrix system. From this matrix, it is possible to obtain the eigenvalues through the eig command. Imaginary components of these numbers contain the natural angular frequencies of the system that are looked for. The results of natural frequency calculations are recorded in Tab. 1. These values are then compared with the values obtained from the equations of motion introduced in chapter 1.3 and simulations presented in chapter 3.2. The natural frequency of the torsional model with the dynamometer [Hz] Tab. 1 Evaluation of natural frequencies of torsional models The natural frequency of the linearized virtual engine [Hz] The natural frequency of virtual engine simulation [Hz] 3336,2 3336,2 Not evaluated 1355,0 1355,0 Not evaluated 1138,7 1138,7 Not evaluated 1031,4 1031,4 Not evaluated 731,1 731,1 Not evaluated 274,3 274,2 274,3 139,7 139,7 139,3 3.2 Engine Simulation The simulation was running for 5 seconds in total, but already after 2 seconds a stabilized state at the required speed was reached, which in this case was 1487 rpm. The torque curve is recorded from the simulation and the Hann Window is used for its enhanced accuracy. Subsequently, frequencies from this function are evaluated using Fourier Transform as shown in Fig. 10. FFT analysis program was developed in Matlab on the programming basis described in the book (3). Evaluated frequencies of the torsional model represent the natural frequencies of the system and their highest peaks are the engine s angular frequencies of the i-th order. To compare the calculated frequencies with simulations, an engine s angular frequency of the fourth order is calculated in the following equation: where n m is the engine speed in the simulation. (8) Kučera, Píštěk: Virtual diesel Engine in Simulink 102

Fig. 10 The engine simulation at 1487 rpm with damping The fourth order angular frequency is the most prominent one. Other evaluated frequencies are multiplications of the engine s angular frequencies. When damping is not included in the torsional system, then the peaks of the torsional model natural frequencies are also displayed in the evaluation. These values are presented in Fig. 11 and compared in Tab. 1. Fig. 11 The engine simulation at 1487 rpm without damping Kučera, Píštěk: Virtual diesel Engine in Simulink 103

3.3 Speed characteristics of the engine model The next simulation was carried out with the engine being gradually slowed down from a speed of 2000 rpm to a speed of 800 rpm with 100 rpm step. The engine was stabilized at these speeds and a mean torque was obtained. The first simulation was performed without considering the mechanical losses and the engine torque and power were compared with the speed characteristics of the real engine. Then the mechanical losses were included and adjusted so that the torque and power curves of the real and the virtual engine overlapped. The resulting curves from both the virtual and the real engine are shown in Fig. 12. Fig. 12 The engine speed characteristic CONCLUSION The virtual engine was assembled from subsystems which were created by using blocks from the Simulink libraries. The aim was to get the virtual engine to the real diesel engine as close as possible. In the first simulation in chapter 3.2, the natural frequency of the torsional model is not very clear as the virtual engine includes torsional damping. The fourth order engine angular frequency is distinctive in this simulation which was carried out at an engine speed of 1487 rpm. When torsional damping is not included in the torsion model, the torsional model s natural frequency is shown in the FFT analysis. The evaluation of natural frequencies is presented in Tab. 1. From the results of the simulations and calculations it can be concluded that the values of natural frequencies are identical with those obtained in the situation where torsion elements are included in the model. The primary aim was to enable the engine model to perform torsional vibrations and to make the torque from the virtual engine comparable to that of the real engine. This can be established by performing simulations at various engine speeds and comparing them with the outputs of a real engine. The results proved that the virtual engine can be successfully used in Kučera, Píštěk: Virtual diesel Engine in Simulink 104

a virtual environment for driving virtual vehicles with forced oscillations. The engine can also be easily customized for different applications and different ignition sequences in engine cylinders. These complex virtual assemblies can then be used for various analyses or for real-time simulations in the Hardware in the Loop systems. ACKNOWLEDGEMENT The presented work has been supported by European Regional Development Fund in the framework of the research project NETME Centre New Technologies for Mechanical Engineering, project reg. No. CZ.1.05/2.1.00/01.0002, under the Operational Programme Research and Development for Innovation and with the help of the project FSI-J-13-2008 Vehicle Dynamics Modelling II granted by specific university research of Brno University of Technology. This support is gratefully acknowledged. REFERENCES (1) DABNEY, J. B., HARMAN, T. L. Mastering Simulink. Upper Saddle River: Pearson Prentice Hall, 2004, 376 s. ISBN 0-13-142477-7. (2) GREPL, R. Modelování mechatronických systémů v Matlab SimMechanics. 1. vyd. Praha: BEN - technická literatura, 2007, 151 s. ISBN 978-80-7300-226-8. (3) ZAPLATÍLEK, K., DOŇAR, B. MATLAB: začínáme se signály. 1. vyd. Praha: BEN - technická literatura, 2006, 271 s. ISBN 80-7300-200-0. (4) KOŽOUŠEK, J. Výpočet a konstrukce spalovacích motorů II. 1. vyd. Praha: SNTL, 1983, 483 s. (5) PÍŠTĚK, V., ŠTĚTINA, J. Pevnost a životnost. 1. vyd. Brno: VUT Brno, 1993, 205 s. ISBN 80-214-0474-4. Kučera, Píštěk: Virtual diesel Engine in Simulink 105