Obstacle-avoiding parking method and device and storage medium
By detecting parking functions and determining obstacle information in the intelligent driving system, and planning and executing the parking path around the obstacle, the problem of insufficient functional safety of the intelligent driving parking function during the obstacle rounding process is solved, and the vehicle functional safety area is realized The low-cost and efficient parking within the car ensures functional safety integrity.
Patent Information
- Application Number
- CN202411297242.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-11-12
AI Technical Summary
The parking function in intelligent driving is insufficient during the circumvention process due to insufficient computing power in the vehicle functional safety zone of the domain control hardware system-level chip or safety island or microcontroller, insufficient functional safety of visual or radar sensors, insufficient functional safety capabilities of perception software or operation. The system's functional safety settings are insufficient, resulting in the inability to ensure the integrity of functional safety.
Provide a method of parking bypassing the road, detecting whether the parking function is turned on, determining obstacle information based on vehicle sensors, and planning the parking path based on the current position of the vehicle and parking space position, so that there is no fault in the vehicle functional safety area. Control the vehicle parking to the parking space below to ensure functional safety.
While reducing costs, the vehicle parking function is designed in the vehicle's functional safety zone, ensuring the integrity of functional safety and improving the safety of the vehicle during the vehicle's circumference.
Smart Images

Figure CN118928371A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control, and in particular to an obstacle avoidance parking method, device and storage medium. Background Art
[0002] With the development of intelligence, smart driving has begun to present various forms such as cabin-berthing, driving-berthing, or cabin-driving-berthing. And with the diversification of cockpit and smart driving chip design, functional safety has also presented various forms.
[0003] The parking function in intelligent driving requires obstacle avoidance, but the following problems may exist: the selected domain control hardware system-level chip or safety island or microcontroller's vehicle functional safety zone computing power is insufficient, or the visual or radar sensor functional safety is insufficient, or the perception software's functional safety capabilities are insufficient, or the operating system's functional safety capabilities are insufficient, or there are few functional safety settings in the process, which will make it impossible to ensure the integrity of the functional safety.
[0004] In view of this, the present invention is proposed. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides an obstacle avoidance parking method, device and storage medium, which can reduce the cost of the vehicle functional safety zone and control the vehicle to automatically avoid obstacles and park in a parking space under the premise of functional safety.
[0006] An embodiment of the present invention provides an obstacle avoidance parking method, which is applied to a vehicle functional safety zone. The method includes:
[0007] detecting whether a parking function is in an on state, and determining obstacle information based on a vehicle sensor when the parking function is in an on state;
[0008] Determine an obstacle-avoiding parking path according to the current position of the vehicle, the position of the parking space, and the information of each obstacle;
[0009] In the case that there is no fault in the functional safety zone of the vehicle, controlling the vehicle to park at the parking space position based on the obstacle avoidance parking path;
[0010] Wherein, the vehicle functional safety zone includes the vehicle sensor, and the vehicle functional safety zone meets functional safety requirements.
[0011] An embodiment of the present invention provides an electronic device, the electronic device comprising:
[0012] Processor and memory;
[0013] The processor is used to execute the steps of the obstacle avoidance parking method described in any embodiment by calling the program or instruction stored in the memory.
[0014] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute the steps of the obstacle avoidance parking method described in any embodiment.
[0015] The embodiments of the present invention have the following technical effects: in the functional safety zone of the vehicle, it is detected whether the parking function is in the on state; when the parking function is in the on state, obstacle information is determined based on the vehicle sensor; further, an obstacle avoidance parking path is determined according to the current position of the vehicle, the position of the parking space and the information of each obstacle; when there is no fault in the functional safety zone of the vehicle, the vehicle is controlled to park at the parking space based on the obstacle avoidance parking path, thereby realizing the design of the obstacle avoidance parking function in the functional safety zone of the vehicle, reducing the cost while ensuring the integrity of the functional safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 is a flow chart of an obstacle avoidance parking method provided by an embodiment of the present invention;
[0018] Figure 2 is a flow chart of another obstacle avoidance parking method provided by an embodiment of the present invention;
[0019] Figure 3 It is a schematic diagram of vehicle functional safety design in the prior art;
[0020] Figure 4 is a schematic diagram of a vehicle functional safety zone and a vehicle non-functional safety zone provided by an embodiment of the present invention;
[0021] Figure 5 is a safety step diagram of an obstacle avoidance parking function provided by an embodiment of the present invention;
[0022] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0024] The obstacle avoidance parking method provided by the embodiment of the present invention is mainly applicable to the functional safety design of low-cost parking obstacle avoidance. The obstacle avoidance parking method provided by the embodiment of the present invention can be executed by an electronic device.
[0025] Figure 1 is a flow chart of an obstacle avoidance parking method provided by an embodiment of the present invention. Figure 1 The obstacle avoidance parking method is applied to the vehicle functional safety zone, specifically including:
[0026] S110: Detect whether the parking function is turned on. If the parking function is turned on, determine obstacle information based on vehicle sensors.
[0027] Among them, the parking function is a function of controlling the vehicle to enter the parking space from the current position. The parking function has an on state and an off state. In the on state, the parking function can be used, and in the off state, the parking function cannot be used. It is understandable that the user can trigger the on state of the parking function by manually triggering the parking control and other methods when the parking function can be realized. The vehicle sensor is a sensor used to sense the surrounding environment of the vehicle, for example, it can include radar, camera, etc. The vehicle sensor needs to meet the functional safety requirements, that is, it is designed in accordance with ISO 26262 or GB / T 34590. It is understandable that if the vehicle sensor has both radar and camera, then at least one branch meets the functional safety and connects its data to the vehicle functional safety area, and the branch data is used in subsequent steps. Obstacle information is relevant information about obstacles around the vehicle, especially relevant information about obstacles between the current position of the vehicle and the parking space, such as obstacle type, obstacle size, distance between obstacle and vehicle, etc.
[0028] Specifically, it is detected whether the parking function is turned on. If the parking function is not turned on, that is, it is in the exit state, the subsequent obstacle avoidance parking cannot be realized. If the parking function is turned on, the subsequent obstacle avoidance parking can be realized. Therefore, firstly, the obstacle information around the vehicle is determined based on the vehicle sensor, so that the subsequent vehicle can bypass the obstacle to reach the parking space and complete the obstacle avoidance parking.
[0029] Based on the above examples, obstacle information can be determined based on vehicle sensors in different ways, depending on whether the vehicle sensors have perception functions:
[0030] Based on vehicle sensors, obtain surrounding environment information;
[0031] In the case where the vehicle sensor has a perception function, based on the perception function and the surrounding environment information, the obstacle information is determined;
[0032] When the vehicle sensor does not have a perception function, the surrounding environment information is read from the vehicle sensor through the vehicle functional safety zone, and the surrounding environment information is processed by the perception unit in the vehicle functional safety zone to obtain obstacle information.
[0033] Among them, the surrounding environment information is the information directly collected by the sensor, such as the environmental point cloud information collected by the radar, the environmental image information collected by the camera, etc. The perception function is the obstacle perception algorithm built into the vehicle sensor, which is used to analyze the surrounding environment information and extract obstacle information. The perception unit is the software and / or hardware in the functional safety area of the vehicle, which is used to read the surrounding environment information and extract obstacle information. The obstacle perception algorithm is integrated in the perception unit. The perception unit in the functional safety area of the vehicle also needs to meet the functional safety requirements.
[0034] Specifically, when the parking function is turned on, in order to avoid collision with obstacles during the process of planning the path to the parking space, it is necessary to collect and obtain surrounding environment information through vehicle sensors in order to perceive and identify obstacle information. Next, depending on whether the vehicle sensor has a perception function, obstacle information is determined in the following two situations: Case 1: When the vehicle sensor has a perception function, obstacle information is determined based on the perception function and the surrounding environment information, that is, the surrounding environment information is processed and output through the obstacle perception algorithm of the vehicle sensor; Case 2: When the vehicle sensor does not have a perception function, it is necessary to process the surrounding environment information through an additional perception unit. Specifically, the surrounding environment information can be read from the vehicle sensor through the vehicle functional safety zone. The vehicle functional safety zone can actively request to obtain the surrounding environment information, or the vehicle sensor can actively send the surrounding environment information to the vehicle functional safety zone. Then, the surrounding environment information is processed through the perception unit in the vehicle functional safety zone using the obstacle perception algorithm integrated in the perception unit to identify the obstacle information.
[0035] It can be understood that both vehicle sensors and perception units in the vehicle functional safety area meet functional safety requirements.
[0036] Based on the above example, after determining the obstacle information based on the vehicle sensor, the validity of the obstacle information can be further determined, that is, whether it can be used for subsequent path planning. Specifically, it can be:
[0037] For each obstacle information, determine the validity of the obstacle information based on the signal loss, fault code, and obstacle type and size matching in the obstacle information;
[0038] According to each validity, the obstacle information is updated.
[0039] Among them, the signal loss situation refers to whether there is a signal loss in the continuously collected surrounding environment information and / or the identified obstacle information. The fault code situation refers to whether the fault identification bit in the continuously collected surrounding environment information and / or the identified obstacle information is a fault situation. The matching situation of obstacle type and size refers to whether the obstacle type in the obstacle information matches the obstacle size. It can be understood that each obstacle type is pre-set with a corresponding size range. For example, if the obstacle type is human, the size range can be no more than 2.5 meters in height and no more than 80 cm in width, etc., which can be set according to actual conditions. The validity of obstacle information refers to whether the obstacle information can be used for subsequent path planning. The validity can be valid or invalid.
[0040] Specifically, each identified obstacle information can be identified for validity, and each obstacle information whose validity is valid is retained, and each obstacle information whose validity is invalid is deleted, so as to update the obstacle information. Validity identification can include three aspects of identification, one of which is signal loss identification, which determines whether the surrounding environment information continuously collected and obtained and / or the obstacle information has signal loss, that is, determines whether the signal loss is signal loss, and if so, determines that the validity of the obstacle information is invalid; the second is the fault code situation, which determines whether the surrounding environment information continuously collected and obtained and / or the fault identification bit in the obstacle information indicates the existence of a fault, that is, determines whether the fault code situation is the existence of a fault, and if so, determines that the validity of the obstacle information is invalid; the third is the matching identification of obstacle type and size, which determines the preset size range corresponding to the obstacle type according to the obstacle type in the obstacle information, compares the obstacle size in the obstacle information with the preset size range, and if the obstacle size is outside the preset size range, determines that the validity of the obstacle information is invalid. It can be understood that, in the above three aspects of identification, if at least one determines that the validity of the obstacle information is invalid, the validity of the obstacle information is finally determined to be invalid; if all determine that the validity of the obstacle information is valid, the validity of the obstacle information is finally determined to be valid.
[0041] S120: Determine an obstacle-avoiding parking path according to the current position of the vehicle, the position of the parking space, and information about various obstacles.
[0042] Among them, the current position of the vehicle is the current position of the vehicle, which can be obtained based on the vehicle's positioning system, such as: GPS (Global Positioning System), Beidou Positioning System, UWB (Ultra Wide Band) positioning unit, etc. The parking space position is the location of the parking space where the vehicle wants to park. The parking space position can be obtained through manually marked parking spaces, or the parking space position can be determined by sensing and identifying the vacant parking spaces around the vehicle. The obstacle avoidance parking path is the path planned from the current position of the vehicle to the parking space position to avoid obstacles.
[0043] Specifically, the current position of the vehicle and the parking space position can be obtained from the non-functional safety zone of the vehicle. Based on the pre-loaded path planning algorithm, with the current position of the vehicle as the starting point and the parking space position as the end point, an obstacle avoidance parking path is planned that can avoid obstacles corresponding to the obstacle information, so as to safely bypass the obstacles and park in the parking space.
[0044] Optionally, the parking space lines on the ground can be identified based on the non-functional safety zone of the vehicle, and the presence of vehicles between adjacent parking space lines can be determined. According to the parking space lines and the presence of each vehicle, at least one free parking space can be determined, and a target parking space can be determined from each free parking space, and the position of the target parking space can be used as the parking space position. The target parking space can be determined from each free parking space by using the free parking space closest to the current position of the vehicle as the target parking space, or by determining the driving distance for each free parking space according to the current position of the vehicle, the position of the free parking space, and each obstacle information, and using the free parking space corresponding to the minimum value of each driving distance as the target parking space.
[0045] Optionally, since the recognition of obstacle information is a real-time process, there may be changes in the obstacle information, that is, the obstacle information is updated. Therefore, the obstacle avoidance parking path can be updated according to the current position of the vehicle, the parking space position and the updated obstacle information to ensure that the obstacle avoidance parking path can be updated in real time according to changes in the surrounding environment.
[0046] S130: When there is no fault in the functional safety zone of the vehicle, control the vehicle to park at a parking space based on the obstacle avoidance parking path.
[0047] Among them, the vehicle functional safety zone includes vehicle sensors, and the vehicle functional safety zone meets the functional safety requirements. The vehicle functional safety zone includes computing unit hardware, such as: SOC (System on Chip) or MCU (MicroControl Unit), underlying software, such as: OS (Operating System), etc., and also includes obstacle avoidance parking logic, etc. In the obstacle avoidance parking logic, the input signals of the vehicle functional safety zone mainly include: sensor signals for identifying obstacle information, vehicle status signals, parking system status signals (on state or exit state), and other planning control input signals. The selection of each device in the vehicle functional safety zone needs to meet the functional safety requirements, that is, it is designed in accordance with ISO26262 or GB / T 34590. The sensor that collects obstacle information, that is, radar or camera, has at least one branch that meets the functional safety requirements, and its data is connected to the vehicle functional safety zone. The vehicle functional safety area only calculates safety information related to life safety, including collision target detection and judgment, safe path planning, control, functional safety failures, and functional regression logic. Other calculations related to the vehicle's non-functional safety, such as parking space recognition, video display, etc., are not included in the vehicle's functional safety area calculations, but should be placed in the vehicle's non-functional safety area.
[0048] Specifically, when there is no fault in the functional safety zone of the vehicle, it means that the vehicle can drive along the obstacle avoidance parking path and avoid various obstacles to the parking space while ensuring safety. Therefore, the vehicle status information, such as the heading angle, driving speed, etc., can be obtained, and the vehicle control signal can be determined based on the obstacle avoidance parking path. Then, the vehicle is controlled to move along the obstacle avoidance parking path and park at the parking space according to the vehicle control signal.
[0049] The present invention has the following technical effects: in a vehicle functional safety zone, it is detected whether the parking function is in an on state; when the parking function is in an on state, obstacle information is determined based on vehicle sensors; further, an obstacle avoidance parking path is determined based on the current position of the vehicle, the position of the parking space and information of each obstacle; when there is no fault in the vehicle functional safety zone, the vehicle is controlled to park at the parking space based on the obstacle avoidance parking path, thereby realizing the design of an obstacle avoidance parking function in the vehicle functional safety zone, reducing costs while ensuring the integrity of functional safety.
[0050] The above embodiment describes the method for a vehicle to drive to a parking space by bypassing obstacles according to the requirements of vehicle functional safety. In this embodiment, further description may be given for determining the obstacle bypassing parking path to improve vehicle safety, and a control strategy may be introduced when controlling the vehicle, and the process may be further described, such as Figure 2 shown. Figure 2FIG. 1 is a flow chart of another obstacle avoidance parking method provided by an embodiment of the present invention. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments are not repeated here. Figure 2 As shown, the method may specifically include the following steps:
[0051] S210: Detect whether the parking function is turned on. If the parking function is turned on, determine obstacle information based on vehicle sensors.
[0052] Based on the above example, when a parking signal is received, a fault detection may be performed on the functional safety area of the vehicle to determine whether the parking function can be turned on. Specifically, the following method may be used to detect whether the parking function is turned on:
[0053] When the parking function is in the exit state and a parking signal is received, the functional safety fault status of the functional safety zone of the vehicle is obtained in real time;
[0054] If all functional safety fault states are fault-free, it is determined that the parking function is updated to the on state; if at least one of the functional safety fault states is faulty, it is determined that the parking function remains in the exit state, and a first safety prompt message is generated.
[0055] Among them, the functional safety failure state is the failure condition of each software and each hardware in the functional safety area of the vehicle, that is, each software in the functional safety area of the vehicle corresponds to a functional safety failure state, and each hardware in the functional safety area of the vehicle also corresponds to a functional safety failure state. The first safety prompt information is used to prompt that there is a vehicle functional safety failure and the parking function cannot be entered. The parking signal is a signal that the user triggers the obstacle avoidance parking function, such as triggering the parking control key.
[0056] Specifically, when the parking function is in the exit state, it is necessary to monitor whether there is a parking signal. If not, it means that the user has no need to use the obstacle avoidance parking function. If it exists, in order to ensure the safety of the vehicle, it is necessary to obtain the functional safety fault status of the vehicle functional safety zone in real time, so as to enable the parking function while ensuring the safety of the vehicle and passengers. Specifically, if the obtained functional safety fault statuses are all fault-free, it means that the functional safety of the vehicle is guaranteed and the parking function can be enabled. Therefore, it is determined that the parking function is updated to the enabled state; if at least one of the functional safety fault states is faulty, it means that there is a risk to the functional safety of the vehicle and the parking function cannot be enabled temporarily. Therefore, it is determined that the parking function remains in the exit state, and a first safety prompt message is generated to remind the driver that there is a fault in the functional safety zone of the vehicle and the fault needs to be eliminated. The parking function cannot be enabled, and the driver is reminded to perform manual parking.
[0057] S220, obtaining the current position of the vehicle and the parking space position from the non-functional safety zone of the vehicle; and determining an obstacle avoidance parking path between the current position of the vehicle and the parking space position according to the obstacle position in each obstacle information and a preset safety distance.
[0058] The preset safety distance is the preset minimum distance between the vehicle and an obstacle during driving.
[0059] Specifically, the current position of the vehicle is obtained based on the positioning system in the non-functional safety zone of the vehicle, that is, the parking space position is obtained through the non-functional safety zone of the vehicle and sent to the functional safety zone of the vehicle. In the functional safety zone of the vehicle, the distance between the vehicle and each obstacle is greater than or equal to the preset safety distance. Between the current position of the vehicle and the parking space position, according to the obstacle position in the obstacle information, an obstacle avoidance parking path is planned.
[0060] Optionally, if the number of obstacle avoidance parking paths is at least two, the travel distance of each obstacle avoidance parking path is determined, and the obstacle avoidance parking paths except the obstacle avoidance parking path with the shortest travel distance are deleted.
[0061] Optionally, if the obstacle information corresponds to a moving obstacle, the predicted motion trajectory of the obstacle corresponding to the obstacle information can be predicted, and the obstacle avoidance parking path is determined according to the obstacle position in each obstacle information, the preset safety distance, and the predicted motion trajectory of each obstacle. That is, with the distance between the vehicle and each obstacle being greater than or equal to the preset safety distance as a restriction, the obstacle avoidance parking path is planned between the current position of the vehicle and the parking space according to the obstacle position in each obstacle information and the predicted motion trajectory.
[0062] S230: When there is no fault in the functional safety zone of the vehicle, determine a lateral control instruction and a longitudinal control instruction according to the obstacle avoidance parking path.
[0063] The lateral control instruction is a motion control instruction in the lateral direction of the vehicle, and the longitudinal control instruction is a motion control instruction in the longitudinal direction of the vehicle.
[0064] Specifically, when there is no fault in the functional safety zone of the vehicle, lateral control instructions and longitudinal control instructions can be generated based on the pre-loaded vehicle control algorithm, according to the obstacle avoidance parking path and in combination with the vehicle status information.
[0065] S240: Based on the lateral control instruction and the longitudinal control instruction, control the vehicle to park at a parking space.
[0066] Specifically, the downstream controller receives the lateral control instruction and the longitudinal control instruction, executes the lateral control instruction and the longitudinal control instruction, and controls the movement of the vehicle so as to drive the vehicle from the current position to the parking space according to the obstacle avoidance parking path.
[0067] Optionally, the lateral control instructions and longitudinal control instructions corresponding to each control cycle can be issued in real time. In each control cycle, based on the vehicle control algorithm and combined with the current driving path of the vehicle, the lateral control instructions and longitudinal control instructions corresponding to the control cycle are re-determined.
[0068] Based on the above example, if a vehicle fails during parking, that is, during driving along the obstacle avoidance parking path, the vehicle can be controlled in the following ways:
[0069] When the parking function is turned on, the functional safety fault status of the functional safety area of the vehicle is obtained in real time, and the non-functional safety fault status of the non-functional safety area of the vehicle is obtained in real time;
[0070] Determine the first brake information according to the functional safety fault state, and determine the second brake information according to the non-functional safety fault state;
[0071] The vehicle is controlled according to the first brake stop information and the second brake stop information.
[0072] Among them, the vehicle non-functional safety area includes software and hardware that are less relevant to the functional safety of the vehicle, such as sensor perception, mapping units, positioning units, etc. other than radars and cameras. By setting up the vehicle non-functional safety area, the vehicle functional safety area can save costs and meet the integrity of functional safety. The non-functional safety failure state is the failure condition of each software and hardware in the vehicle non-functional safety area, that is, each software in the vehicle non-functional safety area corresponds to a non-functional safety failure state, and each hardware in the vehicle non-functional safety area also corresponds to a non-functional safety failure state. The first brake stop information is the information of braking and stopping movement due to a failure in the vehicle functional safety area. The second brake stop information is the information of braking and stopping movement due to a failure in the vehicle non-functional safety area.
[0073] Specifically, when the parking function is turned on, it is necessary to obtain the functional safety fault status of the functional safety zone of the vehicle and the non-functional safety fault status of the non-functional safety zone of the vehicle in real time, so as to ensure safety during obstacle avoidance parking. Analyze each functional safety fault status to determine whether braking is required, that is, determine the first braking information, and determine whether braking is required for each non-functional safety fault status, that is, determine the second braking information. If one or both of the first braking information and the second braking information indicate that braking is required, the vehicle is controlled to brake and stop moving, otherwise, the vehicle continues to be controlled to travel along the obstacle avoidance parking path.
[0074] Based on the above example, the first brake information can be determined according to the functional safety fault state, and the second brake information can be determined according to the non-functional safety fault state in the following manner:
[0075] If the safety fault states of each function are all no fault, the first brake stop information is determined to be no brake stop; if at least one of the safety fault states of each function is a fault, the first brake stop information is determined to be brake stop;
[0076] If all non-functional safety fault states are no fault, the second brake stop information is determined to be no brake stop; if at least one of the non-functional safety fault states is a fault, the second brake stop information is determined to be a brake stop.
[0077] Specifically, if all the functional safety fault states obtained are fault-free, it means that the functional safety of the vehicle is guaranteed and the parking function can continue to be performed. Therefore, the first brake stop information is determined to be no brake stop; if at least one of the functional safety fault states is faulty, it means that there is a risk in the functional safety of the vehicle and the parking function cannot be performed temporarily. Therefore, the first brake stop information is determined to be brake stop, so as to stop the movement of the vehicle and avoid danger. If all the non-functional safety fault states obtained are fault-free, it means that other functions of the vehicle with weak correlation with functional safety can continue to be implemented. Therefore, the second brake stop information is determined to be no brake stop; if at least one of the non-functional safety fault states is faulty, it means that there is a risk in the non-functional safety of the vehicle, which may affect the implementation of the parking function. Therefore, the second brake stop information is determined to be brake stop, so as to stop the movement of the vehicle and avoid danger.
[0078] Based on the above example, the vehicle can be controlled according to the first brake stop information and the second brake stop information in the following manner:
[0079] If at least one of the first brake stop information and the second brake stop information is a brake stop, the vehicle is braked, the target gear of the electronic parking brake system is triggered, and a second safety prompt information is generated.
[0080] The electronic parking brake system (EPB) is a system that controls the parking brake through electronic circuits. The target gear is the parking gear, that is, the P gear. The second safety prompt information is used to prompt that there is a vehicle software or hardware failure and parking cannot be continued.
[0081] Specifically, if at least one of the first brake stop information and the second brake stop information is a brake stop, it means that there is a fault in the vehicle, which affects obstacle parking. Therefore, it is necessary to control the vehicle braking, that is, to brake, and trigger the target gear of the electronic parking brake system to stop the vehicle from moving to ensure safety. In addition, a second safety prompt message is generated to remind the driver that there is a fault in the vehicle's software or hardware, which affects the parking function and needs to exit the parking function, and remind the driver to perform manual parking.
[0082] The present invention has the following technical effects: the current position of the vehicle and the parking space position are acquired from the non-functional safety zone of the vehicle, and an obstacle avoidance parking path is determined between the current position of the vehicle and the parking space position according to the obstacle position in each obstacle information and a preset safety distance, so as to ensure the safety of path planning; further, when there is no fault in the functional safety zone of the vehicle, a lateral control instruction and a longitudinal control instruction are determined according to the obstacle avoidance parking path, and based on the lateral control instruction and the longitudinal control instruction, the vehicle is controlled to park at the parking space position, thereby achieving obstacle avoidance parking based on the functional safety zone of the vehicle, and improving the safety of path planning and vehicle control.
[0083] At present, the functional safety design of intelligent driving vehicles is usually based on the following Figure 3 The large and comprehensive design shown in the figure is suitable for both obstacle avoidance and obstacle parking. That is, the perception function, mapping function, fusion function, planning function, positioning function, control function, fault detection function, and the state machines corresponding to the fault detection function are all integrated in the vehicle functional safety zone to ensure the safe state of the output. This will increase the requirements for vehicle functional safety in the scenario of obstacle avoidance parking, causing high costs. The above example distinguishes between the vehicle functional safety zone and the vehicle non-functional safety zone. For parking functions that require obstacle avoidance, the functional safety zone can be made small and simple, which greatly saves project costs while meeting functional safety integrity. Figure 4 As shown, the second sensor perception function (the function of perceiving parking space information), mapping function, fusion function, positioning function and the state machine of the vehicle non-functional safety zone are integrated in the vehicle non-functional safety zone, i.e. the white part. The first sensor perception function (vision or radar), planning function, control (including brake function), fault detection function of the vehicle functional safety zone and retreat function (exit parking function) are all integrated in the functional safety zone, i.e. the yellow part, for verification and output, i.e., output lateral control instructions and longitudinal control instructions when executing obstacle avoidance parking, output EPB / P gear when exiting obstacle avoidance parking, retreat function and classical Chinese prompts.
[0084] exist Figure 4 On the basis of Figure 5 1 is a safety step diagram of an obstacle avoidance parking function provided by an embodiment of the present invention. Figure 5As shown in the figure, the specific implementation method of obstacle avoidance parking function safety is as follows:
[0085] Step 1: Equipment selection for vehicle functional safety area
[0086] Step 1.1: The selection of sensors (radar or camera) used to detect obstacles and their communication interfaces must meet functional safety requirements;
[0087] Step 1.2: The hardware (SOC or SOC safety island or MCU) selected to run the functional safety application software must meet the functional safety requirements;
[0088] Step 1.3: The selection of the underlying software (OS, etc.) used to run the functional safety application software needs to meet the functional safety requirements;
[0089] Step 1.4: Functional safety application software is deployed in the vehicle functional safety area.
[0090] Note: Hardware or software components that meet functional safety requirements need to be developed in accordance with the functional safety standards ISO 26262 or GB / T 34590.
[0091] Step 2: Run the functional safety application software logic
[0092] Step 2.1: The radar or camera sensor collects information about the surrounding environment and outputs it to the SOC / MCU. If the sensor has its own perception algorithm, it outputs obstacle information. If the sensor does not have a perception algorithm, it outputs the original signal or original image.
[0093] Step 2.2: If the signal output by the sensor is a raw signal or a raw image, the raw signal or the raw image needs to be processed by the perception unit, and obstacle information, i.e., the detected obstacle, the distance between the obstacle and the vehicle, the obstacle orientation, etc., is output;
[0094] Step 2.3: The planning unit reads each obstacle and the distance between each obstacle and the vehicle, and determines the possibility of collision. The planned trajectory (obstacle avoidance parking path) is greater than the preset safety distance from each obstacle.
[0095] Step 2.4, the control unit reads the path information (obstacle avoidance parking path) of the planning unit, and calculates the lateral and longitudinal control instructions (lateral control instructions and longitudinal control instructions) to perform obstacle avoidance parking;
[0096] Step 2.5, the fault detection unit of the vehicle functional safety zone continuously detects faults (functional safety fault status) in the vehicle functional safety zone, including sensor software and hardware faults, computing unit (SOC / MCU) software and hardware faults, and communication faults, and outputs them to the downstream de-functional unit;
[0097] Step 2.6, the retreat function unit reads the parking function status and the functional safety fault status;
[0098] Step 2.7: If the parking system is in parking (the parking function is in the on state), the back-up function unit detects a functional safety fault (a fault exists in the functional safety fault state), outputs the first brake stop information to the control unit, and the control unit outputs a braking command, and after the vehicle stops, the EPB / P gear is pulled; the back-up function unit executes the back-up function;
[0099] Step 2.8: If the parking system is in the pre-parking state (the parking function is in the exit state), the exit function unit reads a functional safety fault, and the exit function unit outputs a command not to start the parking system (the parking function remains in the exit state);
[0100] Step 3: The parking software of the non-functional safety zone of the vehicle continues to run. According to system requirements, when parking is completed or there is a parking non-safety fault (at least one of the non-functional safety fault states is faulty), it is necessary to output a brake stop (second brake stop information) and a function retreat instruction;
[0101] Step 4, the verification and output unit reads the output signals of the vehicle functional safety zone and the vehicle non-functional safety zone, either of which requires braking or retreating function (at least one of the first braking information and the second braking information is braking), and transmits the valid signals of braking and retreating functions to the downstream unit.
[0102] like Figure 4 and Figure 5 As shown in the figure, a vehicle functional safety zone and the obstacle avoidance parking logic running on it are designed. First, the selection of equipment in the vehicle functional safety zone needs to comply with functional safety, including computing unit hardware (SOC or MCU) and underlying software (OS, etc.); and the sensor, radar or camera that collects obstacle information must have at least one branch that complies with functional safety and connects its data to the vehicle functional safety zone; second, the vehicle functional safety zone only calculates collision safety information related to life, including obstacle detection and judgment, obstacle avoidance parking path planning, control, functional safety fault detection, and de-function logic; non-functional safety-related calculations (such as parking space recognition, video display, mapping, etc.) are not calculated in this area; third, the functional safety zone has a checksum output unit to comprehensively judge the braking and de-function instructions (first braking information and second braking information) of the vehicle functional safety zone and the vehicle non-functional safety zone. If any one needs to brake, it will be output to the downstream. Since only the logic of obstacle avoidance parking is placed in the vehicle functional safety area, obstacle information is accessed and processed, and the obstacle information is received by the planning unit; the distance between the planned obstacle avoidance parking path and each obstacle is greater than the preset safety distance. Therefore, for the parking function with obstacle avoidance requirements, it can be made small and simple in the vehicle functional safety area, which greatly saves project costs and meets the functional safety integrity.
[0103] Figure 6 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 6 As shown, the electronic device 300 includes one or more processors 301 and a memory 302 .
[0104] The processor 301 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 300 to perform desired functions.
[0105] The memory 302 may include one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 301 may execute the program instructions to implement the obstacle avoidance parking method of any embodiment of the present invention described above and / or other desired functions. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage medium.
[0106] In one example, the electronic device 300 may further include: an input device 303 and an output device 304, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 303 may include, for example, a keyboard, a mouse, etc. The output device 304 may output various information to the outside, including early warning information, braking force, etc. The output device 304 may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.
[0107] Of course, to simplify, Figure 6 Only some of the components related to the present invention in the electronic device 300 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 300 may also include any other appropriate components.
[0108] In addition to the above method and device, an embodiment of the present invention may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps of the obstacle avoidance parking method provided by any embodiment of the present invention.
[0109] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the embodiments of the present invention, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0110] In addition, an embodiment of the present invention may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps of the obstacle avoidance parking method provided by any embodiment of the present invention.
[0111] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0112] It should be noted that the terms used in the present invention are only for describing specific embodiments, rather than limiting the scope of the present application. As shown in the present specification, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the presence of other identical elements in the process, method or device including the elements.
[0113] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.
Claims
1. A method for parking by avoiding obstacles, characterized in that: Applied to vehicle functional safety areas, including: detecting whether a parking function is in an on state, and determining obstacle information based on a vehicle sensor when the parking function is in an on state; Determine an obstacle-avoiding parking path according to the current position of the vehicle, the position of the parking space, and the information of each obstacle; In the case that there is no fault in the functional safety zone of the vehicle, controlling the vehicle to park at the parking space position based on the obstacle avoidance parking path; Wherein, the vehicle functional safety zone includes the vehicle sensor, and the vehicle functional safety zone meets functional safety requirements.
2. The method according to claim 1, characterized in that The determining of obstacle information based on the vehicle sensor includes: Based on vehicle sensors, obtain surrounding environment information; In the case where the vehicle sensor has a sensing function, determining obstacle information based on the sensing function and the surrounding environment information; In the case that the vehicle sensor does not have a perception function, the surrounding environment information is read from the vehicle sensor through the vehicle functional safety zone, and the surrounding environment information is processed by a perception unit in the vehicle functional safety zone to obtain obstacle information.
3. The method according to claim 1, characterized in that After determining the obstacle information based on the vehicle sensor, the method further includes: For each obstacle information, determining the validity of the obstacle information according to the signal loss condition, the fault code condition and the matching condition of the obstacle type and size in the obstacle information; According to the respective validity, the obstacle information is updated.
4. The method according to claim 1, characterized in that: The step of determining an obstacle-avoiding parking path according to the current position of the vehicle, the position of the parking space, and the information of each obstacle includes: Obtain the current position of the vehicle and the parking space position from the vehicle's non-functional safety area; Between the current position of the vehicle and the parking space position, an obstacle avoidance parking path is determined according to the obstacle position in each obstacle information and a preset safety distance.
5. The method according to claim 1, characterized in that The controlling the vehicle to park at the parking space based on the obstacle avoidance parking path comprises: Determining a lateral control instruction and a longitudinal control instruction according to the obstacle avoidance parking path; Based on the lateral control command and the longitudinal control command, the vehicle is controlled to park at the parking space.
6. The method according to claim 1, characterized in that The detecting whether the parking function is turned on includes: When the parking function is in the exit state and a parking signal is received, obtaining in real time the functional safety fault state of the functional safety zone of the vehicle; If all of the functional safety fault states are fault-free, it is determined that the parking function is updated to an on state; if at least one of the functional safety fault states is faulty, it is determined that the parking function remains in an exit state, and a first safety prompt message is generated.
7. The method according to claim 1, characterized in that Also includes: When the parking function is turned on, the functional safety fault state of the functional safety zone of the vehicle is obtained in real time, and the non-functional safety fault state of the non-functional safety zone of the vehicle is obtained in real time; Determining first brake information according to the functional safety fault state, and determining second brake information according to the non-functional safety fault state; The vehicle is controlled according to the first brake stop information and the second brake stop information.
8. The method according to claim 7, wherein determining the first brake information according to the functional safety fault state and determining the second brake information according to the non-functional safety fault state comprises: If the safety fault states of all functions are all no fault, determining that the first brake stop information is no brake stop; If at least one of the functional safety failure states is a failure, determining that the first brake stop information is a brake stop; If all non-functional safety fault states are no fault, the second brake stop information is determined to be no brake stop; if at least one of the non-functional safety fault states is a fault, the second brake stop information is determined to be a brake stop; Accordingly, controlling the vehicle according to the first brake stop information and the second brake stop information includes: If at least one of the first brake stop information and the second brake stop information is a brake stop, the vehicle is braked, a target gear position of an electronic parking brake system is triggered, and a second safety prompt message is generated.
9. An electronic device, characterized in that: The electronic device comprises: Processor and memory; The processor is used to execute the steps of the obstacle avoidance parking method as described in any one of claims 1 to 8 by calling the program or instruction stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or an instruction, and the program or the instruction enables a computer to execute the steps of the obstacle avoidance parking method according to any one of claims 1 to 8.
Citation Information
Cited By
Parking method, device, equipment and storage medium
CN119872530A
