Movatterモバイル変換


[0]ホーム

URL:


CN110888664A - Calibration data writing method based on XML mode - Google Patents

Calibration data writing method based on XML mode
Download PDF

Info

Publication number
CN110888664A
CN110888664ACN201911155526.6ACN201911155526ACN110888664ACN 110888664 ACN110888664 ACN 110888664ACN 201911155526 ACN201911155526 ACN 201911155526ACN 110888664 ACN110888664 ACN 110888664A
Authority
CN
China
Prior art keywords
calibration
data
calibration data
xml
writing
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
CN201911155526.6A
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.)
Chery Automobile Co Ltd
Original Assignee
Chery Automobile 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 Chery Automobile Co LtdfiledCriticalChery Automobile Co Ltd
Priority to CN201911155526.6ApriorityCriticalpatent/CN110888664A/en
Publication of CN110888664ApublicationCriticalpatent/CN110888664A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention aims to provide a simple and effective calibration data writing method based on an XML mode, which meets the requirement of a production line on production beat. The invention discloses a calibration data writing method based on an XML mode, which is used for writing calibration data in an upper computer into a target controller of a vehicle to realize data updating in the target controller and specifically comprises the following steps: A. the upper computer is in communication connection with the target controller, and an XML document containing data to be calibrated is stored in or transmitted to the upper computer; B. the upper computer analyzes the data to be calibrated from the XML document and writes the data to be calibrated into a target controller; c: and verifying the calibration data by adopting a UDS diagnostic standard. The invention uses the general XML format to put the calibration data, has simple flow and lower requirement on the calibration equipment, and is very suitable for the calibration operation of the controller with smaller calibration data amount.

Description

Calibration data writing method based on XML mode
Technical Field
The invention belongs to the technical field of automotive electronics, and particularly relates to a calibration data writing method based on an XML mode.
Background
In the research, development, production and after-sale stages of a whole vehicle, calibration data of some controllers needs to be flushed into the controllers, and currently, the following two mainstream modes are generally used for flushing the calibration data of the automobile controller: 1. based on CCP/XCP protocol, the calibration tool used in this way is expensive (e.g., CANAPE by VECTOR, INCA by ETAS), and is not suitable for production line and after sale; 2. the method based on the UDS is used for brushing the data into the controller, the realization method is practical for calibrating the controller with large data volume, but for the controller with small data volume, the method is not suitable for the requirement of a production line on production beat due to the fact that the flow is complex and the brushing time is long.
Therefore, a new method for effectively solving the problem is urgently needed.
Disclosure of Invention
The invention aims to provide a simple and effective calibration data writing method based on an XML mode, which meets the requirement of a production line on production beat.
The invention discloses a calibration data writing method based on an XML mode, which is used for writing calibration data in an upper computer into a target controller of a vehicle to realize data updating in the target controller and specifically comprises the following steps: A. the upper computer is in communication connection with the target controller, and an XML document containing data to be calibrated is stored in or transmitted to the upper computer; B. and the upper computer analyzes the data to be calibrated from the XML document and writes the data to be calibrated into the target controller.
Further, in order to ensure that the calibration data is written normally and accurately, the method further comprises a step C after the step B: verifying the calibration data by adopting a UDS diagnostic standard, wherein the step C is as follows: resetting the target controller, reading the written calibration data from the target controller by the upper computer, comparing the read calibration data with the data to be calibrated analyzed from the XML document to verify whether the writing of the calibration data is accurate, recording the verification result, and simultaneously carrying out corresponding prompt when the calibration is wrong.
Further, in the step B, when writing of the calibration data fails, the target controller sets a predetermined fault code at a predetermined position; and C, reading the content of the preset position of the target controller by the upper computer, and judging that the calibration is wrong if the content of the preset position is a preset fault code.
XML (Extensible Markup Language) is designed to transmit and store data, and is widely used in various network devices at present, and is simple and easy to understand and convenient to operate. The invention uses the general XML format to put the calibration data, has simple flow and lower requirement on the calibration equipment, and is very suitable for the calibration operation of the controller with smaller calibration data amount.
Drawings
Fig. 1 is an example of an XML file in embodiment 1.
FIG. 2 is a flow chart of the calibration data writing process of the present invention.
Detailed Description
The following describes embodiments of the present invention, such as shapes and structures of respective members, mutual positions and connection relationships between respective portions, and actions and operation principles of the respective portions, in further detail, with reference to the accompanying drawings.
Example 1:
the embodiment provides a simple and effective calibration data writing method based on an XML mode, which meets the requirement of a production line on a production beat, and is used for writing the calibration data in an upper computer into a target controller of a vehicle to realize data updating in the target controller.
As shown in fig. 2, the method for writing calibration data based on the XML scheme of this embodiment includes the following steps:
A. storing an XML document containing data to be calibrated in an upper computer, and connecting the upper computer with a target controller in a communication way; as shown in fig. 1, the XML document sequentially contains the calibration version information (i.e. MRRevo14_ T18_1.5TCI _ FWD _ Fuel in fig. 1), the format of the calibration content data (i.e. DFN _ RYTE in fig. 1), the start address of the calibration content data (i.e. 3400 in fig. 1), the length of the calibration content data, and the specific calibration content data (i.e. XX … … XX in fig. 1);
B. the upper computer analyzes the data to be calibrated from the XML document and writes the data to be calibrated into a target controller; when the target controller fails to write the calibration data, setting a preset fault code at a preset fault code position;
c: and (3) verifying calibration data by adopting a UDS diagnostic standard: resetting the target controller, reading the written calibration data from the target controller by the upper computer, comparing the read calibration data with the data to be calibrated analyzed from the XML document to verify whether the writing of the calibration data is accurate, recording the verification result, and simultaneously carrying out corresponding prompt (for example, displaying 'calibration data writing failure') when the calibration is wrong; the calibration data for verification includes calibration version information and calibration content data.
In step C, the upper computer reads the contents of the position of the fault code of the target controller, determines that calibration has failed when the contents of the position of the fault code are a predetermined fault code, and prompts the user accordingly (for example, displays "calibration data write failure").
The invention has been described in connection with the accompanying drawings, it is to be understood that the invention is not limited in its application to the details of construction and the arrangement of the components set forth in the following description, as long as the invention is capable of being practiced without modification in any way whatsoever, and is capable of other applications without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (7)

CN201911155526.6A2019-11-222019-11-22Calibration data writing method based on XML modePendingCN110888664A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911155526.6ACN110888664A (en)2019-11-222019-11-22Calibration data writing method based on XML mode

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911155526.6ACN110888664A (en)2019-11-222019-11-22Calibration data writing method based on XML mode

Publications (1)

Publication NumberPublication Date
CN110888664Atrue CN110888664A (en)2020-03-17

Family

ID=69748442

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911155526.6APendingCN110888664A (en)2019-11-222019-11-22Calibration data writing method based on XML mode

Country Status (1)

CountryLink
CN (1)CN110888664A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112485571A (en)*2020-11-242021-03-12上汽通用五菱汽车股份有限公司Calibration method, calibration system, target electrical appliance and storage medium
CN114780125A (en)*2022-04-222022-07-22潍柴动力股份有限公司Uploading method, uploading device and uploading system for calibration data of controller

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020091991A1 (en)*2000-05-112002-07-11Castro Juan CarlosUnified real-time microprocessor computer
CN109002033A (en)*2018-08-142018-12-14东风电子科技股份有限公司Automation calibration system and method based on UDS
CN109683905A (en)*2018-12-242019-04-26国云科技股份有限公司 A kind of system automatic publishing method
CN110244958A (en)*2018-03-092019-09-17法雷奥汽车内部控制(深圳)有限公司The method and apparatus of nominal data for more new vehicle
US20190354360A1 (en)*2018-05-212019-11-21GM Global Technology Operations LLCSystem and method to transmit queued over-the-air software updates

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020091991A1 (en)*2000-05-112002-07-11Castro Juan CarlosUnified real-time microprocessor computer
CN110244958A (en)*2018-03-092019-09-17法雷奥汽车内部控制(深圳)有限公司The method and apparatus of nominal data for more new vehicle
US20190354360A1 (en)*2018-05-212019-11-21GM Global Technology Operations LLCSystem and method to transmit queued over-the-air software updates
CN109002033A (en)*2018-08-142018-12-14东风电子科技股份有限公司Automation calibration system and method based on UDS
CN109683905A (en)*2018-12-242019-04-26国云科技股份有限公司 A kind of system automatic publishing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112485571A (en)*2020-11-242021-03-12上汽通用五菱汽车股份有限公司Calibration method, calibration system, target electrical appliance and storage medium
CN114780125A (en)*2022-04-222022-07-22潍柴动力股份有限公司Uploading method, uploading device and uploading system for calibration data of controller

Similar Documents

PublicationPublication DateTitle
CN105278978B (en)A kind of ECU software method for refreshing and device based on CANoe
CN103631609A (en)Method and system for refreshing vehicle-mounted ECU application program
US7957951B2 (en)Address translation system for use in a simulation environment
CN110888664A (en)Calibration data writing method based on XML mode
KR101856348B1 (en)Method for verifying of Actuator control data
CN104965507A (en)Method used for generating open diagnostic data exchange database and device
CN113384896B (en)Resource packaging method, device, equipment and medium based on Unity
CN112347650A (en) Hardware-in-the-loop simulation test method and system for autonomous driving
CN113126597A (en)Instrument calibration method and system based on database
US20080229165A1 (en)Address translation system for use in a simulation environment
CN103777858A (en)Textbox displaying method and device
CN112230848B (en)NVM automatic configuration method, device and equipment
CN115509901A (en)Analog data generation method, apparatus, computer device and storage medium
CN104598325B (en)The EDID data recording methods of calibration of display module
CN104125047A (en)Communication circuit, physical quantity measurement device, electronic apparatus, and communication method
CN111708681A (en)Log processing method, device, equipment and storage medium
US9298428B2 (en)Graphical user interface editor that displays live data during editing
CN117735257A (en)Sample tube temperature raising and lowering method, device and storage medium based on pneumatic
JP2008226020A (en)Register verifying device, method and program
CN112783683B (en)Data processing method, device, equipment and storage medium
CN106933577B (en)Python-based method and system for querying software platform control block
CN116820946A (en)Method and device for automatically testing compatibility of target software
CN110457056B (en)Instrument on-line upgrading method and receiving device based on HART bus
TW541493B (en)Method and apparatus for performing drive-based updates to disk array controllers
CN115460272B (en)User agent configuration method, system, equipment and readable storage medium for television

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20200317


[8]ページ先頭

©2009-2025 Movatter.jp