DEVELOPMENT AND IMPLEMENTATION OF DISTRIBUTED HARDWARE-IN-THE-LOOP SIMULATOR FOR AUTOMOTIVE ENGINE CONTROL SYSTEMS

  • YOON M. (Department of Automotive Engineering, Hanyang University) ;
  • LEE W. (Department of Control and Instrumentation Engineering, Changwon National University) ;
  • SUNWOO M. (Department of Automotive Engineering, Hanyang University)
  • Published : 2005.04.01

Abstract

A distributed hardware-in-the-loop simulation (HILS) platform is developed for designing an automotive engine control system. The HILS equipment consists of a widely used PC and commercial-off-the-shelf (COTS) I/O boards instead of a powerful computing system and custom-made I/O boards. The distributed structure of the HILS system supplements the lack of computing power. These features make the HILS equipment more cost-effective and flexible. The HILS uses an automatic code generation extension, REAL-TIME WORKSHOP$^{ (RTW$^{) of MATLAB$^{ tool-chain and RT-LAB$^{, which enables distributed simulation as well as the detection and generation of digital event between simulation time steps. The mean value engine model, which is used in control design phase, is imported into this HILS. The engine model is supplemented with some I/O subsystems and I/O boards to interface actual input and output signals in real-time. The I/O subsystems are designed to imitate real sensor signals with high fidelity as well as to convert the raw data of the I/O boards to the appropriate forms for proper interfaces. A lot of attention is paid to the generation of a precise crank/ earn signal which has the problem of quantization in a conventional fixed time step simulation. The detection of injection! command signal which occurs between simulation time steps are also successfully compensated. In order to prove the feasibility of the proposed environment, a simple PI controller for an air-to-fuel ratio (AFR) control is used. The proposed HILS environment and I/O systems are shown to be an efficient tool to develop various control functions and to validate the software and hardware of the engine control system.

Keywords

References

  1. Babbitt, R. and Moskwa, J. (1999). Implementation details and test results for a transient engine dynamometer and hardware in the loop vehicle model. Proc. 1999 IEEE Int'l Sym. on CACSD, Hawaii, USA, 569-574
  2. Baracos, P., Murere, G., Rabbath, C. A. and Jin, W. (2001). Enabling PC-based HIL simulation for automotive applications. Electric Machines and Drives Conference, 721-729
  3. Boot, R., Richert, J. and Schutte, H. (1999). Automated test of ECUs in a hardware-in-the-loop simulation environment. Proc. 1999 IEEE Int'l Sym. on CACSD, Hawaii, USA, 587-594
  4. Chiasson, J. N. and Tolbert, L. M. (2002). A library of simulink blocks for real-time control of HEV traction drives. SAE Paper No. 2002-01-1934
  5. Dobner, D. J. (1983). Dynamic engine models for control development - part I: nonlinear and linear model formulation. Int. J. Vehicle Design, Technological Advances in Vehicle Design Series, SP4
  6. Hanselmann, H. (1996). Hardware-in-the-loop simulation testing and its integration into a CACSD toolset. Proc. 1996 IEEE Int'l Sym. on CACSD, Dearborn, MI, 152-156
  7. Hendricks, E. and Sorenson, S. C. (1990). Mean value modeling of spark ignition engines. SAE Paper No. 900616
  8. Isermann, R., Schaffnit, J. and Sinsel, S. (1999). Hardware-in-the-loop simulation for the design and testing of engine-control systems. Control Engineering Practice, 7, 643-653 https://doi.org/10.1016/S0967-0661(98)00205-6
  9. Kendall, I. R. and Jones, R. P. (1999). An investigation into the use of hardware-in-the-loop simulation testing for automotive electronic control systems. Control Engineering Practice, 7, 1343-1356 https://doi.org/10.1016/S0967-0661(99)00103-3
  10. Lee, W., Yoon, M., and Sunwoo, M. (2003). A cost-and time-effective hardware-in-the-loop simulation platform for automotive engine control systems. Proc. Institution of Mechanical Engineers, 217, Part D: J. Automobile Engineering, 41-52 https://doi.org/10.1243/095440703762702969
  11. Linjama, M., Virvalo, T., Gustafsson, J., Lintula, J., Aaltonen, V. and Kivikoski, M. (2000). Hardware-inthe-loop environment for servo system controller design, tuning and testing. Microprocessors and Microsystems, 24, 13-21 https://doi.org/10.1016/S0141-9331(00)00062-4
  12. Maclay, D. (1997). Simulation gets into the loop. lEE Review, 43, 109-112
  13. Moskwa, J. J. and Hedrick, J. K. (1992). Modeling and validation of automotive engines for control algorithm development. Trans. ASME, J. Dynamic Systems, Measurement and Control, 114, 278-285 https://doi.org/10.1115/1.2896525
  14. Motorola (2000). Motorola Low-Level Drivers User's Manual
  15. Motorola (1999). MPC555 User's Manual
  16. Opal-RT Technologies Inc. (2000). RT-EVENT User's Guide
  17. Opal-RT Technologies Inc. (2000). RT-LAB User's Guide
  18. Ozard, J. and Desira, H. (2000). Simulink model implementation on multi-processors under windowsNT. Military, Government And Aerospace Simulation Symposium, 197-204
  19. Papini, M. and Baracos, P. (2000). Real-time simulation, control and HIL with COTS computing clusters. Modeling and Simulation Technologies
  20. Pollini, L. and Innocenti, M. (2000). A synthetic environment for dynamic systems control and distributed simulation. Control Systems Magazine, IEEE 20, 2, 49 -61 https://doi.org/10.1109/37.833640
  21. Powell, B. K. and Cook, A. (1987). Nonlinear low frequency phenomenological engine modeling and analysis. Proc. American Control Conference, 332-340
  22. Rabbath, C. A, Abdoune, M. and Belanger, J. (2000). Effective real-time simulations of event-based systems. Simulation Conference, Proceedings. Winter, 1, 232-238
  23. Rabbath, C. A., Desira, H. and Butts, K. (2001). Effective modeling and simulation of internal combustion engine control systems. Proc. American Control Conference,2,1321-1326
  24. Raman, S., Sivashankar, N., Milam, W., Stuart, W. and Nabi, s. (1999). Design and implementation of HIL simulators for powertrain control system software development. Proc. American Control Conference, San Diego, California, 709-713
  25. Stasko, J. C., Crandell, R. L., Dunn, M. T., Sureshbabu, N. and Weber, W. (1998). The versatile hardware-inthe-loop laboratory: beyond the ad-hoc fixture. Proc. American Control Conference, 508-512
  26. Yoon, P. J. and Sunwoo, M. (1999). A nonlinear dynamic engine modeling for controller design. Trans. Korean Society Automotive Engineers 7, 7, 167-18