CN113778946A - Fault snapshot system - Google Patents

Fault snapshot system Download PDF

Info

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
Application number
CN202111082166.9A
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.)
Shanghai Weimeisi New Energy Co ltd
Original Assignee
Shanghai Weimeisi New Energy 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 Shanghai Weimeisi New Energy Co ltd filed Critical Shanghai Weimeisi New Energy Co ltd
Priority to CN202111082166.9A priority Critical patent/CN113778946A/en
Publication of CN113778946A publication Critical patent/CN113778946A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/128Details of file system snapshots on the file-level, e.g. snapshot creation, administration, deletion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data 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

Fault snapshot system
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.
CN202111082166.9A 2021-09-15 2021-09-15 Fault snapshot system Pending CN113778946A (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
US6073063A (en) Automotive data recording device
CN102568054B (en) Information record carrier
US7340331B2 (en) Vehicle data recorder using digital and analog diagnostic data
CN106527410B (en) It is a kind of for the data record gateway of vehicle and based on the diagnostic system of the gateway
JP2008024015A (en) Vehicle-mounted system and vehicle equipped with it
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
CN1661347B (en) Control unit and data transmitting method
CN102930614B (en) Integrated mobile unit register and recording method
CN111026098B (en) Fault diagnosis method and device for vehicle motor controller and electronic equipment
CN107247650B (en) A kind of servo drive system long-range monitoring method
US10682914B2 (en) Battery management apparatus
US20120310474A1 (en) Data recorder
CN101978330A (en) Methods and systems for operating a sequence of events recorder
CN112012862A (en) Starter control method and device, whole vehicle control system and mining truck
CN113778946A (en) Fault snapshot system
CN105700968A (en) Method and device for memory leakage diagnosis processing in embedded system
WO2022155948A1 (en) Video storage method for vehicle-mounted device, and vehicle-mounted device
FR3023047A1 (en) METHOD FOR MANAGING FAILURE MESSAGES OF A MOTOR VEHICLE
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
CN115657639A (en) System, method, device and storage medium for monitoring functions of vehicle-mounted chip
CN114489509A (en) Video storage method and device of automobile data recorder, electronic equipment and storage medium
CN109426589B (en) File repair method and device

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