WO2019047604A1 - Method and device for determining data collection line - Google Patents

Method and device for determining data collection line Download PDF

Info

Publication number
WO2019047604A1
WO2019047604A1 PCT/CN2018/094489 CN2018094489W WO2019047604A1 WO 2019047604 A1 WO2019047604 A1 WO 2019047604A1 CN 2018094489 W CN2018094489 W CN 2018094489W WO 2019047604 A1 WO2019047604 A1 WO 2019047604A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
route
straight
curve
travel time
Prior art date
Application number
PCT/CN2018/094489
Other languages
French (fr)
Chinese (zh)
Inventor
姜雨
郁浩
闫泳杉
郑超
唐坤
张云飞
Original Assignee
百度在线网络技术(北京)有限公司
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 百度在线网络技术(北京)有限公司 filed Critical 百度在线网络技术(北京)有限公司
Publication of WO2019047604A1 publication Critical patent/WO2019047604A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0808Diagnosing performance data

Definitions

  • the present invention relates to the field of autonomous driving technologies, and in particular, to a technique for determining a data acquisition route for collecting training data for automatic driving.
  • the training data provided for the training model is based on single or multiple fixed acquisition routes. These acquisition routes do not take into account the influence of data imbalance between the curve and the straight channel, such as The cornering speed is slow, the corners are small, the straight speed is fast, and the straight path is long, which causes serious data imbalance.
  • the collected curve data and the straight track data are not balanced, which is fatal to the end-to-end model training.
  • a method for determining a data collection route for collecting training data for automatic driving includes:
  • each actual driving data includes a respective driving time of the straight road and the curved road;
  • the data acquisition route is corrected based on the actual travel data to converge the travel time ratio to 1:1.
  • an apparatus for determining a data collection route for collecting training data of an automatic driving comprising:
  • Means for obtaining a preset data acquisition route wherein the travel time of the straight track and the curve is estimated to be 1:1;
  • a computer apparatus comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program according to A method of determining a data collection route in accordance with an aspect of the present invention.
  • a computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements a determination data acquisition route in accordance with an aspect of the present invention Methods.
  • a computer program product when the computer program product is executed by a computer device, implementing a method of determining a data collection route in accordance with an aspect of the present invention.
  • the present invention adopts a dynamically modified data acquisition route, which is a brand-new attempt, which is applied to such as curve fitting, projection, and connection technology, which is an end-to-end automatic in the field of computational geometry.
  • a dynamically modified data acquisition route which is a brand-new attempt, which is applied to such as curve fitting, projection, and connection technology, which is an end-to-end automatic in the field of computational geometry.
  • the invention improves the uniformity of the end-to-end automatic driving training data, thereby improving the ability of the trained driving model, and the stability and safety of the automatic driving are greatly improved.
  • FIG. 1 shows a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present invention
  • FIG. 2 illustrates a flow chart of a method of determining a data acquisition route for acquiring training data for automated driving, in accordance with one embodiment of the present invention
  • FIG. 3 shows a schematic diagram of an apparatus for determining a data acquisition route for collecting training data for automatic driving, in accordance with another embodiment of the present invention.
  • computer device in this context is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and a memory, executed by the processor
  • the program instructions pre-stored in the memory are used to execute a predetermined process, or are executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two.
  • Computer devices include, but are not limited to, servers, personal computers (PCs), notebook computers, tablets, smart phones, and the like.
  • the computer device includes, for example, a user device and a network device.
  • the user equipment includes, but is not limited to, a personal computer (PC), a notebook computer, a mobile terminal, etc., and the mobile terminal includes but is not limited to a smart phone, a PDA, etc.
  • the network device includes but is not limited to a single network server, and more A network of server servers or a cloud-based cloud consisting of a large number of computers or network servers, where cloud computing is a type of distributed computing, a super-virtual set of a loosely coupled set of computers. computer.
  • the computer device can be operated separately to implement the present invention, and can also access the network and implement the present invention by interacting with other computer devices in the network.
  • the network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
  • the user equipment, the network equipment, the network, and the like are merely examples, and other existing or future possible computer equipment or networks, such as those applicable to the present invention, are also included in the scope of the present invention. It is included here by reference.
  • FIG. 1 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention.
  • the computer system/server 12 shown in FIG. 1 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
  • computer system/server 12 is embodied in the form of a general purpose computing device.
  • the components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
  • Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI peripheral component interconnects
  • Computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 12, including both volatile and non-volatile media, removable and non-removable media.
  • Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32.
  • Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 1, commonly referred to as "hard disk drives").
  • a disk drive for reading and writing to a removable non-volatile disk such as a "floppy disk”
  • a removable non-volatile disk such as a CD-ROM, DVD-ROM
  • each drive can be coupled to bus 18 via one or more data medium interfaces.
  • Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
  • a program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment.
  • Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
  • Computer system/server 12 may also be in communication with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer system/server 12. And/or in communication with any device (e.g., network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer system/server 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through network adapter 20.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • network adapter 20 communicates with other modules of computer system/server 12 via bus 18. It should be understood that although not shown in FIG. 1, other hardware and/or software modules may be utilized in conjunction with computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems. , tape drives, and data backup storage systems.
  • Processing unit 16 executes various functional applications and data processing by running programs stored in memory 28.
  • the memory 28 stores therein a computer program for performing the functions and processes of the present invention, and when the processing unit 16 executes the corresponding computer program, the identification of the incoming call intention at the network side by the present invention is implemented.
  • FIG. 2 shows a method flow diagram in accordance with one embodiment of the present invention, which specifically illustrates a process for determining a data acquisition route for acquiring training data for automated driving.
  • step S1 the computer device acquires a preset data collection route, wherein the travel time ratio of the straight track and the curve is estimated to be 1:1; in step S2, the computer device records the data collection route. a plurality of actual driving data, wherein each actual driving data includes respective driving times of the straight road and the curved road; in step S3, the computer device corrects the data collecting route according to the actual driving data, so that the The travel time ratio converges to 1:1.
  • step S1 the computer device acquires a preset data collection route, wherein the travel time ratio of the straight track to the curve is estimated to be 1:1.
  • the presupposition of the data collection route can be performed by any computing device having route planning capabilities, such as the computer device of the present invention.
  • the data collection route can also be preset by experience based on experience, for example, an experienced driver predetermines the travel time of the straight track and the curve compared to the estimated data acquisition route of 1:1, such as manual setting. Multiple track points, the computer device fits these track points to get a data acquisition route.
  • the driving route of the vehicle is a second-order guideable smooth curve, so the data acquisition route can be mathematically modeled as a combination of straight-arc-sprung spiral.
  • the data acquisition route includes straight roads and curved roads.
  • the straight roads are characterized by straight lines.
  • the curved roads are characterized by circular arc lines and snail spirals.
  • the horn spirals are used to connect two circular arc lines and circular arc lines and straight lines.
  • the straight track may include a plurality of straight lines, and a straight line may be further divided into a plurality of straight line segments, wherein each straight line segment has different speed limit requirements, for example, a line from A to B, and C is a line on the line.
  • the maximum speed limit of the straight line AC is 80 km/h
  • the maximum speed limit of the straight line CB is 60 km/h.
  • the curve may also include a plurality of arc lines and a snail spiral, and an arc line or a snail spiral may be further divided into a plurality of arc segments, each of which also has a different limit. Speed requirements.
  • the present invention obtains balanced training data for various models of automatic driving, and the data collection route for training data acquisition can be driven in a closed scene.
  • Closed scenes can be set, for example, by limited scenes, limited routes, limited ranges, typically for example a closed campus with limited coverage, where the routes that can be traveled end-to-end are also limited and can be encountered It is also limited.
  • the data collection route is a closed loop route that travels in a closed scene, ie the start and end points are the same.
  • the data collection route may be an end-to-end route in a closed scene where the start and end points are different, but the travel time of the straight and curved roads is estimated to be 1:1.
  • a plurality of data acquisition routes may be preset to subsequently respectively preset the respective data according to the actual driving data.
  • the data collection route is corrected to select one route from the plurality of data acquisition routes obtained after the correction as the final data collection route.
  • step S2 the computer device records a plurality of actual driving data of the preset data collection route, wherein each actual driving data includes respective driving times of the straight road and the curved road.
  • the actual number of travels of the preset data collection route may be set according to a predetermined number of times, or set according to a predetermined period.
  • the actual number of travels is set to 10 times
  • the driver travels 10 times according to the preset data collection route
  • the computer equipment records the travel data of the 10 travels, wherein each travel time includes a straight line in the preset data acquisition route. The driving time of each corner.
  • the computer device can correct the preset data acquisition route according to the 10 actual driving data.
  • the predetermined period is set to be daily
  • the driver travels multiple times per day according to the preset data collection route
  • the computer device records the driving data for each driving in one day, wherein each driving time includes the respective driving time of the straight road and the curved road. Subsequently, the computer device can correct the preset data collection route according to the actual driving data in the day.
  • the number of times and the period can be set at the same time. For example, if the driver travels 10 times a day, the driver travels 10 times a day according to the preset data collection route, and the computer device records the driving data for each driving in one day, wherein each driving time includes a straight road and The driving time of each corner. Subsequently, the computer device can correct the preset data acquisition route according to the 10 actual driving data every day.
  • step S3 the computer device corrects the preset data collection route according to the actual driving data of the preset data collection route, so that the traveling time ratio of the straight track and the curve converges to 1:1.
  • the curve line in the data collecting route for example, increase the curvature of the circular line
  • the straight line in the data acquisition route such as the length of the straight line
  • the curved line includes a plurality of circular arc lines and a plurality of horn spirals, wherein each circular arc or horn spiral includes one or more arc segments having corresponding speed limit requirements, and the adjustment of the curved line includes Any of the following:
  • the turning radius and/or curvature of the circular arc line may be increased to lengthen the curved length.
  • the horn spiral is used as part of the curve to make a transition between a straight line and a circular line or between two circular lines.
  • the curvature of the spiral of the horn can be increased to lengthen the curve.
  • the straight line includes a plurality of straight lines, wherein each straight line includes one or more straight line segments having respective speed limit requirements, and the adjustment of the straight line includes adjusting the length and/or direction of the straight line.
  • the length of the straight line may be increased to lengthen the curved road length.
  • Stretching of a straight line can be done by adjusting the length and/or direction. For example, keep the direction of a straight line and stretch its length directly.
  • the starting point of a straight line is a fixed point, and the direction is fine-tuned, and the length of the straight line can also be stretched.
  • the adjustment of straight or curved roads combines geometrical calculations so that the travel time ratio of straight or curved roads can finally converge to 1:1. Adjustments to any line segment on the data acquisition route may result in adjustments to other connected line segments and may even need to be reconnected to one or more new line segments. Moreover, due to the adjustment of the straight line, the circular arc line or the horn spiral, a new speed control point will be generated on the data acquisition route, and the straight line segments and arc segments thus divided and their respective speed weights.
  • the computer device counts the plurality of actual travel times obtained in step S2 for correction judgment.
  • the computer equipment can average the straight travel time and the curve travel time in 10 trips to obtain the average travel time of the straight lane and the average travel time of the curve, thereby determining which of the two has a shorter average travel time. In order to increase the proportion of their travel time.
  • This averaging method can effectively denoise, ie filter out the noise in these actual driving times.
  • the computer equipment can select the actual driving route when the running time of the straight road and the curve is relatively closer to 1:1 according to the actual driving time, and use the actual driving route as the modified collecting route to perform the data collecting route. Corrected so that the travel time ratio of straight and curved roads converges to 1:1.
  • the correction of the data acquisition route is iterative.
  • the multiple actual travel data recorded in step S2 is used in step S3 to travel the data acquisition route toward the straight road and the curve.
  • the time is corrected by 1:1, and then proceeds to the next correction process, and the plurality of actual travel data newly recorded in step S2 is used again for the travel time ratio of the data acquisition route to the straight track and the curve in step S3 is 1:1.
  • the correction of the data acquisition route is always performed toward the actual 1:1, and the iteration correction of the data acquisition route makes the travel time ratio of the straight track and the curve in the final data acquisition route converge to 1:1.
  • FIG. 3 shows a schematic diagram of a device in accordance with one embodiment of the present invention, specifically showing an apparatus for determining a data acquisition route for collecting training data for autonomous driving.
  • the route determining device 300 is installed in a computer device, and further includes a route obtaining device 301, a data recording device 302, and a route correcting device 303.
  • the route obtaining device 301 acquires a preset data collection route, wherein the travel time ratio of the straight track and the curve is estimated to be 1:1; the data recording device 302 records the plurality of actual travel data of the data collection route, wherein each time The actual travel data includes the respective travel times of the straight lanes and the curved lanes; the route correction device 303 corrects the data acquisition route based on the actual travel data so that the travel time ratio converges to 1:1.
  • the route obtaining device 301 acquires a preset data collection route, wherein the travel time ratio of the straight track to the curve is estimated to be 1:1.
  • the presupposition of the data collection route can be performed by any computing device having route planning capabilities, such as the computer device of the present invention.
  • the data collection route can also be preset by experience based on experience, for example, an experienced driver predetermines the travel time of the straight track and the curve compared to the estimated data acquisition route of 1:1, such as manual setting. Multiple track points, the computer device fits these track points to get a data acquisition route.
  • the driving route of the vehicle is a second-order guideable smooth curve, so the data acquisition route can be mathematically modeled as a combination of straight-arc-sprung spiral.
  • the data acquisition route includes straight roads and curved roads.
  • the straight roads are characterized by straight lines.
  • the curved roads are characterized by circular arc lines and snail spirals.
  • the horn spirals are used to connect two circular arc lines and circular arc lines and straight lines.
  • the straight track may include a plurality of straight lines, and a straight line may be further divided into a plurality of straight line segments, wherein each straight line segment has different speed limit requirements, for example, a line from A to B, and C is a line on the line.
  • the maximum speed limit of the straight line AC is 80 km/h
  • the maximum speed limit of the straight line CB is 60 km/h.
  • the curve may also include a plurality of arc lines and a snail spiral, and an arc line or a snail spiral may be further divided into a plurality of arc segments, each of which also has a different limit. Speed requirements.
  • the present invention obtains balanced training data for various models of automatic driving, and the data collection route for training data acquisition can be driven in a closed scene.
  • Closed scenes can be set, for example, by limited scenes, limited routes, limited ranges, typically for example a closed campus with limited coverage, where the routes that can be traveled end-to-end are also limited and can be encountered It is also limited.
  • the data collection route is a closed loop route that travels in a closed scene, that is, the start and end points are the same.
  • the data collection route may be an end-to-end route in a closed scene where the start and end points are different, but the travel time of the straight and curved roads is estimated to be 1:1.
  • a plurality of data acquisition routes may be preset to subsequently respectively preset the respective data according to the actual driving data.
  • the data collection route is corrected to select one route from the plurality of data acquisition routes obtained after the correction as the final data collection route.
  • the data recording device 302 records a plurality of actual travel data of the preset data collection route, wherein each actual travel data includes the respective travel times of the straight lane and the curve.
  • the actual number of travels of the preset data collection route may be set according to a predetermined number of times, or set according to a predetermined period.
  • the actual number of travels is set to 10 times
  • the driver travels 10 times according to the preset data collection route
  • the data recording device 302 records the travel data of the 10 travels, wherein each travel time includes the preset data acquisition route.
  • the route correction device 303 can correct the preset data acquisition route based on the 10 actual travel data.
  • the predetermined period is set to be daily
  • the driver travels multiple times per day according to the preset data collection route
  • the data recording device 302 records the driving data for each driving in one day, wherein each driving time includes the respective driving of the straight road and the curved road. time.
  • the route correction device 303 can correct the preset data collection route according to the actual travel data in the plurality of times per day.
  • the number of times and the period can be set at the same time. For example, if the driver travels 10 times a day, the driver travels 10 times a day according to the preset data collection route, and the data recording device 302 records the driving data for each driving in one day, wherein each driving time includes The travel time of straight and curved roads. Subsequently, the route correction device 303 can correct the preset data acquisition route based on the 10 actual travel data per day.
  • the route correction device 303 corrects the preset data acquisition route according to the actual travel data of the preset data acquisition route, so that the travel time ratio of the straight track and the curve converges to 1:1.
  • the curve line in the data collecting route for example, increase the curvature of the circular line
  • the straight line in the data acquisition route such as the length of the straight line
  • the curved line includes a plurality of circular arc lines and a plurality of horn spirals, wherein each circular arc or horn spiral includes one or more arc segments having corresponding speed limit requirements, and the adjustment of the curved line includes Any of the following:
  • the turning radius and/or curvature of the circular arc line may be increased to lengthen the curved length.
  • the horn spiral is used as part of the curve to make a transition between a straight line and a circular line or between two circular lines.
  • the curvature of the spiral of the horn can be increased to lengthen the curve.
  • the straight line includes a plurality of straight lines, wherein each straight line includes one or more straight line segments having respective speed limit requirements, and the adjustment of the straight line includes adjusting the length and/or direction of the straight line.
  • the length of the straight line may be increased to lengthen the curved road length.
  • Stretching of a straight line can be done by adjusting the length and/or direction. For example, keep the direction of a straight line and stretch its length directly.
  • the starting point of a straight line is a fixed point, and the direction is fine-tuned, and the length of the straight line can also be stretched.
  • the adjustment of straight or curved roads combines geometrical calculations so that the travel time ratio of straight or curved roads can finally converge to 1:1. Adjustments to any of the line segments on the data acquisition route may result in adjustments to other connected line segments and may even need to be reconnected to one or more new line segments. Moreover, due to the adjustment of the straight line, the circular arc line or the horn spiral, a new speed control point will be generated on the data acquisition route, and the straight line segments and arc segments thus divided and their respective speed weights.
  • the route correction means 303 counts the plurality of actual travel times obtained by the route correction means 303 for correction determination.
  • the route correction device 303 can average the straight travel time and the curved travel time of the 10 travels to obtain the average travel time of the straight lane and the average travel time of the curve, thereby determining which of the two is the average travel time. Shorter in order to increase the proportion of their travel time. This averaging method can effectively denoise, ie filter out the noise in these actual driving times.
  • the route correction device 303 can select the actual travel route when the travel time of the straight lane and the curve is relatively closer to 1:1 according to the actual travel time, and use the actual travel route as the modified acquisition route to collect data.
  • the route is corrected so that the travel time ratio of the straight track to the curve converges to 1:1.
  • the correction of the data acquisition route is iterative.
  • the plurality of actual travel data recorded by the data recording device 302 is used by the route correction device 303 to face the data acquisition route toward the straight track and the curve.
  • the travel time is corrected by 1:1, and then proceeds to the next correction process, and the plurality of actual travel data newly recorded by the data recording device 302 is again used by the route correction device 303 to compare the travel time of the data acquisition route toward the straight track and the curve.
  • the correction of the data acquisition route is always performed toward the actual 1:1, and the iteration correction of the data acquisition route makes the travel time ratio of the straight track and the curve in the final data acquisition route converge to 1:1.
  • the present invention can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device.
  • the software program of the present invention may be executed by a processor to implement the steps or functions described above.
  • the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
  • some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions .
  • a portion of the invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or solution in accordance with the present invention.
  • the program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run.
  • an embodiment in accordance with the present invention includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering
  • the apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present invention.

Abstract

Provided are a method and device for determining a data collection line for collecting automatic drive training data. The method comprises: acquiring by a computer device a preconfigured data collection line, the driving time ratio of a straightway to a curve being estimated to be 1:1; recording actual driving data of multiple times of the data collection line, the actual driving data of each time comprising the respective driving time of the straightway and the curve; and according to the actual driving data, amending the data collection line so as to converge the driving time ratio to 1: 1. By planning the data collection line, the uniformity of end-to-end automatic driving training data is improved.

Description

一种确定数据采集路线的方法与装置Method and device for determining data acquisition route
本专利申请要求于2017年9月5日提交的、申请号为201710792219.3、申请人为百度在线网络技术(北京)有限公司、发明名称为“一种确定数据采集路线的方法与装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。This patent application claims Chinese patent application filed on September 5, 2017, with the application number 201710792219.3, the applicant is Baidu Online Network Technology (Beijing) Co., Ltd., and the invention name is "a method and device for determining the data collection route". The priority of this application is hereby incorporated by reference in its entirety.
技术领域Technical field
本发明涉及自动驾驶技术领域,尤其涉及一种确定用于采集自动驾驶的训练数据的数据采集路线的技术。The present invention relates to the field of autonomous driving technologies, and in particular, to a technique for determining a data acquisition route for collecting training data for automatic driving.
背景技术Background technique
现有的端到端自动驾驶的模型训练中,为训练模型所提供的训练数据均是采用单一或多个固定采集路线,这些采集路线未考虑弯道和直道之间数据不均衡的影响,如过弯速度慢,弯道少,直道速度快,直道长,这些均会引起严重的数据不均衡的问题。采集到的弯道数据与直道数据不均衡,对端对端模型训练是致命的。In the existing end-to-end automatic driving model training, the training data provided for the training model is based on single or multiple fixed acquisition routes. These acquisition routes do not take into account the influence of data imbalance between the curve and the straight channel, such as The cornering speed is slow, the corners are small, the straight speed is fast, and the straight path is long, which causes serious data imbalance. The collected curve data and the straight track data are not balanced, which is fatal to the end-to-end model training.
发明内容Summary of the invention
本发明的目的是提供一种确定用于采集自动驾驶的训练数据的数据采集路线的方法、装置以及计算机设备、计算机可读存储介质与计算机程序产品。It is an object of the present invention to provide a method, apparatus and computer apparatus, computer readable storage medium and computer program product for determining a data acquisition route for collecting training data for autonomous driving.
根据本发明的一个方面,提供了一种确定数据采集路线的方法,所述数据采集路线用于采集自动驾驶的训练数据,其中,该方法包括:According to an aspect of the present invention, a method for determining a data collection route for collecting training data for automatic driving is provided, wherein the method includes:
获取预设的数据采集路线,其中直道与弯道的行驶时间比预估为1:1;Obtain a preset data collection route, wherein the travel time of the straight road and the curve is estimated to be 1:1;
记录所述数据采集路线的多次实际行驶数据,其中每次实际行驶数据包括直道与弯道各自的行驶时间;Recording a plurality of actual driving data of the data collection route, wherein each actual driving data includes a respective driving time of the straight road and the curved road;
根据所述实际行驶数据,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The data acquisition route is corrected based on the actual travel data to converge the travel time ratio to 1:1.
根据本发明的一个方面,还提供了一种确定数据采集路线的装置,所述数据采集路线用于采集自动驾驶的训练数据,其中,该装置包括:According to an aspect of the present invention, there is also provided an apparatus for determining a data collection route for collecting training data of an automatic driving, wherein the apparatus comprises:
用于获取预设的数据采集路线的装置,其中直道与弯道的行驶时间比预估为1:1;Means for obtaining a preset data acquisition route, wherein the travel time of the straight track and the curve is estimated to be 1:1;
用于记录所述数据采集路线的多次实际行驶数据的装置,其中每次实际行驶数据包括直道与弯道各自的行驶时间;Means for recording a plurality of actual driving data of the data collection route, wherein each actual driving data includes a respective driving time of a straight road and a curved road;
用于根据所述实际行驶数据,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1的装置。And means for correcting the data acquisition route according to the actual driving data to make the driving time ratio converge to 1:1.
根据本发明的一个方面,还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现根据本发明的一个方面的一种确定数据采集路线的方法。According to an aspect of the present invention, a computer apparatus is provided, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program according to A method of determining a data collection route in accordance with an aspect of the present invention.
根据本发明的一个方面,还提供了一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现根据本发明的一个方面的一种确定数据采集路线的方法。According to an aspect of the present invention, there is also provided a computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements a determination data acquisition route in accordance with an aspect of the present invention Methods.
根据本发明的一个方面,还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时实现根据本发明的一个方面的一种确定数据采集路线的方法。According to an aspect of the present invention, there is also provided a computer program product, when the computer program product is executed by a computer device, implementing a method of determining a data collection route in accordance with an aspect of the present invention.
与现有技术相比,本发明采用了动态修正的数据采集路线,这是一种是全新的尝试,其中运用到如曲线拟合、投影、连接技术,是计算几何学领域在端对端自动驾驶工程领域的开创性的结合。本发明通过规划数据采集路线,提高了端对端自动驾驶训练数据的均匀性,进而提高了训练出的驾驶模型的能力,使得自动驾驶的稳定性与安全性都获得了大幅提升。Compared with the prior art, the present invention adopts a dynamically modified data acquisition route, which is a brand-new attempt, which is applied to such as curve fitting, projection, and connection technology, which is an end-to-end automatic in the field of computational geometry. A groundbreaking combination in the field of driving engineering. By planning the data collection route, the invention improves the uniformity of the end-to-end automatic driving training data, thereby improving the ability of the trained driving model, and the stability and safety of the automatic driving are greatly improved.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present invention will become more apparent from the Detailed Description of Description
图1示出适于用来实现本发明实施方式的示例性计算机系统/服务器12的框图;1 shows a block diagram of an exemplary computer system/server 12 suitable for implementing embodiments of the present invention;
图2示出根据本发明一个实施例的一种确定用于采集自动驾驶的训练数据的数据采集路线的方法流程图;2 illustrates a flow chart of a method of determining a data acquisition route for acquiring training data for automated driving, in accordance with one embodiment of the present invention;
图3示出根据本发明另一个实施例的一种确定用于采集自动驾驶的训练数据的数据采集路线的装置示意图。3 shows a schematic diagram of an apparatus for determining a data acquisition route for collecting training data for automatic driving, in accordance with another embodiment of the present invention.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
具体实施方式Detailed ways
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe various operations as a sequential process, many of the operations can be implemented in parallel, concurrently or concurrently. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
在上下文中所称“计算机设备”,是指可以通过运行预定程序或指令来执行数值计算和/或逻辑计算等预定处理过程的智能电子设备,其可以包括处理器与存储器,由处理器执行在存储器中预存的程序指令来执行预定处理过程,或是由ASIC、FPGA、DSP等硬件执行预定处理过程,或是由上述二者组合来实现。计算机设备包括但不限于服务器、个人计算机(PC)、笔记本电脑、平板电脑、智能手机等。By "computer device" in this context is meant an intelligent electronic device that can perform predetermined processing, such as numerical calculations and/or logical calculations, by running a predetermined program or instruction, which can include a processor and a memory, executed by the processor The program instructions pre-stored in the memory are used to execute a predetermined process, or are executed by hardware such as an ASIC, an FPGA, a DSP, or the like, or a combination of the two. Computer devices include, but are not limited to, servers, personal computers (PCs), notebook computers, tablets, smart phones, and the like.
所述计算机设备例如包括用户设备与网络设备。其中,所述用户设备包括但不限于个人计算机(PC)、笔记本电脑、移动终端等,所述移动终端包括但不限于智能手机、PDA等;所述网络设备包括但不 限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。其中,所述计算机设备可单独运行来实现本发明,也可接入网络并通过与网络中的其他计算机设备的交互操作来实现本发明。其中,所述计算机设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。The computer device includes, for example, a user device and a network device. The user equipment includes, but is not limited to, a personal computer (PC), a notebook computer, a mobile terminal, etc., and the mobile terminal includes but is not limited to a smart phone, a PDA, etc.; the network device includes but is not limited to a single network server, and more A network of server servers or a cloud-based cloud consisting of a large number of computers or network servers, where cloud computing is a type of distributed computing, a super-virtual set of a loosely coupled set of computers. computer. Wherein, the computer device can be operated separately to implement the present invention, and can also access the network and implement the present invention by interacting with other computer devices in the network. The network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
需要说明的是,所述用户设备、网络设备和网络等仅为举例,其他现有的或今后可能出现的计算机设备或网络如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。It should be noted that the user equipment, the network equipment, the network, and the like are merely examples, and other existing or future possible computer equipment or networks, such as those applicable to the present invention, are also included in the scope of the present invention. It is included here by reference.
本文后面所讨论的方法(其中一些通过流程图示出)可以通过硬件、软件、固件、中间件、微代码、硬件描述语言或者其任意组合来实施。当用软件、固件、中间件或微代码来实施时,用以实施必要任务的程序代码或代码段可以被存储在机器或计算机可读介质(比如存储介质)中。(一个或多个)处理器可以实施必要的任务。The methods discussed later herein, some of which are illustrated by flowcharts, can be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to carry out the necessary tasks can be stored in a machine or computer readable medium, such as a storage medium. The processor(s) can perform the necessary tasks.
这里所公开的具体结构和功能细节仅仅是代表性的,并且是用于描述本发明的示例性实施例的目的。但是本发明可以通过许多替换形式来具体实现,并且不应当被解释成仅仅受限于这里所阐述的实施例。The specific structural and functional details disclosed are merely representative and are for the purpose of describing exemplary embodiments of the invention. The present invention may, however, be embodied in many alternative forms and should not be construed as being limited only to the embodiments set forth herein.
应当理解的是,虽然在这里可能使用了术语“第一”、“第二”等等来描述各个单元,但是这些单元不应当受这些术语限制。使用这些术语仅仅是为了将一个单元与另一个单元进行区分。举例来说,在不背离示例性实施例的范围的情况下,第一单元可以被称为第二单元,并且类似地第二单元可以被称为第一单元。这里所使用的术语“和/或”包括其中一个或更多所列出的相关联项目的任意和所有组合。It should be understood that although the terms "first," "second," etc. may be used herein to describe the various elements, these elements should not be limited by these terms. These terms are used only to distinguish one unit from another. For example, a first unit could be termed a second unit, and similarly a second unit could be termed a first unit, without departing from the scope of the exemplary embodiments. The term "and/or" used herein includes any and all combinations of one or more of the associated listed items.
这里所使用的术语仅仅是为了描述具体实施例而不意图限制示例性实施例。除非上下文明确地另有所指,否则这里所使用的单数形式“一个”、“一项”还意图包括复数。还应当理解的是,这里所使用的术语“包括”和/或“包含”规定所陈述的特征、整数、步骤、操作、 单元和/或组件的存在,而不排除存在或添加一个或更多其他特征、整数、步骤、操作、单元、组件和/或其组合。The terminology used herein is for the purpose of describing the particular embodiments, The singular forms "a", "an", It is also to be understood that the terms "comprises" and / or "comprising", "the", "the" Other features, integers, steps, operations, units, components, and/or combinations thereof.
还应当提到的是,在一些替换实现方式中,所提到的功能/动作可以按照不同于附图中标示的顺序发生。举例来说,取决于所涉及的功能/动作,相继示出的两幅图实际上可以基本上同时执行或者有时可以按照相反的顺序来执行。It should also be noted that in some alternative implementations, the functions/acts noted may occur in a different order than that illustrated in the drawings. For example, two figures shown in succession may in fact be executed substantially concurrently or sometimes in the reverse order, depending on the function/acts involved.
下面结合附图对本发明作进一步详细描述。The invention is further described in detail below with reference to the accompanying drawings.
图1示出了适于用来实现本发明实施方式的示例性计算机系统/服务器12的框图。图1显示的计算机系统/服务器12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 1 illustrates a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present invention. The computer system/server 12 shown in FIG. 1 is merely an example and should not impose any limitation on the function and scope of use of the embodiments of the present invention.
如图1所示,计算机系统/服务器12以通用计算设备的形式表现。计算机系统/服务器12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 1, computer system/server 12 is embodied in the form of a general purpose computing device. The components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and bus 18 that connects different system components, including system memory 28 and processing unit 16.
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。 Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA Bus, a Video Electronics Standards Association (VESA) local bus, and peripheral component interconnects ( PCI) bus.
计算机系统/服务器12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机系统/服务器12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 12, including both volatile and non-volatile media, removable and non-removable media.
存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机系统/服务器12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写 不可移动的、非易失性磁介质(图1未示出,通常称为“硬盘驱动器”)。尽管图1中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。 Memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in Figure 1, commonly referred to as "hard disk drives"). Although not shown in FIG. 1, a disk drive for reading and writing to a removable non-volatile disk (such as a "floppy disk"), and a removable non-volatile disk (such as a CD-ROM, DVD-ROM) may be provided. Or other optical media) read and write optical drive. In these cases, each drive can be coupled to bus 18 via one or more data medium interfaces. Memory 28 can include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more applications, other programs Modules and program data, each of these examples or some combination may include an implementation of a network environment. Program module 42 typically performs the functions and/or methods of the described embodiments of the present invention.
计算机系统/服务器12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机系统/服务器12交互的设备通信,和/或与使得该计算机系统/服务器12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机系统/服务器12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机系统/服务器12的其它模块通信。应当明白,尽管图1中未示出,可以结合计算机系统/服务器12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Computer system/server 12 may also be in communication with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and may also be in communication with one or more devices that enable a user to interact with the computer system/server 12. And/or in communication with any device (e.g., network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. This communication can take place via an input/output (I/O) interface 22. Also, computer system/server 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through network adapter 20. As shown, network adapter 20 communicates with other modules of computer system/server 12 via bus 18. It should be understood that although not shown in FIG. 1, other hardware and/or software modules may be utilized in conjunction with computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems. , tape drives, and data backup storage systems.
处理单元16通过运行存储在存储器28中的程序,从而执行各种功能应用以及数据处理。Processing unit 16 executes various functional applications and data processing by running programs stored in memory 28.
例如,存储器28中存储有用于执行本发明的各项功能和处理的计算机程序,处理单元16执行相应计算机程序时,本发明在网络端 对来电意图的识别被实现。For example, the memory 28 stores therein a computer program for performing the functions and processes of the present invention, and when the processing unit 16 executes the corresponding computer program, the identification of the incoming call intention at the network side by the present invention is implemented.
以下将详细描述本发明确定用于采集自动驾驶的训练数据的数据采集路线的具体功能/步骤。The specific functions/steps of the present invention for determining a data acquisition route for collecting training data for autonomous driving will be described in detail below.
图2示出根据本发明一个实施例的方法流程图,其具体示出一种确定用于采集自动驾驶的训练数据的数据采集路线的过程。2 shows a method flow diagram in accordance with one embodiment of the present invention, which specifically illustrates a process for determining a data acquisition route for acquiring training data for automated driving.
如图2所示,在步骤S1中,计算机设备获取预设的数据采集路线,其中直道与弯道的行驶时间比预估为1:1;在步骤S2中,计算机设备记录所述数据采集路线的多次实际行驶数据,其中每次实际行驶数据包括直道与弯道各自的行驶时间;在步骤S3中,计算机设备根据所述实际行驶数据,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。As shown in FIG. 2, in step S1, the computer device acquires a preset data collection route, wherein the travel time ratio of the straight track and the curve is estimated to be 1:1; in step S2, the computer device records the data collection route. a plurality of actual driving data, wherein each actual driving data includes respective driving times of the straight road and the curved road; in step S3, the computer device corrects the data collecting route according to the actual driving data, so that the The travel time ratio converges to 1:1.
具体地,在步骤S1中,计算机设备获取预设的数据采集路线,其中直道与弯道的行驶时间比预估为1:1。Specifically, in step S1, the computer device acquires a preset data collection route, wherein the travel time ratio of the straight track to the curve is estimated to be 1:1.
在此,为了最终获得直道与弯道的行驶时间比收敛至1:1的数据采集路线,从而能够从该数据采集路线采集到均衡的训练数据,用于自动驾驶模型的训练,在预设数据采集路线时,其中直道与弯道的行驶时间比预估为1:1。Here, in order to finally obtain a data acquisition route in which the travel time of the straight track and the curve converges to 1:1, it is possible to collect the balanced training data from the data acquisition route for the training of the automatic driving model, in the preset data. When collecting routes, the travel time between straight and curved roads is estimated to be 1:1.
对于数据采集路线的预设,可以由任何具有路线规划能力的计算设备来执行,例如本发明的计算机设备。可替代地,数据采集路线也可以由人工根据经验来预设,例如由有经验的驾驶员来预设直道与弯道的行驶时间比预估为1:1的数据采集路线,例如人工设定多个轨迹点,计算机设备将这些轨迹点拟合得到一条数据采集路线。The presupposition of the data collection route can be performed by any computing device having route planning capabilities, such as the computer device of the present invention. Alternatively, the data collection route can also be preset by experience based on experience, for example, an experienced driver predetermines the travel time of the straight track and the curve compared to the estimated data acquisition route of 1:1, such as manual setting. Multiple track points, the computer device fits these track points to get a data acquisition route.
车辆的行驶路线是二阶可导的光滑曲线,因此可以将数据采集路线数学建模成直线-圆弧-羊角螺线的组合。其中,数据采集路线包括直道和弯道,直道由直线来表征,弯道由圆弧线和羊角螺线来表征,羊角螺线用于连接两条圆弧线以及圆弧线与直线。The driving route of the vehicle is a second-order guideable smooth curve, so the data acquisition route can be mathematically modeled as a combination of straight-arc-sprung spiral. Among them, the data acquisition route includes straight roads and curved roads. The straight roads are characterized by straight lines. The curved roads are characterized by circular arc lines and snail spirals. The horn spirals are used to connect two circular arc lines and circular arc lines and straight lines.
进一步地,由于不同路段所要求的行驶速度是不一样的,如有些路 段有最低限速,有些路段有最高限速,当这些限速道路交通标志被投影到数据采集路线中,该数据采集路线上就产生了速度控制点,标志某段线路的最大速度或最低速度,并与所要求的速度正相关地给相应线路段赋上权重。Further, since the travel speeds required by different road sections are different, for example, some road sections have a minimum speed limit, and some road sections have a maximum speed limit. When these speed limit road traffic signs are projected into a data acquisition route, the data collection route is taken. A speed control point is generated to mark the maximum speed or the minimum speed of a certain line, and the corresponding line segment is weighted in a positive correlation with the required speed.
因此,直道可以包括多条直线,一条直线可能会被进一步分为多个直线段,其中每个直线段具有不同的限速要求,例如从A到B为一条直线,C为该直线上的一个速度控制点,直线段AC的最高限速为80公里/小时,而直线段CB的最高限速为60公里/小时。同样地,弯道也可以包括多条圆弧线和羊角螺线,一条圆弧线或羊角螺线也可能会被进一步分为多个弧线段,其中每个弧线段也具有不同的限速要求。Therefore, the straight track may include a plurality of straight lines, and a straight line may be further divided into a plurality of straight line segments, wherein each straight line segment has different speed limit requirements, for example, a line from A to B, and C is a line on the line. For the speed control point, the maximum speed limit of the straight line AC is 80 km/h, and the maximum speed limit of the straight line CB is 60 km/h. Similarly, the curve may also include a plurality of arc lines and a snail spiral, and an arc line or a snail spiral may be further divided into a plurality of arc segments, each of which also has a different limit. Speed requirements.
在此,本发明是为自动驾驶的各种模型获得均衡的训练数据,用于训练数据采集的数据采集路线可以是在封闭场景中行驶的。封闭场景例如可以通过有限场景、有限路线、有限范围来进行设定,典型地例如一个封闭园区,其覆盖范围有限,其中端到端之间可以行驶的路线也是有限的,并且能够遇到的场景也是有限的。Here, the present invention obtains balanced training data for various models of automatic driving, and the data collection route for training data acquisition can be driven in a closed scene. Closed scenes can be set, for example, by limited scenes, limited routes, limited ranges, typically for example a closed campus with limited coverage, where the routes that can be traveled end-to-end are also limited and can be encountered It is also limited.
典型地,数据采集路线为一条在封闭场景中行驶的闭环路线,也即起点和终点相同。可替代地,数据采集路线可以是在封闭场景中的一条端到端的路线,其中起点和终点不同,但直道与弯道的行驶时间比预估为1:1。Typically, the data collection route is a closed loop route that travels in a closed scene, ie the start and end points are the same. Alternatively, the data collection route may be an end-to-end route in a closed scene where the start and end points are different, but the travel time of the straight and curved roads is estimated to be 1:1.
此外,本发明中,为了最终获得直道与弯道的行驶时间比收敛至1:1的数据采集路线,可以预设多条数据采集路线,以随后按照各自的实际行驶数据来分别对这些预设的数据采集路线进行修正,从而从修正后获得的多条数据采集路线中选择一条路线作为最终的数据采集路线。In addition, in the present invention, in order to finally obtain a data acquisition route in which the travel time of the straight track and the curve converges to 1:1, a plurality of data acquisition routes may be preset to subsequently respectively respectively preset the respective data according to the actual driving data. The data collection route is corrected to select one route from the plurality of data acquisition routes obtained after the correction as the final data collection route.
在步骤S2中,计算机设备记录预设数据采集路线的多次实际行驶数据,其中每次实际行驶数据包括直道与弯道各自的行驶时间。In step S2, the computer device records a plurality of actual driving data of the preset data collection route, wherein each actual driving data includes respective driving times of the straight road and the curved road.
在此,预设数据采集路线的实际行驶次数可以按照预定次数来设置的,或按照预定周期来设置的。Here, the actual number of travels of the preset data collection route may be set according to a predetermined number of times, or set according to a predetermined period.
例如,实际行驶次数设置为10次,驾驶员按照预设数据采集路线行 驶10次,计算机设备记录这10次行驶的行驶数据,其中,每次行驶的时间均包括预设数据采集路线中直道与弯道各自的行驶时间。随后,计算机设备可以根据这10次实际行驶数据来对预设数据采集路线进行修正。For example, the actual number of travels is set to 10 times, the driver travels 10 times according to the preset data collection route, and the computer equipment records the travel data of the 10 travels, wherein each travel time includes a straight line in the preset data acquisition route. The driving time of each corner. Subsequently, the computer device can correct the preset data acquisition route according to the 10 actual driving data.
又如,预定周期设置为每天,驾驶员按照预设数据采集路线每天行驶多次,计算机设备记录1天中每次行驶的行驶数据,其中每次行驶时间包括直道与弯道各自的行驶时间。随后,计算机设备可以根据每天中多次实际行驶数据来对预设数据采集路线进行修正。For another example, the predetermined period is set to be daily, the driver travels multiple times per day according to the preset data collection route, and the computer device records the driving data for each driving in one day, wherein each driving time includes the respective driving time of the straight road and the curved road. Subsequently, the computer device can correct the preset data collection route according to the actual driving data in the day.
再如,可以同时设置次数和周期,如每天行驶10次,驾驶员按照预设数据采集路线每天行驶10次,计算机设备记录1天中每次行驶的行驶数据,其中每次行驶时间包括直道与弯道各自的行驶时间。随后,计算机设备可以根据每天这10次实际行驶数据来对预设数据采集路线进行修正。For another example, the number of times and the period can be set at the same time. For example, if the driver travels 10 times a day, the driver travels 10 times a day according to the preset data collection route, and the computer device records the driving data for each driving in one day, wherein each driving time includes a straight road and The driving time of each corner. Subsequently, the computer device can correct the preset data acquisition route according to the 10 actual driving data every day.
在此,对预设数据采集路线的实际行驶需要引入人工行驶来获得更真实和合理的行驶数据。人工驾驶无法严格按照数据采集路线来行驶,总是不可避免如向左或向右有所偏离,这恰恰可以给数据采集路线的修正带来可能和指引。Here, the actual driving of the preset data collection route needs to introduce manual driving to obtain more realistic and reasonable driving data. Manual driving can't strictly follow the data collection route. It is always inevitable to deviate to the left or right. This can bring the possibility and guidance to the correction of the data collection route.
在步骤S3中,计算机设备根据预设数据采集路线的实际行驶数据,对预设数据采集路线进行修正,以使其中直道与弯道的行驶时间比收敛至1:1。In step S3, the computer device corrects the preset data collection route according to the actual driving data of the preset data collection route, so that the traveling time ratio of the straight track and the curve converges to 1:1.
在此,如果实际行驶中直道的行驶时间比弯道的行驶时间长,调整数据采集路线中的弯道线路,例如,增加圆弧线的曲率;如果实际行驶中弯道的行驶时间比直道的行驶时间长,调整数据采集路线中的直道线路,例如拉伸直道的长度。Here, if the running time of the straight road in the actual running is longer than the running time of the curved road, adjust the curve line in the data collecting route, for example, increase the curvature of the circular line; if the running time of the curved road is actually straighter than the straight running Travel long time, adjust the straight line in the data acquisition route, such as the length of the straight line.
其中,弯道线路包括多条圆弧线和多条羊角螺线,其中每条圆弧线或羊角螺线包括一条或多条具有相应限速要求的弧线段,对弯道线路的调整包括以下任一项:The curved line includes a plurality of circular arc lines and a plurality of horn spirals, wherein each circular arc or horn spiral includes one or more arc segments having corresponding speed limit requirements, and the adjustment of the curved line includes Any of the following:
1)调整圆弧线的转弯半径和/或曲率;1) adjusting the turning radius and/or curvature of the circular arc;
例如,当弯道的行驶时间比直道的行驶时间短,此时需要增加弯道的长度,则可以增加其中圆弧线的转弯半径和/或曲率来拉长弯道长度。For example, when the running time of the curve is shorter than the running time of the straight road, and the length of the curve needs to be increased at this time, the turning radius and/or curvature of the circular arc line may be increased to lengthen the curved length.
2)调整羊角螺线的曲率。2) Adjust the curvature of the snail spiral.
羊角螺线作为弯道的组成部分,用于在直线与圆弧线之间或两条圆弧线之间进行过渡。当弯道的行驶时间比直道的行驶时间短,则可以增加其中羊角螺线的曲率来拉长弯道长度。The horn spiral is used as part of the curve to make a transition between a straight line and a circular line or between two circular lines. When the travel time of the curve is shorter than the travel time of the straight road, the curvature of the spiral of the horn can be increased to lengthen the curve.
其中,直道线路包括多条直线,其中每条直线包括一条或多条具有相应限速要求的直线段,对直道线路的调整包括调整直线的长度和/或方向。Wherein, the straight line includes a plurality of straight lines, wherein each straight line includes one or more straight line segments having respective speed limit requirements, and the adjustment of the straight line includes adjusting the length and/or direction of the straight line.
例如,当直道的行驶时间比弯道的行驶时间短,此时需要增加直道的长度,则可以增加其中直线的长度来拉长弯道长度。For example, when the running time of the straight road is shorter than the running time of the curved road, and the length of the straight road needs to be increased at this time, the length of the straight line may be increased to lengthen the curved road length.
对直线的拉伸可以通过调整长度和/或方向来进行。例如,保持一条直线的方向不变,直接拉伸其长度。又如,以一条直线的起点为固定点,微调其方向,同时也可以拉伸该直线的长度。Stretching of a straight line can be done by adjusting the length and/or direction. For example, keep the direction of a straight line and stretch its length directly. For another example, the starting point of a straight line is a fixed point, and the direction is fine-tuned, and the length of the straight line can also be stretched.
在此,对直道或弯道的调整,结合了几何计算学,使得直道或弯道的行驶时间比最终可以收敛至1:1。对数据采集路线上任一条线路段的调整,都可能会导致其他相连接线路段的调整,甚至需要重新与一条或多条新线路段相连接。并且,由于直线、圆弧线或羊角螺线的调整,数据采集路线上将产生新的速度控制点,以及由此分割的直线段和弧线段及其各自的速度权重。Here, the adjustment of straight or curved roads combines geometrical calculations so that the travel time ratio of straight or curved roads can finally converge to 1:1. Adjustments to any line segment on the data acquisition route may result in adjustments to other connected line segments and may even need to be reconnected to one or more new line segments. Moreover, due to the adjustment of the straight line, the circular arc line or the horn spiral, a new speed control point will be generated on the data acquisition route, and the straight line segments and arc segments thus divided and their respective speed weights.
此外,计算机设备对步骤S2中获得的多次实际行驶时间进行统计,以用于修正判断。Further, the computer device counts the plurality of actual travel times obtained in step S2 for correction judgment.
例如,计算机设备可以对10次行驶中直道行驶时间和弯道行驶时间分别求平均,以获得直道的平均行驶时间和弯道的平均行驶时间,从而确定两者中哪一个的平均行驶时间更短,以便增加其行驶时间占比。该求平均的方式可以有效去噪,即滤除这些实际行驶时间中的噪声。For example, the computer equipment can average the straight travel time and the curve travel time in 10 trips to obtain the average travel time of the straight lane and the average travel time of the curve, thereby determining which of the two has a shorter average travel time. In order to increase the proportion of their travel time. This averaging method can effectively denoise, ie filter out the noise in these actual driving times.
又如,计算机设备可以根据多次实际行驶时间来选择直道与弯道的行驶时间比相对更接近1:1时的实际行驶路线,并将该实际行驶路线作 为修正采集路线来对数据采集路线进行修正,以使其中直道与弯道的行驶时间比收敛至1:1。For another example, the computer equipment can select the actual driving route when the running time of the straight road and the curve is relatively closer to 1:1 according to the actual driving time, and use the actual driving route as the modified collecting route to perform the data collecting route. Corrected so that the travel time ratio of straight and curved roads converges to 1:1.
本发明中,对于数据采集路线的修正是迭代式的,在一次修正过程中,步骤S2中所记录的多次实际行驶数据在步骤S3中被用于对数据采集路线朝向直道与弯道的行驶时间比1:1进行修正,然后进入下一次修正过程,再次将步骤S2中新记录的多次实际行驶数据用于步骤S3中对数据采集路线朝向直道与弯道的行驶时间比1:1的新一轮修正,如此循环迭代,直至获得直道与弯道的行驶时间比收敛至1:1的数据采集路线。In the present invention, the correction of the data acquisition route is iterative. In one correction process, the multiple actual travel data recorded in step S2 is used in step S3 to travel the data acquisition route toward the straight road and the curve. The time is corrected by 1:1, and then proceeds to the next correction process, and the plurality of actual travel data newly recorded in step S2 is used again for the travel time ratio of the data acquisition route to the straight track and the curve in step S3 is 1:1. A new round of corrections, such a loop iteration, until the travel time of the straight and the curve is converged to a data acquisition route of 1:1.
在此,对数据采集路线的修正是始终朝向实际1:1进行的,通过对该数据采集路线的迭代修正,使得最终的数据采集路线中直道与弯道的行驶时间比收敛至1:1。Here, the correction of the data acquisition route is always performed toward the actual 1:1, and the iteration correction of the data acquisition route makes the travel time ratio of the straight track and the curve in the final data acquisition route converge to 1:1.
由于计算的误差和人为驾驶的不可避免的不稳定,根据所采集到数据弯道直道比例的统计,对数据采集路线进行微调,随着时间的推移,直道与弯道的行驶时间比最终会收敛至几乎1:1。Due to the calculation error and the inevitable instability of human driving, according to the statistics of the proportion of the straight roads collected, the data acquisition route is fine-tuned. As time goes by, the travel time ratio of straight and curved road will eventually converge. To almost 1:1.
图3示出根据本发明一个实施例的装置示意图,其具体示出一种确定用于采集自动驾驶的训练数据的数据采集路线的装置。3 shows a schematic diagram of a device in accordance with one embodiment of the present invention, specifically showing an apparatus for determining a data acquisition route for collecting training data for autonomous driving.
如图3所示,路线确定装置300装置于计算机设备中,并进一步包括路线获取装置301、数据记录装置302和路线修正装置303。As shown in FIG. 3, the route determining device 300 is installed in a computer device, and further includes a route obtaining device 301, a data recording device 302, and a route correcting device 303.
其中,路线获取装置301获取预设的数据采集路线,其中直道与弯道的行驶时间比预估为1:1;数据记录装置302记录所述数据采集路线的多次实际行驶数据,其中每次实际行驶数据包括直道与弯道各自的行驶时间;路线修正装置303根据所述实际行驶数据,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The route obtaining device 301 acquires a preset data collection route, wherein the travel time ratio of the straight track and the curve is estimated to be 1:1; the data recording device 302 records the plurality of actual travel data of the data collection route, wherein each time The actual travel data includes the respective travel times of the straight lanes and the curved lanes; the route correction device 303 corrects the data acquisition route based on the actual travel data so that the travel time ratio converges to 1:1.
具体地,路线获取装置301获取预设的数据采集路线,其中直道与弯道的行驶时间比预估为1:1。Specifically, the route obtaining device 301 acquires a preset data collection route, wherein the travel time ratio of the straight track to the curve is estimated to be 1:1.
在此,为了最终获得直道与弯道的行驶时间比收敛至1:1的数据采集路线,从而能够从该数据采集路线采集到均衡的训练数据,用于自动 驾驶模型的训练,在预设数据采集路线时,其中直道与弯道的行驶时间比预估为1:1。Here, in order to finally obtain a data acquisition route in which the travel time of the straight track and the curve converges to 1:1, it is possible to collect the balanced training data from the data acquisition route for the training of the automatic driving model, in the preset data. When collecting routes, the travel time between straight and curved roads is estimated to be 1:1.
对于数据采集路线的预设,可以由任何具有路线规划能力的计算设备来执行,例如本发明的计算机设备。可替代地,数据采集路线也可以由人工根据经验来预设,例如由有经验的驾驶员来预设直道与弯道的行驶时间比预估为1:1的数据采集路线,例如人工设定多个轨迹点,计算机设备将这些轨迹点拟合得到一条数据采集路线。The presupposition of the data collection route can be performed by any computing device having route planning capabilities, such as the computer device of the present invention. Alternatively, the data collection route can also be preset by experience based on experience, for example, an experienced driver predetermines the travel time of the straight track and the curve compared to the estimated data acquisition route of 1:1, such as manual setting. Multiple track points, the computer device fits these track points to get a data acquisition route.
车辆的行驶路线是二阶可导的光滑曲线,因此可以将数据采集路线数学建模成直线-圆弧-羊角螺线的组合。其中,数据采集路线包括直道和弯道,直道由直线来表征,弯道由圆弧线和羊角螺线来表征,羊角螺线用于连接两条圆弧线以及圆弧线与直线。The driving route of the vehicle is a second-order guideable smooth curve, so the data acquisition route can be mathematically modeled as a combination of straight-arc-sprung spiral. Among them, the data acquisition route includes straight roads and curved roads. The straight roads are characterized by straight lines. The curved roads are characterized by circular arc lines and snail spirals. The horn spirals are used to connect two circular arc lines and circular arc lines and straight lines.
进一步地,由于不同路段所要求的行驶速度是不一样的,如有些路段有最低限速,有些路段有最高限速,当这些限速道路交通标志被投影到数据采集路线中,该数据采集路线上就产生了速度控制点,标志某段线路的最大速度或最低速度,并与所要求的速度正相关地给相应线路段赋上权重。Further, since the travel speeds required by different road sections are different, for example, some road sections have a minimum speed limit, and some road sections have a maximum speed limit. When these speed limit road traffic signs are projected into a data acquisition route, the data collection route is taken. A speed control point is generated to mark the maximum speed or the minimum speed of a certain line, and the corresponding line segment is weighted in a positive correlation with the required speed.
因此,直道可以包括多条直线,一条直线可能会被进一步分为多个直线段,其中每个直线段具有不同的限速要求,例如从A到B为一条直线,C为该直线上的一个速度控制点,直线段AC的最高限速为80公里/小时,而直线段CB的最高限速为60公里/小时。同样地,弯道也可以包括多条圆弧线和羊角螺线,一条圆弧线或羊角螺线也可能会被进一步分为多个弧线段,其中每个弧线段也具有不同的限速要求。Therefore, the straight track may include a plurality of straight lines, and a straight line may be further divided into a plurality of straight line segments, wherein each straight line segment has different speed limit requirements, for example, a line from A to B, and C is a line on the line. For the speed control point, the maximum speed limit of the straight line AC is 80 km/h, and the maximum speed limit of the straight line CB is 60 km/h. Similarly, the curve may also include a plurality of arc lines and a snail spiral, and an arc line or a snail spiral may be further divided into a plurality of arc segments, each of which also has a different limit. Speed requirements.
在此,本发明是为自动驾驶的各种模型获得均衡的训练数据,用于训练数据采集的数据采集路线可以是在封闭场景中行驶的。封闭场景例如可以通过有限场景、有限路线、有限范围来进行设定,典型地例如一个封闭园区,其覆盖范围有限,其中端到端之间可以行驶的路线也是有限的,并且能够遇到的场景也是有限的。Here, the present invention obtains balanced training data for various models of automatic driving, and the data collection route for training data acquisition can be driven in a closed scene. Closed scenes can be set, for example, by limited scenes, limited routes, limited ranges, typically for example a closed campus with limited coverage, where the routes that can be traveled end-to-end are also limited and can be encountered It is also limited.
典型地,数据采集路线为一条在封闭场景中行驶的闭环路线,也即 起点和终点相同。可替代地,数据采集路线可以是在封闭场景中的一条端到端的路线,其中起点和终点不同,但直道与弯道的行驶时间比预估为1:1。Typically, the data collection route is a closed loop route that travels in a closed scene, that is, the start and end points are the same. Alternatively, the data collection route may be an end-to-end route in a closed scene where the start and end points are different, but the travel time of the straight and curved roads is estimated to be 1:1.
此外,本发明中,为了最终获得直道与弯道的行驶时间比收敛至1:1的数据采集路线,可以预设多条数据采集路线,以随后按照各自的实际行驶数据来分别对这些预设的数据采集路线进行修正,从而从修正后获得的多条数据采集路线中选择一条路线作为最终的数据采集路线。In addition, in the present invention, in order to finally obtain a data acquisition route in which the travel time of the straight track and the curve converges to 1:1, a plurality of data acquisition routes may be preset to subsequently respectively respectively preset the respective data according to the actual driving data. The data collection route is corrected to select one route from the plurality of data acquisition routes obtained after the correction as the final data collection route.
随后,数据记录装置302记录预设数据采集路线的多次实际行驶数据,其中每次实际行驶数据包括直道与弯道各自的行驶时间。Subsequently, the data recording device 302 records a plurality of actual travel data of the preset data collection route, wherein each actual travel data includes the respective travel times of the straight lane and the curve.
在此,预设数据采集路线的实际行驶次数可以按照预定次数来设置的,或按照预定周期来设置的。Here, the actual number of travels of the preset data collection route may be set according to a predetermined number of times, or set according to a predetermined period.
例如,实际行驶次数设置为10次,驾驶员按照预设数据采集路线行驶10次,数据记录装置302记录这10次行驶的行驶数据,其中,每次行驶的时间均包括预设数据采集路线中直道与弯道各自的行驶时间。随后,路线修正装置303可以根据这10次实际行驶数据来对预设数据采集路线进行修正。For example, the actual number of travels is set to 10 times, the driver travels 10 times according to the preset data collection route, and the data recording device 302 records the travel data of the 10 travels, wherein each travel time includes the preset data acquisition route. The travel time of straight and curved roads. Subsequently, the route correction device 303 can correct the preset data acquisition route based on the 10 actual travel data.
又如,预定周期设置为每天,驾驶员按照预设数据采集路线每天行驶多次,数据记录装置302记录1天中每次行驶的行驶数据,其中每次行驶时间包括直道与弯道各自的行驶时间。随后,路线修正装置303可以根据每天中多次实际行驶数据来对预设数据采集路线进行修正。For another example, the predetermined period is set to be daily, the driver travels multiple times per day according to the preset data collection route, and the data recording device 302 records the driving data for each driving in one day, wherein each driving time includes the respective driving of the straight road and the curved road. time. Subsequently, the route correction device 303 can correct the preset data collection route according to the actual travel data in the plurality of times per day.
再如,可以同时设置次数和周期,如每天行驶10次,驾驶员按照预设数据采集路线每天行驶10次,数据记录装置302记录1天中每次行驶的行驶数据,其中每次行驶时间包括直道与弯道各自的行驶时间。随后,路线修正装置303可以根据每天这10次实际行驶数据来对预设数据采集路线进行修正。For another example, the number of times and the period can be set at the same time. For example, if the driver travels 10 times a day, the driver travels 10 times a day according to the preset data collection route, and the data recording device 302 records the driving data for each driving in one day, wherein each driving time includes The travel time of straight and curved roads. Subsequently, the route correction device 303 can correct the preset data acquisition route based on the 10 actual travel data per day.
在此,对预设数据采集路线的实际行驶需要引入人工行驶来获得更真实和合理的行驶数据。人工驾驶无法严格按照数据采集路线来行驶,总是不可避免如向左或向右有所偏离,这恰恰可以给数据采集路线的修 正带来可能和指引。Here, the actual driving of the preset data collection route needs to introduce manual driving to obtain more realistic and reasonable driving data. Manual driving cannot strictly follow the data collection route, and it is always inevitable to deviate to the left or right, which can bring possible guidance and guidance to the correction of the data collection route.
路线修正装置303根据预设数据采集路线的实际行驶数据,对预设数据采集路线进行修正,以使其中直道与弯道的行驶时间比收敛至1:1。The route correction device 303 corrects the preset data acquisition route according to the actual travel data of the preset data acquisition route, so that the travel time ratio of the straight track and the curve converges to 1:1.
在此,如果实际行驶中直道的行驶时间比弯道的行驶时间长,调整数据采集路线中的弯道线路,例如,增加圆弧线的曲率;如果实际行驶中弯道的行驶时间比直道的行驶时间长,调整数据采集路线中的直道线路,例如拉伸直道的长度。Here, if the running time of the straight road in the actual running is longer than the running time of the curved road, adjust the curve line in the data collecting route, for example, increase the curvature of the circular line; if the running time of the curved road is actually straighter than the straight running Travel long time, adjust the straight line in the data acquisition route, such as the length of the straight line.
其中,弯道线路包括多条圆弧线和多条羊角螺线,其中每条圆弧线或羊角螺线包括一条或多条具有相应限速要求的弧线段,对弯道线路的调整包括以下任一项:The curved line includes a plurality of circular arc lines and a plurality of horn spirals, wherein each circular arc or horn spiral includes one or more arc segments having corresponding speed limit requirements, and the adjustment of the curved line includes Any of the following:
1)调整圆弧线的转弯半径和/或曲率;1) adjusting the turning radius and/or curvature of the circular arc;
例如,当弯道的行驶时间比直道的行驶时间短,此时需要增加弯道的长度,则可以增加其中圆弧线的转弯半径和/或曲率来拉长弯道长度。For example, when the running time of the curve is shorter than the running time of the straight road, and the length of the curve needs to be increased at this time, the turning radius and/or curvature of the circular arc line may be increased to lengthen the curved length.
2)调整羊角螺线的曲率。2) Adjust the curvature of the snail spiral.
羊角螺线作为弯道的组成部分,用于在直线与圆弧线之间或两条圆弧线之间进行过渡。当弯道的行驶时间比直道的行驶时间短,则可以增加其中羊角螺线的曲率来拉长弯道长度。The horn spiral is used as part of the curve to make a transition between a straight line and a circular line or between two circular lines. When the travel time of the curve is shorter than the travel time of the straight road, the curvature of the spiral of the horn can be increased to lengthen the curve.
其中,直道线路包括多条直线,其中每条直线包括一条或多条具有相应限速要求的直线段,对直道线路的调整包括调整直线的长度和/或方向。Wherein, the straight line includes a plurality of straight lines, wherein each straight line includes one or more straight line segments having respective speed limit requirements, and the adjustment of the straight line includes adjusting the length and/or direction of the straight line.
例如,当直道的行驶时间比弯道的行驶时间短,此时需要增加直道的长度,则可以增加其中直线的长度来拉长弯道长度。For example, when the running time of the straight road is shorter than the running time of the curved road, and the length of the straight road needs to be increased at this time, the length of the straight line may be increased to lengthen the curved road length.
对直线的拉伸可以通过调整长度和/或方向来进行。例如,保持一条直线的方向不变,直接拉伸其长度。又如,以一条直线的起点为固定点,微调其方向,同时也可以拉伸该直线的长度。Stretching of a straight line can be done by adjusting the length and/or direction. For example, keep the direction of a straight line and stretch its length directly. For another example, the starting point of a straight line is a fixed point, and the direction is fine-tuned, and the length of the straight line can also be stretched.
在此,对直道或弯道的调整,结合了几何计算学,使得直道或弯道的行驶时间比最终可以收敛至1:1。对数据采集路线上任一条线路段的调整,都可能会导致其他相连接线路段的调整,甚至需要重新与一条或 多条新线路段相连接。并且,由于直线、圆弧线或羊角螺线的调整,数据采集路线上将产生新的速度控制点,以及由此分割的直线段和弧线段及其各自的速度权重。Here, the adjustment of straight or curved roads combines geometrical calculations so that the travel time ratio of straight or curved roads can finally converge to 1:1. Adjustments to any of the line segments on the data acquisition route may result in adjustments to other connected line segments and may even need to be reconnected to one or more new line segments. Moreover, due to the adjustment of the straight line, the circular arc line or the horn spiral, a new speed control point will be generated on the data acquisition route, and the straight line segments and arc segments thus divided and their respective speed weights.
此外,路线修正装置303对路线修正装置303获得的多次实际行驶时间进行统计,以用于修正判断。Further, the route correction means 303 counts the plurality of actual travel times obtained by the route correction means 303 for correction determination.
例如,路线修正装置303可以对10次行驶中直道行驶时间和弯道行驶时间分别求平均,以获得直道的平均行驶时间和弯道的平均行驶时间,从而确定两者中哪一个的平均行驶时间更短,以便增加其行驶时间占比。该求平均的方式可以有效去噪,即滤除这些实际行驶时间中的噪声。For example, the route correction device 303 can average the straight travel time and the curved travel time of the 10 travels to obtain the average travel time of the straight lane and the average travel time of the curve, thereby determining which of the two is the average travel time. Shorter in order to increase the proportion of their travel time. This averaging method can effectively denoise, ie filter out the noise in these actual driving times.
又如,路线修正装置303可以根据多次实际行驶时间来选择直道与弯道的行驶时间比相对更接近1:1时的实际行驶路线,并将该实际行驶路线作为修正采集路线来对数据采集路线进行修正,以使其中直道与弯道的行驶时间比收敛至1:1。For another example, the route correction device 303 can select the actual travel route when the travel time of the straight lane and the curve is relatively closer to 1:1 according to the actual travel time, and use the actual travel route as the modified acquisition route to collect data. The route is corrected so that the travel time ratio of the straight track to the curve converges to 1:1.
本发明中,对于数据采集路线的修正是迭代式的,在一次修正过程中,数据记录装置302所记录的多次实际行驶数据被路线修正装置303用于对数据采集路线朝向直道与弯道的行驶时间比1:1进行修正,然后进入下一次修正过程,再次将数据记录装置302新记录的多次实际行驶数据供路线修正装置303用于对数据采集路线朝向直道与弯道的行驶时间比1:1的新一轮修正,如此循环迭代,直至获得直道与弯道的行驶时间比收敛至1:1的数据采集路线。In the present invention, the correction of the data acquisition route is iterative. In one correction process, the plurality of actual travel data recorded by the data recording device 302 is used by the route correction device 303 to face the data acquisition route toward the straight track and the curve. The travel time is corrected by 1:1, and then proceeds to the next correction process, and the plurality of actual travel data newly recorded by the data recording device 302 is again used by the route correction device 303 to compare the travel time of the data acquisition route toward the straight track and the curve. A new round of correction of 1:1, such a loop iteration, until the travel time of the straight and the curve is converged to a data acquisition route of 1:1.
在此,对数据采集路线的修正是始终朝向实际1:1进行的,通过对该数据采集路线的迭代修正,使得最终的数据采集路线中直道与弯道的行驶时间比收敛至1:1。Here, the correction of the data acquisition route is always performed toward the actual 1:1, and the iteration correction of the data acquisition route makes the travel time ratio of the straight track and the curve in the final data acquisition route converge to 1:1.
由于计算的误差和人为驾驶的不可避免的不稳定,根据所采集到数据弯道直道比例的统计,对数据采集路线进行微调,随着时间的推移,直道与弯道的行驶时间比最终会收敛至几乎1:1。Due to the calculation error and the inevitable instability of human driving, according to the statistics of the proportion of the straight roads collected, the data acquisition route is fine-tuned. As time goes by, the travel time ratio of straight and curved road will eventually converge. To almost 1:1.
需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路 It should be noted that the present invention can be implemented in software and/or a combination of software and hardware, for example, using an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present invention may be executed by a processor to implement the steps or functions described above. Likewise, the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like. Additionally, some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions .
另外,本发明的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本发明的方法和/或技术方案。而调用本发明的方法的程序指令,可能被存储在固定的或可移动的记录介质中,和/或通过广播或其他信号承载媒体中的数据流而被传输,和/或被存储在根据所述程序指令运行的计算机设备的工作存储器中。在此,根据本发明的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本发明的多个实施例的方法和/或技术方案。Additionally, a portion of the invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide a method and/or solution in accordance with the present invention. The program instructions for invoking the method of the present invention may be stored in a fixed or removable recording medium and/or transmitted by a data stream in a broadcast or other signal bearing medium, and/or stored in a The working memory of the computer device in which the program instructions are run. Herein, an embodiment in accordance with the present invention includes a device including a memory for storing computer program instructions and a processor for executing program instructions, wherein when the computer program instructions are executed by the processor, triggering The apparatus operates based on the aforementioned methods and/or technical solutions in accordance with various embodiments of the present invention.
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in the present invention. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of units or devices recited in the system claims can also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (17)

  1. 一种确定数据采集路线的方法,所述数据采集路线用于采集自动驾驶的训练数据,其中,该方法包括:A method for determining a data collection route for collecting training data for automatic driving, wherein the method includes:
    获取预设的数据采集路线,其中直道与弯道的行驶时间比预估为1:1;Obtain a preset data collection route, wherein the travel time of the straight road and the curve is estimated to be 1:1;
    记录所述数据采集路线的多次实际行驶数据,其中每次实际行驶数据包括直道与弯道各自的行驶时间;Recording a plurality of actual driving data of the data collection route, wherein each actual driving data includes a respective driving time of the straight road and the curved road;
    根据所述实际行驶数据,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The data acquisition route is corrected based on the actual travel data to converge the travel time ratio to 1:1.
  2. 根据权利要求1所述的方法,其中,所述修正步骤具体包括:The method of claim 1, wherein the correcting step comprises:
    根据所述多次实际行驶数据中直道与弯道各自的平均行驶时间,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The data acquisition route is corrected according to the average travel time of each of the straight track and the curve in the plurality of actual travel data, so that the travel time ratio converges to 1:1.
  3. 根据权利要求1所述的方法,其中,所述修正步骤具体包括:The method of claim 1, wherein the correcting step comprises:
    根据所述多次实际行驶数据,选择修正采集路线;Selecting a modified acquisition route according to the plurality of actual driving data;
    根据所述修正采集路线,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The data acquisition route is modified according to the modified acquisition route to converge the travel time ratio to 1:1.
  4. 根据权利要求1至3中任一项所述的方法,其中,所述对所述数据采集路线进行修正具体包括:The method according to any one of claims 1 to 3, wherein the correcting the data collection route specifically comprises:
    如果实际行驶中直道的行驶时间比弯道的行驶时间长,调整所述数据采集路线中的弯道线路;If the running time of the straight road in the actual driving is longer than the running time of the curved road, adjust the curve line in the data collecting route;
    如果实际行驶中弯道的行驶时间比直道的行驶时间长,调整所述数据采集路线中的直道线路。If the travel time of the curve in actual driving is longer than the travel time of the straight road, the straight line in the data acquisition route is adjusted.
  5. 根据权利要求4所述的方法,其中,所述弯道线路包括多条圆弧线和多条羊角螺线,其中每条圆弧线或羊角螺线包括一条或多条具有相应限速要求的弧线段,对所述弯道线路的调整包括以下任一项:The method of claim 4, wherein the curve line comprises a plurality of circular arc lines and a plurality of claw spirals, wherein each of the circular arc lines or the horn spiral includes one or more of the respective speed limit requirements The arc segment, the adjustment of the curve line includes any of the following:
    -调整所述圆弧线的转弯半径和/或曲率;Adjusting the turning radius and/or curvature of the circular arc;
    -调整所述羊角螺线的曲率。- Adjusting the curvature of the snail spiral.
  6. 根据权利要求4所述的方法,其中,所述直道线路包括多条直线,其中每条直线包括一条或多条具有相应限速要求的直线段,对所述直道线路的调整包括调整所述直线的长度和/或方向。The method of claim 4 wherein said straight line comprises a plurality of straight lines, wherein each straight line comprises one or more straight line segments having respective speed limit requirements, and adjusting said straight line comprises adjusting said straight line Length and / or direction.
  7. 根据权利要求1至6中任一项所述的方法,其中,所述数据采集路线包括在封闭场景中行驶的闭环路线。The method of any of claims 1 to 6, wherein the data collection route comprises a closed loop route traveling in a closed scene.
  8. 一种确定数据采集路线的装置,所述数据采集路线用于采集自动驾驶的训练数据,其中,该装置包括:A device for determining a data collection route, the data collection route is used for collecting training data of automatic driving, wherein the device comprises:
    用于获取预设的数据采集路线的装置,其中直道与弯道的行驶时间比预估为1:1;Means for obtaining a preset data acquisition route, wherein the travel time of the straight track and the curve is estimated to be 1:1;
    用于记录所述数据采集路线的多次实际行驶数据的装置,其中每次实际行驶数据包括直道与弯道各自的行驶时间;Means for recording a plurality of actual driving data of the data collection route, wherein each actual driving data includes a respective driving time of a straight road and a curved road;
    用于根据所述实际行驶数据,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1的装置。And means for correcting the data acquisition route according to the actual driving data to make the driving time ratio converge to 1:1.
  9. 根据权利要求8所述的装置,其中,所述修正操作具体包括:The apparatus according to claim 8, wherein the correcting operation specifically comprises:
    根据所述多次实际行驶数据中直道与弯道各自的平均行驶时间,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The data acquisition route is corrected according to the average travel time of each of the straight track and the curve in the plurality of actual travel data, so that the travel time ratio converges to 1:1.
  10. 根据权利要求8所述的装置,其中,所述修正操作具体包括:The apparatus according to claim 8, wherein the correcting operation specifically comprises:
    根据所述多次实际行驶数据,选择修正采集路线;Selecting a modified acquisition route according to the plurality of actual driving data;
    根据所述修正采集路线,对所述数据采集路线进行修正,以使所述行驶时间比收敛至1:1。The data acquisition route is modified according to the modified acquisition route to converge the travel time ratio to 1:1.
  11. 根据权利要求8至10中任一项所述的装置,其中,所述对所述数据采集路线进行修正的操作具体包括:The apparatus according to any one of claims 8 to 10, wherein the operation of correcting the data collection route specifically comprises:
    如果实际行驶中直道的行驶时间比弯道的行驶时间长,调整所述数据采集路线中的弯道线路;If the running time of the straight road in the actual driving is longer than the running time of the curved road, adjust the curve line in the data collecting route;
    如果实际行驶中弯道的行驶时间比直道的行驶时间长,调整所述数据采集路线中的直道线路。If the travel time of the curve in actual driving is longer than the travel time of the straight road, the straight line in the data acquisition route is adjusted.
  12. 根据权利要求11所述的装置,其中,所述弯道线路包括多条圆弧线和多条羊角螺线,其中每条圆弧线或羊角螺线包括一条或多条具有 相应限速要求的弧线段,对所述弯道线路的调整包括以下任一项:The apparatus according to claim 11, wherein said curve line comprises a plurality of circular arc lines and a plurality of claw spirals, wherein each of said circular arc lines or horn spirals includes one or more of said ones having respective speed limit requirements. The arc segment, the adjustment of the curve line includes any of the following:
    -调整所述圆弧线的转弯半径和/或曲率;Adjusting the turning radius and/or curvature of the circular arc;
    -调整所述羊角螺线的曲率。- Adjusting the curvature of the snail spiral.
  13. 根据权利要求11所述的装置,其中,所述直道线路包括多条直线,其中每条直线包括一条或多条具有相应限速要求的直线段,对所述直道线路的调整包括调整所述直线的长度和/或方向。The apparatus of claim 11 wherein said straight track comprises a plurality of straight lines, wherein each straight line comprises one or more straight line segments having respective speed limit requirements, and adjusting said straight line comprises adjusting said straight line Length and / or direction.
  14. 根据权利要求8至13中任一项所述的装置,其中,所述数据采集路线包括在封闭场景中行驶的闭环路线。Apparatus according to any one of claims 8 to 13 wherein the data collection route comprises a closed loop route traveling in a closed scene.
  15. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如权利要求1至7中任一项所述的方法。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program, as claimed in any one of claims 1 to The method described.
  16. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the method of any one of claims 1 to 7.
  17. 一种计算机程序产品,当所述计算机程序产品被计算机设备执行时实现如权利要求1至7中任一项所述的方法。A computer program product, which when the computer program product is executed by a computer device, implements the method of any one of claims 1 to 7.
PCT/CN2018/094489 2017-09-05 2018-07-04 Method and device for determining data collection line WO2019047604A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710792219.3 2017-09-05
CN201710792219.3A CN107767487B (en) 2017-09-05 2017-09-05 Method and device for determining data acquisition route

Publications (1)

Publication Number Publication Date
WO2019047604A1 true WO2019047604A1 (en) 2019-03-14

Family

ID=61265291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/094489 WO2019047604A1 (en) 2017-09-05 2018-07-04 Method and device for determining data collection line

Country Status (2)

Country Link
CN (1) CN107767487B (en)
WO (1) WO2019047604A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767487B (en) * 2017-09-05 2020-08-04 百度在线网络技术(北京)有限公司 Method and device for determining data acquisition route
DE102018130449A1 (en) * 2018-11-30 2020-06-04 Bayerische Motoren Werke Aktiengesellschaft Method, device, computer program and computer program product for checking an at least partially autonomous driving operation of a vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150266455A1 (en) * 2013-12-06 2015-09-24 Christopher Kenneth Wilson Systems and Methods for Building Road Models, Driver Models, and Vehicle Models and Making Predictions Therefrom
CN105719484A (en) * 2016-04-22 2016-06-29 百度在线网络技术(北京)有限公司 Method, device and system for acquiring road data of drive route
US20170045418A1 (en) * 2015-08-11 2017-02-16 Dspace Digital Signal Processing And Control Engineering Gmbh Calculating a desired trajectory
US20170232966A1 (en) * 2016-02-17 2017-08-17 Honda Motor Co.,Ltd. Vehicle control device, vehicle control method, and vehicle control program
CN107767487A (en) * 2017-09-05 2018-03-06 百度在线网络技术(北京)有限公司 A kind of method and apparatus for determining data acquisition route

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591332B (en) * 2011-01-13 2014-08-13 同济大学 Device and method for local path planning of pilotless automobile
US8849508B2 (en) * 2011-03-28 2014-09-30 Tk Holdings Inc. Driver assistance system and method
KR102137213B1 (en) * 2015-11-16 2020-08-13 삼성전자 주식회사 Apparatus and method for traning model for autonomous driving, autonomous driving apparatus
CN105882661B (en) * 2016-04-08 2018-09-25 重庆大学 The method of operation of motor vehicle driving curves auxiliary system
CN106020203B (en) * 2016-07-15 2020-09-29 百度在线网络技术(北京)有限公司 Method and apparatus for controlling unmanned vehicle
CN106873566B (en) * 2017-03-14 2019-01-22 东北大学 A kind of unmanned logistic car based on deep learning

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150266455A1 (en) * 2013-12-06 2015-09-24 Christopher Kenneth Wilson Systems and Methods for Building Road Models, Driver Models, and Vehicle Models and Making Predictions Therefrom
US20170045418A1 (en) * 2015-08-11 2017-02-16 Dspace Digital Signal Processing And Control Engineering Gmbh Calculating a desired trajectory
US20170232966A1 (en) * 2016-02-17 2017-08-17 Honda Motor Co.,Ltd. Vehicle control device, vehicle control method, and vehicle control program
CN105719484A (en) * 2016-04-22 2016-06-29 百度在线网络技术(北京)有限公司 Method, device and system for acquiring road data of drive route
CN107767487A (en) * 2017-09-05 2018-03-06 百度在线网络技术(北京)有限公司 A kind of method and apparatus for determining data acquisition route

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIA, WEI ET AL.: "Training Method of Automatic Driving Strategy Based on Deep Reinforcement Learning", JOURNAL OF INTEGRATION TECHNOLOGY, vol. 6, no. 3, 31 May 2017 (2017-05-31), pages 29 - 40, XP055581369, ISSN: 2095-3135 *

Also Published As

Publication number Publication date
CN107767487B (en) 2020-08-04
CN107767487A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
EP3819194A2 (en) Automatic parking method and apparatus, and electronic device
WO2021218124A1 (en) Method and device for detecting vehicle
WO2019047639A1 (en) Method and device for calculating curvature of vehicle trajectory
CN109154938B (en) Classifying entities in a digital graph using discrete non-trace location data
JP2023511878A (en) METHOD AND RELATED DEVICE TO JUDGMENT PASSING OF AUTOMATED VEHICLE
US10713941B2 (en) Cognitive traffic signal cycle timer
US20190248379A1 (en) Systems and methods for identifying first route to destination as involving less human driving of vehicle than second route to destination
WO2019047576A1 (en) Method and system for automatically controlling camera of self-driving vehicle
WO2019047604A1 (en) Method and device for determining data collection line
WO2019080685A1 (en) Video image segmentation method and apparatus, storage medium and electronic device
EP3842758B1 (en) Method and apparatus for generating offline map, vehicle and storage medium
CN112051864A (en) Method, device, equipment and readable medium for tracking moving target track
CN111443709A (en) Vehicle lane change route planning method, device, terminal and storage medium
WO2019047662A1 (en) Method and apparatus for determining route in automatic driving mode
JP2021131397A (en) Method, apparatus, and device for navigation at annular intersection, and storage medium
WO2017045275A1 (en) Method, device for navigation graph plotting and storage medium thereof
WO2019047673A1 (en) Method and device for evaluating longitudinal control model of end-to-end automatic driving system
CN114387410B (en) Road data fusion map generation method and device and electronic equipment
TWI583926B (en) A method for processing navigation and a mobile smart terminal
CN111027195B (en) Simulation scene generation method, device and equipment
CN115578386B (en) Parking image generation method and device, electronic equipment and storage medium
JP7362697B2 (en) Method and data processing system for aligning a first panoramic image and a second panoramic image in a navigation procedure
US20230141590A1 (en) System and method for ultrasonic sensor enhancement using lidar point cloud
CN113553881A (en) Parking space detection method and related device
WO2023273282A1 (en) Planning method and apparatus for vehicle driving behavior, electronic device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18853271

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 07.08.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18853271

Country of ref document: EP

Kind code of ref document: A1