CN113778946A - Fault snapshot system - Google Patents
Fault snapshot system Download PDFInfo
- Publication number
- CN113778946A CN113778946A CN202111082166.9A CN202111082166A CN113778946A CN 113778946 A CN113778946 A CN 113778946A CN 202111082166 A CN202111082166 A CN 202111082166A CN 113778946 A CN113778946 A CN 113778946A
- Authority
- CN
- China
- Prior art keywords
- fault
- module
- data
- snapshot
- memory unit
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/128—Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a fault snapshot system, and relates to the technical field of automobiles. The system specifically comprises an environmental data module for continuously providing environmental parameters, a first storage module for caching the environmental data module, a snapshot recording module for capturing multiple groups of environmental parameters from the first storage module and the environmental data module and placing the captured multiple groups of environmental parameters into a fault information memory unit for temporary storage, and a fault event module for triggering the snapshot recording module to capture data. The method aims to capture multiple groups of fault data before and after the automobile fault.
Description
Technical Field
The invention relates to the technical field of automobiles, in particular to a fault snapshot system.
Background
With the increasing popularization of new energy electric vehicles, the complexity of the electronic units of the vehicles is increasing, and especially when the vehicles break down, how to quickly locate the cause of the failure and solve the failure is becoming an urgent demand for the parts suppliers and OEMs (complete vehicle manufacturers) to share. In the existing solution, an ECU (electronic control unit) usually records only one set of environmental data at the time of occurrence of a fault, and since the change speed of part of data (voltage or current) is high, the data captured by the ECU and the data at the time of occurrence of the fault have a large deviation, and the vehicle running environment at the time of occurrence of the fault cannot be truly restored, the analysis of the cause of the fault cannot be effectively performed, and meanwhile, because the data volume is small, the result analysis will be influenced to a certain extent for a diagnosis device adopting large data analysis. How to overcome the technical problems becomes a technical problem to be solved urgently.
Disclosure of Invention
The invention mainly aims to provide a fault snapshot system, aiming at capturing a plurality of groups of fault data before and after an automobile fault occurs.
In order to achieve the above object, the present invention provides a fault snapshot system, which includes an environment data module for continuously providing environment parameters, a first storage module for caching the environment data module, a snapshot recording module for capturing multiple sets of environment parameters from the first storage module and the environment data module and placing the captured multiple sets of environment parameters into a fault information memory unit for temporary storage, and a fault event module for triggering the snapshot recording module to capture data.
In an embodiment of the present application, the system further includes a second storage module for permanently storing the temporarily stored multiple sets of environment data.
In an embodiment of the application, when the fault snapshot system is powered on, the data stored in the second storage module is reloaded into the fault information memory unit.
In an embodiment of the present application, when the number of corresponding failures in the failure information memory unit is equal to a preset threshold of the failure information memory unit, the electronic control unit determines whether a newly captured failure type is already recorded in the failure information memory unit, and if so, replaces the original data.
In an embodiment of the present application, the electronic control unit determines whether a newly captured fault type is already recorded in the fault information memory unit, and if not, does not perform the operation.
In an embodiment of the application, after the snapshot recording module completes data capture, the snapshot recording module suspends data capture.
In an embodiment of the present application, the first storage module is in a first-in first-out mode.
In an embodiment of the present application, the environmental parameter includes at least one of a bus voltage, a bus current, a motor temperature, a control mode, and a motor speed.
In an embodiment of the present application, the snapshot system further includes a CAN communication module connected to the snapshot recording module, and the CAN communication module may interact with an external device to read or clear data in the fault information memory unit.
In an embodiment of the present application, a diagnostic protocol stack is further disposed between the CAN communication module and the snapshot recording module.
By adopting the technical scheme, the environmental data continuously generated continuously is cached in the first storage module through the environmental data module, the queue length of the first storage module is set according to the number of groups of the data acquired as required in the first storage module, and then the snapshot recording module is triggered to capture the corresponding data through the fault event module communicated with the electronic control unit, so that the acquisition of the group environmental data before and after the fault is realized.
Drawings
The invention is described in detail below with reference to specific embodiments and the attached drawing figures, wherein:
fig. 1 is a schematic structural diagram of a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and examples. It should be understood that the following specific examples are only for illustrating the present invention and are not to be construed as limiting the present invention.
As shown in fig. 1, in order to achieve the above object, the present invention provides a fault snapshot system, which includes an environment data module for continuously providing environment parameters, a first storage module for caching the environment data module, a snapshot recording module for capturing multiple sets of environment parameters from the first storage module and the environment data module and placing the captured multiple sets of environment parameters into a fault information memory unit for temporary storage, and a fault event module for triggering the snapshot recording module to capture data.
Specifically, the fault snapshot system is mainly used for obtaining fault data of the automobile. In the application, for example, when the vehicle fault data is acquired, the fault snapshot system includes an environment data module, the environment data module is mainly used for acquiring environment data of the vehicle in the starting or driving process, the environment data includes data such as a voltage value of a bus of the vehicle, a current value of the bus, a temperature of a motor, a control mode of the vehicle, a rotating speed of the motor and the like, and the generated environment data is stored in the first storage module along with continuous generation of the vehicle starting.
The electronic control unit transmits a fault signal to the fault event module when detecting that the inside of the electronic control unit has a fault, and the fault event module triggers the snapshot recording module to capture data.
After the fault event module is started, the snapshot recording module captures running environment data of the current vehicle before the fault from the first storage module, captures the part of data and stores the part of data into the fault information memory unit for temporary storage, and then the snapshot recording module jumps over the first storage module to directly obtain the running environment data of the current vehicle, namely the running environment data of the current vehicle after the fault.
The concrete description is as follows: assuming that the snapshot recording module needs to capture snapshot data 10 cycles before the failure, the queue length of the first storage module is set to 10 at this time,
and after the snapshot recording module acquires the environmental data of 10 periods before the fault, storing the acquired environmental data of 10 periods in the fault information memory unit for temporary storage. And then continuously acquiring the environment data after the failure of 10 periods, and storing the environment data in the failure information memory unit, thereby completing the acquisition of a plurality of failure data.
By adopting the technical scheme, the environmental data continuously generated continuously is cached in the first storage module through the environmental data module, the queue length of the first storage module is set according to the group number of the data acquired as required in the first storage module, and then the snapshot recording module is triggered to capture the corresponding data through the fault event module in the electronic control unit, so that the acquisition of multiple groups of data before and after the fault is realized.
In an embodiment of the present application, the system further includes a second storage module for permanently storing the temporarily stored multiple sets of environment data.
Specifically, the fault snapshot system further includes a second storage module for permanently storing the plurality of sets of environment data that are temporarily stored, where the second storage module is a D-flash (internal high-speed memory card).
By adopting the technical scheme, temporary multiple groups of environmental data stored in the internal high-speed memory card can be permanently stored without loss.
In an embodiment of the application, when the fault snapshot system is powered on, the data stored in the second storage module is reloaded into the fault information memory unit.
Specifically, when the power-on operation is performed on the fault snapshot system, in order to ensure that the electronic control unit can continue to use the content of the fault memory unit, the data stored in the second storage module is reloaded into the fault information memory unit.
In an embodiment of the application, when the number of corresponding failures in the failure information memory unit is equal to a preset threshold of the failure information memory unit, the electronic control unit determines whether a newly captured failure type is already recorded in the failure information memory unit, and if so, replaces original data.
Specifically, when the number of corresponding faults in the fault information memory unit is equal to the preset threshold value of the fault information memory unit, the electronic control unit judges whether a new fault exists, and after the fault occurs, the snapshot recording module still directly collects environmental data before and after the current fault. And if the newly-appeared fault already exists, directly replacing the environmental data captured by the original fault.
Examples are as follows: assuming that the threshold value of the corresponding failure number in the failure information memory unit is 2, when the failure information memory unit does not store any content.
At the moment, the electronic control unit judges the fault A, correspondingly acquires the environmental data corresponding to the fault A when the fault A occurs after the fault A occurs, and then stores the environmental data into the fault information memory unit. At this time, the number of the corresponding data in the failure information memory unit is 1, and at this time, the failure information memory unit also has a failed memory space.
And then, the electronic control unit judges the fault B, correspondingly acquires the environmental data corresponding to the fault B when the fault B occurs after the fault B occurs, and then stores the environmental data into the fault information memory unit. At this time, the number of the corresponding data in the failure information memory unit is 2, and the failure information memory unit is full.
And then, the electronic control unit judges the fault A again, and after the fault A occurs, the corresponding environmental data corresponding to the fault A when the fault A occurs is acquired.
By adopting the technical scheme, the processing flow of the system is reduced, and the data precision is improved.
In an embodiment of the present application, the electronic control unit determines whether a newly captured fault type is already recorded in the fault information memory unit, and if not, does not perform the operation.
Specifically, after the electronic control unit determines the fault C, the electronic control unit correspondingly acquires the environmental data corresponding to the fault C when the fault C occurs, and the environmental data of the fault C is not stored because the data in the fault information memory unit is full and the fault C does not exist.
In an embodiment of the application, after the snapshot recording module completes data capture, the snapshot recording module suspends data capture.
Specifically, after the snapshot recording module finishes one data capture, the snapshot recording module suspends the data capture and waits for the next trigger.
By adopting the technical scheme, the accuracy of data acquisition is ensured, and the load rate of the electronic control unit can be reduced.
In an embodiment of the present application, the first storage module is in a first-in first-out mode.
In an embodiment of the present application, the environmental parameter includes at least one of a bus voltage, a bus current, a motor temperature, a control mode, and a motor speed.
It is conceivable that the environmental parameters in the present application can be added later according to specific requirements.
In an embodiment of the application, the snapshot recording system further includes a CAN communication module connected to the snapshot recording module, and the CAN communication module CAN interact with an external device to read or delete data stored in the fault information memory unit.
Specifically, the CAN module is a communication module for realizing communication data receiving and sending among all electronic control devices of the whole vehicle, and the CAN communication module comprises a bottom layer CAN driver and CAN realize the receiving and sending of CAN messages. The CAN communication module CAN be used for conveniently receiving and sending data information of each node in the whole vehicle.
In an embodiment of the present application, a diagnostic protocol stack is further disposed between the CAN communication module and the snapshot recording module.
A diagnosis communication stack is arranged between the CAN communication module and the snapshot recording module, so that data interaction of external diagnosis equipment through standard diagnosis service is facilitated.
When the external equipment communicates with the snapshot recording module through the CAN communication module, the electronic control unit receives service request information of the external diagnosis equipment and then executes corresponding service processing.
Examples are as follows: and if the service is a service for reading fault information, loading the snapshot data stored in the corresponding snapshot recording module temporary storage module into a response cache. And if the service is the service for clearing the fault information, all snapshot data stored in the corresponding fault information memory unit are cleared, a request is made to the second storage module, and the snapshot data stored in the fault information memory unit is stored in the DFLASH. And after the service processing is finished, sending a positive response corresponding to the service to the external diagnostic equipment, and circulating the steps.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A fault snapshot system is characterized by comprising an environment data module for continuously providing environment parameters, a first storage module for caching the environment data module, a snapshot recording module for capturing multiple groups of environment parameters from the first storage module and the environment data module and placing the captured multiple groups of environment parameters into a fault information memory unit for temporary storage, and a fault event module for triggering the snapshot recording module to capture data.
2. The fault snapshot system of claim 1, further comprising a second storage module for permanently storing the temporarily stored sets of environmental data.
3. The fault snapshot system as claimed in claim 2, wherein when the fault snapshot system is powered on, the data stored in the second storage module is reloaded into the fault information memory unit.
4. The fault snapshot system as claimed in claim 1, wherein when the number of corresponding faults in the fault information memory unit is equal to the preset threshold value of the fault information memory unit, the electronic control unit determines whether the newly captured fault type is already recorded in the fault information memory unit, and if so, replaces the original data.
5. The fault snapshot system as claimed in claim 4, wherein the electronic control unit determines whether the newly captured fault type is already recorded in the fault information memory unit, and if not, does not operate.
6. The fault snapshot system as recited in claim 1 wherein said snapshot recording module suspends data capture after said snapshot recording module completes data capture.
7. The fault snapshot system as recited in claim 1 wherein said first storage module is in a first-in-first-out mode.
8. The fault snapshot system as recited in claim 1 wherein said environmental parameters comprise at least one of bus voltage, bus current, motor temperature, control mode, motor speed.
9. The fault snapshot system as claimed in claim 1, further comprising a CAN communication module connected to said snapshot recording module, wherein said CAN communication module is capable of reading or clearing data in said fault information memory unit interactively with an external device.
10. The fault snapshot system of claim 9 wherein a diagnostic protocol stack is further disposed between said CAN communication module and said snapshot record module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082166.9A CN113778946A (en) | 2021-09-15 | 2021-09-15 | Fault snapshot system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111082166.9A CN113778946A (en) | 2021-09-15 | 2021-09-15 | Fault snapshot system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113778946A true CN113778946A (en) | 2021-12-10 |
Family
ID=78844066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111082166.9A Pending CN113778946A (en) | 2021-09-15 | 2021-09-15 | Fault snapshot system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113778946A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373448A (en) * | 2015-10-27 | 2016-03-02 | 北京百度网讯科技有限公司 | Method and system for recovering failure data in database |
CN108170115A (en) * | 2017-11-23 | 2018-06-15 | 中冶南方(武汉)自动化有限公司 | Electric machine controller fault data recorder and access method and system |
CN109752653A (en) * | 2017-11-08 | 2019-05-14 | 宝沃汽车(中国)有限公司 | Failure analysis methods, trouble analysis system, electric machine controller and the vehicle of motor power system |
CN110322592A (en) * | 2019-07-24 | 2019-10-11 | 重庆长安汽车股份有限公司 | A kind of vehicle mounted data recorder, vehicle-mounted data recording method and automobile |
CN111781917A (en) * | 2020-07-03 | 2020-10-16 | 华人运通(江苏)技术有限公司 | Fault data processing method, domain controller and automobile |
CN113077563A (en) * | 2021-03-24 | 2021-07-06 | 合肥阳光电动力科技有限公司 | Fault information processing method and device |
-
2021
- 2021-09-15 CN CN202111082166.9A patent/CN113778946A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373448A (en) * | 2015-10-27 | 2016-03-02 | 北京百度网讯科技有限公司 | Method and system for recovering failure data in database |
CN109752653A (en) * | 2017-11-08 | 2019-05-14 | 宝沃汽车(中国)有限公司 | Failure analysis methods, trouble analysis system, electric machine controller and the vehicle of motor power system |
CN108170115A (en) * | 2017-11-23 | 2018-06-15 | 中冶南方(武汉)自动化有限公司 | Electric machine controller fault data recorder and access method and system |
CN110322592A (en) * | 2019-07-24 | 2019-10-11 | 重庆长安汽车股份有限公司 | A kind of vehicle mounted data recorder, vehicle-mounted data recording method and automobile |
CN111781917A (en) * | 2020-07-03 | 2020-10-16 | 华人运通(江苏)技术有限公司 | Fault data processing method, domain controller and automobile |
CN113077563A (en) * | 2021-03-24 | 2021-07-06 | 合肥阳光电动力科技有限公司 | Fault information processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3584658B1 (en) | Method, system, device, and computer readable storage medium for diagnosing vehicle | |
US6073063A (en) | Automotive data recording device | |
CN102568054B (en) | Information record carrier | |
US7340331B2 (en) | Vehicle data recorder using digital and analog diagnostic data | |
EP1889750B1 (en) | System mounted on a vehicle, vehicle, diagnosis information collecting device and navigation device | |
CN106527410B (en) | It is a kind of for the data record gateway of vehicle and based on the diagnostic system of the gateway | |
KR101448753B1 (en) | System and method for vehicles diagnosis using gateway | |
US8223060B2 (en) | Electric control system and electric control unit | |
JP2009286295A (en) | On-vehicle information-collecting system and data collecting method in on-vehicle information-collecting device | |
JP5278498B2 (en) | Data storage device | |
CN1661347B (en) | Control unit and data transmitting method | |
CN102930614B (en) | Integrated mobile unit register and recording method | |
US20190039458A1 (en) | Battery management apparatus | |
JP2007198939A (en) | Vehicle failure diagnosis device | |
CN112012862A (en) | Starter control method and device, whole vehicle control system and mining truck | |
CN113778946A (en) | Fault snapshot system | |
CN113228624A (en) | Video storage method of vehicle-mounted equipment and vehicle-mounted equipment | |
CN117032179A (en) | Automobile diagnosis method and device, automobile and storage medium | |
JP2002070637A (en) | Data recorder | |
JP5557386B2 (en) | Vehicle information recording system and vehicle information recording method | |
CN113815636B (en) | Vehicle safety monitoring method and device, electronic equipment and storage medium | |
CN114973453A (en) | Vehicle motor controller fault information storage system | |
CN115657639A (en) | System, method, device and storage medium for monitoring functions of vehicle-mounted chip | |
CN104660968B (en) | A kind of method using multi-memory card storage warning message | |
CN113268205A (en) | Vehicle-mounted data storage method and device and vehicle-mounted electronic equipment |
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 |