CN117221169A - Fault diagnosis method, device and storage medium for MVB bus of vehicle - Google Patents

Fault diagnosis method, device and storage medium for MVB bus of vehicle Download PDF

Info

Publication number
CN117221169A
CN117221169A CN202311014439.5A CN202311014439A CN117221169A CN 117221169 A CN117221169 A CN 117221169A CN 202311014439 A CN202311014439 A CN 202311014439A CN 117221169 A CN117221169 A CN 117221169A
Authority
CN
China
Prior art keywords
bus
target subsystem
line
equipment
faults
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
CN202311014439.5A
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.)
CRRC Qingdao Sifang Co Ltd
Original Assignee
CRRC Qingdao Sifang 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 CRRC Qingdao Sifang Co Ltd filed Critical CRRC Qingdao Sifang Co Ltd
Priority to CN202311014439.5A priority Critical patent/CN117221169A/en
Publication of CN117221169A publication Critical patent/CN117221169A/en
Pending legal-status Critical Current

Links

Abstract

The application discloses a fault diagnosis method, equipment and a storage medium of an MVB bus of a vehicle, which comprises the steps of firstly determining a self-checking module, wherein the self-checking mode comprises one or more combinations of forced trust A line, trust B line or control trust A line/B line switching preset times, then sending detection signals to a plurality of target subsystem equipment on the bus through the trusted bus, and finally judging whether the bus has faults or not based on feedback signals of the target subsystem equipment on the detection signals, wherein the faults comprise line faults of the bus and faults of the target subsystem equipment. Therefore, the method has the advantages of high checking speed and high accuracy, and the original CCU of the vehicle is utilized without additionally adding testing equipment, so that the detection is easy, and the cost is low.

Description

Fault diagnosis method, device and storage medium for MVB bus of vehicle
Technical Field
The present application relates to the field of communication detection technologies, and in particular, to a method, an apparatus, and a storage medium for diagnosing a failure of an MVB bus of a vehicle.
Background
The MVB bus (Multifunction vehicle bus, multifunctional vehicle bus) is a communication bus of a railway vehicle, and comprises an A line and a B line, wherein the A line and the B line are arranged in a redundant mode, and normally work by default, namely the A line or the B line is used for being taken over by the other bus when the bus working by default fails. In the process of running or in-warehouse maintenance of the rail vehicle, a line A and/or a line B of the MVB bus can possibly occur, and the line A and/or the line B can particularly comprise line faults of the line A and/or the line B and module faults of subsystem equipment on the line, such as a vehicle door, a brake, a traction and the like. Once the fault occurs, the running order may be affected, there is a risk of failure of line redundancy protection, and if both lines fail, the CCU (Central Control Unit ) cannot reach the control information sent to each subsystem device on the rail vehicle through the MVB bus, thereby affecting the running safety of the vehicle.
Disclosure of Invention
The application aims to provide a fault diagnosis method, equipment and a storage medium for an MVB bus of a vehicle, which have the advantages of high checking speed and high accuracy, and besides, no additional test equipment is needed, only the original CCU of the vehicle is needed to be utilized, and the fault diagnosis method, equipment and storage medium are easy to detect and low in cost.
In order to solve the above technical problems, the present application provides a fault diagnosis method for an MVB bus of a vehicle, which is applied to a CCU in the vehicle, the vehicle further includes an MVB bus and a plurality of subsystem devices, the MVB bus includes an a line and a B line, and the CCU and each subsystem device are sequentially connected with the a line and the B line, respectively, including:
when a self-checking instruction is received, determining a self-checking mode, wherein the self-checking mode comprises one or more of forced trust A lines, forced trust B lines and control trust A lines/B lines switching preset times;
determining a plurality of target subsystem devices of the plurality of subsystem devices;
sending detection signals to each target subsystem device through a bus trusted by the self-checking mode;
and judging whether the bus fails or not based on feedback signals of the target subsystem devices to the detection signals, wherein the failures comprise line failures of the bus and target subsystem device failures.
Preferably, sending a detection signal to each target subsystem device through a bus trusted by the self-checking mode includes:
for any target subsystem device, continuously transmitting detection signals of N communication periods according to the communication period with the target subsystem device through the bus trusted by the self-checking mode;
determining whether the bus fails based on feedback signals of each target subsystem device to the detection signals, including:
and judging whether the bus fails or not based on feedback signals of the target subsystem devices for N detection signals.
Preferably, determining whether the bus fails based on feedback signals of each of the target subsystem devices for the N detection signals includes:
if feedback signals from the first target subsystem equipment to the tail end target subsystem equipment are abnormal, judging that the bus fails, wherein the failure point is a line from the input end of the first target subsystem equipment to the tail end;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; when feedback signals fed back by the target subsystem equipment are not received for M times continuously, the abnormal feedback signal reception of the target subsystem equipment is judged, and N, M is a positive integer not less than 2 and M is not more than N.
Preferably, determining whether the bus fails based on feedback signals of each of the target subsystem devices for the N detection signals includes:
if the feedback signals of the first target subsystem equipment are not received abnormally until the feedback signals of the tail end target subsystem equipment are received abnormally, and the feedback signals of the plurality of second target subsystem equipment are received abnormally, judging that the bus fails, wherein the failure point is a failure of the plurality of second target subsystem equipment on the bus;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; when feedback signals fed back by the target subsystem equipment are not received for M times continuously, the abnormal feedback signal reception of the target subsystem equipment is judged, and N, M is a positive integer not less than 2 and M is not more than N.
Preferably, when a vital signal is included in the feedback signal; the fault diagnosis method further includes:
when receiving a feedback signal of target subsystem equipment, accumulating the times of receiving a life signal in the feedback signal;
when feedback signals which are not fed back by the target subsystem equipment are continuously received for M times, judging that the feedback signals of the target subsystem equipment are abnormal in reception, wherein the method comprises the following steps:
and when the accumulated value of the vital signals of the target subsystem equipment is unchanged in the continuous M communication periods, judging that the feedback signals of the target subsystem equipment are abnormal in reception.
Preferably, when the self-checking mode includes controlling the preset times of the trust A line/B line switching, controlling the preset times of the trust A line/B line switching includes the preset times of the trust A line/2 and the preset times of the trust B line/2 and controlling the trust A line and the trust B line switching;
determining whether the bus fails based on feedback signals of each target subsystem device to the detection signals, including:
for each trusted bus, determining that the bus fails based on feedback signals of each target subsystem device for the detection signals;
determining the number of times that the line A is judged to have faults in the self-checking mode;
determining the number of times that the B line is judged to have faults in the self-checking mode;
if the number of times of the faults of the line A is not less than the threshold value of the times of the faults of the line A, judging the faults of the line A;
if the number of times of faults of the B line is not less than the threshold value of times of faults of the B line, judging that the B line has faults;
the threshold value of the number of faults of the line A and the threshold value of the number of faults of the line B are integers larger than 1. Preferably, the method further comprises:
and recording the fault condition of the bus when the bus is judged to be faulty.
Preferably, the method further comprises:
transmitting a device status word read instruction to a terminal target subsystem device on the bus through the bus;
receiving a device status word returned by the terminal target subsystem device on the bus trusted by the self-checking mode;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; the device status word includes a bus currently trusted by the end target subsystem device and whether the currently trusted bus is interfered.
In order to solve the above technical problem, the present application further provides a fault diagnosis apparatus for an MVB bus of a vehicle, including:
a memory for storing a computer program;
and a processor for implementing the steps of the fault diagnosis method of the MVB bus of the vehicle when executing the computer program.
To solve the above technical problem, the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the fault diagnosis method for an MVB bus of a vehicle as described above.
The application provides a fault diagnosis method, equipment and storage medium of an MVB bus of a vehicle, which comprises the steps of firstly determining a self-checking module, wherein the self-checking mode comprises one or more of forced trust A line, trust B line or control trust A line/B line switching preset times, then sending detection signals to a plurality of target subsystem equipment on the bus through the trusted bus, and finally judging whether the bus has faults or not based on feedback signals of the target subsystem equipment on the detection signals, wherein the faults comprise line faults of the bus and faults of the target subsystem equipment. Therefore, the method has the advantages of high checking speed and high accuracy, and the original CCU of the vehicle is utilized without additionally adding testing equipment, so that the detection is easy, and the cost is low.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required in the prior art and the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a fault diagnosis method for an MVB bus of a vehicle according to the present application;
fig. 2 is a schematic structural diagram of a fault diagnosis apparatus for an MVB bus of a vehicle according to the present application.
Detailed Description
The core of the application is to provide a fault diagnosis method, equipment and storage medium for the MVB bus of the vehicle, which has the advantages of high checking speed and high accuracy, and besides, the application does not need to additionally increase testing equipment, only needs to use the original CCU of the vehicle, is easy to detect and has low cost.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart of a fault diagnosis method for an MVB bus of a vehicle, where the method is applied to a CCU in the vehicle, the vehicle further includes an MVB bus and a plurality of subsystem devices, the MVB bus includes an a line and a B line, and the CCU and each subsystem device are sequentially connected with the a line and the B line, respectively, and includes:
s11: when a self-checking instruction is received, determining a self-checking mode, wherein the self-checking mode comprises one or more of forced trust A lines, forced trust B lines and control trust A lines/B lines switching preset times;
s12: determining a plurality of target subsystem devices of the plurality of subsystem devices;
s13: transmitting detection signals to each target subsystem device through a bus trusted by the self-checking mode;
s14: and judging whether the bus fails or not based on feedback signals of the target subsystem devices to the detection signals, wherein the failures comprise line failures of the bus and failures of the target subsystem devices.
Specifically, the vehicle in the present application may be a rail vehicle. The vehicle includes a CCU, an MVB bus, and a plurality of subsystem devices, which may be door, brake, traction, etc. modules. The CCU and the plurality of subsystem devices are respectively connected with the line a and the line B in sequence, and if the subsystem devices comprise A, B, C and D, CCU, A, B, C and D are connected with the line a in sequence, and CCU, A, B, C and D are connected with the line B in sequence.
In practical application, a self-checking instruction can be sent to the CCU through the instruction receiving module, wherein the instruction receiving module can be a display screen, specifically, an MVB a/B line self-checking button can be set on the display screen, a user can click the button to generate the self-checking instruction, and after the CCU receives the self-checking instruction, the CCU performs power-on self-checking, and meanwhile performs MVB a/B line self-checking. The display screen may be a display screen on the vehicle, or may be a display screen of a control center of the station, where the control center of the station may communicate with the vehicle, and the specific mode of the present application is not particularly limited herein.
The application presets a self-checking mode, which specifically comprises one or a combination of more of forced trust A line, forced trust B line and control trust A line/B line switching preset times. When the self-checking mode comprises a forced trust A line, a forced trust B line and a control trust A line/B line switching preset times, the self-checking time can be divided into three time periods during self-checking, and the forced trust A line is in [0, T1 ]; when [ T1, T2], the line B is forced to be trusted; and controlling the trust A line/B line to switch for preset times when [ T2, T3 ]. In addition, controlling the preset times of the trust A line/B line switching refers to switching between the trust A line and the trust B line, for example, firstly forcing the trust A line for a period of time, then switching to the forced trust B line for a period of time, then switching to the forced trust A line for a period of time, and repeating the processes until the switching times reach the preset times, and the results of the trust A line and the trust B line can be more accurate through multiple switching times.
And after receiving the self-checking instruction, the CCU determines a self-checking mode according to the self-checking instruction. In addition, a plurality of target subsystem devices in the plurality of subsystem devices are determined, where the target subsystem devices refer to subsystem devices to which a subsequent CCU is to send a detection signal, and may be all subsystem devices in the plurality of subsystem devices or may be part of subsystem devices in the plurality of subsystem devices. Based on this, after the self-test mode is determined, a detection signal is sent to each target subsystem device via the bus trusted by the self-test mode. The detection signals sent to each target subsystem device include the port number of each target subsystem device, so that the target subsystem device may acquire the detection signal sent to itself. After receiving the detection signal, the target subsystem device sends a feedback signal to the CCU based on the detection signal, and if the target subsystem device fails or a line between the target subsystem device and the CCU fails, the CCU cannot receive the feedback signal or delays receiving the feedback signal. It can be seen that based on the feedback signal of each target subsystem device to the detection signal, it can be determined whether the bus has a fault.
It should be noted that bus failures include line failures of the bus and failures of target subsystem devices on the bus. If a line of the bus fails, it will generally cause the target subsystem device after the failure to reach the communication terminal between the end target subsystem device and the CCU, and the feedback signal sent by the target subsystem device cannot be sent to the CCU. The end target subsystem device refers to a target subsystem device with the largest transmission distance, i.e., the transmission distance, when the CCU transmits the detection signal outwards, for example, D in the above embodiment is the end target subsystem device. Taking the above example as an example, if a line between B and C on line a fails, communication between C and D and CCU is typically interrupted, and feedback signals sent by C and D cannot be sent to CCU. If a target subsystem device on the bus fails, communication between other target subsystem devices and the CCU is typically not affected.
Therefore, the mode can realize the self-checking of the MVB bus and the subsystem equipment by only improving the software logic in the original CCU of the vehicle without additionally adding test equipment, has high checking speed and high accuracy, achieves the effect of accurately positioning to cause MVB A/B line faults, and is easy to detect and low in cost.
Based on the above embodiments:
as a preferred embodiment, sending detection signals to each target subsystem device via a bus trusted by the self-test mode includes:
for any target subsystem device, continuously transmitting detection signals of N communication periods according to the communication period of the target subsystem device through a bus trusted by the self-checking mode;
determining whether the bus fails based on feedback signals of each target subsystem device to the detection signals, including:
and judging whether the bus fails or not based on feedback signals of the target subsystem devices for the N detection signals.
Considering that the MVB bus may sometimes exhibit network fluctuations briefly, communication between the CCU and the target subsystem device may be affected at this time, but since the MVB bus may resume the network at the transient fluctuations, this condition should not be determined as a bus failure.
Because of this, in order to improve the diagnosis accuracy, considering that the CCU and each target subsystem device have their own communication cycles, when transmitting the detection signal to the target subsystem device, the CCU transmits the detection signal along with N communication cycles, if each target subsystem device and the line between the target subsystem device and the CCU are normal, the CCU receives N feedback signals, and if each target subsystem device and/or the line between the target subsystem device and the CCU fails, the CCU may fail to receive the feedback signals; if there is a short network fluctuation in each target subsystem device and/or its line with the CCU, this may result in the CCU not receiving all of the N feedback signals, but may receive some of the feedback signals. Therefore, whether the bus fails or not can be judged based on feedback signals of each target subsystem device for N detection signals, and the failure diagnosis precision of the bus is improved.
As a preferred embodiment, determining whether the bus is faulty based on feedback signals of each target subsystem device for the N detection signals includes:
if the feedback signals from the first target subsystem equipment to the tail end target subsystem equipment are abnormal, judging that the bus fails, wherein the failure point is a line from the input end of the first target subsystem equipment to the tail end;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; when feedback signals fed back by the target subsystem equipment are not received for M times continuously, abnormal feedback signal reception of the target subsystem equipment is judged, and N, M is a positive integer not less than 2 and M is not more than N.
Specifically, if the line of the bus fails, the target subsystem device after the failure usually leads to a communication terminal between the end target subsystem device and the CCU, and feedback signals sent by the target subsystem devices cannot be sent to the CCU, so that the CCU cannot receive feedback signals fed back by the target subsystem device M times continuously, and the CCU receives abnormality on feedback signals of the target subsystem devices. Taking the above example as an example, if a line between B and C on line a fails, communication between C and D and CCU is generally interrupted, and feedback signals sent by C and D cannot be sent to CCU, so that CCU cannot receive feedback signals fed back by C and D M consecutive times, that is, the CCU receives abnormality for feedback signals sent by C and D.
It should be noted that, if the CCU receives an abnormality in the feedback signal from the first target subsystem device to the end target subsystem device, there may be a case where the line between the first target subsystem device and the end target subsystem device is normal but the devices are all faulty, but the probability that such multiple continuous devices are abnormal at the same time is extremely low, so when the CCU receives an abnormality in the feedback signal from the first target subsystem device to the end target subsystem device, the present application regards the feedback signal as the line between the input end of the first target subsystem device and the end. In other embodiments, other device failure detection may be further performed on these target subsystem devices to exclude this. The present application is not particularly limited here for specific numerical settings of N and M, and is set according to actual circumstances.
Therefore, through the scheme of the application, the judgment on whether the bus is faulty can be simply and reliably made through the feedback signal of the target subsystem equipment.
As a preferred embodiment, determining whether the bus is faulty based on feedback signals of each target subsystem device for the N detection signals includes:
if the feedback signals of the first target subsystem equipment are not received abnormally until the feedback signals of the tail end target subsystem equipment are received abnormally, and the feedback signals of the plurality of second target subsystem equipment are received abnormally, judging that the bus fails, wherein the failure point is a failure of the plurality of second target subsystem equipment on the bus;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; when feedback signals fed back by the target subsystem equipment are not received for M times continuously, abnormal feedback signal reception of the target subsystem equipment is judged, and N, M is a positive integer not less than 2 and M is not more than N.
Considering that if the bus fails, the feedback signals from the target subsystem devices after the failure point to the tail end target subsystem devices are abnormal, if the situation does not occur, the line of the bus is free from problems. Therefore, if the feedback signals of the first target subsystem equipment are not abnormal until the feedback signals of the tail end target subsystem equipment are abnormal, the feedback signal reception abnormality of the second target subsystem equipment only exists sporadically, and the situation that the second target subsystem equipment fails is indicated.
Therefore, the fault target subsystem equipment can be accurately positioned through the scheme of the application.
As a preferred embodiment, when a vital signal is included in the feedback signal; the fault diagnosis method further includes:
when receiving a feedback signal of the target subsystem equipment, accumulating the times of receiving the life signal in the feedback signal;
when feedback signals fed back by the target subsystem equipment are not received for M times continuously, judging that the feedback signals of the target subsystem equipment are abnormal in reception, wherein the method comprises the following steps:
and when the accumulated value of the vital signals of the target subsystem equipment is unchanged in the continuous M communication periods, judging that the feedback signals of the target subsystem equipment are abnormal in reception.
Specifically, in practical application, the feedback signal may include a vital signal, and when the CCU receives the vital signal of a target subsystem, the CCU accumulates the number of times of receiving the vital signal of the target subsystem, where each target subsystem has an accumulated value of its corresponding vital signal. In theory, if the accumulated value of the vital signal corresponding to a certain target subsystem device is X, when the CCU receives the feedback signal sent by the target subsystem device M times, the accumulated value of the vital signal corresponding to the target subsystem device becomes x+m.
Based on the above, when determining that the feedback signal of the target subsystem device is abnormal in reception, it can be determined whether the accumulated value of the vital signal of the target subsystem device is unchanged in M continuous communication periods, and if so, it is indicated that the CCU does not receive the feedback signal fed back by the target subsystem device M continuous times, that is, it is indicated that the vital signal is stagnant. In this way, the target subsystem device with abnormal feedback signal reception can be simply and reliably judged.
As a preferred embodiment, when the self-checking mode includes controlling the preset times of the trust a line/B line switching, controlling the preset times of the trust a line/B line switching includes the preset times of the trust a line/2 and the preset times of the trust B line/2 and controlling the trust a line and the trust B line switching;
determining whether the bus fails based on feedback signals of each target subsystem device to the detection signals, including:
for each trusted bus, determining that the bus fails based on feedback signals of each target subsystem device on the detection signals;
determining the number of times that the line A is judged to have faults in the self-checking mode;
determining the number of times that the B line is judged to have faults in the self-checking mode;
if the number of times of the faults of the line A is not less than the threshold value of the times of the faults of the line A, judging the faults of the line A;
if the number of times of faults of the B line is not less than the threshold value of times of faults of the B line, judging that the B line has faults;
the threshold value of the number of faults of the line A and the threshold value of the number of faults of the line B are integers larger than 1. In order to improve detection accuracy, controlling the preset times of the trust A line/B line switching comprises controlling the trust A line and the trust B line to be automatically switched, wherein the preset times of the trust A line/2 and the preset times of the trust B line/2. For example, if the preset number is 4, trust a is 2 times and trust B is 2 times. Every bus transmits detection signals to each target subsystem device through the bus, and judges whether the bus fails or not based on feedback signals of each target subsystem device.
Taking the self-checking mode including the forced trust A line, the forced trust B line and the control trust A line/B line switching preset times as an example, taking the preset times as 4 times, the A line fault time threshold and the B line fault time threshold as examples, the number of times of the final trust A line is 3 times and the number of times of the trust B line is 3 times in the self-checking mode. Determining the times of faults of the A line in 3 times, determining the times of faults of the B line in 3 times, and judging that the A line has faults if the times of faults of the A line are not less than 2; if the number of times of the faults of the B line is not less than 2, judging that the B line is faulty.
By the scheme provided by the application, the accuracy of bus fault diagnosis can be improved.
As a preferred embodiment, further comprising:
and when the bus is judged to be faulty, recording the fault condition of the bus.
In particular, when a bus fails, the vehicle recording device may be controlled to record a failure condition of the bus, for example, to record a line failure of the bus and a failure of a target subsystem device. In addition, the prompt module can be controlled to prompt the recorded condition so that a user can timely acquire the fault diagnosis condition of the bus.
As a preferred embodiment, further comprising:
transmitting a device status word reading instruction to terminal target subsystem devices on the bus through the bus;
receiving a device status word returned by the terminal target subsystem device on the bus trusted by the self-checking mode;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; the device status word includes the bus currently trusted by the end target subsystem device and whether the currently trusted bus is interfered with.
Specifically, considering that the communication distance between the end target subsystem device and the CCU is farthest, the device status word reading instruction returned by the end target subsystem device on the bus can be further read through the bus trusted by the self-checking mode, if the end target subsystem device has no fault, the device status word is returned to the CCU, wherein the device status word comprises whether the bus trusted by the end target subsystem device and the bus trusted by the end target subsystem device are interfered. It can be seen that if the device status words sent by the end target subsystem device all show that the currently trusted bus is not interfered, it indicates that the currently trusted bus is not interfered at this time. It can be seen that the user can assist in fault diagnosis of the bus in this way.
In addition, in practical application, the device status word reading instruction can be sent to other target subsystem devices on the bus through the bus, so as to receive the device status word returned by the other target subsystem devices.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a fault diagnosis apparatus for an MVB bus of a vehicle according to the present application, the fault diagnosis apparatus includes:
a memory for storing a computer program;
and a processor for implementing the steps of the fault diagnosis method of the MVB bus of the vehicle when executing the computer program.
For the description of the method for diagnosing the failure of the MVB bus of the vehicle, which is executed by the apparatus for diagnosing the failure of the MVB bus of the vehicle provided by the present application, refer to the above embodiment, and the disclosure is not repeated herein.
The present application also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the method for diagnosing a fault of an MVB bus of a vehicle as described above.
For the description of the computer program stored in the computer readable storage medium and corresponding to the method for implementing fault diagnosis of the MVB bus of the vehicle when executed, refer to the above embodiment, and the disclosure is not repeated herein.
It should be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. The utility model provides a fault diagnosis method of MVB bus of vehicle, is applied to the CCU in the vehicle, the vehicle still includes MVB bus and a plurality of subsystem equipment, MVB bus includes A line and B line, CCU and each subsystem equipment all with A line and B line connect gradually respectively, characterized in that includes:
when a self-checking instruction is received, determining a self-checking mode, wherein the self-checking mode comprises one or more of forced trust A lines, forced trust B lines and control trust A lines/B lines switching preset times;
determining a plurality of target subsystem devices of the plurality of subsystem devices;
sending detection signals to each target subsystem device through a bus trusted by the self-checking mode;
and judging whether the bus fails or not based on feedback signals of the target subsystem devices to the detection signals, wherein the failures comprise line failures of the bus and target subsystem device failures.
2. The method for diagnosing a failure of an MVB bus of a vehicle according to claim 1, wherein transmitting a detection signal to each of the target subsystem devices through the bus trusted by the self-test mode includes:
for any target subsystem device, continuously transmitting detection signals of N communication periods according to the communication period with the target subsystem device through the bus trusted by the self-checking mode;
determining whether the bus fails based on feedback signals of each target subsystem device to the detection signals, including:
and judging whether the bus fails or not based on feedback signals of the target subsystem devices for N detection signals.
3. The method of diagnosing a failure of an MVB bus of a vehicle according to claim 2, wherein determining whether the bus has failed based on feedback signals of each of the target subsystem devices for the N detection signals, comprises:
if feedback signals from the first target subsystem equipment to the tail end target subsystem equipment are abnormal, judging that the bus fails, wherein the failure point is a line from the input end of the first target subsystem equipment to the tail end;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; when feedback signals fed back by the target subsystem equipment are not received for M times continuously, the abnormal feedback signal reception of the target subsystem equipment is judged, and N, M is a positive integer not less than 2 and M is not more than N.
4. The method of diagnosing a failure of an MVB bus of a vehicle according to claim 2, wherein determining whether the bus has failed based on feedback signals of each of the target subsystem devices for the N detection signals, comprises:
if the feedback signals of the first target subsystem equipment are not received abnormally until the feedback signals of the tail end target subsystem equipment are received abnormally, and the feedback signals of the plurality of second target subsystem equipment are received abnormally, judging that the bus fails, wherein the failure point is a failure of the plurality of second target subsystem equipment on the bus;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; when feedback signals fed back by the target subsystem equipment are not received for M times continuously, the abnormal feedback signal reception of the target subsystem equipment is judged, and N, M is a positive integer not less than 2 and M is not more than N.
5. The method for diagnosing a failure of an MVB bus of a vehicle according to claim 3, wherein when a vital signal is included in the feedback signal; the fault diagnosis method further includes:
when receiving a feedback signal of target subsystem equipment, accumulating the times of receiving a life signal in the feedback signal;
when feedback signals which are not fed back by the target subsystem equipment are continuously received for M times, judging that the feedback signals of the target subsystem equipment are abnormal in reception, wherein the method comprises the following steps:
and when the accumulated value of the vital signals of the target subsystem equipment is unchanged in the continuous M communication periods, judging that the feedback signals of the target subsystem equipment are abnormal in reception.
6. The method for diagnosing a failure of an MVB bus of a vehicle according to claim 1, wherein when the self-checking mode includes controlling a preset number of times of trust a line/B line switching, controlling the preset number of times of trust a line/B line switching includes a preset number of times/2 of trust a line and a preset number of times/2 of trust B line and controlling trust a line and B line switching;
determining whether the bus fails based on feedback signals of each target subsystem device to the detection signals, including:
for each trusted bus, determining that the bus fails based on feedback signals of each target subsystem device for the detection signals;
determining the number of times that the line A is judged to have faults in the self-checking mode;
determining the number of times that the B line is judged to have faults in the self-checking mode;
if the number of times of the faults of the line A is not less than the threshold value of the times of the faults of the line A, judging the faults of the line A;
if the number of times of faults of the B line is not less than the threshold value of times of faults of the B line, judging that the B line has faults;
the threshold value of the number of faults of the line A and the threshold value of the number of faults of the line B are integers larger than 1.
7. The method for diagnosing a failure of an MVB bus of a vehicle according to claim 1, further comprising:
and recording the fault condition of the bus when the bus is judged to be faulty.
8. The failure diagnosis method of the MVB bus of the vehicle according to any one of claims 1 to 7, further comprising:
transmitting a device status word read instruction to a terminal target subsystem device on the bus through the bus;
receiving a device status word returned by the terminal target subsystem device on the bus trusted by the self-checking mode;
wherein, the CCU sends the sending distance of the detection signal to the terminal target subsystem equipment to be the farthest; the device status word includes a bus currently trusted by the end target subsystem device and whether the currently trusted bus is interfered.
9. A fault diagnosis apparatus of an MVB bus of a vehicle, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the fault diagnosis method of the MVB bus of the vehicle according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the failure diagnosis method of the MVB bus of a vehicle according to any of claims 1 to 8.
CN202311014439.5A 2023-08-11 2023-08-11 Fault diagnosis method, device and storage medium for MVB bus of vehicle Pending CN117221169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311014439.5A CN117221169A (en) 2023-08-11 2023-08-11 Fault diagnosis method, device and storage medium for MVB bus of vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311014439.5A CN117221169A (en) 2023-08-11 2023-08-11 Fault diagnosis method, device and storage medium for MVB bus of vehicle

Publications (1)

Publication Number Publication Date
CN117221169A true CN117221169A (en) 2023-12-12

Family

ID=89039758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311014439.5A Pending CN117221169A (en) 2023-08-11 2023-08-11 Fault diagnosis method, device and storage medium for MVB bus of vehicle

Country Status (1)

Country Link
CN (1) CN117221169A (en)

Similar Documents

Publication Publication Date Title
US20040039981A1 (en) Method and apparatus for identifying one or more devices having faults in a communication loop
US5487149A (en) Common control redundancy switch method for switching a faulty active common control unit with an inactive spare common control unit
EP2790026B1 (en) Method for detecting or predicting an electrical fault
EP0743600B1 (en) Method and apparatus for obtaining high integrity and availability in a multi-channel system
US9499174B2 (en) Method and apparatus for isolating a fault-active controller in a controller area network
EP3118749B1 (en) System and method of monitoring a serial bus
KR101594453B1 (en) An apparatus for diagnosing a failure of a channel and method thereof
CN117221169A (en) Fault diagnosis method, device and storage medium for MVB bus of vehicle
CN112383462B (en) Network device and bus configuration method
CN109067567B (en) Network communication interruption diagnosis method
CN113624321A (en) Real-time online protection system and method based on vibration monitoring
CN113992501A (en) Fault positioning system, method and computing device
CN114884803B (en) Method, device, equipment and medium for processing multiple redundant states
CN113055106B (en) Method and system for evaluating transponder message transmission channel, program, and storage medium
CN109101359B (en) Equipment, method and module for transmitting information between equipment components and computer equipment
EP4256354B1 (en) Safety mechanisms for artificial intelligence units used in safety critical applications
JPS6398242A (en) Series data exchanger
JPS63131693A (en) Signal transmitter for remote supervisory and controlling equipment
CN117519113A (en) Method and device for designing reliability test case of vehicle-mounted fault diagnosis system
JP2023173504A (en) Electronic control unit and failure diagnostic method
CN112186892A (en) Power supply rack communication device, communication method and electronic equipment
JP4679956B2 (en) Network failure determination method and network control method
CN113960976A (en) Intelligent fault diagnosis method and system and intelligent control box
CN116136805A (en) Memory channel fault detection method and device, memory system and computer system
KR101603549B1 (en) In-vehicle network system and method for diagnosing the same

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