[go: up one dir, main page]

CN115144201A - Method, device, equipment and medium for measuring braking distance of autonomous vehicle - Google Patents

Method, device, equipment and medium for measuring braking distance of autonomous vehicle Download PDF

Info

Publication number
CN115144201A
CN115144201A CN202210744449.3A CN202210744449A CN115144201A CN 115144201 A CN115144201 A CN 115144201A CN 202210744449 A CN202210744449 A CN 202210744449A CN 115144201 A CN115144201 A CN 115144201A
Authority
CN
China
Prior art keywords
data frame
data
vehicle
test process
brake test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210744449.3A
Other languages
Chinese (zh)
Inventor
王涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Original Assignee
Apollo Intelligent Connectivity Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apollo Intelligent Connectivity Beijing Technology Co Ltd filed Critical Apollo Intelligent Connectivity Beijing Technology Co Ltd
Priority to CN202210744449.3A priority Critical patent/CN115144201A/en
Publication of CN115144201A publication Critical patent/CN115144201A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The disclosure provides a method, a device, equipment and a medium for measuring a braking distance of an automatic driving vehicle, and relates to the technical field of computers, in particular to the field of automatic driving. The implementation scheme is as follows: acquiring a plurality of data frames of an autonomous vehicle arranged in time sequence; sequentially detecting the driving state data of each data frame in the plurality of data frames until a first data frame in the plurality of data frames is determined; in response to determining the first data frame, sequentially detecting a vehicle speed of the first data frame and a vehicle speed of a subsequent data frame of the first data frame until determining a second data frame; and determining a braking distance of the autonomous vehicle based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame.

Description

自动驾驶车辆制动距离的测量方法、装置、设备及介质Method, device, equipment and medium for measuring braking distance of autonomous vehicle

技术领域technical field

本公开涉及计算机技术领域,尤其涉及自动驾驶领域,具体涉及一种自动驾驶车辆制动距离的测量方法、装置、电子设备、计算机可读存储介质和计算机程序产品。The present disclosure relates to the field of computer technology, in particular to the field of automatic driving, and in particular to a method, device, electronic device, computer-readable storage medium and computer program product for measuring braking distance of an automatic driving vehicle.

背景技术Background technique

人工接管是自动驾驶测试期间保证车辆安全的最后手段,在自动驾驶技术未完全成熟的时候有着极为重要的作用。对于车内安全员来说,明确不同接管方式的刹车距离可以在碰撞危险发生前及时采取有效刹车接管方式,在保证安全的前提下避免不必要的保守接管。Manual takeover is the last resort to ensure vehicle safety during autonomous driving testing, and plays an extremely important role when autonomous driving technology is not fully mature. For the safety officer in the car, clarifying the braking distance of different takeover methods can take effective brake takeover methods in time before the danger of collision occurs, and avoid unnecessary conservative takeovers under the premise of ensuring safety.

在此部分中描述的方法不一定是之前已经设想到或采用的方法。除非另有指明,否则不应假定此部分中描述的任何方法仅因其包括在此部分中就被认为是现有技术。类似地,除非另有指明,否则此部分中提及的问题不应认为在任何现有技术中已被公认。The approaches described in this section are not necessarily approaches that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, unless otherwise indicated, the issues raised in this section should not be considered to be recognized in any prior art.

发明内容SUMMARY OF THE INVENTION

本公开提供了一种自动驾驶车辆制动距离的测量方法、装置、电子设备、计算机可读存储介质和计算机程序产品。The present disclosure provides a method, apparatus, electronic device, computer-readable storage medium and computer program product for measuring the braking distance of an automatic driving vehicle.

根据本公开的一方面,提供了一种自动驾驶车辆制动距离的测量方法,包括:获取自动驾驶车辆的按时序排列的多个数据帧,其中,多个数据帧中的每个数据帧包括驾驶状态数据、车辆速度以及车辆坐标,驾驶状态数据指示自动驾驶车辆是否处于自动驾驶状态;依次对多个数据帧中的每个数据帧的驾驶状态数据进行检测,直至确定多个数据帧中的第一数据帧,其中,在第一数据帧对应的时刻,自动驾驶车辆的驾驶状态由自动驾驶状态切换至人工接管状态;响应于确定第一数据帧,依次对第一数据帧的车辆速度以及第一数据帧的后序数据帧的车辆速度进行检测,直至确定第二数据帧,其中,在第二数据帧对应的时刻,自动驾驶车辆完成制动;以及基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离。According to an aspect of the present disclosure, there is provided a method for measuring braking distance of an autonomous driving vehicle, comprising: acquiring a plurality of data frames of the autonomous driving vehicle arranged in time series, wherein each data frame of the plurality of data frames includes Driving state data, vehicle speed and vehicle coordinates, the driving state data indicates whether the autonomous driving vehicle is in an autonomous driving state; the driving state data of each data frame in the multiple data frames are detected in turn, until the driving state data in the multiple data frames is determined. The first data frame, wherein, at the moment corresponding to the first data frame, the driving state of the automatic driving vehicle is switched from the automatic driving state to the manual takeover state; in response to determining the first data frame, the vehicle speed and The vehicle speed of the subsequent data frames of the first data frame is detected until the second data frame is determined, wherein, at the moment corresponding to the second data frame, the automatic driving vehicle completes braking; and the vehicle coordinates based on the first data frame and The vehicle coordinates of the second data frame determine the braking distance of the autonomous vehicle.

根据本公开的另一方面,提供了一种自动驾驶车辆制动距离的测量装置,包括:第一获取单元,被配置为获取自动驾驶车辆的按时序排列的多个数据帧,其中,多个数据帧中的每个数据帧包括驾驶状态数据、车辆速度以及车辆坐标,驾驶状态数据指示自动驾驶车辆是否处于自动驾驶状态;第一检测单元,被配置为依次对多个数据帧中的每个数据帧的驾驶状态数据进行检测,直至确定多个数据帧中的第一数据帧,其中,在第一数据帧对应的时刻,自动驾驶车辆的驾驶状态由自动驾驶状态切换至人工接管状态;第二检测单元,被配置为响应于确定第一数据帧,依次对第一数据帧的车辆速度以及第一数据帧的后序数据帧的车辆速度进行检测,直至确定第二数据帧,其中,在第二数据帧对应的时刻,自动驾驶车辆完成制动;以及第一确定单元,被配置为基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离。According to another aspect of the present disclosure, there is provided an apparatus for measuring braking distance of an automatic driving vehicle, comprising: a first obtaining unit configured to obtain a plurality of data frames of the automatic driving vehicle arranged in time series, wherein a plurality of data frames are Each data frame in the data frame includes driving state data, vehicle speed and vehicle coordinates, and the driving state data indicates whether the autonomous driving vehicle is in an autonomous driving state; the first detection unit is configured to sequentially detect each of the plurality of data frames The driving state data of the data frame is detected until the first data frame among the multiple data frames is determined, wherein, at the moment corresponding to the first data frame, the driving state of the autonomous driving vehicle is switched from the automatic driving state to the manual takeover state; The second detection unit is configured to, in response to determining the first data frame, sequentially detect the vehicle speed of the first data frame and the vehicle speed of subsequent data frames of the first data frame until the second data frame is determined, wherein the At the moment corresponding to the second data frame, the automatic driving vehicle completes braking; and the first determining unit is configured to determine the braking distance of the automatic driving vehicle based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame.

根据本公开的另一方面,提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述自动驾驶车辆制动距离的测量方法。According to another aspect of the present disclosure, there is provided an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by at least one processor A processor executes to enable at least one processor to execute the above-described method for measuring braking distance of an autonomous vehicle.

根据本公开的另一方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机执行上述自动驾驶车辆制动距离的测量方法。According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the above-described method for measuring a braking distance of an autonomous vehicle.

根据本公开的另一方面,提供了一种计算机程序产品,包括计算机程序,其中,计算机程序在被处理器执行时实现上述自动驾驶车辆制动距离的测量方法。According to another aspect of the present disclosure, there is provided a computer program product including a computer program, wherein the computer program, when executed by a processor, implements the above-described method for measuring braking distance of an autonomous vehicle.

根据本公开的一个或多个实施例,能够实现对自动驾驶车辆在刹车接管后制动距离的测算,降低对人工操作及测量工具的依赖,从而提升了测试的效率和准确度。According to one or more embodiments of the present disclosure, it is possible to measure and calculate the braking distance of the autonomous vehicle after the brake takes over, reduce the dependence on manual operation and measurement tools, and improve the efficiency and accuracy of the test.

应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.

附图说明Description of drawings

附图示例性地示出了实施例并且构成说明书的一部分,与说明书的文字描述一起用于讲解实施例的示例性实施方式。所示出的实施例仅出于例示的目的,并不限制权利要求的范围。在所有附图中,相同的附图标记指代类似但不一定相同的要素。The accompanying drawings illustrate the embodiments by way of example and constitute a part of the specification, and together with the written description of the specification serve to explain exemplary implementations of the embodiments. The shown embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numbers refer to similar but not necessarily identical elements.

图1示出了根据本公开的实施例的可以在其中实施本文描述的各种方法的示例性系统的示意图;1 shows a schematic diagram of an exemplary system in which various methods described herein may be implemented, according to embodiments of the present disclosure;

图2示出了根据本公开的实施例的自动驾驶车辆制动距离的测量方法的流程图;2 shows a flowchart of a method for measuring braking distance of an autonomous vehicle according to an embodiment of the present disclosure;

图3示出了根据本公开的示例性实施例的自动驾驶车辆制动距离的测量方法的流程图;FIG. 3 shows a flowchart of a method for measuring braking distance of an autonomous vehicle according to an exemplary embodiment of the present disclosure;

图4示出了根据本公开的实施例的自动驾驶车辆制动距离的测量装置的结构框图;FIG. 4 shows a structural block diagram of an apparatus for measuring braking distance of an autonomous driving vehicle according to an embodiment of the present disclosure;

图5示出了能够用于实现本公开的实施例的示例性电子设备的结构框图。5 shows a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.

具体实施方式Detailed ways

以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

在本公开中,除非另有说明,否则使用术语“第一”、“第二”等来描述各种要素不意图限定这些要素的位置关系、时序关系或重要性关系,这种术语只是用于将一个要素与另一要素区分开。在一些示例中,第一要素和第二要素可以指向该要素的同一实例,而在某些情况下,基于上下文的描述,它们也可以指代不同实例。In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship or importance relationship of these elements, and such terms are only used for Distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of the element, while in some cases they may refer to different instances based on the context of the description.

在本公开中对各种所述示例的描述中所使用的术语只是为了描述特定示例的目的,而并非旨在进行限制。除非上下文另外明确地表明,如果不特意限定要素的数量,则该要素可以是一个也可以是多个。此外,本公开中所使用的术语“和/或”涵盖所列出的项目中的任何一个以及全部可能的组合方式。The terminology used in the description of the various described examples in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context clearly dictates otherwise, if the number of an element is not expressly limited, the element may be one or more. Furthermore, as used in this disclosure, the term "and/or" covers any and all possible combinations of the listed items.

对于自动驾驶车辆的接管方式一般分为刹车接管、油门接管、方向盘接管,以及对应的组合接管方式。其中,刹车接管在大多数接管场景中使用频次最高,保证车辆紧急停车,避免发生碰撞危险。刹车接管根据具体的应用场景又可以分为普通刹车接管、缓刹按钮接管、急停按钮接管,普通刹车接管即使用刹车踏板接管,刹车力度可变,缓刹按钮接管和急停按钮接管通过按下车内固定位置按钮触发刹车,刹车力度比较固定。The takeover methods for autonomous vehicles are generally divided into brake takeovers, accelerator takeovers, steering wheel takeovers, and corresponding combined takeover methods. Among them, the brake takeover is used most frequently in most takeover scenarios, ensuring the vehicle to stop in an emergency and avoiding the danger of collision. Brake takeover can be divided into ordinary brake takeover, slow brake button takeover, and emergency stop button takeover according to specific application scenarios. Common brake takeover is taken over by brake pedal, and the braking force is variable. Slow brake button takeover and emergency stop button takeover can be taken over by pressing Get off the fixed position button in the car to trigger the brake, and the braking force is relatively fixed.

目前,相关技术中,针对自动驾驶车辆接管后的制动距离的测量方法包括:选择一条长直路放置自动驾驶车辆,车辆前方较远处设定一明显标志物;修改自动驾驶限定的最高车速为目标车速;测试期间无其他障碍物干扰,保证车辆能够直线加速至最高车速;启动自动驾驶车辆,自动驾驶车辆达到设定的最高车速后,通过肉眼判断车辆车头与上述标志平齐后,选择对应的制动接管方式执行接管;待自动驾驶车辆完全停下,测量此时车头和后方标志物的纵向距离;重复测量多次,求取平均值。At present, in the related art, the method for measuring the braking distance after the automatic driving vehicle takes over includes: selecting a long straight road to place the automatic driving vehicle, and setting a clear marker farther in front of the vehicle; modifying the maximum speed limited by the automatic driving to be Target speed; no other obstacles interfered during the test, to ensure that the vehicle can accelerate to the maximum speed in a straight line; start the automatic driving vehicle, after the automatic driving vehicle reaches the set maximum speed, judge by the naked eye that the front of the vehicle is flush with the above signs, select the corresponding After the automatic driving vehicle stops completely, measure the longitudinal distance between the front of the vehicle and the rear marker; repeat the measurement several times to obtain the average value.

应用上述方法,对自动驾驶车辆接管后的制动距离进行测量,由于通过人工来观察车辆与参照物的相对位置以执行接管动作,测量误差无法保证;并且,测量期间需要多次在车外进行测量,耗费较多时间的同时,较为依赖人工操作及测量工具,无法避免的引入了更多的测量误差,影响测量的准确度。Applying the above method to measure the braking distance after the automatic driving vehicle takes over, because the relative position of the vehicle and the reference object is manually observed to perform the takeover action, the measurement error cannot be guaranteed; moreover, the measurement needs to be performed outside the vehicle many times during the measurement. Measurement, while time-consuming, relies more on manual operation and measurement tools, which inevitably introduces more measurement errors and affects the accuracy of measurement.

本公开的实施例给出了一种自动驾驶车辆制动距离的测量方法,通过采集测试过程中的连续多个数据帧,并基于上述数据帧判断刹车接管发生时所对应的数据帧;随后对后续数据帧进行速度检测,直至检测到车辆已处于静止;随后基于相关数据帧计算得到制动距离,从而能够实现对自动驾驶车辆在制动接管后制动距离的测算,降低对人工操作及测量工具的依赖,提升了测试的效率和准确度。The embodiment of the present disclosure provides a method for measuring the braking distance of an autonomous vehicle, by collecting multiple consecutive data frames during the test, and judging the data frame corresponding to the occurrence of brake takeover based on the above data frames; Subsequent data frames are used for speed detection until it is detected that the vehicle is stationary; then the braking distance is calculated based on the relevant data frames, so that the braking distance of the autonomous vehicle after the braking takes over can be measured, reducing the need for manual operation and measurement. Reliance on tools improves the efficiency and accuracy of testing.

下面将结合附图详细描述本公开的实施例。Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

图1示出了根据本公开的实施例可以将本文描述的各种方法和装置在其中实施的示例性系统100的示意图。参考图1,该系统100包括机动车辆110、服务器120以及将机动车辆110耦接到服务器120的一个或多个通信网络130。1 shows a schematic diagram of an exemplary system 100 in which the various methods and apparatuses described herein may be implemented in accordance with embodiments of the present disclosure. Referring to FIG. 1 , the system 100 includes a motor vehicle 110 , a server 120 , and one or more communication networks 130 that couple the motor vehicle 110 to the server 120 .

在本公开的实施例中,机动车辆110可以包括根据本公开实施例的计算设备和/或被配置以用于执行根据本公开实施例的方法。In an embodiment of the present disclosure, the motor vehicle 110 may include and/or be configured to perform a method according to an embodiment of the present disclosure.

服务器120可以运行使得能够测量自动驾驶车辆在发生刹车接管后的制动距离的方法的一个或多个服务或软件应用。在某些实施例中,服务器120还可以提供其他服务或软件应用,这些服务或软件应用可以包括非虚拟环境和虚拟环境。在图1所示的配置中,服务器120可以包括实现由服务器120执行的功能的一个或多个组件。这些组件可以包括可由一个或多个处理器执行的软件组件、硬件组件或其组合。机动车辆110的用户可以依次利用一个或多个客户端应用程序来与服务器120进行交互以利用这些组件提供的服务。应当理解,各种不同的系统配置是可能的,其可以与系统100不同。因此,图1是用于实施本文所描述的各种方法的系统的一个示例,并且不旨在进行限制。The server 120 may run one or more services or software applications that enable a method of measuring the braking distance of an autonomous vehicle after a braking takeover occurs. In some embodiments, server 120 may also provide other services or software applications, which may include non-virtualized environments and virtualized environments. In the configuration shown in FIG. 1 , server 120 may include one or more components that implement the functions performed by server 120 . These components may include software components executable by one or more processors, hardware components, or a combination thereof. A user of motor vehicle 110 may in turn utilize one or more client applications to interact with server 120 to utilize the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from system 100 . Accordingly, FIG. 1 is one example of a system for implementing the various methods described herein, and is not intended to be limiting.

服务器120可以包括一个或多个通用计算机、专用服务器计算机(例如PC(个人计算机)服务器、UNIX服务器、中端服务器)、刀片式服务器、大型计算机、服务器群集或任何其他适当的布置和/或组合。服务器120可以包括运行虚拟操作系统的一个或多个虚拟机,或者涉及虚拟化的其他计算架构(例如可以被虚拟化以维护服务器的虚拟存储设备的逻辑存储设备的一个或多个灵活池)。在各种实施例中,服务器120可以运行提供下文所描述的功能的一个或多个服务或软件应用。Server 120 may include one or more general purpose computers, special purpose server computers (eg, PC (personal computer) servers, UNIX servers, midrange servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and/or combination . Server 120 may include one or more virtual machines running virtual operating systems, or other computing architectures that involve virtualization (eg, may be virtualized to maintain one or more flexible pools of logical storage devices of the server's virtual storage devices). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.

服务器120中的计算单元可以运行包括上述任何操作系统以及任何商业上可用的服务器操作系统的一个或多个操作系统。服务器120还可以运行各种附加服务器应用程序和/或中间层应用程序中的任何一个,包括HTTP服务器、FTP服务器、CGI服务器、JAVA服务器、数据库服务器等。The computing units in server 120 may run one or more operating systems including any of the operating systems described above, as well as any commercially available server operating systems. Server 120 may also run any of a variety of additional server applications and/or middle-tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, and the like.

在一些实施方式中,服务器120可以包括一个或多个应用程序,以分析和合并从机动车辆110接收的数据馈送和/或事件更新。服务器120还可以包括一个或多个应用程序,以经由机动车辆110的一个或多个显示设备来显示数据馈送和/或实时事件。In some implementations, server 120 may include one or more applications to analyze and incorporate data feeds and/or event updates received from motor vehicle 110 . Server 120 may also include one or more applications to display data feeds and/or real-time events via one or more display devices of motor vehicle 110 .

网络130可以是本领域技术人员熟知的任何类型的网络,其可以使用多种可用协议中的任何一种(包括但不限于TCP/IP、SNA、IPX等)来支持数据通信。仅作为示例,一个或多个网络110可以是卫星通信网络、局域网(LAN)、基于以太网的网络、令牌环、广域网(WAN)、因特网、虚拟网络、虚拟专用网络(VPN)、内部网、外部网、区块链网络、公共交换电话网(PSTN)、红外网络、无线网络(包括例如蓝牙、WiFi)和/或这些与其他网络的任意组合。Network 130 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP/IP, SNA, IPX, and the like. By way of example only, the one or more networks 110 may be a satellite communications network, a local area network (LAN), an Ethernet-based network, a token ring, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet , extranet, blockchain network, public switched telephone network (PSTN), infrared network, wireless network (including, for example, Bluetooth, WiFi) and/or any combination of these and other networks.

系统100还可以包括一个或多个数据库150。在某些实施例中,这些数据库可以用于存储数据和其他信息。例如,数据库150中的一个或多个可用于存储诸如音频文件和视频文件的信息。数据存储库150可以驻留在各种位置。例如,由服务器120使用的数据存储库可以在服务器120本地,或者可以远离服务器120且可以经由基于网络或专用的连接与服务器120通信。数据存储库150可以是不同的类型。在某些实施例中,由服务器120使用的数据存储库可以是数据库,例如关系数据库。这些数据库中的一个或多个可以响应于命令而存储、更新和检索到数据库以及来自数据库的数据。System 100 may also include one or more databases 150 . In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 150 may be used to store information such as audio files and video files. Data repository 150 may reside in various locations. For example, the data repository used by server 120 may be local to server 120, or may be remote from server 120 and may communicate with server 120 via a network-based or dedicated connection. Data repository 150 may be of different types. In some embodiments, the data repository used by server 120 may be a database, such as a relational database. One or more of these databases may store, update, and retrieve data to and from the databases in response to commands.

在某些实施例中,数据库150中的一个或多个还可以由应用程序使用来存储应用程序数据。由应用程序使用的数据库可以是不同类型的数据库,例如键值存储库,对象存储库或由文件系统支持的常规存储库。In some embodiments, one or more of the databases 150 may also be used by applications to store application data. Databases used by applications can be different types of databases such as key-value stores, object stores, or regular stores backed by a file system.

机动车辆110可以包括传感器111用于感知周围环境。传感器111可以包括下列传感器中的一个或多个:视觉摄像头、红外摄像头、超声波传感器、毫米波雷达以及激光雷达(LiDAR)。不同的传感器可以提供不同的检测精度和范围。摄像头可以安装在车辆的前方、后方或其他位置。视觉摄像头可以实时捕获车辆内外的情况并呈现给驾驶员和/或乘客。此外,通过对视觉摄像头捕获的画面进行分析,可以获取诸如交通信号灯指示、交叉路口情况、其他车辆运行状态等信息。红外摄像头可以在夜视情况下捕捉物体。超声波传感器可以安装在车辆的四周,用于利用超声波方向性强等特点来测量车外物体距车辆的距离。毫米波雷达可以安装在车辆的前方、后方或其他位置,用于利用电磁波的特性测量车外物体距车辆的距离。激光雷达可以安装在车辆的前方、后方或其他位置,用于检测物体边缘、形状信息,从而进行物体识别和追踪。由于多普勒效应,雷达装置还可以测量车辆与移动物体的速度变化。Motor vehicle 110 may include sensors 111 for sensing the surrounding environment. Sensors 111 may include one or more of the following sensors: vision cameras, infrared cameras, ultrasonic sensors, millimeter-wave radar, and laser radar (LiDAR). Different sensors can provide different detection accuracy and range. Cameras can be installed in front of, behind, or elsewhere in the vehicle. Vision cameras can capture what's inside and outside the vehicle in real time and present it to the driver and/or passengers. In addition, by analyzing the footage captured by the visual camera, information such as traffic light indications, intersection conditions, and other vehicle operating states can be obtained. Infrared cameras can capture objects with night vision. Ultrasonic sensors can be installed around the vehicle to measure the distance of objects outside the vehicle from the vehicle by using the characteristics of the strong directionality of ultrasonic waves. Millimeter-wave radar can be installed in the front, rear or other positions of the vehicle to measure the distance of objects outside the vehicle from the vehicle using the characteristics of electromagnetic waves. Lidar can be installed in the front, rear or other positions of the vehicle to detect object edges and shape information for object recognition and tracking. Due to the Doppler effect, the radar unit can also measure changes in the speed of vehicles and moving objects.

机动车辆110还可以包括通信装置112。通信装置112可以包括能够从卫星141接收卫星定位信号(例如,北斗、GPS、GLONASS以及GALILEO)并且基于这些信号产生坐标的卫星定位模块。通信装置112还可以包括与移动通信基站142进行通信的模块,移动通信网络可以实施任何适合的通信技术,例如GSM/GPRS、CDMA、LTE等当前或正在不断发展的无线通信技术(例如5G技术)。通信装置112还可以具有车联网或车联万物(Vehicle-to-Everything,V2X)模块,被配置用于实现例如与其它车辆143进行车对车(Vehicle-to-Vehicle,V2V)通信和与基础设施144进行车辆到基础设施(Vehicle-to-Infrastructure,V2I)通信的车与外界的通信。此外,通信装置112还可以具有被配置为例如通过使用IEEE802.11标准的无线局域网或蓝牙与用户终端145(包括但不限于智能手机、平板电脑或诸如手表等可佩戴装置)进行通信的模块。利用通信装置112,机动车辆110还可以经由网络130接入服务器120。The motor vehicle 110 may also include a communication device 112 . Communication device 112 may include a satellite positioning module capable of receiving satellite positioning signals (eg, BeiDou, GPS, GLONASS, and GALILEO) from satellites 141 and generating coordinates based on these signals. The communication device 112 may also include a module for communicating with the mobile communication base station 142, and the mobile communication network may implement any suitable communication technology, such as GSM/GPRS, CDMA, LTE and other current or developing wireless communication technologies (eg, 5G technology) . The communication device 112 may also have a vehicle-to-vehicle (Vehicle-to-Everything, V2X) module configured to implement, for example, vehicle-to-vehicle (V2V) communication with other vehicles 143 and with infrastructure The facility 144 performs vehicle-to-infrastructure (V2I) communication with the outside world. In addition, the communication device 112 may also have a module configured to communicate with a user terminal 145 (including but not limited to a smartphone, tablet, or wearable device such as a watch), eg, via wireless local area network or Bluetooth using the IEEE 802.11 standard. Using the communication device 112 , the motor vehicle 110 may also access the server 120 via the network 130 .

机动车辆110还可以包括控制装置113。控制装置113可以包括与各种类型的计算机可读存储装置或介质通信的处理器,例如中央处理单元(CPU)或图形处理单元(GPU),或者其他的专用处理器等。控制装置113可以包括用于自动控制车辆中的各种致动器的自动驾驶系统。自动驾驶系统被配置为经由多个致动器响应来自多个传感器111或者其他输入设备的输入而控制机动车辆110(未示出的)动力总成、转向系统以及制动系统等以分别控制加速、转向和制动,而无需人为干预或者有限的人为干预。控制装置113的部分处理功能可以通过云计算实现。例如,可以使用车载处理器执行某一些处理,而同时可以利用云端的计算资源执行其他一些处理。控制装置113可以被配置以执行根据本公开的方法。此外,控制装置113可以被实现为根据本公开的机动车辆侧(客户端)的计算设备的一个示例。The motor vehicle 110 may also include a control device 113 . Control device 113 may include a processor in communication with various types of computer-readable storage devices or media, such as a central processing unit (CPU) or graphics processing unit (GPU), or other special purpose processors, or the like. The control device 113 may include an automated driving system for automatically controlling various actuators in the vehicle. The automated driving system is configured to control the motor vehicle 110 (not shown) powertrain, steering system, and braking system, etc., via a plurality of actuators in response to inputs from a plurality of sensors 111 or other input devices to control acceleration, respectively , steering and braking without or with limited human intervention. Part of the processing functions of the control device 113 can be realized by cloud computing. For example, some processing may be performed using an on-board processor, while other processing may be performed using computing resources in the cloud. The control device 113 may be configured to perform the method according to the present disclosure. Furthermore, the control device 113 may be implemented as one example of a computing device on the motor vehicle side (client side) according to the present disclosure.

图1的系统100可以以各种方式配置和操作,以使得能够应用根据本公开所描述的各种方法和装置。The system 100 of FIG. 1 may be configured and operated in various ways to enable application of the various methods and apparatuses described in accordance with the present disclosure.

根据本公开的实施例,如图2所示,提供了一种自动驾驶车辆制动距离的测量方法,包括:步骤S201、获取自动驾驶车辆的按时序排列的多个数据帧,其中,多个数据帧中的每个数据帧包括驾驶状态数据、车辆速度以及车辆坐标,驾驶状态数据指示自动驾驶车辆是否处于自动驾驶状态;步骤S202、依次对多个数据帧中的每个数据帧的驾驶状态数据进行检测,直至确定多个数据帧中的第一数据帧,其中,在第一数据帧对应的时刻,自动驾驶车辆的驾驶状态由自动驾驶状态切换至人工接管状态;步骤S203、响应于确定第一数据帧,依次对第一数据帧的车辆速度以及第一数据帧的后序数据帧的车辆速度进行检测,直至确定第二数据帧,其中,在第二数据帧对应的时刻,自动驾驶车辆完成制动;以及步骤S204、基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离。According to an embodiment of the present disclosure, as shown in FIG. 2 , a method for measuring the braking distance of an automatic driving vehicle is provided, including: step S201 , acquiring multiple data frames of the automatic driving vehicle arranged in time series, wherein multiple Each data frame in the data frame includes driving state data, vehicle speed and vehicle coordinates, and the driving state data indicates whether the autonomous driving vehicle is in an autonomous driving state; step S202 , sequentially evaluating the driving state of each data frame in the multiple data frames The data is detected until the first data frame in the plurality of data frames is determined, wherein, at the moment corresponding to the first data frame, the driving state of the automatic driving vehicle is switched from the automatic driving state to the manual takeover state; step S203, in response to determining In the first data frame, the vehicle speed of the first data frame and the vehicle speed of the subsequent data frames of the first data frame are sequentially detected, until the second data frame is determined, wherein, at the moment corresponding to the second data frame, the automatic driving The vehicle completes braking; and step S204 , determining the braking distance of the automatic driving vehicle based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame.

由此,能够实现对自动驾驶车辆在制动接管后制动距离的测算,降低对人工操作及测量工具的依赖,从而提升了测试的效率和准确度。In this way, it is possible to measure the braking distance of the autonomous vehicle after the brake takes over, reduce the dependence on manual operation and measurement tools, and improve the efficiency and accuracy of the test.

在一些实施例中,可以对自动驾驶车辆测试过程中的车辆数据进行采集,以获取多个数据帧,其中,每个数据帧所包含的数据均为同一时刻所采集到的数据。In some embodiments, vehicle data during the test of the autonomous vehicle may be collected to obtain multiple data frames, wherein the data included in each data frame is the data collected at the same time.

在一些实施例中,可以按照固定频率对车辆的相关数据进行采集,例如可以按照每0.01s采集一次数据的频率进行数据采集。In some embodiments, the relevant data of the vehicle may be collected at a fixed frequency, for example, data collection may be performed at a frequency of collecting data every 0.01s.

在一些实施例中,每个数据帧可以包括驾驶状态数据、车辆速度以及车辆坐标。其中,驾驶状态数据用于指示自动驾驶车辆是否处于自动驾驶状态,其一般可以包括自动驾驶状态、人工接管状态以及人工驾驶状态等三种状态,其中,人工接管状态为自动驾驶状态向人工驾驶状态切换的中间状态,通常出现在车辆驾驶人员触发接管时。车辆速度例如可以通过车辆的轮速传感器实时采集。车辆坐标例如可以通过全球卫星导航系统(如GPS系统、北斗卫星导航系统等)来进行实时获取。In some embodiments, each data frame may include driving state data, vehicle speed, and vehicle coordinates. Among them, the driving status data is used to indicate whether the autonomous vehicle is in the autonomous driving status, which generally includes three statuses: the autonomous driving status, the manual takeover status, and the manual driving status. An intermediate state of the switch, which usually occurs when the vehicle driver triggers a takeover. The vehicle speed can be acquired in real time, for example, by the vehicle's wheel speed sensors. The vehicle coordinates can be acquired in real time through, for example, a global satellite navigation system (eg, GPS system, Beidou satellite navigation system, etc.).

在一些实施例中,可以在自动驾驶车辆在进行刹车接管后的制动距离测试过程中,对每个数据帧进行采集,并相应的进行存储,在测试结束后,可以将上述多个数据帧上传数据库并进行存储,用于后续对制动距离进行计算和测量。In some embodiments, each data frame may be collected during the braking distance test after the automatic driving vehicle takes over the brakes, and stored accordingly, and after the test, the above-mentioned multiple data frames may be collected. Upload the database and store it for subsequent calculation and measurement of braking distance.

在一些实施例中,可以首先对上述多个数据帧,按照时间顺序依次进行驾驶状态数据的检测。通常在一组正常的测试数据中,开始的多个数据帧中的驾驶状态数据均为自动驾驶状态,当测试人员观察到车辆达到目标速度时,则会触发刹车接管,此时所对应的数据帧的驾驶状态数据即会从自动驾驶状态改变为人工接管状态。由此,通过对每个数据帧依次进行驾驶状态数据的检测,直至检测到第一个驾驶状态数据为人工接管状态的数据帧,该数据帧即为第一数据帧,也即,在该数据帧对应的时刻,自动驾驶车辆的驾驶状态由自动驾驶状态切换至人工接管状态。In some embodiments, the detection of the driving state data may be performed sequentially on the above-mentioned multiple data frames in chronological order. Usually in a set of normal test data, the driving state data in the first multiple data frames are all in the automatic driving state. When the tester observes that the vehicle reaches the target speed, the brake will be triggered to take over, and the corresponding data The frame's driving state data changes from the autopilot state to the manual takeover state. Therefore, by sequentially detecting the driving state data for each data frame, until the first data frame whose driving state data is the manual takeover state is detected, the data frame is the first data frame, that is, in the data frame At the moment corresponding to the frame, the driving state of the autonomous vehicle is switched from the automatic driving state to the manual takeover state.

通过对驾驶状态数据的检测,能够进一步排除一些异常情况(例如在测试过程中由于场地出现障碍物,而导致车辆在自动驾驶状态中进行制动等),从而进一步提升了测量数据的准确性。Through the detection of the driving state data, some abnormal situations can be further excluded (for example, due to obstacles in the field during the test, the vehicle brakes in the automatic driving state, etc.), thereby further improving the accuracy of the measurement data.

在一些实施例中,在检测到第一数据帧后,可以对之后的每个数据帧依次进行车辆速度的检测,并通过判断车辆速度是否小于速度阈值,以判断车辆是否已完成制动。In some embodiments, after the first data frame is detected, the vehicle speed may be sequentially detected for each subsequent data frame, and it is determined whether the vehicle has completed braking by judging whether the vehicle speed is less than a speed threshold.

通常,由于车辆速度存在信号波动的情况,因此,为进一步提升判断的准确性,排除速度信号波动所造成的误差,可以通过判断预设时间(例如为1s)内,多个车辆速度是否均小于速度阈值,来判断车辆是否已完成制动。当满足预设时间内,多个车辆速度均小于速度阈值时,则说明车辆已完成制动,此时所检测到的数据帧即为第二数据帧。Usually, due to the signal fluctuation of the vehicle speed, in order to further improve the accuracy of the judgment and eliminate the error caused by the speed signal fluctuation, it is possible to judge whether the speed of multiple vehicles is less than Speed threshold to determine whether the vehicle has finished braking. When the speed of multiple vehicles is less than the speed threshold within the preset time, it means that the vehicle has completed braking, and the detected data frame is the second data frame.

在一些实施例中,可以基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,直接通过计算两坐标之间的距离,来获取车辆在进行刹车接管后的制动距离。In some embodiments, based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame, the braking distance of the vehicle after the brake takeover can be obtained by directly calculating the distance between the two coordinates.

在一些实施例中,基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离,也可以是对第一数据帧、第二数据帧以及上述两数据帧之间的一个或多个数据帧分别获取其对应的车辆坐标,并计算上述数据帧中相邻数据帧的坐标距离,再进行累加,来获取车辆在进行刹车接管后的制动距离。由此,能够进一步提升制动距离测量的精确度。In some embodiments, the braking distance of the autonomous driving vehicle is determined based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame, which may also be based on the first data frame, the second data frame, and the above two data frames. One or more data frames between them respectively obtain their corresponding vehicle coordinates, and calculate the coordinate distance of adjacent data frames in the above data frames, and then accumulate them to obtain the braking distance of the vehicle after the brake takes over. As a result, the accuracy of the braking distance measurement can be further improved.

根据一些实施例,多个数据帧包括分别对应于至少一个制动测试过程的至少一个数据帧组,多个数据帧中的每个数据帧还包括数据采集时间,并且,自动驾驶车辆制动距离的测量方法还可以包括:获取至少一个制动测试过程中的每个制动测试过程的起始时间;以及针对至少一个制动测试过程中的每个制动测试过程,基于该制动测试过程的起始时间和多个数据帧中的每个数据帧的数据采集时间,确定该制动测试过程对应的起始数据帧,以基于起始数据帧开始进行驾驶状态数据的检测。According to some embodiments, the plurality of data frames includes at least one data frame group respectively corresponding to at least one braking test process, each data frame in the plurality of data frames further includes a data collection time, and the autonomous vehicle braking distance The measurement method may further include: obtaining a start time of each brake test process in the at least one brake test process; and for each brake test process in the at least one brake test process, based on the brake test process The starting time and the data collection time of each data frame in the multiple data frames are determined, and the starting data frame corresponding to the braking test process is determined, so as to start the detection of driving state data based on the starting data frame.

在一些实施例中,多个数据帧可以是对应自动驾驶车辆从车辆电源启动到车辆电源关闭这一过程中所采集的所有数据帧。因此,上述多个数据帧可以包括一个或多个制动测试过程的数据,同时也可以包括其他测试过程的数据帧。In some embodiments, the plurality of data frames may be all data frames collected during the process of the corresponding autonomous vehicle from power-on to power-off of the vehicle. Therefore, the above-mentioned multiple data frames may include data of one or more braking test processes, and may also include data frames of other test processes.

在一些实施例中,可以对每次制动测试过程的起始时间进行记录,并基于该起始时间以及每个数据帧中的数据采集时间,找到该测试过程的起始数据帧,并从该起始数据帧开始,进行驾驶状态检测以及后续的测量过程。In some embodiments, the starting time of each braking test process can be recorded, and based on the starting time and the data collection time in each data frame, the starting data frame of the testing process can be found, and the starting data frame of the testing process can be found from the starting time. Starting from the initial data frame, driving state detection and subsequent measurement processes are performed.

由此,通过记录每次测试的起始时间,确定数据中每次测试过程的起始数据,并分别进行距离计算,从而实现了多次测试数据的批量处理,节省了数据传输资源,提升测量效率。Therefore, by recording the starting time of each test, determining the starting data of each test process in the data, and calculating the distance separately, the batch processing of multiple test data is realized, data transmission resources are saved, and the measurement is improved. efficiency.

根据一些实施例,基于该制动测试过程的起始时间和多个数据帧中的每个数据帧的数据采集时间,确定该制动测试过程对应的起始数据帧可以包括:基于该制动测试过程的起始时间,确定第三数据帧,第三数据帧的数据采集时间与该制动测试过程的起始时间对应;以及基于预设回溯时长和第三数据帧的数据采集时间,确定该制动测试过程对应的起始数据帧。According to some embodiments, based on the start time of the brake test process and the data collection time of each data frame in the plurality of data frames, determining the start data frame corresponding to the brake test process may include: based on the brake test process The starting time of the test process is to determine a third data frame, and the data collection time of the third data frame corresponds to the start time of the braking test process; and based on the preset backtracking duration and the data collection time of the third data frame, determine The starting data frame corresponding to the braking test process.

在一些实施例中,可以首先基于制动测试过程的起始时间以及每个数据帧中的数据采集时间,找到时间对应的第三数据帧,并基于预设回溯时长(例如可以为10s),从第三数据帧所对应的采集时间向前回溯预设回溯时长,并将回溯时间后所对应的数据帧作为起始数据帧,并从该起始数据帧开始,进行驾驶状态检测以及后续的测量过程。In some embodiments, the third data frame corresponding to the time may be found first based on the start time of the braking test process and the data collection time in each data frame, and based on the preset backtracking duration (for example, it may be 10s), From the collection time corresponding to the third data frame, the preset backtracking duration is backtracked forward, and the data frame corresponding to the backtracking time is used as the starting data frame, and starting from the starting data frame, the driving state detection and subsequent measurement process.

由此,能够进一步地排除可能存在的人工误差(例如测试人员在触发接管后才记录了时间等情况),降低对人工的依赖,保证数据的完整性,提升测量准确度。As a result, possible manual errors can be further eliminated (for example, the tester records the time after triggering the takeover), reducing the dependence on manual labor, ensuring the integrity of the data, and improving the measurement accuracy.

根据一些实施例,自动驾驶车辆制动距离的测量方法还可以包括:响应于第一数据帧的车辆速度小于目标速度,获取第一数据帧对应的制动测试过程的下一个制动测试过程的起始时间,以启动下一个制动测试过程的制动距离测量。According to some embodiments, the method for measuring the braking distance of the automatic driving vehicle may further include: in response to the vehicle speed of the first data frame being less than the target speed, acquiring the data of the next braking test process of the braking test process corresponding to the first data frame Start time to start the braking distance measurement for the next braking test session.

由于每次测试过程中,人工接管的触发均是通过测试人员进行人工判断的,因此在触发接管时,车辆速度可能与目标速度存在偏差,因此为进一步保证测试数据的有效性以及测量的准确性,可以首先对第一数据帧的车辆速度进行检测,当第一数据帧的车辆速度小于目标速度时,那么后续车辆制动过程中的车辆速度也均无法到达目标速度,因此该测试过程的数据是无效数据,可以不再对该测试过程的数据进行处理,直接启动下一个制动测试过程的制动距离测量。Since the trigger of manual takeover is manually judged by the tester during each test process, the vehicle speed may deviate from the target speed when triggering the takeover. Therefore, in order to further ensure the validity of the test data and the accuracy of the measurement , the vehicle speed of the first data frame can be detected first. When the vehicle speed of the first data frame is less than the target speed, the vehicle speed in the subsequent vehicle braking process cannot reach the target speed. Therefore, the data of the test process If it is invalid data, the data of this test process can be no longer processed, and the braking distance measurement of the next braking test process can be started directly.

根据一些实施例,自动驾驶车辆制动距离的测量方法还可以包括:响应于确定第一数据帧,判断第一数据帧的车辆速度是否大于目标速度;响应于第一数据帧的车辆速度大于目标速度,依次判断第一数据帧的至少一个后序数据帧的车辆速度是否大于目标速度,直至确定第四数据帧,其中,第四数据帧的车辆速度小于或等于目标速度,并且第四数据帧的前一数据帧的车辆速度大于目标速度;并且基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离可以包括:基于第四数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离。According to some embodiments, the method for measuring the braking distance of an automatic driving vehicle may further include: in response to determining the first data frame, determining whether the vehicle speed of the first data frame is greater than the target speed; in response to the vehicle speed of the first data frame being greater than the target speed speed, sequentially judging whether the vehicle speed of at least one subsequent data frame of the first data frame is greater than the target speed, until the fourth data frame is determined, wherein the vehicle speed of the fourth data frame is less than or equal to the target speed, and the fourth data frame The vehicle speed of the previous data frame is greater than the target speed; and based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame, determining the braking distance of the autonomous vehicle may include: based on the vehicle coordinates of the fourth data frame and The vehicle coordinates of the second data frame determine the braking distance of the autonomous vehicle.

在一些实施例中,当第一数据帧的车辆速度大于目标速度时,则可以对后续数据帧的车辆速度进行依次检测,指导检测到车辆速度小于或等于目标速度的数据帧,也即第四数据帧。随后即可基于第四数据帧和第二数据帧的车辆坐标,通过上述方法计算制动距离。由此,能够进一步排除测试人员在触发接管时可能带来的当前车速的偏差,从而提升测量的准确度。In some embodiments, when the vehicle speed of the first data frame is greater than the target speed, the vehicle speed of the subsequent data frames may be sequentially detected, so as to guide the detection of the data frame of the vehicle speed less than or equal to the target speed, that is, the fourth data frame. Data Frame. Then, the braking distance can be calculated by the above method based on the vehicle coordinates of the fourth data frame and the second data frame. In this way, the deviation of the current vehicle speed that may be caused by the tester when the takeover is triggered can be further eliminated, thereby improving the accuracy of the measurement.

在一些实施例中,在车辆制动测试过程中,一般会对不同的刹车接管方式针对不同的目标速度分别进行多次测试。可以对相同测试条件的多次测试过程所获得的制动距离计算平均值,从而输出该测试条件下的自动驾驶车辆在刹车接管后的车辆制动距离的最终结果。In some embodiments, during the vehicle braking test process, different brake takeover modes are generally tested for different target speeds for multiple times. The average value can be calculated for the braking distances obtained during multiple test processes under the same test conditions, so as to output the final result of the vehicle braking distance of the autonomous vehicle under the test conditions after the brakes take over.

在一些示例性实施例中,如图3所示提供了一种自动驾驶车辆制动距离的测量方法,具体步骤包括:步骤S301、进行数据初始化,分别设置制动距离s、接管次数cnt、累计延时等三个参数,并分别将三个参数初始化为零;步骤S302、基于制动测试过程的起始时间和预设回溯时长(例如为10s),确定起始数据帧;步骤S303、对当前数据帧的驾驶状态数据进行检测,判断驾驶状态是否为人工接管状态;步骤S304、响应于当前数据帧的驾驶状态不是人工接管状态,继续对下一数据帧的驾驶状态数据进行检测;步骤S305、响应于当前数据帧的驾驶状态是人工接管状态,对接管次数进行cnt=cnt+1;步骤S306、通过判断接管次数cnt是否等于1,判断是否为该制动测试过程中的首次接管,以确定当前数据帧为第一数据帧;步骤S307、响应于确定第一数据帧,判断当前数据帧的车辆速度是否大于或等于目标速度;步骤S308、响应于当前数据帧的车辆速度小于目标速度,获取下一个制动测试过程的起始时间,以启动下一个制动测试过程的制动距离测量;步骤S309、响应于当前数据帧的车辆速度大于或等于目标速度,判断当前数据帧的车辆速度是否小于或等于目标速度;步骤S310、响应于当前数据帧的车辆速度大于目标速度,对下一个数据帧的车辆速度进行检测;步骤S311、响应于当前数据帧的车辆速度小于或等于目标速度,确定当前数据帧为第四数据帧,并获取下一个数据帧;步骤S312、基于当前数据帧和上一数据帧的车辆坐标,计算两坐标之间的距离s,并计算制动距离s=s+s;步骤S313、判断当前数据帧的车辆速度是否小于或等于速度阈值(例如可以为0.1m/s);步骤S314、响应于当前数据帧的车辆速度大于速度阈值,将累计延时置t为0,并返回步骤S311;步骤S315、响应于当前数据帧的车辆速度小于或等于速度阈值,基于当前数据帧和上一数据帧的数据采集时间,计算两数据帧的时间差t,并计算累计延时t=t+t;步骤S316、判断累计延时是否大于或等于预设时间(例如为1s),响应于累计延时小于预设时间,返回步骤S311;以及步骤S317、响应于累计延时大于或等于预设时间,输出此时的制动距离s。In some exemplary embodiments, as shown in FIG. 3, a method for measuring the braking distance of an automatic driving vehicle is provided, and the specific steps include: step S301, performing data initialization, setting the braking distance s, the number of takeovers cnt, the cumulative Delay and other three parameters, and initialize the three parameters to zero respectively; step S302, based on the start time of the braking test process and the preset backtracking duration (for example, 10s), determine the start data frame; step S303, to Detect the driving state data of the current data frame to determine whether the driving state is the manual takeover state; Step S304, in response to the current data frame's driving state not being the manual takeover state, continue to detect the driving state data of the next data frame; Step S305 2. In response to the driving state of the current data frame being the manual takeover state, perform cnt=cnt+1 on the number of takeovers; step S306, by judging whether the number of takeovers cnt is equal to 1, determine whether it is the first takeover in the braking test process, with Determine that the current data frame is the first data frame; Step S307, in response to determining the first data frame, determine whether the vehicle speed of the current data frame is greater than or equal to the target speed; Step S308, in response to the current data frame The vehicle speed is less than the target speed, Obtain the starting time of the next braking test process to start the braking distance measurement of the next braking test process; Step S309, in response to the vehicle speed of the current data frame being greater than or equal to the target speed, determine the vehicle speed of the current data frame Whether it is less than or equal to the target speed; Step S310, in response to the vehicle speed of the current data frame being greater than the target speed, detect the vehicle speed of the next data frame; Step S311, in response to the current data frame The vehicle speed is less than or equal to the target speed, Determine that the current data frame is the fourth data frame, and obtain the next data frame; Step S312, calculate the distance Δs between the two coordinates based on the vehicle coordinates of the current data frame and the previous data frame, and calculate the braking distance s= s+ Δs ; Step S313, determine whether the vehicle speed of the current data frame is less than or equal to the speed threshold (for example, it may be 0.1m/s); Step S314, in response to the vehicle speed of the current data frame being greater than the speed threshold, set the cumulative delay to t is 0, and return to step S311; step S315, in response to the vehicle speed of the current data frame being less than or equal to the speed threshold, based on the data collection time of the current data frame and the previous data frame, calculate the time difference Δt of the two data frames, and Calculate the cumulative delay t=t+ Δt ; step S316, determine whether the cumulative delay is greater than or equal to the preset time (for example, 1s), and in response to the cumulative delay being less than the preset time, return to step S311; and step S317, in response to The accumulated delay is greater than or equal to the preset time, and the braking distance s at this time is output.

根据一些实施例,如图4所示,提供了一种自动驾驶车辆制动距离的测量装置400,包括:第一获取单元410,被配置为获取自动驾驶车辆的按时序排列的多个数据帧,其中,多个数据帧中的每个数据帧包括驾驶状态数据、车辆速度以及车辆坐标,驾驶状态数据指示自动驾驶车辆是否处于自动驾驶状态;第一检测单元420,被配置为依次对多个数据帧中的每个数据帧的驾驶状态数据进行检测,直至确定多个数据帧中的第一数据帧,其中,在第一数据帧对应的时刻,自动驾驶车辆的驾驶状态由自动驾驶状态切换至人工接管状态;第二检测单元430,被配置为响应于确定第一数据帧,依次对第一数据帧的车辆速度以及第一数据帧的后序数据帧的车辆速度进行检测,直至确定第二数据帧,其中,在第二数据帧对应的时刻,自动驾驶车辆完成制动;以及第一确定单元440,被配置为基于第一数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离。According to some embodiments, as shown in FIG. 4 , an apparatus 400 for measuring the braking distance of an autonomous driving vehicle is provided, including: a first acquiring unit 410 configured to acquire a plurality of data frames of the autonomous driving vehicle arranged in time series , wherein each of the multiple data frames includes driving state data, vehicle speed and vehicle coordinates, and the driving state data indicates whether the autonomous driving vehicle is in an autonomous driving state; the first detection unit 420 is configured to sequentially detect multiple The driving state data of each data frame in the data frame is detected until the first data frame in the multiple data frames is determined, wherein, at the moment corresponding to the first data frame, the driving state of the automatic driving vehicle is switched from the automatic driving state to the manual takeover state; the second detection unit 430 is configured to, in response to determining the first data frame, sequentially detect the vehicle speed of the first data frame and the vehicle speed of subsequent data frames of the first data frame, until the first data frame is determined. Two data frames, wherein, at the moment corresponding to the second data frame, the automatic driving vehicle completes braking; and the first determination unit 440 is configured to determine based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame Braking distance for autonomous vehicles.

其中,自动驾驶车辆制动距离的测量装置400中的单元410-单元440的操作与上述自动驾驶车辆制动距离的测量方法的步骤S201-步骤S204的操作类似,在此不做赘述。The operations of the units 410 to 440 in the apparatus 400 for measuring the braking distance of an autonomous vehicle are similar to the operations of steps S201 to S204 of the above method for measuring the braking distance of an autonomous vehicle, and will not be repeated here.

根据一些实施例,多个数据帧可以包括分别对应于至少一个制动测试过程的至少一个数据帧组,多个数据帧中的每个数据帧还包括数据采集时间,并且,自动驾驶车辆制动距离的测量装置还可以包括:第二获取单元,被配置为获取至少一个制动测试过程中的每个制动测试过程的起始时间;以及第二确定单元,被配置为针对至少一个制动测试过程中的每个制动测试过程,基于该制动测试过程的起始时间和多个数据帧中的每个数据帧的数据采集时间,确定该制动测试过程对应的起始数据帧,以基于起始数据帧开始进行驾驶状态数据的检测。According to some embodiments, the plurality of data frames may include at least one data frame group respectively corresponding to at least one braking test procedure, each data frame of the plurality of data frames further includes a data collection time, and the autonomous vehicle brakes The distance measuring device may further include: a second acquisition unit configured to acquire a start time of each brake test process in the at least one brake test process; and a second determination unit configured for the at least one brake test process For each brake test process in the test process, based on the start time of the brake test process and the data collection time of each data frame in the multiple data frames, determine the start data frame corresponding to the brake test process, The detection of driving state data starts with the starting data frame.

根据一些实施例,第二确定单元可以包括:第一确定子单元,被配置为基于该制动测试过程的起始时间,确定第三数据帧,第三数据帧的数据采集时间与该制动测试过程的起始时间对应;以及第二确定子单元,被配置为基于预设回溯时长和第三数据帧的数据采集时间,确定该制动测试过程对应的起始数据帧。According to some embodiments, the second determination unit may include: a first determination subunit configured to determine a third data frame based on the start time of the braking test process, the data collection time of the third data frame being the same as the braking time The starting time of the test process corresponds to; and the second determining subunit is configured to determine the starting data frame corresponding to the braking test process based on the preset backtracking duration and the data collection time of the third data frame.

根据一些实施例,自动驾驶车辆制动距离的测量装置还可以包括:第一判断单元,被配置为响应于确定第一数据帧,判断第一数据帧的车辆速度是否大于目标速度;第二判断单元,被配置为响应于第一数据帧的车辆速度大于目标速度,依次判断第一数据帧的至少一个后序数据帧的车辆速度是否大于目标速度,直至确定第四数据帧,其中,第四数据帧的车辆速度小于或等于目标速度,并且第四数据帧的前一数据帧的车辆速度大于目标速度;并且第一确定单元还可以被配置为:基于第四数据帧的车辆坐标以及第二数据帧的车辆坐标,确定自动驾驶车辆的制动距离。According to some embodiments, the apparatus for measuring the braking distance of an autonomous vehicle may further include: a first judgment unit configured to, in response to determining the first data frame, judge whether the vehicle speed of the first data frame is greater than the target speed; a second judgment unit The unit is configured to, in response to the vehicle speed of the first data frame being greater than the target speed, sequentially determine whether the vehicle speed of at least one subsequent data frame of the first data frame is greater than the target speed, until the fourth data frame is determined, wherein the fourth data frame is The vehicle speed of the data frame is less than or equal to the target speed, and the vehicle speed of the previous data frame of the fourth data frame is greater than the target speed; and the first determining unit may be further configured to: based on the vehicle coordinates of the fourth data frame and the second The vehicle coordinates of the data frame to determine the braking distance of the autonomous vehicle.

根据一些实施例,自动驾驶车辆制动距离的测量装置还可以包括:第三获取单元,被配置为响应于第一数据帧的车辆速度小于目标速度,获取第一数据帧对应的制动测试过程的下一个制动测试过程的起始时间,以启动下一个制动测试过程的制动距离测量。According to some embodiments, the apparatus for measuring the braking distance of an autonomous vehicle may further include: a third obtaining unit, configured to obtain a braking test process corresponding to the first data frame in response to the vehicle speed of the first data frame being less than the target speed The starting time of the next braking test process to start the braking distance measurement of the next braking test process.

根据本公开的实施例,还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, an electronic device, a readable storage medium, and a computer program product are also provided.

参考图5,现将描述可以作为本公开的服务器或客户端的电子设备500的结构框图,其是可以应用于本公开的各方面的硬件设备的示例。电子设备旨在表示各种形式的数字电子的计算机设备,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。Referring to FIG. 5 , a structural block diagram of an electronic device 500 that can serve as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.

如图5所示,电子设备500包括计算单元501,其可以根据存储在只读存储器(ROM)502中的计算机程序或者从存储单元508加载到随机访问存储器(RAM)503中的计算机程序,来执行各种适当的动作和处理。在RAM 503中,还可存储电子设备500操作所需的各种程序和数据。计算单元501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5 , the electronic device 500 includes a computing unit 501 that can be programmed according to a computer program stored in a read only memory (ROM) 502 or loaded into a random access memory (RAM) 503 from a storage unit 508 . Various appropriate actions and processes are performed. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501 , the ROM 502 , and the RAM 503 are connected to each other through a bus 504 . An input/output (I/O) interface 505 is also connected to bus 504 .

电子设备500中的多个部件连接至I/O接口505,包括:输入单元506、输出单元507、存储单元508以及通信单元509。输入单元506可以是能向电子设备500输入信息的任何类型的设备,输入单元506可以接收输入的数字或字符信息,以及产生与电子设备的用户设置和/或功能控制有关的键信号输入,并且可以包括但不限于鼠标、键盘、触摸屏、轨迹板、轨迹球、操作杆、麦克风和/或遥控器。输出单元507可以是能呈现信息的任何类型的设备,并且可以包括但不限于显示器、扬声器、视频/音频输出终端、振动器和/或打印机。存储单元508可以包括但不限于磁盘、光盘。通信单元509允许电子设备500通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据,并且可以包括但不限于调制解调器、网卡、红外通信设备、无线通信收发机和/或芯片组,例如蓝牙TM设备、802.11设备、WiFi设备、WiMax设备、蜂窝通信设备和/或类似物。Various components in the electronic device 500 are connected to the I/O interface 505 , including: an input unit 506 , an output unit 507 , a storage unit 508 , and a communication unit 509 . The input unit 506 may be any type of device capable of inputting information to the electronic device 500, the input unit 506 may receive input numerical or character information, and generate key signal input related to user settings and/or function control of the electronic device, and This may include, but is not limited to, a mouse, keyboard, touch screen, trackpad, trackball, joystick, microphone and/or remote control. The output unit 507 may be any type of device capable of presenting information, and may include, but is not limited to, a display, speakers, video/audio output terminals, vibrators, and/or printers. The storage unit 508 may include, but is not limited to, magnetic disks and optical disks. The communication unit 509 allows the electronic device 500 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks, and may include, but is not limited to, modems, network cards, infrared communication devices, wireless communication transceivers and/or chips Groups such as Bluetooth™ devices, 802.11 devices, WiFi devices, WiMax devices, cellular communication devices and/or the like.

计算单元501可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元501的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元501执行上文所描述的各个方法和处理,例如上述自动驾驶车辆制动距离的测量方法。例如,在一些实施例中,上述自动驾驶车辆制动距离的测量方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元508。在一些实施例中,计算机程序的部分或者全部可以经由ROM 502和/或通信单元509而被载入和/或安装到电子设备500上。当计算机程序加载到RAM 503并由计算单元501执行时,可以执行上文描述的上述自动驾驶车辆制动距离的测量方法的一个或多个步骤。备选地,在其他实施例中,计算单元501可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行上述自动驾驶车辆制动距离的测量方法。Computing unit 501 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of computing units 501 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various specialized artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 501 executes the various methods and processes described above, such as the above-described method for measuring the braking distance of an autonomous vehicle. For example, in some embodiments, the above-described method of measuring braking distance of an autonomous vehicle may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 508 . In some embodiments, part or all of the computer program may be loaded and/or installed on the electronic device 500 via the ROM 502 and/or the communication unit 509 . When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the above-described method for measuring the braking distance of an autonomous driving vehicle described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured in any other suitable manner (eg, by means of firmware) to perform the above-described method of measuring the braking distance of an autonomous vehicle.

本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a distributed system server, or a server combined with blockchain.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本公开中记载的各步骤可以并行地执行、也可以顺序地或以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, which are not limited herein.

虽然已经参照附图描述了本公开的实施例或示例,但应理解,上述的方法、系统和设备仅仅是示例性的实施例或示例,本发明的范围并不由这些实施例或示例限制,而是仅由授权后的权利要求书及其等同范围来限定。实施例或示例中的各种要素可以被省略或者可由其等同要素替代。此外,可以通过不同于本公开中描述的次序来执行各步骤。进一步地,可以以各种方式组合实施例或示例中的各种要素。重要的是随着技术的演进,在此描述的很多要素可以由本公开之后出现的等同要素进行替换。Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-described methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but is limited only by the appended claims and their equivalents. Various elements of the embodiments or examples may be omitted or replaced by equivalents thereof. Furthermore, the steps may be performed in an order different from that described in this disclosure. Further, various elements of the embodiments or examples may be combined in various ways. Importantly, as technology evolves, many of the elements described herein may be replaced by equivalent elements that appear later in this disclosure.

Claims (13)

1. A method of measuring a braking distance of an autonomous vehicle, the method comprising:
obtaining a plurality of time-sequenced data frames of the autonomous vehicle, wherein each data frame of the plurality of data frames comprises driving status data, vehicle speed, and vehicle coordinates, the driving status data indicating whether the autonomous vehicle is in an autonomous state;
sequentially detecting the driving state data of each data frame in the plurality of data frames until a first data frame in the plurality of data frames is determined, wherein at the moment corresponding to the first data frame, the driving state of the automatic driving vehicle is switched from an automatic driving state to a manual takeover state;
in response to determining the first data frame, sequentially detecting the vehicle speed of the first data frame and the vehicle speed of a subsequent data frame of the first data frame until a second data frame is determined, wherein the autonomous vehicle completes braking at a time corresponding to the second data frame; and
determining a braking distance of the autonomous vehicle based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame.
2. The method of claim 1, wherein the plurality of data frames includes at least one set of data frames respectively corresponding to at least one braking test procedure, each data frame of the plurality of data frames further including a data acquisition time, and the method further comprises:
acquiring the starting time of each brake test process in the at least one brake test process; and
and for each brake test process in the at least one brake test process, determining a starting data frame corresponding to the brake test process based on the starting time of the brake test process and the data acquisition time of each data frame in the plurality of data frames, so as to start to detect the driving state data based on the starting data frame.
3. The method of claim 2, wherein determining the starting data frame for the brake test procedure based on the starting time of the brake test procedure and the data acquisition time of each of the plurality of data frames comprises:
determining a third data frame based on the starting time of the brake test process, wherein the data acquisition time of the third data frame corresponds to the starting time of the brake test process; and
and determining an initial data frame corresponding to the brake test process based on a preset backtracking duration and the data acquisition time of the third data frame.
4. The method of claim 2 or 3, further comprising:
in response to determining the first data frame, determining whether a vehicle speed of the first data frame is greater than a target speed;
in response to the vehicle speed of the first data frame being greater than the target speed, sequentially determining whether the vehicle speed of at least one subsequent data frame of the first data frame is greater than the target speed until a fourth data frame is determined, wherein the vehicle speed of the fourth data frame is less than or equal to the target speed and the vehicle speed of a previous data frame of the fourth data frame is greater than the target speed; and is
The determining a braking distance of the autonomous vehicle based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame comprises:
determining a braking distance of the autonomous vehicle based on the vehicle coordinates of the fourth data frame and the vehicle coordinates of the second data frame.
5. The method of claim 4, further comprising:
and responding to the fact that the vehicle speed of the first data frame is smaller than the target speed, and obtaining the starting time of the next brake test process of the brake test process corresponding to the first data frame so as to start the brake distance measurement of the next brake test process.
6. An autonomous vehicle stopping distance measuring device, the device comprising:
a first acquisition unit configured to acquire a plurality of data frames of the autonomous vehicle arranged in time series, wherein each of the plurality of data frames includes driving state data indicating whether the autonomous vehicle is in an autonomous state, a vehicle speed, and a vehicle coordinate;
a first detection unit configured to detect driving state data of each of the plurality of data frames in sequence until a first data frame of the plurality of data frames is determined, wherein at a time corresponding to the first data frame, a driving state of the autonomous vehicle is switched from an autonomous driving state to a manual takeover state;
a second detection unit configured to detect, in response to determining the first data frame, a vehicle speed of the first data frame and a vehicle speed of a subsequent data frame of the first data frame in sequence until determining a second data frame, wherein the autonomous vehicle completes braking at a time corresponding to the second data frame; and
a first determination unit configured to determine a braking distance of the autonomous vehicle based on the vehicle coordinates of the first data frame and the vehicle coordinates of the second data frame.
7. The apparatus of claim 6, wherein the plurality of data frames includes at least one set of data frames respectively corresponding to at least one braking test procedure, each data frame of the plurality of data frames further including a data acquisition time, and the apparatus further comprises:
a second obtaining unit configured to obtain a start time of each of the at least one brake test procedure; and
and the second determining unit is configured to determine, for each brake test process in the at least one brake test process, a starting data frame corresponding to the brake test process based on the starting time of the brake test process and the data acquisition time of each data frame in the plurality of data frames, so as to start detection of the driving state data based on the starting data frame.
8. The apparatus of claim 7, wherein the second determining unit comprises:
a first determining subunit configured to determine a third data frame based on the start time of the brake test process, a data acquisition time of the third data frame corresponding to the start time of the brake test process; and
and the second determining subunit is configured to determine a starting data frame corresponding to the brake test process based on a preset backtracking time length and the data acquisition time of the third data frame.
9. The apparatus of claim 7 or 8, further comprising:
a first determination unit configured to determine whether a vehicle speed of the first data frame is greater than a target speed in response to determining the first data frame;
a second determination unit configured to sequentially determine whether a vehicle speed of at least one subsequent data frame of the first data frame is greater than the target speed in response to the vehicle speed of the first data frame being greater than the target speed until a fourth data frame is determined, wherein the vehicle speed of the fourth data frame is less than or equal to the target speed and the vehicle speed of a previous data frame of the fourth data frame is greater than the target speed; and is
The first determination unit is further configured to:
determining a braking distance of the autonomous vehicle based on the vehicle coordinates of the fourth data frame and the vehicle coordinates of the second data frame.
10. The apparatus of claim 9, further comprising:
and the third acquisition unit is configured to respond to the fact that the vehicle speed of the first data frame is smaller than the target speed, and acquire the starting time of the next brake test process of the brake test process corresponding to the first data frame so as to start the brake distance measurement of the next brake test process.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
13. A computer program product comprising a computer program, wherein the computer program realizes the method of any one of claims 1-5 when executed by a processor.
CN202210744449.3A 2022-06-27 2022-06-27 Method, device, equipment and medium for measuring braking distance of autonomous vehicle Pending CN115144201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744449.3A CN115144201A (en) 2022-06-27 2022-06-27 Method, device, equipment and medium for measuring braking distance of autonomous vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744449.3A CN115144201A (en) 2022-06-27 2022-06-27 Method, device, equipment and medium for measuring braking distance of autonomous vehicle

Publications (1)

Publication Number Publication Date
CN115144201A true CN115144201A (en) 2022-10-04

Family

ID=83409533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744449.3A Pending CN115144201A (en) 2022-06-27 2022-06-27 Method, device, equipment and medium for measuring braking distance of autonomous vehicle

Country Status (1)

Country Link
CN (1) CN115144201A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2314490A1 (en) * 2009-10-22 2011-04-27 Audi AG Method for controlling the operation of a fully automatic driver assistance system of a motor vehicle for independent vehicle guidance and motor vehicle
CN112014116A (en) * 2020-08-10 2020-12-01 北京三快在线科技有限公司 Braking distance measuring method and device, medium and unmanned equipment
EP3766752A1 (en) * 2019-07-17 2021-01-20 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for detecting and avoiding collision applied to vehicle
EP3789254A1 (en) * 2019-09-02 2021-03-10 Robert Bosch GmbH Method, device and system for automatic braking of vehicle
CN114169755A (en) * 2021-12-07 2022-03-11 华东交通大学 Driver takeover capability evaluation and alarm method, system, equipment and medium
CN114248775A (en) * 2022-03-01 2022-03-29 魔门塔(苏州)科技有限公司 Intersection traffic decision method, device, medium, equipment and vehicle
CN114537449A (en) * 2022-04-13 2022-05-27 广州文远知行科技有限公司 Takeover probability calculation method and related device
CN114620076A (en) * 2022-04-27 2022-06-14 阿波罗智能技术(北京)有限公司 Automatic driving method, automatic driving data processing method and automatic driving vehicle
CN114655250A (en) * 2022-03-31 2022-06-24 阿波罗智联(北京)科技有限公司 Data generation method and device for automatic driving

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2314490A1 (en) * 2009-10-22 2011-04-27 Audi AG Method for controlling the operation of a fully automatic driver assistance system of a motor vehicle for independent vehicle guidance and motor vehicle
EP3766752A1 (en) * 2019-07-17 2021-01-20 Baidu Online Network Technology (Beijing) Co., Ltd. Method and apparatus for detecting and avoiding collision applied to vehicle
EP3789254A1 (en) * 2019-09-02 2021-03-10 Robert Bosch GmbH Method, device and system for automatic braking of vehicle
CN112014116A (en) * 2020-08-10 2020-12-01 北京三快在线科技有限公司 Braking distance measuring method and device, medium and unmanned equipment
CN114169755A (en) * 2021-12-07 2022-03-11 华东交通大学 Driver takeover capability evaluation and alarm method, system, equipment and medium
CN114248775A (en) * 2022-03-01 2022-03-29 魔门塔(苏州)科技有限公司 Intersection traffic decision method, device, medium, equipment and vehicle
CN114655250A (en) * 2022-03-31 2022-06-24 阿波罗智联(北京)科技有限公司 Data generation method and device for automatic driving
CN114537449A (en) * 2022-04-13 2022-05-27 广州文远知行科技有限公司 Takeover probability calculation method and related device
CN114620076A (en) * 2022-04-27 2022-06-14 阿波罗智能技术(北京)有限公司 Automatic driving method, automatic driving data processing method and automatic driving vehicle

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
吕能超;旷权;谭青山;于仁斌;: "基于车路协同的行人车辆碰撞风险识别与决策方法", 中国安全科学学报, no. 01, 15 January 2015 (2015-01-15) *
宁满旭;王三舟;巴腾跃;唐小林;: "无人驾驶重型汽车AEB控制算法及仿真", 重庆理工大学学报(自然科学), vol. 36, no. 03, 15 June 2022 (2022-06-15) *
岳亮;: "一种基于双目视觉的安全车距测量方法", 电视技术, no. 15, 2 August 2013 (2013-08-02) *
王劲;: "无人驾驶汽车, 引领第四次工业革命", 汽车纵横, no. 06, 15 June 2016 (2016-06-15) *
秦钦: "基于行车风险场的自动驾驶接管风险评估方法研究", 全国优秀硕士学位论文全文数据库, 1 June 2022 (2022-06-01) *

Similar Documents

Publication Publication Date Title
CN114179832B (en) Lane changing method for automatic driving vehicle
CN115366920B (en) Decision-making method, device, equipment and medium for automatic driving vehicle
CN117724361A (en) Collision event detection method and device applied to automatic driving simulation scene
CN114970112A (en) Method and device for automatic driving simulation, electronic equipment and storage medium
JP7366180B2 (en) Methods, devices, electronic devices and media for controlling data collection
CN115082690B (en) Target recognition method, target recognition model training method and device
CN115675528A (en) Automatic driving method and vehicle based on similar scene mining
CN113792016B (en) Method, device, equipment and medium for extracting driving data
CN114394111B (en) Lane changing method for automatic driving vehicle
CN117710939A (en) Signal lamp detection method, device and system and automatic driving vehicle
CN117707172A (en) Decision-making method and device for automatic driving vehicle, equipment and medium
CN115144201A (en) Method, device, equipment and medium for measuring braking distance of autonomous vehicle
CN116580367A (en) Data processing method, device, electronic equipment and storage medium
CN114670839A (en) Method and device for evaluating driving behavior of automatic driving vehicle and electronic equipment
CN114655250A (en) Data generation method and device for automatic driving
CN114637456A (en) Method and device for controlling vehicle and electronic equipment
CN114954534A (en) Method and apparatus for detecting abnormal operation state of autonomous vehicle
CN115412580A (en) PHY chip working mode determining method and device and automatic driving vehicle
CN114282776A (en) Method, device, equipment and medium for cooperatively evaluating automatic driving safety of vehicle and road
CN116311943B (en) Method and device for estimating average delay time of intersection
CN114333405B (en) Method for assisting in parking a vehicle
CN114333368B (en) Voice reminding method, device, equipment and medium
CN114179834B (en) Vehicle parking method, device, electronic equipment, medium and automatic driving vehicle
CN115019278B (en) Lane line fitting method and device, electronic equipment and medium
CN116466685A (en) Evaluation method, device, equipment and medium for automatic driving perception algorithm

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20221004

WD01 Invention patent application deemed withdrawn after publication