CN109656607A - A kind of full address scaling method that supporting super large nominal data amount and system - Google Patents

A kind of full address scaling method that supporting super large nominal data amount and system Download PDF

Info

Publication number
CN109656607A
CN109656607A CN201910003501.8A CN201910003501A CN109656607A CN 109656607 A CN109656607 A CN 109656607A CN 201910003501 A CN201910003501 A CN 201910003501A CN 109656607 A CN109656607 A CN 109656607A
Authority
CN
China
Prior art keywords
calibration
calibration value
ram
initial value
specified parameter
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.)
Pending
Application number
CN201910003501.8A
Other languages
Chinese (zh)
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.)
Guangxi Yuchai Machinery Co Ltd
Original Assignee
Guangxi Yuchai Machinery 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 Guangxi Yuchai Machinery Co Ltd filed Critical Guangxi Yuchai Machinery Co Ltd
Priority to CN201910003501.8A priority Critical patent/CN109656607A/en
Publication of CN109656607A publication Critical patent/CN109656607A/en
Priority to PCT/CN2019/084924 priority patent/WO2020140354A1/en
Pending legal-status Critical Current

Links

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

Abstract

The invention discloses a kind of full address scaling methods for supporting super large nominal data amount, including steps are as follows, S1, save the initial value of whole parameters in memory;S2, definition save the temporary memory space of the initial value pointer of specified parameter;S3, definition save the first ram space of the calibration value of specified parameter and save the second ram space of calibration value pointer;S4, corresponding initial value has just been read according to initial value pointer when powering on;When S5, proving operation, it is stored in the first ram space using the initial value of specified parameter as calibration value, and calibration value pointer is stored in the second ram space, calibration value is read according to calibration value pointer or new calibration value is written;Final calibration value is read according to calibration value pointer when S6, calibration are completed;S7, step S5~step S6 is repeated, completes the calibration of other parameters.The invention also discloses a kind of full address calibration systems for supporting super large nominal data amount.Super large data volume on-line proving can be realized without extending out larger RAM resource in the present invention.

Description

A kind of full address scaling method that supporting super large nominal data amount and system
Technical field
The present invention relates to Engine ECU calibration technique fields, more specifically, it relates to a kind of support super large nominal data The full address scaling method and system of amount.
Background technique
In current Engine ECU High Pressure Common Rail Fuel Injection System, as discharge standard is promoted, the complexity of software is controlled Become very high.In exploitation test process, needs to do proving operation to all multi-parameters of system, find the parameter of system optimal. Therefore, rigors are proposed to the convenience of proving operation, reliability etc..Due to the nominal data of High Pressure Common Rail Fuel Injection System Huge (being greater than 1Mbytes) is measured, it at present only very few foreign vendor (such as Bosch), can be in the volume production for not extending out RAM resource On ECU, the on-line proving of super large data volume is realized, and the method realized belongs to technology secret, without any disclosed related money Material document can be used for reference.
And existing technical solution on domestic market, in order to realize super large data volume on-line proving, it is necessary to extend out larger RAM Resource, develops dedicated calibration ECU, and calibration engineer can only use special calibrating ECU to carry out staking-out work.Tradition calibration framework As shown in Figure 1, traditional CCP/XCP framework, working page WP and RP page address space is one-to-one mapping relations, works as calibration When variable quantity is very big, the RAM resource of single-chip microcontroller is unable to satisfy requirement, it is necessary to extend out.It is very high due to extending out RAM cost, and measure Production ECU is very sensitive to cost, and therefore, volume production ECU, which can generally cancel, extends out RAM, directly solidifies the number demarcated in a program According to, it may be assumed that volume production ECU does not have on-line proving function.This scheme using special calibrating ECU on-line proving is to electric-control system Development phase debugging, production management, product up-gradation maintenance etc. bring inconvenience.
Summary of the invention
The technical problem to be solved by the present invention is to be directed to the prior art above-mentioned deficiency, the purpose of the present invention one there is provided A kind of full address that the support super large nominal data amount of super large data volume on-line proving can be realized without extending out larger RAM resource Scaling method.
The purpose of the present invention two can be realized super large data volume without extending out larger RAM resource there is provided one kind and mark online The full address calibration system of fixed support super large nominal data amount.
To achieve the goals above one, the present invention provides a kind of full address scaling method for supporting super large nominal data amount, Including steps are as follows,
S1, the initial value of whole parameters is stored in the memory of ECU and obtains the initial value pointer of whole parameters;
The temporary memory space of the initial value pointer of S2, in the memory definition for temporarily saving specified parameter;
S3, the first ram space for defining calibration value for saving specified parameter respectively in the RAM of ECU and for protecting Deposit the second ram space of the calibration value pointer of the calibration value;
S4, it has just powered on when not doing proving operation, the initial value pointer of specified parameter has been updated to the temporary memory space, And corresponding initial value is read according to the initial value pointer in the temporary memory space;
When S5, progress proving operation, it is stored in first ram space using the initial value of specified parameter as calibration value, And the calibration value pointer of the calibration value is stored in second ram space, referred to according to the calibration value in second ram space Needle reads corresponding calibration value or new calibration value is written;
When the calibration of S6, specified parameter are completed, specified parameter is read according to the calibration value pointer in second ram space Final calibration value;
S7, step S5~step S6 is repeated, completes the calibration of other parameters.
As a further improvement, the memory is flash memory FLASH.
Further, the temporary memory space is 50~100Kbytes.
Further, first ram space, the second ram space are 50~100Kbytes.
To achieve the goals above two, the present invention provides a kind of full address calibration system for supporting super large nominal data amount, Including sequentially connected host computer, CCP/XCP communication module, ECU, the ECU is respectively equipped with memory, RAM, application layer program Module, the host computer send a command to the ECU by the CCP/XCP communication module to switch the calibration shape of the ECU State, the memory are used to save the initial value of whole parameters, and the RAM is used to save the calibration value of specified parameter, described to answer It is used to read the initial value of specified parameter with layer program module, calibration carried out to specified parameter and described in calibration value is written In RAM, the host computer reads the final calibration value of specified parameter by the CCP/XCP communication module.
Beneficial effect
Compared with prior art, the present invention having the advantage that are as follows:
1, it is not required to extend out RAM chip, super large data volume proving operation can be realized, guarantee that volume production ECU has on-line proving While function, the cost of volume production ECU is effectively reduced;
2, the working efficiency of calibration engineer is improved, development phase debugging, production to electric-control system are greatly facilitated Management, product up-gradation maintenance;
3, it can be realized under the CCP/XCP agreement of standard, Protocol communication layer it goes without doing any change, implementation cost is low.
Detailed description of the invention
Fig. 1 is the block diagram of traditional technology;
Fig. 2 is block diagram of the invention.
Specific embodiment
The present invention is described further for specific embodiment in reference to the accompanying drawing.
Refering to fig. 1-2, a kind of full address scaling method for supporting super large nominal data amount, including steps are as follows,
S1, the initial value of whole parameters is stored in the memory of ECU and obtains the initial value pointer of whole parameters;
The temporary memory space of the initial value pointer of S2, in memory definition for temporarily saving specified parameter;
S3, the first ram space for defining calibration value for saving specified parameter respectively in the RAM of ECU and for protecting Deposit the second ram space of the calibration value pointer of the calibration value;
S4, it has just powered on when not doing proving operation, the initial value pointer of specified parameter has been updated to temporary memory space, and root Corresponding initial value is read according to the initial value pointer in temporary memory space;
When S5, progress proving operation, it is stored in the first ram space using the initial value of specified parameter as calibration value, and will The calibration value pointer of calibration value is stored in the second ram space, reads corresponding mark according to the calibration value pointer in the second ram space New calibration value is written in definite value;
When the calibration of S6, specified parameter are completed, specified parameter is read most according to the calibration value pointer in the second ram space Whole calibration value;
S7, step S5~step S6 is repeated, completes the calibration of other parameters.
Memory be flash memory FLASH, memory space is big, temporary memory space be 50~100Kbytes, first Ram space, the second ram space are 50~100Kbytes, and the size in specific space can be according to the size of data of specified parameter It determines, to save the ram space on single-chip microcontroller.
A kind of full address calibration system for supporting super large nominal data amount, including sequentially connected host computer, CCP/XCP are logical Module, ECU are interrogated, ECU is respectively equipped with memory, RAM, application layer program module, and host computer is sent by CCP/XCP communication module ECU is ordered to switch the calibration state of ECU, memory is used to save the initial value of whole parameters, and RAM is for saving specified ginseng Several calibration values, application layer program module are used to read the initial value of specified parameter, calibration are carried out to specified parameter and will be marked Definite value is written in RAM, and host computer reads the final calibration value of specified parameter by CCP/XCP communication module.
The present invention is not required to extend out RAM chip, and super large data volume proving operation can be realized, and guarantees that volume production ECU has online While calibrating function, the cost of volume production ECU is effectively reduced;The working efficiency of calibration engineer is improved, is greatly facilitated pair Development phase debugging, production management, the product up-gradation maintenance of electric-control system;It can be realized, assist under the CCP/XCP agreement of standard Communication layers it goes without doing any change is discussed, implementation cost is low.
What has been described above is only a preferred embodiment of the present invention, it should be pointed out that for those skilled in the art, Without departing from the structure of the invention, several modifications and improvements can also be made, these all will not influence implementation of the present invention Effect and patent practicability.

Claims (5)

1. a kind of full address scaling method for supporting super large nominal data amount, it is characterised in that: including steps are as follows,
S1, the initial value of whole parameters is stored in the memory of ECU and obtains the initial value pointer of whole parameters;
The temporary memory space of the initial value pointer of S2, in the memory definition for temporarily saving specified parameter;
S3, the first ram space for defining calibration value for saving specified parameter respectively in the RAM of ECU and for saving this Second ram space of the calibration value pointer of calibration value;
S4, it has just powered on when not doing proving operation, the initial value pointer of specified parameter has been updated to the temporary memory space, and root Corresponding initial value is read according to the initial value pointer in the temporary memory space;
When S5, progress proving operation, it is stored in first ram space using the initial value of specified parameter as calibration value, and will The calibration value pointer of the calibration value is stored in second ram space, is read according to the calibration value pointer in second ram space It takes corresponding calibration value or new calibration value is written;
When the calibration of S6, specified parameter are completed, specified parameter is read most according to the calibration value pointer in second ram space Whole calibration value;
S7, step S5~step S6 is repeated, completes the calibration of other parameters.
2. a kind of full address scaling method for supporting super large nominal data amount according to claim 1, it is characterised in that: institute The memory stated is flash memory FLASH.
3. a kind of full address scaling method for supporting super large nominal data amount according to claim 1, it is characterised in that: institute The temporary memory space stated is 50~100Kbytes.
4. a kind of full address scaling method for supporting super large nominal data amount according to claim 1 to 3, Be characterized in that: first ram space, the second ram space are 50~100Kbytes.
5. a kind of full address calibration system for supporting super large nominal data amount, it is characterised in that: including sequentially connected host computer, CCP/XCP communication module, ECU, the ECU are respectively equipped with memory, RAM, application layer program module, and the host computer passes through institute It states CCP/XCP communication module and sends a command to the ECU to switch the calibration state of the ECU, the memory is for saving The initial value of whole parameters, the RAM are used to save the calibration value of specified parameter, and the application layer program module refers to for reading Determine the initial value of parameter, calibration is carried out to specified parameter and calibration value is written in the RAM, the host computer passes through described CCP/XCP communication module reads the final calibration value of specified parameter.
CN201910003501.8A 2019-01-03 2019-01-03 A kind of full address scaling method that supporting super large nominal data amount and system Pending CN109656607A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910003501.8A CN109656607A (en) 2019-01-03 2019-01-03 A kind of full address scaling method that supporting super large nominal data amount and system
PCT/CN2019/084924 WO2020140354A1 (en) 2019-01-03 2019-04-29 Full address calibration method and system supporting ultra-large calibration data volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910003501.8A CN109656607A (en) 2019-01-03 2019-01-03 A kind of full address scaling method that supporting super large nominal data amount and system

Publications (1)

Publication Number Publication Date
CN109656607A true CN109656607A (en) 2019-04-19

Family

ID=66118719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910003501.8A Pending CN109656607A (en) 2019-01-03 2019-01-03 A kind of full address scaling method that supporting super large nominal data amount and system

Country Status (2)

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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110553788A (en) * 2019-09-06 2019-12-10 霍丁格包尔文(苏州)电子测量技术有限公司 Calibration method of sensor signal transmitting device
WO2020140354A1 (en) * 2019-01-03 2020-07-09 广西玉柴机器股份有限公司 Full address calibration method and system supporting ultra-large calibration data volume
CN113050589A (en) * 2021-03-05 2021-06-29 东软睿驰汽车技术(沈阳)有限公司 Method, device and equipment for calibrating vehicle ECU (electronic control Unit) parameters
CN113191071A (en) * 2021-03-29 2021-07-30 广西玉柴机器股份有限公司 Method for virtually calibrating engine model and related device thereof
CN113805559A (en) * 2020-06-17 2021-12-17 北京新能源汽车股份有限公司 Control parameter processing method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100313192A1 (en) * 2005-04-20 2010-12-09 Denso Corporation Electronic control system for automobile
CN102446138A (en) * 2011-09-19 2012-05-09 清华大学 Method for calibrating MAP data of single chip system
CN102787932A (en) * 2012-08-28 2012-11-21 江西直方数控动力有限公司 Apparatus and method for matching and calibrating electric control diesel engine based on serial communication
CN104216390A (en) * 2013-05-30 2014-12-17 广州汽车集团股份有限公司 Device and method for calibrating electronic control units of automobiles on basis of CCP [CAN (controller area network) calibration protocol]

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3018275A1 (en) * 1980-05-13 1981-11-19 Robert Bosch Gmbh, 7000 Stuttgart DEVICE FOR OPTIMIZING DATA AND / OR PROGRAMS FOR PROGRAMMED CONTROL UNITS
JP2004005296A (en) * 2002-06-03 2004-01-08 Motorola Inc Electronic control device
US6928362B2 (en) * 2003-06-06 2005-08-09 John Meaney System and method for real time programmability of an engine control unit
KR100520893B1 (en) * 2004-01-06 2005-10-12 씨멘스 오토모티브 주식회사 Method For Using Memory In Electronic Control Unit
CN101414188B (en) * 2008-12-03 2011-06-29 重庆邮电大学 Automobile ABS ECU on-line calibration system and method based on CCP protocol
DE102016225308A1 (en) * 2016-12-16 2018-06-21 Robert Bosch Gmbh Method and device for calibrating a control unit
CN109656607A (en) * 2019-01-03 2019-04-19 广西玉柴机器股份有限公司 A kind of full address scaling method that supporting super large nominal data amount and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100313192A1 (en) * 2005-04-20 2010-12-09 Denso Corporation Electronic control system for automobile
CN102446138A (en) * 2011-09-19 2012-05-09 清华大学 Method for calibrating MAP data of single chip system
CN102787932A (en) * 2012-08-28 2012-11-21 江西直方数控动力有限公司 Apparatus and method for matching and calibrating electric control diesel engine based on serial communication
CN104216390A (en) * 2013-05-30 2014-12-17 广州汽车集团股份有限公司 Device and method for calibrating electronic control units of automobiles on basis of CCP [CAN (controller area network) calibration protocol]

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020140354A1 (en) * 2019-01-03 2020-07-09 广西玉柴机器股份有限公司 Full address calibration method and system supporting ultra-large calibration data volume
CN110553788A (en) * 2019-09-06 2019-12-10 霍丁格包尔文(苏州)电子测量技术有限公司 Calibration method of sensor signal transmitting device
CN113805559A (en) * 2020-06-17 2021-12-17 北京新能源汽车股份有限公司 Control parameter processing method, device and equipment
CN113050589A (en) * 2021-03-05 2021-06-29 东软睿驰汽车技术(沈阳)有限公司 Method, device and equipment for calibrating vehicle ECU (electronic control Unit) parameters
CN113191071A (en) * 2021-03-29 2021-07-30 广西玉柴机器股份有限公司 Method for virtually calibrating engine model and related device thereof

Also Published As

Publication number Publication date
WO2020140354A1 (en) 2020-07-09

Similar Documents

Publication Publication Date Title
CN109656607A (en) A kind of full address scaling method that supporting super large nominal data amount and system
CN106126124B (en) A kind of data processing method and electronic equipment
CN103425611B (en) For the serial port communication method of metering field
CN103365689A (en) Singlechip parallel burning method
CN101206162A (en) System for data acquisition and signal treatment of testing flat wheel
CN110196404A (en) A kind of metering chip calibration method, device and the terminal device of charging pile
CN109240870A (en) A kind of solid state hard disk Fault Locating Method and relevant apparatus
CN103879152B (en) For storing the box chip of imaging cartridge information, imaging cartridge and communication means
CN107290654A (en) A kind of fpga logic test structure and method
CN104216390B (en) Device and method for calibrating electronic control units of automobiles on basis of CCP [CAN (controller area network) calibration protocol]
CN206378532U (en) A kind of intelligent electric energy meter
CN204166522U (en) A kind of high-speed high capacity FLASH veneer memory circuit plate
CN208077394U (en) A kind of the communication test plate and communication test system of concentrator communication module
CN105653332A (en) MCU system and burning method capable of correcting OTP (One Time Programmable) burning problem
CN112382006A (en) Electricity price adjusting method, device and equipment
CN105139890B (en) A kind of information processing method and solid state hard disk
CN103869275A (en) Measuring accuracy calibration method of intelligent single-phase watt-hour meter
CN104867520A (en) Intelligent data storage unit of exciting magnet apparatus based on ferroelectric random access memory and working method therefor
CN204667885U (en) Based on the excitation unit intelligent data repository unit of ferroelectric memory
CN110018854A (en) A kind of firmware matching process, equipment and computer readable storage medium
CN110489136A (en) A kind of production test system and method for Unionpay's cashing machine
CN101320262B (en) Voltage reference initialization system and method for electric car controller
Sun et al. The encapsulation technology of CPS node sensor based on UM-BUS
CN103561126A (en) Method for automatically associating CPU buckle board and board card in grouping device
CN203825821U (en) Serial port forwarding server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190419