[go: up one dir, main page]

CN104111650B - Dual-fuel engine controller simulation test system - Google Patents

Dual-fuel engine controller simulation test system Download PDF

Info

Publication number
CN104111650B
CN104111650B CN201410299014.8A CN201410299014A CN104111650B CN 104111650 B CN104111650 B CN 104111650B CN 201410299014 A CN201410299014 A CN 201410299014A CN 104111650 B CN104111650 B CN 104111650B
Authority
CN
China
Prior art keywords
model
diesel
torque
vehicle
engine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410299014.8A
Other languages
Chinese (zh)
Other versions
CN104111650A (en
Inventor
宋长营
于洪峰
吴速超
徐永新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Power Co Ltd
Original Assignee
Weichai Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weichai Power Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN201410299014.8A priority Critical patent/CN104111650B/en
Publication of CN104111650A publication Critical patent/CN104111650A/en
Application granted granted Critical
Publication of CN104111650B publication Critical patent/CN104111650B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

本发明公开了一种双燃料发动机控制器仿真测试系统,用于实现HPDI发动机控制器的HIL测试,该系统包括:实时仿真机及发动机控制器;实时仿真机用于运行环境模型、驾驶员模型及整车模型,将环境模型输出的车辆环境参数、驾驶员模型输出的驾驶员行为参数及整车模型输出的各个车辆运行参数发送给发动机控制器;整车模型包括双燃料发动机模型(包括气路模型、燃料供给模型、气缸燃烧模型、热平衡模型)、附件模型、传动系统模型、车辆纵向动力模型;接收发动机控制器发送的控制信号,根据控制信号继续运行环境模型、驾驶员模型及整车模型;发动机控制器用于根据车辆环境参数、驾驶员行为参数及车辆运行参数确定发动机工况并生成并发送控制信号。

The invention discloses a dual-fuel engine controller simulation test system for realizing the HIL test of the HPDI engine controller. The system includes: a real-time simulator and an engine controller; the real-time simulator is used for an operating environment model and a driver model And the vehicle model, the vehicle environment parameters output by the environment model, the driver behavior parameters output by the driver model and the various vehicle operating parameters output by the vehicle model are sent to the engine controller; the vehicle model includes a dual-fuel engine model (including gas Road model, fuel supply model, cylinder combustion model, heat balance model), accessory model, transmission system model, vehicle longitudinal dynamic model; receive the control signal sent by the engine controller, and continue to run the environment model, driver model and vehicle according to the control signal Model; the engine controller is used to determine the engine operating conditions and generate and send control signals according to the vehicle environment parameters, driver behavior parameters and vehicle operating parameters.

Description

一种双燃料发动机控制器仿真测试系统A dual-fuel engine controller simulation test system

技术领域technical field

本发明涉及发动机控制领域,具体涉及一种双燃料发动机控制器仿真测试系统。The invention relates to the field of engine control, in particular to a dual-fuel engine controller simulation test system.

背景技术Background technique

车辆发动机ECU(Electronic Control Unit,电子控制单元)的开发通常采用系统需求、概念设计、应用软件建模、应用层与底层代码集成、软件测试、验证的现代V流程模式。在对发动机ECU进行测试过程中,传统的台架、整车在线测试验证方式,耗费大量的人力物力,问题不易复现,难以运行极限工况、且存在危险因素;而开环的手工信号发生器又不能模拟动态、闭环工况。而HIL(Hardware-In-Loop,硬件在环)仿真测试,通过被控对象模型仿真的方式来模拟真实的运行环境,可实现动态测试闭环测试、测试过程可重复、模拟极限工况、自动测试,经济性好、安全,是发动机ECU开发中非常重要的一个环节。The development of vehicle engine ECU (Electronic Control Unit, electronic control unit) usually adopts the modern V process mode of system requirements, conceptual design, application software modeling, application layer and underlying code integration, software testing, and verification. In the process of testing the engine ECU, the traditional bench and vehicle online test verification method consumes a lot of manpower and material resources, the problem is not easy to reproduce, it is difficult to operate in extreme conditions, and there are risk factors; and the open-loop manual signal occurs The controller cannot simulate dynamic and closed-loop conditions. The HIL (Hardware-In-Loop, hardware in the loop) simulation test simulates the real operating environment through the simulation of the controlled object model, which can realize dynamic test closed-loop test, repeatable test process, simulate extreme working conditions, and automatic test , economical and safe, is a very important link in the development of engine ECU.

在现有技术中,发动机ECU HIL仿真测试系统以单燃料发动机的为主,如柴油机ECU HIL测试系统,主要是运用柴油机平均值模型来仿真柴油机。但是,一种新型的HPDI(High Pressure Direct Injection,高压直喷)天然气、柴油双燃料发动机采用柴油引燃的方式来实现天然气缸内直喷的技术、并会随着工况的变换切换燃料模式,其控制涉及柴油、天然气双燃料,比传统的单燃料发动机控制逻辑更加复杂。现有的单燃料发动机ECUHIL仿真方案无法满足高压直喷天然气、柴油双燃料发动机ECU的HIL测试需求,即在现有技术中没有针对高压直喷双燃料发动机ECU的HIL测试系统。In the prior art, the engine ECU HIL simulation test system is mainly for a single-fuel engine, such as a diesel engine ECU HIL test system, which mainly uses a diesel engine average model to simulate a diesel engine. However, a new type of HPDI (High Pressure Direct Injection, high pressure direct injection) natural gas and diesel dual-fuel engine uses diesel pilot ignition to realize the technology of natural gas in-cylinder direct injection, and will switch fuel modes as the working conditions change. , its control involves diesel and natural gas dual fuel, which is more complex than the traditional single fuel engine control logic. The existing single-fuel engine ECUHIL simulation scheme cannot meet the HIL test requirements of high-pressure direct-injection natural gas and diesel dual-fuel engine ECUs, that is, there is no HIL test system for high-pressure direct-injection dual-fuel engine ECUs in the prior art.

发明内容Contents of the invention

有鉴于此,本发明提供一种双燃料发动机控制器仿真测试系统,从而实现高压直喷天然气、柴油双燃料发动机ECU的HIL测试。In view of this, the present invention provides a dual-fuel engine controller simulation test system, thereby realizing the HIL test of the high-pressure direct injection natural gas and diesel dual-fuel engine ECU.

为解决上述问题,本发明提供的技术方案如下:In order to solve the above problems, the technical solutions provided by the present invention are as follows:

一种双燃料发动机控制器仿真测试系统,所述系统包括:A dual-fuel engine controller simulation test system, said system comprising:

实时仿真机以及发动机控制器;Real-time simulator and engine controller;

所述实时仿真机用于运行环境模型、驾驶员模型以及整车模型,所述整车模型包括双燃料发动机模型、附件模型、传动系统模型、车辆纵向动力模型;所述双燃料发动机模型包括气路模型、燃料供给模型、气缸燃烧模型、热平衡模型;所述燃料供给模型用于计算柴油轨压、天然气轨压、柴油喷油量以及天然气喷射量;所述气缸燃烧模型包括扭矩模型以及废气成分模型,所述扭矩模型用于计算发动机的输出扭矩,所述废气成分模型用于计算废气成分;The real-time simulator is used for an operating environment model, a driver model, and a vehicle model, and the vehicle model includes a dual-fuel engine model, an accessory model, a transmission system model, and a vehicle longitudinal dynamic model; the dual-fuel engine model includes a gas Road model, fuel supply model, cylinder combustion model, heat balance model; the fuel supply model is used to calculate diesel rail pressure, natural gas rail pressure, diesel fuel injection volume and natural gas injection volume; the cylinder combustion model includes torque model and exhaust gas composition a model, the torque model is used to calculate the output torque of the engine, and the exhaust gas composition model is used to calculate the exhaust gas composition;

所述实时仿真机用于将所述环境模型输出的车辆环境参数、所述驾驶员模型输出的驾驶员行为参数以及所述整车模型输出的各个车辆运行参数发送给所述发动机控制器;接收所述发动机控制器发送的控制信号,根据所述控制信号继续运行环境模型、驾驶员模型以及整车模型;The real-time simulator is used to send the vehicle environment parameters output by the environment model, the driver behavior parameters output by the driver model, and the various vehicle operating parameters output by the vehicle model to the engine controller; receive The control signal sent by the engine controller continues to run the environment model, driver model and vehicle model according to the control signal;

所述发动机控制器用于根据所述车辆环境参数、所述驾驶员行为参数以及所述车辆运行参数确定发动机工况并执行控制逻辑生成控制信号,将所述控制信号发送给所述实时仿真机。The engine controller is used to determine engine operating conditions according to the vehicle environment parameters, the driver behavior parameters and the vehicle operating parameters, execute control logic to generate control signals, and send the control signals to the real-time simulator.

相应的,所述燃料供给模型包括:Correspondingly, the fuel supply model includes:

柴油喷油器模型、柴油高压油泵模型、柴油轨模型、天然气轨模型以及天然气喷射阀模型;Diesel injector model, diesel high pressure pump model, diesel rail model, natural gas rail model and natural gas injection valve model;

所述柴油喷油器模型用于根据采集得到的柴油喷射脉宽以及柴油轨压,计算柴油喷油量并输出给所述柴油轨模型;The diesel injector model is used to calculate the diesel injection quantity and output it to the diesel rail model according to the collected diesel injection pulse width and diesel rail pressure;

所述柴油高压油泵模型用于采用平均值方法计算高压油泵泵油量并输出给所述柴油轨模型;The diesel high-pressure oil pump model is used to calculate the oil volume of the high-pressure oil pump by using the average value method and output it to the diesel rail model;

所述柴油轨模型用于根据所述柴油喷油量以及所述高压油泵泵油量,计算柴油轨压并输出给所述柴油喷油器模型以及所述天然气轨模型;The diesel rail model is used to calculate the diesel rail pressure and output it to the diesel injector model and the natural gas rail model according to the diesel fuel injection volume and the high-pressure oil pump pump fuel volume;

所述天然气轨模型用于根据所述柴油轨压获得天然气轨压;The natural gas rail model is used to obtain the natural gas rail pressure according to the diesel rail pressure;

所述天然气喷射阀模型用于根据采集得到的天然气喷射脉宽以及所述天然气轨压,计算天然气喷射量。The natural gas injection valve model is used to calculate the natural gas injection amount according to the collected natural gas injection pulse width and the natural gas rail pressure.

相应的,所述柴油轨模型具体用于:Correspondingly, the diesel rail model is specifically used for:

根据连续性方程:计算柴油轨压P并输出给所述柴油喷油器模型以及所述天然气轨模型;其中,Qin为进入柴油轨的柴油流量,是根据所述高压油泵泵油量获得的;Qout为流出柴油轨的柴油流量,是根据所述柴油喷油量单位转换得到的;E为柴油的弹性模量;V为柴油轨的体积。According to the continuity equation: Calculate the diesel rail pressure P and output it to the diesel injector model and the natural gas rail model; wherein, Q in is the diesel flow rate entering the diesel rail, which is obtained according to the pump oil volume of the high-pressure oil pump; Q out is the outflow The diesel flow rate of the diesel rail is converted according to the unit of the diesel injection quantity; E is the modulus of elasticity of the diesel; V is the volume of the diesel rail.

相应的,所述扭矩模型包括:Correspondingly, the torque model includes:

提示扭矩获得单元,用于将所述天然气喷射量转换为产生同样扭矩的当量柴油质量,根据所述当量柴油质量与所述柴油喷油量之和获得提示扭矩;A prompting torque obtaining unit, configured to convert the natural gas injection quantity into an equivalent diesel mass that produces the same torque, and obtain a prompting torque according to the sum of the equivalent diesel mass and the diesel fuel injection quantity;

摩擦扭矩获得单元,用于根据发动机水温、发动机转速查找摩擦扭矩脉谱图获得摩擦扭矩;The friction torque obtaining unit is used to find the friction torque map according to the engine water temperature and the engine speed to obtain the friction torque;

扭矩获得单元,用于计算所述提示扭矩与所述摩擦扭矩之和作为发动机的输出扭矩。The torque obtaining unit is used to calculate the sum of the prompt torque and the friction torque as the output torque of the engine.

相应的,所述提示扭矩获得单元包括:Correspondingly, the prompting torque obtaining unit includes:

第一获得子单元,用于采用将所述天然气喷射量与转换系数相乘再与补偿量相加的方式获得所述天然气喷射量转换为产生同样扭矩的当量柴油质量;The first obtaining subunit is used to obtain the conversion of the natural gas injection amount into an equivalent diesel quality that produces the same torque by multiplying the natural gas injection amount by a conversion coefficient and adding the compensation amount;

第二获得子单元,用于根据所述当量柴油质量与所述柴油喷油量之和、发动机转速查找提示扭矩脉谱图获得提示扭矩。The second obtaining subunit is used to obtain the prompt torque by searching the prompt torque map according to the sum of the equivalent diesel quality and the diesel fuel injection quantity and the engine speed.

相应的,所述提示扭矩获得单元还包括:Correspondingly, the prompting torque obtaining unit also includes:

修正子单元,用于根据发动机转速、喷射提前角查找提示扭矩修正系数脉谱图获得提示扭矩修正系数;将所述第二获得子单元获得的提示扭矩与所述提示扭矩修正系数相乘作为提示扭矩。The correction subunit is used to find the prompt torque correction coefficient map according to the engine speed and injection advance angle to obtain the prompt torque correction coefficient; multiply the prompt torque obtained by the second obtaining subunit with the prompt torque correction coefficient as a prompt torque.

相应的,所述转换系数是根据发动机转速、油门踏板开度查找天然气转柴油转换系数脉谱图获得的;所述补偿量是根据发动机转速、油门踏板开度查找天然气转柴油补偿量脉谱图获得的。Correspondingly, the conversion coefficient is obtained by searching the natural gas to diesel oil conversion coefficient map according to the engine speed and the opening of the accelerator pedal; acquired.

相应的,所述气路模型包括:Correspondingly, the gas path model includes:

增压器模型、节气门模型、进气歧管模型、进气成分模型、排气歧管模型以及EGR阀模型;Supercharger model, throttle model, intake manifold model, intake composition model, exhaust manifold model and EGR valve model;

所述增压器模型用于计算发动机增压后的压力和温度;The supercharger model is used to calculate the pressure and temperature of the engine after supercharging;

所述节气门模型用于基于等熵绝热过程的节流孔方程确定节气门开度;The throttle model is used to determine the throttle opening based on the throttle equation of the isentropic adiabatic process;

所述EGR阀模型用于基于等熵绝热过程的节流孔方程确定EGR阀开度;The EGR valve model is used to determine the EGR valve opening based on the orifice equation of the isentropic adiabatic process;

所述进气成分模型用于计算进气中的空气比率。The intake air composition model is used to calculate the air ratio in the intake air.

相应的,所述废气成分模型具体用于计算废气中的空气比率以及废气中的燃油比率。Correspondingly, the exhaust gas composition model is specifically used to calculate the air ratio in the exhaust gas and the fuel ratio in the exhaust gas.

相应的,所述热平衡模型用于通过热量平衡计算发动机进水温度以及出水温度。Correspondingly, the heat balance model is used to calculate engine inlet water temperature and outlet water temperature through heat balance.

相应的,所述传动系统模型包括:惯性模块模型、离合器模型、变速箱模型以及主减速器差速器模型;Correspondingly, the transmission system model includes: an inertia module model, a clutch model, a gearbox model and a final drive differential model;

所述车辆纵向动力学模型包括:整车负载模型以及整车速度模型;The vehicle longitudinal dynamics model includes: a vehicle load model and a vehicle speed model;

所述附件模型包括:启动机模型、电池模型以及空调模型。The accessory models include: a starter model, a battery model and an air conditioner model.

由此可见,本发明实施例具有如下有益效果:It can be seen that the embodiments of the present invention have the following beneficial effects:

本发明实施例提供的柴油、天然气双燃料发动机控制器的硬件在环仿真测试系统,通过构建控制器被控对象模型,被控对象模型包括环境模型、驾驶员模型以及整车模型,特别是整车模型中的双燃料发动机模型(包括气路模型、燃料供给模型、气缸燃烧模型、热平衡模型),可以完成对双燃料发动机的仿真,从而实现对柴油引燃、天然气直喷发动机控制器的闭环测试、动态测试,能够模拟不同的工况场景:启动、突变负载、发动机台架试验循环、整车驾驶循环等静态动态工况,以完成HPDI双燃料发动机控制器的控制参数预标定、功能测试、耐久测试等,具有安全、经济、成本低等优点。另外,气缸燃烧模型采用将天然气转换成柴油的方式,实现简单有效并且有利于在现有的柴油机模型上面直接更改,节省人力、提高效率。The hardware-in-the-loop simulation test system of the diesel and natural gas dual-fuel engine controller provided by the embodiment of the present invention, by constructing the controller controlled object model, the controlled object model includes the environment model, the driver model and the whole vehicle model, especially the whole vehicle model. The dual-fuel engine model (including gas path model, fuel supply model, cylinder combustion model, and heat balance model) in the vehicle model can complete the simulation of dual-fuel engines, thereby realizing the closed-loop control of diesel ignition and natural gas direct injection engine controllers Test and dynamic test, capable of simulating different working conditions: start-up, sudden load, engine bench test cycle, vehicle driving cycle and other static and dynamic working conditions to complete the control parameter pre-calibration and functional test of the HPDI dual-fuel engine controller , Durability test, etc., has the advantages of safety, economy, and low cost. In addition, the cylinder combustion model adopts the method of converting natural gas into diesel, which is simple and effective and is conducive to direct modification on the existing diesel engine model, saving manpower and improving efficiency.

附图说明Description of drawings

图1为本发明实施例提供的双燃料发动机控制器仿真测试系统实施例一的示意图;1 is a schematic diagram of Embodiment 1 of a dual-fuel engine controller simulation test system provided by an embodiment of the present invention;

图2为本发明实施例提供的双燃料发动机控制器仿真测试系统实施例二的示意图;2 is a schematic diagram of Embodiment 2 of the dual-fuel engine controller simulation test system provided by the embodiment of the present invention;

图3为本发明实施例中整车模型实施例的示意图;Fig. 3 is the schematic diagram of the vehicle model embodiment in the embodiment of the present invention;

图4为本发明实施例中双燃料发动机模型实施例的示意图;Fig. 4 is the schematic diagram of the dual-fuel engine model embodiment in the embodiment of the present invention;

图5为本发明实施例中气路模型实施例的示意图;Fig. 5 is the schematic diagram of the embodiment of gas circuit model in the embodiment of the present invention;

图6为本发明实施例中燃料供给模型实施例的示意图;6 is a schematic diagram of an embodiment of a fuel supply model in an embodiment of the present invention;

图7为本发明实施例中扭矩模型实施例的示意图;Fig. 7 is the schematic diagram of the torque model embodiment in the embodiment of the present invention;

图8为本发明实施例中扭矩模型实施例的工作原理示意图。Fig. 8 is a schematic diagram of the working principle of the embodiment of the torque model in the embodiment of the present invention.

具体实施方式detailed description

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明实施例作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

针对现有技术中没有针对高压直喷双燃料发动机ECU的HIL测试系统的技术问题,本发明实施例提供一种用于双燃料发动机控制器的仿真测试系统,可以实现HPDI发动机ECU开发过程中的动态闭环测试、极限工况测试、自动测试、可重复性测试,具有安全、经济、成本低等优点。In view of the technical problem that there is no HIL test system for high-pressure direct injection dual-fuel engine ECU in the prior art, the embodiment of the present invention provides a simulation test system for dual-fuel engine controller, which can realize the ECU development process of HPDI engine Dynamic closed-loop test, extreme working condition test, automatic test, and repeatability test have the advantages of safety, economy, and low cost.

参见图1所示,是本发明实施例提供的双燃料发动机控制器仿真测试系统实施例一,该系统可以包括:Referring to Fig. 1, it is Embodiment 1 of the dual-fuel engine controller simulation test system provided by the embodiment of the present invention, and the system may include:

实时仿真机101以及发动机控制器102。Real-time simulator 101 and engine controller 102.

实时仿真机用于运行环境模型1011、驾驶员模型1012以及整车模型1013。A real-time simulator is used to run the environment model 1011 , the driver model 1012 and the vehicle model 1013 .

其中,环境模型可以模拟车辆外部环境,输出各种车辆环境参数,例如根据车辆运行里程距离确定海拔、道路附着系数、道路坡度、大气压力温度、风速等车辆环境参数。Among them, the environment model can simulate the external environment of the vehicle and output various vehicle environment parameters, such as determining altitude, road adhesion coefficient, road slope, atmospheric pressure temperature, wind speed and other vehicle environment parameters according to the vehicle's mileage distance.

驾驶员模型主要用于驾驶循环工况的实现,按照驾驶循环的车速和时间的曲线进行整车运行,驾驶员模型会自动进行离合操作、油门动作以及档位的切换。可以通过输入车速、发动机转速、整车阻力、发动机输出扭矩、变速箱输入扭矩、离合器转速等,输出油门开度、刹车开度、离合器开度、档位、启动开关、点火开关、空调开关等驾驶员行为参数。The driver model is mainly used to realize the driving cycle working conditions. The whole vehicle runs according to the speed and time curve of the driving cycle. The driver model will automatically perform clutch operation, accelerator action and gear switching. Through the input of vehicle speed, engine speed, vehicle resistance, engine output torque, gearbox input torque, clutch speed, etc., output accelerator opening, brake opening, clutch opening, gear position, start switch, ignition switch, air conditioning switch, etc. Driver behavior parameters.

实时仿真机用于将环境模型输出的车辆环境参数、驾驶员模型输出的驾驶员行为参数以及整车模型输出的各个车辆运行参数发送给发动机控制器;并接收发动机控制器发送的控制信号,根据控制信号继续运行环境模型、驾驶员模型以及整车模型。The real-time simulator is used to send the vehicle environment parameters output by the environment model, the driver behavior parameters output by the driver model, and the various vehicle operating parameters output by the vehicle model to the engine controller; and receive the control signal sent by the engine controller, according to Control signals continue to run the environment model, the driver model, and the vehicle model.

发动机控制器即发动机电子控制单元ECU用于根据车辆环境参数、驾驶员行为参数以及车辆运行参数确定发动机工况并执行控制逻辑生成控制信号,将控制信号发送给实时仿真机。The engine controller, that is, the engine electronic control unit ECU, is used to determine the engine operating conditions according to the vehicle environment parameters, driver behavior parameters and vehicle operating parameters, execute the control logic to generate control signals, and send the control signals to the real-time simulator.

在实际应用中,参见图2所示,是本发明实施例提供的双燃料发动机控制器仿真测试系统实施例二,实时仿真机以及发动机ECU均可以与用户上位机相连,实时仿真机与发动机控制器之间通过输入输出IO板卡相连,仿真测试系统中还可以包括负载箱。用户上位机可以运行系统配置软件、匹配环境软件(如MATLAB/Simulink等),运行实时仿真测试时的试验环境软件,检测各个模型中相关变量、参数,环境模型、驾驶员模型以及整车模型编译后生成代码下载到实时仿真机中运行。实时仿真机运行环境模型、驾驶员模型以及整车模型,通过IO板卡将环境模型输出的车辆环境参数、驾驶员模型输出的驾驶员行为参数以及整车模型输出的各个车辆运行参数转换为传感器物理信号发送给给发动机控制器,发动机控制器运行需要输入信号,通过传感器信号(如发动机转速、油门开度、水温、轨压等)的输入,完成工况判断以及控制决策的执行,进而输出相应的驱动信号即控制信号,控制信号通过IO板卡输出给实时仿真机中的各个模型和/或负载箱执行,负载箱可以用来装真实负载或模拟负载(负载板卡),实时仿真机可以根据控制信号更新环境模型、驾驶员模型以及整车模型的运行,从而实现对发动机控制器闭环控制的测试。In practical application, see Figure 2, which is the second embodiment of the dual-fuel engine controller simulation test system provided by the embodiment of the present invention, the real-time simulator and the engine ECU can be connected with the user's host computer, the real-time simulator and the engine control The devices are connected through input and output IO boards, and the simulation test system can also include a load box. The user's host computer can run system configuration software, matching environment software (such as MATLAB/Simulink, etc.), run test environment software for real-time simulation testing, detect relevant variables and parameters in each model, compile the environment model, driver model and vehicle model Then the generated code is downloaded to the real-time emulator to run. The real-time simulator runs the environment model, the driver model and the vehicle model, and converts the vehicle environment parameters output by the environment model, the driver behavior parameters output by the driver model, and each vehicle operating parameter output by the vehicle model into sensors through the IO board The physical signal is sent to the engine controller. The engine controller needs input signals to operate. Through the input of sensor signals (such as engine speed, throttle opening, water temperature, rail pressure, etc.), the judgment of working conditions and the execution of control decisions are completed, and then output The corresponding driving signal is the control signal. The control signal is output to each model and/or load box in the real-time simulator through the IO board for execution. The load box can be used to install real load or simulated load (load board), and the real-time simulator The operation of the environment model, the driver model and the whole vehicle model can be updated according to the control signal, so as to realize the test of the closed-loop control of the engine controller.

参见图3所示,在本发明的一些实施例中,上述整车模型可以包括双燃料发动机模型301、附件模型302、传动系统模型303、车辆纵向动力模型304。Referring to FIG. 3 , in some embodiments of the present invention, the vehicle model may include a dual-fuel engine model 301 , an accessory model 302 , a transmission system model 303 , and a vehicle longitudinal dynamics model 304 .

传动系统模型可以包括:惯性模块模型、离合器模型、变速箱模型以及主减速器差速器模型;传动系统模型可以通过输入发动机输出扭矩、发动机转动惯量、每个车轮的角速度等输出发动机转速、离合器转速、变速箱输入扭矩、各个车轮扭矩等。车辆纵向动力学模型可以包括:整车负载模型以及整车速度模型;车辆纵向动力模型可以通过输入各个车轮的扭矩、风速、刹车开度、环境密度、道路坡度等输出车速、车辆里程、车辆阻力、各个车轮角速度。附件模型可以包括:启动机模型、电池模型以及空调模型等,可以输出点火开关信号、启动开关信号、空调开关信号、发动机转速、附件扭矩等。The transmission system model can include: inertia module model, clutch model, gearbox model and final drive differential model; the transmission system model can output engine speed, clutch by inputting engine output torque, engine moment of inertia, angular velocity of each wheel, etc. Speed, transmission input torque, individual wheel torque, etc. The vehicle longitudinal dynamic model can include: vehicle load model and vehicle speed model; the vehicle longitudinal dynamic model can output vehicle speed, vehicle mileage and vehicle resistance by inputting the torque of each wheel, wind speed, brake opening, environment density, road gradient, etc. , each wheel angular velocity. Accessory models can include: starter model, battery model, and air conditioner model, etc., and can output ignition switch signals, start switch signals, air conditioner switch signals, engine speed, accessory torque, etc.

参见图4所示,在本发明的一些实施例中,上述双燃料发动机模型可以包括气路模型401、燃料供给模型402、气缸燃烧模型403、热平衡模型404;燃料供给模型402可以用于计算柴油轨压、天然气轨压、柴油喷油量以及天然气喷射量。气缸燃烧模型403可以包括扭矩模型4031以及废气成分模型4032,扭矩模型可以用于计算发动机的输出扭矩,废气成分模型可以用于计算废气成分。Referring to Fig. 4, in some embodiments of the present invention, the above-mentioned dual-fuel engine model can include an air path model 401, a fuel supply model 402, a cylinder combustion model 403, and a heat balance model 404; the fuel supply model 402 can be used to calculate diesel oil Rail pressure, natural gas rail pressure, diesel fuel injection volume and natural gas injection volume. The cylinder combustion model 403 may include a torque model 4031 and an exhaust gas composition model 4032, the torque model may be used to calculate the output torque of the engine, and the exhaust gas composition model may be used to calculate the exhaust gas composition.

双燃料发动机模型是实现双燃料发动机控制器仿真测试的核心,以下分别对双燃料发动机模型中的气路模型、燃料供给模型、气缸燃烧模型以及热平衡模型404进行具体说明。The dual-fuel engine model is the core to realize the simulation test of the dual-fuel engine controller. The gas path model, the fuel supply model, the cylinder combustion model and the heat balance model 404 in the dual-fuel engine model will be described in detail below.

参见图5所示,在本发明的一些实施例中,气路模型可以包括:增压器模型501、节气门模型502、进气歧管模型503、进气成分模型504、排气歧管模型505以及EGR阀模型506。Referring to Fig. 5, in some embodiments of the present invention, the gas path model may include: a supercharger model 501, a throttle model 502, an intake manifold model 503, an intake air composition model 504, an exhaust manifold model 505 and EGR valve model 506.

其中,增压器模型用于计算发动机增压后的压力和温度,具体的,可以基于转速和柴油总油量的MAP(即脉谱图)再进行PT1滤波,计算增压后压力和温度,以仿真发动机温度压力的缓慢变化过程。Among them, the supercharger model is used to calculate the pressure and temperature of the engine after supercharging. Specifically, PT1 filtering can be performed based on the MAP (ie, map map) of the speed and the total amount of diesel oil to calculate the pressure and temperature after supercharging. To simulate the slow change process of engine temperature and pressure.

节气门模型用于基于等熵绝热过程的节流孔方程确定节气门开度;EGR阀模型用于基于等熵绝热过程的节流孔方程确定EGR阀开度。具体的,节气门模型与EGR阀模型均可以基于以下方程建模:The throttle model is used to determine the throttle opening based on the orifice equation of the isentropic adiabatic process; the EGR valve model is used to determine the EGR valve opening based on the orifice equation of the isentropic adiabatic process. Specifically, both the throttle model and the EGR valve model can be modeled based on the following equations:

其中,为流经节流孔(或EGR阀)的质量流量,单位为kg/s,μ为流量系数,A(α)为流函数,k为绝热系数,PO为出口压力,PI为进口压力,α为节流阀角度,R为气体状态常数。in, is the mass flow rate flowing through the orifice (or EGR valve), the unit is kg/s, μ is the flow coefficient, A(α) is the flow function, k is the adiabatic coefficient, P O is the outlet pressure, and P I is the inlet pressure , α is the throttle valve angle, R is the gas state constant.

进气歧管模型、排气歧管模型可以采用“充排法”方法进行零维建模,采用质量守恒方程、能量守恒方程以及气体状态方程。“充排法”即充满-排空法,又叫容积法。实际是把进排气管看成是与原有管道容积相当的一个简单容器,把不稳定的流动过程简化为准稳定的流进或流出过程。The intake manifold model and the exhaust manifold model can be modeled zero-dimensionally using the "filling and exhausting method", using mass conservation equations, energy conservation equations, and gas state equations. "Fill-discharge method" is full-empty method, also known as volumetric method. In fact, the intake and exhaust pipes are regarded as a simple container equivalent to the volume of the original pipeline, and the unstable flow process is simplified into a quasi-stable flow in or out process.

进气成分模型用于计算进气中的空气比率。具体可以通过以下公式计算:进气空气比率=(节气门质量流量+废气空气比例*EGR质量流量)/(节气门质量流量+EGR质量流量)。The intake air composition model is used to calculate the air ratio in the intake air. Specifically, it can be calculated by the following formula: intake air ratio=(throttle valve mass flow rate+exhaust gas air ratio*EGR mass flow rate)/(throttle valve mass flow rate+EGR mass flow rate).

参见图6所示,在本发明的一些实施例中,燃料供给模型可以包括:Referring to Fig. 6, in some embodiments of the present invention, the fuel supply model may include:

柴油喷油器模型601、柴油轨模型602、柴油高压油泵模型603、天然气轨模型604以及天然气喷射阀模型605;Diesel injector model 601, diesel rail model 602, diesel high-pressure oil pump model 603, natural gas rail model 604 and natural gas injection valve model 605;

其中,柴油喷油器模型用于根据IO接口硬件采集得到的柴油喷射脉宽以及柴油轨压,计算柴油喷油量并输出给柴油轨模型。具体可以根据柴油喷射脉宽以及柴油轨压采用MAP方式计算柴油喷油量,喷油器喷射柴油量q=MAP(喷射脉宽t,轨压p)。Among them, the diesel injector model is used to calculate the diesel fuel injection quantity and output it to the diesel rail model according to the diesel injection pulse width and diesel rail pressure collected by the IO interface hardware. Specifically, the diesel fuel injection quantity can be calculated by using the MAP method according to the diesel injection pulse width and the diesel rail pressure, and the fuel injector injects diesel fuel quantity q=MAP (injection pulse width t, rail pressure p).

柴油高压油泵模型用于采用平均值方法计算高压油泵泵油量并输出给柴油轨模型。高压油泵每个工作循环内的供油量是个平均值,而不是瞬时的凸轮轴形线驱动的脉冲供油量。具体计算方法为:供油量q_Pump=Max_V*fac_Meun*eta;高压油泵最大供油量:Max_V=(转速/60)*油缸体积;油量计量单元控制因子fac_Meun:通过油量计量单元驱动电流i_Meun查CUR计算,fac_Meun=CUR(i_Meun)。The diesel high-pressure oil pump model is used to calculate the pump oil volume of the high-pressure oil pump by the average value method and output it to the diesel rail model. The fuel supply of the high-pressure oil pump in each working cycle is an average value, rather than the instantaneous pulse fuel supply of the camshaft linear drive. The specific calculation method is: fuel supply quantity q_Pump=Max_V*fac_Meun*eta; maximum fuel supply quantity of high-pressure oil pump: Max_V=(speed/60)*oil cylinder volume; oil quantity metering unit control factor fac_Meun: drive current i_Meun through the oil quantity metering unit Check CUR calculation, fac_Meun=CUR(i_Meun).

柴油轨模型用于根据柴油喷油量以及高压油泵泵油量,计算柴油轨压并输出给柴油喷油器模型以及天然气轨模型。柴油轨模型具体用于:根据连续性方程:计算柴油轨压P并输出给柴油喷油器模型以及天然气轨模型;其中,Qin为进入柴油轨的柴油流量,是根据高压油泵泵油量获得的;Qout为流出柴油轨的柴油流量,是根据柴油喷油量单位转换得到的;E为柴油的弹性模量;V为柴油轨的体积。The diesel rail model is used to calculate the diesel rail pressure and output it to the diesel injector model and the natural gas rail model according to the amount of diesel fuel injected and the amount of oil pumped by the high-pressure oil pump. The Diesel Rail model is specifically used for: According to the continuity equation: Calculate the diesel rail pressure P and output it to the diesel injector model and the natural gas rail model; among them, Q in is the diesel flow into the diesel rail, which is obtained according to the pump oil volume of the high-pressure oil pump; Q out is the diesel flow out of the diesel rail, It is converted according to the unit of diesel fuel injection quantity; E is the elastic modulus of diesel; V is the volume of diesel rail.

天然气轨模型用于根据柴油轨压获得天然气轨压;天然气轨压可以根据柴油轨压计算,和柴油轨压基本保持常数差。The natural gas rail model is used to obtain the natural gas rail pressure based on the diesel rail pressure; the natural gas rail pressure can be calculated based on the diesel rail pressure, and basically maintains a constant difference with the diesel rail pressure.

天然气喷射阀模型用于根据采集得到的天然气喷射脉宽以及天然气轨压,计算天然气喷射量。与柴油喷油器模型类似,天然气喷射阀模型也可以根据天然气喷射脉宽以及天然气轨压采用MAP方式计算天然气喷射量。The natural gas injection valve model is used to calculate the natural gas injection amount according to the collected natural gas injection pulse width and natural gas rail pressure. Similar to the diesel injector model, the natural gas injection valve model can also use the MAP method to calculate the natural gas injection quantity according to the natural gas injection pulse width and natural gas rail pressure.

参见图7所示,在本发明的一些实施例中,扭矩模型可以包括:Referring to Fig. 7, in some embodiments of the present invention, the torque model may include:

提示扭矩获得单元701,用于将天然气喷射量转换为产生同样扭矩的当量柴油质量,根据当量柴油质量与柴油喷油量之和获得提示扭矩。The prompt torque obtaining unit 701 is used to convert the natural gas injection quantity into the equivalent diesel mass that produces the same torque, and obtain the prompt torque according to the sum of the equivalent diesel mass and the diesel fuel injection quantity.

摩擦扭矩获得单元702,用于根据发动机水温、发动机转速查找摩擦扭矩脉谱图获得摩擦扭矩。The friction torque obtaining unit 702 is configured to search the friction torque map according to the engine water temperature and the engine speed to obtain the friction torque.

扭矩获得单元703,用于计算提示扭矩与摩擦扭矩之和作为发动机的输出扭矩。The torque obtaining unit 703 is used to calculate the sum of the prompt torque and the friction torque as the output torque of the engine.

在本发明的一些实施例中,提示扭矩获得单元可以包括:In some embodiments of the invention, the cueing torque obtaining unit may comprise:

第一获得子单元,用于采用将天然气喷射量与转换系数相乘再与补偿量相加的方式获得天然气喷射量转换为产生同样扭矩的当量柴油质量;其中,转换系数是根据发动机转速、油门踏板开度查找天然气转柴油转换系数脉谱图获得的;补偿量是根据发动机转速、油门踏板开度查找天然气转柴油补偿量脉谱图获得的。The first obtaining subunit is used to obtain the conversion of the natural gas injection quantity into the equivalent diesel quality that produces the same torque by multiplying the natural gas injection quantity by the conversion coefficient and adding the compensation amount; wherein, the conversion coefficient is based on the engine speed, throttle The pedal opening is obtained by searching the natural gas to diesel conversion coefficient map; the compensation amount is obtained by searching the natural gas to diesel compensation amount map according to the engine speed and accelerator pedal opening.

第二获得子单元,用于根据当量柴油质量与柴油喷油量之和、发动机转速查找提示扭矩脉谱图获得提示扭矩。The second obtaining subunit is used to obtain the prompt torque according to the sum of the equivalent diesel mass and the diesel fuel injection quantity and the engine speed to find the prompt torque map.

在本发明的一些实施例中,提示扭矩获得单元还可以包括:In some embodiments of the present invention, the cueing torque obtaining unit may further include:

修正子单元,用于根据发动机转速、喷射提前角查找提示扭矩修正系数脉谱图获得提示扭矩修正系数;将第二获得子单元获得的提示扭矩与提示扭矩修正系数相乘作为提示扭矩。The correction subunit is used to find the prompt torque correction coefficient map according to the engine speed and injection advance angle to obtain the prompt torque correction coefficient; multiply the prompt torque obtained by the second obtaining subunit by the prompt torque correction coefficient as the prompt torque.

参见图8所示,扭矩模型的工作原理是:通过将天然气喷射量转换成为产生同样扭矩的当量柴油质量,基于总的柴油质量(即当量柴油质量与柴油喷油量之和)计算基础指示扭矩。上述转换过程是通过y=kx+b的线性方式进行的,其中y代表转换后的当量柴油质量、x代表天然气喷射量、k是转换系数、b为补偿量。转换系统k是通过查天然气转柴油转换系数MAP表的方式计算得出,天然气转柴油转换系数MAP输入分别为发动机转速和油门踏板开度。补偿量b是通过查天然气转柴油补偿量MAP表的方式计算得出,天然气转柴油补偿量MAP的输入分别为发动机转速和油门踏板开度。基础指示扭矩通过发动机转速、当量柴油质量与柴油喷油量之和查找提示扭矩MAP得到。指示扭矩还可以通过提示扭矩修正系数MAP修正,提示扭矩修正系数MAP输入分别为发动机转速和喷射提前角,该喷射提前角指的是主喷提前角,主喷可能是天然气或者是柴油,所以主喷提前角为天然气喷射提前角或者柴油喷射提前角。摩擦扭矩是通过发动机水温、发动机转速查找摩擦扭矩MAP计算得出,是负值。最终输出的有效扭矩为指示扭矩和摩擦扭矩之和。另外,扭矩模型也可以用于根据天然气喷射量和柴油喷油量分别进行计算指示扭矩,然后求和获得提示扭矩。As shown in Figure 8, the working principle of the torque model is: by converting the natural gas injection amount into the equivalent diesel mass that produces the same torque, the base indicated torque is calculated based on the total diesel mass (that is, the sum of the equivalent diesel mass and the diesel fuel injection amount) . The above conversion process is carried out in a linear manner of y=kx+b, where y represents the equivalent diesel mass after conversion, x represents the injection amount of natural gas, k is the conversion coefficient, and b is the compensation amount. The conversion system k is calculated by checking the natural gas to diesel conversion coefficient MAP table. The input of the natural gas to diesel conversion coefficient MAP is the engine speed and the accelerator pedal opening respectively. The compensation amount b is calculated by checking the natural gas to diesel compensation amount MAP table, and the inputs of the natural gas to diesel compensation amount MAP are engine speed and accelerator pedal opening respectively. The base indicated torque is obtained from the sum of the engine speed, the equivalent diesel mass and the diesel fuel injection quantity to find the prompt torque MAP. The indicated torque can also be corrected by prompting the torque correction coefficient MAP. The prompting torque correction coefficient MAP input is respectively the engine speed and the injection advance angle. The injection advance angle refers to the main injection advance angle. The main injection may be natural gas or diesel, so the main injection The injection advance angle is a natural gas injection advance angle or a diesel injection advance angle. The friction torque is calculated by looking up the friction torque MAP through the engine water temperature and engine speed, which is a negative value. The final output effective torque is the sum of indicated torque and friction torque. In addition, the torque model can also be used to calculate the indicated torque according to the natural gas injection quantity and the diesel fuel injection quantity, and then sum to obtain the prompt torque.

在本发明的一些实施例中,废气成分模型可以具体用于计算废气中的空气比率以及废气中的燃油比率。可以通过进气成分模型中输入的进气成分,空燃比、燃油中的未燃的比例等完成计算。具体过程为:废气中空气比率=f(空燃比AFR,缸内燃油量,缸内空气量,燃烧后的总质量),其中空燃比为参数,缸内空气量=进气充量*进气空气比率,进气充量=f(理论进气量,充气效率),理论进气量=f(进气歧管密度,发动机排量,压缩比),充气效率根据转速、进气歧管查MAP表计算得出,进气空气比率=f(节气门质量流量,EGR空气比率,EGR质量流量)。废气中燃油比率=废气中未燃油量/燃烧后总量;废气中未燃油量=总燃油量*MAP(转速,喷油提前角)。In some embodiments of the present invention, the exhaust gas composition model may be specifically used to calculate the air ratio in the exhaust gas and the fuel ratio in the exhaust gas. The calculation can be completed through the intake air composition input in the intake air composition model, the air-fuel ratio, the proportion of unburned fuel, etc. The specific process is: air ratio in exhaust gas = f (air-fuel ratio AFR, fuel volume in cylinder, air volume in cylinder, total mass after combustion), where air-fuel ratio is a parameter, air volume in cylinder = intake air charge * intake air Air ratio, intake air charge = f (theoretical intake air volume, charging efficiency), theoretical intake air volume = f (intake manifold density, engine displacement, compression ratio), and the charging efficiency is checked according to the speed and intake manifold The MAP table calculates that intake air ratio = f (throttle valve mass flow, EGR air ratio, EGR mass flow). Ratio of fuel in exhaust gas = unfueled amount in exhaust gas/total amount after combustion; unfueled amount in exhaust gas = total fuel amount * MAP (speed, fuel injection advance angle).

在本发明的一些实施例中,热平衡模型可以用于通过热量平衡计算发动机进水温度以及出水温度。根据发动机有效功率通过查表计算出发动机热损失,再加上EGR热损失、机油传输给水的热量等,减去流入散热器中的热量和进入大气热量,得到一个热流量,这个热流量用来使得发动机出水温度升温。发动机入水温度,是根据散热器中的热量减去散热器进入大气的热量,得到的热流量使得散热器出水温度升温,即发动机进水温度。In some embodiments of the present invention, the heat balance model can be used to calculate engine inlet water temperature and outlet water temperature through heat balance. According to the effective power of the engine, the heat loss of the engine is calculated by looking up the table, plus the heat loss of EGR, the heat transmitted by the oil to the water, etc., and the heat flowing into the radiator and the heat entering the atmosphere are subtracted to obtain a heat flow, which is used for Make the engine water temperature rise. The engine inlet water temperature is based on the heat in the radiator minus the heat that the radiator enters into the atmosphere, and the heat flow obtained makes the radiator outlet water temperature rise, that is, the engine inlet water temperature.

本发明实施例构建了一种柴油引燃高压直喷天然气发动机的硬件在环仿真测试系统。被控对象模型涉及整车的纵向运动、整车负载环境,关键部分是发动机燃料供给及燃烧模型。柴油、天然气的双燃料的燃烧扭矩仿真,采用能量等价的方式将天然气的气量转换为柴油机的当量油量,得到总的柴油油量用于计算指示扭矩。天然气量转换为柴油量采用转化系数加补偿量的线性方法即y=kx+b,转化系数k和补偿量b由发动机转速和油门踏板开度查MAP表得到。The embodiment of the present invention builds a hardware-in-the-loop simulation test system for a diesel ignition high-pressure direct-injection natural gas engine. The controlled object model involves the longitudinal motion of the vehicle and the load environment of the vehicle, and the key part is the fuel supply and combustion model of the engine. Combustion torque simulation of dual fuel of diesel and natural gas, the energy equivalent method is used to convert the gas volume of natural gas into the equivalent oil volume of diesel engine, and the total diesel oil volume is used to calculate the indicated torque. The amount of natural gas is converted into diesel oil using the linear method of conversion coefficient plus compensation amount, that is, y=kx+b. The conversion coefficient k and compensation amount b are obtained from the engine speed and accelerator pedal opening by looking up the MAP table.

这样,本发明实施例提供的柴油、天然气双燃料发动机控制器的硬件在环仿真测试系统,通过构建控制器被控对象模型,被控对象模型包括环境模型、驾驶员模型以及整车模型,特别是整车模型中的双燃料发动机模型(包括气路模型、燃料供给模型、气缸燃烧模型、热平衡模型),可以完成对双燃料发动机的仿真,从而实现对柴油引燃、天然气直喷发动机控制器的闭环测试、动态测试,能够模拟不同的工况场景:启动、突变负载、发动机台架试验循环、整车驾驶循环等静态动态工况,以完成HPDI双燃料发动机控制器的控制参数预标定、功能测试、耐久测试等,具有安全、经济、成本低等优点。另外,气缸燃烧模型采用将天然气转换成柴油的方式,实现简单有效并且有利于在现有的柴油机模型上面直接更改,节省人力、提高效率。In this way, the hardware-in-the-loop simulation test system of the diesel and natural gas dual-fuel engine controller provided by the embodiment of the present invention, by constructing the controller controlled object model, the controlled object model includes the environment model, the driver model and the whole vehicle model, especially It is a dual-fuel engine model in the vehicle model (including gas path model, fuel supply model, cylinder combustion model, and heat balance model), which can complete the simulation of dual-fuel engines, so as to realize the control of diesel ignition and natural gas direct injection engine controllers The closed-loop test and dynamic test can simulate different working conditions: startup, sudden load, engine bench test cycle, vehicle driving cycle and other static and dynamic working conditions to complete the control parameter pre-calibration of the HPDI dual-fuel engine controller, Functional test, durability test, etc., have the advantages of safety, economy, and low cost. In addition, the cylinder combustion model adopts the method of converting natural gas into diesel, which is simple and effective and is conducive to direct modification on the existing diesel engine model, saving manpower and improving efficiency.

需要说明的是,本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统或装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment focuses on the differences from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and for relevant details, please refer to the description of the method part.

还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this article, relational terms such as first and second etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations Any such actual relationship or order exists between. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.

结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the methods or algorithms described in connection with the embodiments disclosed herein may be directly implemented by hardware, software modules executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other Any other known storage medium.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1.一种双燃料发动机控制器仿真测试系统,其特征在于,所述系统包括:1. A dual-fuel engine controller simulation test system, is characterized in that, said system comprises: 实时仿真机以及发动机控制器;Real-time simulator and engine controller; 所述实时仿真机用于运行环境模型、驾驶员模型以及整车模型,所述整车模型包括双燃料发动机模型、附件模型、传动系统模型、车辆纵向动力模型;所述双燃料发动机模型包括气路模型、燃料供给模型、气缸燃烧模型、热平衡模型;所述燃料供给模型用于计算柴油轨压、天然气轨压、柴油喷油量以及天然气喷射量;所述气缸燃烧模型包括扭矩模型以及废气成分模型,所述扭矩模型用于计算发动机的输出扭矩,所述废气成分模型用于计算废气成分;The real-time simulator is used for an operating environment model, a driver model, and a vehicle model, and the vehicle model includes a dual-fuel engine model, an accessory model, a transmission system model, and a vehicle longitudinal dynamic model; the dual-fuel engine model includes a gas Road model, fuel supply model, cylinder combustion model, heat balance model; the fuel supply model is used to calculate diesel rail pressure, natural gas rail pressure, diesel fuel injection volume and natural gas injection volume; the cylinder combustion model includes torque model and exhaust gas composition a model, the torque model is used to calculate the output torque of the engine, and the exhaust gas composition model is used to calculate the exhaust gas composition; 所述实时仿真机用于将所述环境模型输出的车辆环境参数、所述驾驶员模型输出的驾驶员行为参数以及所述整车模型输出的各个车辆运行参数发送给所述发动机控制器;接收所述发动机控制器发送的控制信号,根据所述控制信号继续运行环境模型、驾驶员模型以及整车模型;The real-time simulator is used to send the vehicle environment parameters output by the environment model, the driver behavior parameters output by the driver model, and the various vehicle operating parameters output by the vehicle model to the engine controller; receive The control signal sent by the engine controller continues to run the environment model, driver model and vehicle model according to the control signal; 所述发动机控制器用于根据所述车辆环境参数、所述驾驶员行为参数以及所述车辆运行参数确定发动机工况并执行控制逻辑生成控制信号,将所述控制信号发送给所述实时仿真机。The engine controller is used to determine engine operating conditions according to the vehicle environment parameters, the driver behavior parameters and the vehicle operating parameters, execute control logic to generate control signals, and send the control signals to the real-time simulator. 2.根据权利要求1所述的系统,其特征在于,所述燃料供给模型包括:2. The system of claim 1, wherein the fuel supply model comprises: 柴油喷油器模型、柴油高压油泵模型、柴油轨模型、天然气轨模型以及天然气喷射阀模型;Diesel injector model, diesel high pressure pump model, diesel rail model, natural gas rail model and natural gas injection valve model; 所述柴油喷油器模型用于根据采集得到的柴油喷射脉宽以及柴油轨压,计算柴油喷油量并输出给所述柴油轨模型;The diesel injector model is used to calculate the diesel injection quantity and output it to the diesel rail model according to the collected diesel injection pulse width and diesel rail pressure; 所述柴油高压油泵模型用于采用平均值方法计算高压油泵泵油量并输出给所述柴油轨模型;The diesel high-pressure oil pump model is used to calculate the oil volume of the high-pressure oil pump by using the average value method and output it to the diesel rail model; 所述柴油轨模型用于根据所述柴油喷油量以及所述高压油泵泵油量,计算柴油轨压并输出给所述柴油喷油器模型以及所述天然气轨模型;The diesel rail model is used to calculate the diesel rail pressure and output it to the diesel injector model and the natural gas rail model according to the diesel fuel injection volume and the high-pressure oil pump pump fuel volume; 所述天然气轨模型用于根据所述柴油轨压获得天然气轨压;The natural gas rail model is used to obtain the natural gas rail pressure according to the diesel rail pressure; 所述天然气喷射阀模型用于根据采集得到的天然气喷射脉宽以及所述天然气轨压,计算天然气喷射量。The natural gas injection valve model is used to calculate the natural gas injection amount according to the collected natural gas injection pulse width and the natural gas rail pressure. 3.根据权利要求2所述的系统,其特征在于,所述柴油轨模型具体用于:3. The system according to claim 2, wherein the diesel rail model is specifically used for: 根据连续性方程:计算柴油轨压P并输出给所述柴油喷油器模型以及所述天然气轨模型;其中,Qin为进入柴油轨的柴油流量,是根据所述高压油泵泵油量获得的;Qout为流出柴油轨的柴油流量,是根据所述柴油喷油量单位转换得到的;E为柴油的弹性模量;V为柴油轨的体积。According to the continuity equation: Calculate the diesel rail pressure P and output it to the diesel injector model and the natural gas rail model; wherein, Q in is the diesel flow rate entering the diesel rail, which is obtained according to the pump oil volume of the high-pressure oil pump; Q out is the outflow The diesel flow rate of the diesel rail is converted according to the unit of the diesel injection quantity; E is the modulus of elasticity of the diesel; V is the volume of the diesel rail. 4.根据权利要求1所述的系统,其特征在于,所述扭矩模型包括:4. The system of claim 1, wherein the torque model comprises: 提示扭矩获得单元,用于将所述天然气喷射量转换为产生同样扭矩的当量柴油质量,根据所述当量柴油质量与所述柴油喷油量之和获得提示扭矩;A prompting torque obtaining unit, configured to convert the natural gas injection quantity into an equivalent diesel mass that produces the same torque, and obtain a prompting torque according to the sum of the equivalent diesel mass and the diesel fuel injection quantity; 摩擦扭矩获得单元,用于根据发动机水温、发动机转速查找摩擦扭矩脉谱图获得摩擦扭矩;The friction torque obtaining unit is used to find the friction torque map according to the engine water temperature and the engine speed to obtain the friction torque; 扭矩获得单元,用于计算所述提示扭矩与所述摩擦扭矩之和作为发动机的输出扭矩。The torque obtaining unit is used to calculate the sum of the prompt torque and the friction torque as the output torque of the engine. 5.根据权利要求4所述的系统,其特征在于,所述提示扭矩获得单元包括:5. The system according to claim 4, wherein the prompting torque obtaining unit comprises: 第一获得子单元,用于采用将所述天然气喷射量与转换系数相乘再与补偿量相加的方式获得所述天然气喷射量转换为产生同样扭矩的当量柴油质量;The first obtaining subunit is used to obtain the conversion of the natural gas injection amount into an equivalent diesel quality that produces the same torque by multiplying the natural gas injection amount by a conversion coefficient and adding the compensation amount; 第二获得子单元,用于根据所述当量柴油质量与所述柴油喷油量之和、发动机转速查找提示扭矩脉谱图获得提示扭矩。The second obtaining subunit is used to obtain the prompt torque by searching the prompt torque map according to the sum of the equivalent diesel quality and the diesel fuel injection quantity and the engine speed. 6.根据权利要求5所述的系统,其特征在于,所述提示扭矩获得单元还包括:6. The system according to claim 5, wherein the prompting torque obtaining unit further comprises: 修正子单元,用于根据发动机转速、喷射提前角查找提示扭矩修正系数脉谱图获得提示扭矩修正系数;将所述第二获得子单元获得的提示扭矩与所述提示扭矩修正系数相乘作为提示扭矩。The correction subunit is used to find the prompt torque correction coefficient map according to the engine speed and injection advance angle to obtain the prompt torque correction coefficient; multiply the prompt torque obtained by the second obtaining subunit with the prompt torque correction coefficient as a prompt torque. 7.根据权利要求5所述的系统,其特征在于,所述转换系数是根据发动机转速、油门踏板开度查找天然气转柴油转换系数脉谱图获得的;所述补偿量是根据发动机转速、油门踏板开度查找天然气转柴油补偿量脉谱图获得的。7. The system according to claim 5, wherein the conversion coefficient is obtained by searching the natural gas to diesel oil conversion coefficient map according to the engine speed and the opening of the accelerator pedal; the compensation amount is obtained according to the engine speed, the accelerator pedal The pedal opening is obtained by searching the map of the compensation amount from natural gas to diesel. 8.根据权利要求1所述的系统,其特征在于,所述气路模型包括:8. The system according to claim 1, wherein the gas path model comprises: 增压器模型、节气门模型、进气歧管模型、进气成分模型、排气歧管模型以及EGR阀模型;Supercharger model, throttle model, intake manifold model, intake composition model, exhaust manifold model and EGR valve model; 所述增压器模型用于计算发动机增压后的压力和温度;The supercharger model is used to calculate the pressure and temperature of the engine after supercharging; 所述节气门模型用于基于等熵绝热过程的节流孔方程确定节气门开度;The throttle model is used to determine the throttle opening based on the throttle equation of the isentropic adiabatic process; 所述EGR阀模型用于基于等熵绝热过程的节流孔方程确定EGR阀开度;The EGR valve model is used to determine the EGR valve opening based on the orifice equation of the isentropic adiabatic process; 所述进气成分模型用于计算进气中的空气比率。The intake air composition model is used to calculate the air ratio in the intake air. 9.根据权利要求1所述的系统,其特征在于,所述废气成分模型具体用于计算废气中的空气比率以及废气中的燃油比率。9. The system according to claim 1, wherein the exhaust gas composition model is specifically used to calculate the air ratio in the exhaust gas and the fuel ratio in the exhaust gas. 10.根据权利要求1所述的系统,其特征在于,所述热平衡模型用于通过热量平衡计算发动机进水温度以及出水温度。10. The system according to claim 1, wherein the heat balance model is used to calculate engine inlet water temperature and outlet water temperature through heat balance. 11.根据权利要求1所述的系统,其特征在于,11. The system of claim 1, wherein: 所述传动系统模型包括:惯性模块模型、离合器模型、变速箱模型以及主减速器差速器模型;The transmission system model includes: an inertia module model, a clutch model, a gearbox model and a final drive differential model; 所述车辆纵向动力模型包括:整车负载模型以及整车速度模型;The vehicle longitudinal dynamic model includes: a vehicle load model and a vehicle speed model; 所述附件模型包括:启动机模型、电池模型以及空调模型。The accessory models include: a starter model, a battery model and an air conditioner model.
CN201410299014.8A 2014-06-27 2014-06-27 Dual-fuel engine controller simulation test system Expired - Fee Related CN104111650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410299014.8A CN104111650B (en) 2014-06-27 2014-06-27 Dual-fuel engine controller simulation test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410299014.8A CN104111650B (en) 2014-06-27 2014-06-27 Dual-fuel engine controller simulation test system

Publications (2)

Publication Number Publication Date
CN104111650A CN104111650A (en) 2014-10-22
CN104111650B true CN104111650B (en) 2017-04-26

Family

ID=51708478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410299014.8A Expired - Fee Related CN104111650B (en) 2014-06-27 2014-06-27 Dual-fuel engine controller simulation test system

Country Status (1)

Country Link
CN (1) CN104111650B (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104595043B (en) * 2014-12-26 2017-04-19 长城汽车股份有限公司 Fuel oil distributing method and system of dual-fuel engine and vehicle
CN105223023B (en) * 2015-09-29 2017-07-28 安徽江淮汽车集团股份有限公司 A kind of detection method of EGR gas temperatures and cooler for recycled exhaust gas cooling effectiveness
CN105573296B (en) * 2016-01-15 2017-12-15 上海汽车变速器有限公司 Vehicle diagnosis automatization test system and method based on hardware in loop
CN106250655B (en) * 2016-08-18 2019-07-05 潍柴动力股份有限公司 A kind of the emulation experiment method and simulating experimental system of oil mass balance
CN107503855A (en) * 2017-08-17 2017-12-22 中国第汽车股份有限公司 The fuel quantity distribution computational methods of Diesel-CNG dual fuel engine
CN107656207B (en) * 2017-08-17 2021-02-02 同济大学 Dynamic test method for vehicle fuel cell engine in power assembly loop
CN109656227A (en) * 2017-10-10 2019-04-19 中国航发商用航空发动机有限责任公司 Fuel delivery simulator and semi physical experimental rig
CN109990858B (en) * 2018-01-03 2021-02-09 陕西汽车集团有限责任公司 Method and device for calculating fuel economy of diesel-methanol dual-fuel commercial vehicle
CN108919778B (en) * 2018-06-29 2019-12-13 威马智慧出行科技(上海)有限公司 electric automobile vehicle control unit testing arrangement
CN111462571A (en) * 2019-01-19 2020-07-28 上海赫鲁丝网络科技有限公司 Digital virtual vehicle engine system
JP6940548B2 (en) * 2019-04-24 2021-09-29 株式会社ジャパンエンジンコーポレーション Marine diesel engine
CN112052630B (en) * 2019-06-05 2023-09-01 大连中和聚能自动控制系统有限公司 Double-acting cylinder simulation method and device
CN110750055A (en) * 2019-11-27 2020-02-04 中车大连电力牵引研发中心有限公司 Whole car semi-physical simulation test platform of electric tractor
CN111765020B (en) * 2020-07-08 2021-11-19 潍柴动力股份有限公司 Gas rail pressure adjusting method and system
CN112924189B (en) * 2021-01-27 2022-02-01 东风汽车股份有限公司 Durability test method for automobile transmission system
CN112859646B (en) * 2021-02-08 2022-11-22 广西玉柴机器股份有限公司 Double-planet-wheel hybrid power hardware-in-loop simulation system
CN112883653B (en) * 2021-03-19 2022-06-24 广西玉柴机器股份有限公司 Artificial intelligence-based modeling method for real-time engine model
CN113050609B (en) * 2021-03-30 2022-07-15 潍柴动力股份有限公司 An ECU testing method and device
CN113267224A (en) * 2021-05-12 2021-08-17 潍柴动力股份有限公司 EGR mass flow measurement method and device and tail gas treatment system
CN113589796B (en) * 2021-08-03 2023-01-13 安徽江淮汽车集团股份有限公司 Constant-speed cruise test system and method based on hardware-in-the-loop
CN115113540A (en) * 2022-06-09 2022-09-27 上海科梁信息科技股份有限公司 Semi-physical simulation system and method for magnetic suspension bearing, electronic equipment and medium
CN115290333A (en) * 2022-07-26 2022-11-04 中国第一汽车股份有限公司 Engine idling start-stop test method and system
CN117647966B (en) * 2023-11-17 2025-03-07 东风商用车有限公司 A gas engine air system control parameter calibration method and a gas engine control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105155A (en) * 2007-07-11 2008-01-16 华夏龙晖(北京)汽车电子科技有限公司 Engine oil gas mixing ECU control method
CN103161594A (en) * 2013-03-01 2013-06-19 无锡威孚高科技集团股份有限公司 Oil quantity management control system and method for diesel engine electric control voltage accumulation distributed type common rail system
CN203275098U (en) * 2013-05-24 2013-11-06 东莞中山大学研究院 Electric vehicle electric drive and driver dual-in-the-loop simulation test system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPS094202A0 (en) * 2002-03-08 2002-03-28 I-Sense Pty Ltd Dual fuel engine control
CA2853740A1 (en) * 2011-10-28 2013-05-02 Gary MCMAHON Improvement of a combustion engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105155A (en) * 2007-07-11 2008-01-16 华夏龙晖(北京)汽车电子科技有限公司 Engine oil gas mixing ECU control method
CN103161594A (en) * 2013-03-01 2013-06-19 无锡威孚高科技集团股份有限公司 Oil quantity management control system and method for diesel engine electric control voltage accumulation distributed type common rail system
CN203275098U (en) * 2013-05-24 2013-11-06 东莞中山大学研究院 Electric vehicle electric drive and driver dual-in-the-loop simulation test system

Also Published As

Publication number Publication date
CN104111650A (en) 2014-10-22

Similar Documents

Publication Publication Date Title
CN104111650B (en) Dual-fuel engine controller simulation test system
Nikzadfar et al. An extended mean value model (EMVM) for control-oriented modeling of diesel engines transient performance and emissions
CN106762182B (en) Method and system for controlling transient air-fuel ratio of gasoline engine
Yan et al. Design and robustness analysis of discrete observers for diesel engine in-cylinder oxygen mass fraction cycle-by-cycle estimation
JP3668370B2 (en) Evaluation device for vehicle engine control device
Wu et al. A hardware-in-the-loop (HIL) bench test of a GT-power fast running model for rapid control prototyping (RCP) verification
Xia et al. Crank-angle resolved real-time engine modelling
Cieslar Control for transient response of turbocharged engines
Punov et al. Study on the combustion process in a modern diesel engine controlled by pre-injection strategy
Ogata et al. Highly efficient development of powertrain systems using 1D Real-Time Engine Model
CN107288768B (en) The calculation method and system of internal combustion engine Atkinson cycle air inflow
CN106814635B (en) Hardware-in-the-loop experimental platform for electric control system of liquefied petroleum gas engine
CN104361818B (en) Diesel engine electric control teaching experimental system and simulation method thereof
Chen et al. Development of engine model using modulization method for EMS verification through MIL and HIL
Lahti et al. Dynamic engine control for HCCI combustion
Li et al. Control-oriented modeling and analysis for turbocharged diesel engine system
Katrašnik et al. Tailored cylinder models for system level engine modelling
CN204101295U (en) The test unit of single cylinder engine simulation complete machine
Dorsch et al. Fully coupled control of a spark-ignited engine in driving cycle simulations
Zhu et al. Simulation of the original injection MAP diagram of electronic-controlled gasoline engines based on MATLAB/SIMULINK
Wang et al. Novel application-oriented transient fuel model of a port fuel injection SI engine
Jingping et al. Development of a Fast Response High Accuracy Virtual Air Flow Meter for Internal Combustion Engine Applications
Filippou Virtual sensor for air mass flow measurement in an SI engine: Application of distributed lumped modelling in prediction of air mass flow into the cylinder of SI combustion engines
Jiang et al. A Study of Electronic Control Unit (ECU) Design and Hybrid Simulation for Motorcycle Engine
Kamaludin et al. Water injection control modelling by using model-based calibration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170426

CF01 Termination of patent right due to non-payment of annual fee