CN115208792B - Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management - Google Patents

Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management Download PDF

Info

Publication number
CN115208792B
CN115208792B CN202210734548.3A CN202210734548A CN115208792B CN 115208792 B CN115208792 B CN 115208792B CN 202210734548 A CN202210734548 A CN 202210734548A CN 115208792 B CN115208792 B CN 115208792B
Authority
CN
China
Prior art keywords
network
dormant
vehicle
segment
counter
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.)
Active
Application number
CN202210734548.3A
Other languages
Chinese (zh)
Other versions
CN115208792A (en
Inventor
杨丽莎
余俊勋
贺琳曼
李敏
陈向楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Motor Corp
Original Assignee
Dongfeng Motor Corp
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 Dongfeng Motor Corp filed Critical Dongfeng Motor Corp
Priority to CN202210734548.3A priority Critical patent/CN115208792B/en
Publication of CN115208792A publication Critical patent/CN115208792A/en
Application granted granted Critical
Publication of CN115208792B publication Critical patent/CN115208792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Abstract

The invention discloses a multi-network-segment whole vehicle CAN network abnormality monitoring method based on automatic network management, which monitors the abnormality of an automatic network pipe network segment, the abnormality of a power network, the abnormality of a chassis network and/or the abnormality of a new energy network through GW, thereby realizing the monitoring of the abnormality of the whole vehicle network, recording the abnormal situation, sending the abnormal situation to T-BOX through the CAN network and feeding back to the background through the T-BOX; if the vehicle is an after-sales vehicle, reminding a user through a TSP background by a short message and an APP, and displaying an abnormality on the instrument when the vehicle is started next time. The invention can monitor the network abnormality monitoring under the Autosar network management mechanism, and prevent the feeding phenomenon of the vehicle caused by the abnormality of the network and the controller.

Description

Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management
Technical Field
The invention belongs to the field of automobile intelligence, and particularly relates to an automatic sar network management-based multi-network-segment whole automobile CAN network abnormality monitoring method.
Background
The process of the vehicle electronic system performing configuration management and coordination work on all the ECUs through the vehicle-mounted network is called network management. The durability of the accumulator is an important performance bottleneck of the automobile performance, whether the accumulator is a traditional fuel oil vehicle or an existing hybrid electric vehicle or a new electric vehicle with highest heat at present. The network management can send out some command rules through the control of each ECU on the network, so that the cooperative sleep and wake-up of each ECU are realized, and the durability of the storage battery is improved.
For the whole vehicle CAN network, a plurality of nodes are connected with normal electricity (connected with KL30 line) due to functional requirements, for example, a vehicle body controller needs to be connected with an electric control door lock switch. When not in operation, in order to save the electric energy of the storage battery, the nodes should sleep and enter a low power consumption state. When the CAN network is abnormal, the controller cannot enter a dormant state, and because of the mechanism of the autosar network management, all CAN controllers on the network packet need to enter the dormant state, and vehicles CAN be dormant together. If 1 controller is abnormal, all controllers on the whole group can not sleep, and the power supply of a vehicle battery is caused, so that the vehicle can not be started and the like.
There are typically 2 cases of network anomalies that lead to vehicle feeds: one is that after the vehicle goes to the OFF gear, the network cannot sleep normally; and the other is that after the vehicle is dormant, the controller is abnormal, so that the whole vehicle network is awakened abnormally, and the vehicle is fed. Therefore, monitoring for anomalies in the network and the controller is required.
The existing vehicle models all adopt an OSEK network management mode, and the proposed abnormality detection mechanism is also based on the gateway mode principle of OSEK. The controllers on the existing vehicle all adopt an Autosar network management mechanism, and the network management mechanism of the OSEK is different from the AutoSar network management mechanism, so that the abnormality detection mechanism of the OSEK cannot meet the abnormality monitoring of the network and the controllers of the existing vehicle.
Disclosure of Invention
The invention aims to provide a multi-network-segment whole-vehicle CAN network abnormality monitoring method based on Autosar network management, which CAN monitor network abnormality monitoring under an Autosar network management mechanism and prevent a vehicle from feeding due to network and controller abnormality.
The technical scheme adopted for solving the technical problems is as follows:
a multi-network-segment whole-vehicle CAN network abnormality monitoring method based on Autosar network management monitors the abnormality of an Autosar network pipe network segment, the abnormality of a power network, the abnormality of a chassis network and/or the abnormality of a new energy network through GW, thereby realizing the monitoring of the whole-vehicle network abnormality, recording the abnormality condition, sending to a T-BOX through the CAN network and feeding back to the background through the T-BOX; if the vehicle is an after-sales vehicle, reminding a user through a TSP background by a short message and an APP, and displaying an abnormality on the instrument when the vehicle is started next time.
According to the scheme, the automatic sar network pipe network segment abnormality monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal Autosar network pipe section dormant state S is set through GW 1 Abnormality counter C for Autosar network pipe network segment 1 And an automatic sar network pipe network segment wake-up counter W 1 Zero clearing;
2) Starting Autosar network pipe network segment network monitoring timer T through GW 1
If the Autosar network pipe network segment enters dormancy, stopping the Autosar network pipe network segment monitoring timer T 1 Dormancy state S of pipe network segment of Autosar network 1 Set to = "OFF dormant"; and Autosar network pipe network segment monitoring timer T 1 And Autosar network segment anomaly counter C 1 Zero clearing;
if the Autosar network pipe section does not enter dormancy, when T 1 Reach T max Before GW receives OTA activating signal, GW's Autosar network pipe section monitoring timer T 1 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 1 =T max When the Autosar network pipe network segment is not dormant, the Autosar network pipe network segment anomaly counter C 1 Adding 1; when C 1 Reach C max Previously, autosar network segment monitoring timer T 1 Zero clearing and restarting timing; counter C for abnormality of Autosar network pipe network segment 1 =C max When the pipe network segment of the Autosar network is abnormal, the dormancy state S of the pipe network segment of the Autosar network is carried out 1 Setting the message as OFF not dormant-unable to enter dormancy, recording corresponding fault codes, and monitoring network management messages of the network management controller; if the network management message is monitored, setting a corresponding controller state signal to be 'not dormant', and uploading the corresponding controller state signal to the background after receiving a related signal value through a T-BOX; auto if the whole vehicle network is not dormant all the time sar network management network segment anomaly counter C 1 Increasing until 255 and holding;
3) When the Autosar network pipe network segment enters dormancy, the Autosar network pipe segment is awakened, and the dormancy state S of the Autosar network pipe segment is realized through GW 1 Zero clearing and automatic sar network pipe network segment wake-up counter W 1 Adding 1; when Autosar network pipe network segment wakes up counter W 1 When Wmax is reached, the pipe network segment of the Autosar network is considered to be abnormal, the dormancy state of the pipe network segment of the Autosar network is set to be ' OFF and not dormant ' (frequently awakened) ', corresponding fault codes are recorded, at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be ' not dormant ', and a T-BOX receives a relevant signal value and then uploads the relevant signal value to a background; if key messages of the non-network management controller are not monitored, when ARTOC and DMSC are monitored to send the key messages when power is not supplied, setting a controller signal state signal corresponding to the key messages to be 'non-dormant', simultaneously monitoring a wake-up type signal of the network management controller, if the wake-up type signal of the network management controller is monitored to be 'local wake-up or internal wake-up', setting a corresponding controller state signal to be 'non-dormant', and uploading the corresponding controller state signal to a background after a T-BOX receives a related signal value; if the whole vehicle network is frequently awakened all the time, the automatic sar network pipe network segment awakening counter W 1 Increasing until 255 and holding;
4) When the vehicle is electrified, the last recorded Autosar network pipe network segment monitoring timer T is used for controlling the current time of the vehicle 1 Abnormality counter C for Autosar network pipe network segment 1 And an automatic sar network pipe network segment wake-up counter W 1 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the Autosar network pipe network section is not dormant all the time in a power-down period, the Autosar network pipe network section cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once; the failure to sleep recovery condition is that the vehicle may sleep and the frequent wake-up failure recovery condition is that the abnormal wake-up counter is less than 30 times.
According to the above scheme, in step 2), if the Autosar network pipe section does not go to sleep, when it is monitored that the power supply controlled network management node is not powered, a key message is sent for 5 minutes and/or the network is not directThe network management node sends a key message for 5 minutes when in an OFF file, sets a corresponding controller signal state signal as 'not dormant', and sets the dormancy state S of the Autosar network pipe network segment 1 And setting the signal value to be 'OFF without dormancy-unable to enter dormancy', and uploading the signal value to the background after receiving the related signal value through the T-BOX.
According to the scheme, when the vehicle is powered down from ON/ACC to OFF or not powered up, the whole vehicle network is awakened after dormancy, and the automatic sar network pipe network segment monitoring timer T is started through GW 1 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON to ON/ACC, the GW enables the Autosar network segment monitoring timer T 1 Stopping timing; the T is max =15min;
When the vehicle is powered down to an OFF gear from an ON/ACC, the automatic sar network pipe network segment anomaly counter C1 is cleared; when the vehicle is electrified to ON/ACC, the automatic sar network pipe network segment anomaly counter C1 stops counting; the C is max =3;
When the vehicle is powered down to an OFF gear from an ON/ACC, the automatic sar network pipe network segment wake-up counter W1 is cleared; when the vehicle is electrified to ON/ACC, the automatic sar network pipe network segment wake-up counter W1 stops counting; the W is max =30。
According to the scheme, the power network abnormality monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal power network dormant state S is set through GW 2 Power network anomaly counter C 2 And a power network wake-up counter W 2 Zero clearing;
2) Starting a dynamic network monitoring timer T by GW 2
If the power network enters a dormant state, the power network monitors a timer T 2 Stop timing, power network sleep state S 2 Set to "OFF dormant"; and power network monitoring timer T 2 Zero clearing;
if the power network does not go to sleep, when T 2 Reach T max Before GW receives OTA activation signal, power network monitoring timer T 2 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 2 =T max In the time-course of which the first and second contact surfaces,the power network is not dormant, and the power network is dormant in the dormant state S 2 Setting the key message of the non-network management controller to be 'non-dormant' after being set as 'OFF and not dormant' and recording corresponding fault codes, monitoring the key message of the non-network management controller, setting the state signal of the corresponding controller to be 'non-dormant', and uploading the state signal to the background after receiving the related signal value through the T-BOX;
3) When the power network enters dormancy and is awakened, the power network dormancy state S is carried out through GW 2 Zero clearing and power network awakening counter W 2 Adding 1; when power network wakes up counter W 2 =W wake up max When the power network pipe network section is abnormal, setting the dormant state of the power network as 'OFF not dormant-frequently awakening', recording corresponding fault codes, setting a corresponding controller state signal as 'not dormant' if a key message of a non-network management controller is monitored, and uploading the corresponding controller state signal to the background after receiving a relevant signal value through a T-BOX; when the power network is frequently awakened all the time, the power network abnormality counter C 2 Increasing until 255 and holding;
4) When the vehicle is electrified, the last recorded power network monitoring timer T is used for controlling the power network 2 Dynamic network wake-up counter W 2 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the power network is not dormant all the time in a power-down period, the power network cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once.
According to the scheme, the network management strategy of the power network segment is that the GW forcedly enters the dormant state after 16 minutes, and no wake-up source exists in the power network segment, so that once the whole vehicle network is dormant, the non-dormant state of the power network segment cannot be continuously monitored.
According to the scheme, when the vehicle is powered down from ON/ACC to OFF or not powered up, the whole vehicle network is awakened after dormancy, and the GW starts a power network monitoring timer T 2 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON/ACC, the power network monitors the timer T 2 Stopping timing; the T is max =15min;
When the vehicle is powered down from ON/ACC to OFF gear, the power network wakes up counter W 2 Zero clearing; when the vehicle is powered ON to ON/ACC, powerWake-on-network counter W 2 Stopping counting; the W is wake up max =5。
According to the scheme, the chassis network anomaly monitoring comprises the following steps of:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal chassis network dormant state S is set through GW 3 Chassis network anomaly counter C 3 And chassis wake-on-network counter W 3 Zero clearing;
2) Starting chassis network monitoring timer T by GW 3
If the chassis network enters a sleep state, the chassis network monitors a timer T 3 Stop timing, chassis network sleep state S 3 Set to "OFF dormant"; and chassis network monitoring timer T 3 Zero clearing;
if the chassis network does not go dormant, when T 3 Reach T max Before GW receives OTA activating signal, chassis network monitoring timer T 3 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 3 =T max When the chassis network is not dormant, the chassis network is dormant in the dormant state S 3 Setting the key message of the non-network management controller to be 'non-dormant' after being set as 'OFF and not dormant' and recording corresponding fault codes, monitoring the key message of the non-network management controller, setting the state signal of the corresponding controller to be 'non-dormant', and uploading the state signal to the background after receiving the related signal value through the T-BOX;
3) When the chassis network enters dormancy and is awakened, the chassis network dormancy state S is realized through GW 3 Zero clearing chassis network wake-up counter W 3 Adding 1; when chassis network wakes up counter W 3 =W ax When the network segment of the chassis network is abnormal, the dormant state of the chassis network is set to be 'OFF not dormant-frequently awakened', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be 'not dormant', and the corresponding controller state signal is uploaded to the background after a relevant signal value is received through a T-BOX; when the chassis network is always frequently awakened, the chassis network anomaly counter C 3 Increasing until 255 and holding;
4) When the vehicle is powered on, the last recorded chassis network monitoring timer T is used for controlling the power on of the vehicle 3 And chassis wake-on-network counter W 3 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the chassis network is not dormant all the time in a power-down period, the chassis network cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once.
According to the scheme, the network management strategy of the GW chassis network segment is that the GW forcedly enters a dormant state after 16 minutes, and no awakening source exists in the chassis network segment, so that once the whole vehicle network is dormant, the non-dormant state of the chassis network segment cannot be continuously monitored;
when the vehicle is powered down from ON/ACC to OFF or not powered up, the whole vehicle network is awakened after dormancy, and a chassis network monitoring timer T is started 3 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON/ACC, the chassis network monitor timer T 3 Stopping timing; the T is max =15min;
When the vehicle is powered down from ON/ACC to OFF gear, the chassis wake-ON-network counter W 3 Zero clearing; when the vehicle is powered ON to ON/ACC, the chassis wake-ON-network counter W 3 Stopping counting; the W is max And=5.
According to the scheme, the new energy network abnormality monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal new energy network dormancy state S is carried out through GW 4 New energy network anomaly counter C 4 And a new energy network wake-up counter W 4 Zero clearing;
2) Starting new energy network monitoring timer T through GW 4
If the new energy network enters the dormant state, the new energy network monitors a timer T 4 Stopping timing, and enabling new energy network to sleep in state S 4 Set to "OFF dormant"; and new energy network monitoring timer T 4 Zero clearing;
if the new energy network does not go into dormancy, when T 4 Reach T max Before GW receives OTA activating signal, new energy network monitoring timer T 4 Zero clearing and restarting timing; when the carWhen the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 4 =T max When the new energy network is not dormant, the new energy network is dormant in the dormant state S 4 Setting the key message of the non-network management controller to be 'non-dormant' after being set as 'OFF and not dormant' and recording corresponding fault codes, monitoring the key message of the non-network management controller, setting the state signal of the corresponding controller to be 'non-dormant', and uploading the state signal to the background after receiving the related signal value through the T-BOX;
3) When the new energy network is awakened after entering dormancy, the new energy network is in a dormancy state S through GW 4 Zero clearing new energy network wake-up counter W 4 Adding 1; when new energy network wakes up counter W 4 =W ax When the new energy network management network segment is abnormal, the new energy network dormancy state is set to be 'OFF not dormancy-frequent awakening', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be 'non-dormancy', and the corresponding controller state signal is uploaded to the background after a relevant signal value is received through a T-BOX; when the new energy network is frequently awakened all the time, the new energy network anomaly counter C 4 Increasing until 255 and holding;
4) When the vehicle is electrified, the newly recorded new energy network monitoring timer T is used for recording the new energy network 4 New energy network wake-up counter W 4 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the new energy network is not dormant all the time in a power-down period, the new energy network cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once.
When the vehicle is awakened (not powered ON) from the ON/ACC power-down to the OFF gear or after the whole vehicle network is dormant, the GW starts a new energy network monitoring timer T 4 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is electrified to ON/ACC, a new energy network monitoring timer T of GW 4 Stopping timing; t (T) max =15min。
When the vehicle is powered down to an OFF gear from an ON/ACC, the new energy network wakeup counter W4 is cleared; when the vehicle is electrified to ON/ACC, the new energy network wakes up the counter W 4 Stopping counting; the new energy network wake-up counter threshold wmax=5.
In the invention, the abnormality monitoring mechanism of the whole vehicle network is as follows:
whole vehicle network monitoring timer T
1) When the vehicle is waken (not powered ON) from the power-down of the ON/ACC to the OFF gear or after the whole vehicle network is dormant, the GW starts a whole vehicle network monitoring timer T;
2) If the vehicle is powered ON to the ON/ACC, the whole vehicle network monitoring timer T of the GW stops timing;
3) Because the GW can forcedly sleep for 15 minutes after the power-down of other network segments, the whole vehicle network monitoring timer T takes the timer value of the vehicle body network segment, namely T=T 1
Whole vehicle network anomaly counter C
1) When the vehicle is powered down from ON/ACC to OFF gear, the whole vehicle network anomaly counter C is cleared;
2) If the vehicle is electrified to ON/ACC, the whole vehicle network anomaly counter C stops counting;
3) According to the current GW network management strategy, only the Autosar network pipe network segment can keep a non-dormant state, so that the whole vehicle network anomaly counter C=C 1
Whole vehicle network wake-up counter W
1) When the vehicle is powered down to an OFF gear from an ON/ACC, a whole vehicle network wake-up counter W is cleared;
2) If the vehicle is electrified to ON/ACC, the whole vehicle network wake-up counter W stops counting;
3) According to the current GW network management strategy, only the Autosar network pipe network segment can be awakened after the whole vehicle network is dormant, so that the whole vehicle network anomaly counter W=W 1
Whole vehicle network dormancy state S
The dormancy state of the whole vehicle network is equal to the state set of each network segment, namely S=S 1 ∪S 2 ∪S 3 ∪S 4
The invention has the beneficial effects that:
the system can monitor not only test vehicles, but also after-sales vehicles, and has wide application range;
the monitoring of network segment network abnormality by adopting AUTOSAR network management can be realized; when the vehicle is abnormal, abnormal points can be timely detected, and abnormal results are fed back to the cloud end, so that reminding of a user is realized, the occurrence of faults caused by abnormal network feeding and incapability of starting the vehicle is reduced, and the trouble of inconvenient use of the vehicle by the user is reduced;
The anomaly monitoring of a plurality of network segments can be realized, the network segment anomalies managed by the AUTOSAR network can be monitored, and the network segment anomalies of non-network management messages can be monitored at the same time;
the system can monitor the abnormality monitoring of all network management nodes or the controllers which do not participate in the network management nodes on the whole vehicle, and can monitor the abnormality monitoring of the controllers controlled by the power supply;
the invention can monitor the abnormality of the network section or the abnormality of the whole vehicle network, and can locate the fault to a specific controller to realize accurate location;
when an abnormality is monitored on the vehicle, the abnormal result is reported to the cloud end, the cloud end can carry out statistical analysis on the result, a quality monitoring mechanism of a controller/a supplier can be adopted, and meanwhile, a user can be reminded in an APP/IC/short message mode, so that unnecessary troubles brought by the user due to vehicle feeding are reduced;
the dark current consumption of the GW can be effectively reduced, the service life of the storage battery of the vehicle is prolonged, and the consumption of the GW is also reduced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a signal flow diagram of a multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management;
FIG. 2 is a flow chart of Autosar network segment anomaly monitoring;
FIG. 3 is a flow chart of power network anomaly monitoring;
FIG. 4 is a flow chart of chassis network anomaly monitoring;
fig. 5 is a flow chart of new energy network anomaly monitoring.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, an automatic sar network management-based multi-network-segment whole vehicle CAN network abnormality monitoring method monitors an automatic sar network pipe network segment abnormality, a power network abnormality, a chassis network abnormality and/or a new energy network abnormality through a GW, thereby realizing monitoring of the whole vehicle network abnormality, recording abnormal conditions, transmitting to a T-BOX through the CAN network, and feeding back to a background through the T-BOX; if the vehicle is an after-sales vehicle, reminding a user through a TSP background by a short message and an APP, and displaying an abnormality on the instrument when the vehicle is started next time.
The whole vehicle network abnormality monitoring mechanism covers vehicles before sales and after sales.
When the vehicle is in an OFF gear, the whole vehicle network can not normally sleep, record, and store fault codes. If the vehicle is an after-market vehicle, the user is reminded through the short message and the APP, and meanwhile, the vehicle is displayed on the instrument when being started next time.
Since the whole vehicle can contain 4 network segments, the wake-up dormancy strategy of each network segment is different, the 4 network segments are monitored individually, and a specific monitoring mechanism is as follows.
Referring to fig. 2, the method for monitoring the abnormality of the pipe network segment of the autosar network comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal Autosar network pipe section dormant state S is set through GW 1 Abnormality counter C for Autosar network pipe network segment 1 And an automatic sar network pipe network segment wake-up counter W 1 Zero clearing;
2) Starting Autosar network pipe network segment network monitoring timer T through GW 1
If the Autosar network segment enters dormancy, the GW causes the Autosar network segment to monitor a timer T 1 Stopping timing, and setting the dormancy state S1 of the pipe network segment of the Autosar network to be 'OFF dormancy'; and Autosar network managerNetwork segment monitoring timer T 1 And Autosar network segment anomaly counter C 1 Zero clearing;
if the Autosar network pipe section does not enter dormancy, T 1 Reach T max Before, the GW receives an OTA activation signal, clears a monitoring timer of a network segment of the Autosar network through the GW and restarts timing, and when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T reaches T max When the Autosar network pipe network segment is not dormant, the automatic sar network pipe network segment anomaly counter C is used for counting the quantity of the automatic sar network pipe network segment by the GW 1 1, autosar network pipe section monitoring timer T 1 Zero clearing and restarting timing; counter C for abnormality of Autosar network pipe network segment 1 Equal to C max When the automatic sar network pipe network segment is abnormal, the dormancy state S of the automatic sar network pipe network segment is considered 1 Setting the controller state signal as 'non-dormant', and uploading the corresponding controller state signal to the background after the T-BOX receives the related signal value; if the whole vehicle network cannot sleep all the time, an automatic sar network pipe network segment anomaly counter C 1 Increasing until 255 and holding;
if the pipe network segment of the Autosar network does not go dormant, when the power supply controlled network management node (ARTOC and DMSC) is monitored to send a key message for 5 minutes when the power supply is not supplied, setting a signal state signal of a controller of the power supply controlled network management node to be 'non-dormant', and setting the dormancy state S of the pipe network segment of the Autosar network to be dormant 1 Setting the signal value as OFF and not dormant (incapable of entering dormancy), recording a corresponding fault code, and uploading the corresponding fault code to the background after the T-BOX receives the corresponding signal value; when the key message of the non-network management controller is monitored to be continuously sent for more than 5 minutes after power-OFF, setting the corresponding controller state signal as 'non-dormant', and setting the dormancy state S of the pipe network segment of the Autosar network to be in the dormant state 1 Setting the signal value as OFF and not dormant (incapable of entering dormancy), recording a corresponding fault code, and uploading the corresponding fault code to the background after the T-BOX receives the corresponding signal value;
3) If the Autosar network pipe network segment is awakened after sleeping, the automatic sar network pipe segment awakening counter W is used for carrying out the sleep on the Autosar network pipe segment 1 Adding 1;
when Autosar network pipe network segment wakes up counter W 1 When Wmax is reached, the pipe network segment of the Autosar network is considered to be abnormal, the dormancy state of the pipe network segment of the Autosar network is set to be ' OFF and not dormant ' (frequently awakened) ', corresponding fault codes are recorded, at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be ' not dormant ', and a T-BOX receives a relevant signal value and then uploads the relevant signal value to a background; if key messages of the non-network management controller are not monitored, when ARTOC and DMSC are monitored to send the key messages when power is not supplied, setting a controller signal state signal corresponding to the key messages to be 'non-dormant', simultaneously monitoring a wake-up type signal of the network management controller, if the wake-up type signal of the network management controller is monitored to be 'local wake-up or internal wake-up', setting a corresponding controller state signal to be 'non-dormant', and uploading the corresponding controller state signal to a background after a T-BOX receives a related signal value; if the whole vehicle network is frequently awakened all the time, the automatic sar network pipe network segment awakening counter W 1 Increasing until 255 and holding;
4) If the Autosar network pipe network section is not dormant (cannot be dormant or is frequently awakened) all the time in a power-down period, the corresponding fault code is recorded only once; the failure recovery condition that can not sleep is that the vehicle can sleep, and the failure recovery condition that frequent awakening is that the abnormal awakening counter is smaller than 30 times;
5) When the vehicle is electrified, GW monitors the last recorded Autosar network pipe network segment monitoring timer T 1 Abnormality counter C for Autosar network pipe network segment 1 And an automatic sar network pipe network segment wake-up counter W 1 And the result is sent out and uploaded to the background by the T-BOX.
Parameters of the automatic sar network pipe network segment abnormality monitoring mechanism comprise an automatic sar network pipe segment monitoring timer T 1 Abnormality counter C for Autosar network pipe network segment 1 Wake-up counter W for Autosar network pipe network segment 1
When the vehicle is awakened (not powered ON) from ON/ACC power-down to OFF gear or after the whole vehicle network is dormant, GW starts an Autosar network pipe network segment monitoring timer T 1 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is electrified to ON/ACC, then the automatic sar network pipe network segment monitoring timer T of GW 1 Stopping timing; the whole vehicle network monitoring timer Tmax can be configured and defaults to 15min.
When the vehicle is powered down to an OFF gear from an ON/ACC, an Autosar network pipe network segment anomaly counter C 1 Zero clearing; when the vehicle is electrified to ON/ACC, then an Autosar network pipe network segment anomaly counter C 1 Stopping counting; the threshold Cmax of the abnormal counter of the pipe network segment of the Autosar network can be configured and defaults to 3.
When the vehicle is powered down to an OFF gear from an ON/ACC, the Autosar network pipe network segment wakes up the counter W 1 Zero clearing; when the vehicle is electrified to ON/ACC, the Autosar network pipe network segment wakes up the counter W 1 Stopping counting; the auto sar network pipe segment wake-up counter threshold Wmax may be configured, defaulting to 30.
Referring to fig. 3, the power network anomaly monitoring method includes the steps of:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal power network dormant state S is set through GW 2 Power network anomaly counter C 2 And a power network wake-up counter W 2 Zero clearing;
2) Starting a power network monitoring timer T by GW 2
If the power network goes to sleep, GW stops the power network monitoring timer T 2 Timing, power network dormancy state setting S 2 Is "OFF dormant"; and power network monitoring timer T 2 Zero clearing;
if the power network does not go to sleep, when T 2 Reach T max Before GW receives OTA activation signal, power network monitoring timer T 2 Timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when t2=t max When the power network is not dormant, the power network is considered to be abnormal, and the power network is dormant 2 Setting the key message of the non-network management controller as 'non-dormant', and uploading the key message to the background after receiving the related signal value through the T-BOX;
3) If the power network is awakened after sleeping, the GW will power the networkNetwork dormancy state S 2 Zero clearing and power network awakening counter W 2 Adding 1;
when power network wakes up counter W 2 Reach W wake up max When the power network is abnormal, the dormant state of the power network is set as 'OFF and not dormant (frequently awakened)', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set as 'not dormant', and the T-BOX receives a related signal value and then uploads the related signal value to the background; if the power network is always frequently awakened, the power network anomaly counter C 2 Increasing until 255 and holding;
4) When the vehicle is powered on, GW will last record power network monitoring timer T 2 Dynamic network wake-up counter W 2 And the result is sent out and uploaded to the background by the T-BOX.
If the power network is not dormant (cannot be dormant or is frequently awakened) all the time in a power-down period, the corresponding fault code is recorded only once. Because the network management strategy of the GW power network segment is that the GW forcedly enters a dormant state after 16 minutes and no wake-up source exists in the power network segment, once the whole vehicle network is dormant, the non-dormant state of the power network segment cannot be continuously monitored.
The parameters of the power network abnormality monitoring method comprise a power network monitoring timer T 2 Dynamic network wake-up counter W 2
When the vehicle is awakened (not powered ON) from ON/ACC power-down to OFF gear or after the whole vehicle network is dormant, GW starts a power network monitoring timer T 2 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON/ACC, the GW's power network monitor timer T 2 Stopping timing; whole vehicle network monitoring timer T ma x is configurable, defaulting to 15min;
when the vehicle is powered down from ON/ACC to OFF gear, the power network wakes up the counter W 2 Zero clearing; when the vehicle is powered ON/ACC, the power network wakes up the counter W 2 Stopping counting; power network wakeup counter threshold W wake up max Can be configured, defaulting to 5.
Referring to fig. 4, the chassis network anomaly monitoring method includes the steps of:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal chassis network dormant state S is set through GW 3 Chassis network anomaly counter C 3 And chassis wake-on-network counter W 3 Zero clearing;
2) Starting chassis network monitoring timer T by GW 3
If the chassis network goes to sleep, the GW causes the chassis network to monitor a timer T 3 Stop timing, chassis network dormancy state is put S 3 Is "OFF dormant" and the chassis network monitor timer T 3 Zero clearing;
if the chassis network does not go dormant, when T 3 Reach T max Before GW receives OTA activating signal, chassis network monitoring timer T 3 Timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 3 =T max When the chassis network is not dormant, the chassis network is considered to be abnormal, and the chassis network dormant state S is set 3 Setting the key message of the non-network management controller as 'non-dormant', and uploading the corresponding controller state signal to the background after receiving the related signal value through the T-BOX (note: because the network management strategy of the GW chassis network segment is that the GW forcedly enters the dormant state after 16 minutes and no wake-up source exists in the chassis network segment, once the whole vehicle network is dormant, the non-dormant state of the chassis network segment cannot be continuously monitored.);
3) When the chassis network is awakened after sleeping, the chassis network is in a dormant state S through the GW 3 Zero clearing, GW wakes up chassis network counter W 3 Adding 1; when chassis network wakes up counter W 3 Reach W max When the method is used, the chassis network is considered to be abnormal, the dormant state of the chassis network is set to be ' OFF and not dormant ' (frequently awakening) ', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be ' not dormant ', and a T-BOX receives a related signal value and then uploads the related signal value to the background; if the chassis network is always frequently awakened, the chassis network anomaly counter C 3 Is increased all the timeUntil 255, and hold;
4) When the vehicle is powered on, GW will last record the chassis network monitoring timer T 3 Chassis network wake-up counter W 3 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) If the chassis network has not been dormant (cannot be dormant or is frequently awakened) within a power-down period, the corresponding fault code is recorded only once.
Parameters related to the chassis network anomaly monitoring method comprise a chassis network monitoring timer T 3 Chassis network wake-up counter W 3
When the vehicle is awakened (not powered ON) from ON/ACC power-down to OFF gear or after the whole vehicle network is dormant, GW starts a chassis network monitoring timer T 3 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON/ACC, GW causes chassis network monitoring timer T 3 Stopping timing; whole vehicle network monitoring timer T max Can be configured, defaults to 15min.
When the vehicle is powered down from ON/ACC to OFF gear, the chassis wake-ON-network counter W 3 Zero clearing; when the vehicle is powered ON to ON/ACC, the chassis wake-ON-network counter W 3 Stopping counting; chassis wake-on-network counter threshold W max Can be configured, defaulting to 5.
Referring to fig. 5, the new energy network anomaly monitoring method includes the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, GW will make internal new energy network dormant state S 4 New energy network anomaly counter C 4 And a new energy network wake-up counter W 4 Zero clearing;
2) GW starts new energy network monitoring timer T 4
If the new energy network goes to sleep, GW stops the new energy network monitoring timer T 4 New energy network dormancy state device S 4 Is "OFF dormant"; and new energy network monitoring timer T 4 Zero clearing;
if the new energy network does not go into dormancy, when T 4 Reach T max Before GW receives OTA activating signal, new energy network monitoring timer T 4 Timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 4 =T max When the new energy network is not dormant, the new energy network is considered to be abnormal, and the new energy network is in a dormant state S 4 Setting the key message of the non-network management controller as 'non-dormant', and uploading the key message to the background after receiving the related signal value through the T-BOX; (note: because the network management policy of the new energy network segment of GW is that GW is forced to enter the dormant state after 16 minutes, and no wake-up source is provided in the chassis network segment, once the whole vehicle network is dormant, the non-dormant state of the chassis network segment cannot be monitored continuously);
3) If the new energy network is awakened after sleeping, the new energy network is in a sleep state S through the GW 4 Zero clearing, namely adding 1 to a new energy network wake-up counter W4; when the new energy network awakening counter W4 reaches Wmax, the new energy network is considered to be abnormal, the new energy network dormant state is set to be 'OFF not dormant (frequently awakening)', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be 'not dormant', and a T-BOX receives a relevant signal value and then uploads the relevant signal value to the background; if the new energy network is frequently awakened all the time, the new energy network anomaly counter C 4 Increasing until 255 (hold);
4) When the vehicle is electrified, GW monitors the latest recorded new energy network to monitor the timer T 4 New energy network wake-up counter W 4 And the result is sent out and uploaded to the background by the T-BOX.
If the new energy network is not dormant (cannot be dormant or is frequently awakened) all the time in a power-down period, the corresponding fault code is recorded only once.
The new energy network anomaly monitoring method comprises the following parameters: new energy network monitoring timer T 4 New energy network wake-up counter W 4
When the vehicle is awakened (not electrified) from ON/ACC power-down to OFF gear or after the whole vehicle network is dormant, the GW starts a new energy network monitoring timer T 4 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered onWhen the ON/ACC is reached, the new energy network monitoring timer T of the GW 4 Stop timing, whole car network monitoring timer T max Can be configured, defaults to 15min.
When the vehicle is powered down from ON/ACC to OFF gear, a new energy network wake-up counter W 4 Zero clearing; when the vehicle is electrified to ON/ACC, the new energy network wakes up the counter W 4 Stopping counting; new energy network wake-up counter threshold W max Can be configured, defaulting to 5.
In the invention, the parameters of the whole vehicle network anomaly monitoring method are as follows:
whole car network monitoring timer T: when the vehicle is waken (not powered ON) from the power-down of the ON/ACC to the OFF gear or after the whole vehicle network is dormant, the GW starts a whole vehicle network monitoring timer T; if the vehicle is powered ON to the ON/ACC, the whole vehicle network monitoring timer T of the GW stops timing; because the GW can forcedly sleep for 15 minutes after the power-down of other network segments, the whole vehicle network monitoring timer T takes the timer value of the vehicle body network segment, namely T=T 1
Whole vehicle network anomaly counter C: when the vehicle is powered down from ON/ACC to OFF gear, the whole vehicle network anomaly counter C is cleared; if the vehicle is electrified to ON/ACC, the whole vehicle network anomaly counter C stops counting; according to the current GW network management strategy, only the Autosar network pipe network segment can keep a non-dormant state, so that the whole vehicle network anomaly counter C=C 1
Whole vehicle network wake-up counter W: when the vehicle is powered down to an OFF gear from an ON/ACC, a whole vehicle network wake-up counter W is cleared; if the vehicle is electrified to ON/ACC, the whole vehicle network wake-up counter W stops counting; according to the current GW network management strategy, only the Autosar network pipe network segment can be awakened after the whole vehicle network is dormant, so that the whole vehicle network anomaly counter W=W 1
Entire vehicle network dormancy state S: the dormancy state of the whole vehicle network is equal to the state set of each network segment, namely S=S 1 ∪S 2 ∪S 3 ∪S 4
Alarm mechanism (function reservation, temporary not open to user):
1) Short message & APP
And when the TSP receives that the dormancy state of the whole vehicle network is 'OFF not dormancy (not dormancy)' or 'OFF not dormancy (frequent awakening)', a reminder is sent to the mobile phone of the user and the APP.
The TSP background sends a reminding message to the mobile phone and the APP of the user. Each car is only reminded once after being powered down.
2) Meter
After the vehicle is electrified, the IC receives the whole vehicle network dormancy state signal and sets the whole vehicle network dormancy state signal as 'OFF not dormancy (not entering dormancy)' or 'OFF not dormancy (frequently awakening)', and reminds the abnormal condition of the whole vehicle network. One ignition cycle, only one reminder.
TSP background statistics
The system comprises a whole vehicle network monitoring timer, a whole vehicle network anomaly counter, a wake-up counter and a whole vehicle network dormancy state, wherein TSP background is used for counting and forming a report.
In addition, the whole vehicle does not need to monitor network abnormality when in OTA upgrading. The network monitor and time function is not used as sleep and wake-up condition of GW. The T-BOX and TSP need to have log record related data so as to facilitate subsequent problem investigation.
Protocol requirements:
CAN message definition
The GW additionally transmits the whole vehicle network state messages CGW_Vehickenm1 and CGW_Vehickenm2, the message length is 8 bytes, the message transmission mode is a periodic event, and the message period is 1000ms (3 frames of messages are transmitted when the event occurs, and the interval is 20 ms). After the vehicle is electrified, a counter, a timer and a whole vehicle network dormancy state signal in the CGW_VehicleNM1 message are reserved for the last time; and after the vehicle is powered down, the counter, the timer and the whole vehicle network dormancy state signal send real-time values.
GW diagnostic requirements
When cgw_vecclenmstate is set to "OFF not dormant (unable to go dormant)" or "OFF not dormant (frequent awakening)", the GW sets a corresponding fault code, fault snapshot data, and DID data identifier. The fault code supports 14 service, 19 service. The fault is automatically cleared when the fault is not recurring for 40 consecutive firing cycles. The DID data identifier supports 22 services.
It will be understood that modifications and variations will be apparent to those skilled in the art from the foregoing description, and it is intended that all such modifications and variations be included within the scope of the following claims.

Claims (9)

1. A multi-network-segment whole-vehicle CAN network anomaly monitoring method based on automatic sar network management is characterized by comprising the following steps of:
monitoring the network section abnormality, the power network abnormality, the chassis network abnormality and/or the new energy network abnormality of the Autosar network by GW, thereby realizing monitoring the whole vehicle network abnormality, recording the abnormal situation, sending to T-BOX by CAN network, and feeding back to the background by T-BOX; if the vehicle is an after-sales vehicle, reminding a user through a TSP background by a short message and an APP, and displaying an abnormality on an instrument when the vehicle is started next time;
The automatic sar network pipe network segment abnormality monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal Autosar network pipe section dormant state S is set through GW 1 Abnormality counter C for Autosar network pipe network segment 1 And an automatic sar network pipe network segment wake-up counter W 1 Zero clearing;
2) Starting Autosar network pipe network segment network monitoring timer T through GW 1
If the Autosar network pipe network segment enters dormancy, stopping the Autosar network pipe network segment monitoring timer T 1 Dormancy state S of pipe network segment of Autosar network 1 Set to = "OFF dormant"; and Autosar network pipe network segment monitoring timer T 1 And Autosar network segment anomaly counter C 1 Zero clearing;
if the Autosar network pipe section does not enter dormancy, when T 1 Reach T max Before GW receives OTA activating signal, GW's Autosar network pipe section monitoring timer T 1 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 1 =T max When the Autosar network pipe network segment is not dormant, the Autosar network pipe network segment anomaly counter C 1 Adding 1; when C 1 Reach C max Previously, autosar network segment monitoring timer T 1 Zero clearing and restarting timing; counter C for abnormality of Autosar network pipe network segment 1 =C max When the pipe network segment of the Autosar network is abnormal, the dormancy state S of the pipe network segment of the Autosar network is carried out 1 Setting the message as OFF not dormant-unable to enter dormancy, recording corresponding fault codes, and monitoring network management messages of the network management controller; if the network management message is monitored, setting a corresponding controller state signal to be 'not dormant', and uploading the corresponding controller state signal to the background after receiving a related signal value through a T-BOX; if the whole vehicle network cannot sleep all the time, an automatic sar network pipe network segment anomaly counter C 1 Increasing until 255 and holding;
3) When the Autosar network pipe network segment enters dormancy, the Autosar network pipe segment is awakened, and the dormancy state S of the Autosar network pipe segment is realized through GW 1 Zero clearing and automatic sar network pipe network segment wake-up counter W 1 Adding 1; when Autosar network pipe network segment wakes up counter W 1 When Wmax is reached, the pipe network segment of the Autosar network is considered to be abnormal, the dormancy state of the pipe network segment of the Autosar network is set to be 'OFF not dormancy-frequently awakened', corresponding fault codes are recorded, at the moment, if a key message of a non-network management controller is monitored, a state signal of a corresponding controller is set to be 'not dormancy', and a T-BOX receives a relevant signal value and then uploads the relevant signal value to a background; if key messages of the non-network management controller are not monitored, when ARTOC and DMSC are monitored to send the key messages when power is not supplied, setting a controller signal state signal corresponding to the key messages to be 'non-dormant', simultaneously monitoring a wake-up type signal of the network management controller, if the wake-up type signal of the network management controller is monitored to be 'local wake-up or internal wake-up', setting a corresponding controller state signal to be 'non-dormant', and uploading the corresponding controller state signal to a background after a T-BOX receives a related signal value; if the whole vehicle network is frequently awakened all the time, the automatic sar network pipe network segment awakening counter W 1 Increasing until 255 and holding;
4) When the vehicle is electrified, the last recorded Autosar network pipe network segment monitoring timer T is used for controlling the current time of the vehicle 1 Abnormality counter C for Autosar network pipe network segment 1 And an automatic sar network pipe network segment wake-up counter W 1 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the Autosar network pipe network section is not dormant all the time in a power-down period, the Autosar network pipe network section cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once; the failure recovery condition that can not sleep is that the vehicle can sleep, and the failure recovery condition that wakes up frequently is that the abnormal wake-up counter is less than 30 times.
2. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 1, wherein the method comprises the following steps:
in step 2), if the Autosar network pipe network segment does not go dormant, when it is monitored that the power supply controlled network management node transmits a key message for 5 minutes when not supplying power and/or the indirect network management node transmits a key message for 5 minutes when the indirect network management node is in an OFF file, the corresponding controller signal state signal is set to be "not dormant", and the Autosar network pipe network segment dormant state S is set 1 And setting the signal value to be 'OFF without dormancy-unable to enter dormancy', and uploading the signal value to the background after receiving the related signal value through the T-BOX.
3. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 1, wherein the method comprises the following steps:
when the vehicle is powered down from ON/ACC to OFF or not powered up, the whole vehicle network is awakened after dormancy, and the automatic sar network pipe network segment monitoring timer T is started through GW 1 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON to ON/ACC, the GW enables the Autosar network segment monitoring timer T 1 Stopping timing; the T is max =15min;
When the vehicle is powered down to an OFF gear from an ON/ACC, the automatic sar network pipe network segment anomaly counter C1 is cleared; when the vehicle is electrified to ON/ACC, the automatic sar network pipe network segment anomaly counter C1 stops counting; the C is max =3;
When the vehicle is powered down to an OFF gear from an ON/ACC, the automatic sar network pipe network segment wake-up counter W1 is cleared; when the vehicle is electrified to ON/ACC, the automatic sar network pipe network segment wake-up counter W1 stops counting; the W is max =30。
4. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 1, wherein the method comprises the following steps: the power network abnormality monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal power network dormant state S is set through GW 2 Power network anomaly counter C 2 And a power network wake-up counter W 2 Zero clearing;
2) Starting a dynamic network monitoring timer T by GW 2
If the power network enters a dormant state, the power network monitors a timer T 2 Stop timing, power network sleep state S 2 Set to "OFF dormant"; and power network monitoring timer T 2 Zero clearing;
if the power network does not go to sleep, when T 2 Reach T max Before GW receives OTA activation signal, power network monitoring timer T 2 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 2 =T max When the power network is not dormant, the power network is dormant in the dormant state S 2 Setting the key message of the non-network management controller to be 'non-dormant' after being set as 'OFF and not dormant' and recording corresponding fault codes, monitoring the key message of the non-network management controller, setting the state signal of the corresponding controller to be 'non-dormant', and uploading the state signal to the background after receiving the related signal value through the T-BOX;
3) When the power network enters dormancy and is awakened, the power network dormancy state S is carried out through GW 2 Zero clearing and power network awakening counter W 2 Adding 1; when power network wakes up counter W 2 =W wakeupmax When the power network pipe network section is abnormal, setting the dormant state of the power network as 'OFF not dormant-frequently awakening', recording corresponding fault codes, setting a corresponding controller state signal as 'not dormant' if a key message of a non-network management controller is monitored, and uploading the corresponding controller state signal to the background after receiving a relevant signal value through a T-BOX; when the power network is frequently awakened all the time, the power network abnormality counter C 2 Increasing until 255 and holding;
4) When the vehicle is electrified, the last recorded power network monitoring timer T is used for controlling the power network 2 Dynamic network wake-up counter W 2 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the power network is not dormant all the time in a power-down period, the power network cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once.
5. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 4, wherein the method comprises the following steps: because the network management strategy of the power network segment is that the GW forcedly enters a dormant state after 16 minutes and no wake-up source exists in the power network segment, once the whole vehicle network is dormant, the non-dormant state of the power network segment cannot be continuously monitored.
6. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 4, wherein the method comprises the following steps:
when the vehicle is powered down from ON/ACC to OFF or not powered up, the whole vehicle network is awakened after dormancy, and the GW starts a power network monitoring timer T 2 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON/ACC, the power network monitors the timer T 2 Stopping timing; the T is max =15 min; when the vehicle is powered down from ON/ACC to OFF gear, the power network wakes up counter W 2 Zero clearing; when the vehicle is powered ON/ACC, the power network wakes up the counter W 2 Stopping counting; the W is wakeupmax =5。
7. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 1, wherein the method comprises the following steps: the chassis network anomaly monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal chassis network dormant state S is set through GW 3 Chassis network anomaly counter C 3 And chassis wake-on-network counter W 3 Zero clearing;
2) Starting chassis network monitoring timer T by GW 3
If the chassis network enters a sleep state, the chassis network monitors a timer T 3 Stop timing, chassis network sleep state S 3 Set to "OFF dormant"; and chassis network monitoring timer T 3 Zero clearing;
if the chassis network does not go dormant, when T 3 Reach T max Before GW receives OTA activating signal, chassis network monitoring timer T 3 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 3 =T max When the chassis network is not dormant, the chassis network is dormant in the dormant state S 3 Setting the key message of the non-network management controller to be 'non-dormant' after being set as 'OFF and not dormant' and recording corresponding fault codes, monitoring the key message of the non-network management controller, setting the state signal of the corresponding controller to be 'non-dormant', and uploading the state signal to the background after receiving the related signal value through the T-BOX;
3) When the chassis network enters dormancy and is awakened, the chassis network dormancy state S is realized through GW 3 Zero clearing chassis network wake-up counter W 3 Adding 1; when chassis network wakes up counter W 3 =W max When the network segment of the chassis network is abnormal, the dormant state of the chassis network is set to be 'OFF not dormant-frequently awakened', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be 'not dormant', and the corresponding controller state signal is uploaded to the background after a relevant signal value is received through a T-BOX; when the chassis network is always frequently awakened, the chassis network anomaly counter C 3 Increasing until 255 and holding;
4) When the vehicle is powered on, the last recorded chassis network monitoring timer T is used for controlling the power on of the vehicle 3 And chassis wake-on-network counter W 3 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the chassis network is not dormant all the time in a power-down period, the chassis network cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once.
8. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 7, wherein the method comprises the following steps:
because the network management strategy of the GW chassis network segment is that the GW forcedly enters a dormant state after 16 minutes and no wake-up source exists in the chassis network segment, once the whole vehicle network is dormant, the non-dormant state of the chassis network segment cannot be continuously monitored;
When the vehicle is powered down from ON/ACC to OFF or not powered up, the whole vehicle network is awakened after dormancy, and a chassis network monitoring timer T is started 3 The method comprises the steps of carrying out a first treatment on the surface of the When the vehicle is powered ON/ACC, the chassis network monitor timer T 3 Stopping timing; the T is max =15 min; when the vehicle is powered down from ON/ACC to OFF gear, the chassis wake-ON-network counter W 3 Zero clearing; when the vehicle is powered ON to ON/ACC, the chassis wake-ON-network counter W 3 Stopping counting; the W is max =5。
9. The method for monitoring the abnormality of the multi-network-segment whole vehicle CAN network based on the autosar network management according to claim 1, wherein the method comprises the following steps: the new energy network anomaly monitoring comprises the following steps:
1) When the whole vehicle is powered down from ON/ACC to OFF gear, the internal new energy network dormancy state S is carried out through GW 4 New energy network anomaly counter C 4 And a new energy network wake-up counter W 4 Zero clearing;
2) Starting new energy network monitoring timer T through GW 4
If the new energy network enters the dormant state, the new energy network monitors a timer T 4 Stopping timing, and enabling new energy network to sleep in state S 4 Set to "OFF dormant"; and new energy network monitoring timer T 4 Zero clearing;
if the new energy network does not go into dormancy, when T 4 Reach T max Before GW receives OTA activating signal, new energy network monitoring timer T 4 Zero clearing and restarting timing; when the vehicle is in an OTA state, abnormal monitoring is not carried out; when T is 4 =T max When the new energy network is not dormant, the new energy network is dormant in the dormant state S 4 Setting as OFF not dormant-unable to enter dormant, recording corresponding fault code, monitoring non-network managementThe controller key message sets the corresponding controller state signal as 'not dormant', and the corresponding controller state signal is uploaded to the background after receiving the related signal value through the T-BOX;
3) When the new energy network is awakened after entering dormancy, the new energy network is in a dormancy state S through GW 4 Zero clearing new energy network wake-up counter W 4 Adding 1; when new energy network wakes up counter W 4 =W max When the new energy network management network segment is abnormal, the new energy network dormancy state is set to be 'OFF not dormancy-frequent awakening', corresponding fault codes are recorded, and at the moment, if a key message of a non-network management controller is monitored, a corresponding controller state signal is set to be 'non-dormancy', and the corresponding controller state signal is uploaded to the background after a relevant signal value is received through a T-BOX; when the new energy network is frequently awakened all the time, the new energy network anomaly counter C 4 Increasing until 255 and holding;
4) When the vehicle is electrified, the newly recorded new energy network monitoring timer T is used for recording the new energy network 4 New energy network wake-up counter W 4 The method comprises the steps of sending out, and uploading the data to a background by a T-BOX;
5) When the new energy network is not dormant all the time in a power-down period, the new energy network cannot be dormant or is frequently awakened, and the corresponding fault code is recorded only once.
CN202210734548.3A 2022-06-27 2022-06-27 Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management Active CN115208792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210734548.3A CN115208792B (en) 2022-06-27 2022-06-27 Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210734548.3A CN115208792B (en) 2022-06-27 2022-06-27 Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management

Publications (2)

Publication Number Publication Date
CN115208792A CN115208792A (en) 2022-10-18
CN115208792B true CN115208792B (en) 2023-11-03

Family

ID=83579112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210734548.3A Active CN115208792B (en) 2022-06-27 2022-06-27 Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management

Country Status (1)

Country Link
CN (1) CN115208792B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976319A (en) * 2019-04-30 2019-07-05 国能新能源汽车有限责任公司 A kind of vehicle Network Management System framework
CN110758289A (en) * 2019-10-31 2020-02-07 上海赫千电子科技有限公司 Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet
CN112306044A (en) * 2020-11-09 2021-02-02 东风汽车集团有限公司 Method and system for monitoring non-dormancy abnormity of bus network of whole vehicle
CN113259421A (en) * 2021-04-26 2021-08-13 联合汽车电子有限公司 Complete vehicle network partial dormancy management system and method and central gateway
CN113438140A (en) * 2021-05-20 2021-09-24 江铃汽车股份有限公司 Electric automobile CAN bus control method and system
CN113691396A (en) * 2021-08-09 2021-11-23 浙江吉利控股集团有限公司 Whole vehicle network abnormal dormancy awakening monitoring method and device and storage medium
CN113923137A (en) * 2021-11-02 2022-01-11 东风汽车集团股份有限公司 Whole vehicle bus network abnormity monitoring method and system
CN113965483A (en) * 2021-10-21 2022-01-21 奇瑞商用车(安徽)有限公司 Device and method for testing time from auto TOSAR network management pre-dormancy to dormancy
CN114024864A (en) * 2021-11-17 2022-02-08 中国科学院合肥物质科学研究院 Dormancy anomaly detection method based on AUTOSAR network management

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11639142B2 (en) * 2019-01-11 2023-05-02 Ford Global Technologies, Llc Electronic control module wake monitor
US11526458B2 (en) * 2020-05-18 2022-12-13 Stmicroelectronics Application Gmbh Method of operating a communication bus, corresponding system, devices and vehicle
CN112319305A (en) * 2020-10-10 2021-02-05 蔚来汽车科技(安徽)有限公司 Safety monitoring method, monitoring system and device for vehicle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976319A (en) * 2019-04-30 2019-07-05 国能新能源汽车有限责任公司 A kind of vehicle Network Management System framework
CN110758289A (en) * 2019-10-31 2020-02-07 上海赫千电子科技有限公司 Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet
CN112306044A (en) * 2020-11-09 2021-02-02 东风汽车集团有限公司 Method and system for monitoring non-dormancy abnormity of bus network of whole vehicle
CN113259421A (en) * 2021-04-26 2021-08-13 联合汽车电子有限公司 Complete vehicle network partial dormancy management system and method and central gateway
CN113438140A (en) * 2021-05-20 2021-09-24 江铃汽车股份有限公司 Electric automobile CAN bus control method and system
CN113691396A (en) * 2021-08-09 2021-11-23 浙江吉利控股集团有限公司 Whole vehicle network abnormal dormancy awakening monitoring method and device and storage medium
CN113965483A (en) * 2021-10-21 2022-01-21 奇瑞商用车(安徽)有限公司 Device and method for testing time from auto TOSAR network management pre-dormancy to dormancy
CN113923137A (en) * 2021-11-02 2022-01-11 东风汽车集团股份有限公司 Whole vehicle bus network abnormity monitoring method and system
CN114024864A (en) * 2021-11-17 2022-02-08 中国科学院合肥物质科学研究院 Dormancy anomaly detection method based on AUTOSAR network management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于AUTOSAR的局部网络管理(PN)设计方法;李敏等;《2020中国汽车工程学会年会论文集》;全文 *

Also Published As

Publication number Publication date
CN115208792A (en) 2022-10-18

Similar Documents

Publication Publication Date Title
CN112380045B (en) Vehicle abnormality detection method, device, equipment and storage medium
CN107360072B (en) CAN network capable of synchronously sleeping and control method thereof
CN112491671B (en) Method and system for monitoring whole vehicle feed problem and vehicle CAN network gateway
WO2017075995A1 (en) Electric quantity monitoring device, navigation system, and vehicle
CN114024864B (en) Dormancy anomaly detection method based on AUTOSAR network management
CN112306044A (en) Method and system for monitoring non-dormancy abnormity of bus network of whole vehicle
CN111619473A (en) Automobile static power supply management system and management method
CN113064403A (en) Controller state monitoring method based on OSEK network management
CN112148538A (en) Complete vehicle fault identification method, device and system, vehicle and computer readable storage medium
CN112511615B (en) Gateway control method for monitoring whole vehicle network dormancy state in real time
CN113923137A (en) Whole vehicle bus network abnormity monitoring method and system
CN113763592B (en) Vehicle feed detection method, system, readable storage medium and computer device
CN113281670B (en) Monitoring system and method for vehicle storage battery and vehicle
CN113696780A (en) Self-awakening diagnosis method of battery management system, battery management system and vehicle
CN113630746A (en) Dormancy method, dormancy system, readable storage medium and vehicle
CN113489596A (en) Sleep control method, T-BOX and computer-readable storage medium
CN111624902A (en) Control method and device for dormancy and awakening
CN113525094A (en) Battery control method and device, vehicle system and storage medium
CN111404784A (en) Direct network management method for rapidly monitoring OSEK/VDX
CN114844769A (en) Vehicle feed risk monitoring method
CN115208792B (en) Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management
CN113829953A (en) Cooling control method and device for power battery of electric automobile
CN112389352A (en) Finished automobile static current management system and method
CN115723692A (en) Monitoring method and device for abnormal awakening of vehicle, server and storage medium
CN107888472B (en) Vehicle network management method, control gateway, controller and automobile

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
GR01 Patent grant
GR01 Patent grant