CN113254336B - Method and system for simulation test of traffic regulation compliance of automatic driving automobile - Google Patents

Method and system for simulation test of traffic regulation compliance of automatic driving automobile Download PDF

Info

Publication number
CN113254336B
CN113254336B CN202110564766.2A CN202110564766A CN113254336B CN 113254336 B CN113254336 B CN 113254336B CN 202110564766 A CN202110564766 A CN 202110564766A CN 113254336 B CN113254336 B CN 113254336B
Authority
CN
China
Prior art keywords
proposition
rule
cross
authenticity
traffic
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
CN202110564766.2A
Other languages
Chinese (zh)
Other versions
CN113254336A (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.)
Road Traffic Safety Research Center Ministry Of Public Security Of People's Republic Of China
Original Assignee
Road Traffic Safety Research Center Ministry Of Public Security Of People's Republic Of China
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 Road Traffic Safety Research Center Ministry Of Public Security Of People's Republic Of China filed Critical Road Traffic Safety Research Center Ministry Of Public Security Of People's Republic Of China
Priority to CN202110564766.2A priority Critical patent/CN113254336B/en
Publication of CN113254336A publication Critical patent/CN113254336A/en
Application granted granted Critical
Publication of CN113254336B publication Critical patent/CN113254336B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3616Software analysis for verifying properties of programs using software metrics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application relates to a method and a system for simulating and testing the conformity of traffic laws and regulations of an automatic driving automobile. The preset classification principle is adopted when the intersection rule atom proposition is extracted, so that the intersection rule atom proposition logic is clear, omission is avoided, the reusability is high, and the judgment efficiency of the whole system can be improved. And can cover most intersection rules including simple scenarios as well as complex scenarios. Judging the truth of the traffic rule atom proposition according to the acquired parameter information of the traffic participants; and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participants obey the cross rules or not by using the authenticity of the formal cross rules. Because the generated formal intersection rules contain the intersection rule atomic propositions with clear logic, the behavior of the automatic driving vehicle or the output result of the planning decision part can be better evaluated whether to comply with the intersection rules or not through the more reasonable formal intersection rules.

Description

Method and system for simulation test of traffic regulation compliance of automatic driving automobile
Technical Field
The application relates to the technical field of intelligent traffic, in particular to a method and a system for simulation test of traffic regulation compliance of an automatic driving automobile.
Background
With the development of society, intelligent automobiles are gradually entering the daily lives of people. Automatic driving plays an important role in intelligent automobiles, and automatic driving vehicles need to pass various tests, and currently, the tests mainly focus on closed or open road tests at the whole vehicle level or compliance and performance tests at the component level. The design and test of a decision planning module in the automatic driving vehicle mainly focuses on driving safety and partial simple traffic regulation legitimacy, such as no collision with an obstacle, following of a traffic light and a road sign, no overspeed and the like, and far does not cover enough traffic regulations. In the prior art, a rule for human drivers is converted into a corresponding formalized rule through a certain specific logic language, so that decision planning algorithm design developers or machines can know the rule without ambiguity. However, the technology only carries out formal translation on the natural language traffic regulations, the formal traffic regulations are mainly used for guiding the design and development of an automatic driving system (such as a decision planning module), and the test and verification on whether the output results of the behavior of the whole automatic driving vehicle or the decision planning part meet the traffic regulations are less. In addition, during design of the formal intersection rules, corresponding atom propositions are generally extracted from the natural language intersection rules one by one without a uniform system, so that the extracted atom propositions are mixed and disorderly, strong similarity exists among propositions, the reusability is not high, and formal verification is difficult to perform.
Disclosure of Invention
In order to overcome the problems of incomplete formal traffic regulations generation and no subsequent evaluation in the related technology at least to a certain extent, the application provides a simulation test method and a simulation test system for the conformity of the traffic regulations of the automatic driving automobile.
The scheme of the application is as follows:
according to a first aspect of the embodiments of the present application, a method for simulation testing compliance of traffic regulations of an autonomous driving vehicle is provided, which includes:
acquiring parameter information of traffic participants;
acquiring a formalized cross standard; the formal intersection rules comprise intersection rule atom propositions extracted according to a preset classification principle;
judging the truth of the traffic rule atom proposition according to the parameter information of the traffic participant;
and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participant obeys the cross rules or not by using the authenticity of the formal cross rules.
Preferably, in an implementable manner of the present application, before the obtaining the formalized intersection, the method further comprises:
extracting the intersection rule atom proposition according to a preset classification principle;
combining the cross rule atom proposition with a preset conjunction word to obtain a cross rule high-grade proposition;
and combining the cross rule atomic proposition, the cross rule high-level proposition and the conjunctions, or combining the cross rule high-level proposition and the conjunctions to obtain the formalized cross rule.
Preferably, in an implementation manner of the present application, the extracting according to a preset classification rule to obtain the intersection atomic proposition includes:
taking a road as a reference, adding static infrastructure on the road, dynamic information of temporary conditions, and dynamic traffic participant behavior and environmental information on the road layer by layer, and classifying the traffic rule atom proposition into: road type proposition, infrastructure type proposition, temporary condition type proposition, behavior type proposition and environment type proposition;
and extracting various classified intersection rule atom propositions.
Preferably, in an implementation manner of the present application, the extracting according to a preset classification rule to obtain the intersection atomic proposition further includes:
describing that the traffic participants are on a preset road under a preset environment by taking basic construction elements of a traffic rule as a reference, finding a preset signal, and classifying the atomic proposition of the traffic rule into the following steps that when a preset action is performed, preset constraint conditions must be met: setting questions of an environment class, a position class, a signal class, an action class and a constraint condition class;
and extracting various classified intersection rule atom propositions.
Preferably, in an implementable manner of the present application, the determining the authenticity of the formalized cross-standard according to the authenticity of the cross-standard atomic proposition includes:
judging the truth of the cross-standard high-grade proposition according to the truth of the cross-standard atomic proposition;
and judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition and the authenticity of the cross rule high-grade proposition.
Preferably, in an implementable manner of the present application, the determining the authenticity of the traffic rule atomic proposition according to the parameter information of the traffic participant includes: judging the truth of the traffic rule atom proposition at each time point according to the parameter information of the traffic participant at each time point;
the judging the truth of the formal cross rules according to the truth of the cross rule atom proposition comprises the following steps: and judging the authenticity of the formalized cross gauges at each time point according to the authenticity of the cross gauge atom proposition at each time point.
Preferably, in an implementation manner of the present application, the method further includes:
classifying the grade of the traffic rule high-grade proposition;
and combining the cross rule atom proposition, the preset conjunction words and the low-level cross rule high-level proposition to obtain the high-level cross rule high-level proposition.
Preferably, in an implementable manner of the present application, the parameter information of the traffic participant includes at least: participant intrinsic attribute information, time information, environment information, location information, speed information, attitude information, light information, sound information, and status information.
Preferably, in an implementable manner of the present application, the predetermined conjunction includes: a logic operator and a time sequence operator;
the logical operator conjuncts include at least: negation, conjunctive, disjunctive, derivational, and equivalents;
the temporal operator conjunction word comprises at least: the next moment, until, always, finally, always occurs within this time period and will occur within this time period.
According to a second aspect of the embodiments of the present application, there is provided a traffic rule formalization and evaluation system, including:
the acquisition module is used for acquiring parameter information of the traffic participants;
the generating module is used for acquiring the formalized intersection rule; the formal intersection rules comprise intersection rule atom propositions extracted according to a preset classification principle;
the judging module is used for judging the truth of the traffic rule atom proposition according to the parameter information of the traffic participant; and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participant obeys the cross rules or not by using the authenticity of the formal cross rules.
The technical scheme provided by the application can comprise the following beneficial effects: according to the method for simulating and testing the conformity of the traffic laws and regulations of the automatically-driven automobile, the obtained formalized traffic laws comprise atomic propositions of the traffic laws extracted according to the preset classification principle. The preset classification principle is adopted when the intersection atom proposition is extracted, so that the intersection atom proposition logic is clear, omission is avoided, the reuse rate is high, and the judgment efficiency of the whole system can be improved. And can cover most intersection rules including simple scenarios as well as complex scenarios. Judging the truth of the traffic rule atom proposition according to the acquired parameter information of the traffic participants; and judging the authenticity of the formal cross rule according to the authenticity of the atomic proposition of the cross rule, and representing whether the traffic participant obeys the cross rule or not by using the authenticity of the formal cross rule. The generated formal intersection rules contain the logical clear intersection rule atomic proposition, so that whether the output results of the automatic driving whole vehicle behavior or the planning decision part comply with the intersection rules or not can be better evaluated through the more reasonable formal intersection rules.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic flow chart of a method for simulation testing compliance with traffic regulations for an auto-driven vehicle according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a method for obtaining a formalized traffic regulation in a simulation test method for compliance with the traffic regulations of the autonomous driving vehicle according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a simulation test system for compliance with traffic regulations for an auto-driven vehicle according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an autopilot traffic regulation compliance simulation test device according to an embodiment of the present application.
Reference numerals: an acquisition module-21; an acquisition module-22; a judgment module-23; a processor-31; a memory-32.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
An autopilot traffic regulation compliance simulation test method, referring to fig. 1, includes:
s11: acquiring parameter information of traffic participants;
the parameter information of the traffic participant at least comprises inherent attribute information, time information, environment information, position information, speed information, attitude information, light information, sound information, state information and the like of the traffic participant.
The intrinsic attribute information of the traffic participant includes, but is not limited to, category information of the traffic participant, including, but not limited to, motor vehicles, non-motor vehicles, pedestrians, automobiles, special vehicles, three-wheel vehicles, two-wheel vehicles, and the like. The size information includes the length, width, etc. of the traffic participant. The environmental information includes but is not limited to natural environmental information, which includes information of rain, snow, fog, visibility, illumination intensity, and the like of the environment where the traffic participant is located; the map environment information comprises high-precision map information of the area where the traffic participant is located, and the high-precision map information comprises but is not limited to road surface material information, lane line information, traffic sign information, traffic light information and the like. The position information includes, but is not limited to, three-dimensional position coordinate information or longitude and latitude information of the traffic participant in a world coordinate system and a road coordinate system. The speed information includes, but is not limited to, information of a linear speed, a linear acceleration, an angular speed, an angular acceleration, and the like of the traffic participant, and the speed may be a value in a world coordinate system or a value in a vehicle coordinate system. Attitude information includes, but is not limited to, pitch angle, yaw angle, roll angle, or quaternion of the traffic participants. The light information includes, but is not limited to, the traffic participants' dipped headlights, high beams, turn signals, brake lights, hazard lights, fog lights, position lights, etc. The sound information includes, but is not limited to, a whistling sound, a special vehicle sound, and the like. The status information includes, but is not limited to, fault information of the traffic participants, and the like.
S12: acquiring a formalized cross standard; the formal intersection rules comprise intersection rule atom propositions extracted according to a preset classification principle;
acquiring a formal cross standard referring to fig. 2, specifically comprising:
s121: extracting according to a preset classification principle to obtain an intersection atomic proposition;
the cross rule atom proposition is obtained by extracting a cross rule set according to the following classification principle:
optional classification principle 1:
taking a road as a reference, adding static infrastructure on the road, dynamic information (such as traffic lights) of temporary conditions, and dynamic traffic participant behavior and environmental information on the road layer by layer, and classifying traffic rule atomic propositions into: road type proposition, infrastructure type proposition, temporary condition type proposition, behavior type proposition and environment type proposition;
extracting various classified cross rule atom propositions.
The classification principle is from bottom to top, logic is clear, various propositions are not crossed with each other, and the multiplex rate is high, thereby promoting the evaluation efficiency of the whole system.
The atomic propositions classified according to classification rule 1 are illustrated:
road class atom propositions include, but are not limited to:
the onRamp/onAccLane/onDecLane/onEmergencyLane/onHighwayMain respectively represents that the target vehicle is on the ramp/the acceleration lane/the deceleration lane/the emergency lane/the highway main road
The onHighway/onUrbanroad/onRuralroad respectively represents that the target vehicle is on the expressway/urban road/rural road
The onRoadSideRight/onRoadSideLeft respectively indicate that the target vehicle is in the rightmost/leftmost lane of the road
Infrastructure class atom propositions include, but are not limited to:
infNostop/infSpeedlimit respectively indicates the existence of the front stop sign/speed limit sign
Temporary condition class atom propositions include, but are not limited to:
the temtLightRed/temtLightGreen/temtLightyellow respectively indicates that the traffic lights on the driving path of the target vehicle are red/green/yellow
Behavior class atom propositions include, but are not limited to:
stKeeplane shows that the lane where the target vehicle is located is consistent with the last state point
The stOnLine represents the state of the line pressing at the target vehicle, including all the lane lines and the stop lines
The stCrosingLeft/stCrosingRight respectively indicates that the target vehicle is pressing the line and is in the left lane/the right lane after being out of the line pressing state
stReverse indicates that the target vehicle is backing
stStop indicates that the target vehicle is parked
stRetogride indicates that the target vehicle is driving in the wrong direction
stCollision indicates that the target vehicle collides
stSignalLeft/stSignalRight/stSignalEmergency/stSignalPositionLamps/stSignalTailLamps/stSignalFog/stSignalHeadLamps/stSignalLowBeam/stSignalHighBeam/stSignalHighLowFlicker distinguishably represents that the switching of the left turn signal lamp/right turn signal lamp/double flash/tail light/fog light/low beam light/high beam light is in an on state
stProperDist indicates that the target vehicle and other obstacles meet the distance constraint
stPROPERRIGHTGOfWay indicates that the target vehicle has right of way
stPropersSpeed indicates that the target vehicle meets the requirement of road speed limit
stProperseedhorizontal indicates that the target vehicle satisfies the lateral speed constraint
stProperlone indicates that the target vehicle is traveling on the correct lane
stProperaAccVertical/stProperaAccHorifocal indicating that target vehicle lateral/longitudinal acceleration satisfies acceleration constraints
stBreakDown indicates that the target vehicle has failed
stHorn indicates that the target vehicle is using a horn
StObjBehin/stObjAhead/stObjLeft/stObjRight indicates that other targets are behind/front/left/right of the target vehicle
StObjSameLane/stObjLeftLane/stObjRightLane indicates that other target and target vehicles are in the same lane/in the left/right lane of the target vehicle
actUTurn shows the turning of the target vehicle
actTurnleft/actTurnright indicating left/right turn of the target vehicle
Environmental class atom propositions include, but are not limited to
envRain/envSnow/envFog indicates that the current environment is rain/snow/fog
envVisilityLevelzero/envVisilityLevelone/envVisilibivelTwo/envVisilityLevelThree indicates a level of visibility of 0/1/2/3
envLowIlluminance represents that the current illumination is low
envTrafficJam indicates that the current traffic jam state is
Optional classification principle 2:
describing that the traffic participant is located on a preset road under a preset environment by taking basic components of the traffic rule as a reference, finding a preset signal, and when a preset action is performed, meeting a preset constraint condition, classifying the atomic proposition of the traffic rule into: setting questions of environment class, position class, signal class, action class and constraint condition class;
extracting various classified cross rule atom propositions.
The classification principle has clear logic, various propositions are not crossed with each other, and the reuse rate is high, so that the evaluation efficiency of the whole system is improved.
The atomic propositions classified according to classification principle 2 are illustrated:
environmental class atom propositions include, but are not limited to
envRain/envSnow/envFog indicates that the current environment is rain/snow/fog
Position class atom propositions include, but are not limited to
The onRamp/onAccLane/onDecLane/onEmergencyLane/onHighwayMain respectively represents that the target vehicle is on the ramp/the acceleration lane/the deceleration lane/the emergency lane/the highway main road
Signal class atom propositions include, but are not limited to
the temtLightRed/temtLightGreen/temtLightyellow respectively indicates that the traffic lights on the driving path of the target vehicle are red/green/yellow
infNostop/infSpeedlimit respectively indicates the existence of the stop/speed limit sign in front
Action class atom propositions include, but are not limited to
The stCrosingLeft/stCrosingRight respectively indicates that the target vehicle is pressing the line and is in the left lane/the right lane after being out of the line pressing state
stReverse indicates that the target vehicle is backing
stStop indicates that the target vehicle is parked
Constraint class atom propositions include, but are not limited to
stProperDist indicates that the target vehicle and other obstacles meet the distance constraint
stProperseedhorizontal indicates that the target vehicle satisfies the lateral speed constraint
stProperlone indicates that the target vehicle is traveling on the correct lane
stProperaAccVertical/stProperaAccHorifocal indicating that target vehicle lateral/longitudinal acceleration satisfies acceleration constraints
S122: combining the cross rule atom proposition with a preset conjunction word to obtain a cross rule high-grade proposition;
the high-level proposition of the cross rule consists of the cross rule atomic proposition and the conjunction words. The combination of the cross rule atom propositions is utilized to generate the cross rule high-grade proposition, a new atom proposition description is used for avoiding meeting new target actions or scenes, the number of the cross rule atom propositions is reduced, and the reusability of the proposition is increased.
The conjunctions include: a logic operator and a time sequence operator;
the logical operator conjuncts include at least: negation, conjunctive, disjunctive, derivational, and equivalents;
the temporal operator conjunction comprises at least: the next moment, until, always, finally, always occurs within this time period and will occur within this time period.
Reference is made to the following table:
Figure BDA0003080316520000101
summary table of logical operators
Figure BDA0003080316520000102
Time sequence operator summary table
Preferably, the high-level proposition of the traffic rule is classified in a grade way;
and combining the cross rule atom propositions, the preset conjunction words and the low-level cross rule high-level propositions to obtain the high-level cross rule high-level propositions.
The atomic proposition can also be called a 0-level proposition, a high-level proposition consisting of only the 0-level proposition and the conjunction words is a 1-level proposition, a high-level proposition consisting of the 1-level proposition, the 0-level proposition and the conjunction words is a 2-level proposition, and the higher-level atomic proposition composition method is analogized in the same way. For the optional classification principle 1, high-level propositions are exemplified as follows:
road class level 1 propositions include, but are not limited to
onRoadSide indicates that the target vehicle is on the roadside, onRoadRightSide
onRoad represents the object vehicle on the road, onHighway onUrbarroad
Behavior class level 1 propositions include, but are not limited to
stSurpass indicates that the target vehicle exceeds the other vehicles, stObjAhead ^ X (stObjBehind)
actCrossLeft indicates that the target vehicle is next to move to the left lane,
Figure BDA0003080316520000113
Figure BDA0003080316520000114
actCrossRight indicates that the target vehicle has a next right lane change maneuver,
Figure BDA0003080316520000115
Figure BDA0003080316520000116
behavior class level 2 propositions include, but are not limited to
actOvertake indicates that the target vehicle has a subsequent overtaking motion, either actCrossLeft ^ F (stKeepLane ^ F (actCrosssright))) or actCrosssright ^ F (stKeepLane ^ F (stSurperLape ^ F (actCrossLeft))))
S123: combining the cross rule atom proposition, the cross rule high-grade proposition and the connection words, or combining the cross rule high-grade proposition and the connection words to obtain the formalized cross rule.
The formalized cross rule consists of a cross rule proposition and a conjunction word. For example, a formalized intersection of "when it is confirmed that the vehicle does not satisfy the safety distance with the rear of the adjacent lane, lane change is not required" is:
(stCrossingLeft∧stObjLeftLane∧stObjBehind)∨(stCrossingRight∧stObjRightLane∧stObjBehind)→stProperDist
the indication is that when the target vehicle is in a left lane change state, if the other vehicle is in a left lane of the target vehicle and behind the target vehicle, the target vehicle needs to satisfy a safe distance with the other vehicle, or when the target vehicle is in a right lane change state, if the other vehicle is in a right lane of the target vehicle and behind the target vehicle, the target vehicle needs to satisfy the safe distance with the other vehicle.
For example, the formalized intersection rule that a vehicle runs on a highway and cannot reverse, run backwards and turn around through a central separation zone is as follows:
Figure BDA0003080316520000125
the target vehicle can not be in a reversing state, a reverse running state and a turning around state when the target vehicle is on the highway.
For example, a formalized intersection rule that "turn left, change lane left, prepare to overtake, should turn on the left turn signal light T seconds ahead" is:
(actTurnLeft∨actCrossLeft∨actOvertake)→G (-T,0) (stSignalLeft)
when the target vehicle turns left, changes lane left or overtakes, the on state of the left turn light is always established within the first T seconds.
For example, the formalized convention for "at high speed, the autonomous vehicle should be a safe distance from the lead vehicle" is:
onHighway∧stObjAhead∧stObjSameLane→stProperDist
when the target vehicle is at a high speed, if the target vehicle is located in front of the target vehicle and in the same lane as the target vehicle, the target vehicle needs to keep a safe distance from the other vehicle.
For example, a formal intersection rule that the line pressing time is not longer than T seconds in the vehicle lane changing process is as follows:
Figure BDA0003080316520000124
and indicating that the state of no line pressing exists in the first T seconds when the target vehicle is in the left lane changing state or the right lane changing state.
For example, a formalized traffic rule that "overtaking from the left side of the overtaken vehicle only" is:
Figure BDA0003080316520000123
indicating that when the target vehicle overtakes, the target vehicle is to the right of the target vehicle when it becomes in front of the target vehicle behind the target vehicle.
For example, the formalized intersection rule that the speed is not less than 60km/h when driving from an acceleration lane to a highway road is as follows:
onHighway∧onAccLane∧X(stCrossingLeft)→stProperSpeed
it is shown that when the target vehicle is on the expressway and in the acceleration lane, the constraint of the speed not less than 60km/h is to be satisfied when the target vehicle is to change lanes from the left of the acceleration lane.
For example, a formalized convention for "before a collision with a target, an effective safety measure is to be performed" is:
stCollision→G (-T,0) (stProperAccVertical∧stProperAccHorizontal)
and indicating that the longitudinal deceleration constraint and the transverse acceleration constraint are required to be met within T seconds before the target vehicle turns over and collides.
S13: judging the truth of the traffic rule atomic proposition according to the parameter information of the traffic participant;
and judging the truth of the traffic rule atom proposition according to the parameter information of the traffic participant. For example, the judgment result of propositions such as stCrosingLeft/stCrosingRight is obtained through the position relation between the target vehicle boundary and the lane line; obtaining a judgment result of propositions such as stObjBehind/stObjAhead and the like through the position relation between the target vehicle and other vehicles; judging the judgment result of propositions such as the stObjLeftLane/stObjRightLane and the like according to the size relation of the ID of the target vehicle and the ID of the lane where the other vehicle is positioned; and judging the judgment result of the proposition such as stPropertDist and the like according to the size relationship between the distance between the target vehicle and the other vehicle and the safety distance.
Specifically, the truth of each time point traffic rule atomic proposition is judged according to the parameter information of each time point traffic participant, and the truth of each proposition can be judged at each time point.
stCrossingLeft:False,Ture,Ture…
stCrossingRight:False,False,False…
stObjLeftLane:False,False,False…
stObjRightLane:False,False,False…
stObjBehind:Ture,Ture,False…
stObjAhead:False,False,Ture…
stProperDist:False,False,False…
stKeepLane:Ture,False,Ture…
stOnLine:Ture,Ture,Ture…
S14: and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participants obey the cross rules or not by using the authenticity of the formal cross rules.
The method specifically comprises the following steps:
judging the truth of the high-grade proposition of the cross rule according to the truth of the atomic proposition of the cross rule;
and judging the authenticity of the formal intersection rule according to the authenticity of the atomic intersection rule and the authenticity of the advanced intersection rule.
And similarly, judging the authenticity of the high-grade proposition of each time point cross-standard according to the authenticity of the atomic proposition of each time point cross-standard. And judging the authenticity of the formalized cross rule at each time point according to the authenticity of the atomic proposition of the cross rule at each time point and the authenticity of the high-grade proposition of the cross rule.
The truth judgment of the high-level proposition of the cross rule is illustrated according to the truth of the atomic proposition of the cross rule:
true and false actCrossLeft results from the true and false of the StOnLine, stCrossLeft proposition, for example:
Figure BDA0003080316520000141
actCrossLeft can be obtained: ture.
The true and false of stSurpass is derived from the true and false of the proposition of stObjAhead, stObjBehind, for example: stObjAhead ^ X (stObjBehind): false ^ X (Ture), which can obtain stSurpass: ture.
The truth of actOvertake is obtained from the truth of the propositions actCrossLeft, stKeepLane, stSurpass and actCrosssright, for example: actCrossLeft ^ F (stKeepLane ^ F (stSurplass ^ F (stKeepLane ^ F (actCrossRight))): more specific examples of the method include, ture ^ F (Ture)))) and actOvertake: ture.
The truth of the formal cross gauge is judged by the truth of the atomic proposition of the cross gauge and the truth of the advanced proposition of the cross gauge by way of example:
for cross standard (stCrossingLeft ^ stObjLeftLane ^ stObjBehind) (stCrossingRight ^ stObjRightLane ^ stObjBehind) → stPropert Dist
(Ture ^ Ture) → Fals, it can be concluded that the proposition is False, i.e. the formalized traffic rule value is False, i.e. the vehicle does not comply with the traffic rule when changing lanes.
For cross rule
Figure BDA0003080316520000151
Figure BDA0003080316520000152
Figure BDA0003080316520000153
It can be concluded that the proposition is true, i.e., the formalized traffic rule value is true, i.e., the vehicle complies with the traffic rule when passing.
In the method for simulating and testing the conformity of the traffic laws of the automatically driven automobile in the embodiment, the obtained formalized traffic regulations comprise atomic propositions of the traffic regulations extracted according to the preset classification principle. The preset classification principle is adopted when the intersection rule atom proposition is extracted, so that the intersection rule atom proposition logic is clear, omission is avoided, the reusability is high, and the judgment efficiency of the whole system can be improved. And can cover most intersection rules including simple scenarios as well as complex scenarios. Judging the truth of the traffic rule atom proposition according to the acquired parameter information of the traffic participants; and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participants obey the cross rules or not by using the authenticity of the formal cross rules. Because the generated formal intersection rules contain the intersection rule atomic propositions with clear logic, the behavior of the automatic driving vehicle or the output result of the planning decision part can be better evaluated whether to comply with the intersection rules or not through the more reasonable formal intersection rules.
An automated driving vehicle traffic regulation compliance simulation test system, referring to fig. 3, comprising:
the acquisition module 21 is used for acquiring parameter information of traffic participants;
an obtaining module 22, configured to obtain a formalized intersection rule; the formalized cross rules comprise cross rule atom propositions extracted according to a preset classification principle;
the judging module 23 is used for judging the authenticity of the traffic rule atom proposition according to the parameter information of the traffic participant; and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participants obey the cross rules or not by using the authenticity of the formal cross rules.
In the simulation test system for compliance of the automatic driving automobile traffic laws in the embodiment, the formal traffic laws generated by the generation module comprise atomic propositions of the traffic laws extracted according to the preset classification principle. The preset classification principle is adopted when the intersection atom proposition is extracted, so that the intersection atom proposition logic is clear, omission is avoided, the reuse rate is high, and the judgment efficiency of the whole system can be improved. And can cover most intersection rules including simple scenarios as well as complex scenarios. Judging the authenticity of an atomic proposition of a traffic rule through a judging module according to the parameter information of the traffic participant acquired by the acquiring module; and judging the authenticity of the formal cross rules according to the authenticity of the atomic proposition of the cross rules, and representing whether the traffic participants obey the cross rules or not by using the authenticity of the formal cross rules. The generated formal intersection rules contain the logical clear intersection rule atomic proposition, so that whether the output results of the automatic driving whole vehicle behavior or the planning decision part comply with the intersection rules or not can be better evaluated through the more reasonable formal intersection rules.
The automated driving vehicle traffic regulation compliance simulation test system in some embodiments, further comprising:
the extraction module is used for extracting the intersection rule atom proposition according to a preset classification principle;
the synthesis module is used for combining the cross rule atom proposition and the preset connection words to obtain a cross rule high-grade proposition; combining the cross rule atom proposition, the cross rule high-grade proposition and the connection words, or combining the cross rule high-grade proposition and the connection words to obtain the formalized cross rule.
The automated driving vehicle traffic regulation compliance simulation test system in some embodiments, further comprising:
the judging module is used for judging the authenticity of the high-grade proposition of the cross-standard according to the authenticity of the atomic proposition of the cross-standard; and judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition and the authenticity of the cross rule high-grade proposition.
An autopilot traffic regulation compliance simulation test apparatus, referring to fig. 4, comprising:
a processor 31 and a memory 32;
the processor 31 and the memory 32 are connected by a communication bus:
the processor 31 is configured to call and execute a program stored in the memory 32;
a memory 32 for storing a program for executing at least the automated driving automobile traffic regulation compliance simulation test method in any of the above embodiments.
An embodiment of the present invention further provides a storage medium, where the storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the simulation test method for compliance with the traffic regulations of the autonomous driving vehicle in the above embodiment are implemented.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (7)

1. A method for simulating and testing the conformity of traffic regulations of an automatically driven automobile is characterized by comprising the following steps:
acquiring parameter information of traffic participants;
acquiring a formalized intersection rule; the formal cross rules comprise cross rule atom propositions extracted according to a preset classification principle;
judging the truth of the traffic rule atom proposition according to the parameter information of the traffic participant;
judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition, and representing whether the traffic participant obeys the cross rules or not by using the authenticity of the formal cross rules;
wherein, the extracting according to the preset classification principle to obtain the intersection rule atom proposition comprises the following steps:
taking a road as a reference, adding static infrastructure on the road, dynamic information of temporary conditions, and dynamic traffic participant behavior and environmental information on the road layer by layer, and classifying the traffic rule atom proposition into: road type proposition, infrastructure type proposition, temporary condition type proposition, behavior type proposition and environment type proposition;
extracting various classified intersection rule atom propositions;
the step of obtaining the formalized intersection rules comprises the following steps:
extracting the intersection rule atom proposition according to a preset classification principle;
combining the cross rule atom proposition with a preset conjunction word to obtain a cross rule high-grade proposition;
combining the cross rule atom proposition, the cross rule high-level proposition and the conjunction words, or combining the cross rule high-level proposition and the conjunction words to obtain the formalized cross rule;
the method for judging the authenticity of the formal cross gauge according to the authenticity of the atomic proposition of the cross gauge comprises the following steps:
judging the truth of the cross-standard high-grade proposition according to the truth of the cross-standard atomic proposition;
and judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition and the authenticity of the cross rule high-grade proposition.
2. The method of claim 1, wherein the extracting the intersection atomic proposition according to the preset classification rule comprises:
describing that the traffic participant is located on a preset road under a preset environment by taking basic components of the traffic rule as a reference, finding a preset signal, and when a preset action is performed, meeting a preset constraint condition, classifying the atomic proposition of the traffic rule into: setting questions of environment class, position class, signal class, action class and constraint condition class;
and extracting various classified intersection rule atom propositions.
3. The method of claim 1, wherein the determining the authenticity of the traffic rule atomic proposition according to the parameter information of the traffic participant comprises: judging the authenticity of the traffic rule atom proposition at each time point according to the parameter information of the traffic participant at each time point;
the method for judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition specifically comprises the following steps: and judging the authenticity of the formal cross gauge at each time point according to the authenticity of the atomic proposition of the cross gauge at each time point.
4. The method of claim 1, further comprising:
classifying the grade of the traffic rule high-grade proposition;
and combining the cross rule atom proposition, the preset conjunction words and the low-level cross rule high-level proposition to obtain the high-level cross rule high-level proposition.
5. The method according to claim 1, characterized in that the parameter information of the traffic participants comprises at least: participant intrinsic attribute information, time information, environment information, location information, speed information, attitude information, light information, sound information, and status information.
6. The method of claim 1, wherein the preset conjuncts comprise: a logic operator and a time sequence operator;
the logical operator conjunction comprises at least: negation, conjunctive, disjunctive, derivational, and equivalents;
the temporal operator conjunction word comprises at least: the next moment, until, always, finally, always occurs within a specified time period and within a specified time period.
7. An automated driving vehicle traffic regulation compliance simulation test system, comprising:
the acquisition module is used for acquiring parameter information of the traffic participants;
the generating module is used for acquiring the formalized intersection rule; the formal cross rules comprise cross rule atom propositions extracted according to a preset classification principle;
the judging module is used for judging the truth of the traffic rule atom proposition according to the parameter information of the traffic participant; judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition, and representing whether the traffic participant obeys the cross rules or not by using the authenticity of the formal cross rules;
the generation module extracts the proposition of the intersection rule atom according to a preset classification principle and comprises the following steps of: taking a road as a reference, adding static infrastructure on the road, dynamic information of temporary conditions, and dynamic traffic participant behavior and environmental information on the road layer by layer, and classifying the traffic rule atom proposition into: road type proposition, infrastructure type proposition, temporary condition type proposition, behavior type proposition and environment type proposition; extracting various classified intersection rule atom propositions;
the step of acquiring the formalized intersection rule by the generation module comprises the following steps: extracting the intersection rule atom proposition according to a preset classification principle; combining the cross rule atom proposition with a preset conjunction word to obtain a cross rule high-grade proposition;
combining the cross rule atom proposition, the cross rule high-level proposition and the conjunction words, or combining the cross rule high-level proposition and the conjunction words to obtain the formalized cross rule;
the step that the judging module judges the truth of the formalized cross standard according to the truth of the cross standard atom proposition comprises the following steps: judging the authenticity of the high-grade proposition of the cross-standard according to the authenticity of the atomic proposition of the cross-standard; and judging the authenticity of the formal cross rules according to the authenticity of the cross rule atom proposition and the authenticity of the cross rule high-grade proposition.
CN202110564766.2A 2021-05-24 2021-05-24 Method and system for simulation test of traffic regulation compliance of automatic driving automobile Active CN113254336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110564766.2A CN113254336B (en) 2021-05-24 2021-05-24 Method and system for simulation test of traffic regulation compliance of automatic driving automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110564766.2A CN113254336B (en) 2021-05-24 2021-05-24 Method and system for simulation test of traffic regulation compliance of automatic driving automobile

Publications (2)

Publication Number Publication Date
CN113254336A CN113254336A (en) 2021-08-13
CN113254336B true CN113254336B (en) 2022-11-08

Family

ID=77183905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110564766.2A Active CN113254336B (en) 2021-05-24 2021-05-24 Method and system for simulation test of traffic regulation compliance of automatic driving automobile

Country Status (1)

Country Link
CN (1) CN113254336B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114077797A (en) * 2021-11-29 2022-02-22 公安部道路交通安全研究中心 Automatic driving test scene design method and device based on road traffic regulations

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597086A (en) * 2019-08-19 2019-12-20 深圳元戎启行科技有限公司 Simulation scene generation method and unmanned system test method
CN110795818A (en) * 2019-09-12 2020-02-14 腾讯科技(深圳)有限公司 Method and device for determining virtual test scene, electronic equipment and storage medium
CN110874738A (en) * 2018-09-02 2020-03-10 许先学 Method and device for collecting and processing traffic violation information of intelligent traffic control and intelligent traffic control
WO2020060478A1 (en) * 2018-09-18 2020-03-26 Sixan Pte Ltd System and method for training virtual traffic agents
CN111651712A (en) * 2020-05-27 2020-09-11 北京航空航天大学 Method and system for evaluating complexity of test scene of intelligent automobile
CN111785025A (en) * 2020-07-22 2020-10-16 北京航空航天大学 Novel flexible bus dispatching method based on automatic driving module bus

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958066A (en) * 2017-05-19 2018-12-07 百度在线网络技术(北京)有限公司 Emulation test method and device
CN108986473A (en) * 2017-05-31 2018-12-11 蔚来汽车有限公司 Vehicle mounted traffic unlawful practice identification and processing system and method
US10860022B2 (en) * 2018-04-11 2020-12-08 GM Global Technology Operations LLC Method and apparatus for automatical rule learning for autonomous driving
DE102018119397A1 (en) * 2018-08-09 2020-02-13 Sick Ag DETERMINATION OF ONE OR MORE KEY VALUES AND SIMULATION OF TRAFFIC FOR AN AUTOMATICALLY DRIVABLE ENVIRONMENT
US11829275B2 (en) * 2018-10-17 2023-11-28 Toyota Research Institute, Inc. Systems and methods for automatic test generation
CN111409648B (en) * 2019-01-08 2021-08-20 上海汽车集团股份有限公司 Driving behavior analysis method and device
US10636295B1 (en) * 2019-01-30 2020-04-28 StradVision, Inc. Method and device for creating traffic scenario with domain adaptation on virtual driving environment for testing, validating, and training autonomous vehicle
CN109849816B (en) * 2019-02-01 2022-08-05 公安部交通管理科学研究所 Driving capability evaluation method, device and system for automatic driving automobile
CN109872392B (en) * 2019-02-19 2023-08-25 阿波罗智能技术(北京)有限公司 Man-machine interaction method and device based on high-precision map
CN110263381A (en) * 2019-05-27 2019-09-20 南京航空航天大学 A kind of automatic driving vehicle test emulation scene generating method
CN110597711B (en) * 2019-08-26 2023-02-10 湖南大学 Automatic driving test case generation method based on scene and task
CN110673636B (en) * 2019-09-30 2023-01-31 上海商汤临港智能科技有限公司 Unmanned simulation test system and method, and storage medium
CN112819968B (en) * 2021-01-22 2024-04-02 北京智能车联产业创新中心有限公司 Test method and device for automatic driving vehicle based on mixed reality

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874738A (en) * 2018-09-02 2020-03-10 许先学 Method and device for collecting and processing traffic violation information of intelligent traffic control and intelligent traffic control
WO2020060478A1 (en) * 2018-09-18 2020-03-26 Sixan Pte Ltd System and method for training virtual traffic agents
CN110597086A (en) * 2019-08-19 2019-12-20 深圳元戎启行科技有限公司 Simulation scene generation method and unmanned system test method
CN110795818A (en) * 2019-09-12 2020-02-14 腾讯科技(深圳)有限公司 Method and device for determining virtual test scene, electronic equipment and storage medium
CN111651712A (en) * 2020-05-27 2020-09-11 北京航空航天大学 Method and system for evaluating complexity of test scene of intelligent automobile
CN111785025A (en) * 2020-07-22 2020-10-16 北京航空航天大学 Novel flexible bus dispatching method based on automatic driving module bus

Also Published As

Publication number Publication date
CN113254336A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN110597711B (en) Automatic driving test case generation method based on scene and task
US20220187834A1 (en) Generating trajectories for autonomous vehicles
US20220169214A1 (en) Emergency braking for autonomous vehicles
US20200264622A1 (en) Behavior control method and behavior control apparatus
CN113212454B (en) Method and device for adjusting running state of vehicle, computer equipment and storage medium
CN112819968B (en) Test method and device for automatic driving vehicle based on mixed reality
CN109910880B (en) Vehicle behavior planning method and device, storage medium and terminal equipment
CN113320545A (en) Intersection behavior prediction decision method based on line-control intelligent vehicle
Huang et al. Study on the test scenarios of level 2 automated vehicles
CN113254336B (en) Method and system for simulation test of traffic regulation compliance of automatic driving automobile
Xie et al. Study on the controlled field test scenarios of automated vehicles
CN111476491A (en) Vehicle motion simulation analysis method in urban traffic scene
Giuffrè et al. Automated vehicles: a review of road safety implications as a driver of change
CN116842688A (en) Online compliance verification system oriented to automatic driving decision algorithm
WO2023133758A1 (en) Test method and apparatus
CN112249016A (en) U-turn control system and method for autonomous vehicle
CN115855531A (en) Test scene construction method, device and medium for automatic driving automobile
CN115092186A (en) Vehicle automatic driving method and device, electronic equipment and storage medium
CN115431961A (en) Vehicle control method and device, vehicle and storage medium
CN114414259A (en) Anti-collision test method and device for vehicle, electronic equipment and storage medium
WO2020202818A1 (en) Vehicle control device, vehicle control method, and program
CN114003582A (en) Traffic accident foreground derivation method for automatic driving vehicle and storage medium
CN114692289A (en) Automatic driving algorithm testing method and related equipment
EP4353560A1 (en) Vehicle control method and apparatus
Yuan et al. Analysis of normal stopping behavior of drivers at urban intersections in China

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