WO2020140354A1 - 一种支持超大标定数据量的全地址标定方法及系统 - Google Patents

一种支持超大标定数据量的全地址标定方法及系统 Download PDF

Info

Publication number
WO2020140354A1
WO2020140354A1 PCT/CN2019/084924 CN2019084924W WO2020140354A1 WO 2020140354 A1 WO2020140354 A1 WO 2020140354A1 CN 2019084924 W CN2019084924 W CN 2019084924W WO 2020140354 A1 WO2020140354 A1 WO 2020140354A1
Authority
WO
WIPO (PCT)
Prior art keywords
calibration
value
ram
space
pointer
Prior art date
Application number
PCT/CN2019/084924
Other languages
English (en)
French (fr)
Inventor
邓小超
胡国强
林铁坚
叶宇
桑海浪
刘星
张学松
吴可
Original Assignee
广西玉柴机器股份有限公司
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 广西玉柴机器股份有限公司 filed Critical 广西玉柴机器股份有限公司
Publication of WO2020140354A1 publication Critical patent/WO2020140354A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2432Methods of calibration

Definitions

  • the present invention relates to the technical field of engine ECU calibration, and more specifically, it relates to a full address calibration method and system that supports a large amount of calibration data.
  • the technical problem to be solved by the present invention is to address the above-mentioned deficiencies in the prior art.
  • the first purpose of the present invention is to provide a full address that supports online calibration of a large amount of data without requiring the expansion of larger RAM resources. Calibration method.
  • the second objective of the present invention is to provide a full-address calibration system that supports ultra-large calibration data volume and can realize ultra-large data volume online calibration without external expansion of large RAM resources.
  • the present invention provides a full address calibration method that supports a large amount of calibration data, including the following steps,
  • RAM of the ECU respectively define a first RAM space for storing the calibration value of the specified parameter and a second RAM space for storing the calibration value pointer of the calibration value;
  • the memory is FLASH.
  • the temporary storage space is 50-100Kbytes.
  • first RAM space and the second RAM space are both 50-100Kbytes.
  • the present invention provides a full address calibration system that supports a large amount of calibration data, including a host computer connected in sequence, a CCP/XCP communication module, and an ECU, which are respectively provided with a memory, a RAM, and an application layer program Module, the host computer sends a command to the ECU through the CCP/XCP communication module to switch the calibration state of the ECU, the memory is used to save the initial values of all parameters, and the RAM is used to save the specified parameters Calibration value, the application layer program module is used to read the initial value of the specified parameter, calibrate the specified parameter and write the calibration value into the RAM, the host computer reads the specified value through the CCP/XCP communication module The final calibration value of the parameter.
  • the present invention has the following advantages:
  • Figure 1 is a block diagram of a conventional technology
  • FIG. 2 is a block diagram of the present invention.
  • a full address calibration method that supports a large amount of calibration data includes the following steps.
  • the memory is FLASH, the storage space is large, the temporary storage space is 50 ⁇ 100Kbytes, the first RAM space and the second RAM space are both 50 ⁇ 100Kbytes, the specific space size can be determined according to the data size of the specified parameters to save the single chip RAM space.
  • a full address calibration system that supports a large amount of calibration data includes a host computer, a CCP/XCP communication module, and an ECU connected in sequence.
  • the ECU is provided with a memory, a RAM, and an application layer program module.
  • the host computer sends through the CCP/XCP communication module Command to the ECU to switch the calibration state of the ECU.
  • the memory is used to save the initial values of all parameters.
  • the RAM is used to save the specified values of the specified parameters.
  • the application layer program module is used to read the initial values of the specified parameters, calibrate the specified parameters Write the calibration value into RAM, and the upper computer reads the final calibration value of the specified parameter through the CCP/XCP communication module.
  • the invention can realize the calibration operation of super large data volume without external expansion of the RAM chip, ensuring that the mass production ECU has the online calibration function, and effectively reduces the cost of the mass production ECU; it improves the work efficiency of the calibration engineer and greatly facilitates the control of electricity. Debugging, production management, product upgrade and maintenance of the control system in the research and development stage; it can be achieved under the standard CCP/XCP protocol, without any changes in the protocol communication layer, and the implementation cost is low.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种支持超大标定数据量的全地址标定方法,包括步骤如下,S1、将全部参数的初始值保存在存储器中;S2、定义保存指定参数的初始值指针的临时存储空间;S3、定义保存指定参数的标定值的第一RAM空间和保存标定值指针的第二RAM空间;S4、刚上电时根据初始值指针读取相应的初始值;S5、标定操作时,将指定参数的初始值作为标定值保存于第一RAM空间,并将标定值指针保存于第二RAM空间,根据标定值指针读取标定值或写入新的标定值;S6、标定完成时根据标定值指针读取最终标定值;S7、重复步骤S5~步骤S6,完成其它参数的标定。同时公开了一种支持超大标定数据量的全地址标定系统。能完成无需外扩较大RAM资源即可实现超大数据量在线标定。

Description

一种支持超大标定数据量的全地址标定方法及系统 技术领域
本发明涉及发动机ECU标定技术领域,更具体地说,它涉及一种支持超大标定数据量的全地址标定方法及系统。
背景技术
在目前的发动机ECU高压共轨电控系统中,随着排放标准提升,控制软件的复杂度变得非常高。在开发测试过程中,需要对系统诸多参数做标定操作,找到系统最优的参数。因此,对标定操作的便利性、可靠性等提出了严苛要求。由于高压共轨电控系统的标定数据量巨大(大于1Mbytes),目前只有很少数国外厂商(比如博世),能在不外扩RAM资源的量产ECU上,实现超大数据量的在线标定,且实现的方法属于技术机密,没有任何公开的相关资料文档可以借鉴。
而国内市场上现有的技术方案,为了实现超大数据量在线标定,必须外扩较大RAM资源,开发专用的标定ECU,标定工程师只能使用专用标定ECU进行标定工作。传统标定架构如图1所示,传统的CCP/XCP架构,工作页WP和RP页地址空间为一一对应的映射关系,当标定变量数量很大时,单片机的RAM资源无法满足要求,必须外扩。由于外扩RAM成本很高,且量产ECU对成本非常敏感,因此,量产ECU一般会取消外扩RAM,直接在程序中固化标定好的数据,即:量产ECU不具备在线标定功能。这种采用专用标定ECU在线标定的方案对电控系统的研发阶段调试、生产管理、产品升级维护等带来诸多不便。
发明内容
本发明要解决的技术问题是针对现有技术的上述不足,本发明的目的一是提供了一种无需外扩较大RAM资源即可实现超大数据量在线标定的支持超大标定数据量的全地址标定方法。
本发明的目的二是提供了一种无需外扩较大RAM资源即可实现超大数据量 在线标定的支持超大标定数据量的全地址标定系统。
为了实现上述目的一,本发明提供一种支持超大标定数据量的全地址标定方法,包括步骤如下,
S1、将全部参数的初始值保存在ECU的存储器中并取得全部参数的初始值指针;
S2、在所述存储器中定义用于临时保存指定参数的初始值指针的临时存储空间;
S3、在ECU的RAM中分别定义用于保存指定参数的标定值的第一RAM空间和用于保存该标定值的标定值指针的第二RAM空间;
S4、刚上电不做标定操作时,将指定参数的初始值指针更新到所述临时存储空间,并根据所述临时存储空间内的初始值指针读取相应的初始值;
S5、进行标定操作时,将指定参数的初始值作为标定值保存于所述第一RAM空间,并将该标定值的标定值指针保存于所述第二RAM空间,根据所述第二RAM空间内的标定值指针读取相应的标定值或写入新的标定值;
S6、指定参数的标定完成时,根据所述第二RAM空间内的标定值指针读取指定参数的最终标定值;
S7、重复步骤S5~步骤S6,完成其它参数的标定。
作为进一步地改进,所述的存储器为快闪存储器FLASH。
进一步地,所述的临时存储空间为50~100Kbytes。
进一步地,所述的第一RAM空间、第二RAM空间均为50~100Kbytes。
为了实现上述目的二,本发明提供一种支持超大标定数据量的全地址标定系统,包括依次连接的上位机、CCP/XCP通讯模块、ECU,所述ECU分别设有存储器、RAM、应用层程序模块,所述上位机通过所述CCP/XCP通讯模块发送命令 到所述ECU以切换所述ECU的标定状态,所述存储器用于保存全部参数的初始值,所述RAM用于保存指定参数的标定值,所述应用层程序模块用于读取指定参数的初始值、对指定参数进行标定以及将标定值写入所述RAM中,所述上位机通过所述CCP/XCP通讯模块读取指定参数的最终标定值。
有益效果
本发明与现有技术相比,具有的优点为:
1、不需外扩RAM芯片,即可实现超大数据量标定操作,保证量产ECU具备在线标定功能的同时,有效降低量产ECU的成本;
2、提升了标定工程师的工作效率,大大方便了对电控系统的研发阶段调试、生产管理、产品升级维护;
3、在标准的CCP/XCP协议下即可实现,协议通信层不用做任何更改,实施成本低。
附图说明
图1为传统技术的方框图;
图2为本发明的方框图。
具体实施方式
下面结合附图中的具体实施例对本发明做进一步的说明。
参阅图1-2,一种支持超大标定数据量的全地址标定方法,包括步骤如下,
S1、将全部参数的初始值保存在ECU的存储器中并取得全部参数的初始值指针;
S2、在存储器中定义用于临时保存指定参数的初始值指针的临时存储空间;
S3、在ECU的RAM中分别定义用于保存指定参数的标定值的第一RAM空间 和用于保存该标定值的标定值指针的第二RAM空间;
S4、刚上电不做标定操作时,将指定参数的初始值指针更新到临时存储空间,并根据临时存储空间内的初始值指针读取相应的初始值;
S5、进行标定操作时,将指定参数的初始值作为标定值保存于第一RAM空间,并将标定值的标定值指针保存于第二RAM空间,根据第二RAM空间内的标定值指针读取相应的标定值或写入新的标定值;
S6、指定参数的标定完成时,根据第二RAM空间内的标定值指针读取指定参数的最终标定值;
S7、重复步骤S5~步骤S6,完成其它参数的标定。
存储器为快闪存储器FLASH,存储空间大,临时存储空间为50~100Kbytes,第一RAM空间、第二RAM空间均为50~100Kbytes,具体空间的大小可以根据指定参数的数据大小确定,以节省单片机上的RAM空间。
一种支持超大标定数据量的全地址标定系统,包括依次连接的上位机、CCP/XCP通讯模块、ECU,ECU分别设有存储器、RAM、应用层程序模块,上位机通过CCP/XCP通讯模块发送命令到ECU以切换ECU的标定状态,存储器用于保存全部参数的初始值,RAM用于保存指定参数的标定值,应用层程序模块用于读取指定参数的初始值、对指定参数进行标定以及将标定值写入RAM中,上位机通过CCP/XCP通讯模块读取指定参数的最终标定值。
本发明不需外扩RAM芯片,即可实现超大数据量标定操作,保证量产ECU具备在线标定功能的同时,有效降低量产ECU的成本;提升了标定工程师的工作效率,大大方便了对电控系统的研发阶段调试、生产管理、产品升级维护;在标准的CCP/XCP协议下即可实现,协议通信层不用做任何更改,实施成本低。
以上所述的仅是本发明的优选实施方式,应当指出对于本领域的技术人员来说,在不脱离本发明结构的前提下,还可以作出若干变形和改进,这些都不 会影响本发明实施的效果和专利的实用性。

Claims (5)

  1. 一种支持超大标定数据量的全地址标定方法,其特征在于:包括步骤如下,
    S1、将全部参数的初始值保存在ECU的存储器中并取得全部参数的初始值指针;
    S2、在所述存储器中定义用于临时保存指定参数的初始值指针的临时存储空间;
    S3、在ECU的RAM中分别定义用于保存指定参数的标定值的第一RAM空间和用于保存该标定值的标定值指针的第二RAM空间;
    S4、刚上电不做标定操作时,将指定参数的初始值指针更新到所述临时存储空间,并根据所述临时存储空间内的初始值指针读取相应的初始值;
    S5、进行标定操作时,将指定参数的初始值作为标定值保存于所述第一RAM空间,并将该标定值的标定值指针保存于所述第二RAM空间,根据所述第二RAM空间内的标定值指针读取相应的标定值或写入新的标定值;
    S6、指定参数的标定完成时,根据所述第二RAM空间内的标定值指针读取指定参数的最终标定值;
    S7、重复步骤S5~步骤S6,完成其它参数的标定。
  2. 根据权利要求1所述的一种支持超大标定数据量的全地址标定方法,其特征在于:所述的存储器为快闪存储器FLASH。
  3. 根据权利要求1所述的一种支持超大标定数据量的全地址标定方法,其特征在于:所述的临时存储空间为50~100Kbytes。
  4. 根据权利要求1-3任意一项所述的一种支持超大标定数据量的全地址标定方法,其特征在于:所述的第一RAM空间、第二RAM空间均为50~100Kbytes。
  5. 一种支持超大标定数据量的全地址标定系统,其特征在于:包括依次连 接的上位机、CCP/XCP通讯模块、ECU,所述ECU分别设有存储器、RAM、应用层程序模块,所述上位机通过所述CCP/XCP通讯模块发送命令到所述ECU以切换所述ECU的标定状态,所述存储器用于保存全部参数的初始值,所述RAM用于保存指定参数的标定值,所述应用层程序模块用于读取指定参数的初始值、对指定参数进行标定以及将标定值写入所述RAM中,所述上位机通过所述CCP/XCP通讯模块读取指定参数的最终标定值。
PCT/CN2019/084924 2019-01-03 2019-04-29 一种支持超大标定数据量的全地址标定方法及系统 WO2020140354A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910003501.8A CN109656607A (zh) 2019-01-03 2019-01-03 一种支持超大标定数据量的全地址标定方法及系统
CN201910003501.8 2019-01-03

Publications (1)

Publication Number Publication Date
WO2020140354A1 true WO2020140354A1 (zh) 2020-07-09

Family

ID=66118719

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/084924 WO2020140354A1 (zh) 2019-01-03 2019-04-29 一种支持超大标定数据量的全地址标定方法及系统

Country Status (2)

Country Link
CN (1) CN109656607A (zh)
WO (1) WO2020140354A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656607A (zh) * 2019-01-03 2019-04-19 广西玉柴机器股份有限公司 一种支持超大标定数据量的全地址标定方法及系统
CN110553788A (zh) * 2019-09-06 2019-12-10 霍丁格包尔文(苏州)电子测量技术有限公司 一种传感器信号变送装置的标定方法
CN113805559A (zh) * 2020-06-17 2021-12-17 北京新能源汽车股份有限公司 一种控制参数处理方法、装置及设备
CN113050589B (zh) * 2021-03-05 2022-06-03 东软睿驰汽车技术(沈阳)有限公司 一种车辆ecu参数的标定方法、装置及设备
CN113191071B (zh) * 2021-03-29 2023-06-02 广西玉柴机器股份有限公司 一种虚拟标定发动机模型的方法及其相关装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3018275A1 (de) * 1980-05-13 1981-11-19 Robert Bosch Gmbh, 7000 Stuttgart Vorrichtung zur optimierung von daten und/oder programmen fuer programmierte steuergeraete
US20040249558A1 (en) * 2003-06-06 2004-12-09 John Meaney System and method for real time programmability of an engine control unit
KR20050072308A (ko) * 2004-01-06 2005-07-11 씨멘스 오토모티브 주식회사 전자 제어 장치의 메모리 사용 방법
CN1659662A (zh) * 2002-06-03 2005-08-24 飞思卡尔半导体公司 电子控制装置
CN101414188A (zh) * 2008-12-03 2009-04-22 重庆邮电大学 基于ccp协议的汽车abs ecu在线标定系统和标定方法
CN108205306A (zh) * 2016-12-16 2018-06-26 罗伯特·博世有限公司 用于对控制器进行校准的方法和装置
CN109656607A (zh) * 2019-01-03 2019-04-19 广西玉柴机器股份有限公司 一种支持超大标定数据量的全地址标定方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259207A1 (en) * 2005-04-20 2006-11-16 Denso Corporation Electronic control system for automobile
CN102446138B (zh) * 2011-09-19 2014-02-19 清华大学 一种单片机系统map数据标定方法
CN102787932A (zh) * 2012-08-28 2012-11-21 江西直方数控动力有限公司 基于串行通信的电控柴油发动机匹配标定装置和方法
CN104216390B (zh) * 2013-05-30 2017-04-19 广州汽车集团股份有限公司 一种基于ccp协议的汽车电子控制单元的标定装置及方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3018275A1 (de) * 1980-05-13 1981-11-19 Robert Bosch Gmbh, 7000 Stuttgart Vorrichtung zur optimierung von daten und/oder programmen fuer programmierte steuergeraete
CN1659662A (zh) * 2002-06-03 2005-08-24 飞思卡尔半导体公司 电子控制装置
US20040249558A1 (en) * 2003-06-06 2004-12-09 John Meaney System and method for real time programmability of an engine control unit
KR20050072308A (ko) * 2004-01-06 2005-07-11 씨멘스 오토모티브 주식회사 전자 제어 장치의 메모리 사용 방법
CN101414188A (zh) * 2008-12-03 2009-04-22 重庆邮电大学 基于ccp协议的汽车abs ecu在线标定系统和标定方法
CN108205306A (zh) * 2016-12-16 2018-06-26 罗伯特·博世有限公司 用于对控制器进行校准的方法和装置
CN109656607A (zh) * 2019-01-03 2019-04-19 广西玉柴机器股份有限公司 一种支持超大标定数据量的全地址标定方法及系统

Also Published As

Publication number Publication date
CN109656607A (zh) 2019-04-19

Similar Documents

Publication Publication Date Title
WO2020140354A1 (zh) 一种支持超大标定数据量的全地址标定方法及系统
JP5677336B2 (ja) メモリ・デバイス
CN101334758A (zh) 用于嵌入式系统扩展存储空间的装置和方法
CN105572565A (zh) 适用于1553总线协议的内建自测试电路
CN110727543A (zh) 一种商用非对称密码算法硬件模块
CN101110271A (zh) 一种内存性能的生产测试方法
CN104090519A (zh) 一种与plc扩展模块通信的系统及实现方法
US9104533B2 (en) Voltage and timing calibration method used in memory system
CN108198582B (zh) 一种NAND Flash控制方法、装置及SSD
US20230077794A1 (en) Method for generating memory pattern, computer-readable storage medium and device
CN101493759B (zh) 一种任意容量异步先入先出存储器的地址控制方法
CN203250312U (zh) 一种接口形式可扩展的通用核心处理子板
CN202473263U (zh) 支持高擦写次数的flash存储器电路
CN105677527A (zh) 一种自动测量嵌入式存储器最大工作频率的系统及方法
CN103294606A (zh) 一种分配内存及检测内存溢出的方法和装置
CN102034543B (zh) 在单任务中实现同时烧写多片nandflash的方法
CN101996168B (zh) 格式化闪存的方法和装置
CN114546451B (zh) 一种基于文件上传的对mpu端程序内部参数进行标定的方法
CN109814888A (zh) NandFlash控制器EFUSE代替方法及装置
CN102200926B (zh) 一种存储器读操作功能的仿真验证方法
CN101489124B (zh) 一种同步动态存储器的使用方法
CN104731704A (zh) Nand flash管理软件的测试方法
CN110059028A (zh) 数据储存芯片及数据存取方法
CN108664410B (zh) 一种集成电路CP测试Pass Flag保存、刷新、读取比较方法及其电路
CN100370466C (zh) 逻辑电路仿真测试方法和系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19908053

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19908053

Country of ref document: EP

Kind code of ref document: A1