The exception management system and abnormality eliminating method of automatic driving vehicle
Technical field
The present invention relates to the management of Vehicular automatic driving, in particular to the management for the abnormal conditions of automatic driving vehicle
System and processing method.
Background technique
Automatic Pilot is due to the advantages that can saving human cost, reducing accident rate, reduce oil consumption, and all circles are all exerting at present
Power presumption principle.With the development of various onboard sensor technologies and artificial intelligence technology, automatic Pilot technology also increasingly tends to
Commercialization.Especially in closing, semi-enclosed application scenarios, such as automatic dock, airport, closing garden etc., automatic Pilot technology
It is hopeful business at first to land, but also faces many problems instantly simultaneously.Can automatic Pilot be widely used in all trades and professions, produce
The stability of product is crucial;And processing of the product for kind of sudden abnormal condition, it is directly related to the quality of product stability.Cause
This, a set of reliable exception management system is most important for automated driving system.
In March, 2018, Uber autonomous driving vehicle collide the 49 years old pedestrian to cross street that walks one's bicycle to death, and
Vehicle does not step on brake after hitting pedestrian yet.This event directly results in prolonging for automatic Pilot commercialization landing plan
Late, while also reflect that enterprise all lays particular emphasis on the exploitation of core algorithm to automatic Pilot technology, and ignore at abnormal conditions
The management of reason.
Summary of the invention
The purpose of the present invention is to solve the problem that existing automatic Pilot technology lacks abnormal conditions processing capacity difference,
And propose the exception management system and abnormality eliminating method of a kind of automatic driving vehicle.
A kind of exception management system of automatic driving vehicle, the management system include abnormality detection module, for uniting
The fault message generated in collection automated driving system by subsystems is collected, is stored in csv file in the form of a list;Its
In, the fault message that subsystems generate is generated by same set of malfunction coding rule;Wherein, in automated driving system
Subsystems include perception subsystem, positioning subsystem, decision-making subsystem, control subsystem, communication subsystem;
Failure trigger module is obtained for carrying out concentration judgement to all fault messages to abnormality detection module collection
The fault level of fault message is obtained, and sends it to fault processing module;Wherein, fault level is ranked up from high to low
Are as follows: normal, warning, generic failure and catastrophe failure;
Fault processing module, for being arranged from low to high according to fault level all failure grade informations received
Sequence starts to handle the corresponding failure of fault level, and checks that current failure is according still further to fault level from high to low
It is no to be bypassed, current failure, which is directly handled, if not being bypassed handles next failure in order if being bypassed;Processing
When each failure, the coding and description information of the failure can be all recorded in csv file;Wherein, processing means include with lower section
Formula, i.e., do not handle, reset, bypassing, slide stop, emergency stop;And
The processing means of bypass refer to, when fault level is not triggered, permanently ignore current failure;
The processing means of reset refer to, by reset signal, system temporarily can all remove the failure having occurred and that, directly
It is triggered again to new failure;
The sliding processing means stopped refer to that, when fault level is warning or generic failure, vehicle is stopped with maximum deceleration
Vehicle;
The processing means of emergency stop refer to that, when fault level is catastrophe failure, vehicle brake is opened, wheel lock up;
Task management module, for making corresponding counter-measure to current task, reply is arranged according to troubleshooting means
It applies and is drawn including tasks interrupt, task continuation and task weight-normality;Wherein,
Tasks interrupt is the vehicle for the processing for carrying out emergency stop, refers to that vehicle pauses immediately all current movements;
Task continues, and is to refer to that vehicle then move by last pause for the processing means that do not handle or bypass
It continues to execute;
Task weight-normality is drawn, and refers to that vehicle restarts new movement, and the movement for not having to the last time for considering vehicle is
What;
Data management module, for when being abnormal and after carrying out failure triggering, to malfunction coding, failure-description, touching
The data of hair time and all subsystems are backed up;Wherein, the data content of backup include sensing data, control data,
Track data, travelling data, fault code, operation note and task record.
A kind of abnormality eliminating method of automatic driving vehicle, the processing method the following steps are included:
Step 1: by being believed in abnormality detection module statistical collection automated driving system by the failure that subsystems generate
Breath is stored in csv file in the form of a list;Wherein, the fault message attribute of storage has: number, description, grade, vehicle shape
State, task status reset license and bypass license;The fault message that subsystems generate is advised by same set of malfunction coding
Then generate;Wherein, the subsystems in automated driving system include perception subsystem, positioning subsystem, decision-making subsystem, control
Subsystem, communication subsystem;
Step 2: program is loaded into csv file after starting, each level is started to work, by failure trigger module to abnormal inspection
All fault messages for surveying module collection carry out concentration judgement, obtain the fault level of fault message, and send it to event
Hinder processing module;Wherein, fault level is ranked up from high to low are as follows: normal, warning, generic failure and catastrophe failure;
Step 3: by fault processing module to all failure grade informations received according to fault level from low to high
It is ranked up, starts to handle the corresponding failure of fault level according still further to fault level from high to low, and check current
Whether failure is bypassed, and current failure is directly handled if not being bypassed, if being bypassed, handles next event in order
Barrier;When handling each failure, the coding and description information of the failure can be all recorded in csv file;Wherein, processing means include
Following manner, i.e., do not handle, reset, bypassing, slide stop, emergency stop;And
The processing means of bypass refer to, when fault level is not triggered, permanently ignore current failure;
The processing means of reset refer to, by reset signal, system temporarily can all remove the failure having occurred and that, directly
It is triggered again to new failure;
The sliding processing means stopped refer to that, when fault level is warning or generic failure, vehicle is stopped with maximum deceleration
Vehicle;
The processing means of emergency stop refer to that, when fault level is catastrophe failure, vehicle brake is opened, wheel lock up;
Step 4: corresponding counter-measure is made to current task according to troubleshooting means by task management module,
Counter-measure includes tasks interrupt, task continues and task weight-normality is drawn;Wherein,
Tasks interrupt is the vehicle for the processing for carrying out emergency stop, refers to that vehicle pauses immediately all current movements;
Task continues, and is to refer to that vehicle then move by last pause for the processing means that do not handle or bypass
It continues to execute;
Task weight-normality is drawn, and refers to that vehicle restarts new movement, and the movement for not having to the last time for considering vehicle is
What;
Step 5: when being abnormal and after carrying out failure triggering, being retouched to malfunction coding, failure by data management module
It states, the data of triggered time and all subsystems are backed up;Wherein, the data content of backup includes sensing data, control
Data, track data, travelling data, fault code, operation note and task record.
Failure generation mechanism and naming rule are as follows:
Each subsystem internal failure is broadly divided into hardware and algorithm level.Wherein hardware fault is worked by detection sensor
State, data content carries out screening, and merges multisensor and judged;The failure of algorithm level then passes through internal system logic
To determine.There is exception when system is run, can be output it in the form of malfunction coding.
Malfunction coding has recorded four attributes of failure: module, failure modes, failure serial number occur for fault level.Failure
Ranking score is normal, warning, generic failure, catastrophe failure, INFO, WARN, ERROR, FATAL is respectively corresponded, with initial generation
For expression in coding;It includes perception, positioning, decision, control, communication that module, which occurs,;Failure modes are demonstrated by failure in certain son
Specific category in system, each subsystem view actual conditions use different classifications principle;Failure serial number located specific failure
Content.It to sum up, is that the failure that each subsystem generates is encoded as naming rule.
2, Fault Management System
Fault Management System includes fault level judgement, troubleshooting and task management.
When failure generates and is exported in the form of specific coding, failure trigger module can determine this failure, identification
Its corresponding grade (normal, warning, generic failure, catastrophe failure) simultaneously exports.Fault processing module is taken according to fault level
Corresponding treatment measures (do not handle, reset, bypassing, slide stop, emergency stop), to guarantee the reasonable removing of failure.Task management module
According to current fault condition and task progress situation, the next executive measure of comprehensive judgement current task (interrupt, continue,
Weight-normality is drawn), to guarantee the safety traffic of vehicle.
3, data management system
The key message for occurring for failure and being generated during being handled via Fault Management System, data management system
It is responsible for record backup, the information of record includes: sensing data, control data, track data, travelling data, and operation note is appointed
Business record.These information are checked after failure occurs, can help operator's positioning failure reason, solve plant issue simultaneously
Internal processes are improved, software robustness is promoted.
4, exception management system
A kind of exception management system based on automatic driving vehicle comprising abnormality detection, failure triggering, treatment mechanism, is appointed
Five business management, data management modules.
The invention has the benefit that
The present invention is that the present patent application provides a kind of exception management system based on automatic driving vehicle, is had following excellent
Point:
1, the abnormal conditions around capable of rapidly being found by subsystems;
2, it can promptly deal with to abnormal conditions;
3, it is convenient for system maintenance and upgrading;
4, make automated driving system more safe and stable, reliable.
Detailed description of the invention
Fig. 1 is the exception management system principle diagram of automatic driving vehicle of the present invention;
Fig. 2 is the abnormality eliminating method flow chart of automatic driving vehicle of the present invention;
Fig. 3 is the malfunction coding rule schematic diagram that the embodiment of the present invention 1 is related to;
Fig. 4 is the fault attribute in the list storehouse that the embodiment of the present invention 1 is related to.
Specific embodiment
Specific embodiment 1:
The exception management system of a kind of automatic driving vehicle of present embodiment, as shown in Figure 1, the management system packet
It includes, abnormality detection module 1, the fault message for being generated in statistical collection automated driving system by subsystems, with list
Form deposit csv file in;Wherein, the fault message that subsystems generate is produced by same set of malfunction coding rule
It is raw;Wherein, the subsystems in automated driving system include perception subsystem, positioning subsystem, decision-making subsystem, control
System, communication subsystem;
Failure trigger module 2, for carrying out concentration judgement to all fault messages collected to abnormality detection module 1,
The fault level of fault message is obtained, and sends it to fault processing module;Wherein, fault level is ranked up from high to low
Are as follows: normal, warning, generic failure and catastrophe failure;
Fault processing module 3, for being carried out from low to high to all failure grade informations received according to fault level
Sequence, starts to handle the corresponding failure of fault level, and check current failure according still further to fault level from high to low
Whether it is bypassed, current failure is directly handled if not being bypassed if being bypassed and handles next failure in order;Place
When managing each failure, the coding and description information of the failure can be all recorded in csv file, to check and position mistake;Its
In, processing means include following five kinds of modes when handling failure, i.e., do not handle, reset, bypassing, slide stop, emergency stop;And
The processing means of bypass refer to, when failure is bypassed, then system can permanently ignore current failure, until the failure
By-passing signal disappear, can just trigger the failure again;
The processing means of reset refer to, by reset signal, system temporarily can all remove the failure having occurred and that, directly
It is triggered again to new failure;
The sliding processing means stopped refer to that, when fault level is warning or generic failure, vehicle is stopped with maximum deceleration
Vehicle;
The processing means of emergency stop refer to that, when fault level is catastrophe failure, vehicle brake is opened, wheel lock up;
Task management module 4 is coped with for making corresponding counter-measure to current task according to troubleshooting means
Measure includes tasks interrupt, task continues and task weight-normality is drawn;Wherein,
Tasks interrupt is the vehicle for the processing for carrying out emergency stop, refers to that vehicle pauses immediately all current movements;
Task continues, and is to refer to that vehicle then move by last pause for the processing means that do not handle or bypass
It continues to execute;
Task weight-normality is drawn, and refers to that vehicle restarts new movement, and the movement for not having to the last time for considering vehicle is
What.
Data management module 5, for when being abnormal and after carrying out failure triggering, to malfunction coding, failure-description, touching
The critical data of hair time and the subsystem in all automated driving systems is backed up, and the reason that searches problem from the background is facilitated, and
Solve the problems, such as internal processes;Wherein, the critical data content of backup includes sensing data, control data, track data, driving
Data, fault code, operation note and task record.
Specific embodiment 2:
A kind of exception management system of automatic driving vehicle of present embodiment, the fault processing module 3 further include
Manpower intervention interface, for by the failure reset or bypass, triggering it no longer when vehicle triggers failure.
Specific embodiment 3:
A kind of exception management system of automatic driving vehicle of present embodiment, the abnormality detection module 1 generate event
The malfunction coding rule of barrier information is that each subsystem internal failure level includes hardware-level event in the automated driving system
Barrier and algorithm level failure;Wherein, hardware-level failure (is examined by detection sensor working condition, data content by sensor
The data content of survey) screening is carried out, and merge multisensor and judged;Algorithm level failure is sentenced by internal system logic
It is fixed, when system, which is run, occurs abnormal, then output it in the form of malfunction coding;
Malfunction coding records four fault attributes: module, failure modes, failure serial number occur for fault level;Fault level
It is divided into normal, warning, generic failure, catastrophe failure, respectively corresponds INFO, WARN, ERROR, FATAL, replace table with initial
Show in coding;It includes perception, positioning, decision, control, communication that module, which occurs,;Failure modes are demonstrated by failure in certain subsystem
In specific category, each subsystem view actual conditions use different classifications principle;Failure serial number located specific defect content;
It to sum up, is that the failure that each subsystem generates is encoded as naming rule.
Specific embodiment 4:
A kind of abnormality eliminating method of automatic driving vehicle of present embodiment, the processing method include following step
It is rapid:
Step 1: by being believed in abnormality detection module statistical collection automated driving system by the failure that subsystems generate
Breath is stored in csv file in the form of a list;Wherein, the fault message attribute of storage has: number, description, grade, vehicle shape
State, task status reset license and bypass license;The fault message that subsystems generate is advised by same set of malfunction coding
Then generate;Wherein, the subsystems in automated driving system include perception subsystem, positioning subsystem, decision-making subsystem, control
Subsystem, communication subsystem;
Step 2: program is loaded into csv file after starting, each level is started to work, by failure trigger module to abnormal inspection
All fault messages for surveying module collection carry out concentration judgement, obtain the fault level of fault message, and send it to event
Hinder processing module;Wherein, fault level is ranked up from high to low are as follows: normal, warning, generic failure and catastrophe failure;
Step 3: by fault processing module to all failure grade informations received according to fault level from low to high
It is ranked up, starts to handle the corresponding failure of fault level according still further to fault level from high to low, and check current
Whether failure is bypassed, and current failure is directly handled if not being bypassed, if being bypassed, handles next event in order
Barrier;When handling each failure, the coding and description information of the failure can be all recorded in csv file, to check and position mistake
Accidentally;Wherein, processing means include following five kinds of modes when handling failure, i.e., do not handle, reset, bypassing, sliding and stop, is anxious
Stop;And
The processing means of bypass refer to, when failure is bypassed, then system can permanently ignore current failure, until the failure
By-passing signal disappear, can just trigger the failure again;
The processing means of reset refer to, by reset signal, system temporarily can all remove the failure having occurred and that, directly
It is triggered again to new failure;
The sliding processing means stopped refer to that, when fault level is warning or generic failure, vehicle is stopped with maximum deceleration
Vehicle;
The processing means of emergency stop refer to that, when fault level is catastrophe failure, vehicle brake is opened, wheel lock up;
Step 4: corresponding counter-measure is made to current task according to troubleshooting means by task management module,
Counter-measure includes tasks interrupt, task continues and task weight-normality is drawn;Wherein,
Tasks interrupt is the vehicle for the processing for carrying out emergency stop, refers to that vehicle pauses immediately all current movements;
Task continues, and is to refer to that vehicle then move by last pause for the processing means that do not handle or bypass
It continues to execute;
Task weight-normality is drawn, and refers to that vehicle restarts new movement, and the movement for not having to the last time for considering vehicle is
What;
Step 5: when being abnormal and after carrying out failure triggering, being retouched to malfunction coding, failure by data management module
State, the critical data of the subsystem of triggered time and all automated driving systems is backed up, facilitate backstage to search problem reason,
With solve the problems, such as internal processes;Wherein, the critical data content of backup includes sensing data, control data, track data, row
Car data, fault code, operation note and task record.
Specific embodiment 5:
A kind of abnormality eliminating method of automatic driving vehicle of present embodiment further includes artificial in the step three
The step of intervention, for by the failure reset or bypass, triggering it no longer, to guarantee program when vehicle triggers failure
Operability when operation.
Specific embodiment 6:
A kind of abnormality eliminating method of automatic driving vehicle of present embodiment, in the step one, abnormality detection mould
The malfunction coding rule that block 1 generates fault message is that each subsystem internal failure level includes in the automated driving system
Hardware-level failure and algorithm level failure;Wherein, hardware-level failure passes through detection sensor working condition, data content
(data content of sensor detection) carries out screening, and merges multisensor and judged;Algorithm level failure passes through in system
Portion logic determines, when system, which is run, occurs abnormal, is then output it in the form of malfunction coding;
Malfunction coding records four fault attributes: module, failure modes, failure serial number occur for fault level;Fault level
It is divided into normal, warning, generic failure, catastrophe failure, respectively corresponds INFO, WARN, ERROR, FATAL, replace table with initial
Show in coding;It includes perception, positioning, decision, control, communication that module, which occurs,;Failure modes are demonstrated by failure in certain subsystem
In specific category, each subsystem view actual conditions use different classifications principle;Failure serial number located specific defect content;
It to sum up, is that the failure that each subsystem generates is encoded as naming rule.
Embodiment 1:
The invention is applied in the Unmanned Systems of a passenger car, the vehicle can be helped to send out in time in implementation procedure
Existing and solution failure, maintenance task state, the safety and stability traveling of support vehicles, and subtest personnel find equipment and program
The reason of generating failure improves maintenance efficiency.Specific example description is carried out to following key subsystem.
Failure name format uses A0B0C0D in the example, is divided into four parts.First part is fault level, with I,
W, E, F indicate normal, warning, generic failure, catastrophe failure;Second part is that module occurs for failure, is divided into perception, positioning, determines
Plan, control, communication subsystem respectively correspond number 01~05;Part III is failure modes, is divided by taking decision-making module as an example defeated
Enter dependence, function calculating, burst error, four class of outgoing inspection, respectively corresponds number 01~04;Part IV is each classification
Under failure serial number for example " cartographic information has not been obtained " and be decision-making module in input dependence classify serial number 02 generic failure,
It corresponds to malfunction coding " E030102 " coding rule is as shown in Figure 3;
After receiving the malfunction coding quoted, Fault Management System can traverse error listing library first, find the malfunction coding
Corresponding fault level and type carry out respective handling, while safeguarding currently performed task status such as failure " it has not been obtained
To cartographic information " corresponding fault level is generic failure, processing mode is orderly shutdown, and task status becomes interrupting, until
Map can be obtained successfully, and the fault clearance, task continues to execute;Error listing library stores all events in the operating system
Barrier, the corresponding attribute of failure are as shown in Figure 4.
In fault treating procedure, data management system can record the execution information of interim key, and be retained in file
The dominant term that middle retains is malfunction coding, and failure specifically describes, and fault location file is quick by record so as to tester
Positioning failure, and solution is found for example to failure " cartographic information has not been obtained " be recorded as " E030102, it has not been obtained
Cartographic information, guilty culprit file ".