高性能ECU平台的开发及其应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
现代内燃机技术的发展离不开电控技术,内燃机的科研更离不开电控技术,而且对电控系统具有很高的特殊性和随意性要求,但目前国内外市场上还没有高性能且代码完全开放的ECU平台,来满足科研的特殊性和随意性需求。鉴于此,本文采用32位多核TC1767单片机开发了一个通用化、标准化的高性能ECU平台,包括实时操作系统和通用型ECU标定系统,并利用ECU平台开展高压缩比甲醇发动机和对置式液压自由活塞发动机(OPHFPE)控制系统的研究。
     在操作系统方面,本文提出了一种能完全满足OSEK标准的任务调度实时内核,在此基础上设计完成了一个完全符合OSEK标准的嵌入式实时操作系统,并实现了在TC1767单片机上的稳定运行。在TC1767上运行(120MHz)时测得,实时内核仅需约4.8KB ROM和2.7KB RAM,操作系统启动时间为31.5μs、任务切换时间为2.7μs、中断响应时间为0.7μs。
     在标定系统方面,本文设计开发了一个通用型ECU标定系统,包括上位机标定软件和标定ECU中CCP驱动程序。为了实现通用化,通讯采用CCP协议,标定数据库遵循ASAP2标准,并且设计了灵活可配置的多窗口标定软件界面。标定软件采用VC++6.0开发,整个软件基于MFC的单文档多视图结构,且采用多线程的工作方式。标定软件设计了监测、标定和消息提示三大类功能窗口,能够进行MAP的在线和离线标定,并且设计了在线程序刷写功能。
     利用开发的ECU平台,本文在其之上设计了一个发动机管理系统(EMS),其控制对象为一个柴油机改装的高压缩比甲醇发动机,并对其进行了实验研究。实验表明,高压缩比甲醇机在高速工况时,可以获得更大的功率输出和更高的热效率,而在中低转速时,功率略小于原机,热效率也低于原机。
     针对OPHFPE的特点,本文提出了一种预测前馈加PI反馈的适用于OPHFPE控制系统的算法原理,据此原理采用Matlab/Simulink建立了控制系统模型,并通过Matlab/Real-Time Workshop将控制系统模型自动生成C代码,实现了与ECU平台的融合,形成了最终的OPHFPE控制系统。为了对控制系统进行测试,采用AMESim建立了OPHFPE发动机系统仿真模型,在此基础上组建了OPHFPE软件在环和硬件在环测试平台。在环测试表明,本文提出的OPHFPE控制系统算法原理是可行的,能够控制OPHFPE的稳定运行,并且对可能出现的各种干扰具有很好的预测和抑制作用,同时也证明了本文建立的OPHFPE发动机系统仿真模型以及软件在环和硬件在环测试平台都是可行的。
The development of modern internal combustion engine, as well as its scientificresearch cannot be separated from the electronic control technology. What’s more, thescientific research has a high specific and random requirements of electronic controlsystem, however the high-performance and completely open code ECU platformcannot be obtained between from domestic and foreign markets, to meet the specificand random demand. Given all of that, the paper will develop an universal,standardized and high-performance ECU platform using a32-bit multi-coremicrocontroller TC1767, which mainly including an embedded operation system anduniversal ECU calibration system. Moreover, the paper will carry out highcompression ratio methanol engine and opposed-piston hydraulic free piston engine(OPHFPE) control system research, using developed ECU platform.
     The paper proposes a task scheduling real-time kernel, which could fully meetsOSEK standard, and an embedded real-time operation system full complying withOSEK standard was developed, basing on the proposed kernel. The developedoperation system can run on the TC1767microcontroller stably. Running on TC1767(120MHz), its performances was measured as follow: the real-time kernel onlyneeding about4.8KB ROM and2.7KB RAM, system start-up time being31.5μs,task switching time being2.7μs and interrupt response time being0.7μs.
     The paper designs and develops an universal ECU calibration system, mainlyincluding upper-computer calibration software and CCP driver of calibration ECU. Inorder to achieve universal, communication employs CCP protocol, calibrationdatabase follows ASAP2standard, as well as a fexible and configurablemulti-window user interface of calibration software was designed. The calibrationsoftware was developed by VC++6.0, basing on MFC single document multi-viewstructure with using of multi-threading. The calibration software was designed to havemonitor, calibration and message prompt three categories of funciton window capableof online and offline MAP calibration, as well as online flash programming.
     The engine management system (EMS) for a high compression ratio methanolengine refitted by a four-cylinder turbocharged and intercooled diesel engine wasestablished on the basis of ECU platform. Experiment study on the methanol engine was carried out under the control of EMS and calibration system. Experiments showthat the high compression ratio methanol engine has a greater power output and higherthermal efficiency in the high speed condition, while it has slightly smaller poweroutput and lower thermal efficiency in the low and middle speed condition.
     On the characteristic of OPHFPE engine, the paper proposed a predictivefeedforward and PI feedback OPHFPE control system algorithm principle. Based onthe algorithm principle, the control system model was established by Matlab/Simulink,and the code of control system model was automatically generated byMatlab/Real-Time Workshop to integrate with ECU platform, forming final OPHFPEcontrol system. In order to test the control system, the OPHFPE engine systemsimulation model was established by AMESim, as well as software-in-the-loop andhardware-in-the-loop test platforms were also established. In-the-loop test showedthat the proposed OPHFPE control system algorithm principle was able to controlstable operation of OPHFPE, and had a good prediction of all sorts of possibleinterference and inhibition, and that the designed OPHFPE engine system simulationmodel and software/hardware-in-the-loop test platforms were also feasible.
引文
[1]周龙宝,内燃机学(第2版),北京:机械工业出版社,2005
    [2]中华人民共和国国家统计局,中华人民共和国2011年国民经济和社会发展统计公报,2011
    [3] http://politics.people.com.cn/GB/1027/12643196.html
    [4]徐向东,国家石油战略浅析,经济师,2010,3:85~86
    [5]刘明,中国汽车市场分析及车用石油需求预测,国际石油经济,2006,12:1~3
    [6]崔民选,中国能源发展报告,北京:社会科学文献出版社,2010
    [7] BP世界能源统计2011, BP公司,2011
    [8] http://www.askci.com/news/201201/17/115027_63.shtml
    [9]张志华,内燃机排放与噪声控制,哈尔滨:哈尔滨工程大学出版社,1999
    [10] J. Warnatz, U. Maas, R.W. Dibble, Combustion: Physical&ChemicalFundamentals, Modeling&Simulation, Experiments, Pollutant Formation (4thed.),Berlin Heidelberg: Spring-Verlag,2006
    [11] J. B. Heywood, Internal Combustion Engine Fundamentals, New York:McGraw-Hill Book Company,1998
    [12]樊志卿,汽车排放法规与发动机控制技术,上海标准化,2002,5:38~44
    [13] http://www.gov.cn/jrzg/2011-12/20/content_2024234.htm
    [14]中国国家环境保护总局,GB18352.3—2005,轻型汽车污染物排放限值及测量方法(中国Ⅲ、Ⅳ阶段)
    [15]王尚勇,杨青,柴油机电子控制技术,北京:机械工业出版社,2005
    [16] H. Wallentowitz, T. Dellmann, Mechatronic systems in vehicle technology,Lecture Manuscript, RWTH-Aachen,2004
    [17] Scott Eisenhart, Dave Baum, Hardware/Software Partitioning for AutomotiveMultiplex Systems, SAE Paper910711,1991
    [18]王绍銧,李建秋,夏群生等,汽车电子学(第2版),北京:清华大学出版社,2011
    [19] Everett Lumpkin, Michael Gabrick, Hardware/Software Design andDevelopment Process, SAE Paper2006-01-0170,2003
    [20] Scott Andrews, Onboard Hardware&Software: Common Open StandardSolutions, SAE Paper2000-01-C020,2000
    [21] Gerhard Hettich, Günther Alberter, Architectures for Electronic PowertrainControl, SAE Paper970024,1997
    [22] Driving the Future of Automotive Electronics, Infineon Technologies AG,2008
    [23] A Fast Powertrain Microcontroller, Infineon Technologies AG,2006
    [24] Patrick Leteinturier, Simon Brewerton, Klaus Scheibert, MultiCore Benefits&Challenges for Automotive Applications, SAE Paper2008-01-0989,2008
    [25] Patrick Leteinturier, Key Factors in Improving Microcontroller Performance andFeatures, SAE Paper2006-21-0006,2006
    [26] Jens Eltze, Flexible CPU Architecture to Handle Single-and Multi-coreApplications in Embedded Automotive Systems, SAE Paper2009-01-0517,2009
    [27] Kyungil Seo, Taeyoung Chung, Kyongsu Yi, et al, An Investigation intoMulti-Core Architectures to Improve a Processing Performance of the Unified ChassisControl Algorithms, SAE Paper2010-01-0662,2010
    [28] Patrick Leteinturier, Boris Vittorelli, AUDO Architecture A Solution toAutomotive Micro-Controller Requirements, SAE Paper2000-01-0145,2000
    [29]http://www.infineon.com/cms/en/product/microcontrollers/32-bit-tricore?-microcontrollers/channel.html?channel=ff80808112ab681d0112ab6b64b50805
    [30] Ingolf H. Krüger, Edward C. Nelson, K. Venkatesh Prasad, Service-BasedSoftware Development for Automotive Applications, SAE Paper2004-21-0040,2004
    [31] Ali F. Maleki,2009-01-2924: Embedded Software Engineering in automotiveand Truck Electronics, SAE Paper2009-01-2924,2009
    [32] Rajesh Kumar Katyal, Srinath S,2011-01-1265: Virtualization for ECU PlatformSoftware Testing in Automotive Embedded, SAE Paper2011-01-1265,2011
    [33] Larry Leveille, Patricia M. Gary, James Brown, The Embedded Cake: A LayersModel of Embedded Systems, SAE Paper2002-01-0872,2002
    [34] Tobias Wenzel, Rafael Zalman, Dian Tresna Nugraha, et al, ImplementingAutomotive Microcontroller Abstraction Layer (MCAL) on32bit Architectures, SAEPaper2006-01-1554,2006
    [35]吴迪,郝军,沙毅,嵌入式系统原理、设计与应用,北京:机械工业出版社,2005
    [36] Pierre Malaterre, OSEK: A Standard in the fields, SAE Paper2006-21-0021,2006
    [37] David Brook, Embedded Real Time Operating Systems and the OSEK Standard,SAE Paper2000-01-0382,2000
    [38] U. Kiencke, K. J. Neumann, L. Frey, et al, Open Systems and Interfaces forDistributed Electronics in Cars (OSEK), SAE Paper950291,1995
    [39] Thierry Rolina, Nigel Tracey, Why Switch to an OSEK RTOS and How toAddress the Associated Challenges, SAE Paper2005-01-0312,2005
    [40] Per Johannessen, AUTOSAR Safety Approach, SAE Paper2006-21-0044,2006
    [41] Helmut Fennel, Stefan Bunzel, Harald Heinecke, et al, Achievements andExploitation of the AUTOSAR Development Partnership, SAE Paper2006-21-0019,2006
    [42] Sandeep U. Menon, Use of AUTOSAR Framework to Assist Software FieldProgramming, SAE Paper2010-01-0671,2010
    [43] Simon Brewerton, Rolf Schneider, Frank Grosshauser, Practical Use ofAUTOSAR in Safety Critical Automotive Systems, SAE Paper2009-01-0748,2009
    [44] OSEK, OSEK/VDX Binding Specification Version1.4.2,2004,http://www.osek-vdx.org/
    [45] AUTOSAR, Layered Software Architecture Version2.2.2,2008,http://www.autosar.org/
    [46]魏学哲,戴海峰,汽车嵌入式系统原理、设计与实现,北京:电子工业出版社,2010
    [47] Jochen Schoof, David Wybo, No Detour Needed: Getting to AUTOSAR viaOSEK, SAE Paper2006-01-0168,2006
    [48] Gerulf Kinkelin, Alain Gilberg, Bertrand Delord, et al, AUTOSAR on the Road,SAE Paper2008-21-0019,2008
    [49] Juergen Cordes, Markus Zetlmeisl, AUTOSAR Gets on the Road-More andMore, SAE Paper2012-01-0014,2012
    [50] Uwe Kiencke, Carsten Thierer, The OSEK/VDX Standard for AutomotiveApplications-Current Status, SAE Paper2000-01-0385,2000
    [51]李计融,钟再敏,车载控制器匹配标定ASAP标准综述,汽车技术,2004,10:1~3
    [52] John Feng, Josef Hobelsberger, ASAM-ODS: An Open Standards EngineeringDatabase for NVH Activities, SAE2003-01-1441,2003
    [53] Christoph Dallmayr, Oliver Schlüter, ECU Software Development withDiagnostics and Flash Down-Loading According to International Standards, SAEPaper2004-01-0273,2004
    [54] Otmar D. Foehner, Wilfried Melder, Ralf Mueller, ASAM: Standards inMeasurement and Automation Technology, SAE Paper2000-01-0391,2000
    [55] ASAM, ASAM MCD-2MC Version1.6-Measurement and Calibration DataSpecification,2009
    [56] http://www.etas.com/zh/products/rta_osek.php
    [57] http://www.vector.com/vi_oscan_en.html
    [58]李克,共轨式发动机控制单元(ECU)的研究:[博士学位论文],天津:天津大学,2009
    [59]朱晓明,宋国民,张爱云等,基于双核的柴油机高压共轨ECU的开发,现代车用动力,2010,138:13~16
    [60]张宝民,孙晓民,基于OSEK规范的嵌入式实时操作系统研究,计算机应用研究,2004,4:32~35
    [61]赵曦,何莉萍,丁舟波,基于OSEK的车用实时操作系统的设计与实现,汽车工程,2009,31(5):448~461
    [62]李付相,王俊席,唐航波等,GD-1高压共轨柴油机电控系统标定平台设计,农业机械学报,2008,39(1):37~40
    [63]李中,杨福源,何桦等,通用型电控发动机ECU匹配标定软件的开发,车用发动机,2008,177:61~66
    [64] Shijo Thomas, R. P. Sharma, Model Based Control of Engines, SAE Paper2007-26-025,2007
    [65] Raymond Turin, Rong Zhang, Man-Feng Chang, Systematic Model-BasedEngine Control Design, SAE Paper2008-01-0994,2008
    [66] Amir H. Shamdani, Amir H. Shamekhi, M. Ziabasharhagh, et al, Air-to-FuelRatio Control of a Turbocharged Diesel Engine Equipped with EGR Using FuzzyLogic Controller, SAE Paper2007-01-0976,2007
    [67] Reza Karbalaei, Mohammad Ali, S. Hamed Tabatabaei, et al, Integrated Controlof AFS and DYC in the Vehicle Yaw Stability Management System Using FuzzyLogic Control, SAE Paper2008-01-1262,2008
    [68] Rafa Longwic, Modelling the Combustion Process in the Diesel Engine with theUse of Neural Networks, SAE Paper2008-01-2446,2008
    [69] Vijay Manikandan Janakiraman, Saikishan Suryanarayanan, S. Saravanan,Analysis of the Effect of In-cylinder Parameters on NOX and HC Emissions of a CIEngine Using Artificial Neural Networks, SAE Paper2006-01-3313,2006
    [70] J rg Sch uffele, Thomas Zurawka,汽车软件工程:原理·过程·方法·工具(张聚译),北京:电子工业出版社,2008
    [71] R. Mikalsen, A.P. Roskilly, A review of free-piston engine history andapplications. Applied Thermal Engineering,2007,(27):2339~2352
    [72] P. C. Baruah, A free-piston engine hydraulic pump for an automotive propulsionsystem, SAE Paper880658,1988
    [73]杨华勇,夏必忠,傅新,液压自由活塞发动机-未来的动力之星,中国机械工程,2001,12(3):353~357
    [74]朱先鼎,特种发动机原理与结构,上海:上海科学技术出版社,1998
    [75]杨华勇,夏必忠,傅新,液压自由活塞发动机的发展历程及现状,机械工程学报,2001,37(2):1~7
    [76] C.A.Amann, Evaluating Alternative Internal Combustion Engines:1950-1975,Transactions of the ASME,1999,121
    [77] L i L. J., B eachley, N.H. Design Feasibility of Free Piston Internal CombustionEngine/Hydraulic Pump, SAE Paper880657,1988
    [78] Peter A. J., Achten, Johan P. J., et al, Horsepower with Brains: The Design of theChiron Free Piston Engine, SAE Paper2000-01-2545,2000
    [79] Seppo Tikkanen, Mika Lammila, Mika Herranen, et al, First Cycles of the DualHydraulic Free Piston Engine, SAE Paper2000-01-2546,2000
    [80] Matthew Brusstar, Charles Gray Jr., Kasser Jaffri, et al, Design, Developmentand Testing of Multi-Cylinder Hydraulic Free-Piston Engines, SAE Paper2005-01-1167,2005
    [81]陶成军,液压自由活塞发动机的系统仿真研究:[硕士学位论文],天津:天津大学,2012
    [82]熊仟,液压自由活塞发动机大流量快速响应电磁阀的仿真设计和实验研究:
    [硕士学位论文],天津:天津大学,2010
    [83]朱涛,液压自由活塞发动机的仿真研究:[博士学位论文],天津:天津大学,2010
    [84] R.Mikalsen, A.P. Roskilly, The control of a free-piston engine generator. Part1:Fundamental analyses, Applied Energy,2010,87:1273~1280
    [85] R.Mikalsen, A.P. Roskilly, The control of a free-piston engine generator. Part2:Engine dynamics and piston motion control, Applied Energy,2010,87:1281~1287
    [86] R. Mikalsen, E.Jones, A.P. Roskilly, Predictive piston motion control in afree-piston internal combustion engine, Applied Energy,2010,87:1722~1728
    [87] S. Tikkanen, M. Vilenius, Control of a dual hydraulic free piston engine, Int. J.Vehicle Autonomous Systems,2006,4(1):3~23
    [88] OSEK, OSEK/VDX Operation System Version2.2.3,2005,http://www.osek-vdx.org/
    [89] OSEK, OSEK/VDX Communication Version3.0.3,2004,http://www.osek-vdx.org/
    [90] OSEK, OSEK/VDX System Generation OIL: OSEK Implementation Language,Version2.5,2004, http://www.osek-vdx.org/
    [91]罗蕾,嵌入式实时操作系统及应用开发,北京:北京航空航天大学出版社,2011
    [92] Zhaohui Wu, Hong Li, Zhigang Gao, et al, An Improved Method of Task ContextSwitching in OSEK Operating System, International Journal of Pervasive Computingand Communications,2010,6(2):179~191
    [93] Gu Yang, Wu Zhaohui, Yue Long, AlphaOS, An Automotive RTOS Based onOSEK/VDX: Design and Test,2005IEEE Networking, Sensing and ControlProceedings,2005
    [94] Bechennec, J.L., Briday, M., Faucou, S., et al, Trampoline An OpenSourceImplementation of the OSEK/VDX RTOS Specification,2006IEEE Conference onEmerging Technologies and Factory Automation,2006
    [95] Khawar M. Zuberi, Padmanabhan Pillai, Kang G. Shin, et al,EMERALDS-OSEK:A Small Real-Time Operating System for Automotive Control and Monitoring, SAEPaper1999-01-1102,1999
    [96] TriCore132-bit Unified Processor Core Volume1Core Architecture V1.3&V1.3.1Architecture, Infineon Technologies AG,2008
    [97] ASAM, CCP Can Calibration Protocol Version2.1,1999
    [98]刘锐宁,宋坤,Visual C++从入门到精通(第2版),北京:清华大学出版社,2010
    [99]孟长江,褚全红,张炜等,CCP协议在发动机匹配标定平台的应用,现代车用动力,2008,129:34~38
    [100] AP32132: TriCore AUDO-F Flash Download Using Bootstrap Loader, InfineonTechnologies AG,2008
    [101] TC176732-Bit Single-Chip Microcontroller User's Manual V1.1, InfineonTechnologies AG,2009
    [102] Matthew J. Kearney, Knock Signal Conditionning Using the Discrete FourierTransform and Variable Detection Window Length, SAE Paper2007-01-1509,2007
    [103] Gang Wu, A Real Time Statistical Method for Engine Knock Detection, SAEPaper2007-01-1507,2007
    [104] Yasuo Sugure, Shigeru Oho, Sujit S. Phatak, et al, Virtual Engine SystemPrototyping with High-Resolution FFT for Digital Knock Detection Using CPUModel-Based Hardware/Software Co-simulation, SAE Paper2009-01-0532,2009
    [105]王纪元,齐鲲鹏,隆武强,MATLAB/Simulink在柴油机建模仿真中的应用,内燃机,2008,2:10~12
    [106]刘海丽,李化聪,液压机械系统建模仿真软件AMESim及其应用,机床与液压,2006,6:124~126
    [107] Jin Xiao, Qingfeng Li, Zhen Huang, Motion characteristic of a free piston linearengine, Applied Energy,2010,87:1288~1294
    [108] Christian Barba, Christine Burkhardt, Konstantinos Boulouchos, et al, APhenomenological Combustion Model for heat Release Rate Prediction inHigh-Speed DI Disesel Engines with Common Rail Injection, SAE Paper2000-01-2933,2000
    [109] Pjeter Vuli, Michael Badalament, Vivek Jaikamal, Maximizing Test AssetRe-Use across MiL, SiL, and HiL Development Platforms, SAE Paper2010-01-0660,2010
    [110] Andreas Himmler, Klaus Lamberg, Michael Beine, Hardware-in-the-LoopTesting in the Context of ISO26262, SAE Paper2012-01-0035,2012
    [111] Torsten Kluge, Jace Allen, Amanjot Dhaliwal, Advantages and Challenges ofClosed-Loop HIL Testing for Commercial and Off-Highway Vehicles, SAE Paper2009-01-2841,2009
    [112]张永光,基于xPC Target的发动机ECU硬件在环测试平台的研究与开发:[硕士学位论文],杭州:浙江大学,2011

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700