CN101510095B - Fault code storage management method for automobile active stabilization control system - Google Patents

Fault code storage management method for automobile active stabilization control system Download PDF

Info

Publication number
CN101510095B
CN101510095B CN2009100807645A CN200910080764A CN101510095B CN 101510095 B CN101510095 B CN 101510095B CN 2009100807645 A CN2009100807645 A CN 2009100807645A CN 200910080764 A CN200910080764 A CN 200910080764A CN 101510095 B CN101510095 B CN 101510095B
Authority
CN
China
Prior art keywords
fault
code
failure
byte
esp
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
CN2009100807645A
Other languages
Chinese (zh)
Other versions
CN101510095A (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.)
China Agricultural University
Original Assignee
China Agricultural University
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 China Agricultural University filed Critical China Agricultural University
Priority to CN2009100807645A priority Critical patent/CN101510095B/en
Publication of CN101510095A publication Critical patent/CN101510095A/en
Application granted granted Critical
Publication of CN101510095B publication Critical patent/CN101510095B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to a method for storing and managing the fault codes by an automotive active stability control system in the field of vehicle driving safety management system. The automotive active stability control system uses an automotive electronic stability program (ESP) for storing and managing the fault codes; the automotive ESP fault code storage and management is a way that an ESP fault diagnosis system defines, stores and reads the fault codes; firstly the ESP defines the fault codes according to the fault type, leads each fault code to be corresponding to each byte address in a designated storage unit one by one; the storage of the fault codes is carried out in a mode of changing the mark bit of a corresponding storage byte thereof; the fault diagnosis results are stored in chronological sequence from the high bit to the low bit of the corresponding bytes in sequence, thereby ensuring the characteristics of non-volatility, historicity, simple algorithm, high efficiency, and short operating cycle for the fault diagnosis result data storage of the system, guaranteeing the vehicle driving stability and greatly improving the driving safety of the vehicle.

Description

Automobile active stabilization control system is to fault code storage management method
Technical field
The invention belongs to vehicle driving safety management system field, guarantee that particularly a kind of automobile active stabilization control system of vehicle run stability is to fault code storage management method.
Background technology
Existing automobile ESP fault diagnosis system adopts the mode that failure code is directly deposited in the nonvolatile memory address of appointment to carry out fault code storage management, this mode can only write down the diagnostic result of the fault type of the last correspondence in a storer byte, can not store the historical record of such fault diagnosis result, for break down maintenance provides information less, especially for intermittent defect, may remove failure code before because of last diagnosis non-fault, be unfavorable for trouble hunting and in time get rid of potential safety hazard; This storage mode has also caused the waste of system's storage resources.
Summary of the invention
The purpose of this invention is to provide a kind of automobile active stabilization control system to fault code storage management method, it is characterized in that, automobile active stabilization control system adopts electronic stability program of automobile ESP to fault code storage management, and vehicle is travelled by driver's intention; Described automobile ESP fault code storage management promptly is the mode that the ESP fault diagnosis system defines, stores and read failure code; At first ESP is according to fault type failure definition code, and each byte address in each failure code and the designated memory cell is corresponding one by one, i.e. the result that each storage of a failure code memory address byte is checked for 1 time, 0,1 respectively expression do not have, have fault; Failure code memory address is stored the up-to-date result who checks for n time, and the result of fault diagnosis is in chronological sequence stored to low level successively from the high position of corresponding byte, and wherein n is the figure place of memory address byte; The new failure code of each storage is brought in constant renewal in storage unit by the mode to high bit shift, the storage of failure code is to carry out in the mode that changes a zone bit in its corresponding stored byte, this fault flag be the fault code each of corresponding byte, the pairing storer byte of failure code is carried out bit manipulation, and such byte can write down the result of nearest several fault diagnosis; According to type of memory, the record number of times of each fault type diagnostic result is the figure place of its corresponding stored device byte; During maintenance, successively the failure code of each time check result of each fault type is read, inquires about by the external diagnosis system; The historical record that makes failure message helps diagnosing and the making full use of of maintenance and system's storage resources more comprehensively.
In described failure code and the designated memory locations byte address corresponding one by one be meant defined each failure code in the ESP fault diagnosis system all with its storage unit in a byte address corresponding.
Described failure code reads, when using external diagnosis system read failure code, the result who reads during acquiescence for the last inspection of all diagnostic trouble code, the result of Jian Chaing reads from the lowest order of failure logging memory address at last, with the data that read is 1, it is 0 that expression has failure logging, the data that read, expression non-fault record; If 1, then change the communication format of this diagnostic trouble code into by computing, if 0, then change 0000000000000000 into by computing, carry out the communication transmission with the external diagnosis system; If read n-1 check result before the last inspection, then as long as use the page-turning instruction forward of external diagnosis system, whenever turn over one page, once read the failure logging of previous all failure codes, until n the failure code record that reads all faults.
The invention has the beneficial effects as follows that the ESP fault diagnosis system has improved the reliability of system, the reliability of its system itself is also most important, fault code storage management is the pith of fault diagnostic system, need to guarantee the non-volatile, historic of system diagnostics results (failure code) storage data, and require that algorithm is simple, efficient is high, execution cycle is short etc.
Description of drawings
The corresponding relation of Fig. 1 failure code and memory address
Fig. 2 step-by-step storage failure code
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing.
The ESP fault diagnosis system is at first determined its fault type to the fault of diagnosing out, according to fault type, defines its failure code; Failure code is corresponding with the address of certain byte in the designated memory locations, and promptly all corresponding the and designated memory locations address of each failure code in the ESP fault diagnosis system helps simplifying control program algorithm, code storage, transmits and reads.Shown in Figure 1, provide an example, the corresponding relation of failure code and memory address is described, as my memory address of C1411 correspondence of fault code be; The memory address Shi $FDE1 of C1412 correspondence; The memory address Shi $FDE2 of C1413 correspondence;
Shown in Figure 2, be the example of step-by-step storage failure code, for the memory unit address of one type fault correspondence, 8 grids in the top of figure represent to deposit in new failure code failure logging byte content before; 8 grids in the bottom of figure represent to deposit in new failure code failure logging byte content afterwards; The storing process of new failure code is: at first to 8 grids in top represent deposit new failure code in before the failure logging byte content carry out moving a bit arithmetic to high-order (left side), deposit up-to-date check result (0/1 represents not have/have fault respectively) in lowest order (the right) then, the results are shown in 8 grids in bottom, promptly deposit new failure code failure logging byte content afterwards in.Keep lowest order to be always up-to-date check result like this, be left the result of all previous inspection in chronological order successively, the check result number of times of being preserved is the byte figure place of storer, can store check result for several times like this in a byte, helps fault analysis and maintenance.Reading of failure code from lowest order (the right), if read last check result before, then, whenever turn over one page, once read the failure logging of previous all failure codes as long as use the page-turning instruction forward of external diagnosis system, until reading all failure code records, as above-mentioned example, when inquiring about up-to-date check result, promptly read the failure logging byte lowest order that deposits in after the new failure code, it is recorded as 1, represents that up-to-date primary fault inspection has fault; Read last time by page turning that failure logging is 0, represent a preceding trouble shooting non-fault, page turning can the query history failure logging forward successively, and the record number of times of storage is the figure place of a byte of storer.

Claims (3)

1. an automobile active stabilization control system is to fault code storage management method, it is characterized in that, automobile active stabilization control system adopts electronic stability program of automobile ESP to fault code storage management, and vehicle is travelled by driver's intention; Described automobile ESP fault code storage management promptly is the mode that the ESP fault diagnosis system defines, stores and read failure code; At first ESP is according to fault type failure definition code, and each byte address in each failure code and the designated memory cell is corresponding one by one, i.e. the result that each storage of a failure code memory address byte is checked for 1 time, 0,1 respectively expression do not have, have fault; Failure code memory address is stored the up-to-date result who checks for n time, and the result of fault diagnosis is in chronological sequence stored to low level successively from the high position of corresponding byte, and wherein n is the figure place of memory address byte; The new failure code of each storage is brought in constant renewal in storage unit by the mode to high bit shift, the storage of failure code is to carry out in the mode that changes a zone bit in its corresponding stored byte, this fault flag be the fault code each of corresponding byte, the pairing storer byte of failure code is carried out bit manipulation, and such byte can write down the result of nearest several fault diagnosis; According to type of memory, the record number of times of each fault type diagnostic result is the figure place of its corresponding stored device byte; During maintenance, successively the failure code of each time check result of each fault type is read, inquires about by the external diagnosis system; The historical record that makes failure message helps diagnosing and the making full use of of maintenance and system's storage resources more comprehensively.
According to the described automobile active stabilization control system of claim 1 to fault code storage management method, it is characterized in that, in described failure code and the designated memory locations byte address corresponding one by one be meant defined each failure code in the ESP fault diagnosis system all with its storage unit in a byte address corresponding.
According to the described automobile active stabilization control system of claim 1 to fault code storage management method, it is characterized in that, described failure code reads, when using external diagnosis system read failure code, the result who reads during acquiescence for the last inspection of all failure codes, the result of Jian Chaing reads from the lowest order of failure logging memory address at last, with the data that read is 1, it is 0 that expression has failure logging, the data that read, expression non-fault record; If 1, then change the communication format of this diagnostic trouble code into by computing, if 0, then change 0000000000000000 into by computing, carry out the communication transmission with the external diagnosis system; If read n-1 check result before the last inspection, then as long as use the page-turning instruction forward of external diagnosis system, whenever turn over one page, once read the failure logging of previous all failure codes, until n the failure code record that reads all faults.
CN2009100807645A 2009-03-27 2009-03-27 Fault code storage management method for automobile active stabilization control system Expired - Fee Related CN101510095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100807645A CN101510095B (en) 2009-03-27 2009-03-27 Fault code storage management method for automobile active stabilization control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100807645A CN101510095B (en) 2009-03-27 2009-03-27 Fault code storage management method for automobile active stabilization control system

Publications (2)

Publication Number Publication Date
CN101510095A CN101510095A (en) 2009-08-19
CN101510095B true CN101510095B (en) 2011-05-18

Family

ID=41002509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100807645A Expired - Fee Related CN101510095B (en) 2009-03-27 2009-03-27 Fault code storage management method for automobile active stabilization control system

Country Status (1)

Country Link
CN (1) CN101510095B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419594A (en) * 2011-10-27 2012-04-18 深圳市赛格导航科技股份有限公司 Automobile fault diagnosis kit and diagnostic system and method
CN106557083B (en) * 2015-09-26 2018-10-19 广州汽车集团股份有限公司 The error code recording method of vehicle electrically controlling unit and vehicle electrically controlling unit
CN105404274B (en) * 2015-11-27 2018-04-20 广州汽车集团股份有限公司 Vehicle electrically controlling unit and its error code detection and recording method and vehicle
CN108090160A (en) * 2017-12-13 2018-05-29 中车株洲电力机车有限公司 Train fault diagnostic device and method based on embedded database
CN109557907B (en) * 2018-12-20 2023-05-23 中车大连电力牵引研发中心有限公司 Fault recording and resolving system for traction system
CN111913427A (en) * 2020-06-02 2020-11-10 株洲长河电力机车科技有限公司 Test method and system for locomotive high-low voltage cabinet and storage medium
CN113110371A (en) * 2021-03-16 2021-07-13 佛山市飞驰汽车科技有限公司 Vehicle fault code storage and transmission system and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249497A (en) * 1998-08-14 2000-04-05 Lg产电株式会社 Device and method for display of malfunction of parking equipment
CN101339203A (en) * 2007-11-20 2009-01-07 北京金万安汽车电子技术研发有限公司 Automobile wheel speed sensor fault monitoring method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249497A (en) * 1998-08-14 2000-04-05 Lg产电株式会社 Device and method for display of malfunction of parking equipment
CN101339203A (en) * 2007-11-20 2009-01-07 北京金万安汽车电子技术研发有限公司 Automobile wheel speed sensor fault monitoring method

Also Published As

Publication number Publication date
CN101510095A (en) 2009-08-19

Similar Documents

Publication Publication Date Title
CN101510095B (en) Fault code storage management method for automobile active stabilization control system
CN102043722B (en) Automobile total mileage storage method
CN103559138B (en) Solid state hard disc and space management thereof
CN102568054B (en) Information record carrier
CN101419841B (en) Erasing method for FLASH memory
CN101673243B (en) Data storage device and method
CN104516959B (en) A kind of method and device for managing database journal
CN101876949A (en) Date memorizing system and method thereof
CN102063380B (en) Method and device for writing data in non-volatile memory
CN103678149B (en) Data processing method and device
CN104220991A (en) Architecture to allow efficient storage of data on nand flash memory
CN106408684A (en) Fault information storage method and device
CN106528443B (en) FLASH management system and method suitable for spaceborne data management
CN103647935A (en) Method for storing video data and video monitoring device
CN105467970A (en) Vehicle driving safety management system
CN103208314A (en) Internal memory test method of embedded system and embedded system
CN102981977A (en) Data storage method capable of prolonging service life of abode flash player (FLASH)
JP2011103077A (en) Memory device
CN101278321A (en) Method for improving diagnosis of a possible breakdown in a vehicle
CN109189724B (en) Method and device for improving audio and video data storage efficiency of video monitoring system
CN203311409U (en) Bad queue management device for Nand Flash
JP2009509256A (en) Data processing apparatus and operating method
JP2014133435A (en) Vehicle failure recording device and vehicle failure recording method
CN105677233A (en) Storage method and storage device for real-time data
CN112572227B (en) Information management method and system for electric vehicle battery and readable storage medium

Legal Events

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

Granted publication date: 20110518

Termination date: 20130327