Control method and apparatus
By generating road-level navigation features using a multimodal large model and a Transformer encoder, the problem of autonomous driving systems being unable to meet users' personalized navigation needs in unknown environments is solved, and the accuracy of precise path planning and vehicle control is improved.
Patent Information
- Application Number
- PCT/CN2025/096645
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-26
Smart Images

Figure CN2025096645_26112026_PF_FP_ABST
Abstract
Description
A control method and apparatus Technical Field
[0001] This application relates to the field of intelligent vehicles, and more specifically, to a control method and apparatus thereof. Background Technology
[0002] In recent years, advanced driving assistance systems (ADAS) and autonomous driving systems (ADS) have played a very important role in intelligent vehicles. They use various sensors installed on the vehicle to sense the surrounding environment, collect data, detect and track targets, and combine map data to plan the trajectory and control the vehicle.
[0003] However, existing autonomous driving systems lack flexibility and cannot meet users' personalized navigation needs. Summary of the Invention
[0004] This application provides a control method and apparatus that can plan driving routes according to user instructions, thereby increasing the degree of freedom of autonomous driving, meeting users' personalized navigation needs, and improving user experience.
[0005] In a first aspect, a control method is provided, the method comprising: acquiring navigation information, the navigation information indicating the target location of the vehicle in the current trip; acquiring a first input, the first input including a first action that the user expects the vehicle to perform at the first location; planning a first path from the first location to the target location based on the first action and the navigation information; and controlling the vehicle to drive based on the first path.
[0006] For example, before obtaining navigation information, the method may further include: obtaining a second input, the second input including a target location. Based on the target location, navigation information can be obtained. This navigation information is provided by navigation software.
[0007] For example, the first input can be a natural language command entered by the user in the form of voice or text. The first action represents an action related to the vehicle's driving direction or route. Taking "turn left at the next intersection" as an example, the first position can be "next intersection" and the first action is "turn left".
[0008] For example, the first path can be a road-level driving route or a lane-level driving trajectory.
[0009] Based on the above technical solution, during vehicle operation, the user can instruct the vehicle to perform a first action at the first location. The vehicle then plans the driving path from the first location to the target location according to the user's instructions, enabling the vehicle to travel along the route desired by the user. This enhances the freedom of autonomous driving, meets the user's personalized navigation needs, and improves the user experience.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the distance between the first position and the current position of the vehicle is less than or equal to a distance threshold.
[0011] For example, the current location could be the location of the vehicle when the first input is obtained, and the first location could be a location between the current location and the target location.
[0012] Based on the above technical solution, users can instruct the vehicle to change its route at a location closer to the current location while the vehicle is in motion, which is more in line with the user's driving habits and thus helps to improve the user experience.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the navigation information also indicates a second path from the vehicle's current location to the target location, where the first location is a location traversed by the second path.
[0014] For example, the second path can be an initial driving path planned before the first input is obtained. In one possible scenario, the first input is detected before the vehicle reaches the first position along the second path, and the first path is planned based on the first input. The vehicle can then drive to the first position along the second path and continue driving to the target position along the first path after passing the first position.
[0015] Based on the above technical solution, after receiving user instructions, the vehicle can modify its driving path after reaching the designated location and drive to the target location according to the modified first path. This enables the user to intervene in the vehicle's driving path during autonomous driving, allowing the vehicle to drive along the path desired by the user, thereby improving the user experience.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: acquiring image information collected by the vehicle's camera device, the image information including road topology within a first range of the vehicle, the first range including a first location; planning a first path from the first location to a target location based on a first action and navigation information, including: determining road feature information based on the first action, image information and target location; and planning the first path based on the road feature information.
[0017] For example, road topology can refer to environmental information related to path planning within a first range near a vehicle's first location.
[0018] For example, road feature information can be obtained by supervising the road-level navigation route (road ground truth) provided by navigation software, and combining the road-level navigation features learned from the first action, image information and target position. This can be used to characterize information such as the distance between the vehicle and the intersection, turning radius, and orientation.
[0019] Based on the above technical solution, road feature information can be generated by considering the first action, the target position, and the road topology around the first position. This can compensate for the lack of information in the user's first input, enabling the vehicle to plan an accurate driving path and improve vehicle control accuracy.
[0020] In conjunction with the first aspect, in some implementations of the first aspect, the first action instructs the vehicle to turn at a first position, and the first path is planned based on road feature information, including: determining the turning radius of the vehicle at the first position based on the road feature information and the first action; and planning a sub-path of the vehicle at the first position based on the turning radius, wherein the first path includes the sub-path.
[0021] In one possible scenario, when a user instructs the vehicle to turn at a first position, the turning radius at that position can be determined based on road feature information and the user's initial instruction. Then, a local driving path around the first position can be planned based on this turning radius. Based on this technical solution, by combining road feature information and the user's initial input for path planning, a more accurate turning radius can be determined, and the predicted turning path is more reasonable, which is beneficial for optimizing trajectory prediction performance.
[0022] In conjunction with the first aspect, in some implementations of the first aspect, road feature information is determined based on the first action, image information, and target location, including: inputting the first action, image information, and target location into a first neural network model to obtain road feature information, wherein the first neural network model is a multimodal large model.
[0023] Based on the above technical solution, by analyzing the first input action, image information and target position through a multimodal large model, the obtained road feature information can make up for the insufficient amount of information in the user's first input, which is conducive to improving vehicle control accuracy.
[0024] In conjunction with the first aspect, in some implementations of the first aspect, the method further includes: controlling the vehicle's display device to display the first path.
[0025] Based on the above technical solution, displaying the first route can prompt the user that the vehicle's driving route has been planned according to the instructions, making it easier for the user to confirm the first route and improving the user experience.
[0026] In a second aspect, a control device is provided, comprising: an acquisition unit for acquiring navigation information indicating the target location of the vehicle's current journey; acquiring a first input including a first action that a user expects the vehicle to perform at a first location; a planning unit for planning a first path from the first location to the target location based on the first action and the navigation information; and a control unit for controlling the vehicle's movement based on the first path.
[0027] In conjunction with the second aspect, in some implementations of the second aspect, the distance between the first position and the current position of the vehicle is less than or equal to a distance threshold.
[0028] In conjunction with the second aspect, in some implementations of the second aspect, the navigation information also indicates a second path from the vehicle's current location to the target location, where the first location is a location traversed by the second path.
[0029] In conjunction with the second aspect, in some implementations of the second aspect, the acquisition unit is further configured to: acquire image information collected by the vehicle's camera device, the image information including the road topology within a first range of the vehicle, the first range including a first location; and the planning unit is specifically configured to: determine road feature information based on the first action, the image information, and the target location; and plan a first path based on the road feature information.
[0030] In conjunction with the second aspect, in some implementations of the second aspect, the first action instructs the vehicle to turn at the first position, and the planning unit is specifically used to: determine the turning radius of the vehicle at the first position based on road feature information and the first action; and plan a sub-path for the vehicle at the first position based on the turning radius, wherein the first path includes the sub-path.
[0031] In conjunction with the second aspect, in some implementations of the second aspect, the planning unit is specifically used to: input the first action, image information and target position into the first neural network model to obtain road feature information, wherein the first neural network model is a multimodal large model.
[0032] In conjunction with the second aspect, in some implementations of the second aspect, the control unit is also used to: control the vehicle's display device to display the first path.
[0033] Thirdly, a control device is provided, comprising: a memory for storing a computer program; and a processor for executing the computer program stored in the memory, such that the device performs a method corresponding to any of the implementations of the first aspect above.
[0034] Fourthly, a vehicle is provided, including a device corresponding to any of the implementations of the second or third aspect above.
[0035] The term "vehicle" is used in a broad sense, encompassing various types of transportation, such as vehicles (commercial cars, passenger cars, motorcycles, flying cars, trains, etc.), industrial vehicles (forklifts, trailers, tractors, etc.), engineering vehicles (excavators, bulldozers, cranes, etc.), agricultural equipment (lawn mowers, harvesters, etc.), amusement equipment, and toy vehicles. In practical implementation, the vehicle can also refer to road vehicles, water vehicles, air vehicles, industrial equipment, agricultural equipment, or other intelligent driving devices such as entertainment equipment.
[0036] Fifthly, a computer-readable storage medium is provided having instructions stored thereon that, when executed by a processor, cause the processor to implement a method corresponding to any of the implementations in the first aspect above.
[0037] Sixthly, a computer program product is provided, which includes computer program code that, when run on a computer, enables the computer to implement a method corresponding to any of the implementation methods in the first aspect above.
[0038] In a seventh aspect, a chip is provided, the chip including circuitry for performing a method corresponding to any of the implementations of the first aspect above.
[0039] For the beneficial effects not described in detail in aspects two through seven, please refer to the description in aspect one, which will not be repeated here. Attached Figure Description
[0040] Figure 1 is a functional schematic diagram of a vehicle 100 provided in an embodiment of this application.
[0041] Figure 2 is a schematic block diagram of an autonomous driving system provided in an embodiment of this application.
[0042] Figure 3 is a schematic diagram of an autonomous driving process according to an embodiment of this application.
[0043] Figure 4 is a schematic architecture diagram of a trajectory planning model according to an embodiment of this application.
[0044] Figure 5 is a schematic diagram of an autonomous driving process according to an embodiment of this application.
[0045] Figure 6 is a schematic architecture diagram of a trajectory planning model according to an embodiment of this application.
[0046] Figure 7 is a schematic diagram of a training method for a Transformer encoder according to an embodiment of this application.
[0047] Figure 8 is a schematic diagram of an application scenario according to an embodiment of this application.
[0048] Figure 9 is a schematic diagram of an application scenario according to an embodiment of this application.
[0049] Figure 10 is a schematic diagram of a driving route planned by an autonomous driving system according to an embodiment of this application.
[0050] Figure 11 is a schematic flowchart of a control method 1100 provided in an embodiment of this application.
[0051] Figure 12 is a schematic block diagram of a control device 1200 provided in an embodiment of this application. Detailed Implementation
[0052] The technical solutions of this application will now be described with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " indicates "or," for example, A / B can mean A or B; "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. "At least one" refers to one or more. For example, "at least one of A and B," similar to "A and / or B," describes the relationship between related objects, indicating that three relationships can exist. For example, at least one of A and B can represent: A existing alone, A and B existing simultaneously, and B existing alone.
[0053] The prefixes such as "first" and "second" used in this application embodiment are merely for distinguishing different descriptive objects and do not limit the position, order, priority, quantity, or content of the described objects. The use of ordinal numbers and other prefixes used to distinguish descriptive objects in this application embodiment does not constitute a limitation on the described objects. The description of the described objects is given in the claims or the context of the embodiments, and should not constitute unnecessary restrictions due to the use of such prefixes. Furthermore, in the description of this embodiment, unless otherwise stated, "multiple" means two or more.
[0054] Figure 1 is a functional schematic diagram of a vehicle 100 provided in an embodiment of this application. The vehicle 100 may include a perception system 110, a computing platform 120, and a display device 130. The perception system 110 may include one or more sensors for sensing information about the environment surrounding the vehicle 100. For example, the perception system 110 may include a positioning system, which may be a Global Positioning System (GPS), a BeiDou Navigation Satellite System, or another positioning system. As another example, the perception system 110 may include one or more of the following: an inertial measurement unit (IMU), an accelerometer, a lidar, a millimeter-wave radar, an ultrasonic radar, and a camera device. Additionally, the perception system 110 may also include a voice interaction system.
[0055] Some or all of the functions of vehicle 100 can be controlled by computing platform 120. Computing platform 120 may include one or more processors, such as processors 121 to 12n (n being a positive integer). A processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a central processing unit (CPU), microprocessor, graphics processing unit (GPU) (which can be understood as a type of microprocessor), or digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field-programmable gate array (FPGA). In reconfigurable hardware circuits, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement some or all of the functions of the aforementioned units. Furthermore, the processor can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), tensor processing unit (TPU), deep learning processing unit (DPU), etc. In addition, the computing platform 120 may also include a memory for storing instructions. Some or all of the processors 121 to 12n can call the instructions in the memory to implement the corresponding functions.
[0056] The in-cabin display devices 130 are mainly divided into two categories: the first is the in-vehicle display screen; the second is the projection display screen, such as the head-up display (HUD). An in-vehicle display screen is a physical display screen and an important component of the in-vehicle infotainment system. Multiple displays can be installed in the cabin, such as the digital instrument cluster display, the central control screen, the display screen in front of the front passenger (also known as the front-seat passenger), the display screen in front of the left rear passenger, the display screen in front of the right rear passenger, and even the car window can be used as a display screen. A head-up display, also known as a head-up display system, is mainly used to display driving information such as speed and navigation on a display device in front of the driver (such as the windshield). This reduces the driver's eye-shift time, avoids pupil changes caused by eye-shifting, and improves driving safety and comfort. Examples of HUDs include combiner-HUD (C-HUD) systems, windshield-HUD (W-HUD) systems, and augmented reality HUD (AR-HUD) systems. It should be understood that HUDs can also evolve into other types of systems as technology progresses, and this application does not limit them.
[0057] The above description of the display device 130 uses an in-vehicle display screen and a projection display screen as examples, but the embodiments of this application are not limited thereto. For example, the display device 130 can also be a light display screen or a projection screen.
[0058] Optionally, the structure of the vehicle 100 described above is merely illustrative. In actual applications, various components of the vehicle 100 may be added or removed as needed.
[0059] Vehicle 100 may include an intelligent driving system, which may include ADAS and ADS. The intelligent driving system uses various sensors on the vehicle (including but not limited to: lidar, millimeter-wave radar, camera devices, ultrasonic sensors, global positioning system, inertial measurement unit) to acquire information from the vehicle's surroundings, and analyzes and processes the acquired information to achieve functions such as obstacle perception, target recognition, vehicle positioning, path planning, and driver reminders, thereby improving the safety, intelligence, and comfort of driving the vehicle.
[0060] For example, Figure 2 shows a schematic block diagram of an autonomous driving system provided in an embodiment of this application. The autonomous driving system may include three functional modules: a perception module 210, a planning module 220, and a control module 230. The perception module 210 perceives the environment surrounding the vehicle through sensors and outputs corresponding perception data to the planning module 220. The planning module 220 obtains information such as road topology and target objects based on the information acquired by the perception module 210. The planning module 220 can determine a planned trajectory over a period of time based on the road topology and target object information. The planning module 220 can send this planned trajectory to the control module 230. After receiving the planned trajectory from the planning module 220, the control module 230 can output control signals to control the actuators to take corresponding actions, such as steering, acceleration, and deceleration.
[0061] The above-mentioned sensing module 210 can be the above-mentioned sensing system 110, and the planning module 220 and the control module 230 can be located in the above-mentioned computing platform 120.
[0062] The above-mentioned sensing module 210 can also be located in the computing platform 120.
[0063] Vehicle-based driving automation systems are classified into five levels (or L0-L5) based on the degree to which they can perform dynamic driving tasks, according to the role allocation in performing these tasks and the presence or absence of an operational design domain (ODD), such as the external conditions (road, traffic, weather, lighting, etc.) defined during the system's design. Levels 0-2 represent driver assistance, where the system assists humans in performing dynamic driving tasks, but the driver remains the primary driver. Levels 3-5 represent autonomous driving, where the system performs dynamic driving tasks in place of the human under the designed operating conditions; when activated, the system becomes the primary driver. The names and definitions of each level are as follows:
[0064] Level 0 driving automation (also known as emergency assistance) systems cannot continuously perform lateral or longitudinal motion control of the vehicle during dynamic driving tasks, but they possess the ability to continuously perform partial target and event detection and response during dynamic driving tasks. Level 1 driving automation (also known as partial driver assistance) systems continuously perform lateral or longitudinal motion control of the vehicle during dynamic driving tasks under their design operating conditions, and possess the ability to perform partial target and event detection and response adapted to the performed lateral or longitudinal motion control. Level 2 driving automation (also known as combined driver assistance) systems continuously perform lateral and longitudinal motion control of the vehicle during dynamic driving tasks under their design operating conditions, and possess the ability to perform partial target and event detection and response adapted to the performed lateral and longitudinal motion control. Level 3 driving automation (also known as conditionally automated driving) systems continuously perform all dynamic driving tasks under their design operating conditions. Level 4 driving automation (also known as highly automated driving) systems continuously perform all dynamic driving tasks under their design operating conditions and automatically execute minimum risk strategies. Level 5 driving automation (also known as fully automated driving) systems continuously perform all dynamic driving tasks and automatically execute minimum risk strategies under any drivable conditions.
[0065] Multimodal large models refer to machine learning models capable of integrating and processing multiple data types (such as text, images, audio, and video). For example, such a multimodal large model could be a multimodal large language model (MLLM) that combines a visual encoder with a large language model (LLM). MLLM uses LLM as its core, combining text features with features from other modalities to achieve cross-modal semantic unification.
[0066] The multimodal general knowledge capabilities exhibited by multimodal large models have prompted the field of autonomous driving to explore the integration of multimodal large models with autonomous driving systems. One key feature of autonomous driving systems incorporating multimodal large models is their support for multimodal inputs such as text and images. Text input connects humans with the autonomous driving system, making it possible to control vehicle driving through natural language. Text input can be navigation information provided by navigation software or user navigation commands, used to assist in planning future trajectories or controlling vehicle movement.
[0067] Figure 3 illustrates a flowchart of an autonomous driving process according to an embodiment of this application. As shown in Figure 3, the user can input navigation commands to the navigation module via voice or text. The navigation module continuously provides navigation information to the trajectory planning model, which plans the vehicle's future trajectory. The planned future trajectory is then input to the vehicle control module, which ultimately controls the vehicle's movement. The user's navigation commands may include information about the target location. Navigation commands refer to natural language commands input by the user related to the target location, driving route, or driving direction, in voice or text form.
[0068] The navigation module may include one or more map software programs or a map system integrated into the vehicle's infotainment system. The navigation information can be lane-level detailed information provided by the navigation software or the vehicle's built-in navigation system, relating to the vehicle's route from its initial location to its destination. This includes the vehicle's actions at waypoints between the initial and destination locations (e.g., turning left at an intersection), travel distance (e.g., the distance the vehicle needs to travel in the current road segment), and recommended lanes. For example, if the vehicle is turning right at an intersection, the navigation information might be "Turn right at the intersection 200 meters ahead, please use the third lane on the left." The navigation information can indicate the vehicle's current destination and the route from its initial location to the destination.
[0069] Sensors may include the camera device, lidar, millimeter-wave radar, GPS, etc., in the perception system 110 shown in Figure 1. Sensing data may include image data acquired by the camera device, point cloud data acquired by the lidar, signal data transmitted and received by the millimeter-wave radar, or vehicle position data. Based on the image data, environmental information around the vehicle can be obtained, such as lane lines, traffic lights, traffic signs, and obstacles; based on the point cloud data, the height information of obstacles and the distance information between the vehicle and the obstacle can be determined; based on the signal data, the speed information of obstacles can be determined.
[0070] By combining navigation information and sensor data, a trajectory planning model can plan the vehicle's trajectory based on the route planned by the navigation module and the sensor data collected by the sensors. For example, the trajectory planning model can be an MLLM (Multi-Level Model).
[0071] The vehicle control module is used to control the vehicle to travel according to the planned driving trajectory. For example, the vehicle control module may include one or more controllers, such as a vehicle domain controller (VDC), an intelligent driving domain controller (hereinafter referred to as intelligent driving domain controller, also known as a multi-domain controller (MDC)), a motor control unit (MCU), etc.
[0072] Referring to the process shown in Figure 3, Figure 4 illustrates a schematic architecture diagram of a trajectory planning model according to an embodiment of this application. Taking MLLM as an example, the trajectory planning model may include modules such as a text encoder, a visual encoder, LLM, and a trajectory decoder.
[0073] Taking a camera as an example, as shown in Figure 4, text data (such as user navigation commands and / or navigation information provided by the navigation module) is input to a text encoder, which encodes the data and outputs text features. Image information (such as images or videos captured by the camera) is input to a visual encoder, which encodes the data and outputs image features. In the task of controlling a vehicle by predicting its future trajectory, the features output by the LLM based on text and image features are input to a trajectory decoder to determine the future trajectory. Inputting the future trajectory output by the trajectory decoder to one or more controllers enables vehicle control. The information output by the trajectory planning model can include the driving trajectory, steering wheel angle, throttle opening, and other forms of vehicle control information. Text and image features can be represented as sequences, vectors, or arrays.
[0074] However, the autonomous driving system shown in Figure 4 can only control the vehicle to follow the route planned by the navigation module, and cannot control the vehicle to enter unknown environments. Unknown environments include unknown roads not included in the navigation module's data. When the navigation module plans routes, it cannot plan routes that pass through unknown roads, nor can it obtain navigation information for such roads. When a user wants to take a side road or an internal road within a park, or other unknown roads, the autonomous driving system cannot control the vehicle to automatically enter the designated unknown road according to the user's wishes. Therefore, the above autonomous driving system lacks flexibility and cannot meet the user's personalized navigation needs.
[0075] In one implementation, to meet users' personalized navigation needs, a connection channel can be established between the user and the autonomous driving system. Autonomous driving systems based on multimodal large models possess powerful human natural language understanding capabilities and can serve as the foundation for connecting users to the autonomous driving system.
[0076] However, while existing autonomous driving systems that incorporate multimodal large models support user input commands, users can only provide navigation commands containing key action information (such as "turn left at the intersection ahead") within a short period of time, and cannot provide precise information (such as distance information between the vehicle and the intersection, lane information, etc.). Due to the limited amount of information included in user navigation commands, directly using existing multimodal large model autonomous driving systems cannot achieve autonomous vehicle control tasks based on navigation commands.
[0077] To address the current limitations of autonomous driving systems in controlling vehicle movement based on human navigation commands, this application provides a control method that can plan navigation routes according to user navigation commands, thereby increasing the freedom of autonomous driving and meeting users' personalized navigation needs.
[0078] The following describes the process and model related to the control method of this application. Figure 5 shows a schematic diagram of an autonomous driving process according to an embodiment of this application. Taking a user's trip as an example, after detecting the user's input of a target location and detecting that the autonomous driving mode is activated, the navigation module plans a driving route based on the target location and known map information, and continuously inputs navigation information related to the driving route to other downstream modules. For example, the navigation information may include information such as the future movement of the vehicle, the distance between the vehicle and the intersection, and the recommended driving lane, and can be output to downstream modules in text form.
[0079] For example, the driving route planned by the navigation module can be displayed on the human-machine interface (HMI) (e.g., a display device in the cockpit) for easy confirmation by the user.
[0080] The trajectory planning model plans the vehicle's driving trajectory based on navigation information and sensor data. After the driving trajectory is input to the vehicle control module, the vehicle control module outputs corresponding control commands and controls the vehicle to drive according to the driving trajectory.
[0081] For example, the driving trajectory planned by the trajectory planning model can be displayed in the HMI for user confirmation.
[0082] As shown in Figure 5, user input can be detected in real time during vehicle operation. In one possible scenario, if the user believes the route planned by the navigation module does not meet expectations (e.g., the user wants to take a side road or an unknown road within the park), the user may input navigation commands in text or voice form to manually intervene in the initial route. These navigation commands can be natural language instructions describing the vehicle's actions, containing information about meta-actions, such as "turn right at the next intersection." A meta-action is the smallest unit of action related to the vehicle's direction or route, such as "turn left," "turn right," or "go straight." The vehicle's direction can include its movement on the road (e.g., forward, backward, left turn, right turn, straight, U-turn), or its overall movement trend in geographic space (e.g., eastward, northward).
[0083] For example, navigation instructions may be determined in response to user input to a display device or microphone in the cabin; in another example, navigation instructions may be input by the user through an electronic device (such as a mobile phone) associated with the vehicle.
[0084] For example, the electronic devices involved in this application may include various handheld devices, wearable devices, computing devices, or other processing devices connected to a wireless modem with wireless communication capabilities, as well as various forms of terminals, mobile stations, user equipment, etc. For example, the electronic devices may include mobile phones, watches, tablets, etc. The association between the electronic device and the vehicle may include: the account used to log in to the electronic device and the vehicle is the same; or, although the accounts used to log in to the electronic device and the vehicle are different, they are both accounts belonging to the authorized user of the vehicle; or, the electronic device is authorized by the authorized user of the vehicle, thereby establishing an association between the vehicle and the electronic device; or, the vehicle or a cloud server can send vehicle-related information to the electronic device.
[0085] For example, after detecting a user's navigation command, taking voice input as an example, the user's navigation command is input to the processing module, which converts the navigation command into text. The processing module extracts the meta-action information from the navigation command and inputs this meta-action information to the trajectory planning module. Based on the meta-action information, navigation information, and sensor data, the trajectory planning module re-plans the driving trajectory and inputs the new driving trajectory to the vehicle control module, which controls the vehicle to drive according to the new driving trajectory.
[0086] For example, the updated driving route or trajectory based on the user's navigation instructions can be displayed in the HMI to remind the user that the driving route or trajectory has been modified.
[0087] For example, if no navigation command from the user is detected while the vehicle is in motion, the vehicle will be controlled to continue along its original trajectory.
[0088] Figure 6 shows a schematic architecture diagram of an LLM-based trajectory planning model according to an embodiment of this application. The trajectory planning model may include modules such as a text encoder, a visual encoder, a Transformer encoder, an LLM, and a trajectory decoder.
[0089] As shown in Figure 6, the input data for the trajectory planning model includes text data, image data, meta-actions, and target location. Image data can be acquired by a camera device; text data includes user navigation commands and / or navigation information output by the navigation module. Meta-action information can be extracted based on the user's navigation commands, and the navigation information indicates the target location for this journey.
[0090] For example, a text encoder outputs text features after receiving text data; a visual encoder outputs image features after receiving image data. To compensate for insufficient information in user navigation commands, image features, meta-actions, and target location can be input into a Transformer encoder, which outputs standard definition (SD) road features. The feature information extracted by the LLM based on SD road features, text features, and image features is input into a trajectory decoder to determine the future trajectory. Inputting the future trajectory output by the trajectory decoder into the vehicle control module enables vehicle control.
[0091] Text features, image features, and SD road features can be represented by vectors, sequences, or arrays. SD road refers to a road-level (non-lane-level) driving route. SD road features are road-level navigation features obtained by combining meta-actions, target locations, and image data. They are used to characterize specific information or data related to the vehicle's driving direction on the SD road. This specific information or data can include the distance between the vehicle and the intersection, the vehicle's starting position for turning, the vehicle's turning radius, and the vehicle's orientation when turning.
[0092] Taking a user's navigation command as "turn right at the intersection ahead" as an example, the user only indicates that the vehicle should turn right at the intersection ahead in the direction of travel, without specifying the turning position, turning radius, or angle of the right turn. Therefore, the vehicle cannot directly execute the right turn based on the user's navigation command. Thus, the solution in this application, by learning road-level direction information, can generate road-level navigation features based on the target location, meta-actions, and image features, thereby compensating for the insufficient information included in the user's navigation command.
[0093] For example, meta-actions extracted from user navigation commands can be input into a text encoder to output text feature 1; the target location can be input into a multilayer perceptron (MLP) to output text feature 2. Alternatively, the target location can be converted into coordinate information (x, y) by combining map information stored on the vehicle or in the cloud with the vehicle's location; and the meta-actions can be converted into label information according to a pre-defined correspondence between meta-actions and labels. The correspondence between meta-actions and labels can be represented by numbers, letters, symbols, etc. For example, "turn left" can be labeled as the number "1", and "go straight" can be labeled as the number "2". The Transformer encoder can align and fuse text feature 1, text feature 2, and image features based on context information, or it can align and fuse coordinate information, label information, and image features, and then obtain SD road features based on the aligned and fused features.
[0094] The training process related to each module in the trajectory planning model will be described in turn below.
[0095] Figure 7 illustrates a schematic diagram of a Transformer encoder training method according to an embodiment of this application. As shown in Figure 7, the trajectory planning model may further include an SD road prediction head, which is used to convert SD road features into SD roads. In one implementation, the Transformer encoder and the SD road prediction head can be trained using supervised learning, including two stages: forward propagation and backward propagation. Taking coordinate information, label information, and image features as input information as an example, in the forward propagation stage, the Transformer encoder extracts and predicts features based on the features fused according to the context, obtaining a prediction result, such as SD road feature x; the SD road feature x is input to the SD road prediction head, and the SD road prediction head predicts SD road x based on the SD road feature x. In the backward propagation stage, SD road x and the ground truth SD road are compared, and the network parameters of the SD road prediction head and / or the Transformer encoder are adjusted backward based on the difference between SD road x and the ground truth SD road. For example, the ground truth SD road can refer to multiple road-level navigation routes provided by navigation software, including navigation routes generated by the navigation software based on the target location input by the user and the vehicle's location, with an accuracy at the meter level.
[0096] The forward and backward propagation processes are repeated multiple times, making the SD road inferred from the Transformer encoder and SD road prediction head closer and closer to the true SD road value, until the difference between the final inferred SD road value and the true SD road value meets the preset conditions, at which point the training of the Transformer encoder and SD road prediction head is considered complete.
[0097] For example, the difference between the SD road and the ground truth SD road can be characterized by a directional loss function. Based on the directional loss function, the directional difference (such as angle, cosine similarity, etc.) between the inferred SD road and the ground truth SD road can be determined. By repeatedly adjusting the network parameters of the SD road prediction head and / or the Transformer encoder, the directional loss function can be made to converge or gradually decrease. For example, the minimum loss value can be solved using the gradient descent algorithm.
[0098] In one implementation, to enhance the compliance of the trajectory planning model, a contrastive learning training method can be used to train the Transformer encoder and the SD road prediction head. Contrastive learning learns feature representations by bringing positive samples closer together and pushing negative samples further apart, ensuring that the SD road features of the initial driving route are as different as possible from the SD road features of the new driving route modified according to the meta-action. For example, during the data preparation phase, naturally paired SD roads and ground truth SD roads are used as positive sample pairs, and the initial driving route and the SD roads modified according to the meta-action are used as negative sample pairs. A loss function is calculated to make the distance between positive sample pairs as close as possible (as similar as possible), and the distance between negative sample pairs as large as possible (as dissimilar as possible). The network parameters of the SD road prediction head and / or the Transformer encoder are then adjusted inversely based on the loss function.
[0099] For example, the loss function used in contrastive learning can be a contrastive loss function, a triplet loss function, an information-noise contrastive estimation loss function, etc. In one way of constructing a loss function, taking cosine similarity as an example, the loss function can be constructed using the similarity of positive sample pairs as the numerator and the similarity of negative sample pairs as the denominator. By repeatedly adjusting the network parameters of the SD road prediction head and / or the Transformer encoder, the value of this loss function can be gradually reduced.
[0100] For example, during the inference phase after training or during vehicle operation, the SD road predicted by the SD road prediction head can be displayed as the user-specified driving route in the HMI interface, for example, in the display device 130 shown in Figure 1.
[0101] This application embodiment combines user navigation commands and SD road features to guide vehicle navigation. In addition to conventional text and image features, the LLM input includes SD road features, which helps optimize trajectory prediction performance.
[0102] For example, LLM can align or fuse text features, image features, and SD road features. The aligned or fused features are then input into a trajectory decoder, which decodes the feature information extracted by the LLM into a future trajectory. In one fusion method, text features, image features, and SD road features can be directly concatenated. For example, taking text feature A, image feature B, and SD road feature C as an example, the fused feature can be represented as [ABC]. In another alignment method, image features or SD road features can be input into different projectors. The projectors map the features extracted by different encoders to a language-compatible space, enabling the features extracted by the encoders to effectively interact and understand with the text features. For example, image features can be connected to the LLM through projector layer 1, and SD road features can be connected to the LLM through projector layer 2. Pre-training with text prompts, image features, and SD road features aligns both image features and SD road features to the high-dimensional vector space embedded in the semantic information of the text.
[0103] In one implementation, the trajectory decoder, LLM, and Transformer encoder can be trained using supervised learning with the future trajectory ground truth. The future trajectory ground truth can be a trajectory generated from historical data collected by sensors, the vehicle's historical driving trajectory, or controllable trajectory data generated in a virtual environment through simulation. In the forward propagation phase, the trajectory decoder predicts the future trajectory 1 based on the aligned or fused features of the LLM output. In the backpropagation phase, the future trajectory 1 predicted by the trajectory decoder is compared with the future trajectory ground truth. A trajectory loss function and a collision loss function are calculated based on the future trajectory 1 and the future trajectory ground truth. The network parameters of at least one module in the trajectory decoder, LLM, and Transformer encoder are then adjusted in reverse to ensure the convergence of the trajectory loss function and the collision loss function. For example, the trajectory loss function quantifies the spatial deviation or displacement error between the predicted future trajectory and the future trajectory ground truth, and the collision function quantifies the collision risk between the predicted future trajectory and obstacles in the environment. The collision function and the average displacement error (ADE) function can be combined and added to the total loss function. The network parameters of at least one module in the trajectory decoder, LLM, and Transformer encoder are then adjusted to ensure the convergence of the total loss function.
[0104] In one implementation, to enhance the compliance of the trajectory planning model, the trajectory decoder, LLM, and Transformer encoder can be trained using a contrastive learning method, ensuring that the initial driving trajectory and the future trajectory modified based on meta-actions are as different as possible. For example, during the data preparation phase, naturally paired future trajectories and ground truth future trajectories are used as positive sample pairs, and the initial driving trajectory and the future trajectory modified based on meta-actions are used as negative sample pairs. A loss function is calculated to make the distance between positive sample pairs as close as possible (as similar as possible), and the distance between negative sample pairs as large as possible (as dissimilar as possible). The network parameters of at least one module in the trajectory decoder, LLM, and Transformer encoder are then adjusted inversely based on the loss function.
[0105] For example, the Transformer encoder in the trajectory planning model above can also be an encoder based on a convolutional neural network (CNN); the text encoder, image encoder, and MLLM can be any combination of a large multimodal model trained on massive amounts of data and modal alignment. For example, the image encoder can be an image encoder based on a contrastive language-image pre-training (CLIP) model or a vision transformer (ViT).
[0106] Furthermore, this application does not limit the type of trajectory decoder.
[0107] Optionally, in addition to text features, image features, and SD road features, the input to LLM can also include features obtained by encoding other types of sensor data, such as features encoded from sensor data acquired by LiDAR, millimeter-wave radar, and ultrasonic radar.
[0108] To facilitate understanding of the above process, the following uses the application scenarios shown in Figures 8 to 10 to illustrate the trajectory planning process and effects of the autonomous driving system in different scenarios.
[0109] The display device inside the vehicle's cabin can show the initial driving route. As shown in Figure 8(a), based on the target location entered by the user before the trip begins, the navigation module outputs the vehicle's initial driving route, as shown by the gray lines in the figure. If the vehicle needs to pass through intersections a and c sequentially to reach the target location from its current location (e.g., location A in the figure), the navigation information corresponding to the initial driving route instructs the vehicle to go straight at intersection a, turn right at intersection b, and turn left at intersection c, eventually reaching the target location. Additionally, the navigation information can also indicate the distance between the vehicle and at least one intersection, such as "turn right after 800 meters," indicating that the distance between the vehicle and intersection b is 800 meters.
[0110] In one possible scenario, when a vehicle detects a user's voice input "turn right at the intersection ahead" at location A, the vehicle can obtain information about a meta-action (e.g., "turn right") based on this voice input. Based on the meta-action information, the target location, and image data within a preset range near location A collected by the vehicle's camera, the Transformer encoder in the trajectory planning model outputs SD road features. The SD road prediction head can then predict the modified SD road based on the user's voice input using these SD road features. For example, the image data within a preset range near location A collected by the vehicle's camera may include environmental information near intersection a. Based on the environmental information near intersection a, the meta-action ("turn right"), and the target location, the Transformer encoder outputs SD road features corresponding to intersection a, which can characterize road-level directional information near intersection a (e.g., the distance between the vehicle's location A and intersection a, the turning radius of the vehicle when turning right at intersection a, the vehicle's heading or steering angle when turning right, etc.). The SD road can be shown as the gray line in Figure 8(b). According to the SD road, the vehicle turns right at intersection a, turns left at intersection c', and executes at intersection c, eventually reaching the target location.
[0111] For example, the SD road can be displayed via HMI for the user to confirm whether the SD road is the desired driving route. In one implementation, if no modification instruction or confirmation information from the user regarding the SD road is detected within a preset time, the SD road features, image features generated from image data collected by the vehicle's camera within a preset range near location A, and text features generated based on navigation information can be input into the LLM. The LLM will then input the integrated feature information into the trajectory decoder to obtain a lane-level future trajectory modified according to the user's voice input. This future trajectory will then be input into the vehicle control module to control the vehicle to drive according to the future trajectory.
[0112] Based on the contrastive learning training method described above, the modified driving route according to the user's voice input can better follow the user's instructions, improving the vehicle's ability to follow the user's navigation instructions during autonomous driving and reducing the risk of deviation. As shown in Figure 8(b), the modified driving route instructs the vehicle to turn right at intersection a, which is consistent with the action instructed by the user.
[0113] Optionally, after the driving route is modified, the display device or the voice prompt device in the cabin (such as the speaker in the cabin) can be controlled to display a message such as "The route has been replanned for you".
[0114] Optionally, the vehicle's display device can also be controlled to display the modified future trajectory, which may include the vehicle's specific location and information about the recommended driving lane. As shown in Figure 8(c), the gray solid line represents the future trajectory, which indicates that the vehicle will move from its current left lane to the right lane before making a right turn.
[0115] The SD road features in this application embodiment may be one or more sets. In one possible scenario, when the distance between the current position of the vehicle and the target position is far, the SD road features generated based on the information of the meta-action, the target position, and the image data collected by the vehicle's camera device may be multiple sets.
[0116] For example, Figure 9(a) shows a schematic diagram of an initial driving route planned based on the target location. The navigation information corresponding to this initial driving route instructs the vehicle to go straight at intersections d and e, turn right at intersection f, and turn left at intersection g, eventually reaching the target location. Assuming that when the vehicle reaches location B, the user's voice input "turn right at the intersection ahead" is detected, based on this voice input, the image data within a preset range near location B collected by the vehicle's camera device, and the target location, after being encoded by the corresponding encoder, if the distance between the intersections is relatively short and the preset range includes image data from multiple intersections, the Transformer encoder in the trajectory planning model may output multiple sets of SD road features, each set of SD road features corresponding to one SD road. For example, SD road feature 1 corresponds to SD road 1 as shown in Figure 9(b). According to the driving route planned by SD road feature 1, the vehicle needs to be controlled to turn right at intersection d, turn left at intersection i, and go straight at intersections h and g, and finally control the vehicle to drive to the target position. SD road feature 2 corresponds to SD road 2 as shown in Figure 9(c). According to the driving route planned by SD road feature 2, the vehicle needs to be controlled to go straight at intersection d, turn right at intersection e, turn left at intersection h, and go straight at intersection g, and finally control the vehicle to drive to the target position.
[0117] In one implementation, one set of SD road features can be selected as the input to the LLM, and the display device is controlled to only display the SD road associated with the SD road feature corresponding to the input. The selection method for SD road features can have different criteria. For example, based on the user's voice input "turn right at the intersection ahead," the SD road that turns right at the intersection closest to the vehicle's current position can be preferentially selected, i.e., SD road 1 corresponding to SD road feature 1 shown in Figure 9(b); or, based on the user's historical driving data, if the vehicle has passed intersection i fewer times than other intersections within a preset time period, the SD road that avoids intersection i can be preferentially selected, i.e., SD road 2 corresponding to SD road feature 2 shown in Figure 9(c).
[0118] Optionally, the vehicle's display device can be controlled to simultaneously display SD road 1 and SD road 2, prompting the user to select one of the two SD roads. Based on the user's selection, the SD road characteristics corresponding to the user-selected SD road are input into the downstream module, and the vehicle is controlled to drive according to the user-selected SD road.
[0119] Figure 10 shows a schematic diagram of a driving route planned by an autonomous driving system according to an embodiment of this application. Trajectory 1 represents the driving trajectory planned according to the autonomous driving system architecture shown in Figure 6, and trajectory 2 represents the driving trajectory planned according to the autonomous driving system architecture shown in Figure 4.
[0120] As shown in Figure 10(a), compared to the LLM input which only includes text features and image features, the addition of SD road features makes the autonomous driving system more intelligent in predicting driving trajectories because SD road features can characterize information such as the distance between the vehicle and the intersection, turning radius, and steering angle. For example, the timing and turning radius of the vehicle when turning at the intersection are more reasonable.
[0121] By introducing SD road features, the problem of insufficient information in user navigation commands is compensated for, enabling vehicle control based on user navigation commands. When the user wants to take other routes (such as side roads) or internal roads unknown to the navigation module, the user can express navigation commands via voice to guide the vehicle to the desired route. As shown in Figure 10(b), the gray area represents a closed park, which includes office buildings (Buildings A1, A2, A3, and A4). The park entrances and exits include the east gate and the west gate, which are connected by roads. The environmental and road-related information within the park is not included in the vehicle's navigation module. The vehicle's target location for this trip is the west gate of the park, and trajectory 2 indicates that the vehicle travels around the perimeter of the park. When the vehicle is about to reach the east gate of the park, upon detecting the user's voice command "go straight ahead," a driving trajectory as shown in trajectory 2 can be planned to guide the vehicle into the internal roads of the park, thereby controlling the vehicle to travel along the route desired by the user.
[0122] Besides roads within the park, the solution in this application embodiment can also be applied to scenarios such as traffic jams and road construction. For example, suppose a user issues a navigation command "Traffic jam ahead, turn right at the intersection" when encountering a traffic jam ahead. After detecting the user's navigation command, the image data collected by the camera device can determine the area where the traffic jam occurs ahead of the vehicle. Combining the information of the meta-actions in the user's navigation command, the image data, and the target location, SD road features related to the traffic jam area can be obtained. These SD road features can characterize information such as the distance between the traffic jam location and the vehicle, the location of the intersection, the direction of the intersection, and the turning radius of the vehicle at the intersection. Based on these SD road features, the driving route can be replanned to avoid the traffic jam area.
[0123] Figure 11 shows a schematic flowchart of a control method provided in an embodiment of this application. This method 1100 can be executed by the vehicle 100 shown in Figure 1 or the autonomous driving system shown in Figure 2, or by the computing platform 120, or by the chip-on-system (SoC) in the computing platform 120, or by the processor in the computing platform 120. For example, this method can be combined with the flowchart shown in Figure 5, or it can be combined with the trajectory planning model shown in Figure 6.
[0124] As shown in Figure 11, the method 1100 includes:
[0125] S1110: Obtain navigation information, which indicates the target location of the vehicle's current journey.
[0126] For example, before obtaining navigation information, the method may further include: obtaining a second input, the second input including the target location.
[0127] For example, a user can input their target location via voice or text. Based on the user's input target location and the vehicle's initial location, navigation information from the vehicle's initial location to the target location can be obtained.
[0128] For example, the navigation information can be detailed information about the vehicle's route from its initial position to its target position, provided by navigation software or the vehicle's built-in navigation system, including vehicle movements and travel distance. The navigation information indicates the target location for the vehicle's current journey; this can be understood as determining the target location based on the navigation information, or as including information related to the target location.
[0129] S1120: Obtain first input, the first input including the first action that the user expects the vehicle to perform at the first position.
[0130] For example, the first input refers to a natural language command entered by the user in the form of voice or text. For instance, the first input includes the navigation commands described above. In addition to information related to the target location, driving route, or driving direction, the first input may also include information such as waypoints, lanes, and obstacles.
[0131] For example, the first action refers to the action related to the vehicle's driving direction in the user's description, and the first action may include a meta-action. Taking "turn left at the next intersection" as an example, the first location can be "next intersection," and the first action is "turn left." The specific location of the intersection corresponding to "next intersection" can be determined by combining data collected by sensors and map information.
[0132] Taking the embodiment corresponding to Figure 8 as an example, the first input is "turn right at the intersection ahead", the first position is intersection a, and the first action is "turn right". Taking the embodiment corresponding to Figure 9 as an example, the first input is "turn right at the intersection ahead", the first action is "turn right", and the first position is intersection d shown in Figure 9(b) or intersection e shown in Figure 9(c). The first position can be determined by the user based on the driving path displayed on the display device, or it can be determined based on preset judgment criteria. The specific determination method can be referred to the embodiment corresponding to Figure 9, and will not be repeated here.
[0133] S1130: Based on the first action and navigation information, plan the first path from the first position to the target position.
[0134] For example, a first path can be planned based on the first action that the user expects the vehicle to perform at the first location, that is, different first actions correspond to different paths. Taking the paths shown in Figure 9(a) and (b) as examples, assuming the first location is intersection d, if the first action is "go straight", the first path shown by the gray line in Figure 9(a) can be planned; if the first action is "turn right", the first path shown by the gray line in Figure 9(b) can be planned.
[0135] For example, the first path can be a road-level driving route, such as the SD road described above, as shown in Figure 8(b); or it can be a lane-level future trajectory, such as the driving trajectory shown in Figure 8(c).
[0136] Optionally, the method 1100 may further include: acquiring image information collected by the vehicle's camera device, the image information including road topology within a first range of the vehicle, the first range including a first location; and planning a first path from the first location to a target location based on a first action and navigation information, including: determining road feature information based on the first action, image information and target location; and planning the first path based on the road feature information.
[0137] For example, road topology can be road information related to path planning or environmental information around the vehicle, such as lane lines, obstacles, intersection orientation, traffic signs, etc. The first range can be determined based on the effective range of data collected by the vehicle's camera device, and may include angular range and distance range. Road feature information may include the SD road features mentioned above, used to characterize information such as the distance between the vehicle and the intersection, turning radius, and vehicle orientation when turning.
[0138] Optionally, road feature information is determined based on the first action, image information, and target location, including: inputting the first action, image information, and target location into a first neural network model to obtain road feature information, wherein the first neural network model is a multimodal large model.
[0139] For example, the multimodal large model could be the MLLM described above. Alternatively, it could be other neural network models capable of processing multiple modalities of data (text, images, audio, etc.). For instance, it could be a neural network model built by combining a CNN encoder with other modality processing modules (such as a Transformer encoder).
[0140] For example, the trajectory planning model in Figure 5 can be considered as an example of a first neural network model. This first neural network model may include modules such as the text encoder, visual encoder, Transformer encoder, SD road prediction head, LLM, and trajectory decoder shown in Figure 6. The method for training the first neural network model can be referred to the description in the foregoing embodiments, and will not be repeated here.
[0141] Combining a first neural network model, determining road feature information based on a first action, image information, and target location may include: inputting image information into a visual encoder to obtain image feature information; and inputting the image feature information, the first action, and target location into a Transformer encoder to obtain road feature information. The first neural network model includes a Transformer encoder.
[0142] For example, the first path may be an SD road. Planning the first path based on road feature information, in conjunction with a first neural network model, may include: inputting the road feature information into an SD road prediction head to obtain the first path, wherein the first neural network model includes the SD road prediction head.
[0143] For example, the first path can be a driving trajectory. Planning the first path based on road feature information, in conjunction with the first neural network model, can include: inputting image information into a visual encoder to obtain image feature information; inputting the first input and / or navigation information into a text encoder to obtain text feature information; inputting the road feature information, image feature information, and text feature information into a large language model to obtain first feature information; and planning the first path based on the first feature information.
[0144] Optionally, the first action instructs the vehicle to turn at the first position, and the first path is planned based on road feature information, including: determining the turning radius of the vehicle at the first position based on the road feature information and the first action; and planning a sub-path of the vehicle at the first position based on the turning radius, wherein the first path includes the sub-path.
[0145] For example, a sub-path can be a segment of the first path, the length of which is less than or equal to that of the first path. Taking the scenario shown in Figure 10(a) as an example, the first location is an intersection, and the road feature information can characterize information such as the turning radius of the vehicle at the intersection, the distance between the vehicle and the intersection, and the orientation of the intersection. Based on the turning radius, the turning trajectory of the vehicle at the intersection can be planned, such as the trajectory shown in trajectory 1 in the figure.
[0146] S1140: Control the vehicle's movement according to the first path.
[0147] Optionally, the method 1100 may further include: controlling a display device of the vehicle to display a first path.
[0148] For example, the display device may be at least one of the display devices 130 in FIG1.
[0149] Optionally, the method 1100 may further include: controlling a voice prompt device of the vehicle to prompt the user with information related to the first path.
[0150] In one possible scenario, the distance between the first location and the vehicle's current location is less than or equal to a distance threshold.
[0151] For example, the current location is the location of the vehicle when the first input is obtained. It can represent the location of the vehicle within a preset time before the first input is obtained, the location of the vehicle at a certain moment within the time period of obtaining the first input, or the location of the vehicle within a certain period of time after the first input is detected.
[0152] As the vehicle moves, the user can instruct the vehicle to change its route at a location closer to its current location.
[0153] In one possible scenario, the navigation information also indicates a second path from the vehicle's current location to the target location, where the first location is a point along the second path.
[0154] Optionally, the method 1100 may further include: controlling a display device of the vehicle to display a second path.
[0155] Optionally, the method 1100 may further include: controlling the vehicle's display device or voice prompt device to prompt the user that the vehicle's driving route has been switched from the second route to the first route.
[0156] For example, the second path could be the vehicle's travel path before the first input is obtained, i.e., the vehicle's initial travel path.
[0157] For example, the first position can be a location between the current position and the target position. During vehicle operation, if the user is dissatisfied with the second path, they can control the vehicle to change its route before reaching the first position. Based on the first input, the vehicle is controlled to travel along the second path before reaching the first position; after reaching the first position, the vehicle is controlled to travel along the first path.
[0158] Figure 12 shows a schematic block diagram of a control device 1200 provided in an embodiment of this application. The control device 1200 includes: an acquisition unit 1210 for acquiring navigation information, the navigation information indicating the target location of the vehicle's current journey; acquiring a first input, the first input including a first action that the user expects the vehicle to perform at the first location; a planning unit 1220 for planning a first path from the first location to the target location based on the first action and the navigation information; and a control unit 1230 for controlling the vehicle to drive based on the first path.
[0159] Optionally, the distance between the first position and the current position of the vehicle is less than or equal to a distance threshold.
[0160] Optionally, the navigation information also indicates a second path from the vehicle's current location to the target location, where the first location is a location passed through by the second path.
[0161] Optionally, the acquisition unit 1210 is further configured to: acquire image information collected by the vehicle's camera device, the image information including the road topology within a first range of the vehicle, the first range including a first location; the planning unit 1220 is specifically configured to: determine road feature information based on the first action, the image information and the target location; and plan a first path based on the road feature information.
[0162] Optionally, the first action instructs the vehicle to turn at the first position. The planning unit 1220 is specifically used to: determine the turning radius of the vehicle at the first position based on road feature information and the first action; and plan a sub-path for the vehicle at the first position based on the turning radius, wherein the first path includes the sub-path.
[0163] Optionally, the planning unit 1220 is specifically used to: input the first action, image information and target position into the first neural network model to obtain road feature information, wherein the first neural network model is a multimodal large model.
[0164] Optionally, the control unit 1230 is also used to: control the vehicle's display device to display the first path.
[0165] For example, the acquisition unit 1210 can be the computing platform 120 in Figure 1, or the processing circuit, processor, or controller in the computing platform 120. Taking the processor 121 in the computing platform as an example, the acquisition unit 1210 can acquire navigation information and the first input.
[0166] For example, the planning unit 1220 can be the computing platform 120 in Figure 1, or the processing circuit, processor, or controller in the computing platform 120. Taking the processor 122 in the computing platform as an example, after the processor 121 obtains navigation information and the first input, the processor 122 can plan the first path from the first position to the target position according to the first action in the first input and the navigation information.
[0167] For example, the control unit 1230 can be the computing platform 120 in Figure 1, or the processing circuit, processor, or controller in the computing platform 120. Taking the control unit 1230 as the processor 123 in the computing platform as an example, after the processor 122 plans the first path, the processor 123 can control the vehicle to drive according to the first path.
[0168] The functions implemented by the acquisition unit 1210, the control unit 1230, and the planning unit 1220 can be implemented by different processors, or by the same processor, or some functions can be implemented by the same processor. This application embodiment does not limit this.
[0169] It should be understood that the division of units in the above device is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the units in the device can be implemented by a processor calling software; for example, the device includes a processor connected to memory, which stores instructions. The processor calls the instructions stored in memory to implement any of the above methods or to implement the functions of each unit in the device. The processor can be, for example, a general-purpose processor, such as a CPU or microprocessor, and the memory can be internal or external to the device. Alternatively, the units in the device can be implemented as hardware circuits. The functions of some or all units can be implemented through the design of the hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all units are implemented through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a PLD, such as an FPGA, which can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files, thereby implementing the functions of some or all units. All units of the above devices can be implemented entirely through processor calling software, or entirely through hardware circuits, or partially through processor calling software with the remaining parts implemented through hardware circuits.
[0170] In this application embodiment, a processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction reading and execution capabilities, such as a CPU, microprocessor, GPU, or DSP. In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. These logical relationships are fixed or reconfigurable. For example, the processor may be a hardware circuit implemented as an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the processor loading instructions to implement the functions of some or all of the above units. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, or DPU.
[0171] As can be seen, each unit in the above device can be one or more processors (or processing circuits) configured to implement the above methods, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0172] Furthermore, the units in the above devices can be integrated in whole or in part, or they can be implemented independently. In one implementation, these units are integrated together as a System-on-a-Chip (SoC). The SoC may include at least one processor for implementing any of the above methods or implementing the functions of the units in the device. The at least one processor may be of different types, such as CPU and FPGA, CPU and AI processor, CPU and GPU, etc.
[0173] This application also provides a control device, which includes: a memory for storing a computer program; and a processor for executing the computer program stored in the memory, so that the device can execute any of the control methods described in the above embodiments.
[0174] Alternatively, if the device is located in a vehicle, the processor may be the processor 121-12n shown in FIG1.
[0175] This application also provides a vehicle that may include the control device 1200 described above.
[0176] This application also provides a computer-readable medium storing instructions that, when executed by a processor, cause the processor to implement any of the control methods described in the above embodiments.
[0177] This application also provides a computer program product, which includes computer program code. When the computer program code is run on a computer, it causes the computer to execute any of the control methods described in the above embodiments.
[0178] This application also provides a chip that includes a circuit that can be used to execute any of the control methods described in the above embodiments.
[0179] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or by a combination of hardware and software modules within the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, power-on erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0180] It should be understood that in the embodiments of this application, the memory may include read-only memory and random access memory, and provides instructions and data to the processor.
[0181] It should also be understood that, in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0182] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0183] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0184] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0185] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0186] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0187] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0188] Unless otherwise defined, the technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure pertains. The above description is merely one embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, or improvements made based on this application shall be included within the scope of protection of this application.
Claims
1. A control method, characterized in that, The method includes: Obtain navigation information, which indicates the target location of the vehicle's current journey; Obtain a first input, the first input including a first action that the user expects the vehicle to perform at the first position; Based on the first action and the navigation information, plan a first path from the first location to the target location; The vehicle is controlled to travel according to the first path.
2. The method according to claim 1, characterized in that, The distance between the first location and the current location of the vehicle is less than or equal to a distance threshold.
3. The method according to claim 1 or 2, characterized in that, The navigation information also indicates a second path from the vehicle's current location to the target location, where the first location is a location traversed by the second path.
4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: The image information acquired by the vehicle's camera device includes the road topology within a first range of the vehicle, and the first range includes the first location; The step of planning a first path from the first location to the target location based on the first action and the navigation information includes: Based on the first action, the image information, and the target location, road feature information is determined; Based on the road feature information, the first path is planned.
5. The method according to claim 4, characterized in that, The first action instructs the vehicle to turn at the first position, and the step of planning the first path based on the road feature information includes: Based on the road feature information and the first action, the turning radius of the vehicle at the first position is determined; Based on the turning radius, a sub-path is planned for the vehicle at the first position, and the first path includes the sub-path.
6. The method according to claim 4 or 5, characterized in that, Determining road feature information based on the first action, the image information, and the target location includes: The first action, the image information, and the target location are input into a first neural network model to obtain the road feature information. The first neural network model is a multimodal large model.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: The display device controlling the vehicle displays the first path.
8. A control device, characterized in that, The device includes: The acquisition unit is configured to acquire navigation information, which indicates the target location of the vehicle's current journey; and acquire a first input, which includes a first action that the user expects the vehicle to perform at the first location. The planning unit is configured to plan a first path from the first position to the target position based on the first action and the navigation information. A control unit is used to control the vehicle's movement according to the first path.
9. The apparatus according to claim 8, characterized in that, The distance between the first location and the current location of the vehicle is less than or equal to a distance threshold.
10. The apparatus according to claim 8 or 9, characterized in that, The navigation information also indicates a second path from the vehicle's current location to the target location, where the first location is a location traversed by the second path.
11. The apparatus according to any one of claims 8 to 10, characterized in that, The acquisition unit is further configured to: The image information acquired by the vehicle's camera device includes the road topology within a first range of the vehicle, and the first range includes the first location; The planning unit is specifically used for: Based on the first action, the image information, and the target location, road feature information is determined; Based on the road feature information, the first path is planned.
12. The apparatus according to claim 11, characterized in that, The first action instructs the vehicle to turn at the first position, and the planning unit is specifically used for: Based on the road feature information and the first action, the turning radius of the vehicle at the first position is determined; Based on the turning radius, a sub-path is planned for the vehicle at the first position, and the first path includes the sub-path.
13. The apparatus according to claim 11 or 12, characterized in that, The planning unit is specifically used for: The first action, the image information, and the target location are input into a first neural network model to obtain the road feature information. The first neural network model is a multimodal large model.
14. The apparatus according to any one of claims 8 to 13, characterized in that, The control unit is also used for: The display device controlling the vehicle displays the first path.
15. A control device, characterized in that, The device includes: Memory, used to store computer programs; A processor for executing a computer program stored in the memory to cause the apparatus to perform the method as described in any one of claims 1 to 7.
16. A vehicle, characterized in that, Includes the apparatus as described in any one of claims 8 to 15.
17. A computer-readable storage medium, characterized in that, It stores instructions that, when executed by a processor, cause the processor to implement the method as described in any one of claims 1 to 7.
18. A computer program product, characterized in that, The computer program product includes computer program code that, when run on a computer, causes the computer to perform the method as described in any one of claims 1 to 7.
19. A chip, characterized in that, The chip includes circuitry for performing the method as described in any one of claims 1 to 7.
