CN117687376A - Novel automobile node loss DTC monitoring method - Google Patents

Novel automobile node loss DTC monitoring method Download PDF

Info

Publication number
CN117687376A
CN117687376A CN202311509416.1A CN202311509416A CN117687376A CN 117687376 A CN117687376 A CN 117687376A CN 202311509416 A CN202311509416 A CN 202311509416A CN 117687376 A CN117687376 A CN 117687376A
Authority
CN
China
Prior art keywords
whole vehicle
state
dtc
controllers
vehicle
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
CN202311509416.1A
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.)
FAW Bestune Car Co Ltd
Original Assignee
FAW Bestune Car 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 FAW Bestune Car Co Ltd filed Critical FAW Bestune Car Co Ltd
Priority to CN202311509416.1A priority Critical patent/CN117687376A/en
Publication of CN117687376A publication Critical patent/CN117687376A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a novel DTC monitoring method for automobile node loss, which belongs to the technical field of automobile network diagnosis and development, and specifically comprises the following steps: s1, judging whether to wake up a whole vehicle network according to a whole vehicle power supply gear state; s2, detecting whether a message needing to be detected is sent out; s3, when the whole vehicle is in IG On, the network state of the whole vehicle is in an activated wake-up state, and all controllers of the whole vehicle send periodic messages within 200 ms; s5, when the power supply state is switched to IG Off, the whole vehicle enters a pre-sleep state after the Tnmtresleep time is needed; s6, entering a sleep state, wherein the diagnostic functions of all controllers on the whole vehicle are in a closed state so as to prevent the recording DTC from being lost. The method unifies the recording strategies of all controllers on the vehicle, prevents development errors caused by inconsistent understanding of network management and DTC recording strategies by controller developers, and avoids the cost of subsequent problem communication.

Description

Novel automobile node loss DTC monitoring method
Technical Field
The invention belongs to the technical field of automobile network diagnosis and development, and particularly relates to a novel automobile node loss DTC monitoring method.
Background
Automotive network diagnostic developments can help automotive manufacturers and technicians to quickly and accurately diagnose faults in vehicles. By monitoring and analyzing the data flow in the vehicle network, the system fault can be found in time, and corresponding fault codes and fault information can be provided for repair by maintenance personnel. This helps to improve the efficiency and accuracy of troubleshooting, shortens maintenance time, and improves vehicle reliability and user satisfaction.
Currently, most host plants take AUTOSAR network management and use network diagnostic development strategies to record node loss DTCs during vehicle pre-sleep. This approach relies on network sleep consistency for the individual controllers. The vehicle controller ensures that the periodic message needs to be continuously sent before the vehicle enters the pre-sleep state, so that other controllers receiving the periodic message continuously detect that the periodic message is sent, and the node cannot be recorded to lose the DTC.
Because the recording strategy is complex, the recording strategy is defined among the controllers, so that the strategy can be normally executed and implemented, and the situation that DTCs are not generated in the sleeping process of all the controllers of the whole vehicle is ensured. However, in the actual development process, it is found that, often, a controller developer changes a message sending strategy according to the function requirement of the developed controller, and stops sending a message to be sent to a hand piece in a pre-sleep stage, so that the hand piece controller receiving the message sent by the controller records that the message or the node is lost, and further causes a large amount of fault checking work in the trial production and small batch stages, thereby seriously affecting the vehicle production progress.
Disclosure of Invention
Aiming at the problems that in the prior art, a vehicle cannot normally get off line due to the fact that a node loses the record of a fault code in a pre-sleep period of the node, and the like, the invention provides a novel vehicle node loss DTC monitoring method.
The invention is realized by the following technical scheme:
a novel method for monitoring the loss of DTC of an automobile node specifically comprises the following steps:
s1, judging whether to wake up a whole vehicle network according to a whole vehicle power supply gear state;
s2, detecting whether a message needing to be detected is sent out;
s3, when the whole vehicle is in IG On, the network state of the whole vehicle is in an activated wake-up state, and all controllers of the whole vehicle send periodic messages within 200 ms;
s5, when the power supply state is switched to IG Off, the whole vehicle enters a pre-sleep state after the Tnmtresleep time is needed;
s6, entering a sleep state, wherein the diagnostic functions of all controllers on the whole vehicle are in a closed state so as to prevent the recording DTC from being lost.
Further, in step S1, if the vehicle is in the Off state and the network is in the sleep state, the whole vehicle wakes up when the vehicle power is switched to On, and the diagnosis start timer tdiagnstart of all the controllers of the whole vehicle is reset to zero and starts to count time.
Further, in step S2, after 2000ms, the diagnosis of all the controllers of the whole vehicle is started, and whether the message to be detected is sent periodically is detected.
Further, in step S5, when the controller is in the pre-sleep state, the periodic messages of all controllers are normally sent, and after the tnmpreseep time elapses, the periodic messages of all controllers are stopped being sent at the same time, and the controller enters the sleep state.
In a second aspect, the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements a novel method for monitoring a node loss DTC of an automobile according to any one of the embodiments of the present invention when executing the program.
In a third aspect, the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements a novel method for monitoring a node loss DTC of an automobile according to any one of the embodiments of the present invention.
Compared with the prior art, the invention has the following advantages:
according to the novel DTC monitoring method for the automobile node loss, after the whole automobile is switched to IG Off from the IG On state, the diagnosis start closing strategy of the GW can avoid the problem that the GW records that the controller nodes such as TBOX are lost, and is an optimal scheme for reducing the development cost of the automobile type project; in summary, the diagnostic start-up shutdown strategy of the GW is changed to be that the network-related diagnostics are shut down in the tnmpresep state, the test is retested, and the GW no longer records controller loss such as TBOX.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
FIG. 1 is a schematic flow chart of a novel method for monitoring the loss of a DTC of an automobile node;
FIG. 2 is a schematic diagram showing the relationship between the vehicle status and the fault detection according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device in embodiment 3 of the present invention.
Detailed Description
For a clear and complete description of the technical scheme and the specific working process thereof, the following specific embodiments of the invention are provided with reference to the accompanying drawings in the specification:
in the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Example 1
Fig. 1 is a schematic flow chart of a novel method for monitoring the loss of DTC of an automobile node according to the present embodiment, where the method specifically includes the following steps:
s1, judging whether to wake up a whole vehicle network according to a whole vehicle power supply gear state;
if the vehicle is in an Off state in the whole vehicle power supply gear, and the network is in a sleep state, when the whole vehicle power supply gear is switched to On, the whole vehicle network wakes up, and the diagnosis of all controllers of the whole vehicle starts a timer Tdiagstart to return to zero and starts timing;
s2, detecting whether a message needing to be detected is sent out;
after 2000ms, the diagnosis of all controllers of the whole vehicle is started, and whether a message needing to be detected is sent out periodically is detected.
S3, when the whole vehicle is in IG On, the network state of the whole vehicle is in an activated wake-up state, and all controllers of the whole vehicle send periodic messages within 200 ms;
s5, when the power supply state is switched to IG Off, the whole vehicle enters a pre-sleep state after the Tnmtresleep time is needed;
when the controller is in the pre-sleep state, the periodic messages of all controllers are normally sent, and after the Tnmplerelease time, the periodic messages of all controllers are stopped being sent at the same time, and the controller enters the sleep state.
S6, entering a sleep state, wherein the diagnostic functions of all controllers on the whole vehicle are in a closed state so as to prevent the recording DTC from being lost.
By the method of this embodiment, the diagnosis start-up shutdown policy of the GW is changed to be that the network related diagnosis is turned off in the tnmpreseep state, as shown in fig. 2, the test is performed again, and the GW no longer records that the controller such as TBOX is lost.
Example 2
The embodiment provides a novel method for monitoring the loss of DTC of an automobile node, which specifically comprises the following steps:
s1, after the state of the power supply of the whole vehicle is switched to IG On, a diagnosis start timer Tdiagstart of all controllers of the whole vehicle is reset to zero, and timing is started.
S2, after 2000ms, diagnosis of all controllers of the whole vehicle is started, and whether a message needing to be detected is sent out periodically or not is detected;
s3, all controllers of the whole vehicle need to send periodic messages within 200ms after IG On;
s4, after the power gear of the whole vehicle is IGOn, the state of the whole vehicle network is in an activated awakening state;
s5, when the whole vehicle is in IGOn, the power supply state is switched to IGoff, and the whole vehicle enters a sleep state after the Tnpresleep time is needed;
s6, when the whole vehicle is in IGOn, the power supply state is switched to IGoff, and the diagnostic functions of all controllers On the whole vehicle are required to be in a closed state so as to prevent recording of DTCs;
and S7, normally transmitting the periodic messages of all the controllers in the pre-sleep state, stopping transmitting the periodic messages of all the controllers at the same time after the Tnmplesleep time, and entering the sleep state.
Example 3
Fig. 3 is a schematic structural diagram of a computer device according to a third embodiment of the present invention. FIG. 3 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in fig. 3 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in FIG. 3, computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, commonly referred to as a "hard disk drive"). Although not shown in fig. 3, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. In addition, in the computer device 12 of the present embodiment, the display 24 is not present as a separate body but is embedded in the mirror surface, and the display surface of the display 24 and the mirror surface are visually integrated when the display surface of the display 24 is not displayed. Moreover, computer device 12 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes programs stored in the system memory 28 to perform various functional applications and data processing, for example, to implement a novel method for monitoring the loss of a vehicle node DTC according to an embodiment of the present invention.
Example 4
Embodiment 4 of the present invention provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor implements a novel method for monitoring a node loss DTC of an automobile as provided in all the inventive embodiments of the present application.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the specific details of the above embodiments, and various simple modifications can be made to the technical solution of the present invention within the scope of the technical concept of the present invention, and all the simple modifications belong to the protection scope of the present invention.
In addition, the specific features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various possible combinations are not described further.
Moreover, any combination of the various embodiments of the invention can be made without departing from the spirit of the invention, which should also be considered as disclosed herein.

Claims (6)

1. The novel method for monitoring the loss of the DTC of the automobile node is characterized by comprising the following steps of:
s1, judging whether to wake up a whole vehicle network according to a whole vehicle power supply gear state;
s2, detecting whether a message needing to be detected is sent out;
s3, when the whole vehicle is in IG On, the network state of the whole vehicle is in an activated wake-up state, and all controllers of the whole vehicle send periodic messages within 200 ms;
s5, when the power supply state is switched to IG Off, the whole vehicle enters a pre-sleep state after the Tnmtresleep time is needed;
s6, entering a sleep state, wherein the diagnostic functions of all controllers on the whole vehicle are in a closed state so as to prevent the recording DTC from being lost.
2. The method for monitoring the loss of DTC of a novel vehicle node as recited in claim 1, wherein in step S1, if the vehicle is in Off state in the power supply gear of the whole vehicle, and the network is in sleep state, when the power supply gear of the whole vehicle is switched On, the whole vehicle wakes up, the diagnosis of all controllers of the whole vehicle starts the timer Tdiagstart to be zero, and starts to count time.
3. The method for monitoring the loss of DTC of a novel vehicle node as recited in claim 1, wherein in step S2, diagnosis of all controllers of the whole vehicle is started after 2000ms, and whether a message to be detected is sent periodically is detected.
4. The method for monitoring the loss of DTC of a novel automobile node as claimed in claim 1, wherein in step S5, when the automobile node is in a pre-sleep state, the periodic messages of all controllers are normally sent, and after the tnmpreseep time elapses, the periodic messages of all controllers are stopped to be sent simultaneously, and the automobile node enters a sleep state.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a novel method of monitoring a vehicle node for loss DTC according to any of claims 1-4 when the program is executed by the processor.
6. A computer readable storage medium, having stored thereon a computer program which when executed by a processor implements a novel method of monitoring a node loss DTC of a vehicle as claimed in any of claims 1 to 4.
CN202311509416.1A 2023-11-14 2023-11-14 Novel automobile node loss DTC monitoring method Pending CN117687376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311509416.1A CN117687376A (en) 2023-11-14 2023-11-14 Novel automobile node loss DTC monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311509416.1A CN117687376A (en) 2023-11-14 2023-11-14 Novel automobile node loss DTC monitoring method

Publications (1)

Publication Number Publication Date
CN117687376A true CN117687376A (en) 2024-03-12

Family

ID=90132887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311509416.1A Pending CN117687376A (en) 2023-11-14 2023-11-14 Novel automobile node loss DTC monitoring method

Country Status (1)

Country Link
CN (1) CN117687376A (en)

Similar Documents

Publication Publication Date Title
US10095567B2 (en) Micro controller unit including an error indicator module
CN100388231C (en) Method for analyzing data obtained from crash and data processing system
US7849364B2 (en) Kernel-mode in-flight recorder tracing mechanism
CN102568054B (en) Information record carrier
RU2394276C2 (en) Method based on mechatronic system diagnostic models
CN110704228A (en) Solid state disk exception handling method and system
CN113832663B (en) Control chip fault recording method and device and control chip fault reading method
EP3534259B1 (en) Computer and method for storing state and event log relevant for fault diagnosis
CN113808299A (en) Vehicle fault snapshot storage method, device and equipment based on fault system
CN117687376A (en) Novel automobile node loss DTC monitoring method
US7228457B2 (en) Performing diagnostic operations upon a data processing apparatus with power down support
JP4558376B2 (en) controller
CN109634796A (en) A kind of method for diagnosing faults of computer, apparatus and system
KR20210077542A (en) Apparatus and method for diagnosing can network sleep for vehicle
JP2007207213A (en) Diagnostic information collecting method applied to real-time diagnosis of wireless device
CN114706371A (en) Complete vehicle network non-dormancy diagnosis method and device, electronic equipment and storage medium
CN113742166B (en) Method, device and system for recording logs of server system devices
CN114980021A (en) Vehicle state feedback method and device, electronic equipment and storage medium
US20220222135A1 (en) Electronic control device
CN112732522A (en) Configurable log storage and analysis method and system for vehicle-mounted MCU
CN113836035B (en) Battery management system testing method and device and electronic equipment
CN109522186B (en) Monitoring method and system based on Linux disk access
CN117573455B (en) PCIE equipment detection system, method, device and product
CN113859155B (en) Power-off method and device for vehicle controller, electronic equipment and storage medium
CN117622273A (en) Sleep awakening indoor test method and system for auxiliary driving 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